You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Jacob Lund <jl...@qualiware.com> on 2003/01/31 12:41:45 UTC

J2EEStore

Hi all!

I am trying to test the J2EEStore with the RDBMS implementation! However I
keep getting a NameNotFoundException on my datasource! I assume that this is
a problem with my datasourcename definition in my server.xml.

      <Context path="" docBase="slide" debug="99" privileged="true">
	        <Environment name="tyrexDomainConfig"
type="java.lang.String" value="mytyrexconfig.xml"/>
		<Environment name="tyrexDomainName" type="java.lang.String"
value="mytyrex_domain"/>	
	 	<Resource name="my_db" auth="Container"
type="tyrex.resource.Resource"/>
		<ResourceParams name="my_db">
		  <parameter>
		    <name>name</name>
		    <value>mtx_db_tx</value>
		  </parameter>
		</ResourceParams>		
	</Context>

I have placed this definition under the host tag in the server.xml - is that
correct? I have followed the instruction given by Ashok Kumar from July 22
2003!

Thanks
Jacob


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: J2EEStore

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Hi Jacob,

as I tried with dbcp and not Tyrex the only thing with your config
that looks fishy to me, is your empty context path. Are you sure it is
not "/slide"?

Regards,
Ingo

> Sorry - forgot to mention that I am using the latest from the cvs and =
> tomcat
> 4.1.18!
> 
> I did reactivate the transactions in the J2EEStore and applied the =
> changes
> to the StandardRDBMSAdapter as described by Ingo Brunberg
> 
> Thanks
> Jacob
> 
> -----Original Message-----
> From: Jacob Lund [mailto:jl@qualiware.com]=20
> Sent: 31. januar 2003 12:42
> To: slide-user@jakarta.apache.org
> Subject: J2EEStore
> 
> 
> Hi all!
> 
> I am trying to test the J2EEStore with the RDBMS implementation! However =
> I
> keep getting a NameNotFoundException on my datasource! I assume that =
> this is
> a problem with my datasourcename definition in my server.xml.
> 
>       <Context path=3D"" docBase=3D"slide" debug=3D"99" =
> privileged=3D"true">
> 	        <Environment name=3D"tyrexDomainConfig"
> type=3D"java.lang.String" value=3D"mytyrexconfig.xml"/>
> 		<Environment name=3D"tyrexDomainName" type=3D"java.lang.String"
> value=3D"mytyrex_domain"/>=09
> 	 	<Resource name=3D"my_db" auth=3D"Container"
> type=3D"tyrex.resource.Resource"/>
> 		<ResourceParams name=3D"my_db">
> 		  <parameter>
> 		    <name>name</name>
> 		    <value>mtx_db_tx</value>
> 		  </parameter>
> 		</ResourceParams>	=09
> 	</Context>
> 
> I have placed this definition under the host tag in the server.xml - is =
> that
> correct? I have followed the instruction given by Ashok Kumar from July =
> 22
> 2003!
> 
> Thanks
> Jacob


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: J2EEStore

Posted by Jacob Lund <jl...@qualiware.com>.
Sorry - forgot to mention that I am using the latest from the cvs and tomcat
4.1.18!

I did reactivate the transactions in the J2EEStore and applied the changes
to the StandardRDBMSAdapter as described by Ingo Brunberg

Thanks
Jacob

-----Original Message-----
From: Jacob Lund [mailto:jl@qualiware.com] 
Sent: 31. januar 2003 12:42
To: slide-user@jakarta.apache.org
Subject: J2EEStore


Hi all!

I am trying to test the J2EEStore with the RDBMS implementation! However I
keep getting a NameNotFoundException on my datasource! I assume that this is
a problem with my datasourcename definition in my server.xml.

      <Context path="" docBase="slide" debug="99" privileged="true">
	        <Environment name="tyrexDomainConfig"
type="java.lang.String" value="mytyrexconfig.xml"/>
		<Environment name="tyrexDomainName" type="java.lang.String"
value="mytyrex_domain"/>	
	 	<Resource name="my_db" auth="Container"
type="tyrex.resource.Resource"/>
		<ResourceParams name="my_db">
		  <parameter>
		    <name>name</name>
		    <value>mtx_db_tx</value>
		  </parameter>
		</ResourceParams>		
	</Context>

I have placed this definition under the host tag in the server.xml - is that
correct? I have followed the instruction given by Ashok Kumar from July 22
2003!

Thanks
Jacob


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org