problem with deploytool

Hello Everyone

I've become so frustrated by using this deploytool.......I dont know what i'm doing wrong.....let me tell u in detail......

I'm creating an EAR file using the deploytool.....I'm successfully able to add servlets and other class files to this EAR file...The EAR file also deploys successfully...

The problem comes , say I want to add another class file or an image pic or an xsl file.........i'll click on the edit button and add the file.......But when i click on the save button.........a message pops up saying "SAVE FAILED"........and once this happens , I'm not able to add any new thing to this EAR FILe..........i have to create a new ear file and repeat the same procedure.......

The thing that bothers me is that this thing does not happen all the time.....Some times i'm successfully able to add other files too and am also able to save it.......But sometimes this problem comes up....and it creates a big headache for me.......cos my EAR file is huge and creating that from scratch is a time consuming job....

Someone told me that......to undeploy the application and then add the other files....I've tried even that , but it does not work.....

Does anyone know what i'm doing wrong.....

Any help would be appreciated

THanks

[1314 byte] By [omairsoft] at [2007-9-27 17:29:45]
# 1
Hi,I ran into this problem before and couldn't resolve it. I just installed a different version of j2sdk and j2sdkee and everything worked fine.- nick
nickhung at 2007-7-6 12:35:51 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
hey which version are u using now........maybe i could try using the same versionthanks
omairsoft at 2007-7-6 12:35:51 > top of Java-index,Other Topics,Patterns & OO Design...
# 3

You are using the reference implementation, right? As far as I know

this is a bug with the processing of jar files. Different version can

help like nickhung says. I also recommend using some production

app. server - you can easily find open source / free / free for dev.

Tomcat + JBoss (http://jboss.org/), Orion (http://orionserver.com/), etc.

Vasil

vpelov at 2007-7-6 12:35:51 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
I am using j2sdkee1.3.1 and j2sdk1.4.0.- nick
nickhung at 2007-7-6 12:35:51 > top of Java-index,Other Topics,Patterns & OO Design...