Menu

JBoss Could n't Start

2014-05-19
2014-05-21
  • Ashique Khan

    Ashique Khan - 2014-05-19

    Tolven installation gone successfully, but it could n't start JBoss giving following error (on issuing c:> ant config-tolven)

    Error Log:

    :

    config-tolven-jboss6-oracle:
    [echo] c:/tolven/tolven-V2.1.3/bin/tpf.bat -plugin org.tolven.assembler.jboss6 -propertiesDir C:\tolven\tolven-installer
    [exec] TOLVEN_USER=admin
    [exec] TOLVEN_REALM=tolven
    [exec] TOLVEN_PASSWORD=xxxxxxxx
    [exec] TOLVEN_CONFIG_DIR=c:\tolven\tolven-config
    [exec] 0 [main] INFO root - Start log4j - Configuration: file:/c:/tolven/tolven-V2.1.3/bin/tolven-log4j.xml, logFileName: c:\tolven\tolven-V2.1.3\log\tolven.log
    [exec] 09:17:23,967 INFO [TPFBoot] TPF Version: 2.1.3
    [exec] 09:17:23,968 INFO [TPFBoot] Loaded configDir c:\tolven\tolven-config
    [exec] 09:17:24,007 INFO [TPFBoot] Generated boot.properties: C:\Users\ashique\AppData\Local\Temp\tpf_5404268574308044428_boot.properties
    [exec] 09:17:24,013 INFO [TolvenApplicationInitializer] logging system initialized
    [exec] 09:17:24,014 INFO [TolvenApplicationInitializer] application root is C:\tolven\tolven-V2.1.3\bin
    [exec] 09:17:24,515 INFO [TolvenApplicationInitializer] integrity check done: errors - 0, warnings - 0
    [exec] 09:17:24,515 INFO [TolvenApplicationInitializer] application plug-in is org.tolven.command
    [exec] 09:17:24,530 INFO [TolvenApplication] Plugin library path=/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.restfulclient@2.1.3/tolven-restful-client.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.restfulclient@2.1.3/client/lib/jersey-client-1.5.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.restfulclient@2.1.3/client/lib/jersey-core-1.5.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.restfulclient@2.1.3/client/lib/jsr311-api-1.1.1.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.restfulclient@2.1.3/client/lib/jersey-multipart-1.5.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.restfulclient@2.1.3/client/lib/mimepull-1.6.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.assembler.configwrapper@2.1.2/configWrapper.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.command@2.1.4/tpf.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.library.tolvencommon@2.1.9/tolvenCommon.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.jndi@2.1.3/tolvenJndi.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.library.bouncy-castle@2.1.0/jars/bcprov-jdk16-140.jar;/C:/tolven/tolven-config/build/temp/.jpf-shadow/org.tolven.jndi@2.1.3/tolvenJndi.jar;
    [exec] 09:17:26,494 INFO [TolvenApplication] Execution of: org.tolven.assembler.jboss6 completed
    [echo] Done
    [echo]
    [echo] c:/tolven/tolven-V2.1.3/bin/tpf.bat -plugin org.tolven.deploy.jboss6 -config
    [exec] TOLVEN_USER=admin
    [exec] TOLVEN_REALM=tolven
    [exec] TOLVEN_PASSWORD=xxxxxxxx
    [exec] TOLVEN_CONFIG_DIR=c:\tolven\tolven-config
    [exec] 0 [main] INFO root - Start log4j - Configuration: file:/c:/tolven/tolven-V2.1.3/bin/tolven-log4j.xml, logFileName: c:\tolven\tolven-V2.1.3\log\tolven.log
    [exec] 09:17:27,419 INFO [TPFBoot] TPF Version: 2.1.3
    [exec] 09:17:27,419 INFO [TPFBoot] Loaded configDir c:\tolven\tolven-config
    [exec] 09:17:27,460 INFO [TPFBoot] Generated boot.properties: C:\Users\ashique\AppData\Local\Temp\tpf_3774193349218395718_boot.properties
    [exec] 09:17:27,467 INFO [TolvenApplicationInitializer] logging system initialized
    [exec] 09:17:27,467 INFO [TolvenApplicationInitializer] application root is C:\tolven\tolven-V2.1.3\bin
    [exec] 09:17:27,969 INFO [TolvenApplicationInitializer] integrity check done: errors - 0, warnings - 0
    [exec] 09:17:27,969 INFO [TolvenApplicationInitializer] application plug-in is org.tolven.command
    [exec] Application start failed.
    [exec] java.lang.IllegalArgumentException: unknown plug-in ID - org.tolven.deploy.jboss6
    [exec] at org.tolven.plugin.registry.xml.PluginRegistryImpl.getPluginDescriptor(PluginRegistryImpl.java:729)
    [exec] at org.tolven.command.TolvenApplication.loadLibraries(TolvenApplication.java:174)
    [exec] at org.tolven.command.TolvenApplication.startApplication(TolvenApplication.java:124)
    [exec] at org.java.plugin.boot.Boot.boot(Boot.java:346)
    [exec] at org.java.plugin.boot.Boot.main(Boot.java:243)
    [exec] at org.tolven.plugin.boot.TPFBoot.main(TPFBoot.java:128)
    [exec] Press any key to continue . . .
    [echo] Done
    [echo]

    fixcrlf-server.xml:

    include-gatekeeper-ear-deploy:
    [echo] Deploy gatekeeper EAR File
    [echo] c:/tolven/tolven-V2.1.3/bin/tpf.bat -plugin org.tolven.deploy.jboss6 -earPlugins org.tolven.gatekeeper
    [exec] TOLVEN_USER=admin
    [exec] TOLVEN_REALM=tolven
    [exec] TOLVEN_PASSWORD=xxxxxxxx
    [exec] TOLVEN_CONFIG_DIR=c:\tolven\tolven-config
    [exec] 0 [main] INFO root - Start log4j - Configuration: file:/c:/tolven/tolven-V2.1.3/bin/tolven-log4j.xml, logFileName: c:\tolven\tolven-V2.1.3\log\tolven.log
    [exec] 09:17:29,326 INFO [TPFBoot] TPF Version: 2.1.3
    [exec] 09:17:29,327 INFO [TPFBoot] Loaded configDir c:\tolven\tolven-config
    [exec] 09:17:29,366 INFO [TPFBoot] Generated boot.properties: C:\Users\ashique\AppData\Local\Temp\tpf_7271334601100351720_boot.properties
    [exec] 09:17:29,373 INFO [TolvenApplicationInitializer] logging system initialized
    [exec] 09:17:29,373 INFO [TolvenApplicationInitializer] application root is C:\tolven\tolven-V2.1.3\bin
    [exec] Application start failed.
    [exec] java.lang.IllegalArgumentException: unknown plug-in ID - org.tolven.deploy.jboss6
    [exec] at org.tolven.plugin.registry.xml.PluginRegistryImpl.getPluginDescriptor(PluginRegistryImpl.java:729)
    [exec] at org.tolven.command.TolvenApplication.loadLibraries(TolvenApplication.java:174)
    [exec] at org.tolven.command.TolvenApplication.startApplication(TolvenApplication.java:124)
    [exec] at org.java.plugin.boot.Boot.boot(Boot.java:346)
    [exec] at org.java.plugin.boot.Boot.main(Boot.java:243)
    [exec] at org.tolven.plugin.boot.TPFBoot.main(TPFBoot.java:128)
    [exec] 09:17:29,878 INFO [TolvenApplicationInitializer] integrity check done: errors - 0, warnings - 0
    [exec] 09:17:29,879 INFO [TolvenApplicationInitializer] application plug-in is org.tolven.command
    [exec] Press any key to continue . . .
    [echo] Done
    [echo]
    [echo] Done

    include-tolven-ear-deploy:
    [echo] Deploy Tolven EAR File
    [echo] c:/tolven/tolven-V2.1.3/bin/tpf.bat -plugin org.tolven.deploy.jboss6 -earPlugins org.tolven.component.tolvenear
    [exec] TOLVEN_USER=admin
    [exec] TOLVEN_REALM=tolven
    [exec] TOLVEN_PASSWORD=xxxxxxxx
    [exec] TOLVEN_CONFIG_DIR=c:\tolven\tolven-config
    [exec] 1 [main] INFO root - Start log4j - Configuration: file:/c:/tolven/tolven-V2.1.3/bin/tolven-log4j.xml, logFileName: c:\tolven\tolven-V2.1.3\log\tolven.log
    [exec] 09:17:30,911 INFO [TPFBoot] TPF Version: 2.1.3
    [exec] 09:17:30,912 INFO [TPFBoot] Loaded configDir c:\tolven\tolven-config
    [exec] 09:17:30,953 INFO [TPFBoot] Generated boot.properties: C:\Users\ashique\AppData\Local\Temp\tpf_8675081331876852940_boot.properties
    [exec] 09:17:30,960 INFO [TolvenApplicationInitializer] logging system initialized
    [exec] 09:17:30,960 INFO [TolvenApplicationInitializer] application root is C:\tolven\tolven-V2.1.3\bin
    [exec] Application start failed.
    [exec] java.lang.IllegalArgumentException: unknown plug-in ID - org.tolven.deploy.jboss6
    [exec] at org.tolven.plugin.registry.xml.PluginRegistryImpl.getPluginDescriptor(PluginRegistryImpl.java:729)
    [exec] at org.tolven.command.TolvenApplication.loadLibraries(TolvenApplication.java:174)
    [exec] at org.tolven.command.TolvenApplication.startApplication(TolvenApplication.java:124)
    [exec] at org.java.plugin.boot.Boot.boot(Boot.java:346)
    [exec] at org.java.plugin.boot.Boot.main(Boot.java:243)
    [exec] at org.tolven.plugin.boot.TPFBoot.main(TPFBoot.java:128)
    [exec] 09:17:31,461 INFO [TolvenApplicationInitializer] integrity check done: errors - 0, warnings - 0
    [exec] 09:17:31,461 INFO [TolvenApplicationInitializer] application plug-in is org.tolven.command
    [exec] Press any key to continue . . .
    [echo] Done
    [echo]
    [echo] Done

    props:

    start-jboss6:
    [echo] Waiting for jboss6 to start...
    [echo] Done

    config-gatekeeper-ear:
    [echo] Waiting for gatekeeper.ear to deploy...
    [echo] Waiting for directory: c:/tolven/tolven-jboss6/server/tolven/work/jboss.web/localhost/gatekeeper_html

    BUILD FAILED
    C:\tolven\tolven-installer\build.xml:128: The following error occurred while executing this line:
    C:\tolven\tolven-installer\build.xml:143: The following error occurred while executing this line:
    C:\tolven\tolven-installer\build-v2-jboss6.xml:145: The following error occurred while executing thi
    s line:
    C:\tolven\tolven-installer\build-v2-jboss6.xml:354: c:/tolven/tolven-jboss6/server/tolven/work/jboss
    .web/localhost/gatekeeper_html not found, so gatekeeper.ear failed to deploy

    Total time: 8 minutes 25 seconds

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

    Could anyone give some light on this ?

    Thank you very much.

     

    Last edit: Ashique Khan 2014-05-21
  • Ashique Khan

    Ashique Khan - 2014-05-19

    These are log files generated while 1) ant install (which was successful) and 2) ant config-tolven (error here)

     

    Last edit: Ashique Khan 2014-05-21
  • Ashique Khan

    Ashique Khan - 2014-05-21

    Problem solved :) by adding jboss plugin code as given below:

    <plugin id="org.tolven.deploy.jboss6">
    <root/>
    </plugin>

    in file C:>tolven/tolven-config/plugin.xml

    Thanks to link http://sourceforge.net/p/tolven/discussion/585637/thread/60552260/

     
  • Ashique Khan

    Ashique Khan - 2014-05-21

    Dear all,

    JBOSS is not able to start on next time my system was rebooted.

    Please suggest me if any idea on this. The server log file is attached here for your reference. Your kind information will be highly appreciated.

     

Log in to post a comment.