|
From: Leif M. <le...@ta...> - 2003-12-09 13:09:05
|
Vladan,
Can you add the wrapper.debug=true property to your conf file and
try again. This
will kick out the information I will need to be able to understand what
is happening.
From your log though, it does not look like your application is
initializing the
WrapperManager class. Does your Bootstrap class implement the
WrapperListener
interface as described in integration method 3? If you had not said
that it worked
under console mode, I would tell you to go read the integration
documentation.
http://wrapper.tanukisoftware.org/doc/english/integrate.html
Also, they are not a problem, but what is the point of all the
variable declarations
using set.xxx at the top of your conf file? You do not appear to be
referencing them
anyplace.
Cheers,
Leif
Vladan Obradovic wrote:
> I try to start JOnAS Server as Windows system service.
>
> When start JOnAS Server in wrapper console (options -c) all work fine.
>
> If try start this as NT system service, but after some time got next
> messages in log file:
>
>
>
> INFO | jvm 2 | 2003/12/09 00:21:24 | 2003-12-09 00:21:24,895 :
> ServiceManager.startServices : ear service started
>
> INFO | jvm 2 | 2003/12/09 00:21:24 | The JOnAS Server 'jonas'
> version 3.3 is ready
>
> INFO | jvm 2 | 2003/12/09 00:21:24 | 2003-12-09 00:21:24,895 :
> Server.start : Jonas server jonas started on rmi/jrmp
>
> INFO | wrapper | 2003/12/09 00:21:26 | Waiting to start...
>
> INFO | wrapper | 2003/12/09 00:21:31 | Waiting to start...
>
> INFO | wrapper | 2003/12/09 00:21:36 | Waiting to start...
>
> INFO | wrapper | 2003/12/09 00:21:41 | Waiting to start...
>
> ERROR | wrapper | 2003/12/09 00:21:45 | Startup failed: Timed out
> waiting for signal from JVM.
>
> ERROR | wrapper | 2003/12/09 00:21:45 | Java Virtual Machine did not
> exit on request, terminated
>
> FATAL | wrapper | 2003/12/09 00:21:45 | There were 2 failed launches
> in a row, each lasting less than 300 seconds. Giving up.
>
> FATAL | wrapper | 2003/12/09 00:21:45 | There may be a
> configuration problem: please check the logs.
>
> STATUS | wrapper | 2003/12/09 00:21:46 | <-- Wrapper Stopped
>
>
>
> My configuration file for starting wrapper is show below:
>
>
>
> #********************************************************************
>
> # Wrapper parameters
>
> #********************************************************************
>
> # Java Application
>
> wrapper.java.command=D:/j2sdk1.4.1_01/bin/java
>
> # Java Main class
>
> wrapper.java.mainclass=org.objectweb.jonas.server.Bootstrap
>
>
>
> set.IDB_CLASSES_1=c:\idb\idb.jar
>
> set.IDB_CLASSES_2=c:\idb\idbexmpl.jar
>
> set.IDB_HOME=c:\idb
>
> set.INTERBASE_CLASSES=c:\interclient\interclient.jar
>
> set.JAVA=D:\j2sdk1.4.1_01\bin\java
>
> set.JAVAC=D:\j2sdk1.4.1_01\bin\javac
>
> set.JONAS_BASE=C:\JOnAS-3.3-Tomcat
>
> set.JONAS_LIB=C:\JOnAS-3.3-Tomcat\lib
>
> set.MCKOI_CLASSES=c:\mckoi\mkjdbc.jar
>
> set.MODE=start
>
> set.MYSQL_CLASSES=c:\mysql\mm.mysql-2.0.14\mm.mysql-2.0.14-bin.jar
>
> set.ORACLE_CLASSES=c:\oracle\lib\classes12.zip
>
> set.POSTGRE_CLASSES=c:\pgsql\jdbc7.0-1.2.jar
>
> set.WHERE=background
>
>
>
> # Java Classpath (include wrapper.jar) Add class path elements as
>
> $ needed starting from 1
>
> #wrapper.java.classpath.1=C:/JOnAS-3.3-Tomcat/
>
> wrapper.java.classpath.1=C:/JOnAS-3.3-Tomcat/lib/common/ow_jonas_bootstrap.jar
>
> wrapper.java.classpath.2=C:/JOnAS-3.3-Tomcat/conf/
>
> wrapper.java.classpath.3=C:/JOnAS-3.3-Tomcat/wrapper/lib/*.jar
>
> wrapper.java.classpath.4=D:/j2sdk1.4.1_01/lib/*.jar
>
>
>
> # Java Library Path (location of wrapper.lib)
>
> wrapper.java.library.path.1=C:/JOnAS-3.3-Tomcat/wrapper/lib
>
>
>
> # Java Additional Parameters
>
> wrapper.java.additional.1=-Dinstall.root=C:\JOnAS-3.3-Tomcat
>
> wrapper.java.additional.2=-Djonas.base=C:\JOnAS-3.3-Tomcat
>
> wrapper.java.additional.3=-Djava.security.policy=C:\JOnAS-3.3-Tomcat\conf\java.policy
>
>
> wrapper.java.additional.4=-Djonas.classpath=
>
> wrapper.java.additional.5=-Djonas.default.classloader=true
>
> wrapper.java.additional.6=-Djavax.rmi.CORBA.PortableRemoteObjectClass=org.objectweb.carol.rmi.multi.MultiPRODelegate
>
>
> wrapper.java.additional.7=-Djava.naming.factory.initial=org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
>
>
> wrapper.java.additional.8=-Djava.security.auth.login.config=C:\JOnAS-3.3-Tomcat\conf\jaas.config
>
>
> wrapper.java.additional.9=-Djava.rmi.server.RMIClassLoaderSpi=org.objectweb.jonas.server.RemoteClassLoaderSpi
>
>
>
>
> # Initial Java Heap Size (in MB)
>
> wrapper.java.initmemory=16
>
>
>
> # Maximum Java Heap Size (in MB)
>
> wrapper.java.maxmemory=64
>
>
>
> # Application parameters. Add parameters as needed starting from 1
>
> wrapper.app.parameter.1="org.objectweb.jonas.server.Server"
>
> wrapper.app.parameter.1.stripquotes=TRUE
>
>
>
> *...*
>
>
>
> Thanks in advance for any suggestion about this.
>
>
>
> Regards
>
> Vladan Obradovic
>
>
>
|