|
From: Michael 'b. S. <msc...@gi...> - 2006-05-02 11:21:59
|
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 space to > be another java additional, i.e.: > > wrapper.java.additional.1=-Djava.rmi.server.codebase=ftp:<host>/jar1.jar > wrapper.java.additional.2=ftp:<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 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="-Djava.rmi.server.codebase=ftp:<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=-Djava.rmi.server.codebase=ftp:<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=-Djava.rmi.server.codebase=ftp:<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=k&kid0709&bid&3057&dat1642 >> _______________________________________________ >> 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 Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 >> _______________________________________________ >> 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 Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > 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. |