aspose file tools*
The moose likes Beginning Java and the fly likes Setting up a JDBC Connection Pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Setting up a JDBC Connection Pool" Watch "Setting up a JDBC Connection Pool" New topic
Author

Setting up a JDBC Connection Pool

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
I am trying a Simple Web Application in NetBeans IDE Using MsSQL2005 (not MySQL)

http://www.netbeans.org/kb/55/mysql-webapp.html#interfacingJSP

Unfortunately I probably have wrong set up part "Setting up a JDBC Connection Pool" or "Referencing the JDBC Resource from the Application".
(I use XP,nb5.5,SQLServer2005,Bundled Tomcat 5.5.17)

I have:
Runtime > Databases > Drivers > JDBC-for-MsSQL2005
Runtime > Databases > jdbc:sqlserver://localhost[root on dbo]
Runtime > Databases > jdbc:sqlserver://localhost[root on dbo] > Tables > counselors ...displays rows from table OK

Problems during setting up:(the link above)
"Setting up a JDBC Connection Pool" > Bundled Tomcat Web Server >
1. ...I don't find /admin node (only IFPWAFCAD and manager node, I tried IFPWAFCAD)
if I try right buton on /maager and Open in Browser, it will throw "HTTP Status 404 - /manager/"
2. ... I have same as on png.
3. ... I don't find Resources > Data
tomcat-users.xml :



Could you give me any advice please ?

[ August 17, 2007: Message edited by: manu chao ]
[ August 17, 2007: Message edited by: manu chao ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42648
    
  65
The manager web app is not enabled in Tomcat by default. See its documentation for information how to enable it.
[ August 17, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting up a JDBC Connection Pool