7 Replies Latest reply on Oct 22, 2010 2:09 AM by jaikiran

    Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it

    rahul128jangra

      Hi All

                I wanted to install jboss-6.0.0.20100911-M5 on an X-86 solaris 10 with jdk1.6.0_14 and to deploy Hudson.war on it. I downloaded jboss-6.0.0.20100911-M5.zip , unzipped it , put the hudson.war in /opt/jboss-6.0.0.20100911-M5/server/default/deploy and launched run.sh.It didn't wok and I got the following errors:

       

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

        JBoss Bootstrap Environment

       

        JBOSS_HOME: /opt/jboss-6.0.0.20100911-M5

       

        JAVA: /opt/jdk1.6.0_14/bin/java

       

        JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh -Djava.library.path=/opt/jboss-6.0.0.20100911-M5/bin/native/lib:/usr/atria/lib:/usr/local/lib

       

        CLASSPATH: /opt/jboss-6.0.0.20100911-M5/bin/run.jar:/opt/jdk1.6.0_14/lib/tools.jar

       

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

       

      16:31:32,854 INFO  [AbstractJBossASServerBase] Server Configuration:

       

              JBOSS_HOME URL: file:/opt/jboss-6.0.0.20100911-M5/

              Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml

              Common Base: $JBOSS_HOME/common/

              Common Library: $JBOSS_HOME/common/lib/

              Server Name: default

              Server Base: $JBOSS_HOME/server/

              Server Library: $JBOSS_HOME/server/default/lib/

              Server Config: $JBOSS_HOME/server/default/conf/

              Server Home: $JBOSS_HOME/server/default/

              Server Data: $JBOSS_HOME/server/default/data

              Server Log: $JBOSS_HOME/server/default/log/

              Server Temp: $JBOSS_HOME/server/default/tmp

       

      16:31:32,867 INFO  [AbstractServer] Starting: JBossAS [6.0.0.20100911-M5 "Neo"]

      16:31:34,598 INFO  [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.

      16:31:34,598 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)

      16:31:34,598 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 14.0-b16,Sun Microsystems Inc.

      16:31:34,598 INFO  [ServerInfo] OS-System: SunOS 5.10,x86

      16:31:34,599 INFO  [ServerInfo] VM arguments: -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh -Djava.library.path=/opt/jboss-6.0.0.20100911-M5/bin/native/lib:/usr/atria/lib:/usr/local/lib -Djava.endorsed.dirs=/opt/jboss-6.0.0.20100911-M5/lib/endorsed

      16:31:34,640 INFO  [JMXKernel] Legacy JMX core initialized

      16:31:40,128 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.0.Beta2

      16:31:40,479 INFO  [JSFImplManagementDeployer] Initialized 2 JSF configurations: [Mojarra-1.2, Mojarra-2.0]

      16:31:47,134 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      16:31:51,005 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///opt/jboss-6.0.0.20100911-M5/server/default/deploy/hudson.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///opt/jboss-6.0.0.20100911-M5/server/default/deploy/hudson.war

              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha7]

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.Alpha7]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha7]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha7]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha7]

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]

              ........ 36 more

      Caused by: java.lang.Error: Error visiting "/opt/jboss-6.0.0.20100911-M5/server/default/deploy/hudson.war/WEB-INF/lib/guava-r06.jar/com/google/common/collect/LinkedListMultimap$ValueForKeyIterator.class"

              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.Alpha8]

              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:407) [jboss-vfs.jar:3.0.0.CR5]

              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409) [jboss-vfs.jar:3.0.0.CR5]

              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409) [jboss-vfs.jar:3.0.0.CR5]

              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409) [jboss-vfs.jar:3.0.0.CR5]

              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409) [jboss-vfs.jar:3.0.0.CR5]

              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:395) [jboss-vfs.jar:3.0.0.CR5]

              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102) [jboss-classloading-vfs.jar:2.2.0.Alpha8]

              at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181) [:2.2.0.Alpha7]

              at org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111) [:1.0.0.Alpha6]

              at org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96) [:1.0.0.Alpha6]

              at org.jboss.scanning.deployers.ScanningDeployer.deploy(ScanningDeployer.java:90) [:1.0.0.Alpha6]

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha7]

              ... 41 more

      Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ com/google/common/collect/LinkedListMultimap$ValueForKeyIterator.class / BaseClassLoader@f7ba93{vfs:///opt/jboss-6.0.0.20100911-M5/server/default/deploy/hudson.war}, visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@1e01b65

              at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [:1.0.0.Alpha6]

              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91) [:1.0.0.Alpha6]

              at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89) [:1.0.0.Alpha6]

              at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.Alpha6]

              at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.Alpha8]

              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.Alpha8]

              ... 53 more

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 1

              at org.jboss.reflect.plugins.ConstructorInfoImpl.<init>(ConstructorInfoImpl.java:95) [jboss-reflect.jar:2.2.0.Alpha9]

              at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.<init>(ReflectConstructorInfoImpl.java:68) [jboss-reflect.jar:2.2.0.Alpha9]

              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getConstructors(IntrospectionTypeInfoFactoryImpl.java:174) [jboss-reflect.jar:2.2.0.Alpha9]

              at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredConstructors(ClassInfoImpl.java:446) [jboss-reflect.jar:2.2.0.Alpha9]

              at org.jboss.scanning.plugins.visitor.ClassHierarchyResourceVisitor.handleClass(ClassHierarchyResourceVisitor.java:79) [:1.0.0.Alpha6]

              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(ReflectResourceVisitor.java:108) [:1.0.0.Alpha6]

              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86) [:1.0.0.Alpha6]

              ... 57 more

      16:31:52,412 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      16:31:52,636 INFO  [JMXConnector] starting JMXConnector on host 0.0.0.0:1090

      16:31:53,388 INFO  [MailService] Mail Service bound to java:/Mail

      16:31:54,187 INFO  [HornetQServerImpl] live server is starting..

      16:31:54,269 INFO  [JournalStorageManager] Using NIO Journal

      16:31:54,294 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.

      16:31:56,098 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 0.0.0.0:5445 for CORE protocol

      16:31:56,110 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 0.0.0.0:5455 for CORE protocol

      16:31:56,115 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started

      16:31:56,164 INFO  [WebService] Using RMI server codebase: http://ingrx034:8083/

      16:31:56,818 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jboss-6.0.0.20100911-M5/bin/native/lib:/usr/atria/lib:/usr/local/lib

      16:31:56,917 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.CR3

      16:31:56,931 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      16:31:57,654 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.20100911-M5/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      16:31:57,666 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.20100911-M5/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      16:31:57,674 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.20100911-M5/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      16:31:57,687 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started

      16:31:57,693 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.20100911-M5/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      16:31:57,706 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.20100911-M5/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      16:31:57,760 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2

      16:31:57,792 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

      16:31:57,792 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.0 created.

      16:31:57,794 INFO  [RAMJobStore] RAMJobStore initialized.

      16:31:57,795 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.0) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'

        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

        NOT STARTED.

        Currently in standby mode.

        Number of jobs executed: 0

        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

       

      16:31:57,795 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.

      16:31:57,795 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.0

      16:31:57,795 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.

      16:31:58,219 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      16:31:58,483 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      16:31:58,536 INFO  [xnio] XNIO Version 2.1.0.CR2

      16:31:58,543 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

      16:31:58,763 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

      16:31:58,859 INFO  [TomcatDeployment] deploy, ctxPath=/

      16:31:59,162 INFO  [service] Removing bootstrap log handlers

      16:31:59,225 ERROR [org.jboss.profileservice.bootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfs:///opt/jboss-6.0.0.20100911-M5/server/default/deploy/hudson.war" is in error due to the following reason(s): java.lang.ArrayIndexOutOfBoundsException: 1

       

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.Alpha7]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.Alpha7]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.20100911-M5]

              at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]

              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:133) [:6.0.0.20100911-M5]

              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100911-M5]

              at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

              at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

              at java.lang.Thread.run(Thread.java:619) [:1.6.0_14]

       

      16:31:59,241 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080

      16:31:59,245 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009

      16:31:59,253 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100911-M5 "Neo"] Started in 26s:381ms

       

       

                 Any hint ????                                

        • 1. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
          jaikiran

          It's a known bug. See https://jira.jboss.org/browse/JBAS-8361 and the referenced forum thread in that JIRA.

          1 of 1 people found this helpful
          • 2. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
            rahul128jangra

                           Thanks a lot, Jaikiran ! So the bug is unresolved and the coding is in progress. That means, as of now jboss-6.0.0-M5 can't be installed on Solaris 10.

                           But earlier I've also tried jboss-5.1.0.GA on a SPARC Solaris 10 using jdk1.6.0_20. I downloaded jboss-5.1.0.GA.zip, unzipped it and  copied hudson.war in /opt/jboss-5.1.0.GA/server/default/deploy . Then I made changes in run.conf to point to the correct jdk . I also corrected the profile.xml by changing:

            <constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>

             

            When I launched run.sh I was still getting the same error:

             

              JBoss Bootstrap Environment

             

              JBOSS_HOME: /opt/jboss-5.1.0.GA

             

              JAVA: /opt/jdk1.6.0_14/bin/java

             

              JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

             

              CLASSPATH: /opt/jboss-5.1.0.GA/bin/run.jar:/opt/jdk1.6.0_14/lib/tools.jar

             

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

             

            14:38:56,297 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

            14:38:56,299 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)

            14:38:56,300 INFO  [ServerImpl] Bootstrap URL: null

            14:38:56,301 INFO  [ServerImpl] Home Dir: /opt/jboss-5.1.0.GA

            14:38:56,301 INFO  [ServerImpl] Home URL: file:/opt/jboss-5.1.0.GA/

            14:38:56,301 INFO  [ServerImpl] Library URL: file:/opt/jboss-5.1.0.GA/lib/

            14:38:56,303 INFO  [ServerImpl] Patch URL: null

            14:38:56,303 INFO  [ServerImpl] Common Base URL: file:/opt/jboss-5.1.0.GA/common/

            14:38:56,304 INFO  [ServerImpl] Common Library URL: file:/opt/jboss-5.1.0.GA/common/lib/

            14:38:56,304 INFO  [ServerImpl] Server Name: default

            14:38:56,304 INFO  [ServerImpl] Server Base Dir: /opt/jboss-5.1.0.GA/server

            .............20 more

            Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/opt/jboss-5.1.0.GA/lib/endorsed

            14:39:11,478 INFO  [JMXKernel] Legacy JMX core initialized

            14:39:21,713 ERROR [AbstractKernelController] Error installing to Instantiated: state=Described

            java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

                    at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)

                    at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)

                    at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)

                    at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)

                    at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:282)

                    at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:103)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)

                    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)

                    ...............25 more

            Failed to boot JBoss:

            java.lang.IllegalStateException: Incompletely deployed:

             

            DEPLOYMENTS IN ERROR:

              Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

             

            DEPLOYMENTS MISSING DEPENDENCIES:

              Deployment "ProfileService" is missing the following dependencies:

                Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")

                Dependency "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "**ERROR**")

              Deployment "ProfileServiceDeployer" is missing the following dependencies:

                Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

              Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:

                Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

              Deployment "ProfileServiceBootstrap" is missing the following dependencies:

                Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")

                Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")

             

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)

                    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)

                    at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)

                    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)

                    at org.jboss.Main.boot(Main.java:221)

                    at org.jboss.Main$1.run(Main.java:556)

                    at java.lang.Thread.run(Thread.java:619)

            14:39:25,792 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true

            14:39:25,814 INFO  [ServerImpl] Shutdown complete

            Shutdown complete

            Halting VM

             

             

            Please help

            • 3. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
              jaikiran
              I also corrected the profile.xml by changing:

              Are you sure you changed the correct file and saved it? What's the exact location of the file that you changed?

              • 4. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
                rahul128jangra

                The exact location is : /opt/jboss-5.1.0.GA/server/all/conf/bootstrap/profile.xml . I have checked it many times. It's done properly and saved too. Below are the lines that I copied from my present profile.xml:

                 

                <!-- The attachment store -->
                        <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
                        <constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
                                <property name="mainDeployer"><inject bean="MainDeployer" /></property>
                                <property name="serializer"><inject bean="AttachmentsSerializer" /></property>
                                <property name="persistenceFactory"><inject bean="PersistenceFactory" /></property>

                <!-- The attachment store -->

                        <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">

                        <constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>

                                <property name="mainDeployer"><inject bean="MainDeployer" /></property>

                                <property name="serializer"><inject bean="AttachmentsSerializer" /></property>

                                <property name="persistenceFactory"><inject bean="PersistenceFactory" /></property>

                I am surprised why it didn't work in my case.

                • 5. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
                  jaikiran

                  Rahul Jangra wrote:

                   

                  The exact location is : /opt/jboss-5.1.0.GA/server/all/conf/bootstrap/profile.xml .

                  Your earlier log shows that you are starting the "default" profile:

                   

                  14:38:56,304 INFO  [ServerImpl] Server Name: default

                   

                  So changing /opt/jboss-5.1.0.GA/server/all/conf/bootstrap/profile.xml won't help. You'll have to change /opt/jboss-5.1.0.GA/server/default/conf/bootstrap/profile.xml

                  • 6. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
                    rahul128jangra

                    Hi , Thanks for your replies. I changed the correct profile.xml file & it worked but now it’s saying that AWT is not properly configured on this server I need to run  container with "-Djava.awt.headless=true”.

                              So I have to change the value of this system property. How would I do that ? I am installing jboss in a SPARC Solaris 10. Should I run the command ‘ java -Djava.awt.headless=true ‘  or should I change in run.bat or run.sh file ?

                    • 7. Re: Unable to Install jboss-6.0.0.20100911-M5 on X-86 Solaris 10 and deploy hudson.war to it
                      jaikiran

                      Add it to the (uncommented) JAVA_OPTS section in JBOSS_HOME/bin/run.conf file.