You have to specify it as a jvm-arg, which is now a child of <server> e.g.,

<server id="" port="6801">
     <http port="7071"/>
     <jvm-arg>-Djava.library.path=/some/path</jvm-arg>
   </server>

Read all about it:

http://www.caucho.com/resin-3.1/doc/server-tags.xtp#jvm-arg

HTH,
Jose.

j.random.programmer wrote:
> Hi:
> 
> I posted this message earlier but it didn't hit the
> resin mailing
> list, as far as i can tell, since I wasn't subscribed.
> I'm subscribed now
> :-)
> 
> So, I had a question about having resin 3.1.0 use the
> system classpath.
> I've tried specifying the -cp flag, such as:
> 
> unix> httpd.sh -verbose -cp $CLASSPATH
> 
> but resin still does not see my system classpath. I've
> a lot of
> libraries and classes on my system classpath, many of
> which
> i am developing/modifying. So it's not feasible to
> specify
> these seperately to resin via the configuration file. 
> 
> Is there any way for resin to see the system
> classpath? I don't know
> why this is harder than it needs to be ?
> 
> Best regards,
> --j
> 
> 
> 
> 
>  
> ____________________________________________________________________________________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at Yahoo! Games.
> http://videogames.yahoo.com/platform?platform=120121
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to