• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in deploying Portlets On Jetspeed2

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm very new to Jetspeed2 programming.
As I'm blogging around for a start up, I found a very useful post from Cameron which redirects to the link.

http://studyguides.scja.com/jsr168/399test829mockexamsportletdevelopmentbooks.jsp?link=multi002poormansportlet

I've downloaded HelloWorldPortlet.war and ImageDisplay.war and placed them in my ${JetspeedInstallationDir}/WEB-INF/deploy and I see them getting deployed on Tomcat. But I could not see these portlets on page.

I tried hitting http://localhost:8080/ImageDisplay/portal to view them. But I'm having feast of 404 Errors.
But if i try hitting http://localhost:8080/ImageDisplay/index.jsp, it is giving a JSP parsing exception which means that WAR is deployed on it.

But why am i unable to see the deployed portlet??? Any other URL to be hit or anything wrong that I did???

Please do help me I'm really running out of time..

 
Madhu Chavva
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Exception Log is...

org.apache.jetspeed.components.portletregistry.RegistryException: Error starting portlet application ImageDisplay
org.apache.jetspeed.components.portletregistry.RegistryException: Error starting portlet application ImageDisplay
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.attemptStartPA(PortletApplicationManager.java:683)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.tryStartPortletApplication(PortletApplicationManager.java:244)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy33.tryStartPortletApplication(Unknown Source)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.retryStartPortletApplication(PortletApplicationManager.java:214)
at org.apache.jetspeed.tools.pamanager.PortletApplicationManager.startPortletApplication(PortletApplicationManager.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy33.startPortletApplication(Unknown Source)
at org.apache.jetspeed.container.JetspeedContainerServlet.attemptStart(JetspeedContainerServlet.java:207)
at org.apache.jetspeed.container.JetspeedContainerServlet$1.run(JetspeedContainerServlet.java:173)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
13.05.2010 21:42:37 ERROR [org.apache.jetspeed.tools.pamanager.PortletApplicationManager$DescriptorChangeMonitor.checkDescriptorChanges():1102] Max number of retries (10) reached. Ignoring Monitor for ImageDisplay


What is going wrong ...please suggest.
 
reply
    Bookmark Topic Watch Topic
  • New Topic