Re: Building Jetspeed 2

2005-04-05 Thread Steve B.
Small item - unless I am just looking in the wrong area...
Following the link provided for downloading the release,
   - select the suggested mirror
   - select portals
   - select jetspeed-2
   - the filenames are actually of the form:
 jetspeed-current-Tomcat-5.0.30.tar.gz 
<http://apache.intissite.com/portals/jetspeed-2/jetspeed-current-Tomcat-5.0.30.tar.gz>  
(or whatever version of tomcat you prefer)

The installation instructions (at the bottom of the release page) don't 
specify drilling down to the files, and the filenames are incorrect.

HTH,
Steve B.
Hema Menon wrote:
Jetspeed M2 version has just been released, you might want to try it
out. Information is here
http://www.mail-archive.com/jetspeed-user%40jakarta.apache.org/msg15983.html
Hema
On Apr 5, 2005 9:02 AM, Sascha Glass <[EMAIL PROTECTED]> wrote:
 

Hello,
I am new to Jetspeed 2 and try to install it. I hope very much that
anybody can help me. I got to
http://portals.apache.org/jetspeed-2/getting-started.html and followed
the instructions at 1,2 and 3. Now I am at "4. Building Jetspeed 2". I
changed to the jetspeed-2-home directory
(C:\Sascha\Java\eclipse-workspace\jakarta-jetspeed-2) and typed "maven
allClean allBuild".
Now I got this:
Starting the reactor...
BUILD FAILED
File.. C:\Sascha\Java\eclipse-workspace\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 103
Column 31
Error reading XML or initializing
...
Can anybody please help me?
With kind regards,
Sascha Glass
-
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]


Re: status of CVS

2005-03-28 Thread Steve B.
Thanks, Hema, I will give it a try.
Hema Menon wrote:
Some jars may not be downloaded sometimes from the maven repo. Ones
that I have come across is pluto, myfaces, commons-validator,
itgroundwork, jdbc-se, and someothers too. You could manually download
this from the values corresponding to maven.repo.remote which is
(maven.repo.remote = http://www.bluesunrise.com/maven/,
http://www.ibiblio.org/maven/)
I usually download them from http://www.bluesunrise.com/maven and copy
it to your local maven/repository directory. This would get your build
to succeed.
HTH,
Hema
On Mon, 28 Mar 2005 15:55:44 -0500, Steve B. <[EMAIL PROTECTED]> wrote:
 

I am trying to start a project with Jetspeed2. I am having trouble
"getting out of the gate."
Fedora Core 2
java 1.4.2
Jetspeed CVS (today)
using included HSQL
First of all, to get latest source, should I be using cvs or svn? I
could not find anywhere on the site where one should go - things seem to
be in transition between svn and cvs?
Anyway, all I could get was the cvs as part of Jakarta (ie cvs checkout
jakarta-jetspeed-2).
I am following the Getting Started steps. I have setup the
build.properties, etc.
It seems that maven cannot download anything. I keep getting for example:
  WARNING: Failed to download pluto-1.0.1-rc1.jar.
I get this message for every jar maven tries to download. Eventually,
build fails with :
+
| Build and Install all Jetspeed 2 jars Apache Portals JSF Bridge
| Memory: 49M/76M
+
Attempting to download myfaces-jsf-api-1.0.9.jar.
WARNING: Failed to download myfaces-jsf-api-1.0.9.jar.
BUILD FAILED
File.. /root/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line.. 133
Column 40
The build cannot continue because of the following unsatisfied dependency:
myfaces-jsf-api-1.0.9.jar
Any ideas how to troubleshoot this? Or are things just in flux right now
pending a M2 release?
-
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]


status of CVS

2005-03-28 Thread Steve B.
I am trying to start a project with Jetspeed2. I am having trouble 
"getting out of the gate."

Fedora Core 2
java 1.4.2
Jetspeed CVS (today)
using included HSQL
First of all, to get latest source, should I be using cvs or svn? I 
could not find anywhere on the site where one should go - things seem to 
be in transition between svn and cvs?

Anyway, all I could get was the cvs as part of Jakarta (ie cvs checkout 
jakarta-jetspeed-2).

I am following the Getting Started steps. I have setup the 
build.properties, etc.

It seems that maven cannot download anything. I keep getting for example:
   WARNING: Failed to download pluto-1.0.1-rc1.jar.
I get this message for every jar maven tries to download. Eventually, 
build fails with :

+
| Build and Install all Jetspeed 2 jars Apache Portals JSF Bridge
| Memory: 49M/76M
+
Attempting to download myfaces-jsf-api-1.0.9.jar.
WARNING: Failed to download myfaces-jsf-api-1.0.9.jar.
BUILD FAILED
File.. /root/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line.. 133
Column 40
The build cannot continue because of the following unsatisfied dependency:
myfaces-jsf-api-1.0.9.jar
Any ideas how to troubleshoot this? Or are things just in flux right now 
pending a M2 release?


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


WRT bug JS2-189

2005-02-03 Thread Steve B.
(Is this the right place for this post?)
Jira inclued issue JS2-189 which basically reports Exception "Cannot 
create JDBC driver of class '' for connect URL null" when running on 
Tomcat 5.5.

I ran into this bug as well while trying to install J2 (CVS 02-02-2005) 
on Tomcat 5.5.7. I had seen this exception before (installing Roller) 
where the Driver class in the error is '' and url is NULL. I think this 
is a common error when there is an issue with the 
/conf/Catalina/localhost/.xml and its definition of datasources.

For Jetspeed, I got passed this by updating my 
/conf/Catalina/localhost/jetspeed.xml to now be the following (btw - I 
am still using Hypersonic while the jetspeed-tomcat-5.5.xml is for MySql).

I am now trying to get passed JS2-187 which the issuetracke seems to 
believe is related to this issue - any hints appreciated.



 
appName="Jetspeed"

userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl"

roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl"
useContextClassLoader="false"
debug="3"/>

   
   factory="org.apache.commons.dbcp.BasicDataSourceFactory"
   type="javax.sql.DataSource" username="sa" password=""
   driverClassName="org.hsqldb.jdbcDriver" 
url="jdbc:hsqldb:hsql://127.0.0.1:9001"
   maxActive="100" maxIdle="30" maxWait="1"/>


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


How to redirect or forward a page

2004-10-15 Thread steve loh
I encounter a problem in redirecting/forwarding a page in jetspeed. I
know how to forward page between a same portlet by using setTemplate
method. But I can't get to forward to another URL. I have try two ways,
by redirecting in action class and in jsp page, they just don't work:

**Action class**
public void doPrintlabel(RunData rundata, Portlet portlet) {
rundata.getResponse().sendRedirect("http://www.google.com";);
}
 

**jsp page in a portlet**
<% response.sendRedirect("http://www.google.com";); %>
or 
http://www.google.com"; / >

In both case, the error I received says that the page cannot be
redirected because the response header has been sent. How can I bypass
this? Any suggestion on page redirect/forward will be helpful! Thanks!


This e-mail (including any attachments) may contain information which is privileged or 
confidential or constitute non-public information. It is to be conveyed only to the 
intended recipient(s). If you received this e-mail in error, please notify the sender 
immediately by e-mail or telephone and delete the e-mail from your system without 
reading, copying or disclosing its contents to any other person.


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



Status of Jetspeed-2

2004-09-27 Thread Steve Isaacson
Any update on the status of Jetspeed-2?
I'm currently looking at jetspeed-1 and uPortal.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JetSpeed 1.5 and Postgresql configuration problem

2004-08-11 Thread Steve Isaacson
I get null pointer exceptions and "no DataSourceFactory configured
for the connection," etc., when I start up jetspeed.
Everything works fine if I use the default war file and database.
I've been reading docs and googling for two days.
Does anyone have Jetspeed 1.5 up and running with postgresql?
If so, could you send me your postgres-related config files so
I can tweak them and get things running here?
I know it's just some stupid little thing. Unfortunately I don't
know which one it is.
thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cannot build Jetspeed2 from CVS - maven error war:war:

2004-08-02 Thread steve
Cha-Ching!

.jar's, etc. were all where they needed to be. I simply needed to restart
Tomcat so it would read the shared/lib stuff. I guess I managed to
confuse myself among all my rebuilds and redeploys.

Thanks, Scott, for sticking with me. Now, on to the fun!

- Original Message - 
From: "Scott T. Weaver" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 10:19 AM
Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war:


> Steve, you are absolutley correct, that class is not in the page manager
> sub project.  However, it is an interface defined in the jetspeed-api
> project.  Can you verify that the jetspeed-api jar is in your shared/lib
> dir?   I just installed Tomcat 5.0.27 this morning and was able to
> deploy and run Tomcat just fine, except for the fact that the login
> portlet does not seem to be working (sigh).
>
> steve wrote:
>
> >Thanks for the reply again, Scott.
> >
> >I do have the .jar you mentioned under tomcat as:
> >/webapps/jetspeed/WEB-INF/lib/jetspeed-page-manager-2.0-a1-dev.jar
> >
> >Looking at the contents of this .jar, there is no BaseElement . The
closest
> >I can find is:
> >org/apache/jetspeed/om/page/psml/AbstractBaseElement.class
> >
> >I did get "BUILD Successful" at the end of each step, so I am assuming
> >all has been found/installed.
> >
> >Thanks for your continuing guidance!
> >
> >Steve B.
> >
> >
> >- Original Message - 
> >From: "Scott T. Weaver" <[EMAIL PROTECTED]>
> >To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >Sent: Monday, August 02, 2004 8:48 AM
> >Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war:
> >
> >
> >
> >
> >>Hi Steve,
> >>
> >>I noticed this as this message further down in the stacktrace:
> >>
> >>Caused by: java.lang.NoClassDefFoundError:
> >>org/apache/jetspeed/om/page/BaseElement
> >>
> >>which seems to indicate either a jar is missing or is in the wrong spot.
> >>
> >>
> >Try re-deploying and make sure that the
jetspeed-page-manager-2.0-a1-dev.jar
> >gets into WEB-INF/lib.
> >
> >
> >>steve wrote:
> >>
> >>
> >>
> >>>Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0
> >>>
> >>>
> >release.
> >
> >
> >>>I would have looked right past the Maven version if it had not been
> >>>
> >>>
> >pointed
> >
> >
> >>>to me - thanks.
> >>>
> >>>Using this advice and the Wiki, I can build Jetspeed-2 and do the
> >>>quickStart.  However, Tomcat (5.0.27) is now giving issue. I followed
the
> >>>Wiki as well as what I could find in the mail-archive - went even
further
> >>>and deleted my entire repository and restart from scratch. I still get
> >>>
> >>>
> >the
> >
> >
> >>>Tomcat error below.
> >>>
> >>>(BTW - I also ran into an issue reported in another thread where
someone
> >>>reported maven was ignoring org.apache.jetspeed.server.home and placed
> >>>
> >>>
> >files
> >
> >
> >>>in the root. In my case, this happenned when I set this value to =
> >>>${CATALINA_HOME} - When I changed it to the real path
/usr/local/tomcat/,
> >>>maven behaved as expected.)
> >>>
> >>>Thanks again for the help!
> >>>
> >>>Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer
> >>>
> >>>
> >remove
> >
> >
> >>>INFO: Removing web application at context path /jetspeed
> >>>Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer
> >>>
> >>>
> >install
> >
> >
> >>>INFO: Processing Context configuration file URL
> >>>file:/usr/local/jakarta-tomcat-5
> >>>.0.27/conf/Catalina/localhost/jetspeed.xml
> >>>Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement
> >>>SEVERE: End event threw exception
> >>>java.lang.reflect.InvocationTargetException
> >>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>   at
> >>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> >>>java:39)
> >>>   at
> >>>sun.reflect.DelegatingMethodAccessorImpl.invoke(

Re: Cannot build Jetspeed2 from CVS - maven error war:war:

2004-08-02 Thread steve
Thanks for the reply again, Scott.

I do have the .jar you mentioned under tomcat as:
/webapps/jetspeed/WEB-INF/lib/jetspeed-page-manager-2.0-a1-dev.jar

Looking at the contents of this .jar, there is no BaseElement . The closest
I can find is:
org/apache/jetspeed/om/page/psml/AbstractBaseElement.class

I did get "BUILD Successful" at the end of each step, so I am assuming
all has been found/installed.

Thanks for your continuing guidance!

Steve B.


- Original Message - 
From: "Scott T. Weaver" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 8:48 AM
Subject: Re: Cannot build Jetspeed2 from CVS - maven error war:war:


> Hi Steve,
>
> I noticed this as this message further down in the stacktrace:
>
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/jetspeed/om/page/BaseElement
>
> which seems to indicate either a jar is missing or is in the wrong spot.
Try re-deploying and make sure that the jetspeed-page-manager-2.0-a1-dev.jar
gets into WEB-INF/lib.
>
>
> steve wrote:
>
> >Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0
release.
> >I would have looked right past the Maven version if it had not been
pointed
> >to me - thanks.
> >
> >Using this advice and the Wiki, I can build Jetspeed-2 and do the
> >quickStart.  However, Tomcat (5.0.27) is now giving issue. I followed the
> >Wiki as well as what I could find in the mail-archive - went even further
> >and deleted my entire repository and restart from scratch. I still get
the
> >Tomcat error below.
> >
> >(BTW - I also ran into an issue reported in another thread where someone
> >reported maven was ignoring org.apache.jetspeed.server.home and placed
files
> >in the root. In my case, this happenned when I set this value to =
> >${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/,
> >maven behaved as expected.)
> >
> >Thanks again for the help!
> >
> >Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer
remove
> >INFO: Removing web application at context path /jetspeed
> >Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer
install
> >INFO: Processing Context configuration file URL
> >file:/usr/local/jakarta-tomcat-5
> >.0.27/conf/Catalina/localhost/jetspeed.xml
> >Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement
> >SEVERE: End event threw exception
> >java.lang.reflect.InvocationTargetException
> >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >at
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> >java:39)
> >at
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> >sorImpl.java:25)
> >at java.lang.reflect.Method.invoke(Method.java:324)
> >at
> >org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> >Utils.java:1789)
> >at
> >org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> >Utils.java:1684)
> >at
> >org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> >java:1713)
> >at
> >org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
> >9)
> >at
> >org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe
> >tterRule.java:244)
> >at
> >org.apache.commons.digester.Digester.endElement(Digester.java:1058)
> >at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> >Source
> >)
> >at
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
> >Unknown Source)
> >at
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
> >Dispatcher.dispatch(Unknown Source)
> >at
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
> >known Source)
> >at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
> >at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
> >at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
> >at org.apache.commons.digester.Digester.parse(Digester.java:1567)
> >at
> >org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag
> >er.java:185)
> >at
> >org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta
> >nce(ServletToolboxManager.java:210)
> >at

Re: Cannot build Jetspeed2 from CVS - maven error war:war:

2004-08-01 Thread steve
Thank you Scott and David. Indeed, I was using rc-3 instead of 1.0 release.
I would have looked right past the Maven version if it had not been pointed
to me - thanks.

Using this advice and the Wiki, I can build Jetspeed-2 and do the
quickStart.  However, Tomcat (5.0.27) is now giving issue. I followed the
Wiki as well as what I could find in the mail-archive - went even further
and deleted my entire repository and restart from scratch. I still get the
Tomcat error below.

(BTW - I also ran into an issue reported in another thread where someone
reported maven was ignoring org.apache.jetspeed.server.home and placed files
in the root. In my case, this happenned when I set this value to =
${CATALINA_HOME} - When I changed it to the real path /usr/local/tomcat/,
maven behaved as expected.)

Thanks again for the help!

Aug 1, 2004 8:20:31 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /jetspeed
Aug 1, 2004 8:20:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-tomcat-5
.0.27/conf/Catalina/localhost/jetspeed.xml
Aug 1, 2004 8:20:44 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at
org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySe
tterRule.java:244)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.velocity.tools.view.XMLToolboxManager.load(XMLToolboxManag
er.java:185)
at
org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInsta
nce(ServletToolboxManager.java:210)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbo
x(VelocityViewServlet.java:269)
at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Veloc
ityViewServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1029)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
2)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4013)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
357)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe
ployer.java:903)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
a:252)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester
.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at
org.ap

Cannot build Jetspeed2 from CVS - maven error war:war:

2004-07-31 Thread steve
I looked at other reports from users who could not build Jetspeed 2 but did not
see the same error.

I am attempting to build from CVS which I just downloaded (Sat. July 31 at 20:00
EST). Can anyone help?


war:war:
[echo] Building WAR jetspeed2-layout-portlets
[jar] Building jar:
/home/sbelt/jakarta-jetspeed-2/layout-portlets/target/jetspeed-layouts.war
Starting the reactor...
Our processing order:
Jetspeed 2 Maven Plugin
+
| Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin
| Memory: 52M/61M
+
 
BUILD FAILED
File.. /home/sbelt/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line.. 325
Column 40
Unable to obtain goal [deploy-plugin] --
/home/sbelt/jakarta-jetspeed-2/maven-plugin/maven.xml:56:46:  No
goal [plugin:uninstall-now]
Total time: 6 minutes 6 seconds
Finished at: Sat Jul 31 20:09:04 EDT 2004
 


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



Re: Cannot build CVS

2004-04-20 Thread steve
So it seems that now, from the [jakarta-jetspeed] directory I simply type
maven(?). I am trying it now and I see it is downloading a bunch of
dependencies...fingers crossed! :)  Otherwise, I will wait for your
instructions later this week.

The Page which shows the cvs instructions is:

http://portals.apache.org/cvs-usage.html

Thanks for the help!


- Original Message - 
From: "David Sean Taylor" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2004 2:07 PM
Subject: Re: Cannot build CVS


>
> On Apr 20, 2004, at 8:06 AM, steve wrote:
>
> > Is the version of Jetspeed-1 in CVS "working"?
>
> Yes of course
>
> > If not, where should I
> > download the most current, working versions? Or perhaps there are
> > several
> > steps not in the INSTALL I must follow to obtain additional .jar's,
> > etc.; if
> > so, what are these steps?
> >
> > In the portals.apache.org website, it says (after login) download from
> > cvs
> > using "cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co
> > portals-site". This project does not exist.
> >
> Im sorry about that it should say "jakarta-jetspeed"
> Could you send the link, I couldn't find the error
>
> > This leads me to assume that the "portals-site" is a place-holder, so
> > I use
> > "cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co
> > jakarta-jetspeed"
>
> Its not a place holder
> Its the parent project of Jetspeed-1, Jetspeed-2, Pluto and WSRP4J
>
> > . This downloads, but, following the INSTALL instructions,
> > I change to the build directory and type ./build.sh war. This produces
> > the
> > errors below. What jumps out for me are:
> >
> You now have to build with Maven
> We are in the process of putting out a new release this week with new
> instructions
> I apologize for the confusion and inconvenience
>  From the root jakarta-jetspeed dircectory, type
>
> maven
>
> --
> David Sean Taylor
> Bluesunrise Software
> [EMAIL PROTECTED]
> [office]   +01 707 773-4646
> [mobile] +01 707 529 9194
>
>
>
> -
> 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]



Cannot build CVS

2004-04-20 Thread steve
Is the version of Jetspeed-1 in CVS "working"? If not, where should I
download the most current, working versions? Or perhaps there are several
steps not in the INSTALL I must follow to obtain additional .jar's, etc.; if
so, what are these steps?

In the portals.apache.org website, it says (after login) download from cvs
using "cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co
portals-site". This project does not exist.

This leads me to assume that the "portals-site" is a place-holder, so I use
"cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co
jakarta-jetspeed". This downloads, but, following the INSTALL instructions,
I change to the build directory and type ./build.sh war. This produces the
errors below. What jumps out for me are:

- why does the echo think java.home is the jre under my JAVA_HOME (which is
a var in my env)?
- the echo shows build.compiler is not set
- org/exolab/castor/builder/SourceGenerator not exist (missing .jar?)
- and of course the expanding torque.jar error (I do no see torque.jar
anywhere)


Buildfile: build.xml

init:
 [echo] -- Jetspeed Portal Implementation 1.5-dev --

 [echo] java.class.path =
