Thanks for the reply. Here's the contents of my JAR:
[08:22:55 ~/jbproject/QuoteBean/classes]$ jar tvf quote.jar
0 Mon Jan 01 22:24:00 PST 2001 META-INF/
62 Mon Jan 01 22:24:00 PST 2001 META-INF/MANIFEST.MF
977 Mon Jan 01 22:23:44 PST 2001 META-INF/ejb-jar.xml
383 Mon Jan 01 21:21:10 PST 2001 META-INF/jboss.xml
4048 Mon Jan 01 20:29:18 PST 2001
com/ultracode/beans/quote/QuoteBean.class
462 Mon Jan 01 20:29:18 PST 2001 com/ultracode/beans/quote/Quote.class
437 Mon Jan 01 20:29:18 PST 2001
com/ultracode/beans/quote/QuoteHome.class
ejb-jar.xml:
------------
<enterprise-beans>
<entity>
<description>Quote store</description>
<ejb-name>Quotes</ejb-name>
<home>com.ultracode.beans.quote.QuoteHome</home>
<remote>com.ultracode.beans.quote.QuoteHome</remote>
<ejb-class>com.ultracode.beans.quote.QuoteBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Long</prim-key-class>
<reentrant>False</reentrant>
<cmp-field><field-name>id</field-name></cmp-field>
<cmp-field><field-name>quoteText</field-name></cmp-field>
<cmp-field><field-name>author</field-name></cmp-field>
<cmp-field><field-name>lifespan</field-name></cmp-field>
<cmp-field><field-name>date</field-name></cmp-field>
<cmp-field><field-name>publication</field-name></cmp-field>
<primkey-field>id</primkey-field>
<resource-ref>
<description>Default data source</description>
<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>
jboss.xml:
---------
<jboss>
<resource-managers>
<resource-manager
res-class="org.jboss.ejb.deployment.JDBCResource">
<res-name>PostgreSQL</res-name>
<res-jndi-name>xa.PostgreSQL</res-jndi-name>
</resource-manager>
</resource-managers>
<enterprise-beans>
<entity>
<ejb-name>QuoteBean</ejb-name>
<jndi-name>quote/Quote</jndi-name>
</entity>
</enterprise-beans>
Have I done something wrong in the descriptors?
The PostgreSQL pool references above is started OK, so that doesn't
appear to be the source of the problem.
Tnx,
Eric
-------------------------------------------------------
Subject: RE: [jBoss-User] newbie: deployment problem
From: "Jay Walters" <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
Date: Tue, 2 Jan 2001 09:03:23 -0500
One thing to check is to make sure it's META-INF not meta-inf.
-----Original Message-----
From: Eric Anderson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 1:44 AM
To: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
Subject: [jBoss-User] newbie: deployment problem
I'm an EJB newbie, and I've been having myself a great time with JBoss
over the past couple of days. I even have it all set up per the
JBuilder4 howto! Needless to say, I'm chomping at the bit, and for my
first EJB I coded a simple CMP entity bean. I've been trying without
success to get it to deploy though. Below is the output from server.log
that I get when I
copy my .jar file into the deploy directory.
quote.jar contains my bean
--------------------------------
[Auto deploy] Auto deploy of
file:/home/eric/jboss_tomcat/jboss-2.0-FINAL/deploy/quote.jar
<cid:[EMAIL PROTECTED]>
[J2EE Deployer] Deploy J2EE application:
file:/home/eric/jboss_tomcat/jboss-2.0-FINAL/deploy/quote.jar
<cid:[EMAIL PROTECTED]>
[J2EE Deployer] Create application quote.jar
[J2EE Deployer] Destroying application quote.jar
[J2EE Deployer] deployment.cfg file deleted.
[J2EE Deployer] File tree
file:/home/eric/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy/quote.jar
<cid:[EMAIL PROTECTED]> deleted.
[Auto deploy] Deployment
failed:file:/home/eric/jboss_tomcat/jboss-2.0-FINAL/deploy/quote.jar
<cid:[EMAIL PROTECTED]>
[Auto deploy] java.io.FileNotFoundException:
../tmp/deploy/quote.jar/deployment.cfg (No such file or directory)
[Auto deploy] at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:341)
[Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:268)
[Auto deploy] at java.lang.Thread.run(Thread.java:498)
--------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]