[JBoss Seam] - Re: Stateful session bean component should have a method mar
by jarkko@jab.fi
Yep,
the Bean was OK all the time:
@Stateful
| @Name("MySfsb")
| @Scope(ScopeType.SESSION)
| public class MySfsbAction implements MySfsb, Serializable {
|
I guess there's some really weird class(loading,corruption,loader,etc,name your poison) related problem. I actually managed to archive my goals: Seam EJB3 Portlet (no facelets atm) packaged as EAR and deployed and working with Liferay (Prof edition, no EJBs) repacked as an EAR also. This is with the latest Seam code from CVS, but it could work also with the latest 1GA, as i suspect that it's all about typing the correct XML-configuration to get it working. But i'm happy now. Next challenge is to get Eclipse's BIRT reports to work in the same environment (as an portlet or inside other portlets).
br,
jarkko
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969621#3969621
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969621
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - Error Displaying Date Values in JSTL 1.1
by buttmanizer
Good Day to all.
i am having this error:
2006-09-06 09:02:32,014 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myhro].[action]] Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: ServletException in '/WEB-INF/view/tiles/defaultLayout.jsp': ServletException in '/WEB-INF/view/default/employeeMainPage.jsp': Unparseable date: "${timeInOutDetail.inOutDate}"; - nested throwable: (java.text.ParseException: Unparseable date: "${timeInOutDetail.inOutDate}")
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
at org.apache.jsp.WEB_002dINF.view.default_.employeeMainLayout_jsp._jspx_meth_tiles_insert_0(org.apache.jsp.WEB_002dINF.view.default_.employeeMainLayout_jsp:87)
at org.apache.jsp.WEB_002dINF.view.default_.employeeMainLayout_jsp._jspService(org.apache.jsp.WEB_002dINF.view.default_.employeeMainLayout_jsp:60)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
Can anyone help?
im using jboss-4.0.3SP1 and JSTL 1.1.
The source code of jsp from which the error occurs:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts/html" prefix="html"%>
<%@ taglib uri="/struts/bean" prefix="bean"%>
<%@ taglib uri="/struts/logic" prefix="logic"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<jsp:useBean id="employeeWorkInfo" type="com.chiyoda.myhro.helper.employee.work.EmployeeWorkInfo" scope="session"/>
<jsp:useBean id="timeInOutDetails" type="com.chiyoda.myhro.helper.timetrans.TimeInOutDetails" scope="session"/>
<c:forEach var="timeInOutDetail" items="${sessionScope.timeInOutDetails}">
<fmt:formatDate value="${timeInOutDetail.inOutDate}" dateStyle="medium" />
<fmt:formatDate value="${timeInOutDetail.timeIn}" dateStyle="medium" />
<fmt:formatDate value="${timeInOutDetail.timeOut}" dateStyle="medium" />
</c:forEach>
Thanks and hope to hear from you soonest.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969613#3969613
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969613
19 years, 7 months