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 Robert Sanford <rs...@trefs.com> on 2006/07/25 23:09:14 UTC

Jetspeed not working...

I'm running with Java 5 on Windows XP Pro. I downloaded the Jetspeed
Installer and ran it. I am connected to a Microsoft SQL Server database
- all of the tables have been created by the installer so I know the
database connection was made. 

Because I already have another instance of Tomcat running on 8080 I
changed the port number to 9090.

I hit http://localhost:9090/jetspeed/portal/ and I get a basic page up
with a collection of four "placeholders" on the right side where it
appears portlets should be located. Each of those placeholders has text
within it saying "Portlet Application j2-admin not available".

When I click on the "RSS Demo" tab (there are two tabs - Welcome and RSS
Demo) there is a portlet on the right titled "Rome RSS Portlet" that is
displaying topics from an "NPR World" feed. In the middle is a portlet
that has exception text(1) within it.

After doing that brief test I go to the log files and find in
jetspeed.log the following exceptions (cut down for mailing size).
2006-07-25 16:00:33,770 [http-9090-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-3
javax.portlet.UnavailableException: Portlet Application j2-admin not
available


2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-12
javax.portlet.UnavailableException: Portlet Application j2-admin not
available


2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-22
javax.portlet.UnavailableException: Portlet Application j2-admin not
available
	at
org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(Je
tspeedPortletFactory.java:190)


In the velocity.log file there are some error lines that state...

2006-07-25 16:00:40,332 [http-9090-Processor24] ERROR velocity - RHS of
#set statement is null. Context will not be modified.
decorations/layout/tigris/header.vm [line 51, column 1]
2006-07-25 16:00:40,348 [http-9090-Processor24] ERROR velocity - RHS of
#set statement is null. Context will not be modified.
decorations/layout/tigris/header.vm [line 51, column 1]

And some velocity.log warnings...

2006-07-25 16:00:40,363 [http-9090-Processor24] WARN  velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 27,column 43] :
${decoratorId} is not a valid reference.
2006-07-25 16:00:40,379 [http-9090-Processor24] WARN  velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 45,column 41] :
${decoratorId} is not a valid reference.
2006-07-25 16:00:40,379 [http-9090-Processor24] WARN  velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 27,column 43] :
${decoratorId} is not a valid reference.
2006-07-25 16:00:40,410 [http-9090-Processor24] WARN  velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 45,column 41] :
${decoratorId} is not a valid reference.

In the localhost.log and catalina.log files there are no ERROR lines of
any sort and no exceptions of any sort.

So... I use the installer that was provided and it doesn't work...
What's up?

rjsjr


1 - Failed to load portlet
org.apache.portals.applications.rss.RSSPortlet:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transformCache' defined in resource loaded through
InputStream: Can't resolve reference to bean 'transform' while setting
property 'constructor argument with index 0'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transform' defined in resource loaded through
InputStream: Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate
class
[org.apache.portals.applications.transform.impl.JetspeedTransform];
constructor threw exception; nested exception is
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found


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


RE: Jetspeed not working...

Posted by Robert Sanford <rs...@trefs.com>.
> 1. RSS Portlet requires xalan-2.4.1.jar in common/lib of Tomcat
>    If you are running Java 1.5, you will need to copy the 
> xalan-2.3.jarthere
>    from your jetspeed/WEB-INF/lib directory.

If RSS Portlet requires that .jar file then why doesn't the Jetspeed
installer install that file? I didn't simply throw Jetspeed into an
existing instance of Tomcat, I ran the installer that created a new
instance of Tomcat and the install instructions said all I needed to do
from there was hit the URL and all would be good. Did I miss something?

The good news is that worked - the middle column in the RSS Demo tab now
displays. 

The bad news is that the front page of the jetspeed site still says
"Portlet Application j2-admin not available". That's an even bigger
issue because RSS feeds are a nice thing to have but not being able to
log in is kinda critical.

rjsjr


> On 7/26/06, Robert Sanford <rs...@trefs.com> wrote:
> >
> > I'm running with Java 5 on Windows XP Pro. I downloaded the 
> Jetspeed 
> > Installer and ran it. I am connected to a Microsoft SQL Server 
> > database
> > - all of the tables have been created by the installer so I 
> know the 
> > database connection was made.
> >
> > Because I already have another instance of Tomcat running on 8080 I 
> > changed the port number to 9090.
> >
> > I hit http://localhost:9090/jetspeed/portal/ and I get a 
> basic page up 
> > with a collection of four "placeholders" on the right side where it 
> > appears portlets should be located. Each of those placeholders has 
> > text within it saying "Portlet Application j2-admin not available".
> >
> > When I click on the "RSS Demo" tab (there are two tabs - 
> Welcome and 
> > RSS
> > Demo) there is a portlet on the right titled "Rome RSS 
> Portlet" that 
> > is displaying topics from an "NPR World" feed. In the middle is a 
> > portlet that has exception text(1) within it.
> >
> > After doing that brief test I go to the log files and find in 
> > jetspeed.log the following exceptions (cut down for mailing size).
> > 2006-07-25 16:00:33,770 [http-9090-Processor25] ERROR 
> > org.apache.jetspeed.aggregator.impl.RenderingJobImpl - 
> Error rendering 
> > portlet OID dp-3
> > javax.portlet.UnavailableException: Portlet Application 
> j2-admin not 
> > available
> >
> >
> > 2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR 
> > org.apache.jetspeed.aggregator.impl.RenderingJobImpl - 
> Error rendering 
> > portlet OID dp-12
> > javax.portlet.UnavailableException: Portlet Application 
> j2-admin not 
> > available
> >
> >
> > 2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR 
> > org.apache.jetspeed.aggregator.impl.RenderingJobImpl - 
> Error rendering 
> > portlet OID dp-22
> > javax.portlet.UnavailableException: Portlet Application 
> j2-admin not 
> > available
> >        at
> > 
> org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(
> > Je
> > tspeedPortletFactory.java:190)
> >
> >
> > In the velocity.log file there are some error lines that state...
> >
> > 2006-07-25 16:00:40,332 [http-9090-Processor24] ERROR 
> velocity - RHS 
> > of #set statement is null. Context will not be modified.
> > decorations/layout/tigris/header.vm [line 51, column 1]
> > 2006-07-25 16:00:40,348 [http-9090-Processor24] ERROR 
> velocity - RHS 
> > of #set statement is null. Context will not be modified.
> > decorations/layout/tigris/header.vm [line 51, column 1]
> >
> > And some velocity.log warnings...
> >
> > 2006-07-25 16:00:40,363 [http-9090-Processor24] WARN  velocity -
> > org.apache.velocity.runtime.exception.ReferenceException: 
> reference :
> > template = decorations/portlet/decorator.vm [line 27,column 43] :
> > ${decoratorId} is not a valid reference.
> > 2006-07-25 16:00:40,379 [http-9090-Processor24] WARN  velocity -
> > org.apache.velocity.runtime.exception.ReferenceException: 
> reference :
> > template = decorations/portlet/decorator.vm [line 45,column 41] :
> > ${decoratorId} is not a valid reference.
> > 2006-07-25 16:00:40,379 [http-9090-Processor24] WARN  velocity -
> > org.apache.velocity.runtime.exception.ReferenceException: 
> reference :
> > template = decorations/portlet/decorator.vm [line 27,column 43] :
> > ${decoratorId} is not a valid reference.
> > 2006-07-25 16:00:40,410 [http-9090-Processor24] WARN  velocity -
> > org.apache.velocity.runtime.exception.ReferenceException: 
> reference :
> > template = decorations/portlet/decorator.vm [line 45,column 41] :
> > ${decoratorId} is not a valid reference.
> >
> > In the localhost.log and catalina.log files there are no 
> ERROR lines 
> > of any sort and no exceptions of any sort.
> >
> > So... I use the installer that was provided and it doesn't work...
> > What's up?
> >
> > rjsjr
> >
> >
> > 1 - Failed to load portlet
> > org.apache.portals.applications.rss.RSSPortlet:
> > org.springframework.beans.factory.BeanCreationException: Error 
> > creating bean with name 'transformCache' defined in resource loaded 
> > through
> > InputStream: Can't resolve reference to bean 'transform' 
> while setting 
> > property 'constructor argument with index 0'; nested exception is
> > org.springframework.beans.factory.BeanCreationException: Error 
> > creating bean with name 'transform' defined in resource 
> loaded through
> > InputStream: Instantiation of bean failed; nested exception is
> > org.springframework.beans.FatalBeanException: Could not instantiate 
> > class 
> > [org.apache.portals.applications.transform.impl.JetspeedTransform];
> > constructor threw exception; nested exception is
> > javax.xml.transform.TransformerFactoryConfigurationError: Provider 
> > org.apache.xalan.processor.TransformerFactoryImpl not found
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: 
> jetspeed-user-help@portals.apache.org
> >
> >
> 
> 
> --
> Thanks,
> Cubehead Fang
> 

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


