• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot Migrate Struts Application To Portal

 
Anita Ganga
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to migrate a struts Applciation to Portal using Struts Portlet FrameWork.
I get this exception <code>NoClassDefFoundError: /ibm/servlet/dynacache/EntryInfo No message text associated with key Servlet.com.ibm.wps.portlets.struts.WpsStrutsPortlet.was.found,.but.is.missing.another.required.class.
This.error.typically.implies.that.the.servlet.was.originally.compiled.with.classes.which.cannot.be.located.by.the.server.
Check.your.classpath.to.ensure.that.all.classes.required.by.the.servlet.are.present.
..This.problem.canbe.debugged.by.recompiling.the.servlet.using.only.the.classes.in.the.application's
</code>
I think I might be missing any jar file.
Appreciate any help on that
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you deploy a vanilla, HelloWorld struts app to your portal. If it's an IBM WebSphere Portal, you should be able to install the blankstrutsportlet.war

See if the basic, blank struts war file can be deployed to the portal server first. Then lets go from there.
 
Anita Ganga
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where do I get the blankStrutsPortlet.war??
 
Chaitanya Kommidi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would check with a simple portlet to begin with

If it is a Websphere portal I would go with the example given in IBM Redbooks http://www.redbooks.ibm.com/redbooks/SG246681/wwhelp/wwhimpl/java/html/wwhelp.htm
Look at chapter 13 and 14 carefully , they go through the process of creating a "struts based portal".This might help for a simple portal.

But if it is not a Websphere portal make sure that the example is not using the Webshphere API .(Will not work on non-websphere)
 
Anita Ganga
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chaitanya,
The document you suggested refers to using RAd. But I am using WSAd which doesnot provide the flexibiltiy of creating the the Struts-Portlet project which would inturn provide all the taglibs and jars needed for that to work.

Though I followed the steps mentioned there to see if I am missing nay thing in my project.

Everything looks fine.
The only thing I am in dark is the jar files that are needed.

Can anyone please provide me with list of the jars needed for this to work.

Thanks,
Anita
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic