well, the warning about only the root deployer being allowed to set the 
loader-repository goes away, but the error remains. Stack trace looks the same to me, 
here are the first lines:

2004-07-15 12:41:41,498 INFO  [org.jboss.deployment.EARDeployer] Init J2EE 
application: file:/blabla/jboss325/server/default/deploy/apps/test3.ear/
2004-07-15 12:41:41,998 INFO  [org.jboss.ejb.EjbModule] Deploying Test
2004-07-15 12:41:42,217 ERROR [org.jboss.ejb.StatelessSessionContainer] Initialization 
failed jboss.j2ee:jndiName=java%3aejb/Test,service=EJB
java.lang.ClassCastException
        at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:210)
        at org.jboss.ejb.Container.createService(Container.java:581)
        at 
org.jboss.ejb.StatelessSessionContainer.createService(StatelessSessionContainer.java:133)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)


Let me also mention the following:

- if the EAR only contains a war archive and the bean is its own top-level deployment 
unit, setting a loader-repository within the EAR does not cause the error. However, I 
would like to have EARs containing EJBs and having their own loader-rep.

- on the one hand, what I understand from the (purchased) jboss documentation is that 
setting the loader-rep within the jboss-app descriptor sets this loader for all 
subcomponents within this ear. On the other hand the jboss-web and jboss descriptors 
also allow for the specification of a loader-rep, so I tried to play around with this 
feature as well. 

- when I download jboss3.2.5, extract it and start it without having made any 
modification to it, it would also give me a warning about only root deployers being 
allowed to set a loader-rep:
2004-07-15 12:47:29,643 INFO  [org.apache.catalina.startup.Catalina] Server startup in 
110 ms
2004-07-15 12:47:29,768 WARN  [org.jboss.deployment.DeploymentInfo] Only the root 
deployment can set the loader repository, ingoring config=null
2004-07-15 12:47:29,783 INFO  [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, 
ctxPath=/invoker, 
warUrl=file:/blabla/jboss325/server/default/deploy/management/http-invoker.sar/invoker.war/

- I'm no novice to J2EE. The company I'm working for is using Jboss to run several 
EARs covering all of J2EE: JMS, JCA, JDBC, all EJB types etc.
Now I'm trying to investigate four features that are becoming more and more crucial to 
us:
   - we need to be able to isolate the EARs from one another 
   - we need to be able to specify alternative deployment descriptors within
     the application.ear archive
   - we need to be able to reload an EJB without having to reload all other deployment 
units that depend on it. 
   - we would like to be able to deploy several different 
     ejb-implementation-classes for the same ejb-home and 
     ejb-object interface

However, I can get NONE of the above usecases to work. No matter how hard or how long 
I try. 

I know that the JBoss group offers commercial support. What my team needs whout be to 
submit detailed descriptions of the above use-cases to a JBoss support agent and get 
back one simple "hello-world" example application per use-case, showcasing that the 
JBoss server is actually capable of fullfilling the specified requirements of the 
respective use-case.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842196#3842196

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842196


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to