The class of the standalone server is jet.server.JREntServer. You can start JReport Server with the following command instead of using the generated batch files:
JAVA -classpath <classpath> -Djava.compiler=NONE -Dreporthome=<install_root> jet.server.JREntServer [options]
<install_root>\lib
: JRESServlets.jar; JREntServer.jar; JREngine.jar; servlet.jar; log4j-1.2.8.jar; <install_root>\bin
and check whether they are valid. Jslc.dat is the License control file. Open report.ini, and you will find the configuration information, including the temp, template and the help path. JReport will use the temp path to export the temporary files so you should make sure that the temp folder specified in report.ini exists and has space available.Option | Description |
---|---|
-? | Print brief help message. |
-p port | The port that this server listens on, default is 8888. |
-ap adminport | The port number that the remote administration uses, default is 8889. |
-l backlog | Maximum length of queue for incoming connection indications. |
-m max | Maximum number of connection handlers. |
-t timeout | Connection timeout in milliseconds. |
-s filename | Servlet property file name. |
-realm realmname | Active realm when the server starts up.
The specified realm should exist, otherwise the server will use an existing realm as the active realm. The server will then record a warning message in the log file, and set the selected active realm by the server.realm.active property in the server.properties file. |
-web directory | Web application server root directory, default is <intall_root>\public_html . |
-local | Administration on local host only. |
-vDebug | Enables JReport Engine to output messages to a file and sets engine log file's trace level to INFO and error level to WARN. |
-vError | Enables JReport Engine to output messages to a file and sets engine log file's trace level to OFF and error level to ERROR. |
-env | Print environment settings when the server starts up. |
-silent | Outputs nothing, not even the server start information. |
-log[:file Name] (deprecated) | Outputs JReport Engine messages to the log file as specified and uses the -vDebug level. |
-logall | Sets all loggers' trace level to INFO and error level to WARN. |
-jrs.admin.server host:port | The admin server host and RMI port. |
-cleanup | Checks integrality of the server data and cleans up the invalid data. |
Notes:
<install_root>\bin
.<install_root>\bin
directory.