13 Replies Latest reply: May 9, 2013 10:11 AM by Tiago Barreto dos Santos RSS

JBoss AS 7.1.1.Final "Brontes"

Tiago Barreto dos Santos Newbie

When I start JBoss manually, it throw those exceptions:

 

[tiago@goku]sudo /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml

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

 

  JBoss Bootstrap Environment

 

  JBOSS_HOME: /usr/share/jboss-as

 

  JAVA: java

 

  JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

 

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

 

16:37:58,263 Informações [org.jboss.modules] JBoss Modules version 1.1.1.GA

16:37:58,460 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

16:37:58,518 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

16:37:59,060 ERROR [org.jboss.as.jpa] JBAS011405: Could not load default persistence provider module.  : org.jboss.modules.ModuleNotFoundException: Module org.hibernate:main is not found in local module loader @56277446 (roots: /usr/share/jboss-as/modules)

    at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.as.jpa.persistenceprovider.PersistenceProviderLoader.loadProviderModuleByName(PersistenceProviderLoader.java:59) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.jpa.persistenceprovider.PersistenceProviderLoader.loadDefaultProvider(PersistenceProviderLoader.java:48) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.jpa.subsystem.JPAExtension.initialize(JPAExtension.java:111) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:88) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:113) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_b147-icedtea]

    at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_b147-icedtea]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_b147-icedtea]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_b147-icedtea]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_b147-icedtea]

    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads.jar:2.0.0.GA]

 

16:37:59,116 ERROR [org.jboss.as.jpa] JBAS011404: Could not load default persistence provider adaptor module.  Management attributes will not be registered for the adaptor: org.jboss.modules.ModuleNotFoundException: Module org.jboss.as.jpa.hibernate:4 is not found in local module loader @56277446 (roots: /usr/share/jboss-as/modules)

    at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204) [jboss-modules.jar:1.1.1.GA]

    at org.jboss.as.jpa.processor.PersistenceProviderAdaptorLoader.loadPersistenceAdapterModule(PersistenceProviderAdaptorLoader.java:100) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.jpa.subsystem.JPAExtension.initialize(JPAExtension.java:118) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:88) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

    at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:113) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_b147-icedtea]

    at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_b147-icedtea]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_b147-icedtea]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_b147-icedtea]

    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_b147-icedtea]

    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads.jar:2.0.0.GA]

 

16:37:59,246 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

16:37:59,248 INFO  [org.xnio] XNIO Version 3.0.3.GA

16:37:59,272 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

16:37:59,281 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

16:37:59,301 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.4.GA

16:37:59,346 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 29) JBAS013101: Activating Security Subsystem

16:37:59,349 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 26) JBAS011800: Activating Naming Subsystem

16:37:59,357 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 22) JBAS010280: Activating Infinispan subsystem.

