Yeah, tomcat-test.ear deployed ok. The class files are in the ejb.jar file.
And although I have the class files in the ejb.jar file, I also have to jar
them in the j2ee.ear file in order for it them to deploy. It's like it's not
seeing the ejb.jar file.
Here's my applications.xml file.
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>A.C.A.I.S.</display-name>
<module>
<web>
<web-uri>acais-web.war</web-uri>
<context-root>/acais</context-root>
</web>
</module>
<module>
<ejb>acais-ejb.jar</ejb>
</module>
</application>
----- Original Message -----
From: "Tahir Awan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 30, 2001 9:57 PM
Subject: Re: [JBoss-user] ejb's not deploying
> looked ok to me. I am sure you have gone through the ejb.jar to check if
> Build bean was compiled properly and is included in the jar? btw, are you
> able to deploy tomcat-test.ear?
>
> Tahir
>
> ----- Original Message -----
> From: "G.L. Grobe" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 30, 2001 7:45 PM
> Subject: Re: [JBoss-user] ejb's not deploying
>
>
> > Sure, here it is. It doesn't have great indentation because I couldn't
put
> > carriage returns between the tags, but it's more readable this way.
> > ----------------------
> >
> > <?xml version="1.0" ?>
> > <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
> > JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
> >
> > <ejb-jar>
> > <description>A.C.A.I.S.</description>
> > <display-name>A.C.A.I.S. Version 1.0</display-name>
> >
> > <enterprise-beans>
> > <session>
> > <display-name>ConfigBuild</display-name>
> >
> >
>
<ejb-name>com.neuroquest.cais.ejb.session.configBuild.ConfigBuild</ejb-name>
> >
> >
>
<ejb-class>com.neuroquest.cais.ejb.session.configBuild.ConfigBuildBean</ejb-
> > class>
> >
> <home>com.neuroquest.cais.ejb.session.configBuild.ConfigBuildHome</home>
> >
> <remote>com.neuroquest.cais.ejb.session.configBuild.ConfigBuild</remote>
> > <session-type>Stateful</session-type>
> > <transaction-type>Container</transaction-type>
> > <ejb-ref>
> > <ejb-ref-name>ejb/Account</ejb-ref-name>
> > <ejb-ref-type>Entity</ejb-ref-type>
> > <home>com.neuroquest.cais.ejb.entity.account.AccountHome</home>
> > <remote>com.neuroquest.cais.ejb.entity.account.Account</remote>
> >
<ejb-link>com.neuroquest.cais.ejb.entity.account.Account</ejb-link>
> > </ejb-ref>
> > </session>
> >
> > <session>
> > <display-name>DBaseFetch</display-name>
> >
> >
<ejb-name>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetch</ejb-name>
> >
> >
>
<ejb-class>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetchBean</ejb-cl
> > ass>
> >
<home>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetchHome</home>
> >
<remote>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetch</remote>
> > <session-type>Stateful</session-type>
> > <transaction-type>Container</transaction-type>
> > </session>
> > <session>
> > <display-name>ConfigTools</display-name>
> >
> >
>
<ejb-name>com.neuroquest.cais.ejb.session.configTools.ConfigTools</ejb-name>
> >
> >
>
<ejb-class>com.neuroquest.cais.ejb.session.configTools.ConfigToolsBean</ejb-
> > class>
> >
> <home>com.neuroquest.cais.ejb.session.configTools.ConfigToolsHome</home>
> >
> <remote>com.neuroquest.cais.ejb.session.configTools.ConfigTools</remote>
> > <session-type>Stateful</session-type>
> > <transaction-type>Container</transaction-type>
> > </session>
> >
> > <session>
> > <display-name>InitBuild</display-name>
> >
> <ejb-name>com.neuroquest.cais.ejb.session.initBuild.InitBuild</ejb-name>
> >
> >
>
<ejb-class>com.neuroquest.cais.ejb.session.initBuild.InitBuildBean</ejb-clas
> > s>
> > <home>com.neuroquest.cais.ejb.session.initBuild.InitBuildHome</home>
> > <remote>com.neuroquest.cais.ejb.session.initBuild.InitBuild</remote>
> > <session-type>Stateful</session-type>
> > <transaction-type>Container</transaction-type>
> > <ejb-ref>
> > <ejb-ref-name>ejb/Build</ejb-ref-name>
> > <ejb-ref-type>Entity</ejb-ref-type>
> > <home>com.neuroquest.cais.ejb.entity.build.BuildHome</home>
> > <remote>com.neuroquest.cais.ejb.entity.build.Build</remote>
> > <ejb-link>com.neuroquest.cais.ejb.entity.build.Build</ejb-link>
> > </ejb-ref>
> > </session>
> >
> > <entity>
> > <display-name>Build</display-name>
> > <ejb-name>com.neuroquest.cais.ejb.entity.build.Build</ejb-name>
> > <ejb-class>com.neuroquest.cais.ejb.entity.build.BuildBean</ejb-class>
> > <home>com.neuroquest.cais.ejb.entity.build.BuildHome</home>
> > <remote>com.neuroquest.cais.ejb.entity.build.Build</remote>
> > <persistence-type>Bean</persistence-type>
> >
> >
>
<prim-key-class>com.neuroquest.cais.ejb.entity.build.BuildPK</prim-key-class
> > >
> > <reentrant>False</reentrant>
> > </entity>
> >
> > <entity>
> > <display-name>Account</display-name>
> > <ejb-name>com.neuroquest.cais.ejb.entity.account.Account</ejb-name>
> >
> <ejb-class>com.neuroquest.cais.ejb.entity.account.AccountBean</ejb-class>
> > <home>com.neuroquest.cais.ejb.entity.account.AccountHome</home>
> > <remote>com.neuroquest.cais.ejb.entity.account.Account</remote>
> > <persistence-type>Bean</persistence-type>
> >
> >
>
<prim-key-class>com.neuroquest.cais.ejb.entity.account.AccountPK</prim-key-c
> > lass>
> > <reentrant>false</reentrant>
> > </entity>
> >
> > </enterprise-beans>
> >
> > <assembly-descriptor>
> > <security-role>
> > <description>Users</description>
> > <role-name>users</role-name>
> > </security-role>
> > </assembly-descriptor>
> >
> > </ejb-jar>
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Tahir Awan" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, June 30, 2001 6:15 PM
> > Subject: Re: [JBoss-user] ejb's not deploying
> >
> >
> > > Can you post your ejb-jar xml files here?
> > >
> > > Tahir
> > >
> > > ----- Original Message -----
> > > From: "G.L. Grobe" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Saturday, June 30, 2001 6:53 PM
> > > Subject: [JBoss-user] ejb's not deploying
> > >
> > >
> > > > I put my ear file into the ~/jboss/deploy dir and it contains:
> > > >
> > > > xxx(xxx):/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy$ jar tvf
> > > > acais-1.0.ear
> > > > META-INF/
> > > > META-INF/ejb-jar.xml
> > > > META-INF/MANIFEST.MF
> > > > META-INF/application.xml
> > > > acais-ejb.jar
> > > > acais-web.war
> > > > acais-client.jar
> > > >
> > > > ------- Here is the JBoss output: -------
> > > > (if I goto the ~/jboss/tmp/deploy/Default dir, there is no
> acais-1.0.ear
> > > dir
> > > > created)
> > > > ...
> > > > [Auto deploy] Auto deploy of
> > > > file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/acais-1.0.ear
> > > > [J2EE Deployer Default] Deploy J2EE application:
> > > > file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/acais-1.0.ear
> > > > [J2EE Deployer Default] Create application acais-1.0.ear
> > > > [J2EE Deployer Default] install module acais-1.0.ear
> > > > [Container factory]
> > > >
> > >
> >
>
Deploying:file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/a
> > > > cais-1.0.ear
> > > > [Verifier] Verifying
> > > >
> > >
> >
>
file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acais-1.0.e
> > > > ar/ejb1003.jar
> > > > [Verifier]
> > > > Bean : com.neuroquest.cais.ejb.entity.build.Build
> > > > Section: 16.2
> > > > Warning: The Bean Provider must specify the fully-qualified name of
> the
> > > Java
> > > > class that implements the enterprise bean's business methods.
> > > >
> > > > Any help much appreciated.
> > > >
> > > >
> > > > _______________________________________________
> > > > JBoss-user mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > >
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user