struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Holmes <jholmes...@yahoo.com>
Subject RE: 1.1B and data-source problems...
Date Fri, 14 Jun 2002 11:30:21 GMT
I have submitted a patch to the dev group to fix the
config file in the blank war file.  Hopefully someone
with commit privileges with commit the change soon.

-james
james@jamesholmes.com
http://www.jamesholmes.com/struts/


--- wbchmura@Ensign-BickfordInd.com wrote:
> Yep, I got the xml out of the blank struts file...
> 
> That and the struts example I do not think uses 1.1
> so that looked okay 
> when I compared it against that
> 
> Thanks all for your help
> 
> -----Original Message-----
> From: adam.hardy
> [mailto:adam.hardy@cyberspaceroad.com]
> Sent: Wednesday, June 05, 2002 2:03 AM
> To: struts-user
> Subject: Re: 1.1B and data-source problems...
> 
> 
> That's exactly what happened to me as well. I think
> I got the xml out of 
> 
> the struts-blank app. Maybe somebody change it..
> 
> Adam
> 
> James Holmes wrote:
> 
> >That's because you are using attributes of the
> ><data-source> tag to define the values for those
> >parameters.  That method has been deprecated for
> some
> >time now.  You need to use the new <set-property>
> >method for this.
> >
> >Take a look at the DTD for more info:
>
>http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd
> >
> >The Struts Console makes easy work of doing that:
> >
> >http://www.jamesholmes.com/struts/
> >
> >-james
> >james@jamesholmes.com
> >
> >
> >--- wbchmura@Ensign-BickfordInd.com wrote:
> >  
> >
> >>I cannot seem to get a data-source configured
> under
> >>1.1b..
> >>
> >>I have this entered into my struts-config
> >>
> >>  <data-sources>
> >>     <data-source 
> >>      autoCommit="false" 
> >>      description="Oracle"
> >>     
> driverClass="oracle.jdbc.driver.OracleDriver" 
> >>      maxActive="4"
> >>      password="xxxxxx" 
> >>      url="jdbc:oracle:thin:@db1:1521:WIZARD"
> >>      user="xxxxxx"/>
> >> </data-sources>  
> >>
> >>I get sax Exceptions telling me I need autoCommit,
> >>description, etc...  
> >>but I have those...
> >>
> >>HELP!
> >>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:  
>
>><mailto:struts-user-unsubscribe@jakarta.apache.org>
> >>For additional commands, e-mail:
> >><mailto:struts-user-help@jakarta.apache.org>
> >>
> >>    
> >>
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> >  
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message