Php-java-bridge errors. Please wait for help.

Source: Internet
Author: User
In the windows environment, the php-java-bridge.Javaversion1.8.0_51JavavendorOracleCorporationOSWindows76.1onx86 test script has been run, but the China Merchants Bank javaAPI, it will report an error. Protocolerror:, Invali... set up php-java-bridge in windows.

Java version = 1.8.0 _ 51
Java vendor = Oracle Corporation
OS = Windows 7 6.1 on x86

The test script has been run,
But an error will be reported after receiving the China Merchants Bank's java API.

Protocol error:, Invalid document end at col 1. Check the back end log for OutOfMemoryErrors.

The error code is as follows:
Require_once (ROOT_DIR. "/java/META-INF/java/Java. inc ");
Java_set_library_path (ROOT_DIR. "/java /");

The following is the error log Content.
Jul 30 16:57:19 JavaBridge ERROR: An exception occured: java. lang. IllegalStateException: Please use a JEE server or servlet engine.
Java. lang. IllegalStateException: Please use a JEE server or servlet engine.
At php. java. bridge. JavaBridgeRunner. doPut (JavaBridgeRunner. java: 198)
At php. java. bridge. http. HttpServer. service (HttpServer. java: 289)
At php. java. bridge. http. HttpServer $ Runner. run (HttpServer. java: 205)
At php. java. bridge. ThreadPool $ Delegate. run (ThreadPool. java: 60)

Reply content:

Set up php-java-bridge in windows.

Java version = 1.8.0 _ 51
Java vendor = Oracle Corporation
OS = Windows 7 6.1 on x86

The test script has been run,
But an error will be reported after receiving the China Merchants Bank's java API.

Protocol error:, Invalid document end at col 1. Check the back end log for OutOfMemoryErrors.

The error code is as follows:
Require_once (ROOT_DIR. "/java/META-INF/java/Java. inc ");
Java_set_library_path (ROOT_DIR. "/java /");

The following is the error log Content.
Jul 30 16:57:19 JavaBridge ERROR: An exception occured: java. lang. IllegalStateException: Please use a JEE server or servlet engine.
Java. lang. IllegalStateException: Please use a JEE server or servlet engine.
At php. java. bridge. JavaBridgeRunner. doPut (JavaBridgeRunner. java: 198)
At php. java. bridge. http. HttpServer. service (HttpServer. java: 289)
At php. java. bridge. http. HttpServer $ Runner. run (HttpServer. java: 205)
At php. java. bridge. ThreadPool $ Delegate. run (ThreadPool. java: 60)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.