File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems during struts application migration from weblogic 6.1 to weblogic 8.1