Re: [JBoss-user] Trouble hot re-deploying
On Tue, May 28, 2002 at 10:46:14AM +1000, Dmitri Colebatch wrote: > > I use a method that takes a JNDI name and returns an EJBLocalHome > > object, which is then cast to the appropriate type. Although the > > returned object has the same class name as before the redeployment, > > I'm getting ClassCastExceptions. > > where is the class that this method is in? Is in in your directory structure, or >the lib dir? It's located in my ejb.jar file in the correct location. I'm hanging on until RC4 before gettin too worried about this, because Scott reports that it's a "known issue" and has been fixed. Cheers, Simon -- "I have a hobby...I have the world's largest collection of sea shells. I keep it scattered on beaches all over the world. Maybe you've seen some of it..." Steven Wright ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Trouble hot re-deploying
I've got other projects on the go that don't involve JBoss, so I'll wait until the final release (candidate, surely?) and retest. As an aside, I'm constantly impressed with the speed with which the JBoss developers find and fix problems. When the online docs are relevant to version 3 (or the book, for that matter) I'll be making a contribution. On Mon, May 27, 2002 at 11:39:24PM -0700, Scott M Stark wrote: > This is a bug in the deployment of ejbs from a fixed url. This is > fixed in the 3.0 branch so either get the latest code or wait for > the final release due out this week. Regards, Simon -- As usual, this being a 1.3.x release, I haven't even compiled this kernel yet. So if it works, you should be doubly impressed. (Linus Torvalds, announcing kernel 1.3.3 on the linux-kernel mailing list.) ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Trouble hot re-deploying
This is a bug in the deployment of ejbs from a fixed url. This is fixed in the 3.0 branch so either get the latest code or wait for the final release due out this week. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Simon Stewart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 10:34 AM Subject: [JBoss-user] Trouble hot re-deploying > I'm currently developing an app using JBoss 3RC3 (and the bundled > tomcat 4.0.3) It would be lovely to be able to do a hot redeploy of my > app after making fixes, because currently start times are hovering > around 3 minutes. I'm developing using a file structure with a > suitable name (foo.ear) for the root directory, rather than a .EAR > file. > > When I touch the application.xml file, the app appears to be > un-deployed (?) and the re-deployed, however calls to obtain > EJBLocalHome objects barf, where before the redeploy they worked fine. > > I use a method that takes a JNDI name and returns an EJBLocalHome > object, which is then cast to the appropriate type. Although the > returned object has the same class name as before the redeployment, > I'm getting ClassCastExceptions. > > Can anyone help? > > Regards, > > Simon > > -- > UNIX command of the day: > # ar x "matey, the treasure" > ar: matey, the tresure does not exist > > ___ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Trouble hot re-deploying
> I use a method that takes a JNDI name and returns an EJBLocalHome > object, which is then cast to the appropriate type. Although the > returned object has the same class name as before the redeployment, > I'm getting ClassCastExceptions. where is the class that this method is in? Is in in your directory structure, or the lib dir? cheers dim ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Trouble hot re-deploying
I'm currently developing an app using JBoss 3RC3 (and the bundled tomcat 4.0.3) It would be lovely to be able to do a hot redeploy of my app after making fixes, because currently start times are hovering around 3 minutes. I'm developing using a file structure with a suitable name (foo.ear) for the root directory, rather than a .EAR file. When I touch the application.xml file, the app appears to be un-deployed (?) and the re-deployed, however calls to obtain EJBLocalHome objects barf, where before the redeploy they worked fine. I use a method that takes a JNDI name and returns an EJBLocalHome object, which is then cast to the appropriate type. Although the returned object has the same class name as before the redeployment, I'm getting ClassCastExceptions. Can anyone help? Regards, Simon -- UNIX command of the day: # ar x "matey, the treasure" ar: matey, the tresure does not exist ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user