- This topic has 2 replies, 3 voices, and was last updated 19 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
Oleg KonovalovMemberHi,
I have downloaded and installed Eclipse 3.1 and MyEclipse 4.0 beta M2 (3.9.210 build id: 20050627-4.0-Milestone2)
Trying to run it with JBoss 3.0.7 (on Win XP or Win2000) with JDK 1.4.2_06 or 1.4.2_07.
As soon as I try to start JBoss from Eclipse, on 2 out of 3 PCs getting in the console:11:49:38,721 INFO [Server] JBoss Release: JBoss-3.0.7 CVSTag=JBoss_3_0_7
11:49:38,908 INFO [Server] Home Dir: C:\Pfizer\jboss-3.0.7
11:49:38,924 INFO [Server] Home URL: file:/C:/Pfizer/jboss-3.0.7/
11:49:38,924 INFO [Server] Library URL: file:/C:/Pfizer/jboss-3.0.7/lib/
11:49:38,987 INFO [Server] Patch URL: null
11:49:38,987 INFO [Server] Server Name: default
11:49:39,002 INFO [Server] Server Home Dir: C:\Pfizer\jboss-3.0.7\server\default
11:49:39,002 INFO [Server] Server Home URL: file:/C:/Pfizer/jboss-3.0.7/server/default/
11:49:39,002 INFO [Server] Server Data Dir: C:\Pfizer\jboss-3.0.7\server\default\db
11:49:39,002 INFO [Server] Server Temp Dir: C:\Pfizer\jboss-3.0.7\server\default\tmp
11:49:39,002 INFO [Server] Server Config URL: file:/C:/Pfizer/jboss-3.0.7/server/default/conf/
11:49:39,002 INFO [Server] Server Library URL: file:/C:/Pfizer/jboss-3.0.7/server/default/lib/
11:49:39,002 INFO [Server] Root Deployemnt Filename: jboss-service.xml
11:49:39,018 INFO [Server] Starting General Purpose Architecture (GPA)…
11:49:40,237 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
11:49:40,237 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05,Sun Microsystems Inc.
11:49:40,252 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
11:49:40,315 INFO [ServiceController] Controller MBean online
11:49:40,377 INFO [MainDeployer] Creating
11:49:40,393 INFO [MainDeployer] Created
11:49:40,393 INFO [MainDeployer] Starting
11:49:40,393 INFO [MainDeployer] Started
11:49:40,409 INFO [JARDeployer] Creating
11:49:40,409 INFO [JARDeployer] Created
11:49:40,409 INFO [JARDeployer] Starting
11:49:40,409 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@5d9084
11:49:40,409 INFO [JARDeployer] Started
11:49:40,409 INFO [SARDeployer] Creating
11:49:40,409 INFO [SARDeployer] Created
11:49:40,409 INFO [SARDeployer] Starting
11:49:40,409 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@32784a
11:49:40,424 INFO [SARDeployer] Started
11:49:40,424 INFO [Server] Core system initialized
11:49:40,440 INFO [MainDeployer] Starting deployment of package: file:/C:/Pfizer/jboss-3.0.7/server/default/conf/jboss-service.xml
11:49:40,502 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
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
11:49:40,596 INFO [Server] Undeploying all packages
11:49:40,596 INFO [MainDeployer] Undeploying file:/C:/Pfizer/jboss-3.0.7/server/default/conf/jboss-service.xml
11:49:40,596 INFO [DeploymentInfo] Cleaned Deployment: file:/C:/Pfizer/jboss-3.0.7/server/default/tmp/deploy/server/default/conf/jboss-service.xml/1.jboss-service.xml
11:49:40,596 INFO [MainDeployer] Undeployed file:/C:/Pfizer/jboss-3.0.7/server/default/conf/jboss-service.xml
11:49:40,596 INFO [MainDeployer] Undeployed 1 deployed packages
11:49:40,596 INFO [Server] Shutting down all services
Shutting down
11:49:40,596 INFO [ServiceController] Stopping 3 services
11:49:40,596 INFO [SARDeployer] Stopping
11:49:40,596 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@32784a
11:49:40,596 INFO [SARDeployer] Stopped
11:49:40,596 INFO [JARDeployer] Stopping
11:49:40,596 INFO [JARDeployer] Stopped
11:49:40,596 INFO [MainDeployer] Stopping
11:49:40,596 INFO [MainDeployer] Stopped
11:49:40,596 INFO [ServiceController] Stopped 3 services
11:49:40,596 INFO [Server] Deleting server tmp/deploy directory
11:49:40,690 INFO [Server] Shutdown complete
Shutdown complete
Halting VMThat happens with MyEclipse 4.0M2 and 3.8.4 on 2 out of 3 PCs I tried.
On the 3rd PC everything works fine for both.
JBoss runs fine on all 3 PCs by itself (from run.bat).I do point to the correct full JDK and have JBoss Home setup in MyEclipse.
What am I missing ?
Thank you,
Oleg Konovalov
Scott AndersonParticipantOleg,
The issue appears to be while parsing hte configuration:
Caused by: java.lang.NullPointerException
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:629)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:130)Could the XML environment on the three machines be different? Naturally, that changes with each JDK release or by using the “endorsed” directory option for XML. Are all three machines using *precisely* the same JDK, and are configured *precisely* the same way? The reason I ask is that obviously *something* is different and once we determine what that is we likely have found the culprit.
Another thing to try: can you download and install a new zip of JBoss 3 and install it in another location (don’t overwrite your current one). Can this new configuration be started properly?
Riyad KallaMemberOleg,
Are all 3 machines Windows machines? Is one a Linux or OS X machine? Have you tried opening the jboss-service.xml file with a Windows editor like Notepad or Textpad or Notepad Plus and then resaving it making sure to use Windows newline characters? There was this whacky bug a while back with JBoss parsing it’s XML file when it was saved using Unix newline chars, and all people had to do was open and resave it with a text editor on windows. This post, for some reason, made me think of this. -
AuthorPosts