Hey

Wes Mckean wrote:
> Greetings!  We are using Jboss extensively in our company as both a
> development and QA environment.  The only reason we are not using it in
> production is because we had already bought a copy of Darth-WebLogic :-)
> However, it is so damn easy to swap EJBs between the two, it ain't even
> funny!

Au contraire, that is very funny ;-)

> 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.

Hohum, I would guess that you are caching a wee bit too much in your
servlets. If you hold on to the Home object in the servlet (ring a
bell?) then you will be using the old container. The only reason this
works is that so far we do not unexport the container remote object.
This should be added though (Marc, any reason this hasn't been done yet,
or..? There is a comment about it in the code).

Preferably the stubs should be able to get the new container without
hickups. Don't know right now how to do. For now you should add some way
to "flush" your cache of Home stubs in the servlets (assuming that is
the problem).

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


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

Reply via email to