2 Replies Latest reply on May 25, 2011 4:54 PM by Steve Rank

    Unable to deploy teiid on JBoss 5 - AbstractComponentMapper not found

    Steve Rank Newbie

      I have been searching for an answer to this all day.  If it has been answsered already I apologize...

       

      I download the latest JBoss 5 version (

       

      jboss-5.0.1.GA-jdk6.zip), teiid (teiid-7.4.0.Final-jboss-dist.zip) and patch (a_teiid-patch-7.4.0.Final.jar).  I unzipped Jboss to c:\temp\teiid\jboss.  I modified the run.bat to set the java home (SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07) as jdk 6 is not my machine's default.

       

      I then ran the server in its default configuration and all is OK.

       

      I then unzipped the teiid file into the "default" configuration (c:\temp\teiid\jboss\jboss-5.0.1.GA\server\default.

       

      Running the server now gives me this stack trace

       

      :

       

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

        JBoss Bootstrap Environment

        JBOSS_HOME: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA

        JAVA: C:\Program Files\Java\jdk1.6.0_07\bin\java

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

        CLASSPATH: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\bin\run.jar

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

      13:54:19,618 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      13:54:19,618 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)
      13:54:19,618 INFO  [ServerImpl] Bootstrap URL: null
      13:54:19,618 INFO  [ServerImpl] Home Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA
      13:54:19,618 INFO  [ServerImpl] Home URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/
      13:54:19,618 INFO  [ServerImpl] Library URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/lib/
      13:54:19,618 INFO  [ServerImpl] Patch URL: null
      13:54:19,618 INFO  [ServerImpl] Common Base URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/common/
      13:54:19,618 INFO  [ServerImpl] Common Library URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/common/lib/
      13:54:19,618 INFO  [ServerImpl] Server Name: default
      13:54:19,618 INFO  [ServerImpl] Server Base Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server
      13:54:19,618 INFO  [ServerImpl] Server Base URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/
      13:54:19,618 INFO  [ServerImpl] Server Config URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/conf/
      13:54:19,618 INFO  [ServerImpl] Server Home Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default
      13:54:19,618 INFO  [ServerImpl] Server Home URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/
      13:54:19,618 INFO  [ServerImpl] Server Data Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\data
      13:54:19,618 INFO  [ServerImpl] Server Library URL: file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/lib/
      13:54:19,618 INFO  [ServerImpl] Server Log Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\log
      13:54:19,618 INFO  [ServerImpl] Server Native Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp\native
      13:54:19,618 INFO  [ServerImpl] Server Temp Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp
      13:54:19,618 INFO  [ServerImpl] Server Temp Deploy Dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp\deploy
      13:54:19,962 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
      13:54:20,274 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      13:54:20,290 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      13:54:20,462 INFO  [CopyMechanism] VFS temp dir: C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server\default\tmp
      13:54:20,462 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      13:54:21,321 INFO  [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
      13:54:21,321 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
      13:54:21,321 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b23,Sun Microsystems Inc.
      13:54:21,321 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
      13:54:21,337 INFO  [JMXKernel] Legacy JMX core initialized
      13:54:23,056 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@64dd79
      (root=C:\temp\TEIID\jboss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])

      13:54:23,056 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@64dd79(root=C:\temp\TEIID\j
      boss-5.0.1.GA-jdk6\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      13:54:23,056 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@c639ce{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,na
      me=default]}
      13:54:23,977 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      13:54:27,868 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      13:54:27,868 INFO  [NativeServerConfig] 3.0.5.GA
      13:54:28,508 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deployers/
      teiid.deployer/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying: vfsfile:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deployers/teiid.deployer/
      teiid-deployer-jboss-beans.xml
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
              at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:297)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
              at org.jboss.Main.boot(Main.java:209)
              at org.jboss.Main$1.run(Main.java:547)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.NoClassDefFoundError: org/jboss/system/server/profileservice/persistence/component/AbstractComponentMapper
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
              at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
              at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:546)
              at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:506)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:504)
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:481)
              at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
              at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
              at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
              at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:258)
              at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:152)
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:259)
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1102)
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:772)
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:415)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:63)
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
              ... 24 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.system.server.profileservice.persistence.component.AbstractComponentMapper
              at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:247)
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:279)
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1102)
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:772)
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:415)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              ... 44 more
      13:54:29,368 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      DEPLOYMENTS IN ERROR:
        Deployment "vfsfile:/C:/temp/TEIID/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deployers/teiid.deployer/" is in error due to the following reason(s): ja
      va.lang.ClassNotFoundException: org.jboss.system.server.profileservice.persistence.component.AbstractComponentMapper

      13:54:29,368 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 9s:750ms

       

       

      I've been searching for this error everywhere.  It seems that I am the only one to have ever experienced this issue.  Does anyone have any suggestions?

       

      Thanks in advance for your assistance.

       

      Steve Rank