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.
Build: NetBeans IDE Dev (Build 201008160001) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP Stacktrace: java.lang.ClassNotFoundException: weblogic.rmi.extensions.DisconnectListener at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.defineClass1(ClassLoader.java:0)
Created attachment 101407 [details] stacktrace
Product Version = NetBeans IDE Dev (Build 201008160001) (#0e740d79d62b) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc. Steps to reproduce: 1. Open the Services window. 2. Right-click the Servers node and choose Add Server. 3. Select Oracle WebLogic Server from the list. Click Next. 4. Click Browse and locate the installation of the server. 5. Type the username and password for the domain. Click Finish. 6. Right click the Oracle WebLogic node and choose Start The exception pops up
It seems that some weblogic libraries are not included into the classpath
Please specify the exact version of WebLogic. I can't reproduce this myself.
It really looks like classpath problem in your particular installation.
> Please specify the exact version of WebLogic. I can't reproduce this myself. WLS_PRODUCT_VERSION=10.3.3.0
> It really looks like classpath problem in your particular installation. The WebLogic server installation was successful. I do not see error messages in the log file. Where could I look to see the problems with the classpath installation?
What about JDK? I see 2 in the server installation directory: - jdk160_18 - jrockit_160_17_R28.0.0-679 Does it matter which JDK I choose for the domain?
Created attachment 101409 [details] Log file after the starting WebLogic server in NetBeans
I suppose it is 10.3.3 from installer with default domain. Am I right? Anything else configured?
Yes. I just installed the WebLogic server with the default options. And than I added a domain via the Configuration Wizard using the default options.
I installed WL 10.3.3 on XP, created the default domain on JDK, but can't reproduce it. I tried even a domain with JRockit and everything seems to run ok with daily build.
It seems that I have 2 installations of the WebLogic server The first one is from the http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html D:\Oracle\Server\Middleware\wlserver_10.3\ This installation throws ClassNotFoundException after the server starting. The second one is from the JDeveloper installation: jdevstudio11112install.exe D:\Oracle\Middleware\wlserver_10.3\ It starts without exceptions. But it throws Throwable: Locked by.
Which log files should I attach to help to investigate the issue?
Blind fix/detail log attempt in web-main d45c8864f1ae. If you want to test soon you can try build #3678 at http://bertram.netbeans.org/hudson/job/web-main/. Please use -J-Dorg.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.level=0 parameter when running NetBeans and attach the ide log located at .netbeans/dev/var/log/messages.log in your home dir.
Integrated into 'main-golden', will be available in build *201008170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d45c8864f1ae User: Petr Hejl <phejl@netbeans.org> Log: #189537 Running WebLogic server fails. ClassNotFoundException: weblogic.rmi.extensions.DisconnectListener
Created attachment 101440 [details] stacktrace
I use the Build 201008170001 and still see the exception ClassNotFoundException: weblogic.rmi.extensions.DisconnectListener See the attached IDE log with the enabled option: -J-Dorg.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.level=0
Created attachment 101441 [details] IDE log file.
Really strange - weblogic.jar is ok yet is does not contain (or references mentioned in it MANIFEST.MF do not contain) the class....
Created attachment 101474 [details] stacktrace
Web-main 8c6ac6052e4d adds more logging. Can you please run NetBeans with -J-Dorg.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.level=0, start WebLogic from it and click on WL nodes? Please attach the messages.log. Can you also check whether there is file Middleware/modules/com.bea.core.weblogic.rmi.client_1.7.0.0.jar containing weblogic.rmi.extensions.DisconnectListener? This is the file where it is located for me in WL 10.3.3. What is the JDK used for running the IDE? Thanks.
The change should be incorporated in build done by job #3690 on http://bertram.netbeans.org/hudson/job/web-main/.
Did not receive any exceptions during startup. Product Version: NetBeans IDE Dev (Build 201008170001) Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b17 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) <18.08.2010 15:29:39 MSD> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Created attachment 101484 [details] messages.log file from Build web-main-3690-on-100818 Attached the messages log file from Build web-main-3690-on-100818 with the logging option enabled.
Can you check whether manifest of wlserver*/server/lib/weblogic.jar contains proper relative path to weblogic.server.modules*.jar? If it exists can you check whether manifest of weblogic.server.modules*.jar contains proper relative path to com.bea.core.weblogic.rmi.client*.jar? There is something broken in this cp dependencies, I guess. What is the JDK used for running the IDE?
>Can you check whether manifest of wlserver*/server/lib/weblogic.jar contains > proper relative path to weblogic.server.modules*.jar? Probably no. The path to the weblogic.jar is D:\Sun\Oracle\Server\Middleware\wlserver_10.3\server\lib\weblogic.jar The mainfiest file is: ---------------------------------------------------------------------- Class-Path: ../../../modules/features/weblogic.server.modules_10.3.3.0 .jar schema/weblogic-domain-binding.jar schema/weblogic-domain-bindin g-compatibility.jar schema/diagnostics-binding.jar schema/diagnostics -image-binding.jar wlcipher.jar webservices.jar xmlx.jar ojdbc6.jar a qapi.jar EccpressoAsn1.jar EccpressoCore.jar EccpressoJcae.jar mysql- connector-java-commercial-5.0.3-bin.jar wlsqlserver.jar wldb2.jar wl sybase.jar wlinformix.jar wlw-langx.jar jcom.jar weblogic-L10N.jar ---------------------------------------------------------------------- and the weblogic.server.modules_10.3.3.0.jar is in D:\Sun\Oracle\Server\modules\features\weblogic.server.modules_10.3.3.0.jar
Probably the problem is that the 'wlserver_10.3' and the 'modules' directories are not in the same folder.
Any idea how this could happen? Obviously the classpath of weblogic.jar is broken. It expects the weblogic.server.modules to be in Middleware/modules while it is one level up. Now I'm not sure whether we should fix it. And it is not fixable in fact because we would have to search the correct weblogic.server.modules somehow and fix the broken weblogic.jar on our side.
Integrated into 'main-golden', will be available in build *201008190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8c6ac6052e4d User: Petr Hejl <phejl@netbeans.org> Log: #189537 Running WebLogic server fails. ClassNotFoundException: weblogic.rmi.extensions.DisconnectListener
Created attachment 101515 [details] IDE log file. IDE log file with the -J-Dorg.netbeans.modules.j2ee.weblogic9.level=FINEST option enabled.
Can you try to install WL again trying to reproduce the current state?
Now I'm able to reproduce. This can happen when Middleware home and server home are in different relative location than expected. Looks like path in weblogic.jar is hardcoded :( - bug in WL installer perhaps. I'll try to do some magic.
Magic in web-main 91a19ef3edd8. I'm not sure about WL 9. Is anybody able to file bug on WL - broken classpath of weblogic.jar? Thanks for your help.
Integrated into 'main-golden', will be available in build *201008200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/91a19ef3edd8 User: Petr Hejl <phejl@netbeans.org> Log: #189537 Running WebLogic server fails. ClassNotFoundException: weblogic.rmi.extensions.DisconnectListener