So is the Customer EJB in the "cmp" package? I use ant to build EJB jar files as well (for weblogic) and had to do some trickery to maintain the package structure.
If the Customer EJB is in the cmp package, (similar situation that I have as well), you need to make sure that your JAR file mimics this package structure, with the Customer*.class files being in the cmp directory. I guess my question would be, what do you want your Jar file to look like? The first case you describe, or the second? Mike -----Original Message----- From: Stefan Arentz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2000 1:06 PM To: [EMAIL PROTECTED] Subject: problem with JARing an EJB I'm using Ant to build an EJB and I have a weird problem with the layout of the JAR file which confuses the app server. Ant builds this directory structure: .../deploy.home: drwxr-xr-x 2 stefan stefan 4096 Apr 12 21:58 META-INF/ -rw-r--r-- 1 stefan stefan 1614 Apr 12 21:58 ejb-inprise.xml -rw-r--r-- 1 stefan stefan 1536 Apr 12 21:58 ejb-jar.xml drwxr-xr-x 2 stefan stefan 4096 Apr 12 21:58 cmp/ -rw-r--r-- 1 stefan stefan 503 Apr 12 21:58 Customer.class -rw-r--r-- 1 stefan stefan 1940 Apr 12 21:58 CustomerBean.class -rw-r--r-- 1 stefan stefan 626 Apr 12 21:58 CustomerHome.class -rw-r--r-- 1 stefan stefan 459 Apr 12 21:58 CustomerPK.class However the jar file looks like this: 0 Wed Apr 12 21:58:18 CEST 2000 META-INF/ 22 Wed Apr 12 21:58:18 CEST 2000 META-INF/MANIFEST.MF 0 Wed Apr 12 21:58:18 CEST 2000 cmp/ 1536 Wed Apr 12 21:58:18 CEST 2000 META-INF/ejb-jar.xml 1614 Wed Apr 12 21:58:18 CEST 2000 META-INF/ejb-inprise.xml 503 Wed Apr 12 21:58:18 CEST 2000 cmp/Customer.class 1940 Wed Apr 12 21:58:18 CEST 2000 cmp/CustomerBean.class 626 Wed Apr 12 21:58:18 CEST 2000 cmp/CustomerHome.class 459 Wed Apr 12 21:58:18 CEST 2000 cmp/CustomerPK.class The META-INF/ en cmp/ entries seem to be a problem. Has anyone run into this problem? Stefan
