Can't start Gatein - GateIn-3.2.0-Beta01-tomcat6

    Hi,

     

        I am using

     

    GateIn-3.2.0-Beta01-tomcat6.zip package,

        Unzipped to vista system, tried to start it by running startup without changing anything.

     

       Got below error:

      

    Using CATALINA_BASE:   "C:\dev\GateIn3"
    Using CATALINA_HOME:   "C:\dev\GateIn3"
    Using CATALINA_TMPDIR: "C:\dev\GateIn3\temp"
    Using JRE_HOME:        "C:\dev\Java\jdk1.6.0_16"
    Using CLASSPATH:       "C:\dev\GateIn3\bin\bootstrap.jar"
    25/01/2012 2:21:52 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\dev\Java\jdk1.6.0_16\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\dev\Java\jdk1.6.0_16\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\StormII\Codec;C:\Program Files\StormII
    25/01/2012 2:21:53 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    25/01/2012 2:21:53 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1662 ms
    25/01/2012 2:21:53 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    25/01/2012 2:21:53 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
    25/01/2012 2:21:53 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor eXoResources.xml
    25/01/2012 2:21:53 PM org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase C:\dev\GateIn3\webapps\eXoResources inside the host appBase has been specified, and will be ignored
    25/01/2012 2:21:56 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:21:56 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor host-manager.xml
    25/01/2012 2:21:57 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor integration.xml
    25/01/2012 2:21:57 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor manager.xml
    25/01/2012 2:21:58 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor portal.xml
    25/01/2012 2:21:58 PM org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase C:\dev\GateIn3\webapps\portal inside the host appBase has been specified, and will be ignored
    25/01/2012 2:21:59 PM org.exoplatform.container.RootContainer getInstance
    INFO: Building root container
    25/01/2012 2:21:59 PM org.exoplatform.container.RootContainer <init>
    INFO: Active profiles [tomcat]
    25/01/2012 2:22:00 PM org.exoplatform.container.util.ContainerUtil loadProperties
    SEVERE: Cannot load property file file:/C:/dev/GateIn3/lib/exo.core.component.xml-processing-2.4.2-GA.jar!/conf/configuration.properties
    java.io.FileNotFoundException: JAR entry conf/configuration.properties not found in C:\dev\GateIn3\lib\exo.core.component.xml-processing-2.4.2-GA.jar
            at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
            at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
            at java.net.URL.openStream(URL.java:1010)
            at org.exoplatform.container.util.ContainerUtil.loadProperties(ContainerUtil.java:253)
            at org.exoplatform.container.util.ContainerUtil.loadProperties(ContainerUtil.java:233)
            at org.exoplatform.container.PropertyConfigurator.<init>(PropertyConfigurator.java:105)
            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:417)
            at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
            at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
            at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:466)
            at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstancesOfType(ConcurrentPicoContainer.java:364)
            at org.exoplatform.container.CachingContainer.getComponentInstancesOfType(CachingContainer.java:111)
            at org.exoplatform.container.LifecycleVisitor.visitContainer(LifecycleVisitor.java:151)
            at org.exoplatform.container.ConcurrentPicoContainer.accept(ConcurrentPicoContainer.java:613)
            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.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:90)
            at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170)
            at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:552)
            at org.exoplatform.container.ExoContainer.start(ExoContainer.java:266)
            at org.exoplatform.container.ExoContainer.start(ExoContainer.java:254)
            at org.exoplatform.container.RootContainer$6.run(RootContainer.java:475)
            at org.exoplatform.container.RootContainer$6.run(RootContainer.java:471)
            at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedAction(SecurityHelper.java:289)
            at org.exoplatform.container.RootContainer.buildRootContainer(RootContainer.java:470)
            at org.exoplatform.container.RootContainer.getInstance(RootContainer.java:518)
            at org.exoplatform.web.GenericHttpListener.contextInitialized(GenericHttpListener.java:201)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
            at org.apache.catalina.core.StandardService.start(StandardService.java:525)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
            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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    25/01/2012 2:22:00 PM org.exoplatform.container.RootContainer getInstance
    INFO: Root container is built (build time 1077ms)
    25/01/2012 2:22:00 PM org.exoplatform.container.ExoContainerContext setTopContainer
    INFO: Set the top container in its context
    25/01/2012 2:22:00 PM org.exoplatform.container.RootContainer getInstance
    INFO: Root container booted
    25/01/2012 2:22:00 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:22:00 PM org.exoplatform.container.RootContainer createPortalContainer
    INFO: Trying to create the portal container 'portal'
    25/01/2012 2:22:03 PM org.hibernate.cfg.annotations.Version <clinit>
    INFO: Hibernate Annotations 3.4.0.GA
    25/01/2012 2:22:03 PM org.hibernate.cfg.Environment <clinit>
    INFO: Hibernate 3.3.2.GA
    25/01/2012 2:22:03 PM org.hibernate.cfg.Environment <clinit>
    INFO: hibernate.properties not found
    25/01/2012 2:22:03 PM org.hibernate.cfg.Environment buildBytecodeProvider
    INFO: Bytecode provider name : javassist
    25/01/2012 2:22:03 PM org.hibernate.cfg.Environment <clinit>
    INFO: using JDK 1.4 java.sql.Timestamp handling
    25/01/2012 2:22:03 PM org.hibernate.annotations.common.Version <clinit>
    INFO: Hibernate Commons Annotations 3.1.0.GA
    25/01/2012 2:22:03 PM org.exoplatform.container.RootContainer createPortalContainer
    SEVERE: Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@13bdd36
    java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.idm.PicketLinkIDMService type=org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/organization/idm-configuration.xml
            at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:134)
            at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
            at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:466)
            at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstancesOfType(ConcurrentPicoContainer.java:364)
            at org.exoplatform.container.CachingContainer.getComponentInstancesOfType(CachingContainer.java:111)
            at org.exoplatform.container.LifecycleVisitor.visitContainer(LifecycleVisitor.java:151)
            at org.exoplatform.container.ConcurrentPicoContainer.accept(ConcurrentPicoContainer.java:613)
            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.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:90)
            at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170)
            at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:552)
            at org.exoplatform.container.ExoContainer.start(ExoContainer.java:266)
            at org.exoplatform.container.PortalContainer.start(PortalContainer.java:667)
            at org.exoplatform.container.ExoContainer.start(ExoContainer.java:254)
            at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:399)
            at org.exoplatform.container.RootContainer.registerPortalContainer(RootContainer.java:266)
            at org.exoplatform.portal.application.PortalController.afterInit(PortalController.java:114)
            at org.exoplatform.container.web.AbstractHttpServlet.init(AbstractHttpServlet.java:79)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
            at org.apache.catalina.core.StandardService.start(StandardService.java:525)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
            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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.database.HibernateService type=org.exoplatform.services.database.impl.HibernateServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/organization/idm-configuration.xml
            at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:134)
            at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
            at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:466)
            at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:420)
            at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
            at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
            at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
            ... 47 more
    Caused by: java.lang.reflect.InvocationTargetException
            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:417)
            at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:96)
            ... 53 more
    Caused by: java.lang.ClassCastException: org.apache.naming.NamingContext cannot be cast to javax.sql.DataSource
            at org.exoplatform.services.database.impl.HibernateServiceImpl.<init>(HibernateServiceImpl.java:144)
            ... 59 more
    25/01/2012 2:22:03 PM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor rest.xml
    25/01/2012 2:22:03 PM org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase C:\dev\GateIn3\webapps\rest inside the host appBase has been specified, and will be ignored
    25/01/2012 2:22:04 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive dashboard.war
    25/01/2012 2:22:04 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:22:04 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive exoadmin.war
    25/01/2012 2:22:05 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:22:05 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive eXoGadgets.war
    25/01/2012 2:22:06 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:22:06 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive eXoGadgetServer.war
    25/01/2012 2:22:10 PM org.exoplatform.portal.gadget.core.GateInJsonContainerConfig loadContainers
    INFO: Loading resources from: containers/default/container.js
    25/01/2012 2:22:10 PM org.exoplatform.portal.gadget.core.GateInJsonContainerConfig loadResources
    INFO: Reading container config: containers/default/container.js
    25/01/2012 2:22:10 PM org.exoplatform.portal.gadget.core.ExoContainerConfig initializeTokenKeyFile
    WARNING: The gadgets token key is not configured. The default key.txt file in /bin will be used
    25/01/2012 2:22:10 PM org.exoplatform.portal.gadget.core.ExoContainerConfig initializeTokenKeyFile
    INFO: Found token key file C:\dev\GateIn3\bin\key.txt for gadgets security
    25/01/2012 2:22:10 PM org.exoplatform.portal.gadget.core.ExoContainerConfig initializeSigningKeyFile
    WARNING: The gadgets signing key is not configured. The default signing key in /bin directory will be used.
    25/01/2012 2:22:10 PM org.apache.shindig.gadgets.features.FeatureRegistry register
    INFO: Loading resources from: res:features/features.txt
    25/01/2012 2:22:11 PM org.apache.shindig.common.xml.XmlUtil <clinit>
    INFO: Not using secure XML processing.
    25/01/2012 2:22:11 PM org.apache.shindig.common.xml.XmlUtil <clinit>
    INFO: Reusing document builders
    25/01/2012 2:22:13 PM org.apache.shindig.gadgets.servlet.CajaContentRewriter <init>
    INFO: Cajoled cache createdorg.apache.shindig.common.cache.ehcache.EhConfiguredCache@893918
    25/01/2012 2:22:14 PM org.apache.shindig.gadgets.servlet.CajaContentRewriter <init>
    INFO: Cajoled cache createdorg.apache.shindig.common.cache.ehcache.EhConfiguredCache@893918
    25/01/2012 2:22:14 PM org.exoplatform.portal.gadget.core.ExoOAuthModule$ExoOAuthStoreProvider loadDefaultKey
    INFO: Loading OAuth signing key from oauthkey.pem
    25/01/2012 2:22:14 PM org.exoplatform.portal.gadget.core.ExoOAuthModule$ExoOAuthStoreProvider loadDefaultKey
    WARNING: Couldn't load key file oauthkey.pem
    25/01/2012 2:22:14 PM org.exoplatform.portal.gadget.core.ExoOAuthModule$ExoOAuthStoreProvider loadDefaultKey
    WARNING: Couldn't load OAuth signing key.  To create a key, run:
      openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem \
         -out testkey.pem -subj '/CN=mytestkey'
      openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform PEM

    Then edit gadgets.properties and add these lines:
    gadgets.signingKeyFile=<path-to-oauthkey.pem>

    25/01/2012 2:22:14 PM org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterProvider <init>
    INFO: Using random key for OAuth client-side state encryption
    25/01/2012 2:22:14 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive gatein-sample-skin.war
    25/01/2012 2:22:15 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:22:15 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive gwtGadgets.war
    25/01/2012 2:22:15 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive web.war
    25/01/2012 2:22:16 PM org.exoplatform.portal.application.ResourceRequestFilter afterInit
    INFO: Cache eXo Resource at client: true
    25/01/2012 2:22:16 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory ROOT
    25/01/2012 2:22:17 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    25/01/2012 2:22:17 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    25/01/2012 2:22:17 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/62  config=null
    25/01/2012 2:22:17 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 23809 ms

     

    Any idea what could be the problem.

     

    Thanks in advance for the help.

     

    Rick