Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP connection with Oracle

 
Saidur Rahman
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I m facing a problem while i m trying to run my jsp application with oracle. when i am starting the http://localhost , then oracle server is showing instead of the Tomcat server. It w'ld be a pleasure if someone replies to this post.

IT's very urgent........ !!!

Thank You all.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35753
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saidur,
Check what ports Oracle and Tomcat are using. It sounds like Oracle grabbed the default one and you need to type an explicit port for tomcat. This would make your URL look like: localhost:123/site.
 
bappa
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In server.xml you find the following entry.

<Connector URIEncoding="utf-8" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8080" redirectPort="8443" />

Just change the port number to something else other than 8080 ie 8085 or 10000 and save the file and try restarting the server and check again.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!