Hi,

im still using Cocoon 1.8.2 and now i must connect to a MSSQLServer.
I copied this three MS-files into the lib-dir of tomcat.
If i open the conncetion in my xml-File like this:

<esql:driver>com.microsoft.jdbc.sqlserver.SQLServerDriver</esql:driver>
<esql:dburl>jdbc:microsoft:sqlserver://aaa.bbb.ccc.ddd:1433;database=xxx_yyy</esql:dburl>
<esql:username>test</esql:username>
<esql:password>test</esql:password>

It works fine.

But now, when i want to use the Conncetionpool i get this error-messege:

java.lang.RuntimeException: Error opening pooled connection: stsdc: Database    
        type com.microsoft.jdbc.sqlserver.SQLServerDriver not implemented.
at 
_remote._debxxx._xxx._xxx._xxx._www_xxx._debug._yyyy._yyyy.populateDocument(_lekj.java:5125)
at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97)
at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527)
at org.apache.cocoon.Engine.handle(Engine.java:384)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

In cocoon.properties i have written:
processor.xsp.pool.database.stsdc.driver=com.microsoft.jdbc.sqlserver.SQLServerDriver
processor.xsp.pool.database.stsdc.url=jdbc:microsoft:sqlserver://aaa.bbb.ccc.ddd:1433;database=mib_sql
processor.xsp.pool.database.stsdc.username=test
processor.xsp.pool.database.stsdc.password=test
processor.xsp.pool.database.stsdc.maxConnections=3
processor.xsp.pool.database.stsdc.expiryTime=3600000
# These are the supported jdbc-drivers and their adaptors.
# These properties are used by the DBFactory.
processor.xsp.pool.database.adaptor=DBms,DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMySQL
processor.xsp.pool.database.adaptor.DBms=com.microsoft.jdbc.sqlserver.SQLServerDriver

Can somebody help, please...

cu,
Christian

-- 
------------------------------------------------------------
Schröter, Christian
Siemens Business Services GmbH & Co. OHG
SBS D BS ECS 3
Tel.: +49 911 654 2355
Fax: +49 911 654 2108
eMail: [EMAIL PROTECTED]
------------------------------------------------------------

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to