Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- upgrade 3.2 - > 3.2.1 process definition problem

- upgrade 3.2 - > 3.2.1 process definition problem

2007-07-13       - By ricardomarques

 Back
Hi guys, i recently had upgrade jbpm, but there is a problem on listing process
definitions.

I had this piece of code working:

Command cmd = new GetProcessDefinitionCommand(true);
 |         DataModel model = null;
 |        
 |         try {
 |             List l = (List)getEngine().execute(cmd);
 |             model = new ListDataModel(l);
 |         }
 |         catch (Exception ex) {
 |             ex.printStackTrace();
 |         }
 |         finally{
 |             return model;
 |         }
 |

and after the update, there is no class GetProcessDefinitionCommand, only
GetProcessDefinitionsCommand. So I changed, and I get a lot of these exceptions
while listing:

17:11:50,468 WARN  [AbstractGetObjectBaseCommand] exception while retrieving
process instance data for process definiton novo teste
 | java.lang.NullPointerException Source code of java.lang.NullPointerException
 |         at org.jbpm.command.AbstractGetObjectBaseCommand
.retrieveProcessDefinition(AbstractGetObjectBaseCommand.java:90)
 |         at org.jbpm.command.GetProcessDefinitionsCommand.execute
(GetProcessDefinitionsCommand.java:39)
 |         at com.pep.workflow.console.beans.JBPMEngine.execute(JBPMEngine
.java:130)
 |         at com.pep.workflow.console.beans.Process
.getLatestProcessDefinitions(Process.java:185)
 |         at com.pep.workflow.console.beans.Process.getProcessDefinitions
(Process.java:130)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.apache.myfaces.el.PropertyResolverImpl Source code of org.apache.myfaces.el.PropertyResolverImpl
(PropertyResolverImpl.java:438)
 |         at org.apache.myfaces.el.PropertyResolverImpl Source code of org.apache.myfaces.el.PropertyResolverImpl
(PropertyResolverImpl.java:82)
 |         at org.apache.myfaces.el.ELParserHelper Source code of org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate
(ELParserHelper.java:532)
 |         at org.apache.commons.el.ComplexValue Source code of org.apache.commons.el.ComplexValue(ComplexValue.java
:145)
 |         at org.apache.myfaces.el.ValueBindingImpl Source code of org.apache.myfaces.el.ValueBindingImpl(ValueBindingImpl
.java:383)
 |         at javax.faces.component.UIData Source code of javax.faces.component.UIData(UIData.java:1019)
 |         at org.apache.myfaces.component.html.ext.HtmlDataTableHack Source code of org.apache.myfaces.component.html.ext.HtmlDataTableHack
.createDataModel(HtmlDataTableHack.java:437)
 |         at org.apache.myfaces.component.html.ext.HtmlDataTable Source code of org.apache.myfaces.component.html.ext.HtmlDataTable
.createDataModel(HtmlDataTable.java:847)
 |         at org.apache.myfaces.component.html.ext.HtmlDataTableHack Source code of org.apache.myfaces.component.html.ext.HtmlDataTableHack
.getDataModel(HtmlDataTableHack.java:414)
 |         at org.apache.myfaces.component.html.ext.HtmlDataTable Source code of org.apache.myfaces.component.html.ext.HtmlDataTable
(HtmlDataTable.java:839)
 |         at org.apache.myfaces.component.html.ext.HtmlDataTableHack Source code of org.apache.myfaces.component.html.ext.HtmlDataTableHack
.getRowCount(HtmlDataTableHack.java:87)
 |         at org.apache.myfaces.shared_tomahawk.renderkit.html
.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:221)
 |         at org.apache.myfaces.shared_tomahawk.renderkit.html
.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:134)
 |         at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer Source code of org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer
.encodeChildren(HtmlTableRenderer.java:187)
 |         at javax.faces.component.UIComponentBase Source code of javax.faces.component.UIComponentBase
(UIComponentBase.java:524)
 |         at javax.faces.webapp.UIComponentTag Source code of javax.faces.webapp.UIComponentTag(UIComponentTag
.java:480)
 |         at javax.faces.webapp.UIComponentTag Source code of javax.faces.webapp.UIComponentTag(UIComponentTag.java
:361)
 |         at org.apache.myfaces.shared_tomahawk.taglib.UIComponentBodyTagBase
