I don't think you'll find a way for jars to be picked up
automatically... I'm not aware of a way to do that in "regular" java
(JVM settings, etc), so unless they have special class loader stuff
explicitly for jars, or unless you find some code to do it yourself, I
think you're out of luck.

Basically, if you drop a class file in a classpath directory then it
will be found (but not reloaded when it changes), but only jars
explicitly mentioned in the classpath will be ever be searched; jars not
mentioned are ignored.

Again, you can probably do a custom classloader to get around this, but
I've never used one.

        Mark

-----Original Message-----
From: Chris Terrebonne [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 13, 2005 8:29 AM
To: CF-Talk
Subject: Java jar/class locations without restart

I am reposting this question.  I should have known better than to post
on a Friday. ;)

I am trying to determine where I can store Java jar files that will
allow CF to find them WITHOUT reloading the server.  Is this possible?
Placing the jars in the WEB-INF/lib directory doesn't work without a
restart, BUT..  adding classes to the WEB-INF/classes directory does.
Why is it that CF can load classes without a restart but not jars?  Is
there something I'm missing here?  Is there another location to place
the jars so CF can find them without a restart?

Thanks,
Chris


This email and its attachments may contain confidential information
which is intended only for the use of the person(s) named above.  
If you are not the intended recipient, you are hereby advised that any
disclosure, copying, distribution or the taking of any action based on
the contents of this information is prohibited.  If you have received
this transmission in error, please notify the sender and delete this
email from your computer.  Thank you.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209276
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to