Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / February 2004

Tip: Looking for answers? Try searching our database.

cocoon connection pool

Thread view: 
Gena - 09 Feb 2004 16:48 GMT
Does anyone know why my mysql connection pool config in the
cocoon.xconf file isn't working??   I'm rather new with cocoon.
Everything works if I set the connection in my xsp file, but if I just
make a connection pool call in xsp with <esql:pool>abc</esql:pool>  I
get a datasource exception at java.lang.Thread.run(Thread.java:536)
java.lang.RuntimeException: Could not get the datasource
org.apache.avalon.framework.component.ComponentException: datasources:
ComponentSelector could not find the component for hint [abc].  Below
is what I set in cocoon.xconf file that don't do anything

<datasources>
     <jdbc name="abc" logger="core.datasources.abc">
         <pool-controller min="5" max="10"/>
         <auto-commit>false</auto-commit>
         <dburl>jdbc:mysql://128.101.207.158/abc</dburl>
         <user>Bigcorp</user>
         <password>secret</password>
     </jdbc>
     <!--other connection pools go here-->
 </datasources>

Any ideas would be extremely thankful cause this is driving me crazy.
Gena
Gena - 09 Feb 2004 22:08 GMT
I'd figured out my problem...thanks anyways...

> Does anyone know why my mysql connection pool config in the
> cocoon.xconf file isn't working??   I'm rather new with cocoon.
[quoted text clipped - 19 lines]
> Any ideas would be extremely thankful cause this is driving me crazy.
> Gena


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.