Dear All:
I have to look closer at the log of the deploy tool. It clearly says the tool works
for Win NT. Sorry for unnecessary mistake.
When I try deploying by hand, the container log tells me that my JAR is NULL? Any
hints on this?
Jar not loaded. C:\openejb-0.9.2\beans\Employee.jar. null
my ejb-jar
<!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>
<enterprise-beans>
<entity>
<ejb-name>Employee</ejb-name>
<home>org.acme.employee.EmployeeHome</home>
<remote>org.acme.employee.EmployeeObject</remote>
<ejb-class>org.acme.employee.EmployeeBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>id</field-name>
</cmp-field>
<cmp-field>
<field-name>firstname</field-name>
</cmp-field>
<cmp-field>
<field-name>lastname</field-name>
</cmp-field>
<cmp-field>
<field-name>email</field-name>
</cmp-field>
<primkey-field>id</primkey-field>
<resource-ref>
<res-ref-name>jdbc/postgresql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Employee</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
my openejb-jar.xml
<?xml version="1.0"?>
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<ejb-deployment ejb-name="Employee"
deployment-id="Employee"
container-id="Default CMP Container" >
<resource-link res-ref-name="jdbc/postgresql"
res-id="Default JDBC Database"/>
</ejb-deployment>
</openejb-jar>
What am I missing
[EMAIL PROTECTED] wrote:
>Send OpenEJB-user mailing list submissions to
> [EMAIL PROTECTED]
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/openejb-user
>or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
>You can reach the person managing the list at
> [EMAIL PROTECTED]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of OpenEJB-user digest..."
>
>
>Today's Topics:
>
> 1. Problem with the deployment tool ([EMAIL PROTECTED])
>
>--__--__--
>
>Message: 1
>Date: Fri, 24 Oct 2003 01:16:51 -0400
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [OpenEJB-user] Problem with the deployment tool
>
>Dear All:
>No matter what argument I give
> deploy
> test
> ...etc, I get this. Should I deploy by hand?
>
>Richard
>
>C:\unzipped\openejb-0.9.2\openejb-0.9.2>openejb test
>"_________________________________________________"
>"|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|"
>" "
>"Running EJB compliance tests on IntraVM Server"
>"_________________________________________________"
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>--------------SUPPORT INFO-------------
>Windows_NT
>Using JAVA_HOME: c:\j2sdk1.4.0_03
>Using OPENEJB_HOME: C:\unzipped\openejb-0.9.2\openejb-0.9.2
>Exception in thread "main" java.lang.NoClassDefFoundError: org/openejb/test/Test
>Runner
>"_________________________________________________"
>"|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|"
>" "
>"Running EJB compliance tests on Remote Server"
>"_________________________________________________"
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>error: cannot read: *.java
>1 error
>--------------SUPPORT INFO-------------
>Windows_NT
>Using JAVA_HOME: c:\j2sdk1.4.0_03
>Using OPENEJB_HOME: C:\unzipped\openejb-0.9.2\openejb-0.9.2
>Exception in thread "main" java.lang.NoClassDefFoundError: org/openejb/test/Test
>Runner
>
>C:\unzipped\openejb-0.9.2\openejb-0.9.2>
>
>__________________________________________________________________
>McAfee VirusScan Online from the Netscape Network.
>Comprehensive protection for your entire computer. Get your free trial today!
>http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
>
>Get AOL Instant Messenger 5.1 free of charge. Download Now!
>http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
>
>
>
>--__--__--
>
>_______________________________________________
>OpenEJB-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/openejb-user
>
>
>End of OpenEJB-user Digest
>
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user