cancel
Showing results for 
Search instead for 
Did you mean: 

Test connection of jbpm in eclipse doesn't work

xena
Champ in-the-making
Champ in-the-making
Hello,
i have installed alfresco community 3.4 and now i want to create a custom advanced workflow. I have Eclipse galileo 3.5 and i have installed JBPM 3.2.7. Then i follow the alfresco guide http://wiki.alfresco.com/wiki/WorkflowAdministration#Installing_JBoss_jBPM_Process_Designer, but when i try the "Test connection" there is a message error in eclipse that says
"Unexpected Exception: An expection happened while testing server connection. Reason: An unexpected exception caused the test connection operation fail".
In the log file of alfresco "stderr" there is :
28-ott-2010 11.46.11 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Allocate exception for servlet JBPMDeployProcessServlet
javax.servlet.UnavailableException: system.workflow.deployservlet.enabled=false
   at org.alfresco.web.app.servlet.JBPMDeployProcessServlet.init(JBPMDeployProcessServlet.java:72)
   at javax.servlet.GenericServlet.init(GenericServlet.java:212)
   at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
   at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
   at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
   at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
   at java.lang.Thread.run(Thread.java:619)

but i have added in alfresco-global.properties system.workflow.deployservlet.enabled=true !!!!!!

Could anyone help me  please????
3 REPLIES 3

ikrikovtsev
Champ in-the-making
Champ in-the-making
Hello,
but i have added in alfresco-global.properties system.workflow.deployservlet.enabled=true !!!!!!
Could anyone help me  please????

Hi, I did not work in version 3.3., but I moved the setting up. It's work.

C:\Alfresco\tomcat\shared\classes\alfresco-global.properties


###############################
## Common Alfresco Properties #
###############################
dir.root=C:/Alfresco/alf_data
web.application.context.url=http://localhost:8080/alfresco

# Workflow
system.workflow.deployservlet.enabled=true

xena
Champ in-the-making
Champ in-the-making
Hi, I did not work in version 3.3., but I moved the setting up. It's work.

C:\Alfresco\tomcat\shared\classes\alfresco-global.properties


###############################
## Common Alfresco Properties #
###############################
dir.root=C:/Alfresco/alf_data
web.application.context.url=http://localhost:8080/alfresco

# Workflow
system.workflow.deployservlet.enabled=true
Hi ikrikovtsev,
i'have open the file C:\Alfresco\tomcat\shared\classes\alfresco-global.properties, i had already added the line about the workflow, while  the 2 lines about common properties there were by default. But i try to change  "web.application.context.url=http://localhost:8080/alfresco" in "web.application.context.url=http://localhost:8080/alfresco/jbpm/deployprocess" and the test connection now is ok!!! But i don't think is the correct solution, it could have bad consequences on possible future changes. Meanwhile, however, something has changed!!!
Another proof I have done is setting the server deployer from "/alfresco/jBPM/deployprocess" simply to "/alfresco" (with "web.application.context.url=http://localhost:8080/alfresco") and also in this case, the test connection is ok!!!
Any suggestions?

zydoon
Champ on-the-rise
Champ on-the-rise
Hi,

Using eclipse Helios Service Release 2 (3.6.2) x86_64 on a read-only filesystem "/opt" the Test connection the deployment servlet was successful after editing the alfresco global properties file:
/path/to/tomcat/shared/classes/alfresco-global.properties
and enabled the workflow deployment servlet like you did above:
system.workflow.deployservlet.enabled=true

Regards