portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mark Donaghy <philip.dona...@gmail.com>
Subject Re: OJB warnings and Pluto errors at runtime
Date Tue, 22 Nov 2005 16:14:24 GMT
David, something happened between revision 348039 and 348128. I
managed to get 348039 running.

Philip

On 11/22/05, Philip Mark Donaghy <philip.donaghy@gmail.com> wrote:
> I am having some trouble with the latest source code. Compiling now
> requires an updated Bridges code base. Check ;). But when I run there
> are several warnings. The first
>
> [BOOT] WARN: Could not load properties file 'OJB.properties'. Using
> default settings!
> /home/opensource/soft/source/philipmark/opensource/bin/apache-tomcat-5.5.12/bin/OJB.properties
> (No such file or directory)
>
> If I put that file here I get the Pluto error:
>
>  WARN: org.apache.pluto.PortletContainerImpl#init(): Couldn't retrieve
> parameter "portletcontainer.supportsBuffering" frompassed properties
> object. Fallingback to default value "FALSE"
> java.lang.NullPointerException
> ...
> FATAL: Jetspeed: init() failed:
> ...
> Caused by: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'java.util.prefs.PreferencesFactory'.
> Initialization of bean failed; nested exception is
> org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
> prefs api.  java.lang.NullPointerException
>
> I am using Tomcat 5.5.12 and JDK 1.5 on Suse Linux 9.2. The Tomcat log follows,
>
> Using CATALINA_BASE:
> /home/opensource/soft/source/philipmark/opensource/bin/apache-tomcat-5.5.12
> Using CATALINA_HOME:
> /home/opensource/soft/source/philipmark/opensource/bin/apache-tomcat-5.5.12
> Using CATALINA_TMPDIR:
> /home/opensource/soft/source/philipmark/opensource/bin/apache-tomcat-5.5.12/temp
> Using JRE_HOME:       /usr/local/java/jre
> Nov 22, 2005 3:47:42 PM org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Portable Runtime which allows optimal performance in
> production environments was not found on the java.library.path:
> /usr/local/jdk1.5.0_04/jre/lib/i386/client:/usr/local/jdk1.5.0_04/jre/lib/i386:/usr/local/jdk1.5.0_04/jre/../lib/i386:/home/phil/soft/bin/ArcExplorerJava9.1/aej91exe/lib
> Nov 22, 2005 3:47:42 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Nov 22, 2005 3:47:42 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1024 ms
> Nov 22, 2005 3:47:43 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Nov 22, 2005 3:47:43 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
> Nov 22, 2005 3:47:43 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Nov 22, 2005 3:47:43 PM org.apache.catalina.startup.HostConfig deployDescriptor
> WARNING: A docBase
> /home/opensource/soft/source/philipmark/opensource/bin/apache-tomcat-5.5.12/webapps/jetspeed
> inside the host appBase has been specified,and will be ignored
> Nov 22, 2005 3:47:43 PM org.apache.catalina.realm.JAASRealm
> setUseContextClassLoader
> INFO: Setting useContextClassLoader = false
> Nov 22, 2005 3:47:44 PM org.apache.catalina.startup.ContextConfig
> validateSecurityRoles
> INFO: WARNING: Security role name admin used in an <auth-constraint>
> without being defined in a <security-role>
> log4j:WARN No appenders could be found for logger
> (org.apache.catalina.session.ManagerBase).
> log4j:WARN Please initialize the log4j system properly.
>  WARN: org.apache.pluto.PortletContainerImpl#init(): Couldn't retrieve
> parameter "portletcontainer.supportsBuffering" frompassed properties
> object. Fallingback to default value "FALSE"
> java.lang.NullPointerException
>         at org.apache.ojb.broker.util.BrokerHelper.crossCheckPBKey(BrokerHelper.java:128)
>         at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPersistenceBroker(PersistenceBrokerFactoryDefaultImpl.java:92)
>         at org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(PersistenceBrokerFactory.java:86)
>         at org.springframework.orm.ojb.OjbFactoryUtils.getPersistenceBroker(OjbFactoryUtils.java:106)
>         at org.springframework.orm.ojb.PersistenceBrokerTransactionManager.getPersistenceBroker(PersistenceBrokerTransactionManager.java:150)
>         at org.springframework.orm.ojb.PersistenceBrokerTransactionManager.doBegin(PersistenceBrokerTransactionManager.java:189)
>         at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:289)
>         at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:202)
>         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
>         at $Proxy7.createNode(Unknown Source)
>         at org.apache.jetspeed.prefs.impl.PreferencesImpl.<init>(PreferencesImpl.java:96)
>         at org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:64)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1076)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
>         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:217)
>         at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)
>         at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:147)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
>         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:603)
>         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:1118)
>         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:1020)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>         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:680)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'java.util.prefs.PreferencesFactory' defined
> in ServletContext resource [/WEB-INF/assembly/prefs.xml]:
> Initialization of bean failed; nested exception is
> org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
> prefs api.  java.lang.NullPointerException
> org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
> prefs api.  java.lang.NullPointerException
>         at org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:70)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1076)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
>         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:217)
>         at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)
>         at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:147)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
>         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:603)
>         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:1118)
>         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:1020)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>         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:680)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> FATAL: 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:1091)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
>         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:603)
>         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:1118)
>         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:1020)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
>         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:680)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'java.util.prefs.PreferencesFactory'
> defined in ServletContext resource [/WEB-INF/assembly/prefs.xml]:
> Initialization of bean failed; nested exception is
> org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
> prefs api.  java.lang.NullPointerException
>         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:217)
>         at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)
>         ... 27 more
> Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to
> initialize prefs api.  java.lang.NullPointerException
>         at org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:70)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1106)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1076)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
>         ... 35 more
>  INFO: Jetspeed Initialization complete, Ready to service requests.
> Nov 22, 2005 3:47:50 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Nov 22, 2005 3:47:50 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Nov 22, 2005 3:47:50 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/27  config=null
> Nov 22, 2005 3:47:50 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Nov 22, 2005 3:47:50 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7815 ms
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>


--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
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