File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17421

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

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Problem in accesing...!!!
It's not a secret anymore!