1 Reply Latest reply on Jun 4, 2005 8:56 AM by starksm64

    Files deployed under deploy.last

    thebadpete

      Hi all,

      I have a question about jarfiles/sarfiles deployed under the deploy.last under the main deploy directory. I am using JBoss 4.0.1 + JDK 1.4.2_08. All the wiki entries I have read so far almost never mention the classloader relationships under deploy.last directory. Below are a few of my observation:

      1) When only one of the jarfiles/sarfiles get redeployed under deploy.last, every jarfiles/sarfiles that don't get updated gets redeployed anyway. This does not happen in the main deploy directory.

      2) Specifically, I have sarfiles developed, using HASingleton pattern, that get deployed in deploy.last directory. I want to call EJB's that gets deployed in another earfile. And I tried <loader-repository> tricks and it won't work.

      Can anyone tell me specifically whether the classloader hierarchies used for deploying files under deploy.last is any different from the main deploy directory? As for calling EJB from sarfiles under deploy.last, is there any suggestion? Is it legal at all? (I want to leave setting call-by-value as last resort).

      Many thanks!