You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dave Overbeck <do...@rcn.com> on 2005/05/06 13:11:58 UTC
stop/start Axis to redeploy?
Hello,
I've been debugging a web service and have discovered that in order to
deploy a new version of the .class file, I have to stop Axis (in the
Tomcat Manager screen) and then start it again. I have a batch file that
undeploys, copies the class file, and then deploys, but that does not
have any effect.
Is this the expected behavior? I was banging my head for a while
yesterday until I figured out that I was running the same class file for
the last hour. I don't see anything in the docs that specifically says
either way.
Thanks,
Dave
Re: stop/start Axis to redeploy?
Posted by LiChung Liu <li...@gmail.com>.
Hi, I've had similar experience. Depends on the privilege of the user
you are running the batch, it may not be able to override the previous
code on the application server.
What has worked for me is, instead of copying the .class files into the
WEB-INF/classes, make the batch script to jar up the class files and
place/replace the jar in the WEB-INF/lib directory.
Hope this works for you.
-Will
On 5/6/05, Dave Overbeck <do...@rcn.com> wrote:
> Hello,
>
> I've been debugging a web service and have discovered that in order to
> deploy a new version of the .class file, I have to stop Axis (in the
> Tomcat Manager screen) and then start it again. I have a batch file that
> undeploys, copies the class file, and then deploys, but that does not
> have any effect.
>
> Is this the expected behavior? I was banging my head for a while
> yesterday until I figured out that I was running the same class file for
> the last hour. I don't see anything in the docs that specifically says
> either way.
>
> Thanks,
> Dave
>
>
Re: stop/start Axis to redeploy?
Posted by mm...@aessuccess.org.
Dave,
Yes, that is the correct behavior...not only for deploying new classes to
Axis, but for
any Web Application deployed to Tomcat. Also, if you make any changes to
the server-config.wsdd
you need to stop and start Axis for the changes to be applied...
Hope this helps,
Mark A. Malinoski
AES/PHEAA
Technical Coordinator/Web Development
717-720-2413
mmalinos@aessuccess.org
Dave Overbeck
<doverbeck@rcn.co
m> To
axis-user <ax...@ws.apache.org>
05/06/2005 07:11 cc
AM
Subject
stop/start Axis to redeploy?
Please respond to
axis-user@ws.apac
he.org
Hello,
I've been debugging a web service and have discovered that in order to
deploy a new version of the .class file, I have to stop Axis (in the
Tomcat Manager screen) and then start it again. I have a batch file that
undeploys, copies the class file, and then deploys, but that does not
have any effect.
Is this the expected behavior? I was banging my head for a while
yesterday until I figured out that I was running the same class file for
the last hour. I don't see anything in the docs that specifically says
either way.
Thanks,
Dave