wh,

I have been working with J2 for about a month or so and have had minimal
problems, especially considering the current alpha state of the release. The
dev team is pressing hard for a release this fall and there is plenty going
on!

I think I can help with some of your isses:

1) to minimize the install, you can remove the unnecessary war files from
the deploy directory before starting tomcat after the first install.
'quickStart' can also be tuned and there are other goals that one could
probably employ... but I am not a maven expert yet! The multiple portlet-app
install is by design. The goal is to be able to install jetspeed and your
configuration separately. BTW, removing items out of the deploy directory
was intended to uninstall them, but that is not working under all
circumstances yet!

2) I canont duplicate this error. What URL are you using to lauch and where
does this appear?

3&4) I do see these messages... they may be related to recent changes in the
decorator and layout templates or fragment rendering. No doubt this will get
fixed. I will look into this today if I get a chance and forward what I find
to the dev team.

5) Profiling has just recently been enabled and the test configuration pages
have not been changes to reflect this. You should expect this to be
addressed as the profiling subsytem is brought up to speed. If you long in
as user/user, you will see some profiling taking place. The
jetspeed/jetspeed user is not customized at this point.

6) There should be a logout link in the login portlet after you have logged
in. This worked for me.

Finally, I think that you would be better served by the team if you posted
this kind of thing to the dev list. J2 is in alpha state and things are
going to break as other things are added and fixed. I suspect that you know
that! Thanks for the input,

Randy Watler 

-----Original Message-----
From: [EMAIL PROTECTED]
To: Jetspeed Users List
Sent: 9/24/04 7:05 AM
Subject: Re: Some observations on jetspeed-2 (cont)

Just to confirm, exact same problems with Tomcat 4.28.
Tried running under Solaris, fails at the allBuild stage.
Probably linked to the Apache site problems, but it's strange the 
Windows build doesn't fail then :

java:prepare-filesystem:

java:compile:
    [echo] Compiling to 
/local/user/Source/jakarta-jetspeed-2/commons/target/classes
    [javac] Compiling 35 source files to 
/local/user/Source/jakarta-jetspeed-2/commons/target/classes
    [javac] 
/local/user/Source/jakarta-jetspeed-2/commons/src/java/org/apache/jetspe
ed/portlet/ServletContextProviderImpl.java:28: 
cannot resolve symbol
    [javac] symbol  : class ServletContextProvider
    [javac] location: package common
    [javac] import
org.apache.portals.bridges.common.ServletContextProvider;
    [javac]                                          ^
    [javac] 
/local/user/Source/jakarta-jetspeed-2/commons/src/java/org/apache/jetspe
ed/portlet/ServletContextProviderImpl.java:36: 
cannot resolve symbol
    [javac] symbol  : class ServletContextProvider
    [javac] location: class 
org.apache.jetspeed.portlet.ServletContextProviderImpl
    [javac] public class ServletContextProviderImpl implements 
ServletContextProvider
    [javac]                                                    ^
    [javac] 2 errors

BUILD FAILED
File...... /local/user/Source/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line...... 133
Column.... 40
Unable to obtain goal [java:compile] -- 
/local/user/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: 
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 1 minutes 42 seconds
Finished at: Fri Sep 24 14:59:10 CEST 2004



[EMAIL PROTECTED] wrote:

> Perhaps better suited for the developers list, but I didn't really 
> want to subscribe there.
> Hopefully these comments will be of use to the developers in 
> understanding from a user perspective some of the issues of the 
> current development state of jetspeed-2.
>
> 1)Compared to jetspeed-1, the jetspeed-2 installation makes quite a 
> mess of your application server, and pretty much renders it unusable 
> for anything else you were planning to host in it.
> While jetspeed-1 had a lovely simple war file to drop in/out, 
> jetspeed-2 installs roughly 10 seperate servlets, none of which can be

> uninstalled by any targets I found in the maven build file.  I always 
> understood portlets were supposed to be run hosted in a Portlet 
> server, so I don't really understand the need to publish all these 
> servlets - they should be Portlets, and thus not visible from the 
> application server perspective.
> Hopefully this will be sorted out as we near a production version, and

> the install gets a bit more streamlined
>
> 2)Default install on clean jakarta-tomcat-5.0.28 give me the following

> errors right off the bat when accessing the index page::
>
> CNF: java.lang.ClassNotFoundException: 
>
org.apache.jetspeed.portlets.layout.MultiColumnPortlet:org.apache.jetspe
ed.portle 
>
>
> ts.layout.MultiColumnPortlet
>
>
> 3)The "My First PSML Page"  accesible off the main guest screen gives 
> me an immediate :
>
> Invocation of method 'getCurrentPortletEntity' in  class 
> org.apache.jetspeed.velocity.JetspeedPowerTool threw exception class 
> java.lang.NullPointerException : null
> org.apache.velocity.exception.MethodInvocationException: Invocation of

> method 'getCurrentPortletEntity' in  class 
> org.apache.jetspeed.velocity.JetspeedPowerTool threw exception class 
> java.lang.NullPointerException : null
>     at 
>
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentif
ier.java:193) 
>
>     at 
>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:175) 
>
>     at 
>
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.
java:327) 
>
>     at 
>
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpressio
n.java:51) 
>
>     at 
>
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDir
ective.java:95) 
>
>     at 
>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230) 
>
>     at org.apache.velocity.Template.merge(Template.java:256)
>     at 
>
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.mergeTemplate(J
etspeedVelocityViewServlet.java:116) 
>
>     at 
>
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Vel
ocityViewServlet.java:455) 
>
>     at 
>
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Velocit
yViewServlet.java:411) 
>
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> Strangley the "My Second PSML page" works with no problems.
>
>
> 4) The "Test Suite Page" tab has errors in each prtlet window, all 
> complaining :
>
> org.apache.jetspeed.aggregator.FailedToRenderFragmentException: Unable

> to render fragment because: 
> org.apache.jetspeed.container.window.FailedToRetrievePortletWindow: 
> org.apache.jetspeed.container.window.FailedToCreateWindowException: 
> Error generating new PortletEntity: 
>
org.apache.jetspeed.components.portletentity.PortletEntityNotGeneratedEx
ception: 
> Failed to retrieve Portlet Definition for testsuite::TestPortlet1
>
>     at 
>
org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(Portle
tRendererImpl.java:172) 
>
>
>     at 
>
org.apache.jetspeed.aggregator.impl.ContentDispatcherImpl.include(Conten
tDispatcherImpl.java:286) 
>
>
>     at 
>
org.apache.jetspeed.velocity.JetspeedPowerTool.include(JetspeedPowerTool
.java:552) 
>
>
>
>
>
> 5)Logging in as user "jetspeed" with password "jetspeed" seems to 
> work, but I am presented with a "Manager Role Page" titled window in 
> which none of the tabs work. Although they appear to link correctly 
> (for example to "jetspeed/portal/p002.psml"), the link itself
> always returns the default index page.
>
> 6)There is no way to log out of this non-functioning manager role 
> page, since a)it probably won't work and b)no logout facility is 
> provided.
>
>
> I'm now going to repeat the process using Tomcat 4.28 and see what 
> happens.
>
> Thanks
> wh
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to