Skip to main content

Can't get started

  20 posts   Feedicon  
Replies: 19 - Last Post: August 21, 2012 18:53
by: Ralph
showing 1 - 20 of 20
Posted: August 09, 2012 17:51 by AsgarSerran
I tried really all I found, but I can't get started with Imixs.
Tutorials:
http://www-02.imixs.com/roller/imixsworkflow/entry/bpm_solutions_using_java_ee
and
this one
http://www.imixs.org/roller/imixsworkflow/entry/building_a_imixs_workflow_webapp

then the get started from hp. Nothing worked. Despite which version of Imixs or sample I use. They all throw exceptions. I try to bild my own Workflowapplication based on the newest version from http://java.net/projects/imixs-workflow/sources/svn/show/imixs-workflow-samples/imixs-workflow-web-sample/trunk
I work with GlassFish Server 3.1.2 for Windows and build my own war file from the unchanged source-code from the svn linked above. Finally the startpage shows up.
But when I click any link, a exception is thrown:
Home: no match for home found.
Team: javax.ejb.EJBException
with stacktrace: org.imixs.workflow.exceptions.InvalidAccessException: [EntityService] Error findAllEntities: 'SELECT DISTINCT wi FROM Entity AS wi WHERE wi.type= 'team' ORDER BY wi.created desc'
create Ticket: javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
Tasklist: same exception as by Team

I must say, it has been long since I programmed java, I prefer c# with .net, wpf, asp.net, and so on. Jee jpa, jsp and so on are new to me. I had to find out, that these strange selects are from jpa, and not a mistake in the framework. Which first shocked me.

Nothing more to say. Please help me to get started with this.

Thanks to all.
Posted: August 11, 2012 08:07 by Ralph
Hi,
Have you checked your database if the workflow related tables where created from EclipseLink during deployment? You should see 15 tables there (like ENTITY, WRITEACCESS, READACCESS ...)
Also it is important that you authenticate the first time with a user having the access role 'org.imixs.ACCESSLEVEL.MANAGERACCESS' to initialize the workflow instance.

Please post also you server log file output when you click on the link 'Teamlist' or 'Tasklist'. So we can see what is going wrong in GlassFish.

===
Ralph
Posted: August 11, 2012 10:00 by AsgarSerran
I've got the imixsrealm in security realms and login with the user 'Manfred' who is in the group
'IMIXS-WORKFLOW-Manager'. I configured all how it was described in the tutorials, but I think they are a bit outdated.
The tables are created in my local MySQL Database. But there were created when I deploy the war file from the download section. My self created war file with maven install doesn't create any tables. When I drop them, they will not be created again with my war file.
The user for the database has all rights needed, otherwise he could not create the tables with the first war file. So I thought my imixs_db_pool must be correct. The ping is successful.


1161 WARNING javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 11:56:00.217 _ThreadID=85;_ThreadName=Thread-2;
1160 WARNING A system exception occurred during an invocation on EJB EntityService, method: public java.util.List... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 11:56:00.217 _ThreadID=85;_ThreadName=Thread-2;
1159 SEVERE Error Rendering View[/pages/config/teamlist.xhtml] javax.el.ELException: /pages/config/teamlist.xhtm... (details) javax.enterprise.resource.webcontainer.jsf.application 11.08.2012 11:56:00.213 _ThreadID=85;_ThreadName=Thread-2;
1158 WARNING javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 11:56:00.211 _ThreadID=85;_ThreadName=Thread-2;
1157 WARNING A system exception occurred during an invocation on EJB EntityService, method: public java.util.List... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 11:56:00.211 _ThreadID=85;_ThreadName=Thread-2;
1156 SEVERE ... 83 more(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.209 _ThreadID=85;_ThreadName=Thread-2;
1155 SEVERE at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.jav... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.209 _ThreadID=85;_ThreadName=Thread-2;
1154 SEVERE at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.209 _ThreadID=85;_ThreadName=Thread-2;
1153 SEVERE at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.209 _ThreadID=85;_ThreadName=Thread-2;
1152 SEVERE at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.209 _ThreadID=85;_ThreadName=Thread-2;
1151 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1150 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1149 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1148 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1147 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1146 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1145 SEVERE at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.ja... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1144 SEVERE at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:1... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.208 _ThreadID=85;_ThreadName=Thread-2;
1143 SEVERE at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1142 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1141 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1140 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1139 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1138 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1137 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1136 SEVERE at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:42)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.207 _ThreadID=85;_ThreadName=Thread-2;
1135 SEVERE at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1134 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1133 SEVERE at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1132 SEVERE at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1131 SEVERE at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1130 SEVERE at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1129 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.206 _ThreadID=85;_ThreadName=Thread-2;
1128 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1127 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1126 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1125 SEVERE at org.imixs.workflow.jee.ejb.EntityService.addIndex(EntityService.java:559)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1124 SEVERE at com.sun.enterprise.container.common.impl.EntityManagerWrapper.find(EntityManagerWrapper.java:320)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1123 SEVERE at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:532)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1122 SEVERE at org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:648)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1121 SEVERE Caused by: java.lang.IllegalArgumentException: Unknown entity bean class: class org.imixs.workflow.j... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.205 _ThreadID=85;_ThreadName=Thread-2;
1120 SEVERE at java.lang.Thread.run(Thread.java:722)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1119 SEVERE at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1118 SEVERE at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1117 SEVERE at com.sun.grizzly.ContextTask.run(ContextTask.java:71)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1116 SEVERE at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1115 SEVERE at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1114 SEVERE at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1113 SEVERE at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.204 _ThreadID=85;_ThreadName=Thread-2;
1112 SEVERE at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1111 SEVERE at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1110 SEVERE at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1109 SEVERE at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1108 SEVERE at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1107 SEVERE at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1106 SEVERE at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1105 SEVERE at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.203 _ThreadID=85;_ThreadName=Thread-2;
1104 SEVERE at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1103 SEVERE at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1102 SEVERE at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1101 SEVERE at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1100 SEVERE at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1099 SEVERE at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1098 SEVERE at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.202 _ThreadID=85;_ThreadName=Thread-2;
1097 SEVERE at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1096 SEVERE at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1095 SEVERE at org.imixs.workflow.jee.faces.fileupload.MultipartRequestFilter.doFilter(MultipartRequestFilter.ja... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1094 SEVERE at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1093 SEVERE at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1092 SEVERE at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1091 SEVERE at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1090 SEVERE at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.201 _ThreadID=85;_ThreadName=Thread-2;
1089 SEVERE at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1088 SEVERE at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1087 SEVERE at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1086 SEVERE at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1085 SEVERE at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1084 SEVERE at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1083 SEVERE at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1082 SEVERE at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.200 _ThreadID=85;_ThreadName=Thread-2;
1081 SEVERE at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1080 SEVERE at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1079 SEVERE at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1078 SEVERE at javax.faces.component.UIData.encodeBegin(UIData.java:1118)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1077 SEVERE at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1076 SEVERE at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:81)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1075 SEVERE at javax.faces.component.UIData.setRowIndex(UIData.java:473)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.199 _ThreadID=85;_ThreadName=Thread-2;
1074 SEVERE at javax.faces.component.UIData.setRowIndexWithoutRowStatePreserved(UIData.java:484)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1073 SEVERE at javax.faces.component.UIData.getDataModel(UIData.java:1798)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1072 SEVERE at javax.faces.component.UIData.getValue(UIData.java:731)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1071 SEVERE at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1070 SEVERE at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1069 SEVERE at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1068 SEVERE at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1067 SEVERE at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.198 _ThreadID=85;_ThreadName=Thread-2;
1066 SEVERE at com.sun.el.parser.AstValue.getValue(AstValue.java:183)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1065 SEVERE at com.sun.el.parser.AstValue.getValue(AstValue.java:138)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1064 SEVERE at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1063 SEVERE at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1062 SEVERE at javax.el.BeanELResolver.getValue(BeanELResolver.java:363)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1061 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1060 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.197 _ThreadID=85;_ThreadName=Thread-2;
1059 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1058 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1057 SEVERE at org.imixs.application.jee.example.TeamController$Proxy$_$$_WeldClientProxy.getWorkitems(TeamContr... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1056 SEVERE at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1055 SEVERE at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1054 SEVERE at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1053 SEVERE at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:291)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1052 SEVERE at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:174)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.196 _ThreadID=85;_ThreadName=Thread-2;
1051 SEVERE at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:506)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1050 SEVERE at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1049 SEVERE at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1048 SEVERE at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1047 SEVERE at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1046 SEVERE at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1045 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1044 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.195 _ThreadID=85;_ThreadName=Thread-2;
1043 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1042 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1041 SEVERE at org.imixs.application.jee.example.TeamController.init(TeamController.java:85)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1040 SEVERE at org.imixs.workflow.jee.ejb.__EJB31_Generated__EntityService__Intf____Bean__.addIndex(Unknown Sour... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1039 SEVERE at $Proxy310.addIndex(Unknown Source)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1038 SEVERE at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHan... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1037 SEVERE at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.jav... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.194 _ThreadID=85;_ThreadName=Thread-2;
1036 SEVERE at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.193 _ThreadID=85;_ThreadName=Thread-2;
1035 SEVERE at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2045)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.193 _ThreadID=85;_ThreadName=Thread-2;
1034 SEVERE at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4901)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.193 _ThreadID=85;_ThreadName=Thread-2;
1033 SEVERE at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5113)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.193 _ThreadID=85;_ThreadName=Thread-2;
1032 SEVERE at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.193 _ThreadID=85;_ThreadName=Thread-2;
1031 SEVERE d.invoke(Method.java:601) at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJ... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.193 _ThreadID=85;_ThreadName=Thread-2;
1030 SEVERE javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.192 _ThreadID=85;_ThreadName=Thread-2;
1029 WARNING javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 11:56:00.191 _ThreadID=85;_ThreadName=Thread-2;
1028 WARNING A system exception occurred during an invocation on EJB EntityService, method: public void org.imixs... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 11:56:00.191 _ThreadID=85;_ThreadName=Thread-2;
1027 SEVERE ... 83 more(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.190 _ThreadID=85;_ThreadName=Thread-2;
1026 SEVERE at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.jav... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.190 _ThreadID=85;_ThreadName=Thread-2;
1025 SEVERE at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1024 SEVERE at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1023 SEVERE at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1022 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1021 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1020 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1019 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.189 _ThreadID=85;_ThreadName=Thread-2;
1018 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1017 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1016 SEVERE at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.ja... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1015 SEVERE at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:1... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1014 SEVERE at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1013 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1012 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861... (details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.188 _ThreadID=85;_ThreadName=Thread-2;
1011 SEVERE at java.lang.reflect.Method.invoke(Method.java:601)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1010 SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1009 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1008 SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1007 SEVERE at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:42)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1006 SEVERE at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1005 SEVERE at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1004 SEVERE at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.187 _ThreadID=85;_ThreadName=Thread-2;
1003 SEVERE at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.186 _ThreadID=85;_ThreadName=Thread-2;
1002 SEVERE at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)(details) javax.enterprise.system.std.com.sun.enterprise.server.logging 11.08.2012 11:56:00.186 _ThreadID=85;_ThreadName=Thread-2;

to 898 where it was deployed. Should I post all of them?

There are about 260 new logs after clicking on Teamlist. Please describe which one do you need.
Posted: August 11, 2012 11:53 by Ralph
It seems that there is something went wrong with the security.
But I agree with you that the tutorial from the blog is outdated.
So I updated the "Imixs workflow web sample" and also the model file "Ticket workflow example" in the Downloadsection
http://java.net/projects/imixs-workflow/downloads/directory/Samples

Please follow these steps to redeploy the latest version of the web sample :

1.) undeploy any existing imixs workflow app from your local Glassfish server
2.) remove all existing tables from your imixs database pool (using an mySQL admin tool, or simply drop and recreate the database))
3.) restart your GlassFish Server
4.) deploy the new web sample (0.0.7)
5.) upload the workflow model file (ticket.ixr) using the Imixs Workflow modeller plugin from Eclipse
6.) run the application from http://localhost:8080/workflow

please let me know if this works for you.
If you checkout the sources from the web sample application you will see that this new version of imixs workflow is based on JSF 2.0 and CDI and much more easy to use than older versions.

Please note that the database tables will only be crated during the deployment and not from the maven install.

===
Ralph
Posted: August 11, 2012 14:39 by AsgarSerran
this works, but when I click un teamlist and then add a new error occurs:
javax.el.MethodNotFoundException: /pages/config/teamlist.xhtml @70,28 action="#{teamlistController.create('team')}": Method create not found

the complete message from the log:
#{teamlistController.create('team')}: javax.el.MethodNotFoundException: /pages/config/teamlist.xhtml @70,28 action="#{teamlistController.create('team')}": Method create not found javax.faces.FacesException: #{teamlistController.create('team')}: javax.el.MethodNotFoundException: /pages/config/teamlist.xhtml @70,28 action="#{teamlistController.create('team')}": Method create not found at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:110) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) at org.imixs.workflow.jee.faces.fileupload.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722) Caused by: javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: /pages/config/teamlist.xhtml @70,28 action="#{teamlistController.create('team')}": Method create not found at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:92) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) ... 36 more Caused by: javax.el.MethodNotFoundException: /pages/config/teamlist.xhtml @70,28 action="#{teamlistController.create('team')}": Method create not found at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:109) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) ... 37 more

Is it just me, or are there allways mysterious exceptions? It's like programming SharePoint, a bit worse I think, I liked SharePoint.

Some more questions:
How do I creaty myself such a war file, which creates tables if needed, when deployed?
During development, every time I want to debug, I have to create a new war file, undeploy the old one, and deploy the new one? Isn't this inefficient? Is there a better way to develop with imixs and glassfish?

So far, thanks for all the help. I'm optimistic. I want and I will develop my workflow application. Just thanks for the help and I hope I could finally get started with programming. It has been two weeks of installation and fighting with those problems.

Stefan
Posted: August 11, 2012 16:25 by Ralph
Hi,
yes your are right - there was yet one bug with the create new list button.
In teamlist.xhtml replace:

<h:commandButton action="#{teamlistController.create('team')}" 
					value="#{global.add}">


with

<h:commandButton action="#{teamController.create('team')}" 
					value="#{global.add}">


I fixed it and updated the sources and also the download file.

You did not need to undeploy a new war file every time you build a new one. You just can redeploy it or simply move the war file into your glassfish autodeploy folder (GLASSFISH/domains/domain1/autodeploy)

The deployment is nothing special from Imixs workflow. This is just Java EE. There a different tools and IDEs which can be used to develop applications.
For faster development take a look at Mani-Hot-Deployment :
http://code.google.com/p/manik-hot-deploy/
Posted: August 11, 2012 17:11 by AsgarSerran
finally it works. Thank you very mutch. So lets encounter the next issue.
How to create such a war file on my own, to use the sample as a scaffolding for my own workflow application.
I checked out the files from http://java.net/projects/imixs-workflow/sources/svn/show/imixs-workflow-samples/imixs-workflow-web-sample with tortoise svn, openend the pom from the app in the trunk in eclipse and did a rightclick on the project -> run as -> maven install, then a war file in the /target folder was created, I undeployed the war which you have builded, restarted server, and deployed my war (it does not create any tables, mysteriosly).
Error during deployment: Error occurred during deployment: Exception while loading the app : WELD-001414 Bean name is ambiguous. Name fileUploadController resolves to beans [Managed Bean [class org.imixs.workflow.jee.faces.fileupload.FileUploadController] with qualifiers [@Any @Default @Named], Managed Bean [class org.imixs.workflow.jee.faces.fileupload.FileUploadController] with qualifiers [@Any @Default @Named]].

Log from maven-install:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Imixs Workflow Web Sample 0.0.7
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/imixs/workflow/imixs-workflow-engine/3.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.imixs.workflow:imixs-workflow-engine:3.1.0-SNAPSHOT/maven-metadata.xml from/to repository.jboss.org (http://repository.jboss.org/nexus/content/groups/public/): connection timed out to http://repository.jboss.org/nexus/content/groups/public/org/imixs/workflow/imixs-workflow-engine/3.1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/imixs/workflow/imixs-workflow-faces/3.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.imixs.workflow:imixs-workflow-faces:3.1.0-SNAPSHOT/maven-metadata.xml from/to repository.jboss.org (http://repository.jboss.org/nexus/content/groups/public/): connection timed out to http://repository.jboss.org/nexus/content/groups/public/org/imixs/workflow/imixs-workflow-faces/3.1.0-SNAPSHOT/maven-metadata.xml
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ imixs-workflow-web-sample ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ imixs-workflow-web-sample ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ imixs-workflow-web-sample ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ imixs-workflow-web-sample ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ imixs-workflow-web-sample ---
[INFO] Surefire report directory: C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ imixs-workflow-web-sample ---
[INFO] Packaging webapp
[INFO] Assembling webapp [imixs-workflow-web-sample] in [C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\target\imixs-workflow-web-sample-0.0.7]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\src\main\webapp]
[INFO] Webapp assembled in [109 msecs]
[INFO] Building war: C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\target\imixs-workflow-web-sample-0.0.7.war
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ imixs-workflow-web-sample ---
[INFO] Installing C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\target\imixs-workflow-web-sample-0.0.7.war to C:\Users\StefanStappen\.m2\repository\org\imixs\application\imixs-workflow-web-sample\0.0.7\imixs-workflow-web-sample-0.0.7.war
[INFO] Installing C:\Users\StefanStappen\HTL\Diplomarbeit\imixs-workflow~svn\imixs-workflow-samples\imixs-workflow-web-sample\trunk\pom.xml to C:\Users\StefanStappen\.m2\repository\org\imixs\application\imixs-workflow-web-sample\0.0.7\imixs-workflow-web-sample-0.0.7.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.277s
[INFO] Finished at: Sat Aug 11 18:58:51 CEST 2012
[INFO] Final Memory: 15M/217M
[INFO] ------------------------------------------------------------------------

