HTTP Server: error 500: Internal server error

"Rodrigo Santana" <[email protected]> Mon, 17 Apr 2006 17:42:38 -0300
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Hi,
I'm trying to execute the chat.java demo but I have an error:

I'm running a JXTA Shell peer (JXTA 2.3.7) in windows XP machine configured
as relay, rendezvous and JXME proxy.

TCP settings: enabled, manual IP (192.168.254.3), port 9701, enabled both
outgoing and incoming connections
HTTP settings: enabled, manual IP (192.168.254.3), port 9700, enabled both
outgoing and incoming connections

The chat.java application (JXME 2.1.2 "Edfu" lib) is running in the same
machine and in the config menu of the application I put the IP of the other
peer (192.168.254.3) and the port 9700 (http).

When I try to connect it gives me an "Error polling: HTTP Error: 500
Internal Server Error".

The output messages in console:

Connecting to http://192.168.254.3:9700...
relay:
http://192.168.254.3:9700/uuid-59616261646162614A7874615032503398444D219F154529826BE4DFE09208D203?0,-1,http://192.168.254.3:9700/EndpointService:jxta-NetGroup/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/connect,3600000,keep,other
connect took 17672
creating
pipeurn:jxta:uuid-59616261646162614E50472050325033D1D1D1D1D1D141D191D191D1D1D1D1D104
Polling Interval: 1000
relay:
http://192.168.254.3:9700/uuid-59616261646162614A7874615032503398444D219F154529826BE4DFE09208D203?1000,-1,http://192.168.254.3:9700/EndpointService:jxta-NetGroup/uuid-DEADBEEFDEAFBABAFEEDBABE0000000F05/
Error polling: HTTP Error: 500 Internal Server Error
poll took 16063
createId: resId: 0:-1

So, the poll stay in looping forever, without any response, just out putting
the same message.

I haven't touched the chat.java code. After debugging I have found the point
of exception:

        int createId = peer.create(PeerNetwork.PIPE, chatIdentity, pipeId,
pipeType);

Any idea to solve this?
Thanks a lot,

--
Rodrigo Lopes de Santana
Analista de Sistemas
Instituto Atlântico
Mestrando em Eng. de Teleinformática - DETI - UFC

"Quem ama sofre, quem sofre sente, quem sente luta, quem luta vence"
"Renove suas esperanças. O que não deu certo hoje pode dá certo amanhã"