Hi, I am using JBoss 3.0.3 and I have similar problem for a long while when using JDK1.4.x (but no such problem in JDK1.3).
Regarding the jndi-file, do you mean the jndi.properties ? I can only find that file in server/default/conf/jndi.properties but not in all of my deployed jar files. So, should I just remove the jndi.properties file from the conf directory will make it works ? Thanks for your follow up. Camus -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Henning Storhaug Sent: Friday, November 22, 2002 6:11 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Re: redeployment and classloading You where right! There was an jndi-file in the build-directories that sneaked into my jar-file, and removing it solved my problem. I couldn't have figured that one out on my own. Don't understand exactly why this should be a problem though, but anyway - Thanks!! :) - Henning > > Message: 1 > From: Thomas Aardal <[EMAIL PROTECTED]> > Organization: Conduct AS > To: [EMAIL PROTECTED] > Date: Mon, 18 Nov 2002 20:58:33 +0100 > Subject: [JBoss-user] Re: redeployment and classloading > Reply-To: [EMAIL PROTECTED] > > Henning, several people have been having the same type of > problem with=20 > hotdeployment / redeployment of EAR files and classcast > exceptions. Most = > of=20 > these were due to the fact that old or unused (or even misplaced)=20 > jndi.properties files were lying in the ear file, and caused > problems for= > the=20 > jndi lookups, since the "old" home interface is in memory > even after the = > new=20 > file has been deployed, causing the exception. > > Removing the properties file should solve the problem. > > > --=20 > -------------------------------------------------------------- > ----------- > Thomas Aardal; +47 97566202; +47 22331515; fax +47 22336024 > Biskop Gunnerusgt. 2; Boks 805 Sentrum, 0104 Oslo;=20 > www.conduct.no; [EMAIL PROTECTED] > -------------------------------------------------------------- > -----------= > - > > > > > --__--__-- > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > End of JBoss-user Digest > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
<<attachment: winmail.dat>>
