wood burning stoves*
The moose likes JBoss/WildFly and the fly likes JBoss Server V4.2 NOT getting Started Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Server V4.2 NOT getting Started" Watch "JBoss Server V4.2 NOT getting Started" New topic
Author

JBoss Server V4.2 NOT getting Started

Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

[color=blue]
Hi Ranchers,

Steps done :

1> I have created a JMS application

2> I have also created a JBoss Server V4.2

3> when im testing the JMS application I'm trying to start the Jboss V4.2 server

4> The server is not getting started and it gives me the errors as shown in the attached "JBOSS V4 Error Log.doc"


Could you please help me out as to where the error could be and how i can rectify the same.The server does not start within timeout of 50 seconds.


Help provided will be highly Appreciated

As im unable to attach the file im enclosing it as below.Please excuse me for this.




Help provided will be highly appreciated.
--
Deepak Lal[/color]


When The Going Gets Tougher,The Tougher gets Going
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

What is JAVA_HOME set to?

There are two binary downloads for JBoss AS 4.2.3 - one is specifically for JDK6, the other for JDK5. Did you download the one for JDK5?

The missing class, javax/ejb/Stateless, is located in server/default/lib/jboss-ejb3x.jar. Make sure htat file is accessible and that your have thep roper security permissions to access it.


JBoss In Action
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507


Hi Peter Johnson,
Need your help to solve this.I will be highly obliged if you can help me out.

Question : What is JAVA_HOME set to?
Reply from Deepak :JAVA_HOME is set to C:\j2sdk;
further C:\j2sdk has 2 folders in it.
jdk1.5.0_17---> JDK 5 Update 17
jre1.5.0_17 which contains JRE environment for java.



Question : There are two binary downloads for JBoss AS 4.2.3 - one is specifically for JDK6, the other for JDK5. Did you download the one for JDK5?
Answer: I have downloaded the one specifically for JDK5 only.It is confirmed.



Question : The missing class, javax/ejb/Stateless, is located in server/default/lib/jboss-ejb3x.jar. Make sure that file is accessible and that your have the proper security permissions to access it.

Answer:
Yes the jboss-ejb3x.jar is present in the location server/default/lib/jboss-ejb3x.jar.
and the class is located in the server/default/lib/jboss-ejb3x.jar file also.I have checked and its confirmed.

What do you mean by file is accessible and i should have proper security permissions to access it.Can you throw some light on this.??how do i make it accessible...??please advice..


Help Needed Peter,I m not able to proceed on my work.Pleasse need your help.

Help provided will be highly appreciated.

--
Deepak Lal
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Answer: I have downloaded the one specifically for JDK5 only.It is confirmed.


Nope Going by the build date (200807181439) in this log message

17:55:28,625 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)


you have downloaded the JDK6 version of JBoss-5.0 and are using it against a JDK5. That's the reason why you are seeing those errors.

Follow this wiki (which applies to JBoss-5 too) to fix the issue.

[My Blog] [JavaRanch Journal]
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507


Hi Mr Jaikiran Pai,
Thanks for the answers and i wanted some information,It will be kind enough if you could guide me to fix this up since im not an expert in JBOSS.Please need your help.

Jaikirans Message : You have downloaded the JDK6 version of JBoss-5.0 and are using it against a JDK5. That's the reason why you are seeing those errors.

Deepaks reply : From the below log message how did you come to know that im using JDK6 version of JBoss-4.2.3 and using it against JDK5.0,Please tell me how did you find it out from log message.Help required Sir.



17:55:28,625 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)



So do you suggest me to re install JDK6.0 to make it compatible with JDKversion 6.0 of JBoss V 4.2.3?

Help provided will be highly appreciated.

--
Deepak Lal
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Deepak Lal wrote:
From the below log message how did you come to know that im using JDK6 version of JBoss-4.2.3 and using it against JDK5.0,Please tell me how did you find it out from log message.Help required Sir.





Each release of JBossAS has a specific tag and a date, as you can see in the log message - (build: SVNTag=JBoss_4_2_3_GA date=200807181439). JBoss-4.2.3 GA (and JBoss-5.0 GA) both have 2 releases each, one for JDK5 and the other for JDK6. Locally i have both these versions and also based on the posts in the forums, i have seen that for JDK5, the build date is 200807181417 and for the JDK6 version it is 200807181439.

Deepak Lal wrote:
So do you suggest me to re install JDK6.0 to make it compatible with JDKversion 6.0 of JBoss V 4.2.3?



That's one way to fix it. The other way is to download the JDK5 version of JBossAS from here

P.S: Please do not use colours while posting
 
 
subject: JBoss Server V4.2 NOT getting Started