.doEndTag(UIComponentBodyTagBase.java:57)
 |         at org.apache.jsp.pages.process.definitions_jsp._jspx_meth_t
_dataTable_0(definitions_jsp.java:655)
 |         at org.apache.jsp.pages.process.definitions_jsp._jspx_meth_h_form_0
(definitions_jsp.java:221)
 |         at org.apache.jsp.pages.process.definitions_jsp._jspService
(definitions_jsp.java:140)
 |         at org.apache.jasper.runtime.HttpJspBase Source code of org.apache.jasper.runtime.HttpJspBase(HttpJspBase.java
:97)
 |         at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:810)
 |         at org.apache.jasper.servlet.JspServletWrapper Source code of org.apache.jasper.servlet.JspServletWrapper
(JspServletWrapper.java:334)
 |         at org.apache.jasper.servlet.JspServlet Source code of org.apache.jasper.servlet.JspServlet(JspServlet
.java:314)
 |         at org.apache.jasper.servlet.JspServlet Source code of org.apache.jasper.servlet.JspServlet(JspServlet.java:264)
 |         at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:810)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:252)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:173)
 |         at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher
(ApplicationDispatcher.java:672)
 |         at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher
(ApplicationDispatcher.java:463)
 |
 |         at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher
(ApplicationDispatcher.java:398)
 |         at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher
(ApplicationDispatcher.java:301)
 |         at org.apache.myfaces.context.servlet.ServletExternalContextImpl Source code of org.apache.myfaces.context.servlet.ServletExternalContextImpl
.dispatch(ServletExternalContextImpl.java:416)
 |         at org.apache.myfaces.application.jsp.JspViewHandlerImpl Source code of org.apache.myfaces.application.jsp.JspViewHandlerImpl
(JspViewHandlerImpl.java:234)
 |         at org.apache.myfaces.lifecycle.LifecycleImpl Source code of org.apache.myfaces.lifecycle.LifecycleImpl(LifecycleImpl
.java:384)
 |         at javax.faces.webapp.FacesServlet Source code of javax.faces.webapp.FacesServlet(FacesServlet.java:138)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:252)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:173)
 |         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter
(ExtensionsFilter.java:147)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:202)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:173)
 |         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
(ReplyHeaderFilter.java:96)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:202)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:173)
 |         at org.apache.catalina.core.StandardWrapperValve Source code of org.apache.catalina.core.StandardWrapperValve
(StandardWrapperValve.java:213)
 |         at org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve
(StandardContextValve.java:178)
 |         at org.jboss.web.tomcat.security.SecurityAssociationValve Source code of org.jboss.web.tomcat.security.SecurityAssociationValve
(SecurityAssociationValve.java:175)
 |         at org.jboss.web.tomcat.security.JaccContextValve.invoke
(JaccContextValve.java:74)
 |         at org.apache.catalina.core.StandardHostValve Source code of org.apache.catalina.core.StandardHostValve
(StandardHostValve.java:126)
 |         at org.apache.catalina.valves.ErrorReportValve Source code of org.apache.catalina.valves.ErrorReportValve
(ErrorReportValve.java:105)
 |         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke
(CachedConnectionValve.java:156)
 |         at org.apache.catalina.core.StandardEngineValve Source code of org.apache.catalina.core.StandardEngineValve
(StandardEngineValve.java:107)
 |         at org.apache.catalina.connector.CoyoteAdapter Source code of org.apache.catalina.connector.CoyoteAdapter
(CoyoteAdapter.java:148)
 |         at org.apache.coyote.http11.Http11Processor Source code of org.apache.coyote.http11.Http11Processor(Http11Processor
.java:869)
 |         at org.apache.coyote.http11.Http11BaseProtocol Source code of org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 |         at org.apache.tomcat.util.net.PoolTcpEndpoint Source code of org.apache.tomcat.util.net.PoolTcpEndpoint
(PoolTcpEndpoint.java:527)
 |         at org.apache.tomcat.util.net.MasterSlaveWorkerThread Source code of org.apache.tomcat.util.net.MasterSlaveWorkerThread
(MasterSlaveWorkerThread.java:112)
 |         at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)
 |

I suppose there's some problem here and something missing on the release notes.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4064074#4064074

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4064074
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.