[jboss-user] [Installation, Configuration & Deployment] - problem trying to deploy a simple helloworldejb.jar

rsood72 do-not-reply at jboss.com
Mon Jul 31 09:28:41 EDT 2006


Whenever I triy to deploy my helloworldejb.jar, i get the following exception - I have looked everywhere in the forum and out of forum but cannot figure out what the problem is. If someone can help me I will appreciate it. Right after the error I have also pasted the contents of my ejb-jar.xml and jboss.xml
09:20:24,239 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.
2.3/server/default/deploy/HelloWorldEJB.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
        at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy6.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)

contents of ejb-jar.xml<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
	<ejb-jar>
	<display-name>
	HelloWorldEJB</display-name>
	<enterprise-beans>
	
	<ejb-name>Hello</ejb-name>
	examples.HelloHome
	examples.Hello
	<ejb-class>examples.HelloBean</ejb-class>
	<session-type>Stateless</session-type>
	<transaction-type>Container</transaction-type>
	
	</enterprise-beans>
	</ejb-jar>

contents of jboss.xml<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">



   <enterprise-beans>

     <!--
       To add beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called jboss-beans.xml that contains
       the ,  and <message-driven></message-driven>
       markup for those beans.
     -->

      
         <ejb-name>Hello</ejb-name>
         <jndi-name>ejb/Hello</jndi-name>

      

    <!--
      write a merge file jboss-webservices.ent for webservice-description 
    -->

   </enterprise-beans>

   <resource-managers>
   </resource-managers>

  <!--
    | for container settings, you can merge in jboss-container.xml
    | this can contain <invoker-proxy-bindings/> and <container-configurations/>
  -->



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

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



More information about the jboss-user mailing list