howto activate hot deployment?

Hello!

I have a big problem: I am using the

"Java System Application Server Standard Edition 8.1 2005Q1"

and have to get hot deployment up and running.

Our deploymentprocess works as follows:

First we build an ear-file and deploy it to the server.

After that we want to replace jar-files exploded during deployment process within development.

I have searched for a solution and got the following:

Put that in your server.xml:

<applications

dynamic-reload-enabled="true"

dynamic-reload-poll-interval-in-seconds="2"

>

The problem is: There is no server.xml file!

I found an domain.xml and an application.xml.

But if I change the domain.xml, the server does not start anymore.

===============================

UPDATE:

I found the position for my attributes inside the "das-config"-tag.

Now I understand the meaning of the autodeploy mechanism.

It is used to redeploy a full application (ear-/war-file) without a restart of the server.

But that is not what I want.

So is hot deployment (replacing jar-files in the directory tree of the unpacked ear-/war-file) possible with this version of the sjsas or not?

===============================

This is very important for me.

So if you have any idea, please tell me!

Greetings

Eventhorizon

Message was edited by:

Eventhorizon

[1503 byte] By [Eventhorizona] at [2007-11-27 4:33:23]
# 1
Is this what you are looking for ? http://docs.sun.com/app/docs/doc/819-2554/6n4r8s7mt?a=view~Vasanth
vasanth_foruma at 2007-7-12 9:43:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Thanks Vasanth!

That was exactly what I was looking for!

But I did not get it to work...

I did the following:

1. deployed an ear-file

2. changed something in a java-file and builded the depending jar-file (normally included in the ear-file) again

3. putted the new jar-file in the expanded directory of the deployed ear-file (of course at the right position)

4. generated a ".reload" file in the directory of my application

"/[...]/domains/mydomain/applications/j2ee-apps/myapplication/.reload"

After that the cpu started doing "something"... - it took nearly the same time as the deployment of the ear file at the beginning.

But:

- The changes were not shown in the application - What is not what I wanted.

- The new jar-file I copied is still there and was not overwritten by the server - Exactly what I wanted.

What did I do wrong? What dit I forget? Help!

But thank you for putting me in the right direction!

Greetings

Boris

========================================

UPDATE:

Replacing class-files works!

But is there a way to get it working with jar-files?

========================================

Message was edited by:

Eventhorizon

Eventhorizona at 2007-7-12 9:43:13 > top of Java-index,Application & Integration Servers,Application Servers...