java认证辅导:JBOSS远程调用
部署环境linux(RHEL5.0),JBOSS 4.2.2,JDK 1.5.0,部署JMS服务端(Vmware虚拟机)
2.win7 JMS客户端
通过JMS客户端调用JMS服务端,产生入下错误
2010-06-20 19:10:19,783 - [com.aspire.cmgp.smspush.common.ConfigManager] - 0 [main] DEBUG - Invoker ConfigManager one parameter Instance
JBOSS_SERVER_HOME_DIR is : null
isEncoding is : false
2010-06-20 19:10:19,783 - [com.aspire.cmgp.smspush.common.FileInfo] - 0 [main] DEBUG - is **##= java.io.BufferedInputStream@1113708
jndiPath is : ConnectionFactory
2010-06-20 19:10:19,799 - [com.aspire.cmgp.smspush.common.ConfigManager] - 16 [main] DEBUG - Invoker ConfigManager one parameter Instance
JBOSS_SERVER_HOME_DIR is : null
isEncoding is : false
2010-06-20 19:10:19,799 - [com.aspire.cmgp.smspush.common.FileInfo] - 16 [main] DEBUG - is **##= java.io.BufferedInputStream@14a9972
2010-06-20 19:10:19,799 - [com.aspire.cmgp.smspush.common.ConfigManager] - 16 [main] DEBUG - this.fileInfo is :{java.naming.provider.url=192.168.167.92:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2010-06-20 19:10:20,844 - [org.jnp.interfaces.NamingContext] - 1061 [main] DEBUG - Failed to connect to 192.168.167.92:1099
javax.naming.CommunicationException: Failed to connect to server 192.168.167.92:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 192.168.167.92:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.aspire.cmgp.smspush.common.JndiLookup.lookup(JndiLookup.java:44)
at com.aspire.cmgp.smspush.client.QueueSend.(QueueSend.java:46)
at com.aspire.cmgp.smspush.client.CmgpSmsPushClient.sendMessageOriginal(CmgpSmsPushClient.java:84)
at com.aspire.cmgp.smspush.client.CmgpSmsPushClient.main(CmgpSmsPushClient.java:145
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>