• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Cannot Migrate Struts Application To Portal

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and cow tipper
Posts: 5009
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
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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where do I get the blankStrutsPortlet.war??
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic