Expand my Community achievements bar.

"http://localhost:8080/services" this link is not working

Avatar

Former Community Member
Hi,



When i'm trying to access this link " http://localhost:8080/services".



It's saying that

"

The web service test interface is currently disabled.



To enable it, set the following Java system property:



-Dadobe.workflow.service.test.enabled=true "



Can you tell me that where shall i enable it.



Regards,

Jeevan
8 Replies

Avatar

Former Community Member
Hi Jeevan

1) Go to the run.bat file in the jboss\bin directory.



2) At the bottom of that file add the argument as per this example:

:RESTART

"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" -Xms128m -Xmx512m -Dadobe.workflow.service.test.enabled=true -Djava.endorsed.dirs=%JBOSS_HOME%/server/all/lib/endorsed org.jboss.Main -c all %*

IF ERRORLEVEL 10 GOTO RESTART



3) Manually start JBoss via command prompt by navigating to the jboss\server\all\deploy directory and typing run -c all.



NOTE: This argument will not be set unless you manually start JBoss. If you are using the JBoss turnkey install, you cannot start it through Windows Services.



Diana@adobe

Avatar

Former Community Member
Thank you very much Diana.



With best regards,

Jeevan

Avatar

Level 9
Diana/Jeevan

You can tweak the Windows Services version to add this argument.

Use Regedit, and look at:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JBoss for Adobe LiveCycle8\Parameters

It's a bit fiddly, but fairly obvious.

Make sure you do a backup before you start fiddling.

Howard

http://www.avoka.com

Avatar

Former Community Member
A couple caveats about using the Web Service test interface



Ive been told that the interface is not supported.



Also, I have experienced inconsistent results when testing using the interface. When Ive had multiple input parameters, the Web Service test interface seems to randomly mix them up. Ive had better results by creating a simple .NET tester application to call the service.

Avatar

Former Community Member
If you used the turnkey install and run JBoss as a service youll 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 .

Avatar

Level 9
I'd be careful of using ControlSet001 - I don't think that becomes active till you reboot. Use CurrentControlSet.

howard

http://www.avoka.com

Avatar

Former Community Member
I wonder if some one can help me!!



I installed eclipse all in one application and tomcat5.5.I am trying to create bottom up web services as in tutorial. but when i try to start the server within tomcat it gives me an error mesage

"Could not publish server configuration for Tomcat v5.5 Server at localhost.

Multiple Contexts have a path of "/Axis2WSTest2".

"

Regards july