WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Missing jar files in WAS

    Posted Wed August 11, 2010 10:37 AM
    Missing jar files in WAS

    --------------------------------

    Hi All,

    I have a .bat file to run that needs wssec.jar and sas.jar file. When I run the .bat file I am getting the following exception:
    java.lang.NoClassDefFoundError: com/ibm/websphere/security/UserRegistryat java.lang.ClassLoader.defineClass0(Native Method)at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))at java.net.URLClassLoader.defineClass(URLClassLoader.java:474)at java.net.URLClassLoader.access$500(URLClassLoader.java(Inlined Compiled Code))at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java(Compiled Code))at java.security.AccessController.doPrivileged1(Native Method)at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

    It seems that some jar files are missing. I checked the classpath set in .bat file and two jar files i.e. wssec.jar and sas.jar are missing that should be available in websphere/appserver/lib directory but there is no such jar files available.

    If anyone knows, please let me know from where I can download these files.

    Thanks
    Gaurav

    --------------------------------

    Posted By: gaurav_jain12 at Jun 26 2009 2:09PM


  • 2.  Missing jar files in WAS

    Posted Wed August 11, 2010 10:45 AM
    hi

    --------------------------------

    check it out

    --------------------------------

    Posted By: srinivasp at Jun 26 2009 6:32PM


  • 3.  Missing jar files in WAS

    Posted Wed August 11, 2010 10:53 AM
    Missing jar files

    --------------------------------

    What should I check??

    --------------------------------

    Posted By: gaurav_jain12 at Jun 27 2009 3:04AM


  • 4.  Missing jar files in WAS

    Posted Wed August 11, 2010 10:53 AM
    Which command are you running? aslo Have you enabled secutiry? becoz the error is related to it as guessing from the data.


    [quote=gaurav_jain12;8187]What should I check??[/quote]


    --------------------------------

    Posted By: gangumolu at Jun 30 2009 2:50PM


  • 5.  Missing jar files in WAS

    Posted Wed August 11, 2010 11:02 AM
    Missing jar files

    --------------------------------

    Hi,

    Thanks for the reply.
    I have resolved that issue by adding more jar files in my classpath and disabling the administration security. But now I am getting the following error:
    Exception in thread /"main/" java.lang.NoClassDefFoundError: com.ibm.websphere.mod
    els.config.security.LTPA
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
    at com.ibm.ws.security.auth.ContextManagerImpl.getProperty(ContextManage
    rImpl.java:1711)
    at com.ibm.ws.security.auth.ContextManagerImpl.getProperty(ContextManage
    rImpl.java:1732)
    at com.ibm.websphere.security.WSSecurityException.printStackTrace(WSSecu
    rityException.java:154)
    at com.oblix.registry.RegistryLogger.logException(RegistryLogger.java:21
    3)
    at com.oblix.tools.registryTester.main(registryTester.java:104)
    Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.models.config.sec
    urity.LTPA
    at java.net.URLClassLoader.findClass(URLClassLoader.java:496)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
    ... 8 more

    Do you have any idea, where I can find this class?

    Thanks
    Gaurav

    --------------------------------

    Posted By: gaurav_jain12 at Jul 8 2009 9:56AM