16:37:59,371 INFO  [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.6.final

16:37:59,508 INFO  [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

16:37:59,521 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service

16:37:59,621 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /0.0.0.0:4447

16:37:59,676 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--0.0.0.0-8080

16:37:59,970 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999

16:37:59,981 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /usr/share/jboss-as/standalone/deployments

16:38:00,163 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

16:38:00,165 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 2067ms - Started 121 of 152 services (31 services are passive or on-demand)

^C16:42:32,014 INFO  [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers

16:42:32,017 INFO  [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService

16:42:32,019 INFO  [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager

16:42:32,025 INFO  [org.apache.coyote.http11.Http11Protocol] Pausing Coyote HTTP/1.1 on http--0.0.0.0-8080

16:42:32,025 INFO  [org.apache.coyote.http11.Http11Protocol] Stopping Coyote HTTP/1.1 on http--0.0.0.0-8080

16:42:32,034 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 28ms

 

But the service stay running and show me the initial welcome page. Like the img 01.png attached.

 

Now, when I start it by systemctl service, the status show me that all is ok, but the initial welcome page doesn't appear to me. Like the img 02.png attached.

 

[tiago@goku]sudo service jboss-as start

Redirecting to /bin/systemctl  start jboss-as.service

[tiago@goku]sudo /bin/systemctl status jboss-as.service

jboss-as.service - The JBoss Application Server

      Loaded: loaded (/usr/lib/systemd/system/jboss-as.service; enabled)

      Active: active (running) since Thu, 31 May 2012 13:16:08 -0300; 3h 37min ago

    Main PID: 744 (standalone.sh)

      CGroup: name=systemd:/system/jboss-as.service

          ├  744 /bin/sh /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml

          └ 1183 java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.prefe...

 

[tiago@goku]

 

 

So, I can't see what is wrong, because the modules directory is set at the correct place and those lib (jboss-modules.jar:1.1.1.GA) is there.

 

Anyone can help me?

 

Thanks...

  • 1. Re: JBoss AS 7.1.1.Final "Brontes"
    Tomaz Cerar Master

    Hi,

     

    from where did you get AS7?

    and where did standalone-web.xml come from as it is not part of default distribution.

     

     

    --

    tomaz

  • 2. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    Hi Tomaz,

     

    I get from fedora repository!

    I installed with yum cmd: yum install jboss-as

  • 3. Re: JBoss AS 7.1.1.Final "Brontes"
    Tomaz Cerar Master

    Hi,

     

    fedora 17 with inital jboss as7 suport is missing hibernate all together.

     

    current status of as7 for fedora can be found here: http://fedoraproject.org/wiki/Features/JBossAS7

     

    you can just run As using fedora's default configuration. i.e. do not pass -c standalone-web.xml

    or install hibernate module by copying

     

    jboss_home\modules\org\hibernate folder from official zip/tar.gz distribution.

     

     

    --

    tomaz

  • 4. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    Hi,

     

    So, how can I resolve it?

  • 5. Re: JBoss AS 7.1.1.Final "Brontes"
    Tomaz Cerar Master

    hi,

     

    as I wrote up

     

    you can just run As using fedora's default configuration. i.e. do not pass -c standalone-web.xml

     

    or install hibernate module by copying

     

    ${jboss_home}\modules\org\hibernate folder from official zip/tar.gz distribution.

    download distribution from http://www.jboss.org/jbossas/downloads

    and unpack it and copy hibernate folder to where fedora installed it.

  • 6. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    Hi,

     

    When I run as using fedora's default configuration, i.e. executing the cmd "service jboss-as start"

    It show me that is running but look as is the img 02.png attached.

     

    Thanks,

  • 7. Re: JBoss AS 7.1.1.Final "Brontes"
    jaikiran pai Master

    Tiago Barreto dos Santos wrote:

     

    Hi,

     

    When I run as using fedora's default configuration, i.e. executing the cmd "service jboss-as start"

    It show me that is running but look as is the img 02.png attached.

     

    What does the following command show:

     

    tail /var/log/jboss-as/standalone/boot.log

     

    By the way, here's a slideshow on using AS7 on Fedora (if it helps) https://plus.google.com/114112334290393746697/posts/9Ri8U4wuCLY

  • 8. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    [tiago@goku ~]$ sudo tail -100 /var/log/jboss-as/standalone/boot.log

    09:30:15,029 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

    09:30:16,404 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

    09:30:16,546 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

    09:30:16,558 DEBUG [org.jboss.as.config] Configured system properties:

        [Standalone] =

        awt.toolkit = sun.awt.X11.XToolkit

        file.encoding = UTF-8

        file.encoding.pkg = sun.io

        file.separator = /

        java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment

        java.awt.headless = true

        java.awt.printerjob = sun.print.PSPrinterJob

        java.class.path = /usr/share/jboss-as/jboss-modules.jar

        java.class.version = 51.0

        java.endorsed.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/endorsed

        java.ext.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/ext:/usr/java/packages/lib/ext

        java.home = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre

        java.io.tmpdir = /tmp

        java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

        java.net.preferIPv4Stack = true

        java.runtime.name = OpenJDK Runtime Environment

        java.runtime.version = 1.7.0_b147-icedtea-mockbuild_2012_05_02_22_11-b00

        java.specification.name = Java Platform API Specification

        java.specification.vendor = Oracle Corporation

        java.specification.version = 1.7

        java.util.logging.manager = org.jboss.logmanager.LogManager

        java.vendor = Oracle Corporation

        java.vendor.url = http://java.oracle.com/

        java.vendor.url.bug = http://bugreport.sun.com/bugreport/

        java.version = 1.7.0_b147-icedtea

        java.vm.info = mixed mode

        java.vm.name = OpenJDK 64-Bit Server VM

        java.vm.specification.name = Java Virtual Machine Specification

        java.vm.specification.vendor = Oracle Corporation

        java.vm.specification.version = 1.7

        java.vm.vendor = Oracle Corporation

        java.vm.version = 22.0-b10

        javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder

        javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory

        javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory

        javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory

        javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory

        javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory

        javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory

        javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory

        javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory

        javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory

        jboss.home.dir = /usr/share/jboss-as

        jboss.host.name = goku

        jboss.modules.dir = /usr/share/jboss-as/modules

        jboss.modules.system.pkgs = org.jboss.byteman

        jboss.node.name = goku

        jboss.qualified.host.name = goku

        jboss.server.base.dir = /usr/share/jboss-as/standalone

        jboss.server.config.dir = /usr/share/jboss-as/standalone/configuration

        jboss.server.data.dir = /usr/share/jboss-as/standalone/data

        jboss.server.default.config = standalone.xml

        jboss.server.deploy.dir = /usr/share/jboss-as/standalone/data/content

        jboss.server.log.dir = /usr/share/jboss-as/standalone/log

        jboss.server.name = goku

        jboss.server.temp.dir = /usr/share/jboss-as/standalone/tmp

        line.separator =

     

        logging.configuration = file:/usr/share/jboss-as/standalone/configuration/logging.properties

        module.path = /usr/share/jboss-as/modules

        org.jboss.boot.log.file = /usr/share/jboss-as/standalone/log/boot.log

        org.jboss.resolver.warning = true

        org.xml.sax.driver = __redirected.__XMLReaderFactory

        os.arch = amd64

        os.name = Linux

        os.version = 3.3.7-1.fc17.x86_64

        path.separator = :

        sun.arch.data.model = 64

        sun.boot.class.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/classes

        sun.boot.library.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/lib/amd64

        sun.cpu.endian = little

        sun.cpu.isalist =

        sun.io.unicode.encoding = UnicodeLittle

        sun.java.command = /usr/share/jboss-as/jboss-modules.jar -mp /usr/share/jboss-as/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/usr/share/jboss-as -Djboss.server.base.dir=/usr/share/jboss-as/standalone -c standalone-web.xml

        sun.java.launcher = SUN_STANDARD

        sun.jnu.encoding = UTF-8

        sun.management.compiler = HotSpot 64-Bit Tiered Compilers

        sun.os.patch.level = unknown

        sun.rmi.dgc.client.gcInterval = 3600000

        sun.rmi.dgc.server.gcInterval = 3600000

        user.country = US

        user.dir = /

        user.home = /usr/share/jboss-as

        user.language = en

        user.name = jboss-as

        user.timezone = America/Sao_Paulo

    09:30:16,568 DEBUG [org.jboss.as.config] VM Arguments: -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=/usr/share/jboss-as/standalone/log/boot.log -Dlogging.configuration=file:/usr/share/jboss-as/standalone/configuration/logging.properties

    09:30:16,903 ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.deployment-mount-provider: org.jboss.msc.service.StartException in service jboss.deployment-mount-provider: JBAS015843: Failed to create temp file provider

        at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.start(DeploymentMountProvider.java:111) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc.jar:1.0.2.GA]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc.jar:1.0.2.GA]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_b147-icedtea]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_b147-icedtea]

        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_b147-icedtea]

  • 9. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    I did what you said

    So, I did this way

     

    [root@goku lib]# pwd

    /home/tiago/Downloads/hibernate-search-4.1.1.Final/dist/lib

    [root@goku lib]#

    [root@goku lib]# ls

    clustering  optional  provided  required

    [root@goku lib]#

    [root@goku lib]# cp clustering/* /usr/share/jboss-as/modules/org/hibernate/

    [root@goku lib]# cp optional/* /usr/share/jboss-as/modules/org/hibernate/

    [root@goku lib]# cp provided/* /usr/share/jboss-as/modules/org/hibernate/

    [root@goku lib]# cp required/* /usr/share/jboss-as/modules/org/hibernate/

    [root@goku lib]#

    [root@goku lib]# cd /usr/share/jboss-as/modules/org/hibernate/

    [root@goku hibernate]# ls -la

    total 22680

    drwxr-xr-x.  3 root root    4096 Jun  1 16:07 .

    drwxr-xr-x. 12 root root    4096 Mai  2 18:19 ..

    -rw-r--r--.  1 root root  445288 Jun  1 16:07 antlr-2.7.7.jar

    -rw-r--r--.  1 root root  259969 Jun  1 16:07 avro-1.5.1.jar

    -rw-r--r--.  1 root root  261809 Jun  1 16:06 commons-lang-2.4.jar

    -rw-r--r--.  1 root root  313898 Jun  1 16:07 dom4j-1.6.1.jar

    -rw-r--r--.  1 root root  934783 Jun  1 16:06 guava-r05.jar

    -rw-r--r--.  1 root root   81271 Jun  1 16:07 hibernate-commons-annotations-4.0.1.Final.jar

    -rw-r--r--.  1 root root 4407494 Jun  1 16:07 hibernate-core-4.1.3.Final.jar

    -rw-r--r--.  1 root root  477145 Jun  1 16:06 hibernate-entitymanager-4.1.3.Final.jar

    -rw-r--r--.  1 root root  102661 Jun  1 16:07 hibernate-jpa-2.0-api-1.0.1.Final.jar

    -rw-r--r--.  1 root root    2420 Jun  1 16:06 hibernate-search-analyzers-4.1.1.Final.jar

    -rw-r--r--.  1 root root   29907 Jun  1 16:06 hibernate-search-infinispan-4.1.1.Final.jar

    -rw-r--r--.  1 root root 2005485 Jun  1 16:06 infinispan-core-5.1.4.FINAL.jar

    -rw-r--r--.  1 root root   78728 Jun  1 16:06 infinispan-lucene-directory-5.1.4.FINAL.jar

    -rw-r--r--.  1 root root  228286 Jun  1 16:07 jackson-core-asl-1.9.2.jar

    -rw-r--r--.  1 root root  765648 Jun  1 16:07 jackson-mapper-asl-1.9.2.jar

    -rw-r--r--.  1 root root  648253 Jun  1 16:07 javassist-3.15.0-GA.jar

    -rw-r--r--.  1 root root   60768 Jun  1 16:07 jboss-logging-3.1.0.GA.jar

    -rw-r--r--.  1 root root  228015 Jun  1 16:06 jboss-marshalling-1.3.11.GA.jar

    -rw-r--r--.  1 root root   82100 Jun  1 16:06 jboss-marshalling-river-1.3.11.GA.jar

    -rw-r--r--.  1 root root 1790024 Jun  1 16:06 jgroups-3.0.9.Final.jar

    -rw-r--r--.  1 root root   26257 Jun  1 16:07 jms-1.1.jar

    -rw-r--r--.  1 root root    5848 Jun  1 16:07 jsr250-api-1.0.jar

    -rw-r--r--.  1 root root   15071 Jun  1 16:07 jta-1.1.jar

    -rw-r--r--.  1 root root  875107 Jun  1 16:06 lucene-analyzers-3.5.0.jar

    -rw-r--r--.  1 root root 1466301 Jun  1 16:07 lucene-core-3.5.0.jar

    -rw-r--r--.  1 root root   62362 Jun  1 16:06 lucene-grouping-3.5.0.jar

    -rw-r--r--.  1 root root   88140 Jun  1 16:06 lucene-highlighter-3.5.0.jar

    -rw-r--r--.  1 root root   30216 Jun  1 16:06 lucene-memory-3.5.0.jar

    -rw-r--r--.  1 root root   59829 Jun  1 16:06 lucene-misc-3.5.0.jar

    -rw-r--r--.  1 root root 3593009 Jun  1 16:06 lucene-smartcn-3.5.0.jar

    -rw-r--r--.  1 root root   57913 Jun  1 16:06 lucene-spatial-3.5.0.jar

    -rw-r--r--.  1 root root   63201 Jun  1 16:06 lucene-spellchecker-3.5.0.jar

    -rw-r--r--.  1 root root  510537 Jun  1 16:06 lucene-stempel-3.5.0.jar

    -rw-r--r--.  1 root root   29555 Jun  1 16:07 paranamer-2.3.jar

    -rw-r--r--.  1 root root    7616 Jun  1 16:06 rhq-pluginAnnotations-3.0.4.jar

    -rw-r--r--.  1 root root   25496 Jun  1 16:07 slf4j-api-1.6.1.jar

    -rw-r--r--.  1 root root  504400 Jun  1 16:07 snappy-java-1.0.1-rc3.jar

    -rw-r--r--.  1 root root   33898 Jun  1 16:06 solr-analysis-extras-3.5.0.jar

    -rw-r--r--.  1 root root   27361 Jun  1 16:06 solr-commons-csv-3.5.0.jar

    -rw-r--r--.  1 root root 1500261 Jun  1 16:06 solr-core-3.5.0.jar

    -rw-r--r--.  1 root root  272065 Jun  1 16:06 solr-solrj-3.5.0.jar

    -rw-r--r--.  1 root root  182112 Jun  1 16:06 stax2-api-3.1.1.jar

    drwxr-xr-x.  3 root root    4096 Mai  2 18:19 validator

    -rw-r--r--.  1 root root  478446 Jun  1 16:06 woodstox-core-asl-4.1.1.jar

    [root@goku hibernate]#

     

    is that right?

  • 10. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    Hi,

     

    I was doing it wrong!

     

    Now I think I did it right now... but I haven't sucess again!

     

    After I type cmd:

    mvn package jboss-as:deploy

     

    I had this msg:

     

    Jun 01, 2012 5:58:14 PM org.xnio.Xnio <clinit>

    INFO: XNIO Version 3.0.3.GA

    Jun 01, 2012 5:58:14 PM org.xnio.nio.NioXnio <clinit>

    INFO: XNIO NIO Implementation Version 3.0.3.GA

    Jun 01, 2012 5:58:14 PM org.jboss.remoting3.EndpointImpl <clinit>

    INFO: JBoss Remoting version 3.2.3.GA

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 2:06.949s

    [INFO] Finished at: Fri Jun 01 17:58:19 BRT 2012

    [INFO] Final Memory: 12M/98M

    [INFO] ------------------------------------------------------------------------

    [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-numberguess: Error executing FORCE_DEPLOY: Could not execute operation '{

    [ERROR] "operation" => "read-children-names",

    [ERROR] "child-type" => "deployment"

    [ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out

    [ERROR] -> [Help 1]

    [ERROR]

    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

    [ERROR] Re-run Maven using the -X switch to enable full debug logging.

    [ERROR]

    [ERROR] For more information about the errors and possible solutions, please read the following articles:

    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

     

    How can I solve it?

  • 11. Re: JBoss AS 7.1.1.Final "Brontes"
    jaikiran pai Master

    Let's take one step at a time. For now, let's leave out trying to add Hibernate modules to this. The first thing that needs to be figured out is:

     

    09:30:16,903 ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.deployment-mount-provider: org.jboss.msc.service.StartException in service jboss.deployment-mount-provider: JBAS015843: Failed to create temp file provider

        at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.start(DeploymentMountProvider.java:111) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc.jar:1.0.2.GA]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc.jar:1.0.2.GA]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_b147-icedtea]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_b147-icedtea]

        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_b147-icedtea]

     

    What exact command did you use to start the server when this error happened?

  • 12. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    Jaikiran,

     

    It was cause the service wasn't running. The problem is this!

    when I start ther service sudo service jboss-as start so. It doesn't start... look the initial discussion. This is the problem.

     

    and if I start this way:

    [tiago@goku]sudo /usr/share/jboss-as/bin/standalone.sh -c standalone-web.xml

    I have many exception but the service keep running. Then this problems doesn't happen and the Dan Allen's exemple works.

     

    Thanks...

  • 13. Re: JBoss AS 7.1.1.Final "Brontes"
    Tiago Barreto dos Santos Newbie

    Hi Guys,

     

    I found the solution.

     

    Just needed change user jboss-as to root at /usr/lib/systemd/system/jboss-as.service

     

    [tiago@goku numberguess]$ cat /usr/lib/systemd/system/jboss-as.service

    [Unit]

    Description=The JBoss Application Server

    After=syslog.target network.target

    Before=httpd.service

     

    [Service]

    Environment=LAUNCH_JBOSS_IN_BACKGROUND=1

    EnvironmentFile=-/etc/jboss-as/jboss-as.conf

    User=root

    LimitNOFILE=102642

    PIDFile=/var/run/jboss-as/jboss-as.pid

    ExecStart=/usr/share/jboss-as/bin/standalone.sh -c $JBOSS_CONFIG

    StandardOutput=null

     

    [Install]

    WantedBy=multi-user.target

     

    [tiago@goku numberguess]$

     

    Thanks to all!

    \m/