Skip to Content
author's profile photo Former Member
Former Member

Abstract Login module won't deploy


I'm using the SAP Web AS 640 tech preview and trying to get a login module to deploy that extends AbstractLoginModule.

To extend the AbstractLoginModule, I need to add a jar to my library build path...having done a search in the C:\Program Files\SAP\JDT\eclipse\plugins, the three jars I have a choice out of are:




using any of these jars the deploy aborts.

which jar should I be using to use to extend AbstractLoginModule?

the info about the aborting is...

May 18, 2004 4:10:45 PM /userOut/deploy ( [Deploy Thread] ERROR:

CalculatorEar.ear -> Deployment aborted


==> SDM host : tfsapwas640

==> SDM port : 50018

==> URL : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp62807CalculatorEar.ear


Execution of deployment action for "CalculatorEar" aborted:

Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Cannot deploy application Reason: Unexpected exception occurred during generation of components of application in container servlet_jsp.; nested exception is: Unexpected exception occurred during generation of components of application in container servlet_jsp.

(message ID:

Any ideas?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2004 at 02:01 PM


    we referenced the security lib and could deploy a custom login module that extended the AbstractLoginModule.

    But then during runtime the engine won't find the AbstractLoginModule and throws a ClassNotFound-Exception. Finally, I simply implement the LoginModule-Interface in my CustomLoginModuleClass as it is the JAAS default. So I got my LoginModule running.

    By the way, if anyone reads this who has implemented successfully a NTLoginModule on WAS, please raise your hand and help...

    Best Regards, Astrid

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hmmm, I also implemented the Login Module Interface instead of extending the AbstractLoginModule but the problem then is, that I want to create MYSAPSSO2 cookies with the CreateTicketLoginModule...and to do that I need to have put the username in the shared state with sharedState.put(AbstractLoginModule.NAME, <username>)

      in my login module 😔

      Any chance the AbstractLoginModule problem will be fixed in SAP WAS 640 Tech Preview 2?

      Is there a release timeframe for it yet?

      How about the linux version? Anyone been able to use the AbstractLoginModule over there? (would love to be able to get my hands on the linux version, how long until it makes it to the shop? )


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.