[JBoss jBPM] - Re: jBPM - Weblogic
by maframan
"bradsdavis" wrote : Yes. You will need to provide more information on your errors.
Error:
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1853)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1750)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Also do not understand how to modify the jboss-web.xml file so that BEA will be able to read.
Thanks
Francesco
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222094#4222094
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222094
15 years, 8 months
[JBoss jBPM] - End-Task Event does not have access to the taken transition
by oscar_urdaneta
If you are processing the task-end event on a task, you do not have access to the taken transition (in case the task node has more than one leaving transitions).
The following code in TaskInstance.end() :
ExecutionContext executionContext = new ExecutionContext(token);
executionContext.setTask(task);
executionContext.setTaskInstance(this);
task.fireEvent(Event.EVENTTYPE_TASK_END, executionContext);
needs to be changed to:
ExecutionContext executionContext = new ExecutionContext(token);
executionContext.setTask(task);
executionContext.setTaskInstance(this);
executionContext.setTransition(transition);
task.fireEvent(Event.EVENTTYPE_TASK_END, executionContext);
Basically, I can not call executionContext.getTransition() in my ActionHandler because it returns null.
However, I can get the taken transition in the node-leave ActionHandler, but in here i can not get the executionContext.getTaskInstance().getActorId() and I need both the transition taken and the actor id
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222085#4222085
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222085
15 years, 8 months
[JBoss jBPM] - Re: how do we generate database migration script
by apdo
My migration script from 3.0.1 to 3.3.1.
Use the following carefully since there is assumption on the content of my database.
update JBPM_ACTION set ISASYNC_ = 0
update JBPM_COMMENT set VERSION_ = 0
--newString + oldStringvalue back to varchar 255?
update JBPM_MODULEINSTANCE set VERSION_ = 0
update JBPM_NODE set ISASYNC_ = 0, ISASYNCEXCL_ = 0
update JBPM_NODE set ENDTASKS_ = 0 where CLASS_ = 'K' --verifier avec Diem bizzarement il y a que 93 row
-- NOTE: SUBPROCNAME_, DECISIONEXPRESSION_, SCRIPT_ were all null in my database
update JBPM_POOLEDACTOR set VERSION_ = 0
update JBPM_PROCESSDEFINITION set CLASS_ = 'P'
-- Note: DESCRIPTION_ is left null
update JBPM_PROCESSINSTANCE set VERSION_ = 0, ISSUSPENDED_ = 0
--Note: KEY_ is left null
--Question: is ISSUSPENDED_ represent a cancelled process?
update JBPM_RUNTIMEACTION set VERSION_ = 0
/* I dont have any entries of this type in my database
JBPM_SWIMLANE
Colimn ACTORIDEXPRESSION_ not in bpmtemp
Colimn POOLEDACTORSEXPRESSION_ not in bpmtemp
*/
update JBPM_TASK set ISSIGNALLING_ = 1, PRIORITY_ = 3
--Colimn CONDITION_, ACTORIDEXPRESSION_, POOLEDACTORSEXPRESSION_ are left null
/* update JBPM_TASKINSTANCE */
DECLARE JBPM_TASKINSTANCE_CURSOR CURSOR
FOR
select ti.ID_, ti.CREATE_, ti.END_, PROCESSINSTANCE_
from JBPM_TASKINSTANCE as ti
inner join JBPM_TOKEN as t on (t.id_ = ti.token_)
DECLARE @taskId int
DECLARE @TaskCreate datetime
DECLARE @TaskEnd datetime
DECLARE @pi numeric
OPEN JBPM_TASKINSTANCE_CURSOR
FETCH NEXT FROM JBPM_TASKINSTANCE_CURSOR INTO @taskId, @TaskCreate, @TaskEnd, @pi
WHILE (@@FETCH_STATUS = 0)
BEGIN
DECLARE @isOpen tinyint
set @isOpen = 0;
if (@TaskEnd is null)
set @isOpen = 1;
update JBPM_TASKINSTANCE set CLASS_ = 'T', VERSION_ = 1, ISSUSPENDED_ = 0, ISOPEN_ = @isOpen, PROCINST_ = @pi where id_ = @taskId
--I do not manually suspend task force 0
FETCH NEXT FROM JBPM_TASKINSTANCE_CURSOR INTO @taskId, @TaskCreate, @TaskEnd, @pi
END
CLOSE JBPM_TASKINSTANCE_CURSOR
;
update JBPM_TOKEN set VERSION_ = 0, ISSUSPENDED_ = 0
--Note: LOCK_, SUBPROCESSINSTANCE_ left null
update JBPM_TOKENVARIABLEMAP set VERSION_ = 0
/* both new column are left null
update JBPM_TRANSITION
Colimn DESCRIPTION_ not in bpmtemp
Colimn CONDITION_ not in bpmtemp
*/
update JBPM_VARIABLEINSTANCE set VERSION_ = 0
Let me know if you use it and found error in the script.
An Phong Do
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222076#4222076
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222076
15 years, 8 months