Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    aleph_shutdown giving JBOSS errors

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    Shutting down JBOSS...
    Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls:
    127.0.0.1:2891
    at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1198)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at org.jboss.Shutdown.main(Shutdown.java:188)
    shutdown complete

    Resolution:
    JBOSS is not started by aleph_startup by default, that is why these errors appear during the shutdown. You can safely ignore them. If you wish to correct this problem, please comment out the following lines in $alephe_root/aleph_shutdown:

    # JBOSS shutdown
    # echo "Shutting down JBOSS..."

    # cd $aleph_dev/ng/aleph/home/system/bin
    # grep shutdown.sh jboss_shutdown.sh | bash -s

    Additional Information

    aleph_shutdown JBOSS errors Shutting down Exception in thread "main" javax.namin


    • Article last edited: 10/8/2013