on 2006 May 30 12:49 PM
Hi everyone,
I've just created and configured a new login module according to the
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/2b/23e4407211732ae10000000a155106/frameset.htm.">Sap Portal Guide</a>.
In particular I've taken the following steps:
- developed a new java project (jar file)
- developed a new library project (sda file)
- configured the login stack (added a reference to the classloader of the SecurityProvider)
However, when I deploy the library project (sda file) onto the application server and try to logon to the portal I get the error:
java.lang.NoClassDefFoundError: com/sap/security/api/UMException
Any help is greatly appreciated.
Thanks,
Marco
Hi Marco
did u set the classpath to the JAR file of login module
http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/1fda400dc03d43e10000000a155106/content.htm
and Making Reference to the JAR File.
regards,
kaushal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'll briefly recap the steps I took.
- <u>Developed Login Module</u> and exported to MyLoginModule.jar (its classpath includes references to <b>util.jar</b> and <b>security_api.jar</b>)
- <u>Developed J2EE Server Library</u> (MyLoginModuleLibrary.sda)
<b>provider.xml</b> (Jars Section) includes MyLoginModule.jar
<b>provider.xml</b> (References Section) includes <b>security_api</b> and <b>com.sap.tc.logging</b>.
<b>sda-dd.xml</b> defines "Software Type" = library
- <u>Visual Admin Configuration</u>:
- Created Login Module Reference
- Adjusted Login Stack
- Adjusted LoginModuleClassLoaders (library:MyLoginModuleLibrary)
- <u>Restarted the cluster</u>
After these steps, when I log on I get:
<b>java.lang.NoClassDefFoundError: com/sap/security/api/UMException</b>
It seems that the class <i>UMException </i>hasn't been loaded yet but either the <i>Library</i> or the <i>Login Module</i> have been developed according to the SAP Guide.
Any idea?
Cheers,
Marco
Marco,
Post the std_server*.out log file kindly.
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.