- This topic has 3 replies, 3 voices, and was last updated 19 years ago by Scott Anderson.
-
AuthorPosts
-
mturanskyMemberJDK 1.4.2
Eclipse 3.1.0
MyEclipse 4.0.0 GA
WinXP SP2
WebLogic 8.1 SP2Getting the following error “NoClassDefFoundError: weblogic/management/security/authentication/IdentityAsserterImpl” when trying to launch WebLogic from inside MyEclipse.
In the weblogic.jar file, I notice there is IdentityAsserterMBean, but no “Impl”.
Is there another jar file I need to add to the classpath?
Riyad KallaMemberJust a heads up, if you are configuring the WebLogic 8 connector, you shouldn’t need to adjust anything under your Paths preferences, if you have, go erase them all and reset the lists to empty. Just make sure your main WebLogic 8 page is setup and your JDK is setup, then try and launch it.
If you are still getting the error, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
mturanskyMemberFrustrating… after a lengthy reply, my session timed out and I lost all I wrote. Very user friendly… *sigh*
————————————–
MyEclipse’s config summary:
*** Date: Fri Oct 28 12:20:23 EDT 2005
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.1_05*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.3 GA
Build id: 20051025-4.0.3-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
f6c_58
-vm
C:\bea\jdk141_05\bin\javaw.exe————————————————–
The advice given above (taking everything off weblogic’s PATH in MyEclipse) does not work. I get NoClassFound errors, but they get removed as I add the appropriate jar. The class mentioned previously was found in “C:\bea\weblogic81\server\lib\mbeantypes\wlManagement.jar”
The current error — and I specifically found this jar and added it to the PATH — is:
The WebLogic Server did not start up properly.
Exception raised: ‘weblogic.management.configuration.ConfigurationException: (2) Can’t load security MBean instance: “Security:Name=myrealmBfRdbmsAuthenticator”. Type: “bf.security.providers.authentication.base.BfRdbmsAuthenticator” is missing – with nested exception:
[weblogic.management.commo.CommoOperationsException: Exception instantiating new Commo MBean of type: bf.security.providers.authentication.base.BfRdbmsAuthenticator]’
Reason: weblogic.management.configuration.ConfigurationException: (2) Can’t load security MBean instance: “Security:Name=myrealmBfRdbmsAuthenticator”. Type: “bf.security.providers.authentication.base.BfRdbmsAuthenticator” is missing – with nested exception:
[weblogic.management.commo.CommoOperationsException: Exception instantiating new Commo MBean of type: bf.security.providers.authentication.base.BfRdbmsAuthenticator]This jar is found in “C:\bea\weblogic81\server\lib\mbeantypes\BfRdbmsAuthenticator.jar”, though not by that exact name. This jar was generated by WebLogic via an xml configuration file by our server admins. The configuration works perfectly well in a shell window, but I would love to get MyEclipse to run WebLogic.
Running WebLogic in a shell makes for a long code/compile/deploy cycle, while running within MyEclipse would enable hotswapping code (which is a feature I absolutely love when running Tomcat in MyEclipse).
Please advise how I can get weblogic running and my code hotswapping. There are 40 other developers here that the company would gladly buy MyEclipse for if I can get this working.
Thanks,
Mark
Scott AndersonParticipantMark,
I’ll try to help out. First, it seems that you’re using a custom security configuration for your server so we’ll have to try a few things to see what’s going on.
Can’t load security MBean instance: “Security:Name=myrealmBfRdbmsAuthenticator”. Type: “bf.security.providers.authentication.base.BfRdbmsAuthenticator” is missing – with nested exception:
[weblogic.management.commo.CommoOperationsException: Exception instantiating new Commo MBean of type: bf.security.providers.authentication.base.BfRdbmsAuthenticator]This jar is found in “C:\bea\weblogic81\server\lib\mbeantypes\BfRdbmsAuthenticator.jar”, though not by that exact name. This jar was generated by WebLogic via an xml configuration file by our server admins.
I don’t quite understand the last part about “not by that exat name”. For the classloader to pick it up, it would normally need to be named the same as what the classloader is looking for. However, since WebLogic launches from the commandline I feel relatively certain that the WebLogic startup script you’re using was modified from the default one that ships with WebLogic. What our connector does out of the box is replicate the base WebLogic startup script’s settings. So, we need to determine how the script that works differs from the basic one shipped with WebLogic. Once we have that, we can modify the connector settings to mimic your custom startup as configured by your admins. Can you diff your working script with the default for WLS 8.1? With the differences we can guide you on the write place to make the modifications.
Please advise how I can get weblogic running and my code hotswapping.
There are really two ways to do that. Once is through the connector as we’re trying to figure out above and the second is through our Remote Debugging support. The second option is documented in the Remote Debugging quickstart that’s in the Documenation Section, if you’re interested.
-
AuthorPosts