cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Company Home error

joko71
Confirmed Champ
Confirmed Champ
When attempting to start a workflow with user other than "admin" I get this error:

12:35:36,976 ERROR [STDERR] [b]java.lang.IllegalStateException: Invalid company home path: /app:company_home - found: 0[/b]
12:35:36,976 ERROR [STDERR]    at org.alfresco.repo.workflow.jbpm.JBPMEngine.getCompanyHome(JBPMEngine.java:2441)
12:35:36,978 ERROR [STDERR]    at org.alfresco.repo.workflow.jbpm.JBPMEngine.access$200(JBPMEngine.java:124)
12:35:36,978 ERROR [STDERR]    at org.alfresco.repo.workflow.jbpm.JBPMEngine$10.doInJbpm(JBPMEngine.java:563)
12:35:36,978 ERROR [STDERR]    at org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTemplate.java:87)
12:35:36,978 ERROR [STDERR]    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:367)
12:35:36,981 ERROR [STDERR]    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:333)
12:35:36,981 ERROR [STDERR]    at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.java:80)
12:35:36,981 ERROR [STDERR]    at org.alfresco.repo.workflow.jbpm.JBPMEngine.startWorkflow(JBPMEngine.java:545)
12:35:36,981 ERROR [STDERR]    at org.alfresco.repo.workflow.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:230)
12:35:36,981 ERROR [STDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12:35:36,981 ERROR [STDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
12:35:36,981 ERROR [STDERR]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
12:35:36,981 ERROR [STDERR]    at java.lang.reflect.Method.invoke(Method.java:585)


There's scarce info about this error and I'm not sure where to look for a solution: is it Alfresco configuration issue as some sources suggest, or is it a permissions question.
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
More information please.

What version of Alfresco?
Which workflow?
How are you starting the workflow?   Share, Explorer, Actions, Your Code?
Any significant configurations like clustering or MT?
Does /app:company_home exist?   For example have you renamed it?
Have you set permissions on company home such that not everyone can read it?

joko71
Confirmed Champ
Confirmed Champ
My version of Alfresco is seen on the profile, 2.1, I'm building my own custom workflows, I'm starting it from my Java code.

I solved it, it was permission issue. But I have other more serious problems on my mind… Smiley Sad

prasal
Champ on-the-rise
Champ on-the-rise

I would like to know how you solved this issue because i am also facing same issue and my application not started because of this issue.