Cannot start JBoss3 from latest Eclipse/MyEclipse

O

Oleg Konovalov

Hi,

I just installed MyEclipse 4.1.1 with Eclipse 3.1.2
and trying to run JBoss 3.0.7 from there, but it fails right away.
Tried in both Debug and Run mode on 2 different PCs with WinXP and
JDK1.4.2_07 & 1.5.0_06
Used to work OK with MyEclipse 4.0

Can run that JBoss standalone (even with all my apps).

Here is a console:
17:47:23,966 INFO [Server] JBoss Release: JBoss-3.0.7 CVSTag=JBoss_3_0_7
17:47:23,966 INFO [Server] Home Dir: C:\WORK\jboss-3.0.7
17:47:23,966 INFO [Server] Home URL: file:/C:/WORK/jboss-3.0.7/
17:47:23,981 INFO [Server] Library URL: file:/C:/WORK/jboss-3.0.7/lib/
17:47:23,981 INFO [Server] Patch URL: null
17:47:23,981 INFO [Server] Server Name: default
17:47:23,981 INFO [Server] Server Home Dir:
C:\WORK\jboss-3.0.7\server\default
17:47:23,981 INFO [Server] Server Home URL:
file:/C:/WORK/jboss-3.0.7/server/default/
17:47:24,012 INFO [Server] Server Data Dir:
C:\WORK\jboss-3.0.7\server\default\db
17:47:24,012 INFO [Server] Server Temp Dir:
C:\WORK\jboss-3.0.7\server\default\tmp
org.jboss.deployment.DeploymentException: - nested throwable:
(java.lang.NullPointerException)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:158)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:679)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
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:534)
Caused by: java.lang.NullPointerException
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:629)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:130)
.... 15 more
17:47:24,043 INFO [Server] Server Config URL:
file:/C:/WORK/jboss-3.0.7/server/default/conf/
17:47:24,043 INFO [Server] Server Library URL:
file:/C:/WORK/jboss-3.0.7/server/default/lib/
17:47:24,043 INFO [Server] Root Deployemnt Filename: jboss-service.xml
17:47:24,043 INFO [Server] Starting General Purpose Architecture (GPA)...
17:47:24,183 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
17:47:24,183 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM
1.4.2_07-b05,Sun Microsystems Inc.
17:47:24,183 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
17:47:24,199 INFO [ServiceController] Controller MBean online
17:47:24,246 INFO [MainDeployer] Creating
17:47:24,246 INFO [MainDeployer] Created
17:47:24,246 INFO [MainDeployer] Starting
17:47:24,246 INFO [MainDeployer] Started
17:47:24,261 INFO [JARDeployer] Creating
17:47:24,261 INFO [JARDeployer] Created
17:47:24,261 INFO [JARDeployer] Starting
17:47:24,261 INFO [MainDeployer] Adding deployer:
org.jboss.deployment.JARDeployer@54a328
17:47:24,261 INFO [JARDeployer] Started
17:47:24,261 INFO [SARDeployer] Creating
17:47:24,261 INFO [SARDeployer] Created
17:47:24,261 INFO [SARDeployer] Starting
17:47:24,261 INFO [MainDeployer] Adding deployer:
org.jboss.deployment.SARDeployer@1e152c5
17:47:24,277 INFO [SARDeployer] Started
17:47:24,277 INFO [Server] Core system initialized
17:47:24,277 INFO [MainDeployer] Starting deployment of package:
file:/C:/WORK/jboss-3.0.7/server/default/conf/jboss-service.xml
17:47:24,308 ERROR [Server] start failed
org.jboss.deployment.DeploymentException: - nested throwable:
(java.lang.NullPointerException)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:158)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:679)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
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:534)
Caused by: java.lang.NullPointerException
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:629)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:130)
.... 15 more
17:47:24,323 INFO [Server] Undeploying all packages
17:47:24,323 INFO [MainDeployer] Undeploying
file:/C:/WORK/jboss-3.0.7/server/default/conf/jboss-service.xml
17:47:24,323 INFO [DeploymentInfo] Cleaned Deployment:
file:/C:/WORK/jboss-3.0.7/server/default/tmp/deploy/server/default/conf/jboss-service.xml/1.jboss-service.xml
17:47:24,323 INFO [MainDeployer] Undeployed
file:/C:/WORK/jboss-3.0.7/server/default/conf/jboss-service.xml
17:47:24,323 INFO [MainDeployer] Undeployed 1 deployed packages
17:47:24,323 INFO [Server] Shutting down all services
Shutting down
17:47:24,323 INFO [ServiceController] Stopping 3 services
17:47:24,323 INFO [SARDeployer] Stopping
17:47:24,323 INFO [MainDeployer] Removing deployer:
org.jboss.deployment.SARDeployer@1e152c5
17:47:24,323 INFO [SARDeployer] Stopped
17:47:24,323 INFO [JARDeployer] Stopping
17:47:24,323 INFO [JARDeployer] Stopped
17:47:24,323 INFO [MainDeployer] Stopping
17:47:24,323 INFO [MainDeployer] Stopped
17:47:24,323 INFO [ServiceController] Stopped 3 services
17:47:24,323 INFO [Server] Deleting server tmp/deploy directory
17:47:24,401 INFO [Server] Shutdown complete
Shutdown complete
Halting VM


Is that a well known problem ?
Any workarounds ?

(I very veigly recall that in 2004 I was able to resolve it on one PC
with changing something in "endorse" - maybe by adding some JARs to the
libraries?,
but can not be sure, I was just playing. Now I really need to make it work!)

Please help !

Thank you in advance,
Oleg.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top