|
From: Chris C. <cco...@pd...> - 2006-05-02 13:38:29
|
Hi, Using the ':' on linux is true for all JVM properties that I know of except java.rmi.server.codebase. See http://java.sun.com/j2se/1.4.2/docs/guide/rmi/javarmiproperties.html it specifically specifies a space separated list. Though, I have learned from experience that a space separated list will not work on windows, you must use the ';'. Thanks Chris -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Michael 'buk' Scherer Sent: Tuesday, May 02, 2006 6:22 AM To: wra...@li... Subject: RE: [Wrapper-user] Problems with spaces in property values Hi. You seperate "items" for a single property with : (linux) or ; (windows), as you can see for the classpath. Don't use spaces though, spaces seperate the properties from each other. Hint: Mind the ':' in the URL you provide the jar file with. Greetings, Michael On Tue, 2 May 2006 - 11:51am, da...@sm... wrote: > Well the other thing to try maybe is to just have the thing after the=20 > space to be another java additional, i.e.: > > = wrapper.java.additional.1=3D-Djava.rmi.server.codebase=3Dftp:<host>/jar1.= j > ar wrapper.java.additional.2=3Dftp:<host>/jar2.jar > > and let the wrapper put the spaces in itself. It's not quite as ideal, > but it'd get the job done. > > Many thanks, > > David Hayes > > Quoting Chris Compton <cco...@pd...>: > >> Yea, tried that too, the wrapper still seems to see anything after=20 >> the space as a new argument. >> >> Thanks though. >> >> Chris >> -----Original Message----- >> From: wra...@li... >> [mailto:wra...@li...] On Behalf Of=20 >> da...@sm... >> Sent: Monday, May 01, 2006 2:36 PM >> To: wra...@li... >> Subject: Re: [Wrapper-user] Problems with spaces in property values >> >> How about >> = wrapper.java.additional.1=3D"-Djava.rmi.server.codebase=3Dftp:<host>/jar1= >> .ja >> r >> ftp:<host>/jar2.jar" >> >> >> Quoting Chris Compton <cco...@pd...>: >> >> >Hello, >> >I need to set a property on the wrapper command line, Similar to: >> > >> > >> >wrapper <prop file> >> = >wrapper.java.additional.1=3D-Djava.rmi.server.codebase=3Dftp:<host>/jar1= >> >.j >> >ar >> > ;ftp:<host>/jar2.jar >> > >> >This works fine on a Windows box, but on a *nix boc, the jvm=20 >> >requires that the jar file paths in the codebase property be=20 >> >delimited with spaces instead of simicolons. Per some notes iin the=20 >> >docs, I have >> tried: >> > >> >wrapper <prop file> >> >"wrapper.java.additional.1=3D-Djava.rmi.server.codebase=3Dftp:<host>/jar= 1. >> >ja >> >r ftp:<host>/jar2.jar" >> > >> >with no success. The error message printed to the console looks like: >> > >> >Starting XXX... >> >FATAL | wrapper | The argument 'ftp:<host>/jar2.jar' is not a=20 >> >valid property name-value pair. >> > >> >I have also tried versions 3.1.1, 3.1.2, and 3.2.0. Is there=20 >> >something >> >> >that I'm missing, or some work-around that I'm not aware of that=20 >> >would >> >> >allow me to pass a property containing spaces on the command line? >> > >> >Thanks, >> >Chris >> > >> >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services,=20 >> security? >> Get stuff done quickly with pre-integrated technology to make your=20 >> job easier Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your=20 >> job easier Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642 >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > -- I love deadlines, especially the sound they make as they go whooshing by. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |