Hi Folx,

some more additional thoughts/comments: 
- I could fix my scenario while removing the ejb-jars from the manifest of
the web-application

- I created another scenario where ejb-jars depend on each other during
deployment (base classes for jar2 are located within jar1). If I remove the
manifest entries I get NoClassDef... erros. If I add manifest entries the
pointed out InstanceAlreadyExistsException exception is thrown (same
situation as shown before)

- Imagine the following scenario would be functional with the current
classloading architecture
  ear
     -> ejb1
     -> ejb2 
         -> manifest -> ejb1

Can the current classloading scenario handle local calls from ejb2 to ejb1
with classes from ejb1 as parameters without the need to serialize these
parameters. Imho the classes need to be serialized since they have been
loaded with different classloaders.

thanks for your help,
 Markus

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Sonntag, 14. Juli 2002 23:14
An: [EMAIL PROTECTED]
Betreff: [JBoss-dev] MainDeployer / Manifest class-path


Hi,

could it be possible that there is an error in the MainDeployer? Assume the
following scenario:

 ear
   war (references jar1 and jar2 via manifest)
   jar1 - contains ejb/normal classes
   jar2 - same as above

The MainDeployer loads the ear and extracts the war. It assigns a
WebClassloader and searches the Manifest classpath. MainDeployer finds jar1
and jar2 -> init. Jar1/Jar2 are ejb-jars so they get assigned an
EJBDeployer. Than deployer -> deploy -> start.

But now jar1 gets loaded again with an EJBDeployer, but the Beans have
allready been registered which results in a
javax.management.InstanceAlreadyExistsException.

I think jars (here jar1/jar2) MUST be loaded with the JARDeployer (dependant
to the war-classloader) if a war/ejb references them via manifest classpath.

Did i miss something? e-mail me if you want to get a test-jar.

regards,
 Markus



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to