- This topic has 7 replies, 2 voices, and was last updated 18 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
Oleg KonovalovMemberHi,
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.
Used to work OK with MyEclipse 4.0Can run that JBoss standalone (even with all my apps).
Using JDK 1.4.2_07 on Win XP Pro SP2.
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 VMPlease help !
Thank you,
Oleg.
Oleg KonovalovMemberCorrection: the title should say MyEclipse 4.1.1
I tried to install it on another PC with JDK 1.5.0_06,
same Eclipse/MyEclipse/JBoss and got exactly the same problem.Tried to find similar messages on that forum, there is a bunch
(including my own ones from 2003 for previous versions of MyEclipse),
but none of them got resolved.
Tried not to mix JDK1.4 and 1.5 in MyEclipse/JBoss (make sure they run in the same JRE).Is that a well known problem ?
Any workarounds ?(I very veigly recall that in 2003 I was able to resolve it on one PC
with changing something in “endorsed” – 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.
Riyad KallaMemberOleg,
Is it necessary to be using such an old version of JBoss 3? I went to the website to try and duplicate your findings and the oldest thing from 2004 I could find was 3.2.6 and using that with JDK 1.5.0_06 started up just fine.Also if you still have the original ZIP of JBoss 3.0 around, try unzipping it to a new location and see if that new unzip of it starts up, try using JDK 1.4 as 1.5 might be too new, I believe that was even intended to run with JDK 1.3.
I’m curious why the SAR Deployer is dying when launched from inside of MyEclipse. You said it functions correctly outside of MyEclipse, what VM is your external JBoss script using?
Oleg KonovalovMemberRiyad,
JBoss 3.0.7 is a version we are using (with old Cocoon 2.0.4),
that is what I inherited to support from the previous team.
If you need, I can send you a ZIP file with JBoss3.0.7I also tried to start totally fresh JBoss 3.0.7 (no apps) from MyEclipse
and got the same result.External JBoss we run with the same JDK1.4.2 on Windows and Solaris
and never had problems with it.Please advise.
Thank you,
Oleg.
Riyad KallaMemberOleg,
Can you post your copy of JBoss somewhere I can download it and test it out?
Oleg KonovalovMember
Riyad KallaMemberThat worked, I’ll get back to you with my results.
Riyad KallaMemberI tried JDK 1.2.2, JDK 1.3.1, 1.4.2 and 1.5.0. Each time getting different exceptions when trying to start JBoss. It does seem that the connector is not properly handling that older JBoss 3.0 release. I’ll file this as a bug, but unfortunately given how busy we are with high priority items I can’t promise this will get fixed. A very very small portion of our developers are on app servers this old and the man power to take away from current feature sets is determined by management.
In the mean time, please launch JBoss externally, but you will still be able to use the MyEclipse deployments without a problem to manage the state of your application. I appologize for this inconvenience.
-
AuthorPosts