Re: [JBoss-user] Trouble hot re-deploying

2002-05-28 Thread Scott M Stark

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

2002-05-28 Thread Simon Stewart

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



[JBoss-user] Trouble hot re-deploying

2002-05-27 Thread Simon Stewart

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