portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evi (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-623) J2 deployment error HTTP Status 500
Date Sat, 09 Dec 2006 21:01:21 GMT
J2 deployment error HTTP Status 500
-----------------------------------

                 Key: JS2-623
                 URL: http://issues.apache.org/jira/browse/JS2-623
             Project: Jetspeed 2
          Issue Type: Improvement
          Components: Deployment
         Environment: Tomcat 5.5.20, Windows XP Professional 
            Reporter: Evi


Hi!

I installed and deployed J2 on Tomcat 5.5.20 with Maven Plugin and default hsqldb database.
Build was successful and Tomcat Manager has both Jetspeed and Testportal running. But when
trying to enter the portal, I get the HTTP Status 500 error, I copied the Exception report
on below.  

I also looked jetspeed.log file that shows several errors:

2006-12-08 18:12:48,109 [http-8080-Processor24] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testportal].
[jsp] - Servlet.service() for servlet jsp threw exception
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
	at
org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:149)....
.

...... at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'JetspeedDS' defined in ServletContext resource
[/WEB-INF/assembly/boot/datasource.xml]: Initialization of bean failed; nested exception is
org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from the given
datasource
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:356)

Velocity.log

2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - VelocityViewServlet: Custom Properties
File: /WEB-INF/velocity.properties
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - **************************************************************
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - Starting Jakarta Velocity v1.4
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - RuntimeInstance initializing.
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - Default ResourceManager initializing.
(class org.apache.velocity.runtime.resource.ResourceManagerImpl)
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - Resource Loader Instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - FileResourceLoader : initialization starting.
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - FileResourceLoader : adding path '.'
2006-12-09 11:59:58,492 [Thread-1] INFO  velocity - FileResourceLoader : initialization complete.
2006-12-09 11:59:58,507 [Thread-1] INFO  velocity - ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
2006-12-09 11:59:58,507 [Thread-1] INFO  velocity - Default ResourceManager initialization
complete.
2006-12-09 11:59:58,507 [Thread-1] INFO  velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Literal
2006-12-09 11:59:58,507 [Thread-1] INFO  velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Macro
2006-12-09 11:59:58,507 [Thread-1] INFO  velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Parse
2006-12-09 11:59:58,523 [Thread-1] INFO  velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Include
2006-12-09 11:59:58,523 [Thread-1] INFO  velocity - Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
2006-12-09 11:59:58,742 [Thread-1] INFO  velocity - Created: 20 parsers.
2006-12-09 11:59:58,757 [Thread-1] INFO  velocity - Velocimacro : initialization starting.
2006-12-09 11:59:58,757 [Thread-1] INFO  velocity - Velocimacro : adding VMs from VM library
template : /WEB-INF/jetspeed_macros.vm
2006-12-09 11:59:58,773 [Thread-1] ERROR velocity - ResourceManager : unable to find resource
'/WEB-INF/jetspeed_macros.vm' in any resource loader.
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : error using  VM library
template /WEB-INF/jetspeed_macros.vm : org.apache.velocity.exception.ResourceNotFoundException:
Unable to find resource '/WEB-INF/jetspeed_macros.vm'
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro :  VM library template macro
registration complete.
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : allowInline = true : VMs
can be defined inline in templates
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : allowInlineToOverride =
true : VMs defined inline may replace previous VM definitions
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : allowInlineLocal = false
: VMs defined inline will be  global in scope if allowed.
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : messages on  : VM system
will output logging messages
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : autoload on  : VM system
will automatically reload global library macros
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocimacro : initialization complete.
2006-12-09 11:59:58,773 [Thread-1] INFO  velocity - Velocity successfully started.
2006-12-09 11:59:58,820 [Thread-1] INFO  velocity - ServletToolboxManager: Using config file
'/WEB-INF/toolbox.xml'
2006-12-09 11:59:58,992 [Thread-1] WARN  velocity - ServletToolboxManager: Unknown scope 'null'
- toolLoader will be request scoped.
2006-12-09 11:59:59,023 [Thread-1] INFO  velocity - ServletToolboxManager: Toolbox setup complete.
2006-12-09 11:59:59,023 [Thread-1] INFO  velocity - VelocityViewServlet: Default content-type
is: text/html

