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.
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.
Joined: Jun 25, 2007
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.
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.
Joined: Jun 25, 2007
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....