:../build/lib/ant-1.5.jar:../build/lib/ant-1.5-opt
ional.jar:../build/lib/cactus-22-1.2.jar:../build/lib/cactus-23-1.2.jar:../b
uild
/lib/cactus-ant-1.2.jar:../build/lib/httpclient.jar:../build/lib/junit.jar:.
./bu
ild/lib/xercesImpl.jar:../build/lib/xml-apis.jar:../lib/*.jar:/usr/local/jav
a/li
b/tools.jar

 [echo] java.home = /opt/java/j2sdk1.4.2_04/jre
 [echo] ant.home = build
 [echo] user.home = /root

 [echo] basedir = /home/sbelt/jakarta-jetspeed

 [echo] cactus-22.jar = build/lib/cactus-22-1.2.jar
 [echo] cactus-23.jar = build/lib/cactus-23-1.2.jar
 [echo] cactus.ant.jar = build/lib/cactus-ant-1.2.jar
 [echo] junit.jar = build/lib/junit.jar
 [echo] build.compiler = ${build.compiler}
 [echo] locale.default = en
[mkdir] Created dir: /home/sbelt/jakarta-jetspeed/bin/classes

prepare_apis:

apis:
 [java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/exola
b/castor/builder/SourceGenerator
 [java] Java Result: 1

check_om:

om:

main:
[mkdir] Created dir:
/home/sbelt/jakarta-jetspeed/build/torque/templates.scr
atch
[unjar] Expanding: /home/sbelt/jakarta-jetspeed/lib/torque-3.0.jar into
/hom
e/sbelt/jakarta-jetspeed/build/torque/templates.scratch

BUILD FAILED
file:/home/sbelt/jakarta-jetspeed/build/torque/build.xml:39: Error while
expandi
ng /home/sbelt/jakarta-jetspeed/lib/torque-3.0.jar

Total time: 2 seconds



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



Re: Jetspeed2 cannot connect to datasource

2004-03-17 Thread steve
FYI - I have deployed agains tomcat-4.1.29 (as is used by Scott) and had NO
datasource issues. Oddly, if I press refresh on my browser, I get various
flavors of the screen: sometimes nothing, sometimes just the jetspeed logo,
and sometimes portelts for hello, goodbye, customerlist (empty), preferences
portlet (empty) and another. The non empty portlets contain debug type
info - is this the current state of jetspeed2? Or do I still have
installation issues to address.

Below is my working with Tomcat5 for anyone who is trying the same:

The Tomcat5 documentation was not clear if the META-INF was in CATALINA_HOME
or the webapp directory. Anyway, I tried renaming jetspeed.xml to
context.xml in the following locations:
- [tomcat]/META-INF/context.xml
- [tomcat]/webapps/META-INF/context.xml
- [tomcat]/webapps/jetspeed/META-INF/context.xml
None of these fixed the error.

I next took the suggestion of Jeremy Ford and looked for manager.xml and
admin.xml. Both were found in
- [tomcat]/conf/Catalina/localhost
- [tomcat]/server/webapps/admin/admin.xml (similar path for
manager.xml).

So, I placed the jetspeed.xml in [tomcat]/conf/Catalina/localhost and the
connection error is gone! However calling localhost:8080/jetspeed is a white
screen with the following in Catalina.out.

DEBUG:
PortletContainerImpl.portletService(PortletApplicationBrowser:41:PAM::Portle
tApplicationBrowser) called.
ApplicationBrowserPortlet: initializing portlet, config =
PortletApplicationBrowser
[MHL] Ready for action...
Mar 17, 2004 11:24:00 AM org.apache.jasper.runtime.JspFactoryImpl
internalGetPageContext
SEVERE: Exception initializing page context
java.lang.NullPointerException
at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRe
quest.java:546)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWr
apper.java:260)
at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRe
quest.java:534)
[bunch of stuff deleted here]
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:750)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:636)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:546)
at
org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedReq
uestDispatcher.java:63)
at
org.apache.jetspeed.demo.preferences.PreferencePortlet.doView(PreferencePort
let.java:53)

Like on Tomcat 4.1.29, if I press refresh on my browser, the above error
goes away, and I get various amounts of screen content on each refresh. At
best, I get less content on the screen compare to Tomcat4 - for example, I
never see content in the CustomerList nor the Preferences portlets in
Tomcat5, while on Tomcat4, I do sometimes get this data.

As this is in development, I did not expect a fully functional app. I just
wanted to see the current status and perhaps where I could contribute. So,
is the behavior I am seeing the current status, or do I still have install
issues which I need to resolve before I start?

Thanks!

Steve B.

- Original Message - 
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 9:33 AM
Subject: RE: Jetspeed2 cannot connect to datasource


> Hi Steve,
>
> It looks like you will need to create a /META-INF directory off the root
of
> the webapp, copy jetspeed.xml to it and rename is context.xml.  I haven't
> tried this, but this how the docs for Tomcat 5 say you should do this.
Let
> me know if this works and I will add it to the build.
>
> I got the information from here:
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/deployment.html
>
>
> Regards,
> **
> | Scott T Weaver |
> | <[EMAIL PROTECTED]>|
> | Apache Jetspeed Portal Project |
> | Apache Pluto Portlet Container |
> **
>
> > -Original Message-
> > From: Jeremy Ford [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 16, 2004 11:22 PM
> > To: 'Jetspeed Users List'
> > Subject: RE: Jetspeed2 cannot connect to datasource
> >
> > I seem to remember seeing xml files similar to the Jetspeed.xml file
being
> > placed in a different location under tomcat 5.X.  You might try looking
> > for
> > admin.xml or manager.xml and placing the Jetspeed.xml in the same
> > location.
> >
> > Jeremy Ford
> > [EMAIL PROTECTED]
> >
> >
> > -Original Message-
> > From: steve [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 16, 2004 12:00 PM
> > To: Jetspeed Users List
> > Subject: Re: Jetspeed2 cannot co

Re: Jetspeed2 cannot connect to datasource

2004-03-16 Thread steve
Thanks Scott. I am using Tomcat 5.0.19 (thought I read in a post that this
was compatible). I will checkout this file, and if that fails, I will try
your version
of Tomcat.

Thanks again - I will let you know how it goes.

Steve B.

- Original Message - 
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 16, 2004 12:56 PM
Subject: RE: Jetspeed2 cannot connect to datasource


> Hi Steve,
>
> What version of Tomcat are you running in?  There is a jetspeed.xml that
> should be in the webapps directory that defines the JNDI datasource in
> Tomcat for jetspeed.  This works for me in tomcat 4.1.29.
>
> Regards,
> **
> | Scott T Weaver |
> | <[EMAIL PROTECTED]>|
> | Apache Jetspeed Portal Project |
> | Apache Pluto Portlet Container |
> **
>
> > -Original Message-
> > From: steve [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 16, 2004 12:39 PM
> > To: Jetspeed Users List
> > Subject: Jetspeed2 cannot connect to datasource
> >
> > I have tried several times to get help from the list on jetspeed2 to no
> > avail. I hope my latest question is short enough that someone will help.
> >
> > I have followed all the steps in the GETTING-STARTED.html without a
hitch
> > (Other than log4j not being defined). I am now calling
> > http://localhost:8080/jetspeed/ and am only getting a blank screen.
> > catalina.out seems to indicate the hsqldb datasource was not configured
in
> > the installed app based on the stack trace excerpt below. Note that I do
> > have 'maven start.production.server' running in a seperate window.
> >
> > Could some kind soul tell me if I missed some undocumented step, or
simply
> > in what file(s) of the webapp the database connection info should be
> > defined? I do not get this error running maven db.recreate nor the
> > allBuild.
> >
> > TIA,
> >
> > Steve B.
> >
> > [org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR:
> > SQLExce
> > ption thrown while trying to get Connection from Datasource
> > (java:comp/env/jdbc/
> > jetspeed)
> > Cannot create JDBC driver of class '' for connect URL 'null'
> > org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
> > class '
> > ' for connect URL 'null', cause:
> > java.sql.SQLException: No suitable driver
> > at java.sql.DriverManager.getDriver(DriverManager.java:243)
> > at
> > org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
> > rce.java:743)
> > at
> > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
> > .java:518)
> > at
> > org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newCo
> > nnectionFromDataSource(Unknown Source)
> >
> >
> >
> > -
> > 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]
>
>
>



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



Jetspeed2 cannot connect to datasource

2004-03-16 Thread steve
I have tried several times to get help from the list on jetspeed2 to no
avail. I hope my latest question is short enough that someone will help.

I have followed all the steps in the GETTING-STARTED.html without a hitch
(Other than log4j not being defined). I am now calling
http://localhost:8080/jetspeed/ and am only getting a blank screen.
catalina.out seems to indicate the hsqldb datasource was not configured in
the installed app based on the stack trace excerpt below. Note that I do
have 'maven start.production.server' running in a seperate window.

Could some kind soul tell me if I missed some undocumented step, or simply
in what file(s) of the webapp the database connection info should be
defined? I do not get this error running maven db.recreate nor the allBuild.

TIA,

Steve B.

[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR:
SQLExce
ption thrown while trying to get Connection from Datasource
(java:comp/env/jdbc/
jetspeed)
Cannot create JDBC driver of class '' for connect URL 'null'
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '
' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:743)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:518)
at
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newCo
nnectionFromDataSource(Unknown Source)



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



Re: Build/Install Jetspeed-2 difficulty: Unable to intialize Catalina Portlet Application Manager

2004-02-25 Thread steve
First, is this the correct list for Jetspeed-2 questions? I am having
difficulty finding a project page or mail-list dedicated to Jetspeed2. Based
on the Pluto site, I assume Jetspeed2's aim is to be a JSR-168-compliant
portal. I am not sure how much to read into the "alpha" status - does this
mean it is beyond "dev" status but not yet "beta"? Once installed, what has
been implemented so far? Are its goals to support all the current jetspeed
features? If so, which have been completed, which are being developed, and
which are looking for contributions?

Anyway, I have moved further along on my own question below. I still have
not resolved the "Unable to initialize the Catalina Portlet Administration
Portlet", but have noted the java code it is gagging on is:

registry = (PortletRegistryComponent) Jetspeed.getComponentManager().
getComponent(PortletRegistryComponent.class);

I am guessting the getComponenctManager() is returning null. Looking at the
Jetspeed.getComponentManager code, I am getting the feeling that it is
failing for some reason to obtain an Engine. (But that could be a
red-herring).

I was able to get Tomcat to load Jetspeed, and even give me a screen with
the Jetspeed2 logo by manually copying over:

[jetspeed2-home]/rdbms/target/jetspeed-rdbms-2.0-a1-dev.jar
[jetspeed2-home]/registry/target/jetspeed-registry-2.0-a1-dev.jar
[jetspeed2-home]/persistence/target/jetspeed-persistence-2.0-a1-dev.jar

to the /usr/local/tomcat/webapps/jetspeed/WEB-INF/lib/

Nothing other than the logo is displayed, however. Also I see as tomcat
loads jetspeed the following:

Feb 24, 2004 9:22:38 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Feb 24, 2004 9:22:38 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Feb 24, 2004 9:22:39 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
log4j:WARN No appenders could be found for logger (console).
log4j:WARN Please initialize the log4j system properly.
 INFO: Starting auto deployment service:
org.apache.jetspeed.deployment.impl.CatalinaAutoDeploymentServiceImpl
 INFO: Deployment scanning delay: 1
 INFO: Deployment server: localhost
 INFO: Deployment server port: 8080
 INFO: Deployment server user name: scott
 INFO: Deployment staging directory: WEB-INF/deploy
 INFO: Deployment target directory: ../
 WARN: Unable to intialize Catalina Portlet Application Manager.  Auto
deployment will be disabled: java.lang.NullPointerException
java.lang.NullPointerException
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.(FileSystemPAM.java:
90)
at
org.apache.jetspeed.tools.pamanager.CatalinaPAM.(CatalinaPAM.java:79)
at
org.apache.jetspeed.deployment.impl.CatalinaAutoDeploymentServiceImpl.init(C
atalinaAutoDeploymentServiceImpl.java:119)
at org.apache.fulcrum.BaseServiceBroker.initService(Unknown Source)


TIA for any guidance,

Steve B.

- Original Message - 
From: "steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 24, 2004 6:53 PM
Subject: Build/Install Jetspeed-2 difficulty: Unable to intialize Catalina
Portlet Application Manager






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



Build/Install Jetspeed-2 difficulty: Unable to intialize Catalina Portlet Application Manager

2004-02-24 Thread steve
I have searched the mail archives and have not found a solution to my error.
If my question has already been answered, please forgive my re-asking and
direct me to the proper resource.

I am following the [jetspeed-2-home]/GETTING_STARTED.html instructions. I
have done the following:

1. Installed Maven and Ant (making sure each package's /bin directory is in
my path)
2. I am using Sun J2SDK 1.4.2_03 with JAVA_HOME set accordingly (I am on
Linux Redhat 9)
3. I have installed Tomcat 4.1.30 as /usr/local/tomcat (no configuration has
been performed on this which perhaps is my problem)
4. I am logged in as root
5. my ~/build.properties is as follows:

catalina.home=/usr/local/tomcat
catalina.shared.lib=${catalina.home}/shared/lib/
deploy.war.dir=${catalina.home}/webapps/

6. I cd [jetspeed-2-home] (/development/jetspeed in my case)
7. I do maven allBuild. It completes saying "BUILD SUCCESSFUL".
note that looking through output, I see repeatedly items such as:
[junit]  INFO: Starting auto deployment service:
org.apache.jetspeed.deployment.impl.CatalinaAutoDeploymentServiceImpl
[junit]  INFO: Deployment scanning delay: 1
[junit]  INFO: Deployment server: localhost
[junit]  INFO: Deployment server port: 8080
[junit]  INFO: Deployment server user name: scott
[junit]  INFO: Deployment staging directory: WEB-INF/deploy
[junit]  INFO: Deployment target directory: ../
[junit]  WARN: Unable to intialize Catalina Portlet Application Manager.
Auto deployment will be disabled: java.lang.NullPointerException
[junit] java.lang.NullPointerException
[junit] at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.(FileSystemPAM.java:
90)
[junit] at
org.apache.jetspeed.tools.pamanager.CatalinaPAM.(CatalinaPAM.java:79)
[junit] at
org.apache.jetspeed.deployment.impl.CatalinaAutoDeploymentServiceImpl.init(C
atalinaAutoDeploymentServiceImpl.java:119)
[junit] at org.apache.fulcrum.BaseServiceBroker.initService(Unknown
Source)
...
8. I cd  [jetspeed-2-home]/portal and type maven fullDeploy. Again I get
BUILD SUCCESSFUL though warnings are reported. (the note says that this does
steps 4 and 5 for me. I have tried performing steps 4 and 5 seperately, but
I get the same error though split across 2 steps). I get errors such as:

[java]  INFO: Deployment scanning delay: 1
[java]  INFO: Deployment server: localhost
[java]  INFO: Deployment server port: 8080
[java]  INFO: Deployment server user name: scott
[java]  INFO: Deployment staging directory: WEB-INF/deploy
[java]  INFO: Deployment target directory: ../
[java]  WARN: Unable to intialize Catalina Portlet Application Manager.
Auto deployment will be disabled: java.lang.NullPointerException
[java] java.lang.NullPointerException
[java]  at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.(FileSystemPAM.java:
90)
[java]  at
org.apache.jetspeed.tools.pamanager.CatalinaPAM.(CatalinaPAM.java:79)
[java]  at
org.apache.jetspeed.deployment.impl.CatalinaAutoDeploymentServiceImpl.init(C
atalinaAutoDeploymentServiceImpl.java:119)

9. because I keep getting BUILD SUCCESSFUL, I press on. I attempt to call
http://localhost:8080/jetspeed. My web screen remains blank, and
catalina.out says:

java.lang.NoClassDefFoundError:
org/apache/jetspeed/components/jndi/JNDIComponent
at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:97)
at
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:168)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3427)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628)
at
org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConfig.ja
va:614)
at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854)
at java.lang.Thread.run(Thread.java:534)

10. In the archives, I read some post where it is assumed that pluto is
installed. So, to ensure my slate is clean, I delete and reinstall tomcat,
delete and re-checkout jetspeed, and also checkout pluto. This time, I
install pluto first (test app works without a hitch). I then repeat the
steps above with the exact same results.

What did I miss? Any help would be appreciated as I have been working this
for 2-days now and have run out of ideas.

TIA,

Steve B.



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



RE: Simple portlet/servlet for accessing server-based files in folders

2003-03-09 Thread Parker, Steve L.
Roshan,

I set it up..  it's pretty slick.

One quick question..  How do I configre the "plugins"?  On default
installation, the upload box is there, but it's function-less..

Thanks!  Steve

-Original Message-
From: Roshan G
To: [EMAIL PROTECTED]
Sent: 3/9/2003 7:43 AM
Subject: Re: Simple portlet/servlet for accessing server-based files in
folders

You have to install the Servlet in the server which you want to access.
Then 
if you point the browser to that servlet it will present an explorer
like 
interface to the filesystem on that machine. You can navigate through
the 
file system, upload/download files,edit text files.

This was initially written for me to have a look at the server log files
and 
edit configuration files on a NT server which I didn't have physical
access 
to. (I got tired of using VNC)

The principle under which it works is quite simple. You pass the path
you 
want to access as a query string to the servlet then it will give you a 
directory listing of that path and present that as a web page.


Roshan



>From: "Kevin McIntyre" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: Simple portlet/servlet for accessing server-based files in

>folders
>Date: Sun, 9 Mar 2003 02:39:08 -0500
>
>Roshan -
>
>By what means is the remote file system accessed?
>
>Kevin
>
>- Original Message -
>From: "Roshan G" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Saturday, March 08, 2003 10:18 PM
>Subject: Re: Simple portlet/servlet for accessing server-based files in
>folders
>
>
> > Hi Steve,
> >
> > Sometime ago I was working on a Servlet which helped to manage
remote 
>file
> > systems through a web interface. The code definitely needs a bit of
>cleaning
> > up. But if you are interested have a look at
> > http://www.geocities.com/roshan741/remoteServlet.html. I have tested

>this
>on
> > Tomcat 4.x and WebSphere 4. If you have any trouble let me know. I
will 
>be
> > happy to help out.
> >
> > Roshan
> >
> >
> >
> > >From: "Parker, Steve L." <[EMAIL PROTECTED]>
> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > >To: "'[EMAIL PROTECTED]'"
><[EMAIL PROTECTED]>
> > >Subject: Simple portlet/servlet for accessing server-based files in
>folders
> > >Date: Sat, 8 Mar 2003 16:46:11 -0500
> > >
> > >Does anyone out there know of a simple portlet or even a servlet I 
>could
> > >use
> > >to give me basic functionality for navigating file folders on the
>server -
> > >like a typical virtual filing cabinet?
> > >
> > >I don't care about versioning, I only need the ability to see
folders 
>and
> > >files within them..
> > >
> > >anyone know of anything out there (servlet-based, or a portlet)
that
> > >provides much of this functionality?
> > >
> > >Any insight is much appreciated.
> > >
> > >Thanks,
> > >Steve
> > >
> >
>-
> > >To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > >For additional commands, e-mail:
[EMAIL PROTECTED]
> >
> >
> > _
> > Express yourself with cool emoticons http://messenger.msn.co.uk
> >
> >
> >
-
> > 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]


_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://messenger.msn.co.uk


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



Simple portlet/servlet for accessing server-based files in folders

2003-03-08 Thread Parker, Steve L.
Does anyone out there know of a simple portlet or even a servlet I could use
to give me basic functionality for navigating file folders on the server -
like a typical virtual filing cabinet?

I don't care about versioning, I only need the ability to see folders and
files within them..

anyone know of anything out there (servlet-based, or a portlet) that
provides much of this functionality?  

Any insight is much appreciated.

Thanks,
Steve

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



Re: Trying to use the tutorial - solved

2002-12-10 Thread Steve
I got it working. I will answer my own post in case anyone else
runs into this:

I was using ant v1.4.1. This version does not have the required
class. I upgraded my ant to the latest version which is 1.5.1.
I do not know if it was necessary, but I also copied this new
versions ant.jar into the jetspeed-1.4-b2/lib folder. (copying
1.4.1's ant.jar into this folder did NOT fix it).

Perhaps the tutorial requirements should be corrected for
the ant version number?

Steve B.

- Original Message - 
From: "Steve" <[EMAIL PROTECTED]>
To: "jetspeed" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 3:34 PM
Subject: Trying to use the tutorial


I would like to try the tutorial on the bluesunrise site. These
instructions are so complete,
that I feel like an idiot for having to ask this question. I have also
been able to download
jetspeed from cvs and deploy it on tomcat many times in the past.

- I have created a folder called C:\developer\jetspeed-tutorial\
- I have downloaded and extracted the jportal.jar into
C:\developer\jetspeed-tutorial\jportal
- I have downloaded the jetspeed-1.4-b2-src.zip into the
.../jetspeed-tutorial/ folder
so I now have
C:\developer\jetspeed-tutorial\jetspeed-1.4-b2\[bin,WEB-INF etc...]
- I have previously installed ant 1.4.1 (in C:\Developer\ant\)
- I have installed the latest Tomcat 4.1.12 (in C:\Tomcat4.1)




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




Trying to use the tutorial

2002-12-10 Thread Steve
I would like to try the tutorial on the bluesunrise site. These instructions are so 
complete,
that I feel like an idiot for having to ask this question. I have also been able to 
download
jetspeed from cvs and deploy it on tomcat many times in the past.

- I have created a folder called C:\developer\jetspeed-tutorial\
- I have downloaded and extracted the jportal.jar into 
C:\developer\jetspeed-tutorial\jportal
- I have downloaded the jetspeed-1.4-b2-src.zip into the .../jetspeed-tutorial/ folder
so I now have C:\developer\jetspeed-tutorial\jetspeed-1.4-b2\[bin,WEB-INF etc...]
- I have previously installed ant 1.4.1 (in C:\Developer\ant\)
- I have installed the latest Tomcat 4.1.12 (in C:\Tomcat4.1)

I cd to C:\developer\jetspeed-tutorial\jetspeed-1.4-b2\build and run 'ant war' but I 
get


sql:
 [echo] +--+
 [echo] |  |
 [echo] | Generating SQL for YOUR Torque project!  |
 [echo] | Woo hoo! |
 [echo] |  |
 [echo] +--+

sql-classpath:

BUILD FAILED

C:\developer\jetspeed-tutorial\jetspeed-1.4-b2\build\torque\build-torque.xml:198
: Could not create task of type: torque-sql due to java.lang.NoClassDefFoundErro
r: org/apache/tools/ant/types/AbstractFileSet

Total time: 23 seconds
C:\developer\jetspeed-tutorial\jetspeed-1.4-b2\build>

However, If I run 'build war', everything builds fine. But then when I switch to the
.../jportal/ folder and run 'ant tutorial-1', I get the same error about the missing
AbstractFileSet class when it tries to create the SQL Woo-Hoo!

I am on Windows. Am I missing an environment value or something?

Thanks for any help,

Steve B.




Re: Getting crazy with MySQL!!!

2002-11-27 Thread Steve
Not to be to simplistic, but - as you are on windows - remember case
sensitivity when it comes to database name, username, and password
in your .properties file

Steve B.

- Original Message -
From: "BARDE, CEDRIC" <[EMAIL PROTECTED]>
To: "'Jetspeed Users'" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 8:14 AM
Subject: Getting crazy with MySQL!!!


Hi all,

I still cannot make Jetspeed work properly with MySQL... I am using MySQL
3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1.
My database is populated (I have used the scripts given with Jetspeed
sources) and I have modified TurbineResources.props...

First, I run MySQL Server, then Tomcat and finally, I try to hit
http://localhost:8080/jetspeed. But I get this error :

Horrible Exception: org.apache.jetspeed.services.security.LoginException:
Failed to get anonymous user:
org.apache.jetspeed.services.security.UserException: Failed to retrieve user
'anon': Connection object is null! at
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony
mousUser(TurbineAuthentication.java:194) at
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee
dAuthentication.java:107) at
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur
ity.java:157) at
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ
ateSessionValidator.java:97) at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
eedSessionValidator.java:103) at
org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:468) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
org.apache.tomcat.core.Handler.service(Handler.java:235) at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
pl.java:272) at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:174) at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)
at index_1._jspService(index_1.java:51) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
org.apache.tomcat.core.Handler.service(Handler.java:235) at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176) at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516) at java.lang.Thread.run(Thread.java:479)

I cannot figure out what I am doing wrong.
If anyone could point me to the right direction, I would appreciate it a
lot!

Thanx in advance.
Ced

__
CĆ©dric BARDE
Disneyland Resort Paris - Information Services
BĆ¢timent Robin Hood - BP 100
7 Marne-La-VallƩe
TĆ©l : 01 64 74 65 49
Fax : 01 64 74 65 65
Email : [EMAIL PROTECTED]


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


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




Re: Jar file containing new portlets that enhance IFrame and webr writing capabilities

2002-11-25 Thread Steve
Sorry, I misunderstood the meaning of "cookie-less operation"
in the announcement.

Steve

- Original Message -
From: "Glen Carl" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Cc: "Casimiro Lovato-Winston" <[EMAIL PROTECTED]>
Sent: Monday, November 25, 2002 5:39 PM
Subject: Re: Jar file containing new portlets that enhance IFrame and webr
writing capabilities


> Actually, the portlets were developed to support both cookie and
> cookie-less sessions. However, the portlets were primarily designed to
> support xml/xsl. You may want to debug the mime type that is being
> passed in for the Jsp. We have some logic to handle binary data, and the
> .jsp may be getting filtered as binary data, since for our project, at
> this time, we are only processing the html and xml, and other input is
> being treated as binary data. I would believe the source can be easily
> adapted to support jsp and velocity. Tomorrow, Casey may have some time
> to explain in greater detail how to deal with JSP's.
> Please let us know if you find a way to adapt the source for JSP's and
> we will implement it.
> Thanks,
> Glen
>
> Steve wrote:
> > This is likely because they do not support cookies.
> >
> > You could probably work around this if you modified your jsp to support
> > cookie-less sessions.  The .jsp can add info to the href's so that the
url
> > includes a session-id so the next .jsp will use an existing session.
> >
> > Steve B.
> >
> > - Original Message -
> > From: "Martin Kisimov" <[EMAIL PROTECTED]>
> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> > Sent: Monday, November 25, 2002 10:41 AM
> > Subject: RE: Jar file containing new portlets that enhance IFrame and
webr
> > writing capabilities
> >
> >
> >
> >>another question with which I am struggling
> >>
> >>I set an attribute in the WebBrowserPortlet, but is not available in a
> >>simple jsp which I display in the portlet. Infact none of the attributes
> >
> > are
> >
> >>available in the jsp and the session.isNew method returns true.
> >>
> >>I am a bit confused, as this happens all the time and new session gets
> >>created all the time
> >>
> >>Any answers to that?
> >>
> >>On the other hand I made a listener which looks at when an attribute get
> >>placed removed or replace in a session and all the attributes are there,
> >>however via the jsp I do not get anything in terms of attributes.
> >>
> >>Why is that
> >>
> >>
> >>-Original Message-
> >>From: Glen Carl [mailto:[EMAIL PROTECTED]]
> >>Sent: 22 November 2002 10:04
> >>To: Jetspeed Users List
> >>Subject: Re: Jar file containing new portlets that enhance IFrame and
> >>webr ewriting capabilities
> >>
> >>
> >>Martin,
> >>You may need to modify the util/WebBrowserRewriter.java to include the
> >>template reference. Follow the way styleSheetLocation is done, where a
> >>CSS link is placed in the head. The version we submitted has the style
> >>hard-coded, but in my current version I have made the style dynamic, and
> >>match the style to the skin. You will probably want to do the same for
> >>your Jsp templates. I chose to pass the skin selection between the
> >>IframeProxyPortlet and BrowserServlet via HttpSession
> >>setAttribute/getAttribute. If there is more interest in our proxy
> >>portlets, I will update the source to include this feature.
> >>Glen
> >>
> >>Martin Kisimov wrote:
> >>
> >>>ok I got it to work, just have a few questions.
> >>>
> >>>I am trying to implement a template which has standard navigations for
> >>
> >>every
> >>
> >>>jsp that gets displayed. I tested the functionality which specifies the
> >>>standard navigation from jsp to jsp lets say, however i want toembed
> >>
> > these
> >
> >>>jsps in a template and get it all displayed. Regardles of links I would
> >>
> >>like
> >>
> >>>to be able display the template at all times.
> >>>
> >>>How possible is that
> >>>
> >>>Thank you
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




Re: Jar file containing new portlets that enhance IFrame and webr writing capabilities

2002-11-25 Thread Steve
This is likely because they do not support cookies.

You could probably work around this if you modified your jsp to support
cookie-less sessions.  The .jsp can add info to the href's so that the url
includes a session-id so the next .jsp will use an existing session.

Steve B.

- Original Message -
From: "Martin Kisimov" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, November 25, 2002 10:41 AM
Subject: RE: Jar file containing new portlets that enhance IFrame and webr
writing capabilities


> another question with which I am struggling
>
> I set an attribute in the WebBrowserPortlet, but is not available in a
> simple jsp which I display in the portlet. Infact none of the attributes
are
> available in the jsp and the session.isNew method returns true.
>
> I am a bit confused, as this happens all the time and new session gets
> created all the time
>
> Any answers to that?
>
> On the other hand I made a listener which looks at when an attribute get
> placed removed or replace in a session and all the attributes are there,
> however via the jsp I do not get anything in terms of attributes.
>
> Why is that
>
>
> -Original Message-
> From: Glen Carl [mailto:[EMAIL PROTECTED]]
> Sent: 22 November 2002 10:04
> To: Jetspeed Users List
> Subject: Re: Jar file containing new portlets that enhance IFrame and
> webr ewriting capabilities
>
>
> Martin,
> You may need to modify the util/WebBrowserRewriter.java to include the
> template reference. Follow the way styleSheetLocation is done, where a
> CSS link is placed in the head. The version we submitted has the style
> hard-coded, but in my current version I have made the style dynamic, and
> match the style to the skin. You will probably want to do the same for
> your Jsp templates. I chose to pass the skin selection between the
> IframeProxyPortlet and BrowserServlet via HttpSession
> setAttribute/getAttribute. If there is more interest in our proxy
> portlets, I will update the source to include this feature.
> Glen
>
> Martin Kisimov wrote:
> > ok I got it to work, just have a few questions.
> >
> > I am trying to implement a template which has standard navigations for
> every
> > jsp that gets displayed. I tested the functionality which specifies the
> > standard navigation from jsp to jsp lets say, however i want toembed
these
> > jsps in a template and get it all displayed. Regardles of links I would
> like
> > to be able display the template at all times.
> >
> > How possible is that
> >
> > Thank you
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




Re: JESTSPEED CRASH!! ecs screen error

2002-11-21 Thread Steve
Might you have another application that is starting at startup using the
port you want for tomcat? I seem to recall socket write erros on my Linux
box when I did not uninstall the httpd server which was set to start when
the machine booted.

Steve

- Original Message -
From: "Rutledge, Aaron" <[EMAIL PROTECTED]>
To: "Jetspeed (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 5:56 PM
Subject: JESTSPEED CRASH!! ecs screen error


Hello,  Our intranet application built on Jetspeed has crahed.  It was
working fine until I rebooted the server.  I have tried deleting the work
folder and all cached folders, but I continue to get the same error.  When
the anonymous portal is opened I get the following exception message on
screen:

Error processing ecs screen 'default'. See log for more information.

I need to get this back up ASAP since this our main intranet application!
ANy help greatly appreciated!  Aaron

The stderr log has this message in it...
java.net.SocketException: Connection reset by peer: socket write error
 at java.net.SocketOutputStream.socketWrite0(Native Method)
 at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:126)
 at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWri
te(InternalOutputBuffer.java:652)
 at
org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFi
lter.java:166)
 at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.j
ava:523)
 at org.apache.coyote.Response.doWrite(Response.java:508)
 at
org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:380)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
 at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:346)
 at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:
273)
...and so on

And the jetspeed log has the following information
[12:51:02,992 ERROR] Turbine.handleException: Error encountered processing a
template:/layouts/html/en/default.jsp: Connection reset by peer: socket
write error
[12:51:02,992 ERROR]
org.apache.jasper.JasperException: Connection reset by peer: socket write
error
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
46)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:575)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:498)
at
org.apache.turbine.services.jsp.TurbineJspService.handleRequest(TurbineJspSe
rvice.java:192)
org.apache.turbine.util.TurbineException: Error encountered processing a
template:/layouts/html/en/default.jsp: Connection reset by peer: socket
write error
at
org.apache.turbine.services.jsp.TurbineJspService.handleRequest(TurbineJspSe
rvice.java:210)
at
org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(JetspeedJspLay
out.java:115)
at org.apache.turbine.modules.Layout.build(Layout.java:91)
at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169)
at org.apache.turbine.modules.Page.build(Page.java:90)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
at org.apache.turbine.Turbine.doGet(Turbine.java:510)
and so on

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


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




Re: New to this group please help me

2002-11-19 Thread Steve
Depending on the corporate website, this is difficult to answer in one
email - especially since your strategy greatly agrees on the current
layout. I have converted a couple of websites to the Jetspeed
framework. Its been a few months, but I do not believe Jetspeed
has changed in that time to affect my procedure.

The first thing I usually do is modify the page template to match the
existing layout of the company site. This helps you to imagine what
the site is going to look like.

Next, create the psml's for the portlets. For each page from your
original website, create a HTMLportlet.

Now, use Jetspeed's customization functions to setup the menus and
pages. Does the layout use the traditional
layout of a menu across the top of the page to different "areas", then
a different menu down the left depending on the area entered?
If so, I would setup a tab pane where each selection is your "area"
menu for the top of the page. Under each tab, add another tab pane
which has your left menu choices for a given area.  Finally, to each
of the second tabs, add a single html portlet which contains the page
you want to display. When all is done, change each of the 2nd-level
tabs into a menu tab. can be tricky because there is - or there was -
a bug where once you added a portlet to a 2nd-level tab, you could
not modify any tabs that followed it.

If you have any questions, ask and I will help as best I can. I am quite
busy these days looking for a job, so I will do my best to help
when I can.

Steve Belt

- Original Message -
From: "Sangam Dash" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 4:38 PM
Subject: New to this group please help me


> Hi
>
> I am a new user just trying to use Jetspeed to develop a portal for my
> company.
> We already have a website, which needs to be changed to a portal so that
we
> can have different portlets for our clients and partners.
> I dont know how to start out with.
> Should i copy the existing html files in some directory or should i have
to
> convert every html files to reflect portal framework.
> I was thinking to copy the whole website folder to some place in tomcat or
> jetspeed folder and then use the portlet development framework to add
> portlets to my portal.
> I am really confused to start out with it.
> Please help me out.
> Thanks
> sangam dash
>
> - Original Message -
> From: "David Sean Taylor" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 19, 2002 9:27 AM
> Subject: RE: Jetspeed and OpenLDAP
>
>
> >
> >
> > > -Original Message-
> > > From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, November 19, 2002 12:50 AM
> > > To: 'Jetspeed Users List'
> > > Subject: Jetspeed and OpenLDAP
> > >
> > >
> > > Hi all,
> > >
> > > perhaps my question looks like realy similar, but i've searched
> > > the mailing
> > > list and dosn't found any usefull solution.
> > >
> > > I must implements for my organisation a Jetspeed Portal. The
> > > implementation
> > > of Jetspeed works fine (V1.4.1). Now i should combine Jetspeed with a
> > > LDAP-Server, prefered OpenLDAP,
> > > my question is how can i combine Jetspeed with OpenLDAP?
> > >
> > > I know that someone have solved that problem, but i haven't found any
> > > usefull HowTo or examples to do it. It is realy importand for me
> > > to know how
> > > i could realize that, thx for any help.
> > >
> > Hi Christian,
> >
> > There are several of us working on cleaning up the LDAP implementation
in
> > Jetspeed cvs.
> > I just received a patch and documentation from Suhail for configuration
> > Jetspeed LDAP Security Service with OpenLDAP.
> > Hope to get it reviewed and checked in over the next day or two.
> >
> > David
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




RE: Properties file

2002-07-31 Thread Steve Davis

Since Jetspeed is running on top of turbine-2 right now 
you can find out a lot of the fundamental stuff on the
turbine site:
http://jakarta.apache.org/turbine/turbine-2/index.html

The services are described at

http://jakarta.apache.org/turbine/turbine-2/services.html


There is a little about the TurbineResources at

http://jakarta.apache.org/turbine/turbine-2/services/resources-service.html

but it is pretty slim.

Mostly I just dig through the javadocs. Take a look at the TurbineResources
class at

http://jakarta.apache.org/turbine/turbine-2/apidocs/index.html

-Original Message-
From: Wayne A Christian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:41 AM
To: Jetspeed Users List
Subject: RE: Properties file


Were do we learn about this stuff?  There seems to be so much to look at but I don't 
know until I see something in a message.

Wayne Christian
Sr. Staff Software Engineer
Genesys Telecommunications Labs
2100 Gateway Centre Blvd.  Suite 300
Morrisville,  NC  27560
?   Office: (919) 466-6151
Fax:(919) 
?   EMail:  mailto:[EMAIL PROTECTED]

-Original Message-
From: Hugh Brien [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 5:31 PM
To: Jetspeed Users List
Subject: RE: Properties file

Create your own properties file and include it
in TR.properties. For example

include = MyProps.properties

Any properties put in there can be found using
the ResourceService





-Original Message-
From: Joe Sulewski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 4:53 PM
To: Jetspeed Users List
Subject: Properties file


Hello,

I wish to create a properties file that can be read by my portlets.
Where is the best place to put the properties file and how should I go
about finding the location of the properties file programmatically?

Thank you,

Joe




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: forum portlet

2002-05-21 Thread Steve

is Jyve still around? It was touted as a FAQ-o-matic; but it had many
behaviors of a Forum. It was built using Turbine. It still seems to be
available from Jakarta's CVS as jakarta-turbine-jyve. I have not downloaded
it recently, but the link is still there.

Steve B.

- Original Message -
From: "Brad Straw" <[EMAIL PROTECTED]>
To: ""Jetspeed Users List"" <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 6:19 AM
Subject: Re: forum portlet


> Check out the yazd forum at http://yazd.yasna.com/.  This is a forum
front-ended by jsp pages.  I converted this to a jetspeed portlet and it
seems to work just fine.
>
>
> "Josselin Lebret" <[EMAIL PROTECTED]> wrote:
>
> >I think Davide asked for free portlet forum... :)
> >- Original Message -
> >From: "anand" <[EMAIL PROTECTED]>
> >To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >Sent: Tuesday, May 21, 2002 1:44 PM
> >Subject: Re: forum portlet
> >
> >
> >> Of course it is not free ! Perhaps you can wirte to Jive's sales guys
> >their
> >> mail id is [EMAIL PROTECTED] and
> >> get a 3 months eval license for developing...It is one of the good
forum
> >> software to work with. in the market
> >>
> >> Josselin Lebret wrote:
> >>
> >> >Jive is not free!
> >> >- Original Message -
> >> >From: "anand" <[EMAIL PROTECTED]>
> >> >To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >> >Sent: Tuesday, May 21, 2002 12:24 PM
> >> >Subject: Re: forum portlet
> >> >
> >> >
> >> >>Ha David,
> >> >>
> >> >>If you want to develop a portlet with a forum there is this the best
> >> >>available forum for free developing http://www.jivesoftware.com
> >> >>
> >> >>-Anand
> >> >>
> >> >>
> >> >>Davide Mora wrote:
> >> >>
> >> >>>Hi,
> >> >>>
> >> >>>i need a forum, there something already developed for
> >> >>>this? Or i have to write my own?
> >> >>>
> >> >>>Regards,
> >> >>>Davide
> >> >>>
> >> >>>__
> >> >>>Do You Yahoo!?
> >> >>>LAUNCH - Your Yahoo! Music Experience
> >> >>>http://launch.yahoo.com
> >> >>>
> >> >>>--
> >> >>>To unsubscribe, e-mail:
> >> >>>
> >> ><mailto:[EMAIL PROTECTED]>
> >> >
> >> >>>For additional commands, e-mail:
> >> >>>
> >> ><mailto:[EMAIL PROTECTED]>
> >> >
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>--
> >> >>To unsubscribe, e-mail:
> >> >>
> >> ><mailto:[EMAIL PROTECTED]>
> >> >
> >> >>For additional commands, e-mail:
> >> >>
> >> ><mailto:[EMAIL PROTECTED]>
> >> >
> >> >
> >> >--
> >> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> __
> Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop@Netscape!
http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




Re: interportlet communication

2002-05-10 Thread Steve

Is the content which is being displayed in the portlets your own (as oppose
to
some public site which you cannot change)?

I use Jetspeed as a framework for my own apps. By creating features as
portlets, I allow user to pick and choose the features they would like to
use.
Because I control the HTML which will be displayed within the portlet, I
can do portlet-communication-type things. Specifically, I precede all my
links
with a portlet name constant. I have extended the HTML controller to look
through the parameters (pulled from the RunData object), and grab all the
parameters with the portlet's name as a prefix. I can then process those
parameters in my portlet.

For example, say I have 2 portlets. Portlet one is "MyLinks". It contains
a series of href's of my favorite links. When a user selects a link, I want
the URL contents to be displayed in a second portlet called "LinkView".
In "MyLinks" (using the standard HTMLportlet) all links point to the
Jetspeed URL, and the actual HTML-source is passed as a parameter
prepended with the target portlet name, ie "LinkView_http%3A%2f%2f
%2Enews%2Eyahoo%2Ecom". (Note the conversion of extended
characters into some url-safe format)

When the user selects a link, Jetspeed is called; this redraws the current
page. The LinkView portletController looks through the parameters and
finds the one beginning with "LinkView_". It strips off this prepended
string, then uses the remaining string as the URL actually fetched.

I am reciting this from memory, so I hope I have not skipped anything.
But at least I can assure you that it can work. The finess is all in the
portlet
controller.

Steve B.

- Original Message -
From: "Mani, Bharanidharan" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 10:19 AM
Subject: RE: interportlet communication


> Glen,
> Suppose that i have a link in one portlet. when you click that
link
> it should refresh or update the data on the other portlet... also
sometimes
> when i click on link on one portlet it should update the same portlet with
> the content from the link...
>
> hope i am clear..
>
> thanks
> bharani
>
> -Original Message-
> From: Glenn Golden [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 1:23 PM
> To: 'Jetspeed Users List'
> Subject: RE: interportlet communication
>
>
> Can you reply with a brief scenario that shows what it means to have
> "communication between two portlets"?
>
> Thanks!
>
> - Glenn
>
> > -Original Message-
> > From: Mani, Bharanidharan [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 10, 2002 1:07 PM
> > To: 'Jetspeed Users List'
> > Subject: interportlet communication
> >
> >
> > Hi ,
> >   I have two requirement. 1. I need to communication
> > between two portlet. 2. When i click on a link on one
> > portlet, it should display the content of the link in the
> > same portlet(i.e. refreshing the same portlet).
> >
> > I read that you can communicate between two portlets by
> > sharing the session object. But i am not sure how i should
> > proceed.. can someone tell me how to interportlet communication.
> >
> >
> > thanks
> > bharani
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-> [EMAIL PROTECTED]>
> > For
> > additional commands,
> > e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




Is it possible to select a layout or navigation from the url?

2002-02-21 Thread Steve

I am trying to create a layout which shows only the banner (dynamically defined based 
on whether or not the user is logged in). Is there a url or parameter which will let 
me "switch" to this layout?
ie http://localhost:8080/jetspeed/portal/layout/banneronly

TIA,

Steve B.



Re: making portlets always visible for new users

2002-02-07 Thread Steve

One of the Personal Portlet sites (I think it was My Yahoo!) implements this
in a way I thought would be useful...The user can add/delete/rearrange
portlets on the home page EXCEPT for the top left portlet and the bottom
right portlet (In their case, all pages were a 2- or 3-column page). These
portlets tended to contain "try this new feature" and sponsor content. I do
not recall if this applied to pages added by the user as well.

It seems to me that freezing only the first and last portlet on the page
would simplify the development of such a feature: Perhaps the controller (or
is it the control - I always mix up the terms ;) could say, "if I am in the
0,0 position, or in the x,100 (or some high number) position, do not display
the "close" icon. I am not familir enough with the customizer to know how
difficult it would be to implement there.

Steve B.

- Original Message -
From: "Brian Keller" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 5:23 AM
Subject: RE: making portlets always visible for new users


> I am looking for configurations of portlets for different user groups. We
> want some that are fixed, and many that are customizable for a particular
> set of users. Is there some group tag or other mechanism that would allow
> this sort of implementation?
>
> Brian
>
> -Original Message-
> From: Mark Nutter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 06, 2002 7:17 PM
> To: Jetspeed Users List
> Subject: Re: making portlets always visible for new users
>
>
> It seems to me that if you want a fixed portlet in a fixed location on
> the page, the best approach would be to embed it in the template as a
> macro/include rather than implementing it as a portlet.  Would there be
> any advantage to making it an actual portlet?  Unless of course you did
> want the user to be able to move it around on the page.
>
> Comments?
>
> Mark
>
> On Wed, 2002-02-06 at 17:18, Paul Spencer wrote:
> > Brian,
> > I see this as a very useful feature.  Some question on how you would use
> > and maintain a "locked" portlet
> >
> > 1) How would parameter on the portlet be maintained?
> >
> > 2) Would the user be allowed to reposition the portlet in their portal?
> >
> > 3) Do you envision a adding and removing these portlets from existing
> user?
> >
> > Paul Spencer
> >
> > Brian Keller wrote:
> >
> >  > Is it possible to lock a portlet for a set of users so they always
> > see it? I
> >  > know this goes against the typical usage of jetspeed, but it is a
> > necessary
> >  > feature for us.
> >  >
> >  > Thanks,
> >  > Brian
> >  >
> >  > --
> >  > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >  > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >  >
> >  >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




RE: Jetspeed release 1.3a2 candidate

2001-12-10 Thread Steve Davis

I'm not sure but the error you were getting looks similar
to the ones that happen when you have jaxp.jar in your classpath
instead of xerces.jar.  Look in your tomcat/lib directory
and make sure that the jaxp.jar that comes with tomcat is 
not there and that a version of xerces.jar is.  I don't know
if this is it or not but its worth a look.

-- Steve Davis

-Original Message-
From: John Wooten [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 1:57 PM
To: Jetspeed Users List
Subject: RE: Jetspeed release 1.3a2 candidate


I did all that.  I still get that error.


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




RE: Mime type for xls files

2001-11-14 Thread Steve Davis

We had this same problem but our setup was a little different.
We were serving all our documents from Apache web server and
connecting to Jetspeed on Tomcat through mod_jk on a Linux server.

Our problem was actually that the mime type file entry for Excel
did not have any extensions. So it was more of an Apache configuration
problem instead of a Jetspeed issue. I.E. in /etc/mime.types the
entry for Excel was "application/vnd.ms-excel" and we needed to 
change it to "application/vnd.ms-excelxls".

You do not say what Web Server you are using or if you are just
using Tomcat's web server.  If you are using Apache, look in 
your httpd.conf configuration file for the TypesConfig entry.
This should tell you where your mime.types file lives and you
can check the entry for Excel. 

We also had problems with the mime configuration of some 
Netscape 4.7x browsers for Excel but you should not have any
of those problems with IE. 

Don't know if this will help you out or not. It does sound like
it is a mime type issue somewhere. Good luck.

-- Steve Davis

-Original Message-
From: Funk, Lori K. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 8:48 AM
To: Jetspeed Users List
Subject: RE: Mime type for xls files


Paul,

Thanks for the reply.  I need to clarify that the only thing displayed
in the portlet is the link ( tag) to the excel file so it is
only html.  The link has a target of 'new', causing a new window to be
opened for the display of the excel file.  I have been successful
displaying MS Word documents this way from the same portlet and wonder
why I can't get excel files to display also.

Lori

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 6:47 AM
To: Jetspeed Users List
Subject: Re: Mime type for xls files


Lori,
I am assuming you are using either the HTML or WebPagePortlet portlet 
types to display the Excel file.  In that case, both of the portlet 
types require the content be HTML.

In the past I have used the HTML portlet type, although the 
WebPagePortlet should work, to include an simple html file that will 
display an SVG image, you may be able to do this with you Excel file.  I

can not find the source, but I think it used the  or  tag

to define the link the the SVG content, the plugging, and the height and

width of the "image".

Paul Spencer

Funk, Lori K. wrote:

> Hi,
> 
> My environment:
> jetspeed 1.3a2-dev
> jdk1.3.1
> windows 2000 pro
> IE 5.5
> 
> I am having trouble with an html link displayed in a web page portlet.
> The link is to an Excel file (.xls file extension).  When I click on
the
> link the raw text of the xls file is displayed rather than Microsoft
> Excel opening the document.  I can, however, open the document in a
> browser window (choosing the file) and get the correct display.
> 
> I have looked in email archives for apache, tomcat, jetspeed, and
> turbine and found only one other email of someone else having the
> question but no solution.  I have tried adding a mime-mapping
> (application/vnd.ms-excel or application/octet-stream) to web.xml,
I've
> tried adding a mime.types file that is referenced in the
> TurbineResources.properties (same mappings as tried in web.xml) but I
> still get just the raw text of the file. I am restarting apache each
> time I change the configuration.
> 
> It is unclear to me whether this is an issue with apache, catalina,
> jetspeed, or turbine especially since I have not found any discussion
of
> this issue on any of the mailing lists.
> 
> This should be easy but it hasn't been.  I appreciate any help you can
> provide.
> 
> Thanks
> Lori
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 
> 



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


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


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




Cannot run latest CVS

2001-08-27 Thread Steve Belt

Is anyone able to run the latest CVS? I just downloaded a fresh copy (deleted old 
folder and did fresh download) and compiled. I get a blanks screen other than the 
header and footer. I see in jetspeed.log the error below.

I looked in the mail archives and saw posts suggesting jaxp.jar and parser.jar - I do 
not have these anywhere in my classpath. I get this error on both my Linux machine as 
well as my Win2K machine. Is there somewhere I should be looking that I am not?

TIA,

Steve B.

[Mon Aug 27 15:59:52 PDT 2001] -- DEBUG -- template exists: 
C:\jakarta-tomcat-3.2.3\webapps\jetspeed\WEB-INF\templates\vm\screens\html\Home.vm 
returning /html/Home.vm
[Mon Aug 27 15:59:52 PDT 2001] -- DEBUG -- JetspeedTemplatePage: calculated template = 
/html/Home.vm
[Mon Aug 27 15:59:52 PDT 2001] -- INFO -- Created a CapabilityMap for agent:  
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
[Mon Aug 27 15:59:53 PDT 2001] -- DEBUG -- template exists: 
C:\jakarta-tomcat-3.2.3\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm 
returning /html/default.vm
[Mon Aug 27 15:59:53 PDT 2001] -- DEBUG -- JetspeedTemplatePage: layoutTemplate is 
finally /html/default.vm
[Mon Aug 27 15:59:55 PDT 2001] -- ERROR -- Error rendering Velocity template: 
screens/html/Home.vm: Invocation of method 'getPane' in  class 
org.apache.jetspeed.util.template.JetspeedTool threw exception class 
java.lang.ClassCastException : java.lang.String
[Mon Aug 27 15:59:55 PDT 2001] -- ERROR -- Error rendering Velocity template: 
screens/Error: Unable to find resource 'screens/Error'
[Mon Aug 27 15:59:55 PDT 2001] -- ERROR -- 
 Exception:  org.apache.turbine.util.TurbineException: Error rendering Velocity 
template: screens/Error: Unable to find resource 'screens/Error'
 Stack Trace follows:
 org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 
'screens/Error'
 at 
org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java:438)
 at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:734)
 at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:353)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:518)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:497)
rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity 
template: screens/Error: Unable to find resource 'screens/Error'
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:518)
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:484)
 at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:313)
 at 
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:146)
 at 
org.apache.turbine.modules.screens.VelocityDirectScreen.buildTemplate(VelocityDirectScreen.java:142)
 at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130)
 at org.apache.turbine.modules.Screen.build(Screen.java:99)
 at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129)




Re: Configuration Guide, request comments and suggestions

2001-08-25 Thread Steve Belt

I would love to see instructions on how I could make use of an OpenLDAP
server - assuming that's currently possible.

Steve B.

- Original Message -
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 5:24 PM
Subject: Configuration Guide, request comments and suggestions


> I am working on a configuration guide for Jetspeed.  The guide will
> include the following tasks:
>  o Install Jetspeed
>  o Configure and build PSML database
>  o Configure and build user database
>  o Define portlets in local-portlets
>  o Define skins in local-skins.xreg
>  o Define local controls and controllers in local-managers.xreg
>  o Define content feeds
>  o Configure default home page
>  o Define default portal for new users
>  o Define users
>  o Change admin and turbine passwords
>  o Define default portal for new users
>  o Set portlet caching and other refresh rates
>  o Set Jetspeed logging
>  o Enable e-mail confirmation
>  o Backup and Test
>
>
> Comments and suggestions are welcome.
>
> Paul Spencer
>
> -
> 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]




PATCH: was RE: Row Controller Velocity question

2001-07-19 Thread Steve Davis

Here you go Raphael,

This is the patch for row.vm.  I submitted a patch for 
URILookup.java a few days ago. Can you check in that
one as well?  I have included it again as an attachment
if the first one did not make it.

-- Steve Davis



Index: row.vm
===
RCS file:
/home/cvspublic/jakarta-jetspeed/webapp/WEB-INF/templates/vm/controllers
/html/row.vm,v
retrieving revision 1.1
diff -u -r1.1 row.vm
--- row.vm  2001/06/10 08:41:02 1.1
+++ row.vm  2001/07/19 14:27:10
@@ -1,12 +1,15 @@
+
 
 
 #foreach ( $portlet in $portlets )
 #if ($sizes.size() >= $velocityCount)
-  #set ($width = $!sizes.elementAt($velocityCount-1))
+  #set ($idx = $velocityCount - 1 )
+  #set ($width = $!sizes.elementAt($idx))
 #end
   
 $!portlet.getContent($data)
   
 #end
 
-
\ No newline at end of file
+
+




-Original Message-
From: Raphaƫl Luta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 5:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Row Controller Velocity question


Steve Davis wrote:

> Let me preface this by saying that I have almost zero
> experience with Velocity so I don't know if I found a 
> real bug or just a problem in my usage.
> 
> I am trying to display some portlets using the RowController.
> I set the column sizes to be 30% and 70% but it was not 
> setting the widths in the output table.  I added some debug 
> comments to the WEB-INF/templates/vm/controllers/html/row.vm 
> as follows:
> 
> 


It looks like a bug, send a diff -u patch.

Please.

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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


 URILookup.patch

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


Row Controller Velocity question

2001-07-18 Thread Steve Davis

Let me preface this by saying that I have almost zero
experience with Velocity so I don't know if I found a 
real bug or just a problem in my usage.

I am trying to display some portlets using the RowController.
I set the column sizes to be 30% and 70% but it was not 
setting the widths in the output table.  I added some debug 
comments to the WEB-INF/templates/vm/controllers/html/row.vm 
as follows:





#foreach ( $portlet in $portlets )


#if ($sizes.size() >= $velocityCount)


  #set ($width = $!sizes.elementAt($velocityCount-1))
#end
  
$!portlet.getContent($data)
  
#end




When I look at my displayed source for the page the debug
comments are






and then 







It looked like the Velocity code was not treating
the $velocityCount-1 as a number.  I added an 
intermeditate calculation as follows

#if ($sizes.size() >= $velocityCount)
  #set ($idx = $velocityCount - 1 )
  #set ($width = $!sizes.elementAt($idx))
#end

And this worked.  My question is this, is this a 
real bug or just some ignorance of Velocity on my
part? And if it is a bug do you want me to submit
a patch?

-- Steve Davis




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




RE: How can the user automatically login using a cookie?

2001-07-12 Thread Steve Davis

I think setting the cookie should be controlled by
the user. Kind of like the "remember me" check box
used by yahoo. Also the cookie attributes (expiration 
time, domain,..., etc) should all be configurable from 
the JR.p file.

I had this functionality (automatic login using
cookies) on my todo list for this week for the current
project I am working on.  I had the logic all worked
out on a previous servlet based portal implementation
I had worked on before I jumped onto the Jetspeed bandwagon.
I just need to tailor it to the Jetspeed system. I have 
already started modifying the sessionValidator.  I can submit 
my changes when I am done if you want.  

Probably sometime this weekend since I have some stuff
that is higher priority for today.  Or if somebody
wants to do it sooner I would be happy to test if
for them :).

By the way, I vaguely remember seeing something in the
code somewhere that does some password encryption. Is this
something I could leverage to encrypt the cookie.  If so,
could someone point me to the right place in the source
tree.

-- Steve Davis
-- Digital Evergreen Interactive


-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: How can the user automatically login using a cookie?


> >
> > logon.automatic=true
> >
> > Any ideas?
>
>
> You just need an alternate login action that sets a cookie
> with a uid/auth token
> (or simply uid if you don't care about security) and modify
> the sessionValidator
> to automatically log you in if you have the cookie set.
> Pretty easy really.

Super. That takes care of the implementation ;)

Do you think 'automatic logon' is an important feature to add to the
jetspeed distribution?
IMO, I think it is, although it should be optional, and not the default
behavior.

-
David Sean Taylor
[EMAIL PROTECTED]
-
http://jakarta.apache.org/jetspeed
-




> -Original Message-
> From: Raphael Luta [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 12:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How can the user automatically login using a cookie?
>
>
> David Sean Taylor wrote:
>
> >>Can a cookie(s) be used to automatically login a user?  This
> >>makes using
> >>Jetspeed as the user "homepage" convenient.
> >>
> >
> > Yes. Do you use excite or any of the other popular personal
> portals (yahoo)?
> > Im using MyExcite, and it always remembers to log me in to
> my personalized
> > page automatically.
> > I believe you just need to set a cookie with a long
> expiration time (or no
> > expiration).
> > The servlet cookie api is very easy.
> > This can be an option in Jetspeed - I just need to give it
> some thought as
> > to how it is configured and where the code should go.
> > Maybe in the JRP, something like:
> >
> > logon.automatic=true
> >
> > Any ideas?
>
>
> You just need an alternate login action that sets a cookie
> with a uid/auth token
> (or simply uid if you don't care about security) and modify
> the sessionValidator
> to automatically log you in if you have the cookie set.
> Pretty easy really.
>
>
> --
> Raphael Luta - [EMAIL PROTECTED]
> Vivendi Universal Networks - Paris
>
>
> -
> 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]


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




RE: Simple question I hope

2001-07-06 Thread Steve Davis

The way I do it is to get the RunData object in the default.jsp
and then check to see if the user is logged in.  If they are not
then I show the Login screen. I.E

<%@ import page = "org.apache.turbine.util.RunData" %>
   .
   .
   .
<% RunData rdata = (RunData) request.getAttribute("rundata"); %>
<% if ( rdata.getUser().hasLoggedIn() ) { %>
  Do something
<% } else { %>
  get login screen
<% } %>

-- Steve Davis

-Original Message-
From: Anthony Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 5:03 PM
To: [EMAIL PROTECTED]
Subject: Simple question I hope


I am new to JETSPEED but I have a quick question.
Once I access Jetspeed at:: http://localhost:8080/jetspeed/

How do I change from the starting page that asks me to log on to just
going straight to the log on.

I know that the first page is (in my case)
c:\jakarta-tomcat-3.2.2\webapps\jetspeed\WEB_INF\templates\jsp\layouts\h
tml\default.jsp

which is this file:

<%@ taglib uri='../../tld/template.tld' prefix='jetspeed' %>

  

  ">
  




  
">
  
  

  




  


  




  

  





I just want to be able to go straight to the login screen in order to
type in my user id and password
with out getting that other screen.

I think that this snippet has something to do with it:





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




RE: new user

2001-07-05 Thread Steve Davis

This looks like the classpath conflict that a lot of
people have been running across.  Make sure you do not
have parser.jar ( and jaxp.jar? ) in your path before
the xerces jar.  Someone on the mailing list had a
better description a few days ago so look back through
the archives and you will see it.

-- Steve

-Original Message-
From: Sumit Ranjan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 11:34 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: new user


hi david...
many thanx to you...now its working well
i can get the confirmation mail and now carry on with my project...

but on the jetspeed login pagejust helow the "home page" tag  i get
some
error descriptions.here they are..

org.apache.turbine.util.TurbineException: Error rendering Velocity
template:
/controls/html/jetspeed.vm: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class
java.lang.NoSuchMethodError

what are these ???
what do i have to do now to correct these ?

TIA
- Original Message -
From: "David Sean Taylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "'Sumit Ranjan'"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 11:17 PM
Subject: RE: new user


>
> > confirm.email.enable=false
>
> How do you expect to get an email if you have the confirm.email
feature
> turned off?
>
> Sumit, Could you please turn off the HTML EMAIL - Sorry I can't give
any
> prizes today - I have a hangover and its difficult to type too much
>
> -Original Message-
> From: Sumit Ranjan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 04, 2001 10:02 AM
> To: [EMAIL PROTECTED]
> Subject: new user
>
>
> hi all!
> i am trying to install jetspeed for last few daysbut i always
seem
> to get stuck at the point where the confirmation mail is to reach
me
>
> i am having...TOMCAT-3.2.2
>APACHE_1.3.11
>JETSPEED( from raphael's mail
> http://jakarta.apache.org/~raphael/jetspeed/jetspeed-latest.tgz  i
think
> it is version 1.3 2001/06/11 0
>   on WIN NT 4.0
>
>
> i have configured TR.P as
>   mail.smtp.from=   [EMAIL PROTECTED]
>
> and JR.P as
>#
> # Registration mail support #
> #
> mail.server=53.248.60.16
> confirm.email.from=   jetspeed@domain
> confirm.email.from=   [EMAIL PROTECTED]
> confirm.email.name=Jetspeed Postmaster
> confirm.email.subject=Jetspeed registration
> confirm.email.enable=false
>
>
> ...rest all settings are as they were...
> now when i try to create new useri don't even have to need the
secret
> key(i see in the db as user "confirmed"...is it due to "set
> auto-commit=true"  althogh the mail still does not reach me
!)..also i
> now do not get the secret key page rather i go to the page from where
i
can
> do editpage(of that user)...
>
>
> i am behind a firewall and this mailserver is the mailserver of my
> intranet...
> is it absolutely essential to have a local smtp server running in case
of
NT
> ???
>
>
> please help.
>
> TIA
>
>
>
>
>
> Sumit Ranjan
>
>


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




Exceptions on startup

2001-07-04 Thread Steve Crossan

Running: Jetspeed 1.3a1

Inside: Tomcat 3.2.2 release on Debian Linux

Successful compilation, followed all the installation instructions. on
loading localhost:8080/jetspeed I get the following

xception: java.lang.ClassNotFoundException: 

Requested Navigation not found: null
Turbine looked in the following modules.packages path: 
[org.apache.jetspeed.modules, org.apache.turbine.modules]

unfortunately I can't trace the code in this version of turbine because
AFAIK it's not shipped with Jetspeed. I guess ? maybe some properties file
is returning a null property as a Navigation object name? any clues? I've
scanned the documentation online including the config howto + the mail
archives.


Incidentally, although this is probably a red herring, I also tried
putting the jetspeed.war file into the latest tdk installation with
Turbine 4.0b5. Going to the home page gets this:

org.apache.jasper.JasperException: Unable to compile class for
JSP/home/java/tdk/./bin/../work/localhost/jetspeed/index_jsp.java:66: Incompatible
type for method. Explicit cast needed to convert java.lang.Throwable to
java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
 ^. 

TIA

Steve


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




Wanted: Advise on multiple layout configuration

2001-06-28 Thread Steve Davis

I want to have two layouts in my jetspeed application.  The first is
a login layout that has a top nav, login screen, and bottom nav. The
other layout is a top nav, left nav, screen with my portlets, and
bottom nav.  There will be a different portlet set for each link on
the left nav.

I have kind of a hacked version working with the Login layout as the
default layout but I have to specify the template on every link. I.E

http://localhost:8080/jetspeed/portal/template/Login

or


http://localhost:8080/jetspeed/portal/template/Home/page/somePSMLpage

and I had to change the layout/html/en/Login.jsp so that the form
action specifies the Home template otherwise it just loops back to the
same login page.

My question is this, is there a better method to accomplish this?
It is late here so maybe my thinking is just fuzzy and I will see 
clearer tomorrow but I can't think of a clean way to do what I want 
to do.  Thanks for any help.

-- Steve Davis

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




Database scripts out of date

2001-06-24 Thread Steve Davis

Could someone with CVS commit permission update the 
jakarta-jetspeed/src/sql/external directory to include the
latest scripts from jakarta-turbine/src/sql.  The current
scripts are not up to date for the version of Turbine that
is included in the CVS HEAD.

I am using mysql and there are 3 new scripts for Turbine 

mysql-id-table-schema.sql
mysql-turbine-id-table-init.sql
mysql-turbine-security.sql

in addition to 

mysql-turbine.sql

Turbine evidently needs an additional table "ID_TABLE" now to 
create or delete a user. I was playing around with the new user/roles 
admin and kept getting the following exception whenever I tried to
create or delete a user.

 Exception:  java.lang.reflect.InvocationTargetException
Stack Trace follows:
java.lang.reflect.InvocationTargetException:
java.sql.SQLException: General error: Table 'JETSPEED.ID_TABLE' doesn't
exist
at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:497)
at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:550)
at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java:635)
at org.gjt.mm.mysql.Connection.execSQL(Connection.java:882)
at org.gjt.mm.mysql.Connection.execSQL(Connection.java:815)
at org.gjt.mm.mysql.Statement.executeQuery(Statement.java:169)
at
org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Statement.java:78)
at com.workingdogs.village.Schema.schema(Schema.java:140)
at com.workingdogs.village.Schema.schema(Schema.java:107)
at com.workingdogs.village.DataSet.(DataSet.java:167)
at
com.workingdogs.village.TableDataSet.(TableDataSet.java:130)
at
org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1666)
at
org.apache.turbine.util.db.IDBroker.storeIDs(IDBroker.java:554)
at
org.apache.turbine.util.db.IDBroker.getNextIds(IDBroker.java:371)
at
org.apache.turbine.util.db.IDBroker.getIdAsBigDecimal(IDBroker.java:285)
at
org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:746)
at
org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:657)
at
org.apache.turbine.services.security.db.DBUserManager.createAccount(DBUs
erManager.java:399)

Thanks,

-- Steve Davis

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




RE: JetspeedProfilerService

2001-06-18 Thread Steve Davis

Ok, I think I have figured this one out. In the 
JetspeedProfilerService an extra "/" is being added
to the fullpath in the method locateTemplate. Evidently
the new servlet api can handle a path with a "//" in
in when doing a getServletContext().getRealPath. Where
the servlet api used for Tomcat 3.2.1 on Linux can 
not resolve the path.

The bug occurs because when templateRoot is defined
the code makes sure a PATH_SEPARATOR is appended if
there is not already one there. Then a "/" was hard
coded to be appended to this in locateTemplate when
computing the fullPath.  The patch to fix this is

## START PATCH #
 Index: JetspeedProfilerService.java
===
RCS file:
/home/cvspublic/jakarta-jetspeed/src/java/org/apache/jetspeed/services/p
rofiler/JetspeedProfilerService.java,v
retrieving revision 1.6
diff -u -r1.6 JetspeedProfilerService.java
--- JetspeedProfilerService.java2001/06/09 15:37:32 1.6
+++ JetspeedProfilerService.java2001/06/19 03:35:05
@@ -1051,7 +1051,7 @@
 
 StringBuffer fullPath = new StringBuffer( templateRoot );
 
-fullPath.append("/").append(getTemplateExtension(template));
+fullPath.append(getTemplateExtension(template));
 fullPath.append(resourceType);
 
 String basePath = fullPath.toString();
# END PATCH ##

I noticed that the JetspeedProfilerService was very inconsistent
on where it used PATH_SEPARATOR vs just a hard coded "/".  I
also made a patch where I replaced all the hard coded "/" with
PATH_SEPARATOR (See attached file for that patch).  Once I made
these patches I could drop the war file in webapps for both 
versions of Tomcat and it worked fine.

I would appreciate it if one of the commiters could add the
patch to CVS. Thanks.

-- Steve Davis



-Original Message-
From: Steve Davis
Sent: Mon 6/18/2001 2:30 PM
To: [EMAIL PROTECTED]
Cc: 
Subject: RE: JetspeedProfilerService

I get this same error when using Tomcat 3.2.1 but it 
works fine if I use the Tomcat 4.0-b6-dev that ships
with Turbine.  I am just dropping the jetspeed.war in
the webapps directory for both so the permissions on 
the psml and template files are the same.

I am still trying to debug why but if anyone with more 
jetpeed/tomcat experience wants to hazzard a guess as to
what the problem might be I would appreciate the help.

-- Steve Davis

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: JetspeedProfilerService


I've seen this happen on linux when you don't have read access to the
PSML
files. Make sure that you have read access to your templates and psml
directories.

I will verify it tonight when I have access to a linux machine

- Original Message -
From: "Berger, Jochen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 17, 2001 10:33 PM
Subject: AW: JetspeedProfilerService


> Hi,
>
> heres the relevant part of the jetspeed.log with DEBUG-Level:
>
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- INFO -- Created a
CapabilityMap
for
> agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- DEBUG -- JetspeedTemplatePage:
> requested template = /Home.jsp
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- INFO -- Created a
CapabilityMap
for
> agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- DEBUG -- JetspeedTemplatePage:
> calculated template = null
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- INFO -- Created a
CapabilityMap
for
> agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- ERROR --
Turbine.handleException:
> null
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- ERROR --
> Exception:  java.lang.NullPointerException
> Stack Trace follows:
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:377)
> at
>
org.apache.turbine.util.template.TemplateInfo.setTemp(TemplateInfo.java:
274)
> at
>
org.apache.turbine.util.template.TemplateInfo.setLayoutTemplate(Template
Info
> .java:184)
> at
>
org.apache.turbine.services.rundata.DefaultTurbineRunData.setLayoutTempl
ate(
> DefaultTurbineRunData.java:715)
> at
>
org.apache.jetspeed.modules.pages.JetspeedTemplatePage.doBuildAfterActio
n(Je
> tspeedTemplatePage.java:178)
> at
>
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:15
2)
> at org.apache.turbine.modules.Page.build(Page.java:90)
> at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> at 

RE: JetspeedProfilerService

2001-06-18 Thread Steve Davis

I get this same error when using Tomcat 3.2.1 but it 
works fine if I use the Tomcat 4.0-b6-dev that ships
with Turbine.  I am just dropping the jetspeed.war in
the webapps directory for both so the permissions on 
the psml and template files are the same.

I am still trying to debug why but if anyone with more 
jetpeed/tomcat experience wants to hazzard a guess as to
what the problem might be I would appreciate the help.

-- Steve Davis

-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: JetspeedProfilerService


I've seen this happen on linux when you don't have read access to the
PSML
files. Make sure that you have read access to your templates and psml
directories.

I will verify it tonight when I have access to a linux machine

- Original Message -
From: "Berger, Jochen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 17, 2001 10:33 PM
Subject: AW: JetspeedProfilerService


> Hi,
>
> heres the relevant part of the jetspeed.log with DEBUG-Level:
>
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- INFO -- Created a
CapabilityMap
for
> agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- DEBUG -- JetspeedTemplatePage:
> requested template = /Home.jsp
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- INFO -- Created a
CapabilityMap
for
> agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- DEBUG -- JetspeedTemplatePage:
> calculated template = null
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- INFO -- Created a
CapabilityMap
for
> agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- ERROR --
Turbine.handleException:
> null
> [Mon Jun 18 08:05:19 GMT+02:00 2001] -- ERROR --
> Exception:  java.lang.NullPointerException
> Stack Trace follows:
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:377)
> at
>
org.apache.turbine.util.template.TemplateInfo.setTemp(TemplateInfo.java:
274)
> at
>
org.apache.turbine.util.template.TemplateInfo.setLayoutTemplate(Template
Info
> .java:184)
> at
>
org.apache.turbine.services.rundata.DefaultTurbineRunData.setLayoutTempl
ate(
> DefaultTurbineRunData.java:715)
> at
>
org.apache.jetspeed.modules.pages.JetspeedTemplatePage.doBuildAfterActio
n(Je
> tspeedTemplatePage.java:178)
> at
>
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:15
2)
> at org.apache.turbine.modules.Page.build(Page.java:90)
> at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
> at org.apache.turbine.Turbine.doGet(Turbine.java:447)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at
>
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:50
0)
> at org.apache.tomcat.core.Handler.service(Handler.java:223)
> at
>
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
> at
>
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatch
erIm
> pl.java:252)
> at
>
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcher
Impl
> .java:172)
> at
>
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
20)
> at index_1._jspService(index_1.java:51)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> at
>
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:50
0)
> at org.apache.tomcat.core.Handler.service(Handler.java:223)
> at
>
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:78
> 8)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
> at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt
p10I
> nterceptor.java:143)
> at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:42
4)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.jav
> a:497)
> at java.lang.Thread.run(Thread.java:475)
>
> [Mon Jun 18 08:05:20 GMT+02:00 2001] -- INFO -- JetspeedJspLayout: set
> response content type to text/html
> [Mon Jun 18 08:05:20 GMT+02:00 2001] -- INFO -- JetspeedJspLayout: set
> 'screenJSP' to: /WEB-INF/templates/jsp/screensError
>

Jetspeed/Turbine examples

2001-06-07 Thread Steve Davis

Hi,
 
I am using Jetspeed to develop an intranet portal site but am getting
push
back from managers wanting to use "real" portal software (plumtree,
Epicentric,
iPlanet, etc).  I have made them understand that the unique business
logic for this
site means that the software development will still need to occur no
matter
what platform is chosen. 
 
Besides the examples given on
http://jakarta.apache.org/jetspeed/site/usejetspeed.html
 
and the Turbine examples given on
http://jakarta.apache.org/turbine/powered.html
  does 
anyone know of other sites that are up and running using Jetspeed or
Turbine that I could 
use as examples to bolster my argument?
 
Any help would be appreciated. Thanks.
 
Steven F. Davis
[EMAIL PROTECTED]
 


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