急!!!求教:jboss的困惑

06-03-20 kelery_xu
我把我的project(war包)放入Jboss4.0.3sp1的server/default/deploy目录下,但用客户端进行请求,jboss服务器不予反应,但实际上这个客户端程序在JBoss2.4.9_Tomcat4.0版本是可以响应的.

请问我需要对Jboss4.0.3sp1进行配置吗?还是其他什么原因?

客户端是java写的socket程序。

banq
2006-03-21 15:57
>客户端进行请求

你客户端请求的协议是什么?http ?还是RMI,特别是RMI需要JNDI设置的。

kelery_xu
2006-03-21 17:26
使用http协议,控制台信息如下

00000431<?xml version="1.0"?>

<cn.net.myce.performance.io.message.osmsMessageUserLoginAndLicenseRequest><MessageType type="int">401</MessageType><UserName type="char[]">final</UserName><Password type="char[]">final</Password><ContentId type="char[]">10.9901/12.i.5</ContentId><RightsInfo type="char[]">PLAY</RightsInfo><MacAddr type="char[]">qqqqqqqqqqqq</MacAddr></cn.net.myce.performance.io.message.osmsMessageUserLoginAndLicenseRequest>

Come to POST function!

Come to openServer function!

java.net.ConnectException: Connection timed out: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at java.net.Socket.connect(Socket.java:402)

at java.net.Socket.<init>(Socket.java:309)

at java.net.Socket.<init>(Socket.java:124)

at socket.client.MySocketClient.openServer(MySocketClient.java:138)

at socket.client.MySocketClient.POST(MySocketClient.java:89)

at socket.client.MySocketClient.<init>(MySocketClient.java:37)

at socket.client.MySocketClient.main(MySocketClient.java:119)

猜你喜欢