Menu

#54 WrapperSimpleApp: Unable to locate the class

v3.0.5
closed
None
5
2014-08-19
2004-03-14
No

Hi,

I can not make it work it giving me the error:
WrapperSimpleApp: Unable to locate the class
Apiserver.ApiServer: java.lang.ClassNotFoundException:
Apiserver.ApiServer

i Use the conf file like that:
# Java Application
wrapper.java.command=C:\j2sdk1.4.2_03\bin\java

# Java Main class. This class must implement the
WrapperListener interface
# or guarantee that the WrapperManager class is
initialized. Helper
# classes are provided to do this for you. See the
Integration section
# of the documentation for details.

# Java Classpath (include wrapper.jar) Add class path
elements as
# needed starting from 1
wrapper.java.classpath.1=c:\TestServer\lib\wrapper.jar

# Java Library Path (location of Wrapper.DLL or
libwrapper.so)
wrapper.java.library.path.1=c:\TestServer\lib

wrapper.java.mainclass=org.tanukisoftware.wrapper.Wrap
perSimpleApp
wrapper.app.parameter.1=Apiserver.ApiServer

please Help, i really need the wrapper to work.

Yuval

Discussion

  • Leif Mortenson

    Leif Mortenson - 2004-03-14
    • milestone: --> v3.0.5
    • assigned_to: nobody --> mortenson
     
  • Leif Mortenson

    Leif Mortenson - 2004-03-14

    Logged In: YES
    user_id=228081

    Yuval,
    The problem is that the JVM is not able to locate your
    Apiserver.Apiserver class on the classpath. This is
    because you are not including the location of the class in
    the classpath. You are only including the wrapper.jar file.
    If you add another classpath entry with your jar(s) or
    class directory it should work for you.

    Cheers,
    Leif

     
  • Leif Mortenson

    Leif Mortenson - 2004-03-15

    Logged In: YES
    user_id=228081

    Posted another request in which he said that this one was
    answered. So closing it off.

     
  • Leif Mortenson

    Leif Mortenson - 2004-03-15
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB