tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From B W <bw20130...@gmail.com>
Subject Re: Migrating from GlassFish to Tomcat 7
Date Thu, 22 Aug 2013 14:00:30 GMT
Thank you - it's working!




On Thu, Aug 22, 2013 at 9:04 AM, Daniel Mikusa <dmikusa@gopivotal.com>wrote:

> On Aug 22, 2013, at 8:48 AM, B W <bw20130822@gmail.com> wrote:
>
> > I have a GWT application which currently is running on GlassFish 3.x. I
> > want to migrate to Tomcat 7. Previously, I would store properties that
> the
> > GWT application could retrieve by
> > org.apache.commons.configuration.SystemConfiguration.
>
> Looks like this class is loading items from system properties.
>
> > I would put these
> > settings in my domain.xml for GlassFish. What is the Tomcat equivalent? I
> > tried putting settings under my WEB-INF\web.xml file as
> > context-paramsection. However, my GWT application cannot see them
> > still.
> >
> > Where should I put settings that can be read by calling
> > org.apache.commons.configuration.SystemConfiguration from my GWT app from
> > Tomcat?
>
> Based on that, you'd want to add system properties in
> "$CATALINA_BASE/bin/setenv.sh".  Note this file doesn't exist by default,
> you'll need to create it.
>
> Ex:
>
>    CATALINA_OPTs="-Dmy.property.1=xyz -Dmy.property.2=abc"
>
> Dan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message