Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

jetspeed-database
This module carries SQL scripts for different DBs. These SQL scripts are used to create DB tables and initialize them.

...

jetspeed-tomcat
This is a configuration for Jetspeed portal application on Tomcat web container.
It carries -
a) db-page-manager.xml, interceptor.xml and request-context.xml that will be needed to seed some tables.
b) geronimo-datasource.xml which will be used by Spring to seed the tables.
c) j2-seed.xml which provide data for seeding the tables.
It invokes the JetspeedSerializerGBean from the above module which uses a bunch of other xmls in the web-inf/assembly directory of the jetspeed application to seed the tables.

Code Block

10:01:47,367 INFO  [LocalAttributeManager] Added gbeans for module: org.apache.geronimo.configs/jetspeed-tomcat/2.1-SNAPSHOT/car load: true
APP ROOT is C:\Apache\geronimo-tomcat6-javaee5-2.1-SNAPSHOT\repository\org\apache\geronimo\configs\jetspeed-tomcat\2.1-SNAPSHOT\jetspeed-tomcat-2.1-SNAPSHOT.car
starter framework created org.apache.jetspeed.components.jndi.SpringJNDIStarter@1149771
10:01:51,013 INFO  [TyrexJNDIComponent] JNDI successfully initiallized
10:01:51,033 INFO  [DBCPDatasourceComponent] Setting up data source pooling for org.apache.derby.jdbc.EmbeddedDriver
10:01:51,033 INFO  [DBCPDatasourceComponent] Max active connnections set to: 20
10:01:51,033 INFO  [DBCPDatasourceComponent] Pool is set to "2" when all connections are exhausted.
10:01:51,033 INFO  [DBCPDatasourceComponent] Attempting to start DBCPCDatasourceComponent.
10:01:51,073 INFO  [DBCPDatasourceComponent] DBCPCDatasourceComponent successfuly started!
10:01:51,313 INFO  [FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@10c9d49: display name [org.springframework.context.support.FileSystemXmlApplicationContext@10c9d49]; startup date [Tue Dec 11 10:01:51 EST 2007]; root of context hierarchy
10:01:51,664 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/boot/geronimo-datasource.xml]
10:01:52,935 INFO  [FileSystemXmlApplicationContext] Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@10c9d49]: org.springframework.beans.factory.support.DefaultListableBeanFactory@6d05ee
10:01:53,026 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6d05ee: defining beans [ojbConfigurer,PlatformConfigurator,JetspeedDS]; root of factory hierarchy
##### platform = Hsqldb
10:01:54,558 INFO  [FileSystemXmlApplicationContext] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@b549af: display name [org.springframework.context.support.FileSystemXmlApplicationContext@b549af]; startup date [Tue Dec 11 10:01:54 EST 2007]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@10c9d49
10:01:54,568 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/cache.xml]
10:01:54,658 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/capabilities.xml]
10:01:54,728 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/db-page-manager.xml]
10:01:54,808 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/interceptors.xml]
10:01:54,868 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/prefs.xml]
10:01:54,928 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/profiler.xml]
10:01:55,018 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/registry.xml]
10:01:55,089 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/request-context.xml]
10:01:55,149 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-atn.xml]
10:01:55,209 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-atz.xml]
10:01:55,269 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-managers.xml]
10:01:55,339 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-providers.xml]
10:01:55,429 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-spi-atn.xml]
10:01:55,499 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-spi-atz.xml]
10:01:55,569 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/security-spi.xml]
10:01:55,629 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from URL [file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/assembly/transaction.xml]
10:01:55,709 INFO  [FileSystemXmlApplicationContext] Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@b549af]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1247834
10:01:56,370 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1247834: defining beans [cacheManager,ehPortletContentCache,ContentCacheKeyGenerator,portletContentCache,ehDecorationContentCache,decorationContentCache,ehPreferencesCache,preferencesCache,ehPortletApplicationOidCache,ehPortletApplicationNameCache,ehDesktopContentCache,portletApplicationOidCache,portletApplicationNameCache,desktopContentCache,ehPortletDefinitionOidCache,ehPortletDefinitionNameCache,portletDefinitionOidCache,portletDefinitionNameCache,ehActiveAuthenticationCache,activeAuthenticationCache,capabilitiesImpl,org.apache.jetspeed.capabilities.Capabilities,Client,MediaType,MimeType,Capability,org.apache.jetspeed.page.PageManagerImpl,org.apache.jetspeed.page.PageManager,injectPageManagerProxy,org.apache.jetspeed.portalsite.PortalSite,pageManagerInterceptor,PageManagerTransactionProxy,PreferencesProviderImpl,org.apache.jetspeed.prefs.PreferencesProvider,java.util.prefs.PreferencesFactory,profilerImpl,org.apache.jetspeed.profiler.Profiler,ProfileResolvers,StandardResolver,SessionResolver,RequestSessionResolver,PathResolver,PathSessionResolver,HardCodedResolver,UserCriterionResolver,RoleCriterionResolver,RoleComboCriterionResolver,GroupCriterionResolver,MediatypeCriterionResolver,LanguageCriterionResolver,CountryCriterionResolver,GroupRoleUserCriterionResolver,UserAttributeResolver,NavigationCriterionResolver,UserAgentCriterionResolver,IPCriterionResolver,HostnameCriterionResolver,DomainCriterionResolver,StandardProfilingRule,RoleFallbackProfilingRule,ProfileLocator,PrincipalRule,RuleCriterion,portletFactory,portletRegistryImpl,org.apache.jetspeed.components.portletregistry.PortletRegistry,portletEntityAccessImpl,org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent,injectEntityAccessProxy,org.apache.jetspeed.request.RequestContextComponent,org.apache.jetspeed.userinfo.UserInfoManager,org.apache.jetspeed.security.LoginModuleProxy,org.apache.jetspeed.security.impl.RdbmsPolicy,org.apache.jetspeed.security.UserManager,org.apache.jetspeed.security.GroupManager,org.apache.jetspeed.security.RoleManager,org.apache.jetspeed.security.impl.PermissionManagerImpl,org.apache.jetspeed.security.PermissionManager,org.apache.jetspeed.security.AuthenticationProvider,org.apache.jetspeed.security.AuthenticationProviderProxy,org.apache.jetspeed.security.SecurityProvider,org.apache.jetspeed.security.AuthorizationProvider,org.apache.jetspeed.security.spi.CredentialPasswordValidator,org.apache.jetspeed.security.spi.CredentialPasswordEncoder,org.apache.jetspeed.security.spi.PasswordCredentialProvider,org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor,org.apache.jetspeed.security.spi.CredentialHandler,org.apache.jetspeed.security.spi.UserSecurityHandlerImpl,org.apache.jetspeed.security.spi.UserSecurityHandler,org.apache.jetspeed.security.spi.RoleSecurityHandler,org.apache.jetspeed.security.spi.GroupSecurityHandler,org.apache.jetspeed.security.spi.SecurityMappingHandler,org.apache.jetspeed.security.spi.impl.SecurityAccessImpl,org.apache.jetspeed.security.spi.SecurityAccess,transactionManager,baseTransactionProxy]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@6d05ee
10:01:56,380 INFO  [EhCacheManagerFactoryBean] Initializing EHCache CacheManager
10:01:56,881 INFO  [JetspeedCapabilities] Merging OJB respository jar:file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/lib/jetspeed-capability-2.1.3-dev.jar!/JETSPEED-INF/ojb/capabilities_repository.xml for DAO class org.apache.jetspeed.capabilities.impl.JetspeedCapabilities
10:01:57,833 INFO  [DatabasePageManager] Merging OJB respository jar:file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/lib/jetspeed-page-manager-2.1.3-dev.jar!/JETSPEED-INF/ojb/page-manager-repository.xml for DAO class org.apache.jetspeed.page.impl.DatabasePageManager
10:01:58,794 INFO  [PersistenceBrokerPreferencesProvider] Merging OJB respository jar:file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/lib/jetspeed-prefs-2.1.3-dev.jar!/JETSPEED-INF/ojb/prefs_repository.xml for DAO class org.apache.jetspeed.prefs.impl.PersistenceBrokerPreferencesProvider
10:02:00,516 INFO  [JetspeedProfilerImpl] Merging OJB respository jar:file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/lib/jetspeed-profiler-2.1.3-dev.jar!/JETSPEED-INF/ojb/profiler_repository.xml for DAO class org.apache.jetspeed.profiler.impl.JetspeedProfilerImpl
10:02:00,757 INFO  [PersistenceBrokerPortletRegistry] Merging OJB respository jar:file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/lib/jetspeed-registry-2.1.3-dev.jar!/JETSPEED-INF/ojb/registry_repository.xml for DAO class org.apache.jetspeed.components.portletregistry.PersistenceBrokerPortletRegistry
10:02:01,127 INFO  [SecurityAccessImpl] Merging OJB respository jar:file:/C:/Apache/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/repository/org/apache/geronimo/configs/jetspeed-tomcat/2.1-SNAPSHOT/jetspeed-tomcat-2.1-SNAPSHOT.car/WEB-INF/lib/jetspeed-security-2.1.3-dev.jar!/JETSPEED-INF/ojb/security_repository.xml for DAO class org.apache.jetspeed.security.spi.impl.SecurityAccessImpl
starter framework established org.apache.jetspeed.components.jndi.SpringJNDIStarter@1149771
processing import  C:\Apache\geronimo-tomcat6-javaee5-2.1-SNAPSHOT\repository\org\apache\geronimo\configs\jetspeed-tomcat\2.1-SNAPSHOT\jetspeed-tomcat-2.1-SNAPSHOT.car\WEB-INF\j2-seed.xml
org.apache.jetspeed.serializer.objects.JSSeedData created
JSSeedData Class created

During the process-resources phase of building this configuration, the j2-layouts.jar is dropped in the jetspeed app's web-inf/deploy dir. Once the portal app starts running, it deploys the layouts appropriately.

...

However, accessing the portal app at http://localhost:8080/portal returns a 500 error because the portal loads web-inf/pages/default-pages.psml. This contains fragments from j2-layouts and j2-admin portlet apps. The portal app cannot recognize portlet apps under it.

...