Wes Mckean wrote:
> 
> My question is, when I copy a new version of a EJB into jBoss' deploy
> directory, and it gets auto deployed, my web page doesn't seem to use the
> new object  until I start and restop jBoss.  Why?  My environment is Tomcat
> + Apache + Jboss.

I experience the same thing --- the quick&dirty trick I've found is to
restart *Tomcat*: I've put the EJB initialization stuff
(InitialContext.lookup(), PortableRemoteObject.narrow() and
home.create()) in my servlet's init() method. If I redeploy the EJB jar,
it seems that I have to call al those methods again.

I'm afraid I'm doing something *COMPLETLY* wrong ;-)

-- 
"Es tristi di pidil, piru is mas tristi di pidil un duminiu .es"


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to