Logs from the server:
GUI deployment: uploadToTempfile(details) org.glassfish.admingui 11.08.2012 19:07:36.874 _ThreadID=74;_ThreadName=Thread-2;
1781 INFO uploadFileName=imixs-workflow-web-sample-0.0.7.war(details) org.glassfish.admingui 11.08.2012 19:07:36.884 _ThreadID=74;_ThreadName=Thread-2;
1782 WARNING PersistenceUnitInfoImpl: For pu-root [C:\glassfish3\glassfish\domains\ImixDomain\applications\imixs-... (details) javax.org.glassfish.persistence.org.glassfish.persistence.jpa 11.08.2012 19:07:37.643 _ThreadID=75;_ThreadName=Thread-2;
1783 INFO EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461(details) org.eclipse.persistence.session.fileHmmmCHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/classes/_org.imixs.workflow.jee.jpa 11.08.2012 19:07:38.231 _ThreadID=75;_ThreadName=Thread-2;
1784 INFO /CHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/cla... (details) org.eclipse.persistence.session.fileHmmmCHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/classes/_org.imixs.workflow.jee.jpa 11.08.2012 19:07:38.494 _ThreadID=75;_ThreadName=Thread-2;
1785 WARNING Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterpr... (details) org.eclipse.persistence.session.fileHmmmCHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/classes/_org.imixs.workflow.jee.jpa.server 11.08.2012 19:07:38.495 _ThreadID=75;_ThreadName=Thread-2;
1786 WARNING JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@5a537b0d] from index [0](details) org.eclipse.persistence.session.fileHmmmCHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/classes/_org.imixs.workflow.jee.jpa.server 11.08.2012 19:07:38.495 _ThreadID=75;_ThreadName=Thread-2;
1787 WARNING JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@7b71cabb] from index [1](details) org.eclipse.persistence.session.fileHmmmCHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/classes/_org.imixs.workflow.jee.jpa.server 11.08.2012 19:07:38.495 _ThreadID=75;_ThreadName=Thread-2;
1788 WARNING The collection of metamodel types is empty. Model classes may not have been found during entity sear... (details) org.eclipse.persistence.default 11.08.2012 19:07:38.521 _ThreadID=75;_ThreadName=Thread-2;
1789 INFO Portable JNDI names for EJB ModelRestService: [java:global/imixs-workflow-web-sample-0.0.7/ModelRest... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:38.624 _ThreadID=75;_ThreadName=Thread-2;
1790 INFO Recoverable JTS instance, serverId = [3700](details) javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions 11.08.2012 19:07:40.291 _ThreadID=75;_ThreadName=Thread-2;
1791 INFO Portable JNDI names for EJB ModelService: [java:global/imixs-workflow-web-sample-0.0.7/ModelService!... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.779 _ThreadID=75;_ThreadName=Thread-2;
1792 INFO Glassfish-specific (Non-portable) JNDI names for EJB ModelService: [org.imixs.workflow.jee.ejb.Model... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.779 _ThreadID=75;_ThreadName=Thread-2;
1793 INFO Portable JNDI names for EJB WorkflowRestService: [java:global/imixs-workflow-web-sample-0.0.7/Workfl... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.821 _ThreadID=75;_ThreadName=Thread-2;
1794 INFO Portable JNDI names for EJB EntityService: [java:global/imixs-workflow-web-sample-0.0.7/EntityServic... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.911 _ThreadID=75;_ThreadName=Thread-2;
1795 INFO Glassfish-specific (Non-portable) JNDI names for EJB EntityService: [org.imixs.workflow.jee.ejb.Enti... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.911 _ThreadID=75;_ThreadName=Thread-2;
1796 INFO Portable JNDI names for EJB ReportService: [java:global/imixs-workflow-web-sample-0.0.7/ReportServic... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.975 _ThreadID=75;_ThreadName=Thread-2;
1797 INFO Glassfish-specific (Non-portable) JNDI names for EJB ReportService: [org.imixs.workflow.jee.ejb.Repo... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.975 _ThreadID=75;_ThreadName=Thread-2;
1798 INFO Portable JNDI names for EJB ReportRestService: [java:global/imixs-workflow-web-sample-0.0.7/ReportRe... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:40.999 _ThreadID=75;_ThreadName=Thread-2;
1799 INFO Portable JNDI names for EJB WorkflowService: [java:global/imixs-workflow-web-sample-0.0.7/WorkflowSe... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:41.121 _ThreadID=75;_ThreadName=Thread-2;
1800 INFO Glassfish-specific (Non-portable) JNDI names for EJB WorkflowService: [org.imixs.workflow.jee.ejb.Wo... (details) javax.enterprise.system.container.ejb.com.sun.ejb.containers 11.08.2012 19:07:41.121 _ThreadID=75;_ThreadName=Thread-2;
1801 INFO WELD-000900 1.1.4 (Final)(details) org.jboss.weld.Version 11.08.2012 19:07:41.187 _ThreadID=75;_ThreadName=Thread-2;
1802 INFO WELD-000119 Not generating any bean definitions from org.imixs.workflow.plugins.jee.extended.LuceneP... (details) org.jboss.weld.ClassLoading 11.08.2012 19:07:42.531 _ThreadID=75;_ThreadName=Thread-2;
1803 INFO catching org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.imixs.workfl... (details) org.jboss.weld.ClassLoading 11.08.2012 19:07:42.533 _ThreadID=75;_ThreadName=Thread-2;
1804 INFO Mojarra 2.1.6 (SNAPSHOT 20111206) für Kontext '/workflow' wird initialisiert.(details) javax.enterprise.resource.webcontainer.jsf.config 11.08.2012 19:07:42.876 _ThreadID=75;_ThreadName=Thread-2;
1805 INFO Monitoring jndiHmmmserver/workflow/WEB-INF/faces-config.xml for modifications(details) javax.enterprise.resource.webcontainer.jsf.config 11.08.2012 19:07:43.048 _ThreadID=75;_ThreadName=Thread-2;
1806 INFO Scanning for root resource and provider classes in the packages: org.imixs.workflow.jaxrs(details) com.sun.jersey.api.core.PackagesResourceConfig 11.08.2012 19:07:43.062 _ThreadID=75;_ThreadName=Thread-2;
1807 INFO Root resource classes found: class org.imixs.workflow.jaxrs.ReportRestService class org.imixs.wo... (details) com.sun.jersey.api.core.ScanningResourceConfig 11.08.2012 19:07:43.071 _ThreadID=75;_ThreadName=Thread-2;
1808 INFO Provider classes found: class org.imixs.workflow.jaxrs.XMLItemCollectionWriter class org.imixs.w... (details) com.sun.jersey.api.core.ScanningResourceConfig 11.08.2012 19:07:43.072 _ThreadID=75;_ThreadName=Thread-2;
1809 INFO CDI support is enabled(details) com.sun.jersey.server.impl.cdi.CDIComponentProviderFactoryInitializer 11.08.2012 19:07:43.085 _ThreadID=75;_ThreadName=Thread-2;
1810 INFO Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27 AM'(details) com.sun.jersey.server.impl.application.WebApplicationImpl 11.08.2012 19:07:43.094 _ThreadID=75;_ThreadName=Thread-2;
1811 INFO Binding the EJB class org.imixs.workflow.jaxrs.ReportRestService to EJBManagedComponentProvider(details) com.sun.jersey.server.impl.ejb.EJBComponentProviderFactory 11.08.2012 19:07:43.247 _ThreadID=75;_ThreadName=Thread-2;
1812 INFO Binding the EJB class org.imixs.workflow.jaxrs.WorkflowRestService to EJBManagedComponentProvider(details) com.sun.jersey.server.impl.ejb.EJBComponentProviderFactory 11.08.2012 19:07:43.259 _ThreadID=75;_ThreadName=Thread-2;
1813 INFO Binding the EJB class org.imixs.workflow.jaxrs.ModelRestService to EJBManagedComponentProvider(details) com.sun.jersey.server.impl.ejb.EJBComponentProviderFactory 11.08.2012 19:07:43.264 _ThreadID=75;_ThreadName=Thread-2;
1814 WARNING The following warnings have been detected with resource and/or provider classes: WARNING: A sub-re... (details) com.sun.jersey.spi.inject.Errors 11.08.2012 19:07:43.275 _ThreadID=75;_ThreadName=Thread-2;
1815 INFO Loading application [imixs-workflow-web-sample-0.0.7] at [/workflow](details) javax.enterprise.system.container.web.com.sun.enterprise.web 11.08.2012 19:07:43.279 _ThreadID=75;_ThreadName=Thread-2;
1816 SEVERE Exception while loading the app(details) javax.enterprise.system.core.com.sun.enterprise.v3.server 11.08.2012 19:07:43.282 _ThreadID=75;_ThreadName=Thread-2;
1817 INFO /CHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/cla... (details) org.eclipse.persistence.session.fileHmmmCHmmmglassfish3/glassfish/domains/ImixDomain/applications/imixs-workflow-web-sample-0.0.7/WEB-INF/classes/_org.imixs.workflow.jee.jpa 11.08.2012 19:07:43.394 _ThreadID=86;_ThreadName=Thread-2;
1818 SEVERE Exception while loading the app : WELD-001414 Bean name is ambiguous. Name fileUploadController reso... (details) javax.enterprise.system.tools.admin.org.glassfish.deployment.admin 11.08.2012 19:07:43.410 _ThreadID=75;_ThreadName=Thread-2;
1819 INFO Exception Occurred :Error occurred during deployment: Exception while loading the app : WELD-001414 ... (details) org.glassfish.admingui 11.08.2012 19:07:43.442 _ThreadID=74;_ThreadName=Thread-2;
Posted: August 12, 2012 11:56 by Ralph
Hi,
this sounds like something with the maven build went wrong. Can you please verify the content of your war file.
There should be a folder /WEB-INF/lib/ containing the following jar files:

imixs-workflow-core-3.0.3.jar
imixs-workflow-engine-3.1.0-SNAPSHOT.jar
imixs-workflow-faces-3.1.0-SNAPSHOT.jar
imixs-workflow-jax-rs-3.1.0-SNAPSHOT.jar

I guess the imixs-workflow-faces was deployed twice?
Mybe you can try the context menue action: 'maven->update project configuration"
Posted: August 12, 2012 12:03 by Ralph
After you undeployed the imixs workflow app and shutdown your server also verify the content of the folder

[GLASSFISH]/domains/domain1/applications/

there should only be a 'ejb-timer-service-app' and a '_internal' folder. Nothing else.
In some cases when a undeployment failed there is a old application folder there. Then remove those folders manually.

Posted: August 12, 2012 19:48 by AsgarSerran
You was right, there were still some other folders in the application folder, so, but it still didn't work. So I deleted the whole project folder, checked it out with tortoise svn and imported it by import -> existing maven project. Finally I could deploy my war file, but it still does not create any tables, and if I click on teamlist or create ticket, there are the same errors, described at the beginning of this post.
In WEB-INF/lib in my war file are other files:
imixs-workflow-core-3.0.3.jar
imixs-workflow-engine-3.1.0-20120802.164600-2.jar
imixs-workflow-faces-3.1.0-20120811.114731-9.jar
imixs-workflow-jax-rs-3.0.3.jar

I tried updating the pom file, cause in it stands:
imixs-workflow-jax-rs: 3.0.3
I updated it to
imixs-workflow-jax-rs :3.1.0-SNAPSHOT
then were both files in the war, and the amigious error occured again, so I deleted the old jar in the war. But still these errors occur with javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB on teamlist
and javax.ejb.EJBException clicking on teamlist, these are the exact exceptions as at the beginning, how did we solve them? with a new war file, hm

Thanks for the help, I hope you have a solution for my problem.
Posted: August 14, 2012 21:23 by Ralph
Hi,
version numbers like 'imixs-workflow-engine-3.1.0-20120802.164600-2.jar' looks to me as if you have checked out also the sources from core modules like imixs-faces or imixs-engine. As these are snapshot releases this can lead in such a build result.
Maybe you remove those projects from your eclipse workspace or you disable the maven-workspace-resolution.

When you have a build with the same directory structure/content like the example war from the download a deployment should result also in the creation of tables if these tables did not still exist.

Let me know if this works for you.

===
Ralph
Posted: August 15, 2012 07:34 by atari600xl
The reason that no tables where created during deployment is the different version number of the imixs-workflow-engine jar file. As you can see in the /META-INF/persistence.xml file the expected version is imixs-workflow-engine-3.1.0-SNAPSHOT.jar.
So try to solve the build structure in your workspace.
Posted: August 15, 2012 11:54 by AsgarSerran
How I create my war:

First I check out the whole http://java.net/projects/imixs-workflow/sources/svn/show/imixs-workflow-samples/imixs-workflow-web-sample/ folder
Then I import the folder with the pom.xml in it ( /target) in eclipse with import -> import -> maven -> existing maven project
Then I click right on the project -> run as -> maven install

When I look in the war file there still this four files in the WEB-INF/lib
imixs-workflow-core-3.0.3.jar
imixs-workflow-engine-3.1.0-20120802.164600-2.jar
imixs-workflow-faces-3.1.0-20120811.114731-9.jar
imixs-workflow-jax-rs-3.0.3.jar

I tried to rename the two to ... 3.1.0-SNAPSHOT.jar
and then redployed it, now it works, I can create new teams, but clicking submit on a new ticket crashes again with
javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
I tried Maven-Disable workspace resolution before run as maven install, doing the whole procedure again, but it didn't work, still these mysterios files in the folder WEB-INF/lib.

By the way, the renamed jars created the tables, now I get stuck by submit while creating a new ticket
Posted: August 16, 2012 08:47 by AsgarSerran
After many redployings it finally works, don't know the reasen, why sometimes this error occurs, sometimes an other error occurs too: page could not be restored. At least it works and I am satisfied. The two strange named jar files in the WEB-INF/lib folder in the war are exactly the same, as in your build war, when I rename them, all works fine. The problem is, I have to rename them always after maven install. And so hotdeployment is nice, but not enough, can I somewhere configure how the jar files should be named, so I don't have to rename them manually, persistance.xml or pam.xml or ?.

Thanks for the great help. I was really hopeless, but now I could start programming and enjoy the benefits of Imixs. I'm really thankfull and forgive me for my bad english, hope it didn't cost you too much time, reading it and help me.

Posted: August 16, 2012 11:21 by Ralph
Yes you are right. there is a problem in the pom.xml files from one of the snapshot releases we are using in this version of the sample web app. This is the reason why it did not work for you as expected. I am sorry for that.
I will fix it as soon as poosible. I hope this will work again tomorrow.

===
Ralph

Posted: August 16, 2012 21:00 by Ralph
I hope now the deployment problem is fixed.
Please check your pom.xml if it use the following dependency / versions:


	<dependencies>
		<!-- JEE Dependencies -->
		<dependency>
			<groupId>javax</groupId>
			<artifactId>javaee-api</artifactId>
			<version>6.0</version>
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>javax.faces</groupId>
			<artifactId>jsf-api</artifactId>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>
		<!-- Imixs Workflow -->
		<dependency>
			<groupId>org.imixs.workflow</groupId>
			<artifactId>imixs-workflow-engine</artifactId>
			<version>3.1.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>org.imixs.workflow</groupId>
			<artifactId>imixs-workflow-jax-rs</artifactId>
			<version>3.1.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>org.imixs.workflow</groupId>
			<artifactId>imixs-workflow-faces</artifactId>
			<version>3.1.0-SNAPSHOT</version>
		</dependency>

	</dependencies>



The version number of the imixs-workflow-engine should now be '3.1.0-SNAPSHOT' after 'mvn clean install'

Concerning the Manik Hot-Deploy:
There are two different modes possible. If you use the Filter Option 'WAR' , after each 'mvn install' the new war file will be copied into the GlassFish autodeploy/ folder. Which will force a complete redeploy.
If you use the Option 'All Source Files' and choose the application-target folder (e.g: glassfish-3.1.2/glassfish/domains/domain1/applications/imixs-workflow-web-sample-0.0.7)
this enables a Hot-Deployment for all your XHTML page elements. So you can edit XHTML pages, or CSS and JavaScript files which will be deployed automatically in your deployed application. This can speed up development. But this mode of Hot-Deployment did not work if you change Java Class Files or the WEB-INF/ folder. In this case you need to recreate the war file (mvn clean install) and copy the war file manually into the /autodeploy folder of GlassFish.

Posted: August 17, 2012 07:48 by AsgarSerran
I tried this, but now every jar file ends with a number instead of -snapshot in the war, renaming works, maybe something is wrong with my maven/eclipse or the files were somewhere local build, after a maven-clear and then maven install it says, that it download files, so I think it downloads the correct files.

I think I stay with the auto-copie in the autodeploy folder, causeI don't want new xhtml, css files uploaded when I edit something. But so I don't have to deploy it myself, its faster at least, thanks for the tip.
Posted: August 17, 2012 20:56 by Ralph
I now figured out that the creation of the 'unique' snapshot version numbers is a new feature in Maven 3.x.
So every time you download a snaptshot release from the sonatype snapshot repository you will get these 'uniuqe' snapshot versions.
The best solution for you is to simply change the name of the imixs-workflow jar directly in the

/src/main/resources/META-INF/persistence.xml

like:

....
	<persistence-unit name="org.imixs.workflow.jee.jpa" transaction-type="JTA">	
		<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>	
		<jta-data-source>jdbc/workflow-db</jta-data-source>
		<jar-file>lib/imixs-workflow-engine-3.1.0-20120816.204341-3.jar</jar-file>
		<properties>
			<property name="eclipselink.ddl-generation"
				value="create-tables" />
			<property name="eclipselink.logging.level" value="INFO"/>
		</properties>				
	</persistence-unit>
...


so you have not to rename the jar file manually in your war.
Posted: August 20, 2012 09:24 by AsgarSerran
Jeah, thats it. So I can simply build it, and it works. Thanks for the great help and of course for the sample application. Samples are allways the best to learn something new. I tried some JSF tutorials and some other questions about Imixs came up. Is there any documentation? What are the fields of workflowController.workitem.item
like here:

<h:inputText style="width: 20em;" required="true"
value="#{workflowController.workitem.item['txtSubject']}"
id="subject_id">
</h:inputText>

can I simply use any field here, when I need a date, or person, or which materials are needed for this Workflow like:


<h:inputText style="width: 20em;" required="true"
value="#{workflowController.workitem.item['txtMaterial]}"
id="subject_id">
</h:inputText>

Thanks for your time and help. I hope I don't get on your nerves.
Posted: August 21, 2012 18:53 by Ralph
Hi,
yes you can use any field name you need in your application. The usage of the imixs workflow controller is simple in this way.
The imixs workflow system generates some properties/fields internally to provide information about the current workflow and process states. You can find a list of these fields here:

http://www.imixs.org/api/quickstart_workitem.html

These fields are controlled through the configuration of your worklfow model. for example the $readaccess or $writeaccess reflect the setting of the ACL in a Workflow activity.

Also maybe these links are helpful:

http://www.imixs.org/jsf/examples/process.html
http://www.imixs.org/jee/examples/itemcollection.html

If you have questions you can post them under a new topic into forum.

===
Ralph
showing 1 - 20 of 20
Replies: 19 - Last Post: August 21, 2012 18:53
by: Ralph
 
 
Close
loading
Please Confirm
Close