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.
0. Downloaded Netbeans 6.0.1 1. Created a simple "Enterprise" project containing an "-ejb" and "-war" project. 2. added session bean to "-ejb" project 3. added javabean to "-war" project 4. Cleaned and Build 5. Added server - IBM WebSphere Application Server 6.1 (fixpak 11) 6. Undeploy and Deploy 7. get the following error: pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: deps-jar: deps-j2ee-archive: init: deps-jar: compile: library-inclusion-in-manifest: dist-ear: init: deps-module-jar: deps-ear-jar: init: deps-jar: compile: library-inclusion-in-manifest: dist-ear: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: do-ear-dist: dist-ear: pre-pre-compile: pre-compile: do-compile: post-compile: compile: pre-dist: do-dist-without-manifest: do-dist-with-manifest: post-dist: dist: pre-run-deploy: Deployment error: The module has not been deployed. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151) Caused by: The module has not been deployed. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:157) ... 16 more BUILD FAILED (total time: 0 seconds)
Created attachment 56567 [details] project (named "click") folder -- in zip file
Do you have admin security for the profile enabled? Can you provide ide and server log? When I was trying your example it failed with "ADMA0014E: Validation failed. ADMA0002E: A validation error occurred in task Binding enterprise Bean to JNDI names. The Java Naming and Directory Interface (JNDI) name is not specified for enterprise bean ClickEJBBean in module click-ejb.".
Created attachment 56648 [details] an ide log file found under .netbeans\dev\var -- hope this helps
I added a zip containing 3 log files --- from .netbeans\dev\var (under "documents and settings", etc) --- these logs were created around the same time I was attempting to deploy. There were no entries in the WebSphere server logs... It appears as if the issue is mostly "contained" within the NetBeans 6.0.1 ide. --- Windows XP NetBeans 6.0.1 WebSphere 6.1, fixpak 11
Do you have admin security for the profile enabled?
No entries in server log? Not sure what does it mean... Just start of the server generates bunch of log messages... Can you provide server log file for your profile? Usually located in profiles/profileName/logs/serverName.
No response from reporter. Closing as WORKSFORME.
Hi phjel Sorry to get back so late... No, security is NOT enabled. Please let me know if this is a requirement for NetBeans to operate with WebSphere 6.1 properly. Thanks sd (I was looking at the "bug" website for dialog, instead of my own email account. -- I understand now, and will monitor my email - thx, sd) P.S. see also related issue --- #129706
Can you provide server log file for your profile (The part relevant for unsuccessful deployment.)? Usually located in profiles/profileName/logs/serverName.
Hi phejl Will do. -- But, I will give this on Monday (17-march) when I am back in my office, at work. thanks sd
Hi Phejl Recreated "click" project and tried to deploy... "click(run-deploy)" messages... pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: deps-jar: deps-j2ee-archive: init: deps-jar: compile: library-inclusion-in-manifest: dist-ear: init: deps-module-jar: deps-ear-jar: init: deps-jar: compile: library-inclusion-in-manifest: dist-ear: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: do-ear-dist: dist-ear: pre-pre-compile: pre-compile: do-compile: post-compile: compile: pre-dist: do-dist-without-manifest: do-dist-with-manifest: post-dist: dist: pre-run-deploy: Deployment error: The module has not been deployed. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151) Caused by: The module has not been deployed. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:157) ... 16 more BUILD FAILED (total time: 0 seconds) I checked the logs on the server...(i.e., "C:\opt\IBM\WebSphere\AppServerx\profiles\AppSrv01\logs\server1")... However, there was no entry associated with the attempted deployment. -sd
This is really strange. Can you run your ide with the following parameter: -J-Dorg.netbeans.modules.j2ee.websphere6.level=0 Then please retry the deployment and post the ide log (var/log/messages.log). Thanks a lot.
Created attachment 58708 [details] log entries from attempting to deploy to WAS 6.1
Created attachment 58711 [details] fwiw - zipped "bling" project that would not deploy (same structure as others, but, different name)
Looks like a problem with websphere instance itself: [3/19/08 17:52:49:377 EDT] 00000011 DeploymentMan W ADMJ1016E: An unexpected exception occurred while distributing modules AppDeploymentException: [ADMA0092E: An unexpected exception occurred while preparing task EnsureMethodProtectionFor20EJB. Check the server machine First Failure Data Capture tool (FFDC) for more information.] java.lang.NoSuchMethodError: org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.setProtectionDomain(Ljava/security/ProtectionDomain;)Ljava/security/ProtectionDomain; java.lang.NoSuchMethodError: org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.setProtectionDomain(Ljava/security/ProtectionDomain;)Ljava/security/ProtectionDomain; at com.ibm.ws.management.application.client.util.getMethods(util.java:442) at com.ibm.ws.management.application.client.EnsureMethodProtectionFor20EJBHelper.prepareTask(EnsureMethodProtectionFor20EJBHelper.java:102) at com.ibm.websphere.management.application.client.AppDeploymentController.prepareTask(AppDeploymentController.java:491) at com.ibm.websphere.management.application.client.AppDeploymentController.getNthTask(AppDeploymentController.java:472) at com.ibm.websphere.management.application.client.AppDeploymentController.validate(AppDeploymentController.java:705) at com.ibm.websphere.management.application.client.AppDeploymentController.close(AppDeploymentController.java:638) at com.ibm.ws.management.application.j2ee.deploy.spi.J2EEDeploymentController.saveAndClose(J2EEDeploymentController.java:278) at com.ibm.ws.management.application.j2ee.deploy.spi.DeploymentManagerImpl.distributeInternal(DeploymentManagerImpl.java:585) at com.ibm.ws.management.application.j2ee.deploy.spi.DeploymentManagerImpl.distribute(DeploymentManagerImpl.java:499) at org.netbeans.modules.j2ee.websphere6.WSDeploymentManager.distribute(WSDeploymentManager.java:595) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:517) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:148) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Is the application deployable through websphere console?
Hi Phejl Yes, the application deploys via the IBM console with no issues sd
Hi Phejl fyi - this issue exists on two different machines - each with its own instance of WAS61 (Question: Were you able to get the example app that I attached earlier to deploy to a WAS61 instance [using "Undeploy/Deploy"] curious as I have yet to be able to deploy *any* app. --I am very anxious to be able to utilize this IDE at work) Thanks again sd
Project bling seems to deploy fine to WS61 Trial. BTW I noticed that the project uploaded here was configured for 6.0. I will investigate bit more.
one more word doc showing the sequence I am using to create and "undeploy/deploy" the project... (abc_enterprise_project.doc)
Created attachment 60077 [details] another doc file show sequence of building project and deploying
feel free to reopen if you see similar issue