Ctalina.log

Dec 9, 2006 11:59:37 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments
was not found on the java.library.path: C:\Tomcat\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Dec 9, 2006 11:59:37 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080 Dec 9, 2006 11:59:37 AM org.apache.catalina.startup.Catalina
load
INFO: Initialization processed in 1015 ms Dec 9, 2006 11:59:37 AM org.apache.catalina.core.StandardService
start
INFO: Starting service Catalina
Dec 9, 2006 11:59:37 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20 Dec 9, 2006 11:59:37 AM org.apache.catalina.core.StandardHost
start
INFO: XML validation disabled
Dec 9, 2006 11:59:42 AM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase C:\Tomcat\webapps\myportal inside the host appBase has been specified,
and will be ignored Dec 9, 2006 11:59:42 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false Dec 9, 2006 11:59:45 AM org.apache.catalina.startup.ContextConfig
validateSecurityRoles
INFO: WARNING: Security role name admin used in an <auth-constraint> without being defined
in a <security-role> Dec 9, 2006 11:59:53 AM org.apache.catalina.startup.HostConfig
deployDescriptor
WARNING: A docBase C:\Tomcat\webapps\testportal inside the host appBase has been specified,
and will be ignored Dec 9, 2006 11:59:53 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false Dec 9, 2006 11:59:55 AM org.apache.catalina.startup.ContextConfig
validateSecurityRoles
INFO: WARNING: Security role name admin used in an <auth-constraint> without being defined
in a <security-role> Dec 9, 2006 11:59:59 AM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080 Dec 9, 2006 12:00:00 PM org.apache.jk.common.ChannelSocket
init
INFO: JK: ajp13 listening on /0.0.0.0:8009 Dec 9, 2006 12:00:00 PM org.apache.jk.server.JkMain
start
INFO: Jk running ID=0 time=0/203  config=null Dec 9, 2006 12:00:00 PM org.apache.catalina.storeconfig.StoreLoader
load
INFO: Find registry server-registry.xml at classpath resource Dec 9, 2006 12:00:00 PM org.apache.catalina.startup.Catalina
start
INFO: Server startup in 23344 ms

Jetspeed.log

2006-12-09 11:59:56,038 [Thread-1] INFO  org.apache.jetspeed.engine.JetspeedEngine - Configured
log4j from C:\Tomcat\webapps\testportal\WEB-INF/conf/Log4j.properties
2006-12-09 11:59:56,038 [Thread-1] INFO  org.apache.jetspeed.engine.JetspeedEngine - Starting
Jetspeed Engine (org.apache.jetspeed.engine.JetspeedEngine) at 12/9/06 11:59 AM
2006-12-09 11:59:56,226 [Thread-1] INFO  org.springframework.web.context.support.ServletContextResourcePatternResolver
- Resolved location pattern [/WEB-INF/assembly/boot/*.xml] to resources [ServletContext resource
[/WEB-INF/assembly/boot/datasource.xml]]
2006-12-09 11:59:56,226 [Thread-1] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]
2006-12-09 11:59:56,929 [Thread-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=17743384]:
org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [JetspeedDS];
root of BeanFactory hierarchy
2006-12-09 11:59:56,960 [Thread-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- 1 beans defined in application context [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=17743384]
2006-12-09 11:59:56,976 [Thread-1] INFO  org.springframework.core.CollectionFactory - Using
JDK 1.4 collections
2006-12-09 11:59:56,992 [Thread-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@153b2cb]
2006-12-09 11:59:56,992 [Thread-1] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default [org.springframework.context.event.SimpleApplicationEventMulticaster@1ff2e1b]
2006-12-09 11:59:57,007 [Thread-1] INFO  org.springframework.ui.context.support.UiApplicationContextUtils
- No ThemeSource found for [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=17743384]:
using ResourceBundleThemeSource
2006-12-09 11:59:57,007 [Thread-1] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory
- Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [JetspeedDS]; root of BeanFactory hierarchy]
2006-12-09 11:59:57,007 [Thread-1] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory
- Creating shared instance of singleton bean 'JetspeedDS'
2006-12-09 11:59:58,242 [Thread-1] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory
- Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [JetspeedDS]; root of BeanFactory hierarchy}
2006-12-09 11:59:58,242 [Thread-1] ERROR org.apache.jetspeed.engine.JetspeedEngine - org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Could not get the metadata from the given datasource
2006-12-09 11:59:58,242 [Thread-1] INFO  org.apache.jetspeed.engine.JetspeedEngine - Finished
starting Jetspeed Engine (org.apache.jetspeed.engine.JetspeedEngine) at 12/9/06 11:59 AM.
 Elapsed time: 2 seconds.
2006-12-09 11:59:58,257 [Thread-1] FATAL org.apache.jetspeed.engine.JetspeedServlet - Jetspeed:
init() failed: 
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:149)
	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:147)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Could not get the metadata from the given datasource
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:356)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206)
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)
	... 27 more
Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from
the given datasource
	at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:277)
	at org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:283)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
	... 35 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
	at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261)
	... 38 more
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
	... 40 more
2006-12-09 11:59:58,257 [Thread-1] INFO  org.apache.jetspeed.engine.JetspeedServlet - Jetspeed
Initialization complete, Ready to service requests.
2006-12-09 11:59:59,023 [Thread-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testportal]
- StandardWrapper.Throwable
java.lang.IllegalStateException: BeanFactory not initialized - call 'refresh' before accessing
beans via the context: org.springframework.web.context.support.XmlWebApplicationContext: display
name [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=11265620];
startup date [Thu Jan 01 02:00:00 EET 1970]; child of [org.springframework.web.context.support.XmlWebApplicationContext:
display name [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=17743384];
startup date [Sat Dec 09 11:59:56 EET 2006]; root of context hierarchy; config locations [/WEB-INF/assembly/boot/*.xml]];
config locations [/WEB-INF/assembly/*.xml]
	at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:101)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:504)
	at org.apache.jetspeed.components.SpringComponentManager.getComponent(SpringComponentManager.java:110)
	at org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.init(JetspeedVelocityViewServlet.java:155)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2006-12-09 11:59:59,023 [Thread-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testportal]
- Servlet /testportal threw load() exception
java.lang.IllegalStateException: BeanFactory not initialized - call 'refresh' before accessing
beans via the context: org.springframework.web.context.support.XmlWebApplicationContext: display
name [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=11265620];
startup date [Thu Jan 01 02:00:00 EET 1970]; child of [org.springframework.web.context.support.XmlWebApplicationContext:
display name [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=17743384];
startup date [Sat Dec 09 11:59:56 EET 2006]; root of context hierarchy; config locations [/WEB-INF/assembly/boot/*.xml]];
config locations [/WEB-INF/assembly/*.xml]
	at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:101)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:504)
	at org.apache.jetspeed.components.SpringComponentManager.getComponent(SpringComponentManager.java:110)
	at org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.init(JetspeedVelocityViewServlet.java:155)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2006-12-09 12:00:14,476 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testportal].[jetspeed]
- Servlet.service() for servlet jetspeed threw exception
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:149)
	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:147)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Could not get the metadata from the given datasource
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:356)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206)
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)
	... 27 more
Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from
the given datasource
	at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:277)
	at org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:283)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
	... 35 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
	at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261)
	... 38 more
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
	... 40 more
2006-12-09 12:00:14,476 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testportal].[jsp]
- Servlet.service() for servlet jsp threw exception
org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:149)
	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:147)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Could not get the metadata from the given datasource
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:356)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206)
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)
	... 27 more
Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from
the given datasource
	at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:277)
	at org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:283)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
	... 35 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
	at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
	at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261)
	... 38 more
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
	... 40 more


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message