|
From: <ms...@em...> - 2003-07-04 08:10:43
|
Hello Leif, Thank You very much for Your quick answer. After configuration changes You recommended to me wapper works fine. It is very useful program and save me a lot of troubles with my java=20 application.... Cheers Mirek > --- P=F9vodn=ED zpr=E1va --- > Od: Leif Mortenson <le...@ta...> > Datum: 03.07.2003 17:30:04 >=20 > Mirek, > I see your problem. You have the following in your config file: > --- > # Java Additional Parameters > wrapper.java.additional.1=3DjtapiApp.Main >=20 > # Application parameters. Add parameters as needed starting from 1 > #wrapper.app.parameter.1=3DjtapiApp.Main > --- >=20 > The wrapper.java.additional.n properties are used to pass arguments to=20 > the JVM > itself. Is what you really want to be doing is pass the jtapiApp.Main=20 > class name > as the first argument to the WrapperSimpleApp main method. This is don= e=20 > using > the wrapper.app.parameter properties. You had the correct value comme= nted > out in your conf file, so you were close. >=20 > You can see this in your log output. The JVM is being launched with th= e=20 > following > parameters: > --- > java jtapiApp.Main -Xms5m -Xmx64m -Djava.library.path=3D../lib > -classpath ../lib/wrapper.jar:../lib/wrappertest.jar > -Dwrapper.key=3DhJEaoVKN6ELBE6dI -Dwrapper.port=3D1786 > -Dwrapper.debug=3DTRUE -Dwrapper.cpu.timeout=3D10 -Dwrapper.jvmid=3D1 > org.tanukisoftware.wrapper.WrapperSimpleApp > --- > As things are, all of the parameters meant for the JVM are being passed= =20 > to your > class's main method. The reason things are timing out is that the > WrapperManager class is never being loaded and initialized. The > WrapperSimpleApp will do this behind the scenes. >=20 > After correcting the wrapper.conf file, the JVM command should look lik= e=20 > this: > --- > java -Xms5m -Xmx64m -Djava.library.path=3D../lib > -classpath ../lib/wrapper.jar:../lib/wrappertest.jar > -Dwrapper.key=3DhJEaoVKN6ELBE6dI -Dwrapper.port=3D1786 > -Dwrapper.debug=3DTRUE -Dwrapper.cpu.timeout=3D10 -Dwrapper.jvmid=3D1 > org.tanukisoftware.wrapper.WrapperSimpleApp jtapiApp.Main > --- >=20 > Everything else looks fine. Let me know if you have any other problems > getting things running. >=20 > Cheers, > Leif >=20 >=20 >=20 > ms...@em... wrote: >=20 > >Hello Leif, > >I'm sending You my wrapper.conf and wrapper.log files. > >Class "jtapiApp.Main" which I want to run is part of the jar > >archive which is on the CLASSPATH. > > > >Cheers > >Mirek > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/0= 1 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user >=20 _________________________________________________________________________= _______ Vyberte si svou vysněnou dovolenou z katalogu serveru http://www.ema= il.cz/nadovolenou . |