Thanks for the info Mark.
>>> [EMAIL PROTECTED] 06/13/05 07:43AM >>>
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209379
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54