-
1. Re: Unable to run JBOSS 3.0.0
adrian.brock Jul 3, 2002 12:21 PM (in response to nusa)Which version of Windows are you using?
file:/C:/Program%20Files is the url for
C:\Program Files
or
C:\PROGRA~1 in DOS
Try typing the full url into a browser, does it exist?
Regards,
Adrian -
2. Re: Unable to run JBOSS 3.0.0
crackers Jul 3, 2002 2:06 PM (in response to nusa)You can't run java-based programs that exist in or use directory path names that have spaces in them. You need to put your JBoss installation in a directory/path with no spaces.
-
3. Re: Unable to run JBOSS 3.0.0
nusa Jul 4, 2002 5:17 AM (in response to nusa)Hi,
Thanks for your advice, but the problem still there.
Alright, I move my %JBOSS_HOME%, and ... surprise ...
C:\Java\Software\jboss-3.0.0\bin>run
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Java\Software\jboss-3.0.0\bin\\..
.
JAVA: C:\j2sdk1.4.0\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: ;C:\j2sdk1.4.0\lib\tools.jar;C:\Java\Software\jboss-3.0.0\bin\\run
jar
.
===============================================================================
.
org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:
Java/Software/jboss-3.0.0/server/default/conf/jboss-service.xml; - nested throw
ble: (java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clin
t> signature: ()V) Incompatible argument to function)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:691)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
at org.jboss.Main.boot(Main.java:142)
at org.jboss.Main$1.run(Main.java:375)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.VerifyError: (class: org/apache/log4j/LogManager, method:
clinit> signature: ()V) Incompatible argument to function
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:
04)
at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jSe
vice.java:482)
at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.ja
a:423)
at org.jboss.logging.Log4jService.startService(Log4jService.java:281)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:
62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContro
ler.java:894)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBe
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
... 14 more
Shutting down
Shutdown complete
Terminate batch job (Y/N)? y
C:\Java\Software\jboss-3.0.0\bin>
Now, I try with this env var :
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Java\Software\jboss-3.0.0\bin\\..
.
JAVA: C:\jdk1.3.1_03\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: ;C:\jdk1.3.1_03\lib\tools.jar;C:\Java\Software\jboss-3.0.0\bin\\run.jar
.
===============================================================================
or this :
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Program Files\Java\jboss-3.0.0\bin\\..
.
JAVA: C:\jdk1.3.1_03\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: ;C:\jdk1.3.1_03\lib\tools.jar;C:\Program Files\Java\jboss-3.0.0\bin\\run.jar
.
===============================================================================
I have no error in my server.log file.
It looks for me that you can only run JBoss under JDK 1.3, not JDK1.4 ( yet ).
Any comments ?
Thanks. -
4. Re: Unable to run JBOSS 3.0.0
crackers Jul 5, 2002 10:48 AM (in response to nusa)Okay, I can't help. I've not had any problems running either 2.4.4+ or 3.0 under JDK 1.4 - but I'm on a Linux system.
-
5. Re: Unable to run JBOSS 3.0.0
nusa Jul 5, 2002 11:10 AM (in response to nusa)Intersting ...
May I know how did you manage to run JBoss on linux ?
I've posted this thread : http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ you give me some advices ?
Thanks, -
6. Re: Unable to run JBOSS 3.0.0
sgturner Jul 5, 2002 1:42 PM (in response to nusa)Why don't you fire up the whole thing in a debugger and step thru the code to find out where and why it starts to shut down?