yahaosoft / apjp

Automatically exported from code.google.com/p/apjp
0 stars 0 forks source link

APJP on CloudFoundy couldnot work #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I succeeded to install APJP on CloudFoundy,but it couldnot work.
After I started APJP.bat,the information show like this:

APJP: PROXY_SERVER/START
APJP_LOCAL_PROXY_SERVER: HTTP_PROXY_SERVER/START
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_SERVER/START
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/START
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/START OK
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_SERVER/START OK
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_PROXY_SERVER/START
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_PROXY_SERVER/START OK
APJP_LOCAL_PROXY_SERVER: HTTP_PROXY_SERVER/START OK
APJP_LOCAL_PROXY_SERVER: HTTPS_PROXY_SERVER/START
APJP_LOCAL_HTTPS_PROXY_SERVER: HTTPS_PROXY_SERVER/START
APJP_LOCAL_HTTPS_PROXY_SERVER: HTTPS_PROXY_SERVER/START OK
APJP_LOCAL_PROXY_SERVER: HTTPS_PROXY_SERVER/START OK
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START
APJP_LOCAL_PROXY_SERVER: EXCEPTION
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at APJP.ProxyServer.startProxyServer(Unknown Source)
        at APJP.ProxyServer.start(Unknown Source)
        at APJP.Main.main(Unknown Source)
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START NOT OK
APJP: EXCEPTION
APJP.ProxyServerException: PROXY_SERVER/START
        at APJP.ProxyServer.startProxyServer(Unknown Source)
        at APJP.ProxyServer.start(Unknown Source)
        at APJP.Main.main(Unknown Source)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        ... 3 more
APJP: PROXY_SERVER/START NOT OK
APJP: HTTP_SERVER/TEST
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/TEST
APJP_LOCAL_HTTP_SERVER: REQUEST: HEAD / HTTP/1.0
APJP_LOCAL_HTTP_SERVER: RESPONSE: HTTP/1.0 200 OK
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/TEST OK
APJP: HTTP_SERVER/TEST OK
APJP: HTTPS_SERVER/TEST
APJP_LOCAL_HTTPS_SERVER: HTTPS_SERVER/TEST
APJP_LOCAL_HTTPS_SERVER: REQUEST: HEAD / HTTP/1.0
APJP_LOCAL_HTTPS_SERVER: RESPONSE: HTTP/1.0 200 OK
APJP_LOCAL_HTTPS_SERVER: HTTPS_SERVER/TEST OK
APJP: HTTPS_SERVER/TEST OK

please give me a hand!

Original issue reported on code.google.com by ablmdr...@gmail.com on 4 Feb 2012 at 5:20

GoogleCodeExporter commented 9 years ago
Another application is already using port 10000
In APJP.properties set APJP_LOCAL_PROXY_SERVER_PORT to 10001

Original comment by jeroen.v...@gmail.com on 4 Feb 2012 at 1:46

GoogleCodeExporter commented 9 years ago
thanks

Original comment by ablmdr...@gmail.com on 4 Feb 2012 at 1:55