• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss Server V4.2 NOT getting Started

 
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[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]
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Deepak Lal
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Deepak Lal
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic