[JBoss jBPM] - Re: Exception when completing a task in websale example
by khamburg
This was in the stdout log before the stack trace...
12:04:50,976 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
12:05:01,538 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==
12:05:13,131 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
12:05:13,131 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==
12:09:19,184 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
12:09:19,184 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==
12:09:30,059 WARN ProxyWarnLog:581 - Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
12:09:30,106 ERROR [FacesServlet]:250 - Servlet.service() for servlet FacesServlet threw exception
... and this is from the catalina log...
Mar 23, 2007 12:02:57 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\dev\Tomcat 5.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\jEdit
Mar 23, 2007 12:02:57 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 23, 2007 12:02:57 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 422 ms
Mar 23, 2007 12:02:57 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 23, 2007 12:02:57 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Mar 23, 2007 12:02:58 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 23, 2007 12:02:58 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive console.war
Mar 23, 2007 12:02:58 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for context 'null'
Mar 23, 2007 12:02:58 PM com.sun.faces.spi.InjectionProviderFactory createInstance
WARNING: JSF1033: Resource injection is DISABLED.
Mar 23, 2007 12:02:59 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 23, 2007 12:02:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 23, 2007 12:02:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Mar 23, 2007 12:02:59 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 23, 2007 12:02:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1859 ms
Mar 23, 2007 12:04:18 PM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
Mar 23, 2007 12:04:18 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/dev/Tomcat%205.5/webapps/console/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
Mar 23, 2007 12:04:18 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/dev/Tomcat%205.5/webapps/console/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
Mar 23, 2007 12:04:18 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/dev/Tomcat%205.5/webapps/console/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
Mar 23, 2007 12:04:18 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/dev/Tomcat%205.5/webapps/console/WEB-INF/lib/ajax4jsf.jar!/META-INF/a4j.taglib.xml
Mar 23, 2007 12:04:18 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/dev/Tomcat%205.5/webapps/console/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
Mar 23, 2007 12:04:18 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/dev/Tomcat%205.5/webapps/console/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
Mar 23, 2007 12:04:25 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /common/template.xhtml @56,71 name="tiid" Property 'name' is not on type: org.jbpm.webapp.tag.jbpm.ui.Bind
Mar 23, 2007 12:04:25 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /common/template.xhtml @57,63 name="tdid" Property 'name' is not on type: org.jbpm.webapp.tag.jbpm.ui.Bind
Mar 23, 2007 12:04:25 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /common/template.xhtml @58,74 name="piid" Property 'name' is not on type: org.jbpm.webapp.tag.jbpm.ui.Bind
Mar 23, 2007 12:04:25 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /common/template.xhtml @59,66 name="pdid" Property 'name' is not on type: org.jbpm.webapp.tag.jbpm.ui.Bind
Mar 23, 2007 12:04:25 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /common/searchheader.xhtml @6,2 xmlns="http://www.w3.org/1999/xhtml" Property '' is not on type: com.sun.facelets.tag.ui.ComponentRef
Mar 23, 2007 12:04:25 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /common/searchfooter.xhtml @6,2 xmlns="http://www.w3.org/1999/xhtml" Property '' is not on type: com.sun.facelets.tag.ui.ComponentRef
Mar 23, 2007 12:04:51 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
WARNING: /main/task/view.xhtml @53,61 orientation="horizontal" Property 'orientation' is not on type: org.jbpm.webapp.tag.jbpm.ui.DataForm
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031173#4031173
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031173
19Â years, 1Â month
[JBoss jBPM] - Re: Exception when completing a task in websale example
by khamburg
Here's the stack trace...
javax.servlet.ServletException: Servlet execution threw an exception
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
root cause
java.lang.NoSuchFieldError: FORCE
org.jbpm.graph.node.Join.execute(Join.java:105)
org.jbpm.graph.def.Node.enter(Node.java:318)
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$83cb119f.enter()
org.jbpm.graph.def.Transition.take(Transition.java:151)
org.jbpm.graph.def.Node.leave(Node.java:393)
org.jbpm.graph.def.Node.leave(Node.java:357)
org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
org.jbpm.websale.ShipItem.execute(ShipItem.java:59)
org.jbpm.graph.def.Action.execute(Action.java:122)
org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.graph.def.Action$$EnhancerByCGLIB$$ffa54cd3.execute()
org.jbpm.graph.def.Node.execute(Node.java:338)
org.jbpm.graph.def.Node.enter(Node.java:318)
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$83cb119f.enter()
org.jbpm.graph.def.Transition.take(Transition.java:151)
org.jbpm.graph.def.Node.leave(Node.java:393)
org.jbpm.graph.def.Node.leave(Node.java:368)
org.jbpm.graph.node.Fork.execute(Fork.java:140)
org.jbpm.graph.def.Node.enter(Node.java:318)
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$83cb119f.enter()
org.jbpm.graph.def.Transition.take(Transition.java:151)
org.jbpm.graph.def.Node.leave(Node.java:393)
org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
org.jbpm.graph.node.TaskNode$$FastClassByCGLIB$$923668a4.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$be1107e9.leave()
org.jbpm.graph.exe.Token.signal(Token.java:194)
org.jbpm.graph.exe.Token.signal(Token.java:165)
org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$3059b833.signal()
org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:478)
org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:417)
org.jbpm.taskmgmt.exe.TaskInstance$$FastClassByCGLIB$$cb2c21af.invoke()
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$6cbc6eb4.end()
org.jbpm.webapp.tag.tf.ui.TaskForm$TaskFormActionListener.processAction(TaskForm.java:282)
javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758)
javax.faces.component.UICommand.broadcast(UICommand.java:368)
org.jbpm.webapp.tag.tf.ui.AbstractTaskFormButton.broadcast(AbstractTaskFormButton.java:51)
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031170#4031170
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031170
19Â years, 1Â month
[EJB/JBoss] - Can't access session facade bean
by EricChile
I don't understand why I am getting a classcastexception...
>From the rmx console
| +- SDS_DATA (class: org.jnp.interfaces.NamingContext)
| | +- SessionEJB (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy97 implements interface org.usiis.model.SessionEJBLocal,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject)
| | | +- remote (proxy: $Proxy96 implements interface org.usiis.model.SessionEJB,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
|
My java code
| import javax.naming.Context;
| import javax.naming.InitialContext;
|
| import org.usiis.model.SessionEJB;
| import org.usiis.model.SessionEJBLocal;
|
| public class ContextManager {
|
| private final String oc4jRemote = "SessionEJB";
| private final String bossRemote = "SDS_DATA/SessionEJB/remote";
| private final String bossLocal = "SDS_DATA/SessionEJB/local";
|
| public ContextManager() {
| }
|
|
| public SessionEJB getRemoteContext ()throws Exception {
| final Context context = new InitialContext();
| //SessionEJB b = (SessionEJB) context.lookup(oc4jRemote);
| SessionEJB b = (SessionEJB) context.lookup(bossRemote);
|
| return b;
| }
|
|
| public SessionEJBLocal getLocalContext() throws Exception {
| final Context context = new InitialContext();
| SessionEJBLocal b = (SessionEJBLocal) context.lookup(bossLocal);
|
| return b;
| }
|
The error
|
| 2:35:36,674 ERROR [STDERR] java.lang.ClassCastException: $Proxy97
| 2:35:36,674 ERROR [STDERR] at org.usiis.view.backing.ContextManager.getLoca
| Context(ContextManager.java:30)
|
|
Can anyone explain why the cast is not working?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031168#4031168
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031168
19Â years, 1Â month
[JBoss Seam] - Re: seam-gen error
by javalover75
As a follow-up, I am able to run seam generate-entities against other databases, even databases with hundreds of tables, successfully. I am confident that everything is configured correctly and no stray jars are creating the problem.
The only difference I can find between the schema causing the error and the schemas that work correctly, is the schema with the error has multiple many to many relationships - although the Entity beans are created correctly with proper mappings before this error occurs.
If anyone has experienced this error - or who has any ideas as to how to solve this problem I would greatly appreciate it. It will save me a ton of typing.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031161#4031161
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031161
19Â years, 1Â month