Menu

Alias name localhost does not identify a key entry

Help
Peeter
2014-02-11
2015-12-15
  • Peeter

    Peeter - 2014-02-11

    Hi
    It's my first try to use this software or Jboss so excuse me if I missed something simple. Here are my errors and the problem is that although ant deploy and ant install reported a SUCCESS nothing starts on port 8443 after restarting jboss:

    ~$ jboss-as-7.1.1.Final/bin/standalone.sh |grep 'WARN\|ERROR\|Caused'
    14:37:41,684 ERROR [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Error initializing endpoint: java.io.IOException: Alias name localhost does not identify a key entry
    14:37:41,684 ERROR [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-6) Error initializing endpoint: java.io.IOException: Alias name localhost does not identify a key entry
    14:37:41,696 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.web.connector.httpspub: org.jboss.msc.service.StartException in service jboss.web.connector.httpspub: JBAS018007: Error starting web connector
    Caused by: LifecycleException: Protocol handler initialization failed: java.io.IOException: Alias name localhost does not identify a key entry
    14:37:41,696 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.connector.httpspriv: org.jboss.msc.service.StartException in service jboss.web.connector.httpspriv: JBAS018007: Error starting web connector
    Caused by: LifecycleException: Protocol handler initialization failed: java.io.IOException: Alias name localhost does not identify a key entry
    14:37:44,739 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-6) HHH000196: Error parsing XML (21) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.
    14:37:45,958 WARN [org.hibernate.dialect.H2Dialect] (MSC service thread 1-6) HHH000431: Unable to determine H2 database version, certain features may not work
    14:37:47,510 ERROR [org.jboss.as] (MSC service thread 1-8) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 8929ms - Started 2251 of 2361 services (2 services failed or missing dependencies, 106 services are passive or on-demand)

    BR
    Peeter

     
  • Mike Kushner

    Mike Kushner - 2015-12-15

    Hi,

    Since we've been getting this question quite often, I'll post here for future reference. The error

    ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-6) HHH000196: Error parsing XML (21) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

    is due to a known bug in JBoss 7.1.1 GA, which is due to running JBoss on a virtual machine with a single core. The easiest workaround is simply to add another core to the VM.

    Cheers,
    Mike Kushner
    Release Manager, Primekey Solutions


    Save time and money with an Enterprise support subscription. Please see www.primekey.se for more information.
    https://www.primekey.se/technologies/products-overview/
    https://www.primekey.se/service-support/support/


     

Log in to post a comment.