Hi All,
I wanted to enable J2EEDecriptor for connection pooling in slide. For that I
have followed the instruction given in
http://jakarta.apache.org/slide/howto-j2eestore.html.
I have made the changes in domain.xml and web.xml as indicated in above
document. 
And I have put this section in server.xml under <GlobalNamingResources> tag.
_---------------------------------------------------------------------------
---------------------------------------------
<Resource name="jdbc/slide" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/slide">
<parameter>
<name>user</name>
<value>sa</value>
</parameter>
<parameter>
<name>password</name>
<value>password</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.ddtek.jdbc.sqlserver.SQLServerDriver</value>
</parameter>
<parameter>
<name>driverName</name>
<value>jdbc:datadirect:sqlserver</value>
</parameter>
</ResourceParams>

_---------------------------------------------------------------------------
---------------------------------------------
After that when I am trying to start tomcat it is throwing error saying.
----------------------------------------------------------------------------
----------------------------------------------
slidestore.j2ee.J2EEDescriptorsStore - ERROR -Loading and registering
datasource jdbc/slide failed

slidestore.j2ee.J2EEDescriptorsStore - ERROR
-javax.naming.NameNotFoundException: Name java:comp is not bound in this
Context

org.apache.slide.common.Domain - WARNING -
Serviceslidestore.j2ee.J2EEDescriptorsStore@26dbec initialization failed :
Name
java:comp is not bound in this Context
----------------------------------------------------------------------------
----------------------------------------------
Have a made a wrong settings in server.xml file? 

Another question, do I need to make any code changes to enable connection
pooling or this configuration will be sufficient to enable it?


Regards
-Ashish Banerjee


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to