• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Migrating Web-App from Portal 5.0 to Protal 6.0

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 671
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic