File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes tomcat Vs glashfish doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "tomcat Vs glashfish doubt" Watch "tomcat Vs glashfish doubt" New topic

tomcat Vs glashfish doubt

Juwonlo Ibigbami
Ranch Hand

Joined: Nov 03, 2006
Posts: 83
Please i need a help.
I am a web developer with tomcat and recently i have jobs to do with glassfish.
I know how to set my resources in the context.xml in tomcat in developing an enterprise application, i.e.

<Resource name="jdbc/link_manager" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="mofoluwake" driverClassName="com.mysql.jdbc.Driver"

but with glassfish, there is no context.xml anywhere, the sun-web.xml created by teh system does not accept my a racecourse tag.
How do i go from there. Urgent please.

Juwonlo Ibigbami
SCJP 5.0
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
A quick search for glassfish datasource configuration found a number of promising links, e.g. this one.
I agree. Here's the link:
subject: tomcat Vs glashfish doubt
It's not a secret anymore!