|
From: Leif M. <le...@ta...> - 2008-09-15 19:34:18
|
Shashidhar, The Wrapper launches the JVM with a command line generated from the Wrapper.conf. It does not do anything which would affect the way JBoss or any other application runs once it has been launched. My guess is that there are some differences between the wrapper.conf that you created and the default shell script that comes with JBoss. I would suggest setting the following property then comparing the output Java command line with the command line generated by your JBoss distribution. Most likely there is a system.property being passed in which is missing or has an incorrect value. wrapper.java.command.loglevel=INFO Another thing to check is the current working directory. The Wrapper forces the default working directory to the location of the wrapper binary. This may not be the same as what the JBoss script is working from. A third thing to check is the version of Java that is being run. You can see this by setting the wrapper.debug=true property. I have seen cases where due to path problems a different version of java was being run than was intended. Cheers, Leif On Mon, Sep 15, 2008 at 6:56 PM, Shashidhar Gaurav Misra <Sha...@ar...> wrote: > Hi, > > > > I am using the Java service wrapper community version 3.3.0 (32-bit) for > running my application as a Unix daemon on a Solaris machine. > > My application is a Jboss server with some services deployed and running. > > > > OS Details > > 64-bit sparcv9 > > > > My problem is that the wrapper is not able to deploy a spring descriptor. I > am getting following error when I am trying to start my Jboss server. > > > > INFO | jvm 1 | 2008/08/07 05:04:24 | 05:04:23,771 ERROR [MainDeployer] > Could not create deployment: file:/usr/local/jbos > > s/server/default/deploy/deploy.last/Myservice.sar/Authentication.spring/ > > INFO | jvm 1 | 2008/08/07 05:04:24 | java.lang.NoClassDefFoundError: > org/springframework/beans/factory/ListableBeanFacto > > ry > > > > I have my spring descriptor under > > /usr/local/jboss/server/default/deploy/deploy.last/ Myservice.sar > /Authentication.spring/META-INF > > > > My spring jars are present under > > /usr/local/jboss/server/default/deploy/jboss-spring.deployer > > > > The same thing works for other OS for e.g. Linux, AIX etc > > > > > > Please suggest in case if I need to use some other version of the wrapper. > Is there any workaround for this? > > > > Thanks & Regards > > Shashidhar > > ________________________________ > "DISCLAIMER: This message is proprietary to Aricent and is intended solely > for the use of the individual to whom it is addressed. It may contain > privileged or confidential information and should not be circulated or used > for any purpose other than for what it is intended. If you have received > this message in error,please notify the originator immediately. If you are > not the intended recipient, you are notified that you are strictly > prohibited from using, copying, altering, or disclosing the contents of this > message. Aricent accepts no responsibility for loss or damage arising from > the use of the information transmitted by this email including damage from > virus." > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |