my dog learned polymorphism*
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
 
Don't get me started about those stupid light bulbs.
 
subject: problem with URL of the application but works fine with Localhost:port