Re: Tomcat 9 data source configuration error

2023-06-14 Thread Ying Jin
html#JSMIG-GUID-8E83E51A-88A3-4E9A-8E2A-66E1D66A966C > > Greetings, Thoma > > > -Ursprüngliche Nachricht- > > Von: Ying Jin > > Gesendet: Mittwoch, 14. Juni 2023 17:11 > > An: Tomcat Users List > > Betreff: Re: Tomcat 9 data source configuration error >

Re: Tomcat 9 data source configuration error

2023-06-14 Thread Ying Jin
I think I found solution of this problem. It seems that this is a bug of older version of eclipse WTP. I removed the endorsed directory argument from the debug configuration and it works now. Thanks, Jenny On Wed, Jun 14, 2023 at 9:43 AM Ying Jin wrote: > The tomcat server can’t be started in

Re: Tomcat 9 data source configuration error

2023-06-14 Thread Ying Jin
The tomcat server can’t be started in Eclipse due to following error when JDK 11 is used: -Djava.endorsed.dirs=C:\ApacheTomcat 9.0.75\apache-tomcat-9.0.75\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

Re: Tomcat 9 data source configuration error

2023-06-14 Thread Mark Thomas
On 14/06/2023 00:20, Ying Jin wrote: Mark, Thanks for the tip. I've resolved this error by using the way you suggested along with the newer version of jdbc driver ojdbc8.jar and modified the connection url in the right format. However, I encountered another problem trying to run the applicat

Re: Tomcat 9 data source configuration error

2023-06-13 Thread Ying Jin
Mark, Thanks for the tip. I've resolved this error by using the way you suggested along with the newer version of jdbc driver ojdbc8.jar and modified the connection url in the right format. However, I encountered another problem trying to run the application in Eclipse with JDK 11. Please see bel

Re: Tomcat 9 data source configuration error

2023-06-12 Thread Mark Thomas
On 12/06/2023 16:52, Ying Jin wrote: BTW, the ojdbc6_g.jar has been put in the Tomcat9.0.75/lib folder as well as in the project's WEB-INF/lib folder. Don't do that. Put it *only* in $CATALINA_BASE/lib On Mon, Jun 12, 2023 at 10:41 AM Ying Jin > wrote: Mark,

Re: Tomcat 9 data source configuration error

2023-06-12 Thread Ying Jin
BTW, the ojdbc6_g.jar has been put in the Tomcat9.0.75/lib folder as well as in the project's WEB-INF/lib folder. On Mon, Jun 12, 2023 at 10:41 AM Ying Jin wrote: > Mark, > > Thanks for your reply! Please see below for the details. BTW, I removed > the database connection info. for security reas

Re: Tomcat 9 data source configuration error

2023-06-12 Thread Ying Jin
Mark, Thanks for your reply! Please see below for the details. BTW, I removed the database connection info. for security reasons. The same data source configuration and jdbc driver "ojdbc6_g" works in the Weblogic 14 server. web.xml: project datasource jdbc/ariesDS javax.sql.DataSource Con

Re: Tomcat 9 data source configuration error

2023-06-12 Thread Mark Thomas
On 11/06/2023 19:33, Ying Jin wrote: Hello, We have an old java servlet web application which uses the "ojdbc6_g" jar as Oracle jdbc driver and it works in Weblogic 14 server. Recently, we need to try to see if this application can be deployed to Tomcat or not. The JDBC data source has been con