Re: Error - org.exolab.jms.server.ServerException

"Thuy-Linh Chu" <[email protected]> Thu, 24 Aug 2006 20:05:53 -0700
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
I got the same error.  This occurs right after I upgraded from 0.7.6.1 to 0.7.7.
 When I did a netstat after this error (with server still running), I got the
following:

  TCP    mymachine:4954             mymachine.company.com:18221  ESTABLISHED
  TCP    mymachine:18221            mymachine.company.com:0     LISTENING
  TCP    mymachine:18221            mymachine.company.com:4954  ESTABLISHED

where 18221 is my RMI port.  Below is my connector and RMI configuration:

  <Connectors>
    <Connector scheme="rmi">
      <ConnectionFactories>
        <ConnectionFactory name="RMIConnectionFactory"/>
      </ConnectionFactories>
    </Connector>
  </Connectors>

  <!-- Optional. This represents the default configuration  -->
  <RmiConfiguration embeddedRegistry="false"
                    registryHost="127.0.0.1"
                    registryPort="18221" >
  </RmiConfiguration>

Your help is appreciated.

Thuy-Linh Chu

Tim Anderson <tma@...> writes:

> 
> 
> Make sure you haven't configured openjms.xml to use port 1099 for more
> than one connector.
> Failing that, pull apart the exception to find the root cause of the
> problem.
> -Tim
> Alexis Rocha wrote:
> 
>   Thanks Tim.
>    
>   But I used this command and nothing was listening port 1099. I
> restarted my machine and still couldn´t connect due to the same error. 
>   Any other ideas ?
>    
>   Thanks,
>   Alexis
>  
>   
> On 7/3/06, Tim
> Anderson <tma-ooduxAEi7gXtt0EhB6fy4g-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org>
> wrote:
>   Alexis
> Rocha wrote:
> > Hi all,
> >
> >   When I try to initialize OpenJms in my machine, sometimes, I get
> the
>     
> > error:
> >
> >   org.exolab.jms.server.ServerException:
> > java.rmi.server.ExportException: Failed accept connections on URI:
> > rmi://my_machine_ip:1099/
> >
> >   Does anyone can help me with this ?
>     
> >
> > Thanks,
> > Alexis
> It usually means that something is already listening on port 1099.
> You can check by running:
> > netstat -a
> from the command line.
> -Tim
> Using Tomcat but need to do more? Need to support web services,
> security?
>     
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> openjms-user mailing
listopenjms-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f-XMD5yJDbdMReXY1tMh2IBoSV3M38o/[email protected]://lists.sourceforge.net/lists/listinfo/openjms-user
> 
>   
>   
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>   
> 
> _______________________________________________
> openjms-user mailing list
> openjms-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>   
> 
> 
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> _______________________________________________
> openjms-user mailing list
> openjms-user@...
> https://lists.sourceforge.net/lists/listinfo/openjms-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user