|
From: Rodolfo W. <rwi...@gm...> - 2008-01-21 11:47:15
|
Leif I'm using the version 0.9.3 of the OpenAS2. I downloaded from sourceforge website but it was 1 year ago. (http://sourceforge.net/projects/openas2/) Thank you for you help. Regards, Rodolfo 2008/1/19, Leif Mortenson <le...@ta...>: > > Rodolfo, > You sent me the binary class file, not the source java file. Also this > is really outside the scope of "wrapper" support. But to be able to > help, I would most likely need more than just the single source file. > Where are you downloading the jar you are using from? What is its > version? > > Cheers, > Leif > > Rodolfo Wittmann wrote: > > Leif, > > > > Attached is the source file of StreamCommandProcessor of the OpenAS2. > > > > Regards, > > Rodolfo Wittmann > > > > 2008/1/17, Leif Mortenson <le...@ta... > > <mailto:le...@ta...>>: > > > > Rodolfo, > > Do you have the source for the > org.openas2.app.StreamCommandProcessor > > class? > > > > I assume this is the source of that project: http://www.openas2.org/ > > > > I took a quick look at their CVS repository, but don't see that > class. > > http://openas2.cvs.sourceforge.net/openas2/ > > <http://openas2.cvs.sourceforge.net/openas2/> > > > > The source distribution for the particular version you are using > > might be useful. > > > > Cheers, > > Leif > > > > Rodolfo Wittmann wrote: > > > Leif, > > > > > > I don't know what is the handle has problem. How can I indetify > > it ?? > > > > > > Regards, > > > Rodolfo > > > > > > > > > 2008/1/10, Leif Mortenson <le...@ta... > > <mailto:le...@ta...> > > > <mailto: le...@ta... <mailto:le...@ta... > >>>: > > > > > > Rodolfo, > > > From your log file, the Wrapper is launching your Java > > application > > > correctly. But the application is throwing an error as it > > starts up: > > > --- > > > > > > INFO | jvm 1 | 2007/12/19 18:24:10 | 12/19/07 18:24:10 > > - OpenAS2 > > > Started - > > > > > > INFO | jvm 1 | 2007/12/19 18:24:10 | > > > org.openas2.WrappedException : > > > java.io.IOException: The handle is invalid > > > > > > INFO | jvm 1 | 2007/12/19 18:24:10 | at > > > org.openas2.app.StreamCommandProcessor.processCommand > > > (StreamCommandProcessor.java :81) > > > > > > INFO | jvm 1 | 2007/12/19 18:24:10 | at > > > org.openas2.app.OpenAS2Server.start(OpenAS2Server.java :60) > > > > > > --- > > > > > > Without knowing more about what is happening there, it is > > difficult > > > to help. Common problems when running as a service are with > > > accessing network resources. You need to specify an account > to > > > run as to get that working. Do know what that failed > > handle is? > > > > > > Cheers, > > > Leif > > > > > > > > > Rodolfo Wittmann wrote: > > > > > > > > Hi, > > > > > > > > > > > > > > > > I'm configuring Java Service Wrapper to run Open AS2 as > > service on > > > > Windows 2003 Server. > > > > > > > > > > > > > > > > I did all needed configuration on file wrapper.conf. > > Running in the > > > > console, the program is working fine (running the wrapper > bat > > > file) . > > > > I installed service by running the install bat. Until here > all > > > is fine. > > > > > > > > > > > > > > > > But when a I try to run the service, the service don't > start. > > > > > > > > The following is the Debug reported: > > > > > > > > > > > > > > > > STATUS | wrapper | 2007/12/19 18:24:08 | --> Wrapper > > Started as > > > Service > > > > > > > > DEBUG | wrapper | 2007/12/19 18:24:08 | Using tick timer. > > > > > > > > DEBUG | wrapperp | 2007/12/19 18:24:09 | server listening > on > > > port 32000. > > > > > > > > STATUS | wrapper | 2007/12/19 18:24:09 | Launching a JVM... > > > > > > > > DEBUG | wrapper | 2007/12/19 18:24:09 | command: > "C:\Program > > > > Files\Java\jre1.5.0_07\bin\java" - > > > > Djava.library.path="c:\as2\openas2-0.9.3\bin" -classpath > > > > "c:\as2\openas2- > > > > > 0.9.3\bin\wrapper.jar;c:\as2\openas2-0.9.3\bin\activation.jar > ;c:\as2\openas2-0.9.3\bin\mail.jar > > ;c:\as2\openas2-0.9.3\bin\bcprov-jdk14-125.jar > > > > > > > > > ;c:\as2\openas2-0.9.3\bin\bcmail-jdk14-125.jar;c:\as2\openas2- > 0.9.3\bin\OpenAS2-0.9.jar > > > ;c:\as2\openas2-0.9.3\bin\openas2-lib.jar" > > > > -Dwrapper.key="OHvcyZp4gvSEIzyu" -Dwrapper.port=32000 > > > > -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 > > > > -Dwrapper.debug="TRUE" - Dwrapper.pid=1000 > > -Dwrapper.version="3.2.3" > > > > -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" > > > > -Dwrapper.cpu.timeout="10" - Dwrapper.jvmid=1 > > > > org.tanukisoftware.wrapper.WrapperSimpleApp > > > > org.openas2.app.OpenAS2Server c:\as2\openas2- > 0.9.3\config.xml > > > > > > > > DEBUG | wrapper | 2007/12/19 18:24:09 | JVM started > > (PID=4772) > > > > > > > > INFO | jvm 1 | 2007/12/19 18:24:09 | WrapperManager > class > > > > initialized by thread: main Using classloader: > > > > sun.misc.Launcher$AppClassLoader@a39137 > > > > <mailto:sun.misc.Launcher$AppClassLoader@a39137 > > <mailto:sun.misc.Launcher$AppClassLoader@a39137> > > > <mailto:sun.misc.Launcher$AppClassLoader@a39137 > > <mailto:sun.misc.Launcher$AppClassLoader@a39137>> > > > > > > > > snip > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |