This worked - thanks Mattias. I ran into another issue with Struts 2,
Spring and Resin.  It seems to be caused by an issue in Spring 2.0.2
that will be fixed in 2.0.3.

http://forum.springframework.org/showthread.php?t=33874

Matt

On 2/21/07, Mattias Jiderhamn <[EMAIL PROTECTED]> wrote:
>
>
>  -------- Ursprungligt meddelande --------
>  Ämne: Re:[Resin-interest] Resin and Spring 2.0
>  Från: Matt Raible <[EMAIL PROTECTED]>
>  Till: General Discussion for the Resin application server
> <resin-interest@caucho.com>
>  Datum: 2007-02-21 13:31
>
>  On 2/21/07, Mattias Jiderhamn <[EMAIL PROTECTED]> wrote:
>
>
>  If it helps, the settings below can be added to web.xml instead of
> resin.conf.
>
> You could also create a startup script and add
> -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> (etc) to the command line.
>
>  Is it possible to add this to an environment variable (i.e. MAVEN_OPTS
> or JAVA_OPTS)? Since Resin is downloaded/installed by Cargo, I'm not
> able to manipulate the startup script AFAIK.
>
>  If Cargo is launching Resin, setting environment variable wouldn't help
> even if there were any. Instead you need to ask Cargo to pass these system
> properties to Resin.
>  http://cargo.codehaus.org/Passing+system+properties seems
> to be what you're looking for.
>
>
>
>
>
>  -------- Ursprungligt meddelande --------
> Ämne: [Resin-interest] Resin and Spring 2.0
> Från: Matt Raible <[EMAIL PROTECTED]>
> Till: resin-interest@caucho.com
> Datum: 2007-02-21 06:23
>
>
>  I'm using Cargo (http://cargo.codehaus.org) to download Resin, install
> it and test my application. However, in order to make Resin 3.x work
> properly with Spring 2.0, I need to add the following to resin.conf:
>
>  <system-property
> javax.xml.parsers.DocumentBuilderFactory='org.apache.xerces.jaxp.DocumentBuilderFactoryImpl'/>
>  <system-property
> javax.xml.parsers.SAXParserFactory='org.apache.xerces.jaxp.SAXParserFactoryImpl'/>
>
> It it possible to specify these properties somewhere else besides
> resin.conf? I tried JAVA_OPTS, but that doesn't seem to work.
>
> Thanks,
>
> Matt
>
> P.S. Cargo works with 3.0.x, but not 3.1.x.
>
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>


-- 
http://raibledesigns.com
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to