cancel
Showing results for 
Search instead for 
Did you mean: 

Custom login module doesn't work in SP9

Lucius
Explorer
0 Kudos
71

Hi,

I have one custom login module which works fine in SP2, but when I deployed it to SP9 using the instructions found in:

http://help.sap.com/saphelp_nw04/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/frameset.htm

It doesn't work, throwing some java.lang.NoClassDefFoundError: com/sap/security/api/UMException

exception right at the login screen when user try to login portal.

I wonder if it is because com.sap.security.api can't be found? But I did add com.sap.security.api.jar to the project, and confirmed it is the same version (11/11/2004) as in /usr/sap/PQ1/JC00/j2ee/cluster/server0/bin/ext/com.sap.security.api.sda/com.sap.security.api.jar

Can anyone shed some light? Thanks a lot!

Sean

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi, did u find a solution for this problem?

Lucius
Explorer
0 Kudos

Here is the exception throw at the portal login screen:

Unknown message (ID = java.lang.NoClassDefFoundError: com/sap/security/api/UMException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618) at java.lang.Class.getConstructor0(Class.java:1930) at java.lang.Class.newInstance0(Class.java:278) at java.lang.Class.newInstance(Class.java:261) at com.sap.engine.services.security.login.LoginContextFactory.initializeLoginContext(LoginContextFactory.java:160) at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:127) at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90) at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) at javax.security.auth.login.LoginContext.login(LoginContext.java:534) at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:242) at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:344) at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:178) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:290) at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:346) at com.sap.portal.navigation.Gateway.service(Gateway.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) )