After further tweaking on the build.xml, I was able to get the webapp console to come up! I'm using jBPM 3.1.2.
In my earlier attempts, I manually loaded the DB schema with the sql script for oracle. But didn't have any data loaded. So I modified the ant task "create.db" to work against oracle so it would load the schema, load the identities, and a sample process. I'm able to login as "cookie monster", and see the "Start New Process Execution" list. When I click on the "create new web sale order" link, I get the following error... 500 Internal Server Error | OracleJSP: | | JSP Error: | | Request URI:/jbpm/task.jsp | | Exception: | java.lang.NullPointerException | the log mentions something about the UIViewRoot id="NULL" ??? Here is the log... 15:26:32,832 [HttpRequestHandler-11023888] DEBUG LogFilter : request http://localhost:8888/jbpm/faces/home.jsp | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : request parameter [linkDummyForm:_link_hidden_]=_id14_0:_id17 | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : request parameter [processDefinitionId]=141 | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [EMAIL PROTECTED] | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [javax.faces.request.charset]=ISO-8859-1 | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [taskFormParameters]=[(item,null), (quantity,null), (address,null)] | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [EMAIL PROTECTED] | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/search_instances.jsp]=[Ljava.lang.Object;@f61227 | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [EMAIL PROTECTED] | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/process_instances.jsp]=[Ljava.lang.Object;@e0f945 | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/home.jsp]=[Ljava.lang.Object;@6812d | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG JbpmContextInfo : creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG JbpmContext : creating JbpmContext | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG ServletExternalContextImpl : Incoming request has Content-Type header without character encoding: application/x-www-form-urlencoded | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering restoreView in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG JspStateManagerImpl : Tree structure restored from server session | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting restoreView in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering applyRequestValues in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG DbPersistenceServiceFactory : creating persistence service | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG DbPersistenceService : creating hibernate session | 15:26:32,879 [HttpRequestHandler-11023888] DEBUG DbPersistenceService : beginning hibernate transaction | 15:26:32,895 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting applyRequestValues in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,895 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering processValidations in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting processValidations in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering updateModelValues in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting updateModelValues in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering invokeApplication in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:32,926 [HttpRequestHandler-11023888] DEBUG GraphElement : event 'process-start' on 'ProcessDefinition(simple)' for 'Token(/)' | 15:26:32,957 [HttpRequestHandler-11023888] WARN StatefulPersistenceContext : Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks == | 15:26:32,973 [HttpRequestHandler-11023888] DEBUG TaskController : creating task instance variable 'color' from process variable 'color', value 'null' | 15:26:32,973 [HttpRequestHandler-11023888] DEBUG VariableContainer : create variable 'color' in 'TaskInstance[start]' with value 'null' | 15:26:32,973 [HttpRequestHandler-11023888] DEBUG TaskController : creating task instance variable 'size' from process variable 'size', value 'null' | 15:26:32,973 [HttpRequestHandler-11023888] DEBUG VariableContainer : create variable 'size' in 'TaskInstance[start]' with value 'null' | 15:26:32,973 [HttpRequestHandler-11023888] DEBUG GraphElement : event 'task-create' on 'Task(start)' for 'Token(/)' | 15:26:32,989 [HttpRequestHandler-11023888] DEBUG GraphElement : event 'task-assign' on 'Task(start)' for 'Token(/)' | 15:26:32,989 [HttpRequestHandler-11023888] DEBUG Services : executing default save operations | 15:26:32,989 [HttpRequestHandler-11023888] DEBUG HibernateSaveOperation : saving process instance | 15:26:33,004 [HttpRequestHandler-11023888] DEBUG SaveLogsOperation : flushing logs to logging service. | 15:26:33,036 [HttpRequestHandler-11023888] DEBUG CascadeSaveOperation : cascading save of '[EMAIL PROTECTED]' | 15:26:33,036 [HttpRequestHandler-11023888] DEBUG TaskBean : initialized availableTransitions null | 15:26:33,036 [HttpRequestHandler-11023888] DEBUG NavigationHandlerImpl : handleNavigation fromAction=#{homeBean.startProcessInstance} outcome=task toViewId =/task.jsp redirect=false | 15:26:33,036 [HttpRequestHandler-11023888] DEBUG JspViewHandlerImpl : Created view /task.jsp | 15:26:33,036 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting invokeApplication in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:33,051 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering renderResponse in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:33,051 [HttpRequestHandler-11023888] DEBUG JspViewHandlerImpl : Dispatching to /task.jsp | 15:26:33,114 [HttpRequestHandler-11023888] DEBUG DebugUtils : View after rendering | ======================================== | | <UIViewRoot id="NULL" family="javax.faces.ViewRoot" locale="en" | renderKitId="HTML_BASIC" rendered="true" rendererType="NULL" | rendersChildren="false" transient="false" viewId="/task.jsp"/> | | ======================================== | | 15:26:33,114 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting renderResponse in org.apache.myfaces.lifecycle.LifecycleImpl | 15:26:33,129 [HttpRequestHandler-11023888] DEBUG JbpmContext : closing JbpmContext | 15:26:33,129 [HttpRequestHandler-11023888] DEBUG Services : closing service 'persistence': [EMAIL PROTECTED] | 15:26:33,129 [HttpRequestHandler-11023888] DEBUG DbPersistenceService : committing hibernate transaction | 15:26:33,192 [HttpRequestHandler-11023888] DEBUG DbPersistenceService : closing hibernate session | 15:26:33,192 [HttpRequestHandler-11023888] DEBUG Services : closing service 'logging': [EMAIL PROTECTED] | 15:26:33,192 [HttpRequestHandler-11023888] DEBUG Services : closing service 'authentication': [EMAIL PROTECTED] | Thanks for any help, Chad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966544#3966544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966544 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
