[jboss-user] [JCA/JBoss] - Re: need help! JCA sample!
bruce_yuan
do-not-reply at jboss.com
Thu Apr 5 22:09:42 EDT 2007
well......i just follow the guide
1. ant-Dchap=chap7 build-chap
Buildfile: build.xml
|
| validate:
|
| fail_if_not_valid:
|
| init:
| [echo] Using jboss.dist=D:/jboss-4.0.5.GA
|
| compile:
|
| build-chap:
|
| build-all:
|
| prepare:
|
| chap7-ex1-rar:
|
| prepare:
|
| chap7-ex1-jar:
|
| BUILD SUCCESSFUL
| Total time: 2 seconds
then the example directory has a sub-dir named "output" which has 3 files:chap7-ex1.jar,4kb, chap-ex1.rar,10kb, ra.jar,10kb
2. ant -Dchap=chap7 config
| Buildfile: build.xml
|
| validate:
|
| fail_if_not_valid:
|
| init:
| [echo] Using jboss.dist=D:/jboss-4.0.5.GA
|
| compile:
|
| config:
|
| config:
| [copy] Copying 1 file to D:\jboss-4.0.5.GA\server\default\deploy
| [copy] Copying 1 file to D:\jboss-4.0.5.GA\server\default\deploy
|
| BUILD SUCCESSFUL
| Total time: 2 seconds
then the jboss\server\default\deploy dir has 2 more files:chap7-ex1.rar 10kb, notxfx-ds.xml 1kb
3. ant -Dchap=chap7 -Dex=1 run-example
Buildfile: build.xml
|
| validate:
|
| fail_if_not_valid:
|
| init:
| [echo] Using jboss.dist=D:/jboss-4.0.5.GA
|
| compile:
|
| run-example:
|
| prepare:
|
| chap7-ex1-jar:
|
| run-example1:
| [copy] Copying 1 file to D:\jboss-4.0.5.GA\server\default\deploy
| [echo] Waiting for deploy...
| [java] Created Echo
| [java] Echo.echo('Hello') = Hello
|
| BUILD SUCCESSFUL
| Total time: 9 seconds
the deploy dir has 1 more file :chap7-ex1.jar 4kb
then console shows the error above...
i don't kown why
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035207#4035207
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035207
More information about the jboss-user
mailing list