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.
When you try to start weblogic server from IDE it throws DeploymentManagerCreationException and you cannot deploy any web application to weblogic server. To reproduce: - add weblogic 9.1 server instance to Runtime view - start server using context menu and after it starts the following exception is thrown: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Cannot create weblogic DeploymentManager instance. Build 200609210000, JDK1.6.0-b99, WindowsXP, WebLogic 9.1 started on E:\bea\JDK150~1\bin\java.
Created attachment 34313 [details] Entire stack trace.
Stepan, can you please look at this? Thanks.
Can you check your firewall settings, just to be sure?
Firewall is disabled.
Can you please attach the IDE message log? It might be more info there.
Created attachment 34447 [details] message.log
Created attachment 34449 [details] message log with more detailed exception
When the IDE is running on JDK 1.6 and the server on JDK 1.5 an UnmarshalException is thrown during creation of the WebLogic DeploymentManager, see the message log for more details. Unfortunately, this issue cannot be fixed in the NB code at this point.
We should mention the bug in release note.
Or catch the exception and inform the user about possible reason of failure.
*** Issue 85840 has been marked as a duplicate of this issue. ***
*** Issue 89203 has been marked as a duplicate of this issue. ***
Created attachment 44940 [details] Deploying web application on Weblogic 10 Server
Similar problem while trying to deploy web application on NB6M10 on Weblogic Server 10. javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException Before it, succesful deploy this application on Tomcat 6.0 and SJSAS 9.1 Nothig useful in Weblogic 10 Server log. stacktrace1.txt attached.
*** Issue 109919 has been marked as a duplicate of this issue. ***
Does WebLogic 10 support JDK 1.6? If it does, then workaround for WL 10 should be to use JDK 1.6 for both the IDE and the server, correct?
I try to set in project both JDK 1.6 and JRocket JDK 1.5, supplied with Weblogic 10. But I have similar errors: D:\distrib\Java\javaeetutorial5\examples\web\bookstore1\nbproject\build-impl.xml:517: Deployment error: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Cannot create weblogic DeploymentManager instance. build-impl.xml:517: <target if="netbeans.home" name="-run-deploy-nb"> <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/> </target>
Try to start NetBeans with a "--jdkhome" switch pointing to JDK 1.5.
So, I try to start Netbeans: C:\Program Files\NetBeans 6.0M10\bin>netbeans --jdkhome "C:\Program Files\Java\jdk1.5.0_02" C:\Program Files\NetBeans 6.0M10\bin>netbeans.exe --jdkhome "C:\bea\jdk150_06" C:\Program Files\NetBeans 6.0M10\bin>netbeans.exe --jdkhome "C:\bea\jrockit90_150_06" Same errors. Weblogic10 and deployment output attached.
Created attachment 45368 [details] Weblogic10 output
Created attachment 45369 [details] Deploy output
Problem solved then I started Weblogic 10 server with JDK 1.5. Before it it's starts with JDK 1.6.
*** Issue 85735 has been marked as a duplicate of this issue. ***
I tested running both the IDE and the server on JDK 1.6 but I got a similar deserialization exception. The recommended work-around is to run the IDE and the server on JDK 1.5. I tested it and it seems to work without problems, lowering the priority to P3.
*** Issue 111254 has been marked as a duplicate of this issue. ***
*** Issue 112486 has been marked as a duplicate of this issue. ***
We should probably display a warning in the add server dialog and let the user know that WebLogic is not supported when the IDE is running on JDK 1.6.
Warning appears when the IDE runs on JDK 6. Commit fixes wizard message wrapping too. Checking in src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentFactory.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentFactory.java,v <-- WLDeploymentFactory.java new revision: 1.13; previous revision: 1.12 done Checking in src/org/netbeans/modules/j2ee/weblogic9/WLPluginProperties.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/WLPluginProperties.java,v <-- WLPluginProperties.java new revision: 1.13; previous revision: 1.12 done Checking in src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties,v <-- Bundle.properties new revision: 1.16; previous revision: 1.15 done Checking in src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerLocationPanel.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerLocationPanel.java,v <-- ServerLocationPanel.java new revision: 1.15; previous revision: 1.14 done Checking in src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerPropertiesPanel.form; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerPropertiesPanel.form,v <-- ServerPropertiesPanel.form new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerPropertiesPanel.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/ServerPropertiesPanel.java,v <-- ServerPropertiesPanel.java new revision: 1.19; previous revision: 1.18 done Checking in src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/WLInstantiatingIterator.java; /cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/WLInstantiatingIterator.java,v <-- WLInstantiatingIterator.java new revision: 1.11; previous revision: 1.10 done
Will investigate the issue later. Warning appears for now.
It is a jdk 6 bug (will test if the proposed workaround will help): http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149 Weblogic specific comment here: http://forum.java.sun.com/thread.jspa?threadID=5195504&tstart=15
*** Issue 93480 has been marked as a duplicate of this issue. ***
Specifying -J-Dsun.lang.ClassLoader.allowArraySyntax=true as the startup parameter works fine and can be used as workaround to run IDE with JDK6 while using the Weblogic. It is not clear whether the sun bug will be ever fixed, or it is a feature.
After some more investigation it seems that weblogic is using its own (de)serialization which has been broken by the classloader change in jdk6.
please close this issue if you forgot to earlier. If this issue is still open, please change the target milestone to reflect the current commitment.
*** Issue 124413 has been marked as a duplicate of this issue. ***
resetting target milestone
Petr H, Looks like there is not much we can do from our side to fix. Can this issue be closed now ? thanks
Found threads posted similar issues as this one. http://forums.sun.com/thread.jspa?threadID=5195901 I've tested the suggested workaround (i.e. adding the VM argument -Dsun.lang.ClassLoader.allowArraySyntax=true) and been able to start and deploy a sample web app to Weblogic 10 without the exception. Not much things we can do and there's a workaround; hence closing this issue as WONTFIX.