wood burning stoves*
The moose likes BEA/Weblogic and the fly likes problem with URL of the application but works fine with Localhost:port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "problem with URL of the application but works fine with Localhost:port" Watch "problem with URL of the application but works fine with Localhost:port" New topic
Author

problem with URL of the application but works fine with Localhost:port

VishalVikrant Singh
Greenhorn

Joined: Nov 06, 2007
Posts: 4
Hi,

My application is struts based running in tomcat. Recently i migrated the application from tomcat to weblogic 8.1 SP4.

In weblogic, application is working fine with localhost:7000

But if I try to access the application through test.mydomain.com(Actual URL)
then application throws 403 error.


What more I found that when there is any forward in the action class, application repeats the previous URL(Not picking the forward path)

For ex
http://test.mydomain.com/test/logon.do
method being is added to it and URL becomes

http://test.mydomain.com/test/logon.do?m=begin

Control goes inside begin method and find the forward say success. Control goes to struts-config and then forward path is
/myAction.do?m=begin

At this point, application still forward the request to previous link
http://test.mydomain.com/test/logon.do?m=begin

and goes in loop.

The whole process works fine with
http://localhost:7000/test/logon.do

I have done all necessary configuration changes to the wlforward.ini and iisproxy.ini.

have added iispforward.dll into filter of IIS.

Still facing problem.


Please suggest me a solution.
Please let me know if more information is required to understand the issue.

help will be appriciated.

Thanks in advance.


Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with URL of the application but works fine with Localhost:port
 
Similar Threads
my first servlet please help.
Problem in accessing app through URL(Through IIS) but working fine with localhost
Websphere Admin URl
// (double slash) problem in redirect forward with weblogic
// (double slash) problem in redirect forward with weblogic