tel8618217223380 / jap

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

executing problem #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
it's my first time installing jap, so
1)i install 'JAP_REMOTE_WS_NODE_MODULUS-2.0.0.zip' in modulus site (i have 2 
app, one with username ans password, and second without)
2)i have extracted 'JAP_LOCAL_WS_PYTHON_WINDOWS-2.0.0' and config it.

when i execute 'JAP_LOCAL_WS.bat' the debug window give me below messeges:

C:\APJP\JAP_LOCAL_WS_PYTHON_WINDOWS-2.0.0>JAP_LOCAL_WS.exe
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocolFactory.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL_WS:WSInputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.LOCAL_WS.JAP_LOCAL:InputProtocol.connectionLost

as result my browser cannot open any page.

so what's wrong with it?
tnx

Original issue reported on code.google.com by meh...@gmail.com on 15 Jun 2013 at 9:45

GoogleCodeExporter commented 8 years ago
i test with opera and firefox, giving me this result

Original comment by meh...@gmail.com on 15 Jun 2013 at 10:03

Attachments:

GoogleCodeExporter commented 8 years ago
i install it in nodejitsu, no luck, giving the same result, so i think there is 
something wrong with local one. any help?

Original comment by meh...@gmail.com on 15 Jun 2013 at 10:10

GoogleCodeExporter commented 8 years ago
Can you attach your JAP_LOCAL_WS.json and JAP_REMOTE_WS.json?

Original comment by jeroen.v...@gmail.com on 17 Jun 2013 at 6:56

GoogleCodeExporter commented 8 years ago
this remote file is for modulus, i also tried with jitsu and openshift with the 
same settings.

Original comment by meh...@gmail.com on 18 Jun 2013 at 3:00

Attachments:

GoogleCodeExporter commented 8 years ago
http://mehdok-jap-jitsu.jit.su/

this is the jitsu address with same settings i get the same result.

Original comment by meh...@gmail.com on 18 Jun 2013 at 3:08

GoogleCodeExporter commented 8 years ago
in JAP_LOCAL_WS.json:
set REMOTE_PROXY_SERVERS.ADDRESS to jap2-8075.onmodulus.net or 
mehdok-jap-jitsu.jit.su
set REMOTE_PROXY_SERVERS.PORT to 443

that should work, if not, try upgrading to 3.0.0-SNAPSHOT (which is a 
development snapshot).

Original comment by jeroen.v...@gmail.com on 18 Jun 2013 at 7:56

GoogleCodeExporter commented 8 years ago
it didn't work either, i will upgrade to snapshot 3.

but the output message (on snapshot 2, i didn't test 3) isn't clear to 
understand the problems. if the developer(s) can work on better debug info 
output, it can help a lot to solve the problems.

tnx.

Original comment by meh...@gmail.com on 18 Jun 2013 at 8:23

GoogleCodeExporter commented 8 years ago
OK, i install version 3 on openshift, finally it worked, but sometimes it open 
web page normally, sometimes it open but don't show item in correct location, 
and most of time it doesn't open any thing.

Original comment by meh...@gmail.com on 18 Jun 2013 at 10:51

GoogleCodeExporter commented 8 years ago
#7 Yes, I will do that

#8 OPENSHIFT is not always stable and WEBSOCKET support is experimental.
Maybe you can try NODEJITSU and MODULUS with 3.0.0-SNAPSHOT?

Original comment by jeroen.v...@gmail.com on 18 Jun 2013 at 11:42

GoogleCodeExporter commented 8 years ago
ops, i install it on modulus, the mentioned problems didn't occur,
but there is a little speed problem, i have a APJP(java version) installed on 
OPENSHIFT  and HEROKU, and i can say it's much much faster than JAP(both python 
and node version),
i don't know why, maybe because of MODULUS servers, maybe Because JAVA is more 
faster than python or javascript or .....

anyway thanks for your great works (APJP, JAP, .....). 

Original comment by meh...@gmail.com on 18 Jun 2013 at 12:52