...
After the installation you can open JOC with Jetty via
No Format http://localhost:44440
No Format https://localhost:8443
You can change these ports in the ./config/jetty.xml.
...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"> <display-name>JobScheduler test configuration (web.xml)</display-name> <servlet> <servlet-name>Default</servlet-name> <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class> <init-param> <param-name>dirAllowed</param-name> <param-value>false</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Default</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> <servlet> <servlet-name>JOC</servlet-name> <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class> <init-param> <param-name>resourceBase</param-name> <param-value>file:///c:/Program Files (x86)/sos-berlin.com/jobscheduler/scheduler</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>JOC</servlet-name> <url-pattern>/operations_gui/*</url-pattern> </servlet-mapping> </web-app> |
</span>
Send commands via HTTP (POST|GET)
If you use jetty and you want to send a command (e.g. <show_state/>) to the JobScheduler then you must use the URL:
Code Block |
---|
<nowiki>http://localhost:44440/jobscheduler/engine-cpp/</nowiki>
|
or resp.
Code Block |
---|
<nowiki>https://localhost:8443/jobscheduler/engine-cpp/</nowiki>
|
Example for HTTP GET
Code Block |
---|
<nowiki>http://localhost:44440/jobscheduler/engine-cpp/</nowiki><show_state/>
|