You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Bhardwaj, Ashutosh" <As...@fmr.com> on 2006/05/19 12:21:17 UTC
Portlet entity issue
I am trying to deploy j2-admin and demo projects to WAS 5.1 and oracle.
I am getting errors and messages like :
1.
[5/19/06 15:12:36:546 IST] 60bfc3fc PortletWindow I
org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl No
portlet entity defined for fragment ID dp-3 attempting to
auto-generate...
[5/19/06 15:12:36:562 IST] 60bfc3fc PersistenceBr W
org.apache.jetspeed.components.portletentity.PersistenceBrokerPortletEnt
ityAccess Failed to retrieve Portlet Definition for
j2-admin::LocaleSelector
[5/19/06 15:12:36:578 IST] 60bfc3fc DecorationVal W
org.apache.jetspeed.decoration.DecorationValve Unable to initalize
actions for fragment dp-3
2.
[5/19/06 15:12:37:031 IST] 60bfc3fc PortletRender E
org.apache.jetspeed.aggregator.impl.PortletRendererImpl TRAS0014I: The
following exception was logged java.lang.IllegalArgumentException:
Cannot pass a null PortletDefinition to a PortletEntity.
at
org.apache.jetspeed.components.portletentity.PortletEntityImpl.setPortle
tDefinition(PortletEntityImpl.java:380)
at
org.apache.jetspeed.components.portletentity.PortletEntityImpl.getPortle
tDefinition(PortletEntityImpl.java:215)
at
org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.crea
tePortletWindow(PortletWindowAccessorI
3.
5/19/06 15:12:41:359 IST] 60bfc3fc velocity W velocity
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 45,column 41] :
${decoratorId} is not a valid reference.
[5/19/06 15:12:41:359 IST] 60bfc3fc velocity W velocity
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 27,column 43] :
${decoratorId} is not a valid reference.
[5/19/06 15:12:41:375 IST] 60bfc3fc PersistenceBr W
org.apache.jetspeed.components.portletentity.PersistenceBrokerPortletEnt
ityAccess Failed to retrieve Portlet Definition for
demo::RoleSecurityTest
[5/19/06 15:12:41:375 IST] 60bfc3fc JetspeedPower E
org.apache.jetspeed.velocity.JetspeedPowerToolImpl JetspeedPowerTool
failed to store a PortletEntity for Fragment dp-16.
org.apache.jetspeed.components.portletentity.PortletEntityNotStoredExcep
tion: java.io.IOException: Failed to store portlet
entity:org.springframework.dao.DataIntegrityViolationException: (OJB
operation): data integrity violated by SQL ''; nested exception is
java.sql.SQLException: ORA-01400: cannot insert NULL into
("A375278"."PORTLET_ENTITY"."APP_NAME")
[5/19/06 15:12:41:468 IST] 60bfc3fc JetspeedPower E
org.apache.jetspeed.velocity.JetspeedPowerToolImpl TRAS0014I: The
following exception was logged
org.apache.jetspeed.components.portletentity.PortletEntityNotStoredExcep
tion: java.io.IOException: Failed to store portlet
entity:org.springframework.dao.DataIntegrityViolationException: (OJB
operation): data integrity violated by SQL ''; nested exception is
java.sql.SQLException: ORA-01400: cannot insert NULL into
("A375278"."PORTLET_ENTITY"."APP_NAME")
at
org.apache.jetspeed.components.portletentity.PersistenceBrokerPortletEnt
ityAccess.storePortletEntity(PersistenceBrokerPortletEntityAccess.java:3
26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(
AopUtils.java:284)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoin
All of them seem to be related to portlet_entity. How can ORA-01400 be
fixed.
rgds,
ashutosh