the hornet`s example of large-message start error in linux
xiaoqiang Sep 8, 2010 7:51 AMhi:
when I run the example of large-message of hornetQ in linux , I find the error :port already in use:1098,but when I run it in widows relation to the problem,I can use the comman;netstat -abn , find the thread use the port ,kill it with the pid name, I can resolute it.Now I run the example in the linux with the same problem,but when I try to find the thread who use the port ,there no one .The error messages:
[java] HornetQServer_0 err:java.lang.IllegalStateException: Incompletely deployed:
[java] HornetQServer_0 err:
[java] HornetQServer_0 err:DEPLOYMENTS IN ERROR:
[java] HornetQServer_0 err: Deployment "JNDIServer" is in error due to: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
[java] HornetQServer_0 err: java.net.BindException: Address already in use
[java] HornetQServer_0 err:
[java] HornetQServer_0 err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
[java] HornetQServer_0 err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
[java] HornetQServer_0 err: at org.hornetq.integration.bootstrap.HornetQBootstrapServer.bootstrap(HornetQBootstrapServer.java:159)
[java] HornetQServer_0 err: at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
[java] HornetQServer_0 err: at org.hornetq.integration.bootstrap.HornetQBootstrapServer.run(HornetQBootstrapServer.java:117)
[java] HornetQServer_0 err: at org.hornetq.common.example.SpawnedHornetQServer.main(SpawnedHornetQServer.java:35)
[java] java.lang.RuntimeException: server failed to start
[java] at org.hornetq.common.example.SpawnedVMSupport.spawnVM(SpawnedVMSupport.java:154)
[java] at org.hornetq.common.example.HornetQExample.startServer(HornetQExample.java:157)
[java] at org.hornetq.jms.example.LargeMessageExample.runExample(LargeMessageExample.java:129)
[java] at org.hornetq.common.example.HornetQExample.run(HornetQExample.java:73)
[java] at org.hornetq.jms.example.LargeMessageExample.main(LargeMessageExample.java:45)
[java]
[java] HornetQServer_0 out:FAILED::Incompletely deployed:
[java] HornetQServer_0 out:
[java] HornetQServer_0 out:DEPLOYMENTS IN ERROR:
[java] HornetQServer_0 out: Deployment "JNDIServer" is in error due to: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
[java] HornetQServer_0 out: java.net.BindException: Address already in use
[java] HornetQServer_0 out:
[java] #####################
[java] ### FAILURE! ###
[java] #####################
[java] Java Result: 1
who can help me ,thanks!