struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VIAUD Cédric <cvi...@decan.fr>
Subject RE: Pb when using data-source
Date Wed, 05 Dec 2001 10:23:30 GMT
I didn't indicacte this in my post, but there was the 
<data-sources> 
</data-sources>

But, i have found the solution.

The correct URL syntax for Oracle driver is not :
  <set-property property="url"
value="jdbc:oracle:thin://thoth:1521/tolosa"/>

but :
  <set-property property="url" value="jdbc:oracle:thin:@thoth:1521:tolosa"/>

Regards,

   Cédric



-----Message d'origine-----
De : Tom Lister [mailto:Tom.Lister@ABSL.COM]
Envoyé : mardi 4 décembre 2001 18:12
À : 'Struts Users Mailing List'
Objet : RE: Pb when using data-source


Is it within
<data-sources> 
</data-sources>
:-)
Regards
Tom_Lister@absl.com <mailto:Tom_Lister@absl.com> 
Advanced Banking Solutions Limited
+44 (0)20 7448 9146
º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,
¸¸,ø¤º°'°º¤ø,¸¸,
This email and any attachments are confidential. They may contain privileged

information or useless trivia and are intended for the named addressee (s)
only. 
They must not be distributed without our consent. If you are not the
intended recipient, 
please notify us immediately and do not disclose, distribute, or retain this
email or any
part of it. Unless expressly stated, opinions in this email are those of the

individual sender, and not of Advanced Banking Solutions Limited. We believe

but do not warrant that this e-mail and any attachments are virus free. You
must
therefore take full responsibility for virus checking. Advanced Banking
Solutions
Limited and its subsidiaries reserve the right to monitor all email
communications
through their networks.                 
º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,
¸¸,ø¤º°'°º¤ø,¸¸,


	-----Original Message-----
	From:	VIAUD Cédric [SMTP:cviaud@decan.fr]
	Sent:	04 December 2001 16:12
	To:	'struts-user@jakarta.apache.org'
	Subject:	Pb when using data-source

	When I declare a data-source in "struts-config.xml", i get a parsing
	problem.

	javax.servlet.ServletException: Parsing error processing resource
path
	/WEB-INF/struts-config.xm

	Here is my data-source.

	    <data-source>
	      <set-property property="autoCommit"
	                       value="false"/>
	      <set-property property="description"
	                       value="Base de donnees de ProFoFuC"/>
	      <set-property property="driverClass"
	                       value="oracle.jdbc.driver.OracleDriver"/>
	      <set-property property="maxCount"
	                       value="4"/>
	      <set-property property="minCount"
	                       value="2"/>
	      <set-property property="password"
	                       value="cviaud"/>
	      <set-property property="url"
	
value="jdbc:oracle:thin://thoth:1521/tolosa"/>
	      <set-property property="user"
	                       value="cviaud"/>
	    </data-source>

	Can someone tell me what is wrong with this ?

	Thanks,

	    Cédric

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

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