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