2 Replies Latest reply: May 2, 2012 10:06 PM by Vu Viet Phuong RSS

Exception while starting GateIn server..

Poornima Abhilash Newbie

Hi All,

 

I am geting the following exception while starting GateIn.

Can u plzz help...

 

18:18:37,228 INFO  [STDOUT] Cannot load JDBC driver class '${portal.container.gatein.jcr.datasource.driver}'

 

When I start Gatin from MyEclipse at the time of start up error occours and thus not able to start the  application.The stack trace  is given below.

 

 

 

 

18:18:37,228 INFO  [STDOUT] Cannot load JDBC driver class '${portal.container.gatein.jcr.datasource.driver}'

java.lang.ClassNotFoundException: ${portal.container.gatein.jcr.datasource.driver} from BaseClassLoader@aee2a2{VFSClassLoaderPolicy@1a12f5f{name=vfsfile:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/ domain=ClassLoaderDomain@1c98360{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@1be0f0a} roots=[MemoryContextHandle/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/connector-api-1.5.jar],

/lib/exo.core.component.security.core-2.3.2-GA.jar]

DelegatingHandler@13450760[path=gatein.ear/lib/filters-2.0.235.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/filters-2.0.235.jar], DelegatingHandler@10730797[path=gatein.ear/lib/gatein.portal.component.wsrp-3.1.0-GA.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/gatein.portal.component.wsrp-3.1.0-GA.jar], DelegatingHandler@31001613[path=gatein.ear/lib/google-collections-1.0-rc2.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/google-collections-1.0-rc2.jar], DelegatingHandler@10894301[path=gatein.ear/lib/guice-2.0.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/guice-2.0.jar], DelegatingHandler@27552544[path=gatein.ear/lib/guice-jmx-2.0.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/guice-jmx-2.0.jar], DelegatingHandler@24456390[path=gatein.ear/lib/hibernate-core-3.3.2.GA.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/hibernate-core-3.3.2.GA.jar], DelegatingHandler@30319595[path=gatein.ear/lib/html-parser-1.6.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/html-parser-1.6.jar], DelegatingHandler@23831676[path=gatein.ear/lib/icu4j-3.8.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/icu4j-3.8.jar], DelegatingHandler@33284669[path=gatein.ear/lib/jaxb-impl-2.1.7.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/jaxb-impl-2.1.7.jar], DelegatingHandler@29498372[path=gatein.ear/lib/jboss-mc-int-common-2.2.0.Alpha2.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/jboss-mc-int-common-2.2.0.Alpha2.jar], DelegatingHandler@12411674[path=gatein.ear/lib/jboss-mc-int-servlet-2.2.0.Alpha2.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/jboss-mc-int-servlet-2.2.0.Alpha2.jar], DelegatingHandler@28670409[path=gatein.ear/lib/jcip-annotations-1.0.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/jcip-annotations-1.0.jar], DelegatingHandler@21924969[path=gatein.ear/lib/jdom-1.0.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/jdom-1.0.jar], DelegatingHandler@31738463[path=gatein.ear/lib/joda-time-1.6.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/joda-time-1.6.jar], DelegatingHandler@13550001[path=gatein.ear/lib/js-1.6R5.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/js-1.6R5.jar], DelegatingHandler@937979[path=gatein.ear/lib/jsecurity-0.9.0.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/jsecurity-0.9.0.jar], DelegatingHandler@27592593[path=gatein.ear/lib/json-20070829.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/json-20070829.jar], DelegatingHandler@26464203[path=gatein.ear/lib/json_simple-r1.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/json_simple-r1.jar], DelegatingHandler@19871746[path=gatein.ear/lib/juel-api-2.1.2.jar context=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/ real=file:/G:/share/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/lib/juel-api-2.1.2.jar]

tle.asn1.isismtt, com.google.inject, org.apache.sanselan.util, org.picketlink.idm.impl.helper, org.jgroups.stack, org.apache.lucene.index, org.mozilla.javascript.resources, org.picketlink.idm.impl.configuration.jaxb2, com.thoughtworks.xstream.io.xml, org.jboss.cache.util.reflect, dtd, features.auth-refresh, org.jboss.cache.commands, org.xmlpull.v1.dom2_builder, org.picketlink.idm.impl.api.model, de.odysseus.el.util, org.exoplatform.portal.webui.navigation, org.joda.time.format, org.jboss.cache.jmx.annotations, groovy.grape, org.apache.poi.hdf.model.hdftypes.definitions, org.exoplatform.services.jcr.impl.dataflow.serialization, org.gatein.mop.api, org.bouncycastle.asn1.oiw, META-INF.maven.org.exoplatform.jcr.exo.jcr.component.webdav, org.bouncycastle.crypto.util, org.dom4j.xpp, org.hibernate.tuple.entity, java.junit.junit.jar.junit.runner, org.bouncycastle.asn1.x509.qualified, org.mozilla.javascript.serialize, org.exoplatform.portal.gadget.core, META-INF.maven.org.exoplatform.portal.exo.portal.component.scripting, nl.captcha.servlet, org.exoplatform.services.listener, org.jsecurity.session.mgt, org.hibernate.hql.classic, org.chromattic.api.query, org.exoplatform.frameworks.jcr.web, org.apache.shindig.protocol.multipart, org.exoplatform.portal.resource.config.tasks, org.enhydra.jdbc.core, org.cyberneko.html, org.apache.commons.chain, org.codehaus.groovy.control, META-INF

18:18:37,239 ERROR [HibernateServiceImpl] Cannot load JDBC driver class '${portal.container.gatein.jcr.datasource.driver}'

 

 

org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class '${portal.container.gatein.jcr.datasource.driver}'

at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)

at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)

at org.exoplatform.services.database.impl.HibernateServiceImpl.<init>(HibernateServiceImpl.java:141)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:321)

at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:94)

at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)

at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:400)

at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:389)

at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)

at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:311)

at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:94)

at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)

at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:400)

at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstancesOfType(ConcurrentPicoContainer.java:350)

at org.exoplatform.container.CachingContainer.getComponentInstancesOfType(CachingContainer.java:111)

at org.picocontainer.defaults.LifecycleVisitor.visitContainer(LifecycleVisitor.java:97)

at org.exoplatform.container.ConcurrentPicoContainer.accept(ConcurrentPicoContainer.java:506)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.picocontainer.defaults.AbstractPicoVisitor.traverse(AbstractPicoVisitor.java:32)

at org.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:63)

at org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113)

at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:453)

at org.exoplatform.container.ExoContainer.start(ExoContainer.java:186)

at org.exoplatform.container.PortalContainer.start(PortalContainer.java:595)

at org.exoplatform.container.ExoContainer.start(ExoContainer.java:180)

at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:338)

at org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:233)

at org.exoplatform.container.web.PortalContainerCreator.contextInitialized(PortalContainerCreator.java:57)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)

at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

at $Proxy38.start(Unknown Source)

at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

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.change(AbstractController.java:822)

at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

at org.jboss.system.ServiceController.start(ServiceController.java:460)

at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

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:1178)

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: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.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:702)

at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

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.change(AbstractController.java:822)

at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

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

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)