instanceRoot/docroot files deleted at instance startup

We have an application that uses help files packaged as jars. The app depends on these jars being present in the instanceroot/docroot/ dir. Instanceroot appears to be the %AS_INSTALL%/NodeAgent/NodeAgent/ dir. However, it seems the node agent synch process clears out all files manually placed in instanceroot/docroot/ at instance startup. Where should content be placed so that it is copied into the %AS_INSTALL%/NodeAgent/NodeAgent/docroot/ folder?

I have read the documentation and other postings regarding domain-to-nodeagent synchronization, but haven't seen anything that refers to /docroot content.

Thank You,

Mike

[647 byte] By [MOberholtzer] at [2007-11-26 7:18:13]
# 1

Is it a requirement that the help jar files need to be in the docroot directory only ?

Can you add these jar files to your ear/war file ? That way you will not have any issues during synchronization.

The other thing to try is to put these jar files in the CLASSPATH (in DAS). That way, these files should be copied to the individual instances.

Hope this helps

Message was edited by:

pts_forum

pts_forum at 2007-7-6 18:56:50 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

instanceRoot is <AS_INSTALL>/nodeagents/<node_agent>/<servername>/docroot.

That will help you. but keeping the jars here will not add them to classpath. Put these jars under lib folder <AS_INSTALL>/lib. Then these will be added to classpath during startup.

After copying you need to restart DAS and server instances.

skgaju at 2007-7-6 18:56:50 > top of Java-index,Application & Integration Servers,Application Servers...
# 3
Thank you for the suggestion. Unfortunately I am the sysadmin, not the developer! I am working with the developers to come up with a more optimal solution.
MOberholtzer at 2007-7-6 18:56:50 > top of Java-index,Application & Integration Servers,Application Servers...
# 4

Thank you for all suggestions. I deleted the stand-alone instance & recreated it. Synchronization now seems to be working as expected. We are struggling to migrate from App Server 7 SE to 8.1 EE. It seems we made some assumptions when architecting the solution for v7 that are now invalid for 8.1.

MOberholtzer at 2007-7-6 18:56:50 > top of Java-index,Application & Integration Servers,Application Servers...
# 5
not much has changed, please let us know what is the assumptions and we will tell you how that works in 8.1. ONly some of the internal appserver modules are changed, so don't worry we will help you to migrate to 8.1
skgaju at 2007-7-6 18:56:50 > top of Java-index,Application & Integration Servers,Application Servers...