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.
There seems to be a problem with deployment when creating a new "Java EE Enterprise Application" under Netbeans 6.7m3 and 6.7beta and subsequently deploying this application to a JBoss 5.0.1.GA (or 5.0.0 GA) server (both running under Linux). While it seems that the deployed software is available on the JBoss server several seconds after choosing the deployment option, Netbeans hangs around for about a minute, after printing the following messages: Distributing /home/gst/NetBeansProjects/EnterpriseApplication1/dist/EnterpriseApplication1.ear to [org.jboss.deployment.spi.LocalhostTarget@1a9266b] Deploying /home/gst/NetBeansProjects/EnterpriseApplication1/dist/EnterpriseApplication1.ear Waiting for server to start the module http://localhost:8080/EnterpriseApplication1-war Furthermore, Netbeans logs the following error on stderr: INFO [org.netbeans.modules.j2ee.jboss4.JBDeployer]: URL wait timeouted after 60000 It seems that the deployment itself works fine (without such a long delay), as changes to JSP pages are relatively soon available (after some seconds, instead of a minute). Furthermore, the JBoss output (visible after several seconds), also indicates that the application has been deployed: 11:00:17,071 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@12814801{vfszip:/mnt/sda1/gst/jboss/jboss-5.0.1.GA/server/default/deploy/EnterpriseApplication1.ear/EnterpriseApplication1-ejb.jar/} 11:00:17,071 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@12814801{vfszip:/mnt/sda1/gst/jboss/jboss-5.0.1.GA/server/default/deploy/EnterpriseApplication1.ear/EnterpriseApplication1-ejb.jar/} 11:00:17,071 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@12814801{vfszip:/mnt/sda1/gst/jboss/jboss-5.0.1.GA/server/default/deploy/EnterpriseApplication1.ear/EnterpriseApplication1-ejb.jar/} 11:00:17,247 INFO [TomcatDeployment] deploy, ctxPath=/EnterpriseApplication1-war So while deployment itself works fine, Netbeans somehow does not detect that the software has been successfully deployed. I can reproduce this problem after deleting all Netbeans related configuration files (.netbeans/, .netbeans-derby/, NetBeansProjects) and with the default JBoss configuration. This problem occurs on two different machines: The first one is running Archlinux 32-bit and using JRE/JDK version 6u13. The second is running Archlinux 64-bit and using a 64-bit OpenJDK 1.5 (as distributed by Archlinux). Steps to reproduce the problem: - Remove custom Netbeans/JBoss configuration files - Use New Project / Java EE / Enterprise Application - Add (and assign) the JBoss server during the configuration dialog, use defaults for other settings - Use context menu to deploy the application to JBoss
Created attachment 81190 [details] netbeans stderr
I've now also attached some output of the stderr error log. One of the log messages starts with: INFO [org.netbeans.ProxyClassLoader] java.lang.IllegalStateException: You are trying to access file: log4j.xml from the default package. Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package with "at org.netbeans.modules.j2ee.jboss4.JBDeploymentManager.getRMIServer(JBDeploymentManager.java:177)" somewhere in the stack trace. This error seems like a potential cause for the problem.
*** Bug 192163 has been marked as a duplicate of this bug. ***
Hopefully fixed in web-main 9ed27fbfb6d6.
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9ed27fbfb6d6 User: Petr Hejl <phejl@netbeans.org> Log: #164023 "URL wait timeouted after 60000" error when deploying to JBoss 5