I have a similiar situation and found that this works:

Libraries that are common to all jrun servers are put in the
{jrun.rootdir}/server/lib directory.

Libraries that are common to all apps running in a jrun server are put in
{jrun.server.rootdir}/lib directory.

By default, every Jrun server has these directories in their classpaths.  To
verify this, using the Jrun Management Console (JMC) check the Java Settings
for a Jrun server and view the classpath entries.

Libraries that are used only by a specific app are put in the WEB-INF/lib or
WEB-INF/classes directories for the application.

Hope this helps.

Tom D.



----- Original Message -----
From: "Jim Gillaspy" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 9:32 AM
Subject: Unable to assign classpaths at application level


> We have multiple client websites that are almost the same but not exactly
> so.  We want to have class libraries at the application level so our beans
> can be different for each client.
>
> The manual discusses how to set this up.  However:
>
> - when we insert into webapp.properties:
> user.classpath=/data/jrun/servers/client1/client1-app/classes
> where classes is a directory in client1-app, JRun crashes and won't
restart
> until we take that line out.  (There was nothing in webapp.properties to
> begin with).
>
> - when this didn't work, we decided to just set up the class directories
at
> the server level and set up a server for each client, so we inserted into
> local.properties for the server:
>
> user.classpath=/data/jrun/servers/client1/classes
>
> where all of our classes were in directories beneath this directory. We
> would, for example, have a statement
>
>    import="cmd.starfill.*, cmd.util.*, web.*"
>
> in our jsp scripts.
>
> When we do this, we get "package not found" error messages when the jsp is
> compiled, UNLESS WE PUT THE DIRECTORY AND CLASSES IN THE DEFAULT
> APPLICATION, THEN THEY CAN BE SEEN BY ALL SERVERS!!!
>
> Any ideas?
>
>
> Jim Gillaspy
> Director of Information Systems
> CMD Services, Inc.
> [EMAIL PROTECTED]
> 678-475-2030
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to