aspose file tools*
The moose likes Portals and Portlets and the fly likes Migrating Web-App from Portal 5.0 to Protal 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Migrating Web-App from Portal 5.0 to Protal 6.0" Watch "Migrating Web-App from Portal 5.0 to Protal 6.0" New topic
Author

Migrating Web-App from Portal 5.0 to Protal 6.0

Sunil Tandon
Greenhorn

Joined: Jun 25, 2007
Posts: 9
Hi All,
I am facing problems running a Web App that runs fine with WebSphere Portal V5.1 Server, but giving problems with WebSphere Portal V6.0 Server. Can anyone please guide me out of this? Its really urgent and nobody in my team knows how to migrate an application from Portal 5.0 to Portal 6.0.
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

Can you post the error?

There are some problem of trasnferring from 5.1 to 6.0.
I suggest to regenerate all the depoloyment desripter of 6.0 instead of reusing them from 5.1.
Sunil Tandon
Greenhorn

Joined: Jun 25, 2007
Posts: 9
Hi,

Previously till Yesterday I was trying to checkout an existing project developed on RAD6/Portal5.1 on my machine that now contains RAD7/Portal6.0. I was getting errors that some of the API's are deprecated. But Today I tried something different.I created a new Struts Portlet and copied all the java source code files along with all the files under WEB Contents of the old project into my new portlet project. Now I can bring up the server and also the application is up and running. But now I am facing another problem with DWR-Calls. Now the container is not able to recognize the DWR calls :: Getting this error::

"The following exception was logged java.io.IOException: Missing config file: 'WEB-INF/dwr-common.xml' "

I searched for the file and its very much there in the specified location. Do I need to change my Portlet.XML settings to read the files or do I need to look into WEB.XML for the initial Servlet calls?? please suggest.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

My guess is that the classes that need that xml file are packaged in a JAR file that is being read by a different classloader, and as such, that classloader can't look down and read the xml file that is in the domain of a sibling classloader.

Changing a classloader config to PARENT_LAST to PARENT_FIRST might be one way to do a quick check to see if it's a classloader problem. I bet it is.

-Cameron McKenzie
Sunil Tandon
Greenhorn

Joined: Jun 25, 2007
Posts: 9
I verified the same in the application.xml but it was already set to PARENT_FIRST. But finally I fixed the issue by adding a forward slash '/' for the corresponding XML files in the deployment descriptor. This way I managed to run my application in Portal 6.0. Thanks....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Migrating Web-App from Portal 5.0 to Protal 6.0
 
Similar Threads
In Context Editing in WCM 6.0
Difference between WAS 6.0 and its previous versions
Migrating portal 5.0 web app to portal 6.0
portal server vs application server
Migrating portal 5.0 web app to portal 6.0