Hey Magnus,

It's probably okay to omit the quotes, but you'll need to escape that space, as 
you suspect.

Maybe something like:

-Duser.timezone=America/Los\ Angeles

You may also be able to switch the double-quotes for single-quotes, like this:

-Duser.timezone='America/Los Angeles'

and not have it screw up the additional surrounding quotes.

Last, you might be able to escape the double quotes, so they're passed but 
don't mess up the parent statement, like so:

-Duser.timezone=\"America/Los Angeles\"

At least ONE of those should get the job done. ;)

Hope this helps!

-Jordan





----- Original Message -----
From: "Magnus" <[email protected]>
To: [email protected]
Sent: Tuesday, May 15, 2012 8:51:39 PM
Subject: Re: [OpenBD] Resetting the OpenBD server time

Ok. One more question. The JAVA_OPTS statement in setenv.sh has all the params 
surounded by a single pair of double quotes. But the timezone param has the 
value in double quotes. If I just plunk it in as is, it will mess up the quotes 
in the existing staement. Can I omit the quotes in the timezone statement. None 
of the other statements have quotes surrounding the value. eg. 
-Duser.timezone=America/Los Angeles. 

Hmm... that space looks troublesome. 

Magnus 

On Tuesday, 15 May 2012 17:10:25 UTC-7, Jordan Michaels wrote: 

Cool. =) 

Your setenv.sh file should be: 

/opt/openbd/tomcat/bin/setenv.sh 

You'll see the params for configuring the memory there. Just add the one 
for the time zone and you should be set! 

Warm Regards, 
Jordan Michaels 

On 05/15/2012 04:59 PM, Magnus wrote: 
> OpenBD installed via the Vivio Tech installer for 1.2, upgraded to 1.4. 
> OS is CentOS 
> 
> Install is in /opt/openbd/ 
> 
> Magnus 
> 
> On Tuesday, 15 May 2012 16:16:08 UTC-7, Jordan Michaels wrote: 
> 
> It depends on how you installed OpenBD, but tomcat has a setenv.sh file 
> that this usually goes in. If you let us know how you installed OpenBD 
> (and what OS you installed to), we can be more specific. 
> 
> HTH 
> 
> Warm Regards, 
> Jordan Michaels 
> 
> On 05/15/2012 04:01 PM, Magnus wrote: 
> > Where do I set that attribute? Sorry, Java and Tomcat are not my 
> area of 
> > expertise (but I am learning). 
> > 
> > Magnus 
> > 
> > On Tuesday, 15 May 2012 15:13:25 UTC-7, Jordan Michaels wrote: 
> > 
> > You can use the -Duser.timezone="America/Los Angeles" jvm 
> attribute to 
> > set the time zone at OpenBD startup. 
> > 
> > HTH 
> > 
> > Warm Regards, 
> > Jordan Michaels 
> > 
> > On 05/15/2012 02:45 PM, Magnus wrote: 
> > > My instance of Open Bluedragon is not showing the correct time. 
> > The OS 
> > > is showing the correct local time when checked via the command 
> > line but 
> > > OpenBD is 7 hours ahead. The server is in my timezone (Pacific). 
> > > 
> > > Where and how can this be reset? Is this done at the Java level. 
> > I see 
> > > that under JVM properties this is set: user.timezone GMT. 
> > > 
> > > Thanks, 
> > > 
> > > Magnus 
> > > 
> > > -- 
> > > online documentation: http://openbd.org/manual/ 
> > > google+ hints/tips: 
> https://plus.google.com/115990347459711259462 
> < https://plus.google.com/115990347459711259462 > 
> > < https://plus.google.com/115990347459711259462 
> < https://plus.google.com/115990347459711259462 >> 
> > > http://groups.google.com/group/openbd?hl=en 
> < http://groups.google.com/group/openbd?hl=en > 
> > < http://groups.google.com/group/openbd?hl=en 
> < http://groups.google.com/group/openbd?hl=en >> 
> > 
> > -- 
> > online documentation: http://openbd.org/manual/ 
> > google+ hints/tips: https://plus.google.com/115990347459711259462 
> < https://plus.google.com/115990347459711259462 > 
> > http://groups.google.com/group/openbd?hl=en 
> < http://groups.google.com/group/openbd?hl=en > 
> 
> -- 
> online documentation: http://openbd.org/manual/ 
> google+ hints/tips: https://plus.google.com/115990347459711259462 
> http://groups.google.com/group/openbd?hl=en 


-- 
online documentation: http://openbd.org/manual/ 
google+ hints/tips: https://plus.google.com/115990347459711259462 
http://groups.google.com/group/openbd?hl=en 

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to