Am Dienstag, den 18.11.2008, 23:37 +0530 schrieb Sridhar n:
> Hello friends,
> I am doing small web application ,in that I am doing connection pooling.I
> followed these steps:
> *1.In Conf/server.xml - added below code*
>    <Server port="8005" shutdown="SHUTDOWN">...
> 
>   <Resource name="jdbc/myoracle" auth="Container"
>               type="javax.sql.DataSource"
>        description="Oracle 9i database that can be updated and saved"
>            factory="oracle.jdbc.driver.OracleDriver"
>                url="jdbc:oracle:oci9:@oracle"
>           username="scott" password="tiger" maxActive="20" maxIdle="10"
> maxWait="-1""/>

There seems to be surplus " after -1", which would explain the excellent
error message:

> Nov 18, 2008 11:31:22 PM org.apache.tomcat.util.digester.Digester fatalError
> SEVERE: Parse Fatal Error at line 42 column 85: Element type "Resource" must
> be followed by either attribute specifications, ">" or "/>".
> org.xml.sax.SAXParseException: Element type "Resource" must be followed by
> either attribute specifications, ">" or "/>".

bye
 Felix


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to