File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Problem in deploying Portlets On Jetspeed2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Problem in deploying Portlets On Jetspeed2" Watch "Problem in deploying Portlets On Jetspeed2" New topic
Author

Problem in deploying Portlets On Jetspeed2

Madhu Chavva
Greenhorn

Joined: May 03, 2010
Posts: 4
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

Joined: May 03, 2010
Posts: 4
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in deploying Portlets On Jetspeed2