I'm trying to deploy my beans, and no matter what I try, I get a
DeploymentException. I pared down my ejb-jar.xml file to just one bean in an
attempt to isolate the problem, but still get the same exception. I generate
the jar to reflect the package structure and the META-INF directory which
has the ejb-jar.xml and MANIFEST.MF files, is included as well. I was able
to build and deploy the Interest example from the website, but cannot get my
beans deployed. This is killing me (well, not literally).
My ejb-jar.xml file and the console output generated when I attempt to
deploy are included below.
Here is my ejb-jar.xml file:
<?xml version="1.0" encoding="Cp1252"?>
<ejb-jar>
<description>System EJBeans</description>
<display-name>System</display-name>
<enterprise-beans>
<session>
<ejb-name>Tri_EnterpriseManager</ejb-name>
<home>com.trisect.system.Tri_EnterpriseManagerHome</home>
<remote>com.trisect.system.Tri_EnterpriseManagerRemote</remote>
<ejb-class>com.trisect.system.Tri_EnterpriseManagerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
Here is the output that is generated when I place my jar file in the deploy
directory:
[Auto deploy] Auto deploy of file:/C:/jboss/deploy/trisect.jar
[Container factory] Deploying:file:/C:/jboss/deploy/trisect.jar
[Container factory] Loading ejb-jar.xml :
jar:file:/C:/DOCUME~1/mlepine/LOCALS~1
/Temp/tmpejbjar4991.jar!/META-INF/ejb-jar.xml
[Container factory] Loading standardjboss.xml :
jar:file:/C:/jboss/lib/ext/jboss
.jar!/org/jboss/metadata/standardjboss.xml
[Container factory] Deploying Tri_EnterpriseManager
[Auto deploy] Deployment failed:file:/C:/jboss/deploy/trisect.jar
[Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
file:/C:/DOCUM
E~1/mlepine/LOCALS~1/Temp/tmpejbjar4991.jar
[Auto deploy] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:5
65)
[Auto deploy] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:1
93)
[Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy] at
javax.management.MBeanServer.invoke(MBeanServer.java:1635)
[Auto deploy] at
javax.management.MBeanServer.invoke(MBeanServer.java:1501)
[Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:285)
[Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy] at java.lang.Thread.run(Unknown Source)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael L�pine - Staff Developer
Trisect, Inc. (www.trisect.com)
2030 Powers Ferry Rd., Suite 121
Atlanta, GA 30339
w: 770.850.9858 ext. 1510
c: 404.915.2756
[EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]