|
Hi.
Trying to create a CMP bean as a kind of testbed
for a future project. Linux running jBoss2.0.
Anyway, the Client.jar file contains:
0 Thu Jan 04 12:29:06 PST 2001
META-INF/
72 Thu Jan 04 12:29:06 PST 2001 META-INF/MANIFEST.MF 2144 Wed Jan 03 23:47:00 PST 2001 com/finebrand/workqueue/ClientBean.class 811 Wed Jan 03 23:46:52 PST 2001 com/finebrand/workqueue/Client.class 491 Wed Jan 03 23:47:12 PST 2001 com/finebrand/workqueue/ClientHome.class 929 Thu Jan 04 12:24:18 PST 2001 META-INF/ejb-jar.xml 351 Thu Jan 04 12:24:56 PST 2001 META-INF/jboss.xml ejb-jar.xml:
<enterprise-beans>
<entity> <description>Work Request Client</description> <ejb-name>ClientBean</ejb-name> <home>com.finebrand.workqueue.ClientHome</home> <remote>com.finebrand.workqueue.Client</remote> <ejb-class>com.finebrand.workqueue.ClientBean</ejb-class> <persistence-type>Container</persistence-type> <prim-key-class>int</prim-key-class> <reentrant>False</reentrant> <cmp-field><field-name>clientId</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>phone</field-name></cmp-field> <cmp-field><field-name>email</field-name></cmp-field> <cmp-field><field-name>notes</field-name></cmp-field> <cmp-field><field-name>newsletter</field-name></cmp-field> <primkey-field>clientId</primkey-field> </entity> </enterprise-beans> jboss.xml
<entity>
<ejb-name>Client</ejb-name> <jndi-name>workqueue/Client</jndi-name> </entity> <resource-managers> <resource-manager> <res-name>SQLTest</res-name> <res-class>org.jboss.ejb.deployment.JDBCResource</res-class> <res-jndi-name>jdbc/SQLTest</res-jndi-name> </resource-manager> </resource-managers> And when I drop it into /deploy I get
this:
...
[Auto deploy] Auto deploy of
file:/usr/local/jBoss-2.0_FINAL/deploy/Client.jar
[J2EE Deployer] Deploy J2EE application: file:/usr/local/jBoss-2.0_FINAL/deploy/Client.jar [J2EE Deployer] Create application Client.jar [J2EE Deployer] Destroying application Client.jar [J2EE Deployer] deployment.cfg file deleted. [J2EE Deployer] File tree file:/usr/local/jBoss-2.0_FINAL/tmp/deploy/Client.jar deleted. [Auto deploy] Deployment failed:file:/usr/local/jBoss-2.0_FINAL/deploy/Client.jar [Auto deploy] java.io.FileNotFoundException: ../tmp/deploy/Client.jar/deployment.cfg (No such file or directory) [Auto deploy] at java.io.FileOutputStream.open(Native Method) ...
Can anyone give me some hints to start debugging
this? Normally a pretty resourceful guy, I got nuthin' here. I think
I've been staring at this too long...
Rian
|
- Re: [jBoss-User] Quiet deployment failure... Rian Schmidt
- Re: [jBoss-User] Quiet deployment failure... Rian Schmidt
