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 BEA/Weblogic and the fly likes Problems during struts application migration from weblogic 6.1 to weblogic 8.1 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 » BEA/Weblogic
Bookmark "Problems during struts application migration from weblogic 6.1 to weblogic 8.1" Watch "Problems during struts application migration from weblogic 6.1 to weblogic 8.1" New topic
Author

Problems during struts application migration from weblogic 6.1 to weblogic 8.1

smyle khanna
Ranch Hand

Joined: Jan 14, 2004
Posts: 54
Hi,

I'm trying to migrate struts application from weblogic 6.1 to weblogic 8.1.After deploying the application when i try to access it.Its throwing a page not found error.

From a index.jsp it should redirect to a login.do which is not happening
the code of
index.jsp


in struts-config.xml this page is declared.


Its not entering this LoginAction which is a servlet.

Please can any1 tell me what changes needs to be done while migrating struts from 6.1 to 8.1.

thanks in advance
Smyle
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Did you check the logs?
There is compatability issues in both versions.
smyle khanna
Ranch Hand

Joined: Jan 14, 2004
Posts: 54
In the logs when i access the link it gives
"Found no context for "/Login.do".This request does not match the context path for any installed web applications, and there is no default web application configured."


Plz help
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Weblogic couldnt identify the domain you created. Make a new domain and deploy. Check whether it works or not/
smyle khanna
Ranch Hand

Joined: Jan 14, 2004
Posts: 54
Hi Sunitha..

I tired creating a seperate domain and deploying the application but still the same error is showing up.

I'm not able to figure it out.

Plz advice
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Can you check your config.xml file
Ajay Reddy
Ranch Hand

Joined: Apr 08, 2005
Posts: 43
From the error it looks like you have not configured a web application. Check your config.xml file. You should see something like this ---

<Application Name="yourWebApp" Path="C:\yourProject\app"
TwoPhase="true">
<WebAppComponent Name="yourWebAppName" Targets="myserver"
URI="LocationOfYourWarFile"/>
</Application>

Check the "URI" location and also the "Path" where your war (or jsp's and html files) file is located.

Hope this helps.
 
jQuery in Action, 2nd edition
 
subject: Problems during struts application migration from weblogic 6.1 to weblogic 8.1
 
Similar Threads
err: The requested resource (/Login.do) is not available.
Remove form fields from URL during forward
Logging off user (Struts)
Security Constraint problem
Cannot find ActionMappings or ActionFormBeans collection