-
1. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
adrian.brock Feb 16, 2002 4:56 AM (in response to fhlee7)The batch file doesn't work with Windows 9X or ME :-(
It is designed for cmd.exe not command.com
Move the two -D statements to the java command at the
bottom.
You want to use run_with_catalina.bat if you are
using embedded tomcat.
Regards,
Adrian -
2. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
fhlee7 Feb 16, 2002 10:04 AM (in response to fhlee7)thx! warjort!
sorry that my English is not very good! I do not understand the sentence 'Move the two -D statements to the java command at the bottom.'
Where should I move the statements to?
Thanks! -
3. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
adrian.brock Feb 16, 2002 11:06 AM (in response to fhlee7)Try this.
remove
set JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
change the java line to something like
[pre]
java "-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl" "-Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl" "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
[/pre]
WARNING: I haven't tried this.
Regards,
Adrian -
4. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
fhlee7 Feb 16, 2002 12:20 PM (in response to fhlee7)Thanks for your help!
I have several questions again:
1) for the java command, when should I run this? is it when I run the bean?
2) i am not familiar with the dos prompt (coz i use Linux before). when i try to type the java command which you suggested, i can't type it all, because it is too long. how can I solve this problem?
Thanks! -
5. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
adrian.brock Feb 16, 2002 1:04 PM (in response to fhlee7)1) Use run_with_catalina.bat to start the server.
2) Change the java command in run.bat
Have you seen the manual?
http://www.jboss.org/doco.jsp
If you like linux why not try cygwin?
This is un*x tools for windows.
http://sources.redhat.com/cygwin/
Regard,
Adrian -
6. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
fhlee7 Feb 17, 2002 10:27 PM (in response to fhlee7)Thanks! Adrian.
I have read the manual page, however, it seems that the free documentation is for older version of JBoss.
Moreover, I have tried your method before, it's ok now.
However, when I run run_with_catalina.bat, the following error occurs:
Out of environment space
Out of environment space
Out of environment space
JBOSS_CLASSPATH=c:\java\jboss\jboss
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main
I have changed the memory of the initialization to a very small value, however, it still said that "Out of environment space". Morever, do I need to set some classpaths for the JBoss? Thanks!
Regards,
Stephen -
7. Re: Fail in starting JBoss-2.4.4_Tomcat-4.0.1
adrian.brock Feb 18, 2002 4:58 AM (in response to fhlee7)If you right click on the window title you can
change the size of the environment space.
Make sure it is set for everytime.
You will probably have to restart the command line
window?
Regards,
Adrian