Hi All, I have Struts based portlet running on a WebSpher Portal V5.0. This portlet has a upload feature which works fine for all files except for one particular PDF. When I try to upload this file I get a HTTP 500 servlet error. I am unable to find any trace of this error in any of the logs. I use ... |
|
Error page is in portlet. I am using IBM Portal Server, It lets you define Rules specific to a page for example on click of any action I can return a value from method in backing bean and create a Rule for e.g. If return value is "Failure" then goto "ErrorPage.jsp". And this approach is working so it means ErrorPage is ... |
|
Here's a tutorial that demonstrates how to create and develop a simple JSR168 portlet using Notepad, the JDK and JetSpeed2 Creating, Compiling and Deploying a Simple JSR-168 Portlet using JetSpeed2 Regardless of whether you are using JetSpeed2 or not, this tutorial demonstrates how to add the appropriate jar files to your classpath, and allow your portlet to run. The appropriate libraries ... |
I am trying to run a portlet on uPortal with struts 2 and i am getting follwing error. Cant make any sense out of it. 007-05-23 13:05:35,387 ERROR [org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher] - No result defined for action au.edu.vu.portlets.examination.action.ExaminationInitialSetupAction and result /jsp/common/failure.jsp - action - file:/usr/share/tomcat5.5/webapps/myVuApplPortletsS2/WEB-INF/classes/struts.xml:25:81 at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:345) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50) at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427) at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render(Jsr168Dispatcher.java:305) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:205) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145) ... |
Hi , I am using Dynamic UI Manager service to launch dynamic portlets, but it is throwing the following exception com.ibm.wps.dynamicui.impl.DynamicUIManagementExceptionImpl: EJPTP6039E: The configuration name specified does not exist. The above exception is occurring at the line where i am calling the getDynamicUICtrl() method of DynamicUIManagementFactoryService. Please help me out, it's high priority!!! |
|
|
i wrote the following code public class EmailException { static String email=""; // consttructor. EmailException(String email) { if( !isValidEmail(email)) System.out.println("Your Email must contain @ character!!"); //System.exit(0); else if(!appearTwice(email)) { System.out.println("Your Email Address is Valid"); } else { System.out.println("Two @ character can't be in an email address"); } } //end of constructor. // main method public static void main(String args[]) { EmailException ... |
Hi, I have written the following code which is linked to a button in my portlet. package com.ext.portlet.drpdwn.action; import com.liferay.portal.struts.PortletAction; import com.liferay.portal.util.Constants; import javax.portlet.WindowState; import javax.servlet.jsp.PageContext; import javax.portlet.ActionRequest; import javax.portlet.ActionResponse; import javax.portlet.PortletConfig; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.util.HashMap; import java.util.Map; import java.sql.*; import javax.portlet.PortletException; import net.sf.jasperreports.engine.*; import net.sf.jasperreports.engine.design.JasperDesign; import ... |
11. Error coderanch.comHi padma, I'm not sure whether this solution will work out or not? But try this. The NoClassDefFound error will come only under the following circumstances, 1.Partial data lapse or improper installation of JVM in your m/c. 2.Improper setting of path variable in Environmental varaible section of your m/c. Rgds, Venkatesan A |
Could you please help to solve spatcherSer E com.ibm.wps.services.dispatcher.DispatcherServiceImpl handleRequest EJPFD0004E: The dispatcher call resulted in an error. javax.servlet.UnavailableException: SRVE0200E: Servlet [org.apache.jsp._SwitchBarInclude]: Could not find required servlet class - _SwitchBarInclude.class at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:449) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:215) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670) at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:87) at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:52) at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:45) at com.ibm.wps.engine.templates.themes.Default.render(Default.java:142) at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67) at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:322) at com.ibm.wps.engine.phases.WPRenderPhase.execute(WPRenderPhase.java:137) at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106) at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:93) at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:791) at com.ibm.wps.engine.Servlet.doGet(Servlet.java:629) at ... |
Good Morning All, I am new to this Forum . This is my first post. I am learning Portals using RAD 6.0, Websphere Portal V5.1 , JSR 168 Portlets . I have installed RAD 6.0 and Webpshere Portal Server V5.1 from IBM PartnerWorld . I have tested JSR 168 Portlet application succesfully with the 5.1 test environment. I logged into http://localhost:9081/wps/myportal ... |
HI All I am getting the following exception while starting the Websphere Portal Server v5.1. *** Starting the server *** java.io.IOException: Can't connect at com.ibm.etools.websphere.tools.runner.CommonServerRunner$Communicator.run(CommonServerRunner.java:114) at java.lang.Thread.run(Thread.java:568) When I click on start the server the above error comes. But after some time(10 min approx) the server is getting started. In the server view the server status is "Stopped" , but still ... |
Presenting a scenario where I need this: Lets say, MQ server or DB server is down and I get some exception, I cast that into CustomException and throw it up, at last the whole error stack gets displayed at screen. How to approach this situation? One solution I found is (valid for page flow portlets in weblogic): In every method of ... |
I and a coworker are writting a JSR 168 portlet. The Portlet currently it takes in takes data in, uses apache commons validator to validate the data. We are restricted to only use sun's JSTL. so the simple solution of converting them to ActionErrors and using the Struts "" tag is out. My problem is how do I spit out the ... |
Hi, I am getting JSPG0036E: Failed to find resource /.IncludeTest/page1.jsp error when I am trying to clude page1.jsp in my portlet. Below is the code: page1.jsp is present in WebContent folder. However its not being detected. .IncludeTest is the context root of the project. Could any one point whats the issue ? --Ayub |
HI All, I developed a portal using spring portlet MVC on jetspeed portal server on linux platform. The login page has a multimedia animation (.swf file). Sometimes when i access the portal from outside, it gives below error. ****************error ******************** type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: ... |
|
|
Hello, I have further fixed the problem I got previously, and now there is a new error exception when I was deploying the Spring (3.0) war file to Liferay. Environment: Liferay 5.2.8 EE SP4, Tomcat 6.0.18, Mysql 5.5.1, FreeBSD 8.1, AMD64, 8GB Ram. Project: Spring 3.0, Maven. Here is the complete log (included error) during deployment: 2011-07-01 06:58:58,399 [INFO ] [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner] ... |
|
|