This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Problem in accesing...!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem in accesing...!!!" Watch "Problem in accesing...!!!" New topic

Problem in accesing...!!!

Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
I have my application running on machine(say A)
and some jsp's are accessing some service from another machine (say B).It runs fine there isn't problem accessing the url(say b:\someservice:7000 ).
Now when I try to access application on machine A from some other machine (say C) the problem I m getting is that instead of looking for the url (b:\someservice:7000) it is looking that url as
(a:\someservice:8080) i.e. it is looking on its local directory and has replaces the port number.
Hence it is failing.
The url I m reading from my properties file(on the machine where application is running).
Just for information Tomcat version is 3.2.1
Can anybody help me in knowing the error i m doing?
Thanks in advance.

- Varun
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962

I think that to get help, you'll need to show us some examples of how you're doing the "accessing".

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Problem in accesing...!!!
Similar Threads
problem with URL of the application but works fine with Localhost:port
Why this application hangs up?
How to access dynamic content from IBM HTTP server
Passing Structures of c to sockets of Java
Problem in accessing app through URL(Through IIS) but working fine with localhost