TOMCAT « Database « Spring Q&A





1. How to override TOMCAT Oracle ojdbc14 driver in the application?    stackoverflow.com

The TOMCAT server is using an Oracle 9G ojdbc14 driver to its jndi connections in the /common/lib folder. My web application uses Maven + Spring and I'm getting the dataSource using Spring ...

2. NoClassDefFound error - Spring JDBC    stackoverflow.com

Right now, I'm compiling my .class files in eclipse and moving them over to my %tomcat_home%\webapps\myapp\WEB-INF\classes directory. They compile just fine. I also have in the ...\classes directory a org.springframework.jdbc-3.0.2.RELEASE.jar which I ...

3. JasperServer Deployment on Tomcat and Oracle DB (Solaris)    stackoverflow.com

I follow the steps of this thread : when I try to start the domain (jasperserver) I got this error in Tomcat Manager :

FAIL - Application ...

4. If i create a Spring datasource, do i still need to define the datasource inside Tomcat context.xml?    stackoverflow.com

currently we have an application that is configured by using a datasource inside a Tomcat context.xml file. So we are able to succesfully get a connection by retrieving the JNDI name ...

5. Difference between a Spring datasource and a Tomcat datasource?    stackoverflow.com

What is the difference between a Spring datasource and Tomcat datasource? Any pro's / con's? Is there a favored choice?

6. JNDI DataSource with Tomcat 6 and Eclipse    stackoverflow.com

I can't get my DataSource working with JNDI and Tomcat 6, while running it from Eclipse. I've added a context.xml to my /META-INF with the following content:

<Context>

<Resource name="jdbc/myDB" auth="Container" type="javax.sql.DataSource"
  ...

7. Spring JDBC initialization errors when deploy to tomcat    stackoverflow.com

I depoy an app using spring jdbc to tomcat which also host dal app. But when I start tomcat, the following exception raise, anyone have such experience ? Thanks

Caused by: org.springframework.beans.factory.BeanCreationException: ...

8. Increase Grails/Tomcat active HTTP connection limit    stackoverflow.com

I am developing an AJAX application that utilizes a connection that is kept-alive until an event occurs. For each window, a HTTP connection will be open at all times listening for ...

9. Spring : Tomcat datasource via JNDI in my Spring configuration Problem?    stackoverflow.com

I want to read Tomcat datasource via JNDI in my Spring configuration i am using oracle toplink
in spring applicationContext.xml i am using like below <bean id="UserDatabase" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="java:comp/env/jdbc/ISM_rep_user"></property> <property name="lookupOn" ...





10. Cannot create JDBC driver of class '' for connect URL 'null' java.lang.NullPointerException    stackoverflow.com

I've just graduated and got a graduate software engineering job. I'm not familur with tomcat or spring and have no idea why I'm getting this error message. Please help! The server loads ...

11. How to read Tomcat JDBC Data Sources Resource Factory properties?    stackoverflow.com

I have an tomcat 6 with an configured JNDI Tomcat JDBC Data Sources Resource Factory. Now my task is to verify that the connection pool has a minimal max ...

12. Spring 3/Oracle UCP/Oracle AQ/Tomcat    forum.springsource.org

Apr 21st, 2011, 10:44 AM #1 rlb3778 View Profile View Forum Posts Private Message Junior Member Join Date Dec 2006 Posts 12 Spring 3/Oracle UCP/Oracle AQ/Tomcat So...weirdest thing that I cannot ...

13. spring JNDI datasource tomcat Problem please help me.    forum.springsource.org

spring JNDI datasource tomcat Problem please help me. Hi Thanks In tomcat/conf/context.xml contains the resource,please see below from tomcat/conf/context.xml

14. Petclinic Database Setup--JNDI connection-pool with Tomcat    forum.springsource.org

Petclinic Database Setup--JNDI connection-pool with Tomcat Hi I am testing The Spring Petclinic Application with mysql database, it is ok with the Local DataSource with Spring's DriverManagerDataSource. However, I want to ...

15. warning: tomcat 5.5.9 + connection pooling    forum.springsource.org

warning: tomcat 5.5.9 + connection pooling Hi, I switched from Tomcat 5.0.25 to 5.5.9. I had hoped it might help with some small issues, but the switch became an issue in ...

16. Tomcat + JNDI DataSource + Spring    forum.springsource.org

Jan 12th, 2006, 06:46 PM #1 xstevens View Profile View Forum Posts Private Message Junior Member Join Date Jan 2006 Posts 26 Tomcat + JNDI DataSource + Spring I can't promise ...





17. JOTM with Tomcat Managed Datasource    forum.springsource.org

JOTM with Tomcat Managed Datasource I have the following situation: I want to use JOTM to manage transactions in my application. However, I'd like to have the web container (tomcat) manage ...

18. Configuring a JNDI datasource in Tomcat    forum.springsource.org

Aug 27th, 2006, 01:18 AM #1 snike View Profile View Forum Posts Private Message Junior Member Join Date Aug 2006 Location Australia Posts 7 Configuring a JNDI datasource in Tomcat I ...

19. Unable to configure Mail DataSource in Tomcat    forum.springsource.org

Feb 20th, 2007, 09:03 PM #1 acube View Profile View Forum Posts Private Message Junior Member Join Date Jul 2006 Posts 7 Unable to configure Mail DataSource in Tomcat Folks, I'm ...

20. Java App using Springframework to connect to Oracle from Tomcat    forum.springsource.org

Java App using Springframework to connect to Oracle from Tomcat We have a third party Java App (which uses the Springframework), resides on a Tomcat server, and needs to connect oto ...

21. JndiObjectFactoryBean cast error with tomcat data source    forum.springsource.org

Jul 17th, 2007, 08:27 AM #1 sandeep_maloth View Profile View Forum Posts Private Message Junior Member Join Date Jul 2007 Posts 6 JndiObjectFactoryBean cast error with tomcat data source Hi, We ...

22. Tomcat / WebLogic JNDI Datasource jee:jndi-lookup issues    forum.springsource.org

Tomcat / WebLogic JNDI Datasource jee:jndi-lookup issues Hi, I work in an environment where we use Tomcat for development but deploy on Weblogic (using eclipse europa + wtp + maven - ...

23. Tomcat question on using Oracle    forum.springsource.org

Tomcat question on using Oracle As a developer who uses IBM RAD7 and Websphere 6.1, it is quite disconcerting and frustrating for me to contemplate switching to Tomcat due to the ...

24. Configuring DataSource in Embeded OSGI Tomcat    forum.springsource.org

25. db configuration: Maven for testing, Tomcat for production    forum.springsource.org

db configuration: Maven for testing, Tomcat for production Hello. We have been using Maven (.m2/settings.xml) to hold our database settings (url, username, password, etc), as our development team is remote, and ...

26. Still Having Issues With JNDI Data Source and Tomcat    forum.springsource.org

Still Having Issues With JNDI Data Source and Tomcat It's been asked before, but I don't see a satisfactory response: http://forum.springframework.org/sho...ht=jndi+tomcat I'm using Tomcat 5.5.26 and Spring 2.5.5 to connect to ...

27. How to initialize connection pool without restarting Tomcat    forum.springsource.org

How to initialize connection pool without restarting Tomcat Hi everybody, I'm using Tomcat 5.5, Spring framework and HSQLDB database. My goal is to install application on new computer to ($CATALINA_HOME/webapps) and ...

28. Tomcat 5.5+DataSource+JNDI - Please help driving me crazy!    forum.springsource.org

Hello All, I'm trying to lookup an oracle datasource from Tomcat 5.5. I followed all the instruction. But for some reason I'm not able to look up the datasource. Any help ...

29. tomcat oracle synynoms and springJDBC    forum.springsource.org

tomcat oracle synynoms and springJDBC Hey guys. I'm using the SpringJDBC generateInsertStatement which requires teh metadata to be available from the datasource. Since we use synynoms instead of tables (don't ask) ...

30. Prevent database reset after restart of tomcat    forum.springsource.org

I want to use my sample roo application with real data. I use postgresql and wrote an sql file that fills the database once I started tomcat via "mvn tomcat:run". What ...

31. Data in the database seems to be lost after tomcat restart.    forum.springsource.org

Hi, What property do we need to set in database.properties to make sure that the data in the database is not lost after we restart tomcat. We are using mysql with ...

32. Running "mvn test" against a different database to "mvn tomcat"    forum.springsource.org

Running "mvn test" against a different database to "mvn tomcat" Apologies to those who have seen this on StackOverflow already... I have a collection of Roo generated integration tests. They appear ...

33. DataSource (Spring + Apache Tomcat - pluto) giving problems    forum.springsource.org

May 26th, 2010, 03:28 PM #1 j2ee_evangelist View Profile View Forum Posts Private Message Junior Member Join Date Feb 2010 Posts 5 DataSource (Spring + Apache Tomcat - pluto) giving problems ...

34. Using tomcat-jdbc-pool outside of dmServer/tcServer    forum.springsource.org

Hi guys, I read the write-up on tomcat-jdbc-pool: http://vigilbose.blogspot.com/2009/0...mcat-jdbc.html ...and I'm also aware that this replaces DBCP by default on tcServer. We use Spring 3.0.4.RELEASE and would like to know IF/HOW ...

35. datasource using tomcat in spring    coderanch.com