tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leon.m...@hccnet.nl
Subject RE: add database resource
Date Thu, 10 Jan 2013 18:26:59 GMT
Hi,

Herewith the content of META-INF/context.xml

<Context="/atvd">
		  <Resource
			name="jdbc/atvd"
			type="javax.sql.DataSource"
			auth="container"
			username="atvd"
			password="atvd"
			driverClassName="com.mysql.jdbc.Driver"
			url="jdbc:mysql://localhost:3306/atvd12?autoReconnect=true" />
		</Context>

Regards,

Léon

Op Do, 10 januari, 2013 7:10 pm schreef Propes, Barry L:
> Did you remove the contents from the server.xml? Or just paste the same
> contents to the META-INF/context.xml file?
>
> You might want to add the contents of the context.xml file to the thread
> message.
>
> -----Original Message-----
> From: Leon [mailto:leon.mail@hccnet.nl]
> Sent: Thursday, January 10, 2013 11:53 AM
> To: Tomcat Users List
> Subject: Re: add database resource
>
>
> Unfortunately still same error
>
>
> Regards,
>
>
> Léon
>
>
> Op 10 jan. 2013 om 04:29 heeft Christopher Schultz
> <chris@christopherschultz.net> het volgende geschreven:
>
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>>
>> Leon,
>>
>>
>> On 1/9/13 5:37 PM, leon.mail@hccnet.nl wrote:
>>
>>> Op Wo, 9 januari, 2013 10:37 pm schreef Christopher Schultz: Tried to
>>>  creat a context.xml in META-INF/context.xml, however, not sure about
>>>  the full conten.
>>>
>>> Are you able to provide met a contect.xml with example code, where i
>>> can adjust variables? ould help a lot!
>>
>> Just take your <Context> element out of server.xml and put the whole
>> thing into META-INF/context.xml.
>>
>>>> I know nothing about Hibernate, but you may have to post your
>>>> Hibernate configuration in order to get any further, here.
>>>>
>>>
>>> If needed not a problem, but hopefully a correct context.xml will do
>>>
>>
>> A proper context.xml is unlikely to have any bearing on your problem.
>> I'm just trying to get other noise out of the way.
>>
>>
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>>
>>
>> iEYEAREIAAYFAlDuNZoACgkQ9CaO5/Lv0PBuQQCgiTgdJbzjtiJDKf8mIV/N7fo1
>> Pj4AnjBp/2ZhkzFNUHjlcoF+gO+B+7cJ
>> =i+2h
>> -----END PGP SIGNATURE-----
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message