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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39535
A quick search for glassfish datasource configuration found a number of promising links, e.g. this one.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: tomcat Vs glashfish doubt
Similar Threads
Regarding ' work ' directory under tomcat.
tomcat Vs glashfish doubt
global context.xml vs webapp context.xml
Tomcat startup problems (MySQL driver)
Problem with connection pooling