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.
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.
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.
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