Page 1 of 1

Cannot Deploy Process

PostPosted:Thu Jan 22, 2015 12:33 pm
by ErikdeW84
I am running OpenKM Community 6.3.0 on a local machine to learn how the workflows work. I was doing the workflow course and in Lesson 12 you need to add Classes and Resources to your Deployment. If I do this, the Process won't deploy. If I leave the Classes and Resources empty, it works, but then an error in OpenKM shows, ofcourse.

Does anyone know what the problem might be?

Best regards

OpenKM Community 6.3.0
Ubuntu 12.04.
JBOSS Developer Studio 8.0
jBPM-3.3.1.GA

Re: Cannot Deploy Process

PostPosted:Sat Jan 24, 2015 9:52 am
by jllort
Can you share with us the workflow to take a look into. What error do you got on server when trying to deploy ? ( catalina.log )

Re: Cannot Deploy Process

PostPosted:Mon Jan 26, 2015 1:59 pm
by ErikdeW84
Thank you for your answer.

If I deploy it with Classes and Resources nothing happens in the catalina.log. The error I get is in the JBOSS Dev Studio.
errordeploying.png
errordeploying.png (15.1 KiB) Viewed 3088 times
This is the catalina.log if I deploy it without adding Classes and Resources:
(11.2 KiB) Downloaded 231 times
And here are the workflow files, but I think they are the same as provided on the wiki.
(43.04 KiB) Downloaded 232 times

Looking forward to your reply.

Best regards

Re: Cannot Deploy Process

PostPosted:Thu Jan 29, 2015 11:40 am
by jllort
On deploying you got some strange error:
Code: Select all
2015-01-26 14:07:31,836 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina]- Exception looking up UserDatabase under key UserDatabase
javax.naming.NameNotFoundException: Name [UserDatabase] is not bound in this Context. Unable to find [UserDatabase].
	at org.apache.naming.NamingContext.lookup(NamingContext.java:819)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:167)
	at org.apache.catalina.realm.UserDatabaseRealm.startInternal(UserDatabaseRealm.java:253)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.realm.CombinedRealm.startInternal(CombinedRealm.java:201)
	at org.apache.catalina.realm.LockOutRealm.startInternal(LockOutRealm.java:120)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1109)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:731)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
2015-01-26 14:07:31,849 [main] ERROR org.apache.catalina.realm.CombinedRealm- Failed to start "org.apache.catalina.realm.UserDatabaseRealm/1.0" realm
org.apache.catalina.LifecycleException: Failed to start component [Realm[UserDatabaseRealm]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at org.apache.catalina.realm.CombinedRealm.startInternal(CombinedRealm.java:201)
	at org.apache.catalina.realm.LockOutRealm.startInternal(LockOutRealm.java:120)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1109)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:731)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:689)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: No UserDatabase component found under key UserDatabase
	at org.apache.catalina.realm.UserDatabaseRealm.startInternal(UserDatabaseRealm.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 17 more
Seems is not openkm error, because on next lines openkm start correctly ( If you changed something, some configuration file or similar you've introduced some error on tomcat configuration, I do not know exactly the reason why you got it )

An yes, seems is one of our sample worflow, if you register invoiceWorkflow.par what kind of error do you got ? a screenshot will be appreciated to understand what's happening.

Re: Cannot Deploy Process

PostPosted:Fri Feb 13, 2015 9:51 am
by ErikdeW84
Thank you for now.

I've just contacted your Sales team to see what you can do for us with the professional version.


Best regards