[jboss-user] [JBoss Remoting Users] - port problem on windows embedded pos

urspanda86 do-not-reply at jboss.com
Fri Sep 4 05:16:10 EDT 2009


Hello!
  I am currently working on a java ee project and we use Jboss as the application server.
  The server should run on windows xp, linux and also on windows embedded for point of sale (i know it is a funny choice).
   Jboss version: 5.1 GA 
    On my windows XP  it works fine.
    On we pos (same config) I have a problem with clients for jbm and  datasource.  I think it is a port problem. I deactivated the firewall, i also checked in windows registry for blocked ports, no problem there.  
    I gives me:

  | ERROR [JBossConnectionFactory] Failed to download and/or install client side AOP stack
  | org.jboss.jms.exception.MessagingNetworkFailureException
  | 	at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:240)
  | 	at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
  | 	at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:237)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
  | 	at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
  | 	at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
  | 	at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
  | 	at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
  | 	at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:137)
  | 	at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83)
  | 	at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
  | 	at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413)
  | 	at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351)
  | 	at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:729)
  | 	at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
  | 	at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | 	at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://uc_0183_0181/?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&connectionWait=10&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat&validatorPingPeriod=10000&validatorPingTimeout=5000]
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:776)
  | 	at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:426)
  | 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
  | 	at org.jboss.remoting.Client.invoke(Client.java:1724)
  | 	at org.jboss.remoting.Client.invoke(Client.java:629)
  | 	at org.jboss.remoting.Client.invoke(Client.java:617)
  | 	at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
  | 	... 18 more
  | Caused by: java.lang.IllegalArgumentException: port out of range:-1
  | 	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
  | 	at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:197)
  | 	at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:433)
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:1089)
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:762)
  | 	... 24 more
  | 
  |  
     I don't know if my problem is a remoting  or a jbm problem (or maybe a java on we pos problem)!, so i am sorry if i placed wrong my message.
  


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253512#4253512

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253512



More information about the jboss-user mailing list