This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237775 - Web Project will not deploy NB 7.4 to TomEE 1.5.2
Summary: Web Project will not deploy NB 7.4 to TomEE 1.5.2
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: TomEE (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-29 19:36 UTC by gbNickSmith
Modified: 2014-10-24 11:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Logs from server (3.67 KB, application/octet-stream)
2013-10-30 21:19 UTC, gbNickSmith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gbNickSmith 2013-10-29 19:36:05 UTC
I downloaded the platform independent ZIP version: netbeans-7.4-201310111528-javaee.zip and unzipped to D:\NetBeans\.  It created a directory D:\NetBeans\netbeans\.  

Java is jdk1.7.0_40

I'm on Win 7, running NetBeans-64 exe.

I unzipped Tomcat EE Plus 1.5.2 to D:\NetBeans\Servers\apache-tomee-plus-1.5.2\

Added an admin user to TomEE in (tomcat-folder)/conf/tomcat-users.xml as: 
<role rolename="admin" />
<user username="admin" password="passwd" roles="admin,tomcat,manager-script,manager-gui"/>

Added the server to NetBeans as a "Tomcat" server.  I'm able to start/stop the server from NetBeans, and can login to the built-in manager app fine.

In NetBeans I created a new Java Web - Web Application project.  I set server to TomEE, Java EE Version 6, and left unchecked "Enable Contexts and Dependency Injection".   Didn't make any changes to project, just immediately ran it on TomEE.  

The project "run" window shows:
...
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
In-place deployment at D:\NetBeans\Projects\MyProject\build\web
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%2FNICHOL%7E1.SMI%2FAppData%2FLocal%2FTemp%2F1%2Fcontext7584706748233101316.xml&path=/MyProject
http://localhost:8080/manager/text/deploy?config=file%3A%2FC%3A%2FUsers%2FNICHOL%7E1.SMI%2FAppData%2FLocal%2FTemp%2F1%2Fcontext7584706748233101316.xml&path=/MyProject
D:\NetBeans\Projects\MyProject\nbproject\build-impl.xml:1045: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 1 minute 13 seconds)


The build-impl.xml file at that point contains:
    <target if="netbeans.home" name="-run-deploy-nb">
        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
    </target>


Didn't see any other error messages.  I can try to build a WAR and deploy through the admin GUI if you think it might yield more useful info?
Comment 1 Petr Hejl 2013-10-30 21:11:08 UTC
See the server log for details. Can you share the server log?
Comment 2 gbNickSmith 2013-10-30 21:19:34 UTC
Created attachment 141722 [details]
Logs from server

I just tried creating the project and deploying, and got the same results.  Attached is a zip file of the TomEE logs directory.  I didn't see anything useful in the files.
Comment 3 marcosjunqueira 2013-12-18 16:25:10 UTC
Same problem here, the tomcat i was using on netbeans 7.3 works after import configurations, but tomcat embed with netbeans don't works. If i configure a new instance of old tomcat don't works too.
Comment 4 dread_k2002 2014-10-24 11:51:19 UTC
Same problem on Netbeans 8.0.1 with embedded tomcat server apache-tomcat-7.0.54.