Bugs item #620838, was opened at 2002-10-09 11:43
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=620838&group_id=22866
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Jay Petersen (s2jcpete)
Assigned to: Scott M Stark (starksm)
Summary: jboss-3.0.3 Crashes with jdk1.4.1
Initial Comment:
OS=Conectiva Linux 8
JDK=1.4.1-fcs
Version=jboss-3.0.3 (md5sum =
342c4c636ff96b01aa1e13188ca16a63 jboss-3.0.3.zip).
When executing the run.sh file, it would crash saying
null pointer exception when instantiating
org.jboss.web.WebService. Switched to jdk1.4.0_02
and everything runs fine.
ERROR [Server] start failed
org.jboss.deployment.DeploymentException:
org.jboss.web.WebService constructor has thrown an
exception: java.lang.NullPointerException; - nested
throwable: (RuntimeMBeanException:
org.jboss.web.WebService constructor has thrown an
exception: java.lang.NullPointerException
Cause: java.lang.NullPointerException)
at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:155)
at
org.jboss.system.ServiceController.install(ServiceController.java:225)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.install(Unknown Source)
at
org.jboss.deployment.SARDeployer.create(SARDeployer.java:209)
at
org.jboss.deployment.MainDeployer.create(MainDeployer.java:755)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:536)
Caused by: RuntimeMBeanException:
org.jboss.web.WebService constructor has thrown an
exception: java.lang.NullPointerException
Cause: java.lang.NullPointerException
at
org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:854)
at
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816)
at
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266)
at
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293)
at
org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
at
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:167)
at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:130)
... 25 more
----------------------------------------------------------------------
Comment By: Steven Ostrowski (alchemista)
Date: 2003-01-21 23:26
Message:
Logged In: YES
user_id=552047
Not sure why this bug is closed, no workaround is provided.
Please re-open the bug to work on this so that jboss will
work out of the box with the latest J2SDK. It' still crashing.
I'm using RH8.0, J2SDK 1.4.1_01....
Linux x1-6-00-50-2c-01-07-fc 2.4.18-18.8.0 #1 Wed Nov 13
22:52:09 EST 2002 i686 athlon i386 GNU/Linux
----------------------------------------------------------------------
Comment By: Scott M Stark (starksm)
Date: 2002-11-02 17:56
Message:
Logged In: YES
user_id=175228
This has to be a bug in HotSpot under some conditions as I
can't reproduce this on WinXP, Win2000 or RedHat 7.3, the
start of which is show below. I'm guessing its related to the
WebService.server ivar hiding the
ServiceMBeanSupport.server ivar and HotSpot is choking. I
have change the WebService.server ivar to webServer.
[starksm@bliss bin]$ java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed
mode)
[starksm@bliss bin]$ uname -a
Linux bliss.jboss.org 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT
2001 i686 unknown
16:53:18,900 INFO [Server] JBoss Release: JBoss-3.0.3
CVSTag=JBoss_3_0_3
...
16:53:24,861 INFO [WebService] Starting
16:53:24,870 INFO [WebService] Started webserver with
address: null port: 8083
16:53:24,870 INFO [WebService] Codebase set to:
http://bliss.jboss.org:8083/
16:53:24,871 INFO [WebService] Started
----------------------------------------------------------------------
Comment By: Fred Hartman (fredh666)
Date: 2002-11-01 18:08
Message:
Logged In: YES
user_id=640696
For some related info, I am using JBoss 3.0.3 with
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
on W2K and it is fine. A collegue runs on RedHat Linux 7.?
with no problems from JDK 1.4.1.
----------------------------------------------------------------------
Comment By: Jay Petersen (s2jcpete)
Date: 2002-10-14 19:14
Message:
Logged In: YES
user_id=626147
Not using DHCP... Tried it on a Mandrake 9.0 and Conectiva 8.0
Distribution.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-10-14 18:42
Message:
Logged In: NO
Are you using dhcp? I've had the same problem on mandrake
with jboss 3.0.3 and jdk1.4.1?.Works ok if I use a static IP.
----------------------------------------------------------------------
Comment By: Christian Riege (lqd)
Date: 2002-10-10 06:02
Message:
Logged In: YES
user_id=176671
i can confirm this - crash occurs only on Linux w/ 1.4.1;
Windoze 2K w/ 1.4.1 seems to be OK (startup succeeds)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=620838&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development