[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-12-03 Thread nicdo77
Sorry for the late reply!
My ear is called localys.ear: here is its hierrachy:
localys.ear
|
|--- businessmodule.ear (my own stuff...)
|
|--- hibernate2.jar
|
|--- mail.jar
|
|--- jaxb-api.har
|
|--- ... other jars

I'm gonna have a look at the links, thanks a million.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109720#4109720

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread nicdo77
Help?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109180#4109180

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109180
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread jaikiran
nicdo77 wrote : Well, this leads me to another question.
  | I already had hibernate2.jar packaged in my ear. BUT, at deployment time, i 
used to have a deployment failure cause JBoss couldn't find one of the 
Hibernate class. 

Where in the ear did you place the hibernate jar file?

nicdo77 wrote : 
  | 
  | Does it seem normal to you to have twice hibernate2.jar? 
  | Nico.

Each application is allowed to have its own version of libraries. This means 
that there might be more than one version of the same jar file in a JBoss 
system. But you have to be careful about how you setup the classloading 
configurations. Read through the following links which might give you some idea 
on classloading in JBoss:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109278#4109278

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109278
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread nicdo77
Hey thank you very much.
I just checked, and indeed odmg is not in my path.
One question though: should i add it in my .ear or on my JBoss libs directory!?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109220#4109220

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109220
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread jaikiran
If you are packaging hibernate jars with your ear file then i would recommend 
adding this odmg jar too inside the ear. Else you can place it in the server/ 
serverName/lib folder.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109245#4109245

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109245
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread jaikiran
anonymous wrote : java.lang.NoClassDefFoundError: 
net/sf/hibernate/collection/List

Sometimes the actual reason for a NoClassDefFoundError is because some 
dependent class is not available in the classpath. Make sure the classes which 
are accessed by net/sf/hibernate/collection/List (either through extends or 
import statements or some other means) are available in the classpath. 

I checked the Hibernate2.x source for this net/sf/hibernate/collection/List 
class and it shows that this class uses the org.odmg package for which you have 
to place the odmg-3.0.jar (or an appropriate version of this jar) in the 
classpath. Make sure you have done that and also check if there are any other 
additional jar files that need to be in the classpath.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109198#4109198

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109198
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [3.2.3] [NoClassDefFoundError] Weird exception although

2007-11-30 Thread nicdo77
Well, this leads me to another question.
I already had hibernate2.jar packaged in my ear. BUT, at deployment time, i 
used to have a deployment failure cause JBoss couldn't find one of the 
Hibernate class. So i added hibernate2.jar as well in my JBoss libs (which is 
server/default/lib. 
Does it seem normal to you to have twice hibernate2.jar? Or maybe my error was 
coming from something else. I'm pretty sure it was a NoClassDefFoundError on 
the first Hibernate class JBoss was trying to deploy!

Nico.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109259#4109259

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109259
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user