[Beginners Corner] - Re: How can debug Jboss AS in Eclipse?
by jaikiran
"Jonah" wrote : I filled the required argument in Eclipse debug configuration for org.jboss.Main. However, it cannot be started and print following messages. I tried in commondline, it's ok. Can you give me some advices? Many thanks in advance.
|
| Failed to boot JBoss:
| java.lang.NullPointerException
| at java.util.Properties$LineReader.readLine(Unknown Source)
| at java.util.Properties.load(Unknown Source)
| at org.jboss.Version.loadProperties(Version.java:291)
| at org.jboss.Version.(Version.java:72)
| at org.jboss.Version.getInstance(Version.java:84)
| at org.jboss.system.server.ServerImpl.(ServerImpl.java:89)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
| at java.lang.reflect.Constructor.newInstance(Unknown Source)
| at java.lang.Class.newInstance0(Unknown Source)
| at java.lang.Class.newInstance(Unknown Source)
| at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:289)
| at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)
| at org.jboss.Main.boot(Main.java:194)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Unknown Source)
|
A similar issue was discussed at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132901. See if it helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143880#4143880
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143880
18 years, 3 months
[Beginners Corner] - Re: How can debug Jboss AS in Eclipse?
by Jonah
Many thanks for your reply. I think I do not describe my question clear befor. I want to modify some code in JBoss AS, so I want to set a breakpoint in some code of Jboss AS classes to see its process. I filled the required argument in Eclipse debug configuration for org.jboss.Main. However, it cannot be started and print following messages. I tried in commondline, it's ok. Can you give me some advices? Many thanks in advance.
Failed to boot JBoss:
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Unknown Source)
at java.util.Properties.load(Unknown Source)
at org.jboss.Version.loadProperties(Version.java:291)
at org.jboss.Version.(Version.java:72)
at org.jboss.Version.getInstance(Version.java:84)
at org.jboss.system.server.ServerImpl.(ServerImpl.java:89)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:289)
at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)
at org.jboss.Main.boot(Main.java:194)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Unknown Source)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143873#4143873
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143873
18 years, 3 months
Upgrade advise: 4.0.5 vs 4.2.2 vs 5.0.0
by Achilleas Mantzios
Hi,
we are about to upgrade to a new fresh hardware and we are considering upgrading to latest and greatest
jboss, postgresql as well.
Currently we are on 3.0.3 (for various reasons, mainly lack of time).
At some point back in 2006, i had come up with a plan for migration to (then) 4.0.4, and i had writen
instructions how to deal with eclipse, packaging, EJB configuration, and the test succeeded.
However we were unable to upgrade due to lack of testing time, and lack of a paralel test system.
Now we have the hw, + i have to do the upgrade.
So the questions are
a) which version should i turn to?
b) What are the changes between 4.0.4->4.2.2->5.0.0
I know its been 2 years under development, but what are the caveats someone should be aware of?
Thank you for any directions.
--
Achilleas Mantzios
18 years, 3 months