Re: [Resin-interest] Resin and Spring 2.0

2007-02-21 Thread Mattias Jiderhamn
We are using Spring 2 with Resin 3.0 without those tags.
Is there a particular part of Spring that cause problems?
Or is it only with Resin 3.1?

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.

 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


Re: [Resin-interest] Resin and Spring 2.0

2007-02-21 Thread Matt Raible
On 2/21/07, Mattias Jiderhamn [EMAIL PROTECTED] wrote:
 We are using Spring 2 with Resin 3.0 without those tags.
 Is there a particular part of Spring that cause problems?

The XSDs from the Spring context files seem to cause this issue:

See the bottom of the following page for more information:

http://www.springframework.org/docs/reference/xsd-config.html

 Or is it only with Resin 3.1?

No, this happens in 3.0 as well.


 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.

Matt


  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


Re: [Resin-interest] Resin and Spring 2.0

2007-02-21 Thread Mattias Jiderhamn

 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


Re: [Resin-interest] Resin and Spring 2.0

2007-02-21 Thread Matt Raible
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