Hey,

are you sure the directory where you put the ejb-jar.xml is called META-INF
and not meta-inf or Meta-inf or Meta-Inf (case is important) ?

HTH,

Simon

> -----Original Message-----
> From: Gintaut Andreas (PN/EAC5) [mailto:[EMAIL PROTECTED]]
> Sent: mercoled� 18 ottobre 2000 09:56
> To: '[EMAIL PROTECTED]'
> Subject: [jBoss-User] deployment problem
> 
> 
> Hi,
> 
> I have a very fundamental problem while deploying a very 
> simple session
> bean. It is nearly the same
> session bean, as the interest example which can be downloaded from
> jboss-side.
> 
> I created a an ejb-jar.xml file by using the ejx-Tool. I put 
> this file in
> the meta-inf directory of my
> application and jar all together in my Andi.jar file. Looks 
> quite simple but
> when putting this jar-file
> to the deploy directory of jboss leads to the following error:
> 
> [Auto deploy] Auto deploy of file:/C:/jboss2/deploy/Andi.jar
> [Container factory] Deploying:file:/C:/jboss2/deploy/Andi.jar
> [Container factory] org.jboss.ejb.DeploymentException: no 
> ejb-jar.xml found
> [Container factory]   at
> org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:81)
> [Container factory]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:375)
> [Container factory]   at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:227)
> [Container factory]   at 
> java.lang.reflect.Method.invoke(Native Method)
> [Container factory]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
> java:1628)
> [Container factory]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
> java:1523)
> [Container factory]   at
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:286)
> [Container factory]   at
> org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:222)
> [Container factory]   at
> org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:265)
> [Container factory]   at
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:90)
> [Container factory]   at 
> java.lang.reflect.Method.invoke(Native Method)
> [Container factory]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
> java:1628)
> [Container factory]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
> java:1523)
> [Container factory]   at
> org.jboss.dependencies.DependencyManager.startMBean(Dependency
> Manager.java:2
> 84)
> [Container factory]   at
> org.jboss.dependencies.DependencyManager.loadService(Dependenc
> yManager.java:
> 261)
> [Container factory]   at
> org.jboss.dependencies.DependencyManager.processService(Depend
> encyManager.ja
> va:243)
> [Container factory]   at
> org.jboss.dependencies.DependencyManager.startMBeans(Dependenc
> yManager.java:
> 117)
> [Container factory]   at org.jboss.Main.<init>(Main.java:162)
> [Container factory]   at org.jboss.Main.<init>(Main.java:94)
> [Container factory]   at org.jboss.Main$1.run(Main.java:84)
> [Container factory]   at
> java.security.AccessController.doPrivileged(Native Method)
> [Container factory]   at org.jboss.Main.main(Main.java:75)
> 
> 
> Ok, everyone would say, you forgot to put the ejb-jar.xml in 
> the Andi.jar,
> but  I looked at it about a hundred times and
> it's always there :(, so the mistake should be somewhere else.
> 
> Does anyone have an idea???
> 
> Thanks a lot
> 
> Andreas 
> 
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 


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

Reply via email to