10 Replies Latest reply on Jan 4, 2015 9:37 PM by mehtarak

    JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]

    mehtarak

      I am trying to deploy a java web app in amazon cloud using jboss 7.2 and mysql. My web app is throwing 404 error.

       

      When I look in stack trace: I see two problems (In Red) below

       

      03:29:07,629 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Standalone] -XX:+UseCompressedOops -XX:MaxPermSize=768m -Xmx768m -Dorg.jboss.boot.log.file=/opt/bitnami/jboss/standalone/log/server.log -Dlogging.configuration=file:/opt/bitnami/jboss/standalone/configuration/logging.properties

      03:29:09,493 INFO  [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.7.GA

      03:29:09,515 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.7.GA

      03:29:09,519 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

      03:29:09,538 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.14.GA

      03:29:09,642 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) JBAS010280: Activating Infinispan subsystem.

      03:29:09,695 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 42) JBAS013171: Activating Security Subsystem

      03:29:09,679 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 35) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

      03:29:09,702 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 37) JBAS011800: Activating Naming Subsystem

      03:29:09,742 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013170: Current PicketBox version=4.0.15.Final

      03:29:09,840 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 46) JBAS015537: Activating WebServices Extension

      03:29:09,919 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

      03:29:10,048 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service

      03:29:10,049 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      03:29:10,360 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]

      03:29:10,612 INFO  [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final

      03:29:10,845 INFO  [org.apache.coyote.ajp] (MSC service thread 1-2) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/0.0.0.0:8009

      03:29:11,608 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/textme]

      03:29:11,694 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 127.0.0.1:9999

      03:29:11,732 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "com.textme-0.0.1-SNAPSHOT.war" (runtime-name: "com.textme-0.0.1-SNAPSHOT.war")

      03:29:11,759 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "postgresql-9.1-903.jdbc4.jar" (runtime-name: "postgresql-9.1-903.jdbc4.jar")

      03:29:11,765 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /opt/bitnami/jboss/standalone/deployments

      03:29:12,555 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 0.0.0.0:4447

      03:29:12,755 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)

      03:29:14,428 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      03:29:14,492 INFO  [org.jboss.web] (ServerService Thread Pool -- 51) JBAS018210: Register web context: /com.textme-0.0.1-SNAPSHOT

      03:29:14,878 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "postgresql-9.1-903.jdbc4.jar" (runtime-name : "postgresql-9.1-903.jdbc4.jar")

      03:29:14,880 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "com.textme-0.0.1-SNAPSHOT.war" (runtime-name : "com.textme-0.0.1-SNAPSHOT.war")

      03:29:14,881 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]

       

      03:29:14,903 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

      03:29:14,904 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      03:29:14,904 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.2.0.Final "Janus" started (with errors) in 8138ms - Started 189 of 247 services (1 services failed or missing dependencies, 56 services are passive or on-demand)

       

       

      My standalone.xml looks like as below:

      --------------------------------------

      bitnami@ip-172-31-61-193:~/stack/jboss/standalone/configuration$ cat standalone.xml

      <?xml version='1.0' encoding='UTF-8'?>

       

      <server xmlns="urn:jboss:domain:1.4">

       

          <extensions>

              <extension module="org.jboss.as.clustering.infinispan"/>

              <extension module="org.jboss.as.configadmin"/>

              <extension module="org.jboss.as.connector"/>

              <extension module="org.jboss.as.deployment-scanner"/>

              <extension module="org.jboss.as.ee"/>

              <extension module="org.jboss.as.ejb3"/>

              <extension module="org.jboss.as.jaxrs"/>

              <extension module="org.jboss.as.jdr"/>

              <extension module="org.jboss.as.jmx"/>

              <extension module="org.jboss.as.jpa"/>

              <extension module="org.jboss.as.osgi"/>

              <extension module="org.jboss.as.jsf"/>

              <extension module="org.jboss.as.logging"/>

              <extension module="org.jboss.as.mail"/>

              <extension module="org.jboss.as.naming"/>

              <extension module="org.jboss.as.pojo"/>

              <extension module="org.jboss.as.remoting"/>

              <extension module="org.jboss.as.sar"/>

              <extension module="org.jboss.as.security"/>

              <extension module="org.jboss.as.threads"/>

              <extension module="org.jboss.as.transactions"/>

              <extension module="org.jboss.as.web"/>

              <extension module="org.jboss.as.webservices"/>

              <extension module="org.jboss.as.weld"/>

          </extensions>

       

       

          <management>

              <security-realms>

                  <security-realm name="ManagementRealm">

                      <authentication>

                          <local default-user="$local"/>

                          <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>

                      </authentication>

                  </security-realm>

                  <security-realm name="ApplicationRealm">

                      <authentication>

                          <local default-user="$local" allowed-users="*"/>

                          <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>

                      </authentication>

                      <authorization>

                          <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>

                      </authorization>

                  </security-realm>

              </security-realms>

              <management-interfaces>

                  <native-interface security-realm="ManagementRealm">

                      <socket-binding native="management-native"/>

                  </native-interface>

                  <http-interface security-realm="ManagementRealm">

                      <socket-binding http="management-http"/>

                  </http-interface>

              </management-interfaces>

          </management>

       

          <profile>

              <subsystem xmlns="urn:jboss:domain:logging:1.2">

                  <console-handler name="CONSOLE">

                      <level name="INFO"/>

                      <formatter>

                          <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                      </formatter>

                  </console-handler>

                  <periodic-rotating-file-handler name="FILE" autoflush="true">

                      <formatter>

                          <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                      </formatter>

                      <file relative-to="jboss.server.log.dir" path="server.log"/>

                      <suffix value=".yyyy-MM-dd"/>

                      <append value="true"/>

                  </periodic-rotating-file-handler>

                  <logger category="com.arjuna">

                      <level name="WARN"/>

                  </logger>

                  <logger category="org.apache.tomcat.util.modeler">

                      <level name="WARN"/>

                  </logger>

                  <logger category="org.jboss.as.config">

                      <level name="DEBUG"/>

                  </logger>

                  <logger category="sun.rmi">

                      <level name="WARN"/>

                  </logger>

                  <logger category="jacorb">

                      <level name="WARN"/>

                  </logger>

                  <logger category="jacorb.config">

                      <level name="ERROR"/>

                  </logger>

                  <root-logger>

                      <level name="INFO"/>

                      <handlers>

                          <handler name="CONSOLE"/>

                          <handler name="FILE"/>

                      </handlers>

                  </root-logger>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:datasources:1.1">

                  <datasources>

                      <datasource jndi-name="java:jboss/datasources/textme" pool-name="textme" enabled="true" use-java-context="true">

                          <connection-url>jdbc:mysql://localhost:3306/textme</connection-url>

                          <driver>com.mysql</driver>

                          <security>

                              <user-name>xxxxxxx</user-name>

                              <password>xxxxxxx</password>

                          </security>

                      </datasource>

                      <drivers>

                          <driver name="com.mysql" module="com.mysql">

               <driver-class>com.mysql.jdbc.Driver</driver-class>

               <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>

                          </driver>

                      </drivers>

                  </datasources>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">

                  <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:ee:1.1">

                  <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>

                  <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:ejb3:1.4">

                  <session-bean>

                      <stateless>

                          <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>

                      </stateless>

                      <stateful default-access-timeout="5000" cache-ref="simple"/>

                      <singleton default-access-timeout="5000"/>

                  </session-bean>

                  <pools>

                      <bean-instance-pools>

                          <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>

                          <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>

                      </bean-instance-pools>

                  </pools>

                  <caches>

                      <cache name="simple" aliases="NoPassivationCache"/>

                      <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>

                  </caches>

                  <passivation-stores>

                      <file-passivation-store name="file"/>

                  </passivation-stores>

                  <async thread-pool-name="default"/>

                  <timer-service thread-pool-name="default">

                      <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>

                  </timer-service>

                  <remote connector-ref="remoting-connector" thread-pool-name="default"/>

                  <thread-pools>

                      <thread-pool name="default">

                          <max-threads count="10"/>

                          <keepalive-time time="100" unit="milliseconds"/>

                      </thread-pool>

                  </thread-pools>

                  <default-security-domain value="other"/>

                  <default-missing-method-permissions-deny-access value="true"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:infinispan:1.4">

                  <cache-container name="web" aliases="standard-session-cache" default-cache="local-web" module="org.jboss.as.clustering.web.infinispan">

                      <local-cache name="local-web" batching="true">

                          <file-store passivation="false" purge="false"/>

                      </local-cache>

                  </cache-container>

                  <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">

                      <local-cache name="entity">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LRU" max-entries="10000"/>

                          <expiration max-idle="100000"/>

                      </local-cache>

                      <local-cache name="local-query">

                          <transaction mode="NONE"/>

                          <eviction strategy="LRU" max-entries="10000"/>

                          <expiration max-idle="100000"/>

                      </local-cache>

                      <local-cache name="timestamps">

                          <transaction mode="NONE"/>

                          <eviction strategy="NONE"/>

                      </local-cache>

                  </cache-container>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>

              <subsystem xmlns="urn:jboss:domain:jca:1.1">

                  <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>

                  <bean-validation enabled="true"/>

                  <default-workmanager>

                      <short-running-threads>

                          <core-threads count="50"/>

                          <queue-length count="50"/>

                          <max-threads count="50"/>

                          <keepalive-time time="10" unit="seconds"/>

                      </short-running-threads>

                      <long-running-threads>

                          <core-threads count="50"/>

                          <queue-length count="50"/>

                          <max-threads count="50"/>

                          <keepalive-time time="10" unit="seconds"/>

                      </long-running-threads>

                  </default-workmanager>

                  <cached-connection-manager/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>

              <subsystem xmlns="urn:jboss:domain:jmx:1.2">

                  <expose-resolved-model/>

                  <expose-expression-model/>

                  <remoting-connector/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jpa:1.1">

                  <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>

              <subsystem xmlns="urn:jboss:domain:mail:1.1">

                  <mail-session jndi-name="java:jboss/mail/Default">

                      <smtp-server outbound-socket-binding-ref="mail-smtp"/>

                  </mail-session>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:naming:1.3">

                  <remote-naming/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>

              <subsystem xmlns="urn:jboss:domain:remoting:1.1">

                  <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:resource-adapters:1.1"/>

              <subsystem xmlns="urn:jboss:domain:sar:1.0"/>

              <subsystem xmlns="urn:jboss:domain:security:1.2">

                  <security-domains>

                      <security-domain name="other" cache-type="default">

                          <authentication>

                              <login-module code="Remoting" flag="optional">

                                  <module-option name="password-stacking" value="useFirstPass"/>

                              </login-module>

                              <login-module code="RealmDirect" flag="required">

                                  <module-option name="password-stacking" value="useFirstPass"/>

                              </login-module>

                          </authentication>

                      </security-domain>

                      <security-domain name="jboss-web-policy" cache-type="default">

                          <authorization>

                              <policy-module code="Delegating" flag="required"/>

                          </authorization>

                      </security-domain>

                      <security-domain name="jboss-ejb-policy" cache-type="default">

                          <authorization>

                              <policy-module code="Delegating" flag="required"/>

                          </authorization>

                      </security-domain>

                  </security-domains>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:threads:1.1"/>

              <subsystem xmlns="urn:jboss:domain:transactions:1.3">

                  <core-environment>

                      <process-id>

                          <uuid/>

                      </process-id>

                  </core-environment>

                  <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>

                  <coordinator-environment default-timeout="300"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">

                  <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>

                  <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>

                  <virtual-server name="default-host" enable-welcome-root="true">

                      <alias name="localhost"/>

                      <alias name="example.com"/>

                  </virtual-server>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:webservices:1.2">

                  <modify-wsdl-address>true</modify-wsdl-address>

                  <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>

                  <endpoint-config name="Standard-Endpoint-Config"/>

                  <endpoint-config name="Recording-Endpoint-Config">

                      <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">

                          <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>

                      </pre-handler-chain>

                  </endpoint-config>

                  <client-config name="Standard-Client-Config"/>

              </subsystem>

              <subsystem xmlns="urn:jboss:domain:weld:1.0"/>

          </profile>

       

          <interfaces>

              <interface name="management">

                  <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>

              </interface>

              <interface name="public">

                  <inet-address value="0.0.0.0"/>

              </interface>

              <interface name="unsecure">

                  <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>

              </interface>

          </interfaces>

       

          <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

              <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

              <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

              <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

              <socket-binding name="ajp" port="8009"/>

              <socket-binding name="remoting" port="4447"/>

              <socket-binding name="txn-recovery-environment" port="4712"/>

              <socket-binding name="txn-status-manager" port="4713"/>

              <outbound-socket-binding name="mail-smtp">

                  <remote-destination host="localhost" port="25"/>

              </outbound-socket-binding>

          </socket-binding-group>

       

      </server>

       

       

      I am newbie, any help will be appreciated.

        • 1. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
          jaikiran

              <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

                  <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

                  <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

                  <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

                  <socket-binding name="ajp" port="8009"/>

                  <socket-binding name="remoting" port="4447"/>

                  <socket-binding name="txn-recovery-environment" port="4712"/>

                  <socket-binding name="txn-status-manager" port="4713"/>

                  <outbound-socket-binding name="mail-smtp">

                      <remote-destination host="localhost" port="25"/>

                  </outbound-socket-binding>

              </socket-binding-group>

          That's missing an entry for a socket binding by the name of "http" which is referenced in the web subsystem:

           

          <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>

           

          You'll have to check why that was removed.

          • 2. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
            mehtarak

            Thanks Jaikiran for your help. I did change http binding as per your suggestion:

             

             

              <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

                    <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

                    <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

                    <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

                    <socket-binding name="ajp" port="8009"/>

                      <socket-binding name="http" port="8080"/>                    <<<<<<<<<<<<<<<<<New Line      

                    <socket-binding name="remoting" port="4447"/>

                    <socket-binding name="txn-recovery-environment" port="4712"/>

                    <socket-binding name="txn-status-manager" port="4713"/>

                    <outbound-socket-binding name="mail-smtp">

                        <remote-destination host="localhost" port="25"/>

                    </outbound-socket-binding>

                </socket-binding-group>

             

            JBoss started without any error but I still can not see my application URL. Please note I do see JBoss default page (index2.html) Any advice??


            FYI : I am using Bitnami stack on AWS cloud, does it make any difference?

            • 3. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
              jaikiran

              Don't know about AWS. Maybe they use port forwarding, in which case your (external) access port will be different. But that doesn't explain how you are seeing the JBoss default page. However, I am not aware of index2.html in AS7 so don't know which page you are seeing. You'll have to check the AWS documentation for more info. Or you can attach the JBoss AS server logs and someone can confirm what path the application has got deployed on. What exact URL are you trying to access?

              • 4. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                mehtarak

                Thanks again for your help.

                 

                As per my understanding, in the case of Bitnami JBoss stack, index.html is used to display the Bitnami default home page. When I click JBoss link in Bitnami page (index.html) , it goes to JBoss default page (index2.html) . so index2.html is the same as JBoss default page.

                 

                As per Bitnami manual , looks to me there is no port forwarding happening here. Request comes to apache server which talks with JBoss. Since I am seeing JBoss welcome page, I can say that this all set up correctly.

                 

                here is the JBoss AS server log:

                ------------------------------------------

                20:34:37,141 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Standalone] -XX:+UseCompressedOops -XX:MaxPermSize=768m -Xmx768m -Dorg.jboss.boot.log.file=/opt/bitnami/jboss/standalone/log/server.log -Dlogging.configuration=file:/opt/bitnami/jboss/standalone/configuration/logging.properties

                20:34:39,011 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.7.GA

                20:34:39,041 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                20:34:39,042 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.7.GA

                20:34:39,068 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.14.GA

                20:34:39,162 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) JBAS010280: Activating Infinispan subsystem.

                20:34:39,208 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 35) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                20:34:39,235 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 37) JBAS011800: Activating Naming Subsystem

                20:34:39,262 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                20:34:39,324 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 42) JBAS013171: Activating Security Subsystem

                20:34:39,378 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

                20:34:39,385 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.15.Final

                20:34:39,478 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 46) JBAS015537: Activating WebServices Extension

                20:34:39,497 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                20:34:39,561 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]

                20:34:40,149 INFO  [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final

                20:34:40,343 INFO  [org.apache.coyote.http11] (MSC service thread 1-2) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/0.0.0.0:8080

                20:34:40,349 INFO  [org.apache.coyote.ajp] (MSC service thread 1-1) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/0.0.0.0:8009

                20:34:40,380 INFO  [org.apache.coyote.http11] (MSC service thread 1-2) JBWEB003000: Coyote HTTP/1.1 starting on: http-/0.0.0.0:8080

                20:34:41,004 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/textme]

                20:34:41,134 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:9999

                20:34:41,175 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "postgresql-9.1-903.jdbc4.jar" (runtime-name: "postgresql-9.1-903.jdbc4.jar")

                20:34:41,196 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /opt/bitnami/jboss/standalone/deployments

                20:34:41,196 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "com.textme-0.0.1-SNAPSHOT.war" (runtime-name: "com.textme-0.0.1-SNAPSHOT.war")

                20:34:41,886 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 0.0.0.0:4447

                20:34:42,071 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)

                20:34:43,724 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                20:34:43,774 INFO  [org.jboss.web] (ServerService Thread Pool -- 52) JBAS018210: Register web context: /com.textme-0.0.1-SNAPSHOT

                20:34:43,963 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "postgresql-9.1-903.jdbc4.jar" (runtime-name : "postgresql-9.1-903.jdbc4.jar")

                20:34:43,965 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "com.textme-0.0.1-SNAPSHOT.war" (runtime-name : "com.textme-0.0.1-SNAPSHOT.war")

                20:34:43,996 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                20:34:43,996 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                20:34:43,996 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.2.0.Final "Janus" started in 7726ms - Started 190 of 248 services (57 services are passive or on-demand)

                 

                -------------

                 

                As you see here, my war file is "com.textme-0.0.1-SNAPSHOT.war" and I have deployed it in jboss/standalone/deployments. I am trying to access URL "x.x.x.x/TextMe/Textme?action=getinfo. ( Again x.x.x.x open the default welcome page)


                If you need any more info, please feel free to ask. I am stuck here and I truly appreciate your help.

                • 5. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                  jaikiran

                  20:34:43,774 INFO  [org.jboss.web] (ServerService Thread Pool -- 52) JBAS018210: Register web context: /com.textme-0.0.1-SNAPSHOT

                  I am trying to access URL "x.x.x.x/TextMe/Textme?action=getinfo

                  Based on that log, it appears that you are using a wrong context in the URL. Your web app is registered at com.textme-0.0.1-SNAPSHOT context, so your URL should be x.x.x.x/com.textme-0.0.1-SNAPSHOT/Textme?action=getinfo


                  If you want your web application to be registered at a context which isn't the same as the name of the .war file, then you'll have to add a jboss-web.xml in .war/WEB-INF folder with the following content:

                   

                  <jboss-web>

                    <context-root>TextMe</context-root>

                  </jboss-web>

                   

                  That way your web application will then be registered at TextMe context.

                  • 6. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                    mehtarak

                    Thank you very much Jaikiran. It works now as you suggested x.x.x.x/com.textme-0.0.1-SNAPSHOT/Textme?action=getinfo

                     

                    I also tried to change the root context but when I created jboss-web.xml . The war file started missing the hibernate.cfg.xml file. I do not know why. When I removed  jboss-web.xml , again hibernate.cfg.xml file got in in WAR file and everything working. DO you have any sample jboss-web.xml complete file?

                    • 7. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                      jaikiran

                      Using a jboss-web.xml shouldn't be causing any Hibernate related issues. What exactly are you seeing?

                      • 8. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                        mehtarak

                        Here is the error log which I was getting

                         

                        --------------------------

                         

                        05:10:19,498 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -D[Standalone] -XX:+UseCompressedOops -XX:MaxPermSize=768m -Xmx768m -Dorg.jboss.boot.log.file=/opt/bitnami/jboss/standalone/log/server.log -Dlogging.configuration=file:/opt/bitnami/jboss/standalone/configuration/logging.properties

                        05:10:21,303 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.7.GA

                        05:10:21,329 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                        05:10:21,330 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.7.GA

                        05:10:21,349 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.14.GA

                        05:10:21,415 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) JBAS010280: Activating Infinispan subsystem.

                        05:10:21,474 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 42) JBAS013171: Activating Security Subsystem

                        05:10:21,485 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 35) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                        05:10:21,490 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 37) JBAS011800: Activating Naming Subsystem

                        05:10:21,615 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013170: Current PicketBox version=4.0.15.Final

                        05:10:21,588 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 46) JBAS015537: Activating WebServices Extension

                        05:10:21,754 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                        05:10:21,840 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service

                        05:10:21,976 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                        05:10:22,015 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]

                        05:10:22,335 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final

                        05:10:22,558 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/0.0.0.0:8080

                        05:10:22,560 INFO  [org.apache.coyote.ajp] (MSC service thread 1-2) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/0.0.0.0:8009

                        05:10:22,584 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003000: Coyote HTTP/1.1 starting on: http-/0.0.0.0:8080

                        05:10:23,237 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/textme]

                        05:10:23,448 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:9999

                        05:10:23,495 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "com.textme-0.0.1-SNAPSHOT.war" (runtime-name: "com.textme-0.0.1-SNAPSHOT.war")

                        05:10:23,525 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /opt/bitnami/jboss/standalone/deployments

                        05:10:23,531 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "postgresql-9.1-903.jdbc4.jar" (runtime-name: "postgresql-9.1-903.jdbc4.jar")

                        05:10:24,298 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 0.0.0.0:4447

                        05:10:24,530 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.1)

                        05:10:26,629 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                        05:10:26,699 INFO  [org.jboss.web] (ServerService Thread Pool -- 49) JBAS018210: Register web context: /com.textme-0.0.1-SNAPSHOT

                        05:10:26,907 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "postgresql-9.1-903.jdbc4.jar" (runtime-name : "postgresql-9.1-903.jdbc4.jar")

                        05:10:26,909 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "com.textme-0.0.1-SNAPSHOT.war" (runtime-name : "com.textme-0.0.1-SNAPSHOT.war")

                        05:10:26,935 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                        05:10:26,936 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                        05:10:26,936 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.2.0.Final "Janus" started in 8287ms - Started 190 of 248 services (57 services are passive or on-demand)

                        05:11:27,262 INFO  [stdout] (ajp-/0.0.0.0:8009-1) Hello !

                        05:11:27,282 INFO  [org.hibernate.cfg.annotations.Version] (ajp-/0.0.0.0:8009-1) Hibernate Annotations 3.3.0.GA

                        05:11:27,288 INFO  [org.hibernate.cfg.Environment] (ajp-/0.0.0.0:8009-1) Hibernate 3.2.1

                        05:11:27,291 INFO  [org.hibernate.cfg.Environment] (ajp-/0.0.0.0:8009-1) hibernate.properties not found

                        05:11:27,292 INFO  [org.hibernate.cfg.Environment] (ajp-/0.0.0.0:8009-1) Bytecode provider name : cglib

                        05:11:27,294 INFO  [org.hibernate.cfg.Environment] (ajp-/0.0.0.0:8009-1) using JDK 1.4 java.sql.Timestamp handling

                        05:11:27,325 INFO  [org.hibernate.annotations.common.Version] (ajp-/0.0.0.0:8009-1) Hibernate Commons Annotations 3.1.0.GA

                        05:11:27,327 INFO  [org.hibernate.cfg.Configuration] (ajp-/0.0.0.0:8009-1) configuring from resource: /com/textme/utils/hibernate.cfg.xml

                        05:11:27,327 INFO  [org.hibernate.cfg.Configuration] (ajp-/0.0.0.0:8009-1) Configuration resource: /com/textme/utils/hibernate.cfg.xml

                        05:11:27,327 ERROR [stderr] (ajp-/0.0.0.0:8009-1) Initial SessionFactory creation failed.org.hibernate.HibernateException: /com/textme/utils/hibernate.cfg.xml not found

                        05:11:27,331 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/com.textme-0.0.1-SNAPSHOT]] (ajp-/0.0.0.0:8009-1) JBWEB000264: Marking servlet Textme as unavailable

                        05:11:27,331 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/com.textme-0.0.1-SNAPSHOT].[Textme]] (ajp-/0.0.0.0:8009-1) JBWEB000235: Allocate exception for servlet Textme: org.hibernate.HibernateException: /com/textme/utils/hibernate.cfg.xml not found

                          at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) [hibernate-3.2.1.ga.jar:3.2.1.ga]

                          at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1402) [hibernate-3.2.1.ga.jar:]

                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1424) [hibernate-3.2.1.ga.jar:]

                          at com.textme.utils.HibernateUtil.buildSessionFactory(HibernateUtil.java:13) [classes:]

                          at com.textme.utils.HibernateUtil.<clinit>(HibernateUtil.java:8) [classes:]

                          at com.textme.service.SubsDaoImpl.CreateSessionFactory(SubsDaoImpl.java:35) [classes:]

                          at com.textme.service.SubsDaoImpl.<init>(SubsDaoImpl.java:42) [classes:]

                          at com.textme.servlet.Textme.<init>(Textme.java:37) [classes:]

                          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_67]

                          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.7.0_67]

                          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [rt.jar:1.7.0_67]

                          at java.lang.reflect.Constructor.newInstance(Unknown Source) [rt.jar:1.7.0_67]

                          at org.jboss.msc.value.ConstructedValue.getValue(ConstructedValue.java:61)

                          at org.jboss.as.naming.ValueManagedReferenceFactory.getReference(ValueManagedReferenceFactory.java:50)

                          at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:90) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

                          at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

                          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

                          at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

                          at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

                          at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.web.deployment.component.WebComponentInstantiator$1.<init>(WebComponentInstantiator.java:57) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.web.deployment.component.WebComponentInstantiator.getReference(WebComponentInstantiator.java:55) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.web.deployment.WebInjectionContainer.instantiate(WebInjectionContainer.java:101) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:80) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:74) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1154) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:950) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:151) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:488) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:420) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final.jar:7.2.0.Final]

                          at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_67]

                         

                        ---------------------

                         

                        My jboss-web.xml file is as below:

                        <?xml version="1.0" encoding="UTF-8"?>

                        <jboss-web>

                          <context-root>TextMe</context-root>

                        </jboss-web>

                        • 9. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                          jaikiran

                          at com.textme.utils.HibernateUtil.<clinit>(HibernateUtil.java:8) [classes:]

                           

                          Can you post the code from this above class and show us what path it's using to load the Hibernate configuration file or whatever code is in that class?

                          • 10. Re: JBAS014775:    New missing/unsatisfied dependencies:       service jboss.binding.http (missing) dependents: [service jboss.web.connector.http]
                            mehtarak

                            Today I tried different option. My Maven GroupName was wrong . When I fixed, it works fine.

                             

                            Any way Thanks for help.