Re: Jetspeed not working...

Posted by Cubehead Fang <cu...@gmail.com>.
1. RSS Portlet requires xalan-2.4.1.jar in common/lib of Tomcat
   If you are running Java 1.5, you will need to copy the xalan-2.3.jarthere
   from your jetspeed/WEB-INF/lib directory.


On 7/26/06, Robert Sanford <rs...@trefs.com> wrote:
>
> I'm running with Java 5 on Windows XP Pro. I downloaded the Jetspeed
> Installer and ran it. I am connected to a Microsoft SQL Server database
> - all of the tables have been created by the installer so I know the
> database connection was made.
>
> Because I already have another instance of Tomcat running on 8080 I
> changed the port number to 9090.
>
> I hit http://localhost:9090/jetspeed/portal/ and I get a basic page up
> with a collection of four "placeholders" on the right side where it
> appears portlets should be located. Each of those placeholders has text
> within it saying "Portlet Application j2-admin not available".
>
> When I click on the "RSS Demo" tab (there are two tabs - Welcome and RSS
> Demo) there is a portlet on the right titled "Rome RSS Portlet" that is
> displaying topics from an "NPR World" feed. In the middle is a portlet
> that has exception text(1) within it.
>
> After doing that brief test I go to the log files and find in
> jetspeed.log the following exceptions (cut down for mailing size).
> 2006-07-25 16:00:33,770 [http-9090-Processor25] ERROR
> org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
> portlet OID dp-3
> javax.portlet.UnavailableException: Portlet Application j2-admin not
> available
>
>
> 2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR
> org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
> portlet OID dp-12
> javax.portlet.UnavailableException: Portlet Application j2-admin not
> available
>
>
> 2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR
> org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
> portlet OID dp-22
> javax.portlet.UnavailableException: Portlet Application j2-admin not
> available
>        at
> org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(Je
> tspeedPortletFactory.java:190)
>
>
> In the velocity.log file there are some error lines that state...
>
> 2006-07-25 16:00:40,332 [http-9090-Processor24] ERROR velocity - RHS of
> #set statement is null. Context will not be modified.
> decorations/layout/tigris/header.vm [line 51, column 1]
> 2006-07-25 16:00:40,348 [http-9090-Processor24] ERROR velocity - RHS of
> #set statement is null. Context will not be modified.
> decorations/layout/tigris/header.vm [line 51, column 1]
>
> And some velocity.log warnings...
>
> 2006-07-25 16:00:40,363 [http-9090-Processor24] WARN  velocity -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = decorations/portlet/decorator.vm [line 27,column 43] :
> ${decoratorId} is not a valid reference.
> 2006-07-25 16:00:40,379 [http-9090-Processor24] WARN  velocity -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = decorations/portlet/decorator.vm [line 45,column 41] :
> ${decoratorId} is not a valid reference.
> 2006-07-25 16:00:40,379 [http-9090-Processor24] WARN  velocity -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = decorations/portlet/decorator.vm [line 27,column 43] :
> ${decoratorId} is not a valid reference.
> 2006-07-25 16:00:40,410 [http-9090-Processor24] WARN  velocity -
> org.apache.velocity.runtime.exception.ReferenceException: reference :
> template = decorations/portlet/decorator.vm [line 45,column 41] :
> ${decoratorId} is not a valid reference.
>
> In the localhost.log and catalina.log files there are no ERROR lines of
> any sort and no exceptions of any sort.
>
> So... I use the installer that was provided and it doesn't work...
> What's up?
>
> rjsjr
>
>
> 1 - Failed to load portlet
> org.apache.portals.applications.rss.RSSPortlet:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'transformCache' defined in resource loaded through
> InputStream: Can't resolve reference to bean 'transform' while setting
> property 'constructor argument with index 0'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'transform' defined in resource loaded through
> InputStream: Instantiation of bean failed; nested exception is
> org.springframework.beans.FatalBeanException: Could not instantiate
> class
> [org.apache.portals.applications.transform.impl.JetspeedTransform];
> constructor threw exception; nested exception is
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Thanks,
Cubehead Fang

RE : Jetspeed not working...

Posted by Audrey MORELLE <au...@yahoo.fr>.
I don't know if this will help but, when you run jetspeed for the first time, you have to wait a little time after you see "INFO: Server startup in XXXX". Because, jetspeed need to deploy its applications.
   
  To see what has been deployed, you can look in webapps directory. If j2-admin is deployed, you should see a j2-admin directory and the j2-admin.war file. If not, find j2-admin.war file in the install jar (extract it with an archiver) and put it in deploy directory ( \webapps\jetspeed\WEB-INF\deploy ) (don't put it in webapps directory, jetspeed will do it itself).
   
  I hope this will help.
   
  Audrey

Robert Sanford <rs...@trefs.com> a écrit :
  I'm running with Java 5 on Windows XP Pro. I downloaded the Jetspeed
Installer and ran it. I am connected to a Microsoft SQL Server database
- all of the tables have been created by the installer so I know the
database connection was made. 

Because I already have another instance of Tomcat running on 8080 I
changed the port number to 9090.

I hit http://localhost:9090/jetspeed/portal/ and I get a basic page up
with a collection of four "placeholders" on the right side where it
appears portlets should be located. Each of those placeholders has text
within it saying "Portlet Application j2-admin not available".

When I click on the "RSS Demo" tab (there are two tabs - Welcome and RSS
Demo) there is a portlet on the right titled "Rome RSS Portlet" that is
displaying topics from an "NPR World" feed. In the middle is a portlet
that has exception text(1) within it.

After doing that brief test I go to the log files and find in
jetspeed.log the following exceptions (cut down for mailing size).
2006-07-25 16:00:33,770 [http-9090-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-3
javax.portlet.UnavailableException: Portlet Application j2-admin not
available


2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-12
javax.portlet.UnavailableException: Portlet Application j2-admin not
available


2006-07-25 16:00:33,785 [http-9090-Processor25] ERROR
org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Error rendering
portlet OID dp-22
javax.portlet.UnavailableException: Portlet Application j2-admin not
available
at
org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(Je
tspeedPortletFactory.java:190)


In the velocity.log file there are some error lines that state...

2006-07-25 16:00:40,332 [http-9090-Processor24] ERROR velocity - RHS of
#set statement is null. Context will not be modified.
decorations/layout/tigris/header.vm [line 51, column 1]
2006-07-25 16:00:40,348 [http-9090-Processor24] ERROR velocity - RHS of
#set statement is null. Context will not be modified.
decorations/layout/tigris/header.vm [line 51, column 1]

And some velocity.log warnings...

2006-07-25 16:00:40,363 [http-9090-Processor24] WARN velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 27,column 43] :
${decoratorId} is not a valid reference.
2006-07-25 16:00:40,379 [http-9090-Processor24] WARN velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 45,column 41] :
${decoratorId} is not a valid reference.
2006-07-25 16:00:40,379 [http-9090-Processor24] WARN velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 27,column 43] :
${decoratorId} is not a valid reference.
2006-07-25 16:00:40,410 [http-9090-Processor24] WARN velocity -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = decorations/portlet/decorator.vm [line 45,column 41] :
${decoratorId} is not a valid reference.

In the localhost.log and catalina.log files there are no ERROR lines of
any sort and no exceptions of any sort.

So... I use the installer that was provided and it doesn't work...
What's up?

rjsjr


1 - Failed to load portlet
org.apache.portals.applications.rss.RSSPortlet:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transformCache' defined in resource loaded through
InputStream: Can't resolve reference to bean 'transform' while setting
property 'constructor argument with index 0'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transform' defined in resource loaded through
InputStream: Instantiation of bean failed; nested exception is
org.springframework.beans.FatalBeanException: Could not instantiate
class
[org.apache.portals.applications.transform.impl.JetspeedTransform];
constructor threw exception; nested exception is
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found


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



 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.