7 Replies Latest reply on Mar 18, 2010 11:12 AM by Shannon Lal

    Installing GateIn with Tomcat

    Shannon Lal Newbie

      I am new to GateIn and we are in the process evaluating the product to see if it will work with our product.  I have downloaded the GateIn bundled with Tomcat (GA 3.0.0).  I run the command gatein.bat to bring up the server and then I access the following urls:

       

          http://localhost:8080/portal
          http://localhost:8080/portal/public/classic

       

      I don't see anything in the browser but I do see exception trace in the tomcat console.  I found the following error message in the exception in the catalina.out.

       

      Do I need to do some configuration?  Is there an install guide for GateIn?  Any help would be greatly appreciated.

       

      Thanks

       

      Shannon

       

      17-Mar-2010 3:10:42 PM org.exoplatform.portal.application.PortalSessionListener onSessionCreated
      INFO: portal' portal
      17-Mar-2010 3:10:42 PM org.exoplatform.portal.application.PortalSessionListener onSessionCreated
      SEVERE: Error while destroying a portal session
      java.lang.NullPointerException
          at org.exoplatform.portal.application.PortalSessionListener.onSessionCreated(PortalSessionListener.java:75)
          at org.exoplatform.container.web.AbstractHttpSessionListener.sessionCreated(AbstractHttpSessionListener.java:71)
          at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
          at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
          at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:827)
          at org.apache.catalina.connector.Request.doGetSession(Request.java:2324)
          at org.apache.catalina.connector.Request.getSession(Request.java:2074)
          at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
          at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
          at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:146)
          at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:124)
          at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:107)
          at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:63)
          at org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      17-Mar-2010 3:10:42 PM org.exoplatform.web.CacheUserProfileFilter doFilter
      WARNING: An error occured while cache user profile
      org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 26

       

      23: <%@ page import="org.exoplatform.portal.config.UserPortalConfigService"%>
      24: <%
      25:     PortalContainer manager = PortalContainer.getCurrentInstance(session.getServletContext()) ;
      26:   UserPortalConfigService userPortalConfigService = (UserPortalConfigService) manager.getComponentInstanceOfType(UserPortalConfigService.class) ;
      27:     response.sendRedirect(request.getContextPath() + "/public/"+userPortalConfigService.getDefaultPortal()+"/");
      28: %>
      29:

       


      Stacktrace:
          at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.portal.config.UserPortalConfigService type=org.exoplatform.portal.config.UserPortalConfigService found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.apache.jsp.index_jsp._jspService(index_jsp.java:61)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
          ... 30 more
      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.OrganizationService type=org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 38 more
      Caused by: 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/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 44 more
      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/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 50 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:207)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 56 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:134)
          ... 62 more
      17-Mar-2010 3:10:51 PM org.exoplatform.web.CacheUserProfileFilter doFilter
      WARNING: An error occured while cache user profile
      org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 26

       

      23: <%@ page import="org.exoplatform.portal.config.UserPortalConfigService"%>
      24: <%
      25:     PortalContainer manager = PortalContainer.getCurrentInstance(session.getServletContext()) ;
      26:   UserPortalConfigService userPortalConfigService = (UserPortalConfigService) manager.getComponentInstanceOfType(UserPortalConfigService.class) ;
      27:     response.sendRedirect(request.getContextPath() + "/public/"+userPortalConfigService.getDefaultPortal()+"/");
      28: %>
      29:

       


      Stacktrace:
          at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.portal.config.UserPortalConfigService type=org.exoplatform.portal.config.UserPortalConfigService found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.apache.jsp.index_jsp._jspService(index_jsp.java:61)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
          ... 30 more
      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.OrganizationService type=org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 38 more
      Caused by: 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/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 44 more
      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/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 50 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:207)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 56 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:134)
          ... 62 more
      17-Mar-2010 3:12:07 PM org.apache.coyote.http11.Http11Protocol pause
      INFO: Pausing Coyote HTTP/1.1 on http-8080
      17-Mar-2010 3:12:08 PM org.apache.catalina.core.StandardService stop
      INFO: Stopping service Catalina
      17-Mar-2010 3:12:09 PM org.apache.coyote.http11.Http11Protocol destroy
      INFO: Stopping Coyote HTTP/1.1 on http-8080
      17-Mar-2010 3:12:13 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:\Program Files\Java\jdk1.6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.6.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;c:\Program Files\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\CVSNT\
      17-Mar-2010 3:12:13 PM org.apache.coyote.http11.Http11Protocol init
      INFO: Initializing Coyote HTTP/1.1 on http-8080
      17-Mar-2010 3:12:13 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 488 ms
      17-Mar-2010 3:12:13 PM org.apache.catalina.core.StandardService start
      INFO: Starting service Catalina
      17-Mar-2010 3:12:13 PM org.apache.catalina.core.StandardEngine start
      INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
      17-Mar-2010 3:12:13 PM org.apache.catalina.startup.HostConfig deployDescriptor
      WARNING: A docBase C:\F_Drive\DevelopmentApplications\GateIn-3.0.0-GA\webapps\eXoGadgetServer inside the host appBase has been specified, and will be ignored
      17-Mar-2010 3:12:14 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named httpResponses
      17-Mar-2010 3:12:14 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named invalidatedUsers
      17-Mar-2010 3:12:14 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named messageBundles
      17-Mar-2010 3:12:14 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named gadgetSpecs
      17-Mar-2010 3:12:15 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named parsedDocuments
      17-Mar-2010 3:12:15 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named parsedFragments
      17-Mar-2010 3:12:15 PM org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider createCache
      INFO: Creating cache named expressions
      17-Mar-2010 3:12:15 PM org.apache.shindig.config.JsonContainerConfig loadContainers
      INFO: Loading resources from: containers/default/container.js
      17-Mar-2010 3:12:15 PM org.apache.shindig.config.JsonContainerConfig loadResources
      INFO: Reading container config: containers/default/container.js
      17-Mar-2010 3:12:15 PM org.apache.shindig.gadgets.JsFeatureLoader loadFeatures
      INFO: Loading resources from: features/features.txt
      17-Mar-2010 3:12:15 PM org.apache.shindig.common.xml.XmlUtil <clinit>
      INFO: Not using secure XML processing.
      17-Mar-2010 3:12:15 PM org.apache.shindig.common.xml.XmlUtil <clinit>
      INFO: Reusing document builders
      17-Mar-2010 3:12:15 PM org.apache.shindig.common.xml.XmlUtil$2 initialValue
      INFO: Created a new document builder
      17-Mar-2010 3:12:15 PM org.apache.shindig.gadgets.JsLibrary loadResource
      WARNING: Could not find resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate resource: com/google/caja/plugin/domita-minified.opt.js
      17-Mar-2010 3:12:15 PM org.apache.shindig.gadgets.JsLibrary loadResource
      WARNING: Could not find resource: features/caja/caja.opt.js-Can not locate resource: features/caja/caja.opt.js
      17-Mar-2010 3:12:15 PM org.apache.shindig.gadgets.JsLibrary loadResource
      WARNING: Could not find resource: com/google/caja/plugin/valija.co.opt.js-Can not locate resource: com/google/caja/plugin/valija.co.opt.js
      17-Mar-2010 3:12:15 PM org.apache.shindig.gadgets.JsLibrary loadResource
      WARNING: Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can not locate resource: com/google/caja/plugin/html-sanitizer-minified.opt.js
      17-Mar-2010 3:12:15 PM org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterProvider <init>
      INFO: Using random key for OAuth client-side state encryption
      17-Mar-2010 3:12:15 PM org.apache.catalina.startup.HostConfig deployDescriptor
      WARNING: A docBase C:\F_Drive\DevelopmentApplications\GateIn-3.0.0-GA\webapps\eXoResources inside the host appBase has been specified, and will be ignored
      17-Mar-2010 3:12:16 PM org.apache.catalina.startup.HostConfig deployDescriptor
      WARNING: A docBase C:\F_Drive\DevelopmentApplications\GateIn-3.0.0-GA\webapps\portal inside the host appBase has been specified, and will be ignored
      17-Mar-2010 3:12:16 PM org.apache.catalina.session.PersistentManagerBase start
      SEVERE: No Store configured, persistence disabled
      17-Mar-2010 3:12:19 PM org.hibernate.cfg.annotations.Version <clinit>
      INFO: Hibernate Annotations 3.4.0.GA
      17-Mar-2010 3:12:19 PM org.hibernate.cfg.Environment <clinit>
      INFO: Hibernate 3.3.2.GA
      17-Mar-2010 3:12:19 PM org.hibernate.cfg.Environment <clinit>
      INFO: hibernate.properties not found
      17-Mar-2010 3:12:19 PM org.hibernate.cfg.Environment buildBytecodeProvider
      INFO: Bytecode provider name : javassist
      17-Mar-2010 3:12:19 PM org.hibernate.cfg.Environment <clinit>
      INFO: using JDK 1.4 java.sql.Timestamp handling
      17-Mar-2010 3:12:19 PM org.hibernate.annotations.common.Version <clinit>
      INFO: Hibernate Commons Annotations 3.1.0.GA
      17-Mar-2010 3:12:19 PM org.apache.catalina.startup.HostConfig deployDescriptor
      WARNING: A docBase C:\F_Drive\DevelopmentApplications\GateIn-3.0.0-GA\webapps\rest inside the host appBase has been specified, and will be ignored
      17-Mar-2010 3:12:19 PM org.apache.catalina.session.PersistentManagerBase start
      SEVERE: No Store configured, persistence disabled
      17-Mar-2010 3:12:19 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive dashboard.war
      17-Mar-2010 3:12:19 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive exoadmin.war
      17-Mar-2010 3:12:19 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive eXoGadgets.war
      17-Mar-2010 3:12:19 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive gatein-sample-skin.war
      17-Mar-2010 3:12:20 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive web.war
      17-Mar-2010 3:12:20 PM org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-8080
      17-Mar-2010 3:12:20 PM org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /0.0.0.0:8009
      17-Mar-2010 3:12:20 PM org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=0/31  config=null
      17-Mar-2010 3:12:20 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 7122 ms
      17-Mar-2010 3:16:55 PM org.exoplatform.portal.application.PortalSessionListener onSessionCreated
      INFO: portal' portal
      17-Mar-2010 3:16:55 PM org.exoplatform.portal.application.PortalSessionListener onSessionCreated
      SEVERE: Error while destroying a portal session
      java.lang.NullPointerException
          at org.exoplatform.portal.application.PortalSessionListener.onSessionCreated(PortalSessionListener.java:75)
          at org.exoplatform.container.web.AbstractHttpSessionListener.sessionCreated(AbstractHttpSessionListener.java:71)
          at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
          at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
          at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:827)
          at org.apache.catalina.connector.Request.doGetSession(Request.java:2324)
          at org.apache.catalina.connector.Request.getSession(Request.java:2074)
          at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
          at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
          at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:146)
          at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:124)
          at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:107)
          at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:63)
          at org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      17-Mar-2010 3:16:55 PM org.exoplatform.web.CacheUserProfileFilter doFilter
      WARNING: An error occured while cache user profile
      org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.portal.config.UserPortalConfigService type=org.exoplatform.portal.config.UserPortalConfigService found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
          at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
          at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.portal.config.UserPortalConfigService type=org.exoplatform.portal.config.UserPortalConfigService found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.apache.jsp.index_jsp._jspService(index_jsp.java:61)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
          ... 30 more
      Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.OrganizationService type=org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl found at jndi:/localhost/portal/WEB-INF/conf/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 38 more
      Caused by: 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/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 44 more
      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/configuration.xml
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
          at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
          at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313)
          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:134)
          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:197)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 50 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:207)
          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:84)
          ... 56 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:134)
          ... 62 more

        • 1. Re: Installing GateIn with Tomcat
          Thomas Heute Master

          Just running "gatein.bat run" or "gatein.bat start" is enough.

           

          This has been tested on various versions of Windows (including Vista and 7), which version of windows are you using ?

           

           

          Also you can try again to delete TOMCAT_HOME/gatein/data before you start if something went wrong during the initial startup

          • 2. Re: Installing GateIn with Tomcat
            Shannon Lal Newbie

            Thomas,

            Thanks for the response.  I delete the data file and re-ran it again.  I am not seeing anything on the page yet, but again I am see errors.  I found errors in the following location.

             

            As a Note, I am running Gatein using the following command:

             

            GATEIN_INSTALL\bin\gatein.bat start

             

            I have attached the error files as well.

             

            Thanks again

             

            Shannon

             

            CATALINA  (GATEIN_INSTALL\logs)

            INFO: Server startup in 6883 ms
            17-Mar-2010 4:12:09 PM org.exoplatform.portal.application.PortalSessionListener onSessionCreated
            INFO: portal' portal
            17-Mar-2010 4:12:09 PM org.exoplatform.portal.application.PortalSessionListener onSessionCreated
            SEVERE: Error while destroying a portal session
            java.lang.NullPointerException
                at org.exoplatform.portal.application.PortalSessionListener.onSessionCreated(PortalSessionListener.java:75)
                at org.exoplatform.container.web.AbstractHttpSessionListener.sessionCreated(AbstractHttpSessionListener.java:71)
                at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
                at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
                at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:827)
                at org.apache.catalina.connector.Request.doGetSession(Request.java:2324)

             

            GateIn log (GATEIN_INSTALL\gatein\logs)

             

            INFO: Adding  Hibernate Mapping: picketlink-idm/mappings/HibernateIdentityObjectRelationshipName.hbm.xml
            17-Mar-2010 4:11:59 PM org.exoplatform.container.RootContainer createPortalContainer
            SEVERE: Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@c3e967
            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/configuration.xml
                at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:113)
                at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
                at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)

            • 3. Re: Installing GateIn with Tomcat
              Shannon Lal Newbie

              I found the following post last month by some other users who are trying to run Tomcat on Windows.  Does anyone know if the GateIn 3.0.0 build works with Tomcat on Windows (i.e. I am used the Bundled GateIn/Tomcat build).  I followed through the following thread and saw that other users were experiencing the same problems.

               

               

               

              Feb 18, 2010 1:08 PM

              CR1 Tomcat does not start - configuration.properties

              Hello,

               

              Downloaded the latest CR1 for tomcat and attempted to start the portal as follows:

               

              set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_17

              cd C:\Development\GateIn-3.0.0-CR01\bin

              call gatein.bat run

               

              The following error appears:

               

              SEVERE: Cannot load property file file://C:\Development\GateIn-3.0.0-CR01/gatein/conf/configuration.properties
              java.net.UnknownHostException: C
              • 4. Re: Installing GateIn with Tomcat
                Thomas Heute Master

                The issue you mentioned has been fixed in GA.

                You probably don't have: SEVERE: Cannot load property file file://C:\Development\GateIn-3.0.0-CR01/gatein/conf/configuration.properties

                java.net.UnknownHostException: C

                as an error

                 

                Again, the Tomcat package on Windows has been tested by several users prior to the official release.

                 

                Can you try to start from the bin directory instead, see if that fixes your issue.

                • 5. Re: Installing GateIn with Tomcat
                  Shannon Lal Newbie

                  Thomas,

                  Thanks again for the response.  When you say I should start it again from the bin directory which directory do you mean.

                   

                  I have Gatein installed and I am launching it from the bin directory.

                   

                  GATEIN_INSTALL\bin\gatein.bat start

                   

                  I looked through the gatein log file and noticed the following exception:

                   

                  Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/F_Drive/DevelopmentApplications/GateIn-3.0.0-GA/lib/jaxb-impl-2.1.7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

                   

                  Is this because there is a conflict of the jar on my system?  If so, how would I go about and correct this?

                   

                  Thanks

                  Shannon

                  • 6. Re: Installing GateIn with Tomcat
                    Thomas Heute Master

                    Ah, the jaxb are included in JDK6 and also shipped for JDK5 users.

                     

                    You can try to delete the jaxb libraries from TOMCAT_HOME/lib or use the JBoss Package

                    • 7. Re: Installing GateIn with Tomcat
                      Shannon Lal Newbie

                      Thomas,

                      That seemed to solve the problem.  Thanks again for your help.

                       

                      Shannon