[JBoss jBPM] - jBPM versus MS Workflow
by grin1dan
Hello All...I have done a bit of research on both jBPM and MS Workflow to evaluate which is the better choice for an upcoming project. I am posting my conclusion here and I would appreciate it if you could comment on it, perhaps take on or the other position and make some arguments for the position. Thanks.
jBPM versus MS Workflow Conclusion
MS Workflow is a superior product to jBPM for several reasons. The .NET 3.5 framework is stable (more than the jBPM API) and allows ease of build as opposed to the continual reevaluation of the underlying java platform for jBPM. Persistance and thread synchronization can be handled in a more robust, elegant manner (rich client implementation) and the MS Workflow product can be used as a platform to build applications as opposed to simply capturing a state model.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165908#4165908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165908
17 years, 9 months
[JBoss jBPM] - Calling processInstance.end() when the the process is waitin
by pbrewer_uk
I'm using Jboss Seam 2.0.1.GA with jbpm 3.2.3.GA.
I have a simple process that has a process-state in it. Sometimes, I need to cancel the parent process instance, which should also cancel the child (process-state) process instance, if the child happens to be open.
Once the child process is in the wait state if I find the parent process instance and call the end() method then I get an error.
The error is complaining that the getVariable method is returning null, which is fair enough as presumably its just been cancelled. But why that code even being evaluated?
To me the process appears to be continuing execution instead of ending it immediately. Is this the correct behaviour or am I doing something unexpected? Any help with this would be much appreciated. Full details below.
Thanks in advance,
Pete.
Code used to cancel the parent process
| public void cancel() {
| Query query = getJbpmContext().getSession().getNamedQuery("processInstanceId.findByNameUnended") ;
| query.setParameter("name", "parentCancel") ;
|
| for (Long pid : (List<Long>)query.list()) {
| log.info("Ending process #0", pid) ;
| ProcessInstance processInstance = getJbpmContext().getProcessInstanceForUpdate(pid) ;
| processInstance.end() ;
| }
|
|
| }
|
Here are the definitions:
parent:
| <?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://jbpm.org/xsd/jpdl-3.2.xsd"
| name="parentCancel" >
|
| <start-state name="start">
| <transition to="waitForSomething"></transition>
| </start-state>
|
| <process-state name="waitForSomething">
| <sub-process name="childCancel"/>
| <variable name="waitForSomethingOutcome" access="write" mapped-name="outcome" />
| <transition to="checkOutcome"></transition>
| </process-state>
|
| <decision name="checkOutcome" expression="#{processStateCancelTest.getVariable('waitForSomethingOutcome')}">
| <transition to="success" name="successOutcome"></transition>
| <transition to="fail" name="failOutcome"></transition>
| </decision>
| <end-state name="fail">
| </end-state>
| <end-state name="success">
| </end-state>
| </process-definition>
|
child
| <?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://jbpm.org/xsd/jpdl-3.2.xsd"
| name="childCancel" >
|
| <start-state name="start">
| <transition to="waitingNode"></transition>
| </start-state>
|
|
| <state name="waitingNode">
| <transition to="done" name="success">
| <action expression="#{processStateCancelTest.setVariable('outcome', 'successOutcome')}" />
| </transition>
| <transition to="done" name="failure">
| <action expression="#{processStateCancelTest.setVariable('outcome', 'failOutcome')}" />
| </transition>
| </state>
|
| <end-state name="done">
| </end-state>
| </process-definition>
|
Here is the full log stack trace when end is called:
| 15:24:11,682 INFO [uk.co.iblocks.ProcessStateCancelTest] Ending process 2267 (parentCancel)
| 15:24:11,726 INFO [uk.co.iblocks.ProcessStateCancelTest] process-end on ProcessDefinition(childCancel) (process definition ProcessDefinition(childCancel))
| 15:24:11,768 INFO [uk.co.iblocks.ProcessStateCancelTest] before-signal on ProcessState(waitForSomething) (process definition ProcessDefinition(parentCancel))
| 15:24:11,803 INFO [uk.co.iblocks.ProcessStateCancelTest] node-leave on ProcessState(waitForSomething) (process definition ProcessDefinition(parentCancel))
| 15:24:11,836 INFO [uk.co.iblocks.ProcessStateCancelTest] node-enter on Decision(checkOutcome) (process definition ProcessDefinition(parentCancel))
| 15:24:11,844 WARN [uk.co.iblocks.ProcessStateCancelTest] Cannot access waitForSomethingOutcome in process parentCancel
| 15:24:11,847 DEBUG [uk.co.iblocks.ProcessStateCancelTest] Process parentCancel, returing variable waitForSomethingOutcome=null
| 15:24:11,863 FATAL [javax.enterprise.resource.webcontainer.jsf.application] /processTest.xhtml @51,165 action="#{processStateCancelTest.cancel('parentCancel')}": org.jbpm.JbpmException: decision expression '#{processStateCancelTest.getVariable('waitForSomethingOutcome')}' returned null
| javax.faces.el.EvaluationException: /processTest.xhtml @51,165 action="#{processStateCancelTest.cancel('parentCancel')}": org.jbpm.JbpmException: decision expression '#{processStateCancelTest.getVariable('waitForSomethingOutcome')}' returned null
| at org.jbpm.graph.node.Decision.execute(Decision.java:97)
| at org.jbpm.graph.def.Node.enter(Node.java:318)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.def.Node_$$_javassist_171.enter(Node_$$_javassist_171.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.graph.node.ProcessState.leave(ProcessState.java:224)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.def.Node_$$_javassist_171.leave(Node_$$_javassist_171.java)
| at org.jbpm.graph.exe.Token.signal(Token.java:192)
| at org.jbpm.graph.exe.Token.signal(Token.java:168)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:179)
| at org.jbpm.graph.exe.Token_$$_javassist_107.signal(Token_$$_javassist_107.java)
| at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:322)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.exe.ProcessInstance_$$_javassist_176.end(ProcessInstance_$$_javassist_176.java)
| at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:329)
| at org.jbpm.graph.exe.Token.end(Token.java:301)
| at org.jbpm.graph.exe.Token.end(Token.java:251)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.exe.Token_$$_javassist_107.end(Token_$$_javassist_107.java)
| at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:302)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.exe.ProcessInstance_$$_javassist_176.end(ProcessInstance_$$_javassist_176.java)
| at org.jbpm.graph.exe.Token.end(Token.java:283)
| at org.jbpm.graph.exe.Token.end(Token.java:251)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.exe.Token_$$_javassist_107.end(Token_$$_javassist_107.java)
| at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:302)
| at uk.co.iblocks.midas.workflow.ProcessStateCancelTest.cancel(ProcessStateCancelTest.java:37)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
| at org.jboss.seam.util.Work.workInTransaction(Work.java:40)
| at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
| at uk.co.iblocks.midas.workflow.ProcessStateCancelTest_$$_javassist_12.cancel(ProcessStateCancelTest_$$_javassist_12.java)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
| at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
| at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165907#4165907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165907
17 years, 9 months
[EJB 3.0] - Re: Session bean lookup fails JBoss 5, worked in 4.0.5
by lpmon
jaikiran, Thanks for your help on this. I was also convinced it is an ordering issue. The key point here is that @Startup and a servlet configured with load-on-startup appears to load the class and execute the startup method before the jndi binding has completed.
To clarify: when using @Startup with an @PostConstruct method the Seam component startup method failed which caused the module deployment to fail. When I moved the startup code to a startup servlet the lookup failure did not cause the module deployment to fail. FYI: I was not catching this exception.
The exception is the same in either scenario (NameNotFoundException).
IMO startup code should not be executed until EJBs are loaded/bound. Otherwise we cannot use EJBs in startup code. Any session beans anotated with @Startup it should be loaded after those that are not @Startup.
Log:
2008-07-21 15:53:11,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: ec20.jar
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.jca:name=ec20Datasource,service=DataSourceBinding
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) persistence.units:unitName=ec20
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20) to KernelDeployment of: ec20.jar
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=ec20.ear,jar=ec20.jar,name=DBUtilBean,service=EJB3
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/DBUtilBean/local-com.pearson.ejb3.session.DBUtil
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/DBUtilBean/local
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:com.pearson.ejb3.session.DBUtil
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:DBUtilBean
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=ec20.ear,jar=ec20.jar,name=DBUtilBean,service=EJB3) to KernelDeployment of: ec20.jar
.. other beans ommited to reduce file size
2008-07-21 15:53:13,174 INFO [STDOUT] (main) ======> Creating interceptor metadata bridge
2008-07-21 15:53:13,424 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@9bbe3e
2008-07-21 15:53:13,471 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@9bbe3e
2008-07-21 15:53:13,517 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@9bbe3e
2008-07-21 15:53:13,517 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@9bbe3e
2008-07-21 15:53:13,767 INFO [STDOUT] (main) ======> Creating interceptor metadata bridge
2008-07-21 15:53:14,642 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: jboss-seam.jar
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:TimerServiceDispatcher
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/TimerServiceDispatcher/local
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:org.jboss.seam.async.LocalTimerServiceDispatcher
2008-07-21 15:53:14,674 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher
2008-07-21 15:53:14,674 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: jboss-seam.jar
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/EjbSynchronizations/local
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:org.jboss.seam.transaction.LocalEjbSynchronizations
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:EjbSynchronizations
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: jboss-seam.jar
2008-07-21 15:53:16,189 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) JBoss Web Services - Stack Native Core
2008-07-21 15:53:16,189 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) 3.0.2.GA
2008-07-21 15:53:25,314 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
2008-07-21 15:53:26,596 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/pearson, vfsUrl=ec20.ear/ec20.war
2008-07-21 15:53:33,486 INFO [javax.servlet.ServletContextListener] (main) Welcome to Seam 2.0.3.CR1
2008-07-21 15:54:06,033 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
2008-07-21 15:54:06,127 INFO [org.jboss.seam.init.Initialization] (main) reading /WEB-INF/components.xml
2008-07-21 15:54:06,236 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/ec20.war/WEB-INF/lib/jboss-seam-remoting.jar/META-INF/components.xml
2008-07-21 15:54:06,252 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/ec20.war/WEB-INF/lib/jboss-seam-ui.jar/META-INF/components.xml
2008-07-21 15:54:06,252 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/jboss-seam.jar/META-INF/components.xml
2008-07-21 15:54:06,267 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/ec20.war/WEB-INF/lib/jboss-seam-ioc.jar/META-INF/components.xml
2008-07-21 15:54:06,267 INFO [org.jboss.seam.init.Initialization] (main) reading properties from: /seam.properties
2008-07-21 15:54:06,283 INFO [org.jboss.seam.init.Initialization] (main) reading properties from: /jndi.properties
2008-07-21 15:54:06,299 INFO [org.jboss.seam.init.Initialization] (main) initializing Seam
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.locale
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.expressions
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.web.parameters
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.security.entityPermissionChecker
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
2008-07-21 15:54:06,330 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.security.identity
2008-07-21 15:54:06,330 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.locale
2008-07-21 15:54:06,330 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.manager
2008-07-21 15:54:06,549 INFO [org.jboss.seam.Component] (main) Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
2008-07-21 15:54:06,564 INFO [org.jboss.seam.init.Initialization] (main) Installing components...
2008-07-21 15:54:06,627 INFO [org.jboss.seam.Component] (main) Component: DebugSupport, scope: SESSION, type: JAVA_BEAN, class: com.pearson.util.DebugSupport
2008-07-21 15:54:06,674 INFO [org.jboss.seam.Component] (main) Component: IButtonMgr, scope: CONVERSATION, type: STATELESS_SESSION_BEAN, class: com.pearson.ejb3.session.IButtonMgrBean, JNDI: ec20/IButtonMgrBean/local
2008-07-21 15:54:06,674 INFO [org.jboss.seam.Component] (main) Component: NetworkInfo, scope: EVENT, type: JAVA_BEAN, class: com.pearson.util.NetworkInfo
2008-07-21 15:54:06,689 INFO [org.jboss.seam.Component] (main) Component: OTASender, scope: CONVERSATION, type: STATELESS_SESSION_BEAN, class: com.pearson.ejb3.session.ota.OTASenderBean, JNDI: ec20/OTASenderBean/local
2008-07-21 15:54:06,705 INFO [org.jboss.seam.Component] (main) Component: Processor, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.pearson.ejb3.session.util.ProcessorBean, JNDI: ec20/ProcessorBean/local
....
....
2008-07-21 15:54:08,736 INFO [org.jboss.seam.contexts.Contexts] (main) starting up: org.jboss.seam.navigation.pages
2008-07-21 15:54:08,752 INFO [org.jboss.seam.contexts.Contexts] (main) starting up: org.jboss.seam.security.facesSecurityEvents
2008-07-21 15:54:08,752 INFO [org.jboss.seam.contexts.Contexts] (main) starting up: swStartup
2008-07-21 15:54:08,877 ERROR [STDERR] (main) Error loading properties from-C:\app\jboss-5.0.0.CR1\server\default\properties\\pearson.properties C:\app\jboss-5.0.0.CR1\server\default\properties\pearson.properties (The system cannot find the path specified)
2008-07-21 15:54:08,877 INFO [STDOUT] (main) Using default property URL: pearson.properties
2008-07-21 15:54:08,924 ERROR [STDERR] (main) Error loading properties from - pearson.properties null
2008-07-21 15:54:08,924 INFO [STDOUT] (main) Could not load properties
2008-07-21 15:54:08,924 WARN [com.pearson] (main) sw.Server.Version = 2.0.1
2008-07-21 15:54:08,924 WARN [com.pearson] (main) sw.property.dir = C:\app\jboss-5.0.0.CR1\server\default\properties\
2008-07-21 15:54:08,939 INFO [org.jboss.seam.init.Initialization] (main) done initializing Seam
2008-07-21 15:54:08,939 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.loggingFilter
2008-07-21 15:54:08,939 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.ajax4jsfFilter
2008-07-21 15:54:09,033 INFO [org.ajax4jsf.cache.CacheManager] (main) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
2008-07-21 15:54:09,033 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, org.richfaces.SKIN=DEFAULT, javax.faces.DEFAULT_SUFFIX=.xhtml}
2008-07-21 15:54:09,033 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance of default capacity
2008-07-21 15:54:09,111 INFO [org.ajax4jsf.cache.CacheManager] (main) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
2008-07-21 15:54:09,111 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, org.richfaces.SKIN=DEFAULT, javax.faces.DEFAULT_SUFFIX=.xhtml}
2008-07-21 15:54:09,127 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance of default capacity
2008-07-21 15:54:09,127 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.redirectFilter
2008-07-21 15:54:09,142 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.exceptionFilter
2008-07-21 15:54:09,142 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.multipartFilter
2008-07-21 15:54:09,142 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.debug.hotDeployFilter
2008-07-21 15:54:09,142 FATAL [com.pearson.util.LookupUtil] (main) for Interface: DBUtilBean context is null: false
javax.naming.NameNotFoundException: ec20 not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.pearson.util.LookupUtil.lookupEJB(LookupUtil.java:61)
at com.pearson.servlet.StartupServlet.init(StartupServlet.java:51)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4074)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:271)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:595)
.....
.....
2008-07-21 15:54:09,205 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/, vfsUrl=ROOT.war
2008-07-21 15:54:09,299 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
2008-07-21 15:54:09,533 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
2008-07-21 15:54:09,674 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
2008-07-21 15:54:11,221 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ec20Datasource' to JNDI name 'java:ec20Datasource'
2008-07-21 15:54:11,252 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
......
2008-07-21 15:54:15,377 INFO [org.jboss.jms.server.ServerPeer] (main) JBoss Messaging 1.4.1.CR1 server [0] started
2008-07-21 15:54:15,455 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
2008-07-21 15:54:17,377 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
2008-07-21 15:54:17,705 INFO [org.jboss.ejb3.entity.PersistenceUnitDeployment] (main) Starting persistence unit persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20
2008-07-21 15:54:18,111 INFO [org.hibernate.cfg.annotations.Version] (main) Hibernate Annotations 3.4.0.CR1
2008-07-21 15:54:18,267 INFO [org.hibernate.cfg.Environment] (main) Hibernate 3.3.0.CR1
2008-07-21 15:54:18,314 INFO [org.hibernate.cfg.Environment] (main) hibernate.properties not found
2008-07-21 15:54:18,346 INFO [org.hibernate.cfg.Environment] (main) Bytecode provider name : javassist
2008-07-21 15:54:18,408 INFO [org.hibernate.cfg.Environment] (main) using JDK 1.4 java.sql.Timestamp handling
2008-07-21 15:54:19,096 INFO [org.hibernate.annotations.common.Version] (main) Hibernate Commons Annotations 3.1.0.CR1
2008-07-21 15:54:19,142 INFO [org.hibernate.ejb.Version] (main) Hibernate EntityManager 3.4.0.CR1
2008-07-21 15:54:22,564 WARN [org.hibernate.ejb.Ejb3Configuration] (main) Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
2008-07-21 15:54:23,158 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity from annotated class: com.pearson.ejb3.entity.Eventfactory
2008-07-21 15:54:23,252 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: evt_factory_srcEvtCode_asc => select ef from Eventfactory ef order by ef.eventtypes.ik asc
2008-07-21 15:54:23,705 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind entity com.pearson.ejb3.entity.Eventfactory on table eventfactory
2008-07-21 15:54:24,299 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity from annotated class: com.pearson.ejb3.entity.Eventtypes
2008-07-21 15:54:24,299 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: eventtypes_all => select et from Eventtypes et
2008-07-21 15:54:24,299 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind entity com.pearson.ejb3.entity.Eventtypes on table eventtypes
2008-07-21 15:54:24,580 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity from annotated class: com.pearson.ejb3.entity.Units
2008-07-21 15:54:24,580 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: unit_all_sorted_name => select u from Units u order by unitName
......
2008-07-21 15:54:24,580 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind entity com.pearson.ejb3.entity.Units on table units
......
2008-07-21 15:54:25,736 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: find_by_key_serial => select a from Assignedkeys a where a.keySerial = :keySerial
.....
2008-07-21 15:54:26,939 INFO [org.hibernate.validator.Version] (main) Hibernate Validator 3.1.0.CR1
2008-07-21 15:54:29,549 INFO [org.hibernate.connection.ConnectionProviderFactory] (main) Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
......
2008-07-21 15:55:30,017 INFO [org.hibernate.util.NamingHelper] (main) JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2008-07-21 15:55:37,283 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.ProcessorBean ejbName: ProcessorBean
2008-07-21 15:55:37,330 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
2008-07-21 15:55:41,549 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.DBUtilBean ejbName: DBUtilBean
2008-07-21 15:55:41,611 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.FeatureMgrBean ejbName: FeatureMgrBean
2008-07-21 15:55:41,658 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.AuthenticatorBean ejbName: AuthenticatorBean
2008-07-21 15:55:41,689 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.CertUtilBean ejbName: CertUtilBean
2008-07-21 15:55:41,736 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.rfserver.UnitRunnerBean ejbName: UnitRunnerBean
2008-07-21 15:55:41,783 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.PersonnelAssignBean ejbName: PersonnelAssignBean
2008-07-21 15:55:41,814 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.SessionUtilBean ejbName: SessionUtilBean
2008-07-21 15:55:41,846 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.UnitStatusDataBean ejbName: UnitStatusDataBean
2008-07-21 15:55:42,580 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.ota.UnitLocatorBean ejbName: UnitLocatorBean
2008-07-21 15:55:43,205 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.EventUtilBean ejbName: EventUtilBean
2008-07-21 15:55:44,002 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.UnitUtilBean ejbName: UnitUtilBean
2008-07-21 15:55:46,205 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.PacketProcessorBean ejbName: PacketProcessorBean
2008-07-21 15:55:46,252 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.IButtonMgrBean ejbName: IButtonMgrBean
2008-07-21 15:55:46,299 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.ota.OTASenderBean ejbName: OTASenderBean
2008-07-21 15:55:46,361 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.UnitStatusMgrBean ejbName: UnitStatusMgrBean
2008-07-21 15:55:47,002 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.EventPostProcessorBean ejbName: EventPostProcessorBean
2008-07-21 15:55:47,955 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.connectionfactory:service=ConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.destination:name=DLQ,service=Queue
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.destination:name=ExpiryQueue,service=Queue
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging:service=PostOffice
-> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory **}
*** CONTEXTS IN ERROR: Name -> Error
jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory **
2008-07-21 15:55:48,033 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
2008-07-21 15:55:48,252 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
2008-07-21 15:55:48,283 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 8m:43s:516ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165901#4165901
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165901
17 years, 9 months
[Messaging, JMS & JBossMQ] - JBossMQ failover issues
by agohar
Hi,
I am running two jboss instances in a cluster and deployed different queues/topics in all/deploy directory, but when i kill or shutdown first node, the other node is not able to take over and deploy the queues on it. I get following errors:
2008-07-22 10:54:32,989 INFO [org.jboss.resource.adapter.jms.inflow.JmsActivation] Attempting to re
| connect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec(a)15a0316(ra=org.jboss.resource.adapte
| r.jms.JmsResourceAdapter@1fb580 destination=topic/refreshRulesTopic isTopic=true tx=true durable=fal
| se reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15
| keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler
| DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
| 2008-07-22 10:54:32,990 ERROR [org.jboss.resource.adapter.jms.inflow.JmsActivation] Unable to reconn
| ect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec(a)15a0316(ra=org.jboss.resource.adapter.jm
| s.JmsResourceAdapter@1fb580 destination=topic/refreshRulesTopic isTopic=true tx=true durable=false r
| econnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 kee
| pAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJ
| ndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
| javax.naming.NameNotFoundException: queue/DLQ
| at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
| at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
| at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312)
| at $Proxy314.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
Looks like the problem is only for DLQ queues, get the same above error for my own application defined DLQ queues.
I am running JBoss-4.2.2.
I've tried to deploy the queues to deploy-hasingleton directory but the problem is same. These queues are backed up by db.
Does anyone has any clue?
Thanks
PS: i've also tried to put them under deploy-hasingleton/jms directory but of no use
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165896#4165896
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165896
17 years, 9 months