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 VJ Thinker <vj...@yahoo.com> on 2007/02/17 03:14:34 UTC
Help with first time build and deploy of JetSpeed2
Hi All,
After compiling and deploying JetSpeed2 portal for the first time within our environment we get the following error on the browser when we try to access it:
Failed to retrieve Portlet Definition for jetspeed-layouts::VelocityTwoColumns
The last few lines of velocity.log on the server look good:
...
2007-02-16 17:43:17,962 [main] INFO velocity - Velocimacro : initialization complete.
2007-02-16 17:43:17,962 [main] INFO velocity - Velocity successfully started.
2007-02-16 17:43:18,036 [main] INFO velocity - VelocityViewServlet: Default content-type is: text/html
However, the jetspeed.log file shows the following log fragment:
...
2007-02-16 18:09:25,094 [http-8080-Processor23] INFO org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl - No portlet entity defined for fragment ID min-dp attempting to auto-generate...
2007-02-16 18:09:25,095 [http-8080-Processor23] WARN org.apache.jetspeed.components.portletentity.PersistenceBrokerPortletEntityAccess - Failed to retrieve Portlet Definition for jetspeed-layouts::VelocityTwoColumns
2007-02-16 18:09:25,097 [http-8080-Processor23] ERROR org.apache.jetspeed.aggregator.impl.PortletRendererImpl - java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.getExpirationCache(PortletRendererImpl.java:244)
at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:195)
We compiled and deployed the JetSpeed-dev 2.1 using Maven 2 (had to make a change to workspace/jetspeed-2/components/cm/pom.xml to include a reference to oro package).
Any help to resolve this issue, really appreciated. Best regards,
Vijay
---------------------------------
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
Re: Help with first time build and deploy of JetSpeed2
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Feb 16, 2007, at 6:14 PM, VJ Thinker wrote:
> Hi All,
>
> After compiling and deploying JetSpeed2 portal for the first
> time within our environment we get the following error on the
> browser when we try to access it:
>
> Failed to retrieve Portlet Definition for jetspeed-
> layouts::VelocityTwoColumns
>
> The last few lines of velocity.log on the server look good:
> ...
> 2007-02-16 17:43:17,962 [main] INFO velocity - Velocimacro :
> initialization complete.
> 2007-02-16 17:43:17,962 [main] INFO velocity - Velocity
> successfully started.
> 2007-02-16 17:43:18,036 [main] INFO velocity -
> VelocityViewServlet: Default content-type is: text/html
>
> However, the jetspeed.log file shows the following log fragment:
> ...
> 2007-02-16 18:09:25,094 [http-8080-Processor23] INFO
> org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl
> - No portlet entity defined for fragment ID min-dp attempting to
> auto-generate...
> 2007-02-16 18:09:25,095 [http-8080-Processor23] WARN
> org.apache.jetspeed.components.portletentity.PersistenceBrokerPortletE
> ntityAccess - Failed to retrieve Portlet Definition for jetspeed-
> layouts::VelocityTwoColumns
> 2007-02-16 18:09:25,097 [http-8080-Processor23] ERROR
> org.apache.jetspeed.aggregator.impl.PortletRendererImpl -
> java.lang.NullPointerException
> java.lang.NullPointerException
> at
> org.apache.jetspeed.aggregator.impl.PortletRendererImpl.getExpirationC
> ache(PortletRendererImpl.java:244)
> at
> org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow
> (PortletRendererImpl.java:195)
>
> We compiled and deployed the JetSpeed-dev 2.1 using Maven 2
> (had to make a change to workspace/jetspeed-2/components/cm/pom.xml
> to include a reference to oro package).
>
Im not sure why the PA would be null, but I added a check for a null
PA, just checked in
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Help with first time build and deploy of JetSpeed2
Posted by Elif Guner <el...@gmail.com>.
Hi Vijay,
I came across that a few times and I remember it having to do with one
of the jar files missing in tomcat lib directory. Either velocity jar
file has to be in your TOMCAT_HOME/common/endorsed or shared/lib...
Sorry for being vague, that's all I can remember...
Elif
On 2/16/07, VJ Thinker <vj...@yahoo.com> wrote:
> Hi All,
>
> After compiling and deploying JetSpeed2 portal for the first time within our environment we get the following error on the browser when we try to access it:
>
> Failed to retrieve Portlet Definition for jetspeed-layouts::VelocityTwoColumns
>
> The last few lines of velocity.log on the server look good:
> ...
> 2007-02-16 17:43:17,962 [main] INFO velocity - Velocimacro : initialization complete.
> 2007-02-16 17:43:17,962 [main] INFO velocity - Velocity successfully started.
> 2007-02-16 17:43:18,036 [main] INFO velocity - VelocityViewServlet: Default content-type is: text/html
>
> However, the jetspeed.log file shows the following log fragment:
> ...
> 2007-02-16 18:09:25,094 [http-8080-Processor23] INFO org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl - No portlet entity defined for fragment ID min-dp attempting to auto-generate...
> 2007-02-16 18:09:25,095 [http-8080-Processor23] WARN org.apache.jetspeed.components.portletentity.PersistenceBrokerPortletEntityAccess - Failed to retrieve Portlet Definition for jetspeed-layouts::VelocityTwoColumns
> 2007-02-16 18:09:25,097 [http-8080-Processor23] ERROR org.apache.jetspeed.aggregator.impl.PortletRendererImpl - java.lang.NullPointerException
> java.lang.NullPointerException
> at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.getExpirationCache(PortletRendererImpl.java:244)
> at org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(PortletRendererImpl.java:195)
>
> We compiled and deployed the JetSpeed-dev 2.1 using Maven 2 (had to make a change to workspace/jetspeed-2/components/cm/pom.xml to include a reference to oro package).
>
> Any help to resolve this issue, really appreciated. Best regards,
>
> Vijay
>
>
>
> ---------------------------------
> No need to miss a message. Get email on-the-go
> with Yahoo! Mail for Mobile. Get started.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org