Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-6973

Starting JBoss AS 5.1.0 fails on opensolaris, jdk 1.6.0_13

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Minor Minor
    • Resolution: Duplicate Issue
    • Affects Version/s: JBossAS-5.1.0.GA
    • Fix Version/s: 6.0.0.M1
    • Component/s: System service
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      OpenSolaris build 111, running Sun Java 1.6.0_13
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      — profile.xml.orig 2009-05-25 23:05:06.480466918 +0200
      +++ profile.xml 2009-05-25 23:15:36.229390252 +0200
      @@ -144,7 +144,7 @@

      <!-- The attachment store -->
      <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">

      • <constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
        + <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>
        @@ -189,4 +189,4 @@
        <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property>
        </bean>

      -</deployment>
      \ No newline at end of file
      +</deployment>

      Show
      — profile.xml.orig 2009-05-25 23:05:06.480466918 +0200 +++ profile.xml 2009-05-25 23:15:36.229390252 +0200 @@ -144,7 +144,7 @@ <!-- The attachment store --> <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"> <constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor> + <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> @@ -189,4 +189,4 @@ <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property> </bean> -</deployment> \ No newline at end of file +</deployment>
    • Estimated Difficulty:
      Low
    • Similar Issues:
      Show 10 results 

      Description

      Starting up JBoss AS 5.1.0.GA fails with the following message:
      23:31:11,553 INFO [JMXKernel] Legacy JMX core initialized
      23:31:16,747 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore 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)
      at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
      at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
      at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
      at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
      at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
      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)
      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 "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "*ERROR*")
      Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")
      Deployment "ProfileServiceDeployer" 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")
      Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:
      Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "*ERROR*")

      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)
      23:31:18,389 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
      23:31:18,402 INFO [ServerImpl] Shutdown complete
      Shutdown complete
      Halting VM

        Activity

        Hide
        Anonymous Anonymous (Inactive)
        added a comment -

        I see the same error on Sun OS (not opensolaris) with Sun JDK 1.5.0_18 and Jboss 5.1.0GA:
        $uname -a
        SunOS mars5 5.10 Generic_127127-11 sun4u sparc SUNW,SPARC-Enterprise

        Show
        Anonymous Anonymous (Inactive)
        added a comment - I see the same error on Sun OS (not opensolaris) with Sun JDK 1.5.0_18 and Jboss 5.1.0GA: $uname -a SunOS mars5 5.10 Generic_127127-11 sun4u sparc SUNW,SPARC-Enterprise
        Hide
        Emanuel Muckenhuber
        added a comment -

        This is a duplicate issue to JBAS-6981.

        Show
        Emanuel Muckenhuber
        added a comment - This is a duplicate issue to JBAS-6981 .

          People

          • Assignee:
            Emanuel Muckenhuber
            Reporter:
            Vincent De Baere
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: