You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nj...@aol.com on 2002/06/06 03:18:43 UTC

Help on deploy using Ant

Dear All,
     Here comes my another question, sorry to both you all since I am really a new one to ant:
      I use Ant to deploy my J2EE application, then during the execution of deploy target, it comes out :
deploy:
     [exec] in app-client  Node, do not know how to handle module-name = ejb-jar-ic.jar
     [exec] in app-client  Node, do not know how to handle unique-id = 0
     [exec] in app-client  Node, do not know how to handle ejb-name = ProductBean
..................................................... 
     [exec] Done generating SQL
     [exec] Deploy the application in /home/nj138463/j2ee-test/src/test/src/com/sun/ejte/build/cmp20App.ear on the server localhost saving the client jar as /home/nj138463/j2ee-test/src/test/src/com/sun/ejte/build/cmpClient.jar
     [exec] Sender object Deploy Tool : Deploy cmp20App on localhost
     [exec] Remote message: Contacted Server....
     [exec] Remote message: Application cmp20App transferred.
     [exec] Remote message: cmp20App has 1  ejbs, 0 web components, 1 app clients to deploy.
     [exec] Remote message: Deploying Ejbs....
     [exec] Remote message: Processing beans ....
     [exec] Remote message: Compiling wrapper code ....
     [exec] Remote message: Compiling RMI-IIOP code ....
     [exec] Remote message: Making server JARs ....
     [exec] Remote message: Making client JARs ....
     [exec] Remote message: Deployment of cmp20App is complete..
     [exec] Sender object Deploy Tool : client code at http://129.145.132.74:9191/cmp20AppClient.jar
     [exec] Remote message: Client code for the deployed application cmp20App saved to /home/nj138463/j2ee-test/src/test/src/com/sun/ejte/build/cmpClient.jar.

BUILD SUCCESSFUL
Total time: 2 minutes 16 seconds
**************************************
This is weird, it can even go through the deploy process, with an exception like that. I check the "do not know" stuff, all these content are in sun-j2ee-ri.xml, which is an xml file I use to deploy. 

Please let me know if you have any idea about this exception. I really appreciate if you can drop some lines for me. Thanks a lot in advance.

Best
Nan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Help on deploy using Ant

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Njingusc@aol.com wrote:
> Dear All,
>      Here comes my another question, sorry to both you all since I am really a new one to ant:
>       I use Ant to deploy my J2EE application, then during the execution of deploy target, it comes out :
> deploy:
>      [exec] in app-client  Node, do not know how to handle module-name = ejb-jar-ic.jar
>      [exec] in app-client  Node, do not know how to handle unique-id = 0
>      [exec] in app-client  Node, do not know how to handle ejb-name = ProductBean

Nan,

These errors are coming from what ever it is you are <exec>ing and not 
from within Ant. I presume this is deploy-tool. You should investigate 
why deploy-tool is giving these exceptions first. Once you know that 
you'll be able to decide if the root cause is something Ant has done or 
whether you are not feeding deploy-tool the right food.

Conor



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>