Re: [Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread j.random.programmer
--- Sam <[EMAIL PROTECTED]> wrote:
> 
> -Djava.library.path=${CLASSPATH}

You sure about this ?

I tried it. I put the above in resin.conf. 

This is what I got:

unix> /tmp/resin-3.1.0/conf# ../bin/httpd.sh -verbose

-
[...]
java \
 
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl
\
 
-Djava.system.class.loader=com.caucho.loader.SystemClassLoader
\
  -Djava.awt.headless=true \
  -Dresin.home=/private/tmp/resin-3.1.0/ \
  -Xmx256m \
  -Xss1m \
  -Xdebug \
  -Dcom.sun.management.jmxremote \
  -Djava.library.path
=/web/code/classes:/web/code/classes/compiled::/web/code/classes/lib/activation1.1.jar:/web/code/classes/lib/concurrent.zip:/web/code/classes/lib/javamail1.4.jar:/web/code/classes/lib/jsp-api.jar:/web/code/classes/lib/jta.jar:/web/code/classes/lib/mysql-5.0.4.jar:/web/code/classes/lib/oreilly.jar:/web/code/classes/lib/postgresql-8.2-504.jdbc3.jar:/web/code/classes/lib/servlet2.4.jar:.:
\
  com.caucho.server.resin.Resin \
  -socketwait \
  52668 \
  -verbose

CLASSPATH:
/private/tmp/resin-3.1.0/lib/resin.jar:/private/tmp/resin-3.1.0/lib/jaxrpc-15.jar:/private/tmp/resin-3.1.0/lib/activation.jar:/private/tmp/resin-3.1.0/lib/ejb-15.jar:/private/tmp/resin-3.1.0/lib/j2ee-deploy-10.jar:/private/tmp/resin-3.1.0/lib/j2ee-management-10.jar:/private/tmp/resin-3.1.0/lib/javamail-14.jar:/private/tmp/resin-3.1.0/lib/jaxb-api.jar:/private/tmp/resin-3.1.0/lib/jaxb-impl.jar:/private/tmp/resin-3.1.0/lib/jaxb-xjc.jar:/private/tmp/resin-3.1.0/lib/jaxb1-impl.jar:/private/tmp/resin-3.1.0/lib/jca-15.jar:/private/tmp/resin-3.1.0/lib/jms-11.jar:/private/tmp/resin-3.1.0/lib/jpa-15.jar:/private/tmp/resin-3.1.0/lib/jsdk-15.jar:/private/tmp/resin-3.1.0/lib/jstl-11.jar:/private/tmp/resin-3.1.0/lib/jta-101.jar:/private/tmp/resin-3.1.0/lib/portlet-10.jar:/private/tmp/resin-3.1.0/lib/quercus.jar:/private/tmp/resin-3.1.0/lib/resin-util.jar:/private/tmp/resin-3.1.0/lib/script-10.jar:/private/tmp/resin-3.1.0/lib/webutil.jar
DYLD_LIBRARY_PATH: /private/tmp/resin-3.1.0/libexec



See how the CLASSPATH does NOT include the 
-Djava.library.path ?

Why is all this so very needlessly complicated ?

Best regards,
--j




 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097


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


Re: [Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread Sam
> I need to be able to use $CLASSPATH (and the value it
> contains)
> 
> -Djava.library.path=$CLASSPATH
> is not going to work now, is it ?

Try:

-Djava.library.path=${CLASSPATH}

-- Sam



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


Re: [Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread j.random.programmer
Jose said:
> You have to specify it as a jvm-arg, which is now a
> child of  e.g.,
> 
> 
>  
> 
> -Djava.library.path=/some/path
>

Did you read the part where I said:
> unix> httpd.sh -verbose -cp $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. 

I need to be able to use $CLASSPATH (and the value it
contains)

-Djava.library.path=$CLASSPATH

is not going to work now, is it ?

:-)

Best regards,
--j


 

TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/


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


Re: [Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread Jose Quinteiro
You have to specify it as a jvm-arg, which is now a child of  e.g.,


 
 -Djava.library.path=/some/path
   

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


[Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread j.random.programmer
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