• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Services with missing/unavailable dependencies

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
C:\jboss-as-web-7.0.2.Final\jboss-as-web-7.0.2.Final\bin\standalone.bat
Detected server admin port: 9999
Detected server http port: 8080
Calling C:\jboss-as-web-7.0.2.Final\jboss-as-web-7.0.2.Final\bin\standalone.conf.bat
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: C:\jboss-as-web-7.0.2.Final\jboss-as-web-7.0.2.Final

JAVA: C:\Program Files\Java\jdk1.6.0_11\bin\java

JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server

===============================================================================

[2013-09-10 03:28:34,465] Artifact pinnacle-web:war exploded: Server is not connected. Deploy is not available.
15:28:34,716 INFO [org.jboss.modules] JBoss Modules version 1.0.2.GA
15:28:34,996 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA
15:28:35,043 INFO [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting
15:28:35,733 WARN [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.
15:28:35,740 INFO [org.jboss.as] creating http management service using network interface (management) port (9990)
15:28:35,810 WARN [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.
15:28:35,816 INFO [org.jboss.as.logging] Removing bootstrap log handlers
15:28:35,830 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
15:28:35,841 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
15:28:35,946 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
15:28:35,954 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
15:28:35,959 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
15:28:35,976 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
15:28:35,982 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta2
15:28:35,996 INFO [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.0.Beta3
15:28:36,010 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.0.Beta3
15:28:36,210 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-7) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_11\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\JetBrains\IntelliJ IDEA 12.1.4\bin\..\.\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_11\bin;C:\apache-maven-3.1.0-bin\apache-maven-3.1.0\bin;c:\program files\jetbrains\intellij idea 12.1.4\jre\jre\bin
15:28:36,229 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
15:28:36,310 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
15:28:36,358 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector
15:28:36,373 INFO [org.jboss.as.remoting] (MSC service thread 1-6) Listening on /127.0.0.1:9999
15:28:36,484 INFO [org.jboss.as.connector] (MSC service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)
15:28:36,685 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) Bound data source [java:jboss/datasources/ExampleDS]
15:28:36,816 INFO [org.jboss.as.deployment] (MSC service thread 1-8) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0.2.Final\jboss-as-web-7.0.2.Final\standalone\deployments
15:28:36,841 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 2366ms - Started 93 of 148 services (55 services are passive or on-demand)
[2013-09-10 03:28:37,245] Artifact pinnacle-web:war exploded: Artifact is being deployed, please wait...
Connected to server
15:28:37,554 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "pinnacle.war"
15:28:40,539 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/D:/project_6sep2013/pinnacle/pinnacle/pinnacle-web/target/pinnacle.war/WEB-INF/lib/jaxb-impl-2.2.5.jar" does not point to a valid jar for a Class-Path reference.
15:28:40,539 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/D:/project_6sep2013/pinnacle/pinnacle/pinnacle-web/target/pinnacle.war/WEB-INF/lib/jaxb-impl-2.2.5.jar" does not point to a valid jar for a Class-Path reference.
15:28:40,539 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jsr173_1.0_api.jar in "/D:/project_6sep2013/pinnacle/pinnacle/pinnacle-web/target/pinnacle.war/WEB-INF/lib/jaxb-impl-2.2.5.jar" does not point to a valid jar for a Class-Path reference.
15:28:40,539 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb1-impl.jar in "/D:/project_6sep2013/pinnacle/pinnacle/pinnacle-web/target/pinnacle.war/WEB-INF/lib/jaxb-impl-2.2.5.jar" does not point to a valid jar for a Class-Path reference.
15:28:40,854 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-2) Encountered invalid class name "com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor" for service type "com.sun.faces.spi.injectionprovider"
15:28:40,855 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-2) Encountered invalid class name "com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection" for service type "com.sun.faces.spi.injectionprovider"
15:28:41,184 INFO [org.jboss.jpa] (MSC service thread 1-2) read persistence.xml for pinnacle
15:28:41,184 INFO [org.jboss.jpa] (MSC service thread 1-2) read persistence.xml for pinnacle-nonjta
15:28:41,196 INFO [org.jboss.as.jpa] (MSC service thread 1-1) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to pinnacle.war
15:28:41,198 INFO [org.jboss.as.jpa] (MSC service thread 1-1) added (default provider) org.hibernate dependency to application deployment (since 2 PU(s) didn't specify jboss.as.jpa.providerModule)
15:28:41,198 INFO [org.jboss.as.jpa] (MSC service thread 1-1) added org.hibernate dependency to application deployment
15:28:41,462 INFO [org.jboss.weld] (MSC service thread 1-8) Processing CDI deployment: pinnacle.war
15:28:41,566 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-8) JNDI bindings for session bean named ConnectionFactory in deployment unit deployment "pinnacle.war" are as follows:

java:global/pinnacle/ConnectionFactory!com.pinnacle.web.util.ConnectionFactory
java:app/pinnacle/ConnectionFactory!com.pinnacle.web.util.ConnectionFactory
java:module/ConnectionFactory!com.pinnacle.web.util.ConnectionFactory
java:global/pinnacle/ConnectionFactory
java:app/pinnacle/ConnectionFactory
java:module/ConnectionFactory

15:28:41,566 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-8) JNDI bindings for session bean named Authenticator in deployment unit deployment "pinnacle.war" are as follows:

java:global/pinnacle/Authenticator!com.pinnacle.web.security.Authenticator
java:app/pinnacle/Authenticator!com.pinnacle.web.security.Authenticator
java:module/Authenticator!com.pinnacle.web.security.Authenticator
java:global/pinnacle/Authenticator
java:app/pinnacle/Authenticator
java:module/Authenticator

15:28:42,566 INFO [org.jboss.weld] (MSC service thread 1-6) Starting Services for CDI deployment: pinnacle.war
15:28:42,590 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.2 (Final)
15:28:42,845 INFO [org.jboss.as.server.controller] (pool-2-thread-4) Deployment of "pinnacle.war" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"pinnacle.war#pinnacle-nonjta\" missing [ jboss.naming.context.java.${persistenceNonSource} ]","jboss.persistenceunit.\"pinnacle.war#pinnacle\" missing [ jboss.naming.context.java.${persistenceSource} ]"]}
15:28:43,043 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment pinnacle.war in 200ms
[2013-09-10 03:28:43,142] Artifact pinnacle-web:war exploded: Error during artifact deployment. See server log for details.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please check your atasource tag enabled property. By Default it is configured as False.

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

Regards,
Pallavi
 
jot caur
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you please tell where can i find this tag. :-(
 
Pallavi Joshi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I assume it should be in your Standalone.xml file. Let me know your code base structure.

Thanks,
Pallavi
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic