This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Pipeline as Code and have Mohamed Labouardy on-line!
See this thread for details.
Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Oracle Tomcat clash

 
Ranch Hand
Posts: 646
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running Oracle 9i on my PC which listens in on port 8080.
I have edited server.xml, where ever I saw port 8080 I replaced with 9000.
I have the startup message Starting Coyote HTTP/.1 on port 9000
Last message is server startup in 7791 ms.
I guess this means that Tomcat has started up ok.
Problem is that when I run http\\localhost:9000\index.html I get page cannot be displayed.
Is there a way of debugging any of the scripts to see what happens when I try to run http\\localhost:9000\index.html or will I need to download the source code to complile and run.
Thanks for any Help Tony
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you actually get 'page cannot be displayed'? or is it a 404 error? Do you have friendly error messages turned on in IE ? (if you do, turn them off, you'll be doing yourself a favour!).

If you're literally typing in:
http\\localhost:9000\index.html
1) missing colon
2) use forward slashes
3) there's no such file as 'index.html' under the ROOT context.

what happens when you try:

http://localhost:9000/
 
Tony Evans
Ranch Hand
Posts: 646
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mike, I was typing the slashes the wrong way,
http://localhost:9000/ returns "The page cannot be displayed:"
The problem is that when I type in http//localhost I find the Oracle Server.
Has establshed a connection therefore I can not use Tomcat.
I have tried to stop TNSLSNR.exe but I get access is denied.
Thanks for any help Tony.
 
Tony Evans
Ranch Hand
Posts: 646
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have used the stop Oracle Apache web server command, which does stop the server. So when I run localhost I get page cannot be displayed.
But I still cant get http://localhost:9000/ to load the Tomcat startup page.
Also the startup message states
Server startup in 10325 ms. Can anyone tellme what this message means.
Thansk for any help
Tony
 
Tony Evans
Ranch Hand
Posts: 646
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using services I have turned all my Oracle applications to manual, and have retarted my PC. This has freeded 8080.
I have set port connection back to 8080, and have run the startup script.
It works now.
Cheers Tony
 
Hot dog! An advertiser loves us THIS much:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic