Failed to deploy EJB (org.jboss.util.id.SerialVersion not found !?)

Hi!

I have App Server 9 installed on Windows Xp Professional. I tried to deploy very simple EJB module (stateless HelloWorld with only remote interface). First attempt failed with error ClassNotFound exception for classorg.jboss.util.id.SerialVersion, next attempts failed with EJB compiler error (NullPointerException).

I don't get such errors on Linux machine.

If someone can explain what is wrong I will be glad, if not I will post it to bug database (and of course not glad). :-)

Regards,

Radek S.

[547 byte] By [smogura.eu] at [2007-11-26 8:44:16]
# 1

Do you know which jar file is this class "org.jboss.util.id.SerialVersion" in? Is the jar included in the classpath properly? Since the same setup worked on your linux machine, this is likely a configuration issue..

Could you post the stack trace of the EJB compiler error?

I also curious if you use AppServer9, why it's looking for a JBoss class? Are you using the two servers together?

hongzhang at 2007-7-6 22:26:35 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Hi!

You have suggested to look at configuration. I have found what was wrong. There has been jboss-j2ee.jar package in ext dir of JRE.

I suppose that this have made classes' name conflict. In particularly JBoss EE classes (that uses SerialVersion) was loaded first and this causes Exception.

After delete jboss-j2ee.jar package everything works fine.

smoguraeu at 2007-7-6 22:26:35 > top of Java-index,Application & Integration Servers,Application Servers...