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
# 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
# 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.
# 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