• Cannot Deploy Process

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #30994  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
 #31032  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 )
 #31056  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 3092 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
 #31080  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.
 #31267  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.