File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems during struts application migration from weblogic 6.1 to weblogic 8.1

 
smyle khanna
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 937
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check the logs?
There is compatability issues in both versions.
 
smyle khanna
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 937
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic couldnt identify the domain you created. Make a new domain and deploy. Check whether it works or not/
 
smyle khanna
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 937
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you check your config.xml file
 
Ajay Reddy
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic