Enable the Web Service Testing Interface for Adobe LiveCycle Workflow

来源:互联网 发布:个人生活记账软件 编辑:程序博客网 时间:2024/05/16 17:39
1) Modify the run.bat file
If you are running JBoss via the console, then you’ll need to modify the run.bat file. First add the following line to the file:
set WF_TEST=-Dadobe.workflow.service.test.enabled=true
Now locate (near the end of the file) the line that starts the JVM and looks something like this:
“%JAVA%” %JAVA_OPTS% -classpath “%JBOSS_CLASSPATH%” -Xms128m -Xmx512m -Djava.endorsed.dirs=%JBOSS_HOME%/server/all/lib/endorsed org.jboss.Main -c all %*
Add the WF_TEST variable to the line so that it looks like this:
“%JAVA%” %JAVA_OPTS% -classpath “%JBOSS_CLASSPATH%” -Xms128m -Xmx512m %WF_TEST% -Djava.endorsed.
dirs=%JBOSS_HOME%/server/all/lib/endorsed org.jboss.Main -c all %*
The next time you restart JBoss the web service test interface will be available at: http://serverName:port/services
2) Modify the JVM parameters in the registry
If you used the turnkey install and run JBoss as a service you’ll need to add a registry key to pass the necessary JVM parameter when the service starts. The registry key should be added to:
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/JBoss for Adobe Livecycle/Parameters
Create a new string value named “JVM Option Number #” where # is the next number in sequence (ie: if the previous
was JVM Option number 2 then 3 should be used as the # this time). The value value must be: -Dadobe.workflow.service.test.enabled=true .
The next time you restart the JBoss service the web service test interface will be available at: http://serverName:port/services . 
原创粉丝点击