|
From: Leif M. <lei...@ta...> - 2008-11-25 06:06:23
|
Anand, I took a look at your files. The command line generated by the JBoss run.bat file and that generated by the Wrapper have quite a few differences. Most likely most of the changes were intentional, but some of them may be behind your problems. The main difference is with the classpath. There are a few values in the run.bat version which do not exist in the wrapper version. What is the current working directory of the run.bat script? Is it the bin directory? Here are the missing values: . (../bin ?) \conf\resources (from the file system root?) \conf\properties\system (from the file system root?) \properties (from the file system root?) ../properties There are several other additions to the classpath in the Wrapper version as well. Also, there appears to be 3 different jasperreports jar versions on your classpath. Is this intentional? ../lib/jasperreports-0.6.0.jar; ../lib/jasperreports-2.0.1.jar; ../lib/jasperreports.jar; One of the quickest things I would suggest is to go look at the JBoss source and see what is happening where the errors are being thrown. The appear to be being caused by an NPE registering a class loader. Caused by: java.lang.NullPointerException at org.jboss.deployment.SimpleSubDeployerSupport.registerClassLoader(SimpleSubDeployerSupport.java:249) The JBoss error here is not very good though so it is difficult to say what the exact cause without digging into the JBoss source. Cheers, Leif On Sat, Nov 22, 2008 at 3:51 AM, Anand HS <an...@gm...> wrote: > > > Hello Leif, > Thanks for suggesting the idea of echoing java commands when run.bat > directly runs and when wrapper runs jboss. > I have attached 3 files - > run_bat.txt - JAVA command when running run.bat > wrapper_params.txt - logs when I enable INFO level on wrapper and run my > JBOSS. > wrapper.log - wrapper log file. > > I was not able to determine which JVMs each one is using though. > I have JRE 1.4.2 and JRE 1.6.0_10 in my computer and I want wrapper to make > use of JRE 1.6.0_10. > > Wierder still is the fact that the wrapper logs show that the JBOSS server > is being started even though I have commented out the start up part in by > run.bat. > Does this mean that wrapper has another hook by which it starts JBOSS other > than plainly running run.bat. ? > > Let me know what you think. > > > BTW, here is the link to the original post on sourceforge, > https://sourceforge.net/mailarchive/message.php?msg_name=c0afdf360811202221k7dc8e0p1afcd93d33a84b7e%40mail.gmail.com > Thanks, > Anand > > ------------------------------------------------------------------------- > 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 -- Leif Mortenson President Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel/Fax: +81-3-3878-0415 http://www.tanukisoftware.com lei...@ta... |