Showing posts with label JBOSS. Show all posts
Showing posts with label JBOSS. Show all posts

Deployment Error in starting Jboss 5.1 GA

Deployment Error in starting Jboss 5.1 GA
Issue:
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
  Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentExce
ption: Wrong arguments. new for target java.lang.reflect.Constructor expected=[j
ava.net.URI] actual=[java.io.File]

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "ProfileServicePersistenceDeployer" is missing the following depend
encies:
    Dependency "AttachmentStore" (should be in state "Installed", but is actuall
y in state "**ERROR**")
  Deployment "ProfileServiceDeployer" is missing the following dependencies:
    Dependency "AttachmentStore" (should be in state "Installed", but is actuall
y in state "**ERROR**")
  Deployment "ProfileService" is missing the following dependencies:
    Dependency "jboss.kernel:service=KernelController" (should be in state "Inst
alled", but is actually in state "**ERROR**")
    Dependency "ProfileServiceDeployer" (should be in state "Installed", but is
actually in state "Instantiated")
  Deployment "ProfileServiceBootstrap" is missing the following dependencies:
    Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", bu
t 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.internalVa
lidate(AbstractKernelDeployer.java:278)
        at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(A
bstractKernelDeployer.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:722)
13:26:32,312 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
13:26:32,315 INFO  [ServerImpl] Shutdown complete
Environment:
  • OS: Windows 7
  • JDK:java version "1.7.0_51"
  • JBOSS: Jboss 5.1 GA
Resolution:
  • Navigate \server\default\conf\bootstrap\profile.xml
  • Search "AttachmentStore" in profile.xml file
  • Add new class parameter inside tag
       
       
    Before:
       
     
    
      
      
      
     
       
    After:
       
     
    
      
      
      
     
       
  • Save profile.xml.
  • Start JBoss service
      \bin>run.bat all
     
  • Verify JBoss services on Jboss web console.
    http://localhost:8080/web-console/