Application Server Paths

Greetings all.

I have some questions about what paths I should use.

I have two servers, one with both the domain administration server and a nodeagents with the instance in the nodeagent.

Then another server with a nodeagent and instance.

The Applications server I am using is 8.1 Enterprise Edition

What I am wondering is, I have some common .jar files that need to be shared between different apps, I need to find a location where I could put these jars, what the best location is.

Here are some things I would like to have work.

I'd like to deploy these jars to the domain server only, and have them propagate to the nodeagents, is this possible?

Next, I'd like to find a location that is dynamic, I'd like to be able to add jars to the folder and have the applications use them without having to restart instance/nodeagents.

So, is there a location already there that I can accomplish this with, or do I need to create one and add paths to my configs?

Any help is very very much appreciated.

__

3nt3r 7h3 r341m http://www.society86.com

What the blog?! http://trellipses.blogspot.com

[1174 byte] By [jeremycrussell] at [2007-11-26 10:00:04]
# 1

> What I am wondering is, I have some common .jar files

> that need to be shared between different apps, I need

> to find a location where I could put these jars, what

> the best location is.

>

Does q4 at http://blogs.sun.com/sivakumart/entry/classloaders_in_glassfish_an_attempt answer your question?

> Here are some things I would like to have work.

>

> I'd like to deploy these jars to the domain server

> only, and have them propagate to the nodeagents, is

> this possible?

>

> Next, I'd like to find a location that is dynamic,

> I'd like to be able to add jars to the folder and

> have the applications use them without having to

> restart instance/nodeagents.

>

Any updates to domains/domain1/config/xyz-config/lib, after the node-agent/cluster is up, still requires a nodeagent restart unfortunately [ie it is not dynamic, but the synchronization is done cluster restart].

> So, is there a location already there that I can

> accomplish this with, or do I need to create one and

> add paths to my configs?

>

sivakumart at 2007-7-7 1:28:19 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Very informatiave blog. Thank you! its seems to be my answer, however, I'm not sure If I completely understand it .

there is no "lib" directory in the path to my cluster-config (/var/opt/SUNWappserver/domains/domain1/config/cluster-config). So I created one, copied the jar file there.

I then added the full path to the jar to the JVM classpath-prefix for the cluster-config. Then I restarted the instances and the nodeagents, but to no avail.

Should I see where the jar file has been copied to somewhere on the nodeagents?

You say some synchronization is done after the "cluster restart". How does one restart a cluster? By restarting the instances/node agents?

Thanks for the help!!

__

3nt3r 7h3 r341m http://www.society86.com

What the blog?! http://trellipses.blogspot.com

jeremycrussell at 2007-7-7 1:28:19 > top of Java-index,Application & Integration Servers,Application Servers...
# 3

Hi Jeremy

Sorry for the delay. I discussed this with an engineer locally and he mentioned that

"Regarding server-restart,

./asadmin stop-instance

./asadmin start-instance

should be used

Please note that resart of node-agent would not help. This can be done from GUI easily. "

Does stopping individual server instances and restarting them help in your case?

Thanks

--Siva

sivakumart at 2007-7-7 1:28:19 > top of Java-index,Application & Integration Servers,Application Servers...