|
From: <da...@sm...> - 2006-05-02 10:52:04
|
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.jar wrapper.java.additional.2=3Dftp:<host>/jar2.jar and let the wrapper put the spaces in itself. It's not quite as ideal, =20 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 the > space as a new argument. > > Thanks though. > > Chris > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of > 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 requires >> that the jar file paths in the codebase property be delimited with >> spaces instead of simicolons. Per some notes iin the docs, I have > tried: >> >> wrapper <prop file> >> "wrapper.java.additional.1=3D-Djava.rmi.server.codebase=3Dftp:<host>/jar1= . >> 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 valid >> property name-value pair. >> >> I have also tried versions 3.1.1, 3.1.2, and 3.2.0. Is there something > >> that I'm missing, or some work-around that I'm not aware of that 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, > 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=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 job eas= ier > 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 > |