Re: User-browser broken? How to access user data?

2003-07-03 Thread Josh Hone
Hi Jeff -

Well, you've got me there.  It could be if you have added objects to the 
Turbine User's space in the database, then that user may not go away.  It 
could also mean the whole thing needs a restart.  For me, I have deleted the 
user with everything down, and the two steps I told you worked fine to 
delete a user on my laptop test distribution where I use Tomcat 4.1.3 and 
Jetspeed b3.

Josh Hone

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


Re: User-browser broken? How to access user data?

2003-07-02 Thread Josh Hone
Hi Jeff -

By hand you can remove their psml files in WEB-INF/psml and their entry in 
the jetspeed script in WEB-INF/db.  Then no record will exist of that user.  
Is this what you mean?

Josh Hone

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


XSL portlet refreshing fixed.

2003-06-25 Thread Josh Hone
Hi all -

Apparently one problem that just doesn't go away is what to do if you change 
the daemon configuration.  This solution has addressed my concerns in my 
earlier emails.  If the configuration of the feed daemon is changed, results 
will not be seen unless you stop Jetspeed and clean out WEB-INF/cache.  
Removal of those cached documents will then let you see the new effects 
after the feed ademon reloads its cache.

This issue has been one that has stumped me for a long time.  Maybe the 
daemons' design or interface need to be re-examined, since almost every 
issue I have been involved with concerning them has required me to waive 
multiple chickens in the air.  Some documentation should exist somewhere on 
their exact behavior instead of being skirted as it is, not to mention that 
this topic is completely sparse on the mail archives.

Thanks,
Josh Hone
_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


URGENT - Jetspeed project deployment in one month!

2003-06-25 Thread Josh Hone
Hi folks -

We have a jetspeed portal project we are set to deploy to a large group of 
physics users in one month.  There are two confusing behaviors that we have 
to solve immediately.  The first is the BBC feeds, which were working on our 
portal on the web until this morning.  Did anything happen to them?  The 
second is detailed in my last email to this group, which basically says that 
the feed daemon and the disk cache daemon are not reloading files.

This is very important, so any information would be most appreciated.

Thanks,
Josh Hone
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


XSL Portlets and Refreshing

2003-06-24 Thread Josh Hone
Hello all -

I am trying to solve a problem I attempted last summer but gave up on.  I 
have a portlet which translates an XML document on the web via an XSL 
stylesheet residing in Jetspeed into some important information concerning a 
batch submission system that the XML stream describes.  However, this 
portlet does not refresh itself very fast at all.  Today at 1125am EST June 
24th the portlet's content isonly valid as of 1025pm EST June 23rd.  The 
portlet configuration when the information button is pressed looks like 
this:

_TimeToLive: 15000
Portlet name: FSUBatchLoad
From URL: http://npgrid.fsu.edu/pbs/servlet/pbs.ServerXML
URL last updated: Jun 23, 2003 10:27:06 PM
URL expires: Jun 23, 2003 10:30:51 PM
Portlet last updated: Jun 24, 2003 11:24:37 AM
Some things should be noticed here.  When I created this portlet in 
local-portlets.xreg, I set time to live at 60, so I do not understand why it 
is 15000.  Second, the URL has expired but not been reloaded.  Since the 
portlet has been updated recently, the right info may be reflected in the 
portlet if the expired URL would just be reloaded.

The XML stream has been registered as a feed with the feed daemon, and a new 
document is created every 30 seconds or so.  The feed daemon has an interval 
of 10800 according to the admin portlets, and the disk cache daemon has an 
interval of 60.  If both these numbers are in seconds then the feed still 
would have reloaded since last night.

Basically I want the portlet to do a new translation every time it is 
requested without my having to design a Velocity portlet that does this.  
Does anyone have XSL portlets that continually update their content or any 
other ideas on how to fix this?

Josh Hone

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Upgrade PSML transport problem

2003-02-25 Thread Josh Hone
Hi all -

I am upgrading to the newest release version of Jetspeed from the old 
version.  My steps are the usual ones:  move my code, templates, extra 
files, config files, and psml into the new version and update the database 
script with my user set.  However, the old PSML doesn't seem to be 
transporting itself very well.

I have about 20 on-and-off users and so I need to keep their pages intact 
through the upgrade.  When I say it is not working, what I mean is this:  I 
simply move whatever I had in b2 for psml files for particular users to the 
appropriate area for b3, in WEB-INF/psml.  Then I log in as them to see and 
their home page looks nothing like it did.  In particular, I get a cascade 
of Home line-style tabs.

Ring any bells?
Thanks,
Josh Hone
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Simple Velocity class-finder problem

2002-11-06 Thread Josh Hone
Hi guys -

I have a really weird problem with a class just disappearing.  I register a 
VelocityPortlet with a regular entry in a local-portlets.xreg file, 
including its class name that says what it is, portlets.classname.  Then I 
put it in org..jetspeed.modules and add this to the JR.p.  Then when 
I try to use this class, it renders the template but the error I get says 
that the class loader cannot find the class.  The strangest thing is that it 
has worked, was working yesterday...I hadn't touched it to that point, I 
fired it up for a demo and it blanked on me.

Anyone ever run into this kind of thing, where you have the action class in 
the right place but the class loader cannot find it?  It even found it 
before, just not now... This is with the release 1.4 version.

Thanks a million,
Josh Hone


_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



RE: Problem with 1.42b installation of Jetspeed

2002-10-30 Thread Josh Hone

Has anyone run into a problem with the 1.42b installation of jetspeed.


I am currently running a 1.4b2 under tomcat 4.1.3 (i think), jdk1.4, apache 
something new... on the latest Linux distribution for a physics portal I am 
developing and it works fine for me.  I set up email registration, a defualt 
template for new users, and all I have to do now is make it do physics!! =)

On
startup jetspeed is falling to load of the .xreg files in the ./conf
directory.  A castorregistryservice.java loadfregment method, and exception
is thrown for every .xreg file it tries to read.  Going back the 1.41b
version of castorregistryservice.java seemed to resolve the problem.

brian



your environment can have a lot to do with it.  for example, i put an older 
version of jetspeed into an even older tomcat and the normally working SOAP 
stuff I had in it would not run, so I had to upgrade tomcat to make the 
jetspeed SOAP calls not crash.  Jetspeed maintains backwards compatibility 
with the registry XML, so that it can update/recognize old PSML.  I have 
also built the CVS head and it works fine, even when I add the old PSML from 
my last version into the xreg and other places where PSML is stored.

Josh Hone

_
Get a speedy connection with MSN Broadband.  Join now! 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



RE: PSML browser

2002-10-28 Thread Josh Hone
Hi Raphael -


Which release do you have this issue with ? It's most likely a Unix
newline issue.


I have this issue with every release I have ever built on this WinME system, 
though never on Linux, starting way back in May.

Josh Hone

_
Unlimited Internet access -- and 2 months free!  Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



RE: PSML browser

2002-10-27 Thread Josh Hone
Hi Raphael -

Thanks for the reply.

I set JAVA_HOME and use the scripts.  David Taylor said I needed JAX stuff 
in my classpath, and the JAX stuff does not come with Jetspeed because of 
the Sun licensing.  I haven't tried it yet.

I do have this one weird error whenever I use windows to try to build.  The 
scripts appear from my .zip file and I have to manually go in and add 
newline characters, since the way it comes out of the zip file there are 
always just black boxes in place of the newlines.  I take this to mean that 
it does not understand the newline character that is used.  I have no idea 
why except that I use notepad to open .bat files, but if I never open it 
with that and just try to run the script then I get the same error.

When I set JAVA_HOME and run the script build.bat right after unzipping it 
DOS will tell me that it is a bad command or file name.  After I go in and 
change the black boxes to newlines (basically hitting enter whenever I see a 
black box) then the script will run.  I have to do this in both 
setlocalpath.bat and build.bat.

I run in a WinME and so I attribute this bit of weirdness to that.
Opening the file with pico in a Linux environment reveals no problems like 
this with the scripts.

Josh Hone.



_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



Re: PSML browser

2002-10-25 Thread Josh Hone
Hi all -

I have been downloading the nightly builds all day trying to get one to 
compile so that I can find the PSML browser for admin.  However, the builds 
that I have been using all fail to compile with the errors that it cannot 
find some SAX classes and others in about 50 different instances.  I have 
tried on a Win ME and on the latest Linux.  What version of Jetspeed has 
this feature?  When was the last nightly build that people got to compile?  
And what is the problem with the compile?  I have the 1.3 jdk running.  
Usually there is no problem with me downloading and compiling though I have 
not done it yet for 1.4b2 versions...

TIA,
Josh Hone





_
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



RE: Parallel execution of portlet

2002-10-24 Thread Josh Hone
Hi all -

I have a relatively simple fix for velocity that allows selective parallel 
execution, so that you can select which portlets interact with each other.  
If you are familiar with velocity, it amounts to subdividing the Context.  
Interested?  Does this sound like what you need?

Josh Hone

_
Internet access plans that fit your lifestyle -- join MSN. 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



Portlet-spawning portlet

2002-10-23 Thread Josh Hone
Hi all -

This is basically a repost of something I asked about a while ago, but it 
got buried.  I am not really looking for solutions for this issue, just 
opinions on whether it is good portal practice, and maybe if anyone else has 
experimented with this.

I can write a portlet that creates other portlets in the registry.  I can 
make a template for this portlet so that the way that people would use this 
can be controlled.  The question is does this seem to violate the spirit of 
what is going on in the portal?

TIA,
Josh Hone

BTW, I sent in another post about some quick fixes to Jetspeed-Velocity 
out-of-the-box that can enhance interactivity both between people and 
portlets and between portlets.  Anyone care to hear/look at it?





_
Get a speedy connection with MSN Broadband.  Join now! 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



Portlet-spawning portlet

2002-10-20 Thread Josh Hone
Hi all -

I have a question about whether or not something I want to do is appropriate 
for a portal.  I want to have a portlet that spawns out other portlet.  
However, this seems to break some of the roles that an administrator is 
usually given.

Some people may have already done this.  Doing this would be akin to 
creating a personal registry, which is like a user being able to create 
their own instances of portlets with different parameters.  Things that are 
specified in the registry would be specified here, but it would do things 
like maybe reuse base portlet codes with other combinations of important 
attributes from other areas of my portal.

Josh Hone


_
Unlimited Internet access -- and 2 months free!  Try MSN. 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



Portlet-spawning portlet (the previous message with blank subject)

2002-10-19 Thread Josh Hone
Hi all -

Sorry about my last email with no subject line.  This is what it should have 
read.  I just forgot!

TIA,
Josh Hone





_
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



Quick velocity-jetspeed out-of-box fix

2002-10-19 Thread Josh Hone
Hi all -

I had an idea that could be a quick fix to some problems with Jetspeed 
out-of-the-box Velocity portlets.  There is at the beginning of using 
Jetspeed this problem that can make it hard to design interactivity
with your portal.  When you submit the simple Jetspeed-Velocity samples with 
changes, if you have more than one on the page, then a couple of things 
happen.

First, if you have templates with the same variable names, then the 
information that is submitted for a certain variable is put in with all 
portlets using templates with that same variable, thus sharing too much 
information potentially.

Second, if the velocity portlets that you have do not have their variables 
put back into the context, then they appear as $variableName and seem to 
forget their state until you leave the pane and come back to it.  So other 
velocity portlets on the page forget their state.

A simple fix is to include hidden parameters in the provided velocity 
templates that indicate a group or category the portlet is in.  Then, in the 
Action class, in doUpdate, there can be a simple if() statement at the top, 
which says that if the information submitted is something I should pay 
attention to, then I will pay attention to it.  If I am not supposed to pay 
attention to it, then I will just call buildNormalContext().

This then opens the door for a new portlet parameter, or the existing 
category/group ones, to determine which portlets share information with each 
other.

If this has been done already, or anything needs clarification, just let me 
know.  If anyone is interested, then it just takes the addition of a few 
lines to doUpdate and the templates to enact, and I can show you what I have 
odne in this regard.

R,
Josh Hone




_
Choose an Internet access plan right for you -- try MSN! 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>



Re: response time is slow

2002-10-01 Thread Josh Hone

Hi Paul -


>From: Paul Spencer <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Re: response time is slow
>Date: Mon, 30 Sep 2002 23:01:03 -0400
>
>You need to determine what is causing the slow response. Below are some of 
>the questions I usually ask.
>
>o Has the servlet container been restarted since you changed the TR.p 
>parameters?
>

I thought that jetspeed picked up all config changes over time.  Why would 
you need to restart tomcat if the servlet adapts?

Josh Hone

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Email user registration links not valid

2002-09-18 Thread Josh Hone

Hi all -

I turned on my email confirmation system but the link that is sent to the 
administrator for new user confirmation is not valid.  I think it is 
supposed to send you to the security part of an admin page, and to look at 
the user list.  However, clicking the link just takes me to the portal's 
main page.  I am logged in as administrator in one browser as I do this.

This is confusing since Velocity is supposed to take the current link style. 
  As it is the email renders the link the old way, without pane-ids and all 
that.

Could the problem be my HTTP settings for my browser not passing the fact 
that I am an admin to the next window it opens?

TIA,
Josh Hone

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: JR.prop duplicate booleans break...

2002-09-18 Thread Josh Hone

Hi Glenn -

That is very smart.  I will do that.

Thanks,
Josh

>From: "Glenn R. Golden" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: JR.prop duplicate booleans break...
>Date: Wed, 18 Sep 2002 09:54:28 -0400
>
>Josh -
>
>What I do is change the web.xml to point to my own properties file, put in 
>all my overrides, then include tr.p from my properties file.
>
>- Glenn
>
>On Wednesday, September 18, 2002, at 08:37  AM, Josh Hone wrote:
>
>>Hi Glenn -
>>
>>No, my version is not very new at all.  So my personal properties include 
>>in TR.p must be before the include of JR.p?
>>
>>Josh Hone
>>
>>
>>>From: Glenn Golden <[EMAIL PROTECTED]>
>>>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>>>To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
>>>Subject: RE: JR.prop duplicate booleans break...
>>>Date: Wed, 18 Sep 2002 08:25:24 -0400
>>>
>>>Josh -
>>>
>>>I just recently fixed this for Jetspeed properties (properties aimed at
>>>Turbine may not be done in this way), so that you can override the jr.p
>>>values in your own resources.properties.  Make sure your values come
>>>*first*.  The first setting will be used.
>>>
>>>Are you using the latest code from cvs?
>>>
>>>If you are running with this fix already in, let me know and I'll look 
>>>into
>>>it further.
>>>
>>>Thanks!
>>>
>>>Here's the cvs message from that checkin:
>>>
>>>* * * * * * * * * * * * * * *
>>>
>>>ggolden 2002/09/09 19:01:27
>>>
>>>   Modified:src/java/org/apache/jetspeed/services/resources
>>> JetspeedResources.java
>>>   Log:
>>>   When overriding settings in the JetspeedResources.properties (and
>>>TurbineResources.properties), we might want to set a value with our
>>>   site's setting, a value that is also set in the standard jr.p and tr.p
>>>distribution files.  It's nice to be able to use these files unchanged so 
>>>we
>>>can keep up easily
>>>   with Jetspeed development.
>>>
>>>   If the value we are setting is a string, this already works - the 
>>>first
>>>value set to
>>>   the property is used, so we can just do our settings before the 
>>>standard
>>>files
>>>   are read in.
>>>
>>>   If the value we are setting is a boolean, long, float, double, or int,
>>>this doesn't work - we get class cast exceptions.
>>>
>>>   JetspeedSecurity, which is used by Jetspeed code to access the
>>>configuration values, now catches these class cast exceptions, and also
>>>takes the calls to getString.  If there's an array of values, it will use
>>>the first one (it's the combination of the array of values that mess up 
>>>the
>>>reading without this).
>>>
>>>   Note: this only works for Jetspeed properties - turbine properties 
>>>don't
>>>use this
>>>   code.  Only string properties can be overridden by setting your site
>>>values first
>>>   for turbine properties.
>>>
>>>   Note: This code would be best deep inside turbine, but can live here 
>>>till
>>>Turbine
>>>   handles these cases.
>>>
>>>   Revision  ChangesPath
>>>   1.13  +322 -2
>>>jakarta-
>>>jetspeed/src/java/org/apache/jetspeed/services/resources/JetspeedRes
>>>ources.java
>>>
>>>   Index: JetspeedResources.java
>>>   ===
>>>   RCS file:
>>>/home/cvs/jakarta-
>>>jetspeed/src/java/org/apache/jetspeed/services/resources/J
>>>etspeedResources.java,v
>>>   retrieving revision 1.12
>>>   retrieving revision 1.13
>>>   diff -u -r1.12 -r1.13
>>>   --- JetspeedResources.java26 Jul 2002 01:47:21 -  1.12
>>>   +++ JetspeedResources.java10 Sep 2002 02:01:27 -  1.13
>>>   @@ -55,16 +55,22 @@
>>>package org.apache.jetspeed.services.resources;
>>>
>>>import org.apache.turbine.services.resources.TurbineResources;
>>>   +import org.apache.turbine.util.Log;
>>>
>>>/**
>>> * This class defines the Jetspeed properties keys.
&g

RE: JR.prop duplicate booleans break...

2002-09-18 Thread Josh Hone

Hi Glenn -

No, my version is not very new at all.  So my personal properties include in 
TR.p must be before the include of JR.p?

Josh Hone


>From: Glenn Golden <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
>Subject: RE: JR.prop duplicate booleans break...
>Date: Wed, 18 Sep 2002 08:25:24 -0400
>
>Josh -
>
>I just recently fixed this for Jetspeed properties (properties aimed at
>Turbine may not be done in this way), so that you can override the jr.p
>values in your own resources.properties.  Make sure your values come
>*first*.  The first setting will be used.
>
>Are you using the latest code from cvs?
>
>If you are running with this fix already in, let me know and I'll look into
>it further.
>
>Thanks!
>
>Here's the cvs message from that checkin:
>
>* * * * * * * * * * * * * * *
>
>ggolden 2002/09/09 19:01:27
>
>   Modified:src/java/org/apache/jetspeed/services/resources
> JetspeedResources.java
>   Log:
>   When overriding settings in the JetspeedResources.properties (and
>TurbineResources.properties), we might want to set a value with our
>   site's setting, a value that is also set in the standard jr.p and tr.p
>distribution files.  It's nice to be able to use these files unchanged so 
>we
>can keep up easily
>   with Jetspeed development.
>
>   If the value we are setting is a string, this already works - the first
>value set to
>   the property is used, so we can just do our settings before the standard
>files
>   are read in.
>
>   If the value we are setting is a boolean, long, float, double, or int,
>this doesn't work - we get class cast exceptions.
>
>   JetspeedSecurity, which is used by Jetspeed code to access the
>configuration values, now catches these class cast exceptions, and also
>takes the calls to getString.  If there's an array of values, it will use
>the first one (it's the combination of the array of values that mess up the
>reading without this).
>
>   Note: this only works for Jetspeed properties - turbine properties don't
>use this
>   code.  Only string properties can be overridden by setting your site
>values first
>   for turbine properties.
>
>   Note: This code would be best deep inside turbine, but can live here 
>till
>Turbine
>   handles these cases.
>
>   Revision  ChangesPath
>   1.13  +322 -2
>jakarta-jetspeed/src/java/org/apache/jetspeed/services/resources/JetspeedRes
>ources.java
>
>   Index: JetspeedResources.java
>   ===
>   RCS file:
>/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/resources/J
>etspeedResources.java,v
>   retrieving revision 1.12
>   retrieving revision 1.13
>   diff -u -r1.12 -r1.13
>   --- JetspeedResources.java  26 Jul 2002 01:47:21 -  1.12
>   +++ JetspeedResources.java  10 Sep 2002 02:01:27 -  1.13
>   @@ -55,16 +55,22 @@
>package org.apache.jetspeed.services.resources;
>
>import org.apache.turbine.services.resources.TurbineResources;
>   +import org.apache.turbine.util.Log;
>
>/**
> * This class defines the Jetspeed properties keys.
> * All properties can be retrieved using TurbineResources or
>JetspeedResources
>   - * directly
>   + * directly.
>   + *
>   + * This class also overrides the covers for many of the get routines.  
>It
>handles the cases
>   + * where we want a single value, perhaps as a boolean or float, but the
>configuration may have
>   + * an array of values.  In these cases, we let the first value override
>all the others and use it.
> *
> * @author mailto:[EMAIL PROTECTED]";>Kevin A. Burton
> * @author mailto:[EMAIL PROTECTED]";>Raphaël Luta
> * @author mailto:[EMAIL PROTECTED]";>Tom Adams
> * @author mailto:[EMAIL PROTECTED]";>Chris Kimpton
>   + * @author mailto:[EMAIL PROTECTED]";>Glenn R. Golden
> * @version $Id$
> */
>public class JetspeedResources extends TurbineResources {
>   @@ -156,7 +162,321 @@
> */
>public static final String PATH_PANEL_KEY = "select-panel";
>
>   +/**
>   + * The purpose of this method is to get the configuration resource
>   + * with the given name as a boolean value.
>   + *
>   + * @param name The resource name.
>   + * @return The value of the named resource as a boolean.
>   + */
>   +public static boolean getBoolean(String name)
>   +{
>   +try
>   +{
>

JR.prop duplicate booleans break...

2002-09-17 Thread Josh Hone

Hi all -

I have noticed that if I have duplicate boolean values for some properties 
that the machine gives you a horrible exception and does not like it at all. 
  It says that the value assigned to the property is not boolean.  Here is 
what I did:

I copied some properties from JR.p to my own properties files.  Then I 
edited some (for the email config) and restarted everything.  Upon opening 
the portal, I encountered the horrible exception for a property that was 
duplicated in both properties files.  It was the same both places.  I 
commented it out and restarted everything.  This time I was able to log in 
but again received a Horrible Exception, pointing to a property that I did 
alter.  Both times the error message was the same.

The issue was resolved as I removed the duplicate areas.  I deleted the ones 
I changed in my personal file from JR.p.  I also deleted the ones I did not 
change from my personal file.  Then the system works fine (I just have to 
get out of the firewall...).

Is this a bug?

I am interested in this mainly because for an upgrade of a jetspeed system, 
it is much easier to maintain your own properties files.  It gets much 
harder when you have to manually go into the default files to look for 
things to edit.  Not harder for me personally, but for whoever after me 
looks after this portal.

Josh Hone

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: LDAP based authentication

2002-09-06 Thread Josh Hone

Search the searchable user mailing list, which can be found from the main 
jetspeed page from a  link on the left that says resources.

Josh Hone


>From: "EMike" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: LDAP based authentication
>Date: Fri, 6 Sep 2002 10:23:22 +0200
>
>Hi all,
>
>(first of all, sorry for my english, i'm french)
>
>I'm wondering if one of you had already been successful in using an LDAP 
>directory to store users/passwords, and maybe more info about user 
>profiles.
>I'm trying to integrate Jetspeed and Slide in a project, and i'd like to 
>share user information between the 2 products (JS & Slide) via an LDAP 
>directory...
>
>Is it possible ? (theorically it is... i think)
>Any of you have any pointers to some docs or useful stuffs ?
>
>thanks all !!!




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Accessing Velocity Context Object in .vm file

2002-09-05 Thread Josh Hone

There is a set of objects that are automatically in any .vm file for 
jetspeed, but if you want to explicitly include a context, just go to your 
action class and take the context object and put it in the context like any 
other object.  This sounds too easy.  Have you already tried this?


>From: "Aliyar, Nishar" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Accessing Velocity Context Object in .vm file
>Date: Wed, 4 Sep 2002 16:54:49 +0200
>
>Hai All,
>
>  How I can access the org.apache.velocity.context.Context object in a .vm 
>file, dears.
>
>Looking forward
>
>Greetings,
>Nishar.
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: Setting security-id for portlet sets.

2002-08-30 Thread Josh Hone

James -

I believe that someone can alter their security-id since it is a parameter 
for the portlet.  what you need to do is attach a security role to the 
security-id that would not allow a user to have the ability to customize 
that aspect of their portlet.

For example, other parameters such as TimeToLive can be seen by any user as 
long as there is not security restriction on the parameter.  Once you place 
a security restriction on the parameter, a user must fit that profile to 
change it.  This is the way things were in the last release, maybe someone 
can chime in with their experience?

Josh


>From: "Locum, James" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Setting security-id for portlet sets.
>Date: Thu, 29 Aug 2002 10:19:57 -0400
>
>I am thinking of implementing a portal such that a user will have no
>customize ability for a project's main portal page.  In addition to this
>main page, a "user" pane will also be available (tab-pane) which will have
>full customization.  I've been able to set up the security ref's and .psml
>docs to reflect this.  The problem that I don't know how to fix is that the
>user has the ability to change the security-id for his "user" pane to a
>value that effectively removes his ability to customize or even view the
>pane.
>
>I can change the customizer-portletset-layout.vm template to restrict this
>behavior.  Is this an unforeseen bug, or am I missing some configuration
>know-how?  Is anybody else working on this?
>
>Thanks for any replies.
>
>Jim Locum
>ACS
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: jetspeed = slowspeed?

2002-08-29 Thread Josh Hone

But when you refresh are you bringing any new content up?  For my app, it is 
not worthwhile to refresh just to see the same old cached portlets.

Josh Hone


>From: [EMAIL PROTECTED]
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: jetspeed = slowspeed?
>Date: Thu, 29 Aug 2002 07:33:24 -0230
>
>
>Success!
>Just to follow up, I modified TurbineResources.properties and changed all
>logging from DEBUG to INFO.  I also enabled some more caching as follows:
>
>module.cache=true
>services.VelocityService.file.resource.loader.cache = true
>
>This has had quite a noticable affect. Page refreshes are now sub 1 second.
>I believe the caching is what did it.  The initial compile after restart is
>still over 2 minutes... but I think I can live with that.  Thanks for all
>the suggestions!
>Andrew
>
>
>
>   Werner Punz
>   <[EMAIL PROTECTED]>   To:   Jetspeed Users 
>List <[EMAIL PROTECTED]>
>cc:
>   08/28/02 02:26 PMSubject:  Re: jetspeed = 
>slowspeed?
>   Please respond to
>   "Jetspeed Users
>   List"
>
>
>
>
>
>
>Just a general note, to the speed, the others have given hints
>on how to speed things up already. The mentioned speed in the
>beginning of this thread is definitely not normal. I currently
>develop into a local jetspeed server and none of my portlets had a
>response time
>above more than a few miliseconds (tomcat 4.1 increased the speed
>which already was good in 3.3.x)
>
>First of all. The first startup takes a little bit of time since
>JSPs have to be compiled but after that it should run almost as fast
>as a normal JSP page, Velocity is close to non existent in the loading
>times. The speed difference between custom JSP pages an jetspeed
>portlets/portals is neglegtable from what I saw on my development
>system. Kudos to the Velocity/Jetspeed/Turbine developers for that they
>did one hell of a job.
>
>
>
>
>
>--
>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]>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: Absolute newbie conceptual question

2002-08-13 Thread Josh Hone

A good place to start is the searchable user mailing list that can be found 
from links under Resources from the main jetspeed page.  Past emails are 
archived there.

Josh Hone


>From: Q B <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Absolute newbie conceptual question
>Date: Tue, 13 Aug 2002 17:02:23 -0700 (PDT)
>
>
>Hi all,
>I've just joined this list, after I've downloaded and played with Jetspeed 
>1.4. I must admit that I'm a bit mystified by this product, and that's why 
>I'm forced to bug you with my questions.
>First, allow me to say that I'm quite familiar with frameworks in general. 
>I've been using a number of frameworks in the past three or four years, and 
>have even designed and built several frameworks of my own. Of the better 
>known ones, my favorite are Castor, Velocity, Struts, etc.
>However, when it comes to Jetspeed, I wasn't really able to make the heads 
>or tails out of it. Yes, I was able to get it to work with Tomcat 4 
>(although for some reason it failed to run under Resin 1.2.0). I was even 
>able to compile my first simple portlet and to drop it into the 
>local-portlets.xreg in the WEB-INF/conf folder. thus, i was able to add 
>this portlet while logged on as 'turbine' user. However, I get stuck after 
>that, as the framework does not behave as specified in the online tutorial. 
>After adding the portlet, it does not get displayed anywhere. At that 
>point, I get totally confused, and I'm forced to realize that I don't 
>understand this framework.
>To begin with, how do I create my own custom portal using Jetspeed? I'm not 
>so much interested in how to modify the Jetspeed portal, as I am in how to 
>create my own portal, so that I could fool around and learn about this 
>product.
>
>Once I learn how to build my own portal from scratch, I'd like to get 
>started on adding my portlets to it. Finally, I'd like to try my hand with 
>the syndication, and adding RSS.
>
>I would greatly appreciate if anyone could point me in the right direction, 
>as I'm utterly clueless here. I've tried to search for these instructions 
>on the web, but to no avail. For some reason, all the Jetspeed tutorial 
>teach how to modify the existing Jetspeed portal, which is pretty useless 
>to me.
>
>Thanks so much in advance!
>
>
>
>-
>Do You Yahoo!?
>HotJobs, a Yahoo! service - Search Thousands of New Jobs


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




RE: Two portlets communicting together

2002-08-02 Thread Josh Hone

Richard -

Velocity seems to be pretty unpopular lately on the mailing list, but this 
seems like exactly the kind of thing it is set up to do.  Velocity is a 
templating service, where you write a template that contains HTML and 
references to Java objects.  The objects that the template references must 
be put into the Velocity Context, and this is done by Action classes in code 
in your portal.

I recently finished a workaround that allows you to group portlets in the 
Context.  So, if you have for example one weather portlet and two user 
information portlets on the page, they will have their own group assignments 
already by configuration in the Registry.  Then when you submit a form for 
one portlet in the group, all others in that group on the page are updated 
with the new information.

Josh Hone


>From: Chris Widhelm <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
>Subject: RE: Two portlets communicting together
>Date: Thu, 1 Aug 2002 16:08:24 -0500
>
>If you are extending AbstractPortlet then your getContent method expects
>RunData.   You can use the RunData to get information from the request.
>
>   String parameterValue = runData.getRequest().getAttribute(
>"parameterName" );
>
>Just make sure that your links just use
>href="?param1=param1value¶m2=param2value".  This will cause the link to
>post to the same page while putting param1 and param2 onto the request.
>
>Hope this helps.
>
> > -Original Message-
> > From:   Richard Greenane [SMTP:[EMAIL PROTECTED]]
> > Sent:   Thursday, August 01, 2002 4:04 PM
> > To: [EMAIL PROTECTED]
> > Subject:Two portlets communicting together
> >
> > Hi there,
> >
> > I have written two portlets derived from AbstractPortlet. One portlet
> > makes calls to a backend architecture where it retrieves and displays
> > information. I would like the first portlet to have links around
> > particular pieces of data (i.e a persons name) and then when that link
> > is hit, the second portlet uses that name to get more information (i.e.
> > the persons address) and displays it in the second portlet.
> >
> > I guess what I really want is a way to send a POST request to the second
> > portlet, containing a parameter that can then be used to get the right
> > information from my backend. How do I find out what the correct link is
> > for the second portlet, and what happens if that second portlet is not
> > assigned to the pane, does the portlet display itself automatically?
> >
> > Has anyone done this before? I have read similar posts in the archive
> > but none solve my problem correctly.
> >
> > Sorry..lots of question I know :-)
> >
> > Many thanks in advance
> >
> > Richard
> >
> >
> > --
> > 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]>




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Jetspeed/Turbine DB problem on move to drop :8080

2002-07-25 Thread Josh Hone

Hi all -

I am in the process of trying to develop on localhost on my own Windows 
machine, and I would like to route all jetspeed requests through my Apache 
web server.  However, I get database errors when I try to do this that say 
that I cannot open one jetspeed instance (named jetspeed) because another 
instance (named jetspeeda3) is using the database.  Jetspeed and jetspeeda3 
are both applications that are deployed to my tomcat 4.1.3 container, and I 
have made sure that they use different databases.

I have registered the two apps with Tomcat in the server.xml file.  I have 
added the modules to Apache, created a warp connection, and aligned the 
connection with the applications as is standard.

So, accessing the apps through :8080 works fine with no DB trouble.  
However, trying to access it through port 80 is big trouble.

Any ideas?  I would imagine this is a common use but I cannot figure out why 
I cannot make it work.  I even tried making Aliases to where the files 
actually are on my file system and I get the same errors every time.

Josh Hone


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Site policy issues

2002-07-24 Thread Josh Hone

Hi all -

I have two general questions about policies for sites based on Jetspeed and 
I would like to get the opinions, knowledge, and experiences of this mailing 
list on them:

1.)  Data storage format:  You can mostly store personalizing data or 
portlet cuztomization data as strings in portlet parameters or as objects in 
the Velocity context with Jetspeed out of the box.  For example, I can 
remember my user's favorite sites as a collection of string parameters or as 
a Sites object that wraps an array of sites.  Which is the best general 
practice to use?  Is it situational?

2.)  What information do you find more practical to attach to a user as 
opposed to a portlet?

TIA,
Josh Hone




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




PSML compatability

2002-07-22 Thread Josh Hone

Hi all -

I just finished porting over Jetspeed from 1.3a3 to 1.4b1, and one of my 
steps is to copy the PSML files for each user to the appropriate folder.  I 
notice that Jetspeed updates registry XML whenever an old entry is lacking, 
for example,  when there is no previous URL.  
Will a similar mechanism exist for PSML be updated if old PSML files are 
brought into a newer Jetspeed version?

TIA,
Josh Hone

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Jetspeed link prompts "save to disk"

2002-07-22 Thread Josh Hone

Hi all -

I am wondering if anyone else has experienced a situation where they try to 
click on a Jetspeed link and the browser prompts to save the link to disk.  
Maybe this is an HTTP consequence, but it usually happens when I have done 
something wrong with Jetspeed.  Does anyone know what is happening here?

Josh Hone


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Updating Jetspeed versions

2002-07-16 Thread Josh Hone

Hi all -

It seems to be a pretty common use case to want to upgrade Jetspeed to newer 
versions while retaining user-personalized information.  I can port over 
portlets and new code, but retaining the community of users is what I am 
interested in.  Does anyone have some steps that they use to accomplish 
this?

Josh Hone



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: Interesting problem deploying a portlet

2002-07-13 Thread Josh Hone




>From: Joe Sulewski <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Interesting problem deploying a portlet
>Date: Fri, 12 Jul 2002 22:33:27 -0400
>
>Hello,
>
>I'm new to jetspeed so please bare with me. I created and successfully
>deployed the sample HelloPortlet example from the documentation. I added
>it to my classpath and everything worked fine. But when I try to change
>it by making it create a class in my classpath I get the following text
>in my portlet:
>
>org.apache.turbine.util.TurbineException: Error rendering Velocity
>template: /controls/html/jetspeed.vm: Invocation of method 'getContent'
>in class mysite.com.portlets.MyPortlet threw exception class
>java.lang.NoClassDefFoundError
>
>I'm running Tomcat 4.03 with Jdk1.3.1_03 on a Windows 2000 system. I
>didn't copy my class to jetspeeds web-inf/classes directory. Instead I
>jar'ed my classes into a jar file and put the jar file in:
>
>c:\jakarta-tomcat-4.0.3\webapps\jetspeed\WEB-INF\lib
>
>I looked at the jar file with winzip and I see my .class files. And if I
>take the code that creates an instance of my own class out it works just
>fine. But the moment I create my own class, whamo! I get the above
>message. So my question is as follows, how do I make Jetspeed see my own
>classes.
>
>Thanks for any help in this matter,
>Joe
>
>ps I did try copying my class directory structure to
>c:\jakarta-tomcat-4.0.3\webapps\jetspeed\WEB-INF\classes and removed my
>jar file from the lib and the same problem happened.
>
>If it helps here is my code:
>package mysite.com.portlets;
>
>import org.apache.jetspeed.portal.portlets.AbstractPortlet;
>import org.apache.turbine.util.RunData;
>import org.apache.ecs.ConcreteElement;
>import org.apache.ecs.StringElement;
>
>/**
>*
>* @author  administrator
>*/
>public class F1LivePortlet extends AbstractPortlet{
>
>public ConcreteElement getContent (RunData runData)
>{
>mysite.com.portlets.MyPortlet
>myPortlet=mysite.com.portlets.MyPortlet();
>//return (new StringElement(myPortlet.getContent());
>return (new StringElement ("Hello World"));
>}
>}
>
>
>
>application="false">
>
>My Portlet
>Sample of my Portlet
>
>mysite.com.portlets.MyPortlet
>
>
>
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


It could be a problem with 4.0.3, I would try 4.0.1 or 4.1.3 of tomcat.

Josh Hone

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Saving variables

2002-07-12 Thread Josh Hone

I asked the same question a few days ago and no one answered.  I tried to 
use get/set Perm to attach variables to a User.  This does not store 
anything persistently in Jetspeed but no one knows why.  I am using get/set 
Attribute which is stored separately with each portlet.  This saves 
variables for me quite well.

However, if you use velocity to set these variables, you will want to do the 
setting with customize panes since the GET or POST will set your variable 
for the entire set of portlets on the pane that you submit from.  Setting 
variables from the customize area means that you just submit information for 
the portlet that you are customizing.

Josh Hone


>From: Sandeep Nijsure <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Saving variables
>Date: Fri, 12 Jul 2002 18:54:40 -0500 (CDT)
>
>Hi all,
>
>If I want to preserve some variable value from one invocation of the
>portlet to another, would getAttribute()/setAttribute() help? Where do
>these methods store the values?
>
>Thanks,
>Sandeep
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




RE: Running Portlet in a child window

2002-07-12 Thread Josh Hone

Bob -

This is a permission, so it is not application-specific.  Its invoking 
application is Jetspeed.  If a user has the permission to detach a portlet 
then a button will appear in the title bar which they can click to have the 
contents of the portlet opened in a separate window.  However, I am not sure 
this works since for me it only appears if the user does not have close 
permission.  I really do not know how to make that button appear.  
Suggestions anyone?

Josh Hone


>From: "Bob Fleischman" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: RE: Running Portlet in a child window
>Date: Fri, 12 Jul 2002 18:10:18 -0400
>
>Thanks. I'll download the Javadoc from the sources and have alook.
>
>Do you know of any applications that use it?
>
>
>
>-Original Message-
>From: Josh Hone [mailto:[EMAIL PROTECTED]]
>Sent: Friday, July 12, 2002 3:00 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Running Portlet in a child window
>
>
>Detaching is the permission that opens a portlet up in a new window, I
>believe.  This sounds like what you are looking for.  I would look at the
>source documentation in Jetspeed javadocs for the Detach class.
>
>
> >From: <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: Running Portlet in a child window
> >Date: Fri, 12 Jul 2002 14:47:51 -0400
> >
> >I'm not sure I know what you mean by 'detaching.' Where can I read up on
> >this,
> >Turbine or Jetspeed?
> >
> >
> >
> >On Fri, 12 Jul 2002 13:51:14 -0400 Josh Hone <[EMAIL PROTECTED]> wrote:
> >
> >Do you mean detaching?  There is a permission for this but I cannot 
>figure
> >out how to make it appear.
> >
> >Josh Hone
> >
> >
> > >From: <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Running Portlet in a child window
> > >Date: Fri, 12 Jul 2002 11:42:24 -0400
> > >
> > >We are running Jetspeed 1.3a3 and Tomcat 3.3.1 and trying to popup a
> > >portlet
> > >in a child window on top of our main jetspeed window.
> > >
> > >Has anyone tried this out? Is there some sample code anyone can point 
>us
> > >at?
> > >
> > >Is this a Jetspeed or a Turbine issue?
> > >
> > >Thanks
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > ><mailto:[EMAIL PROTECTED]>
> > >For additional commands, e-mail:
> > ><mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> >
> >
> >_
> >Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
>
>
>
>
>_
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Updating jetspeed

2002-07-11 Thread Josh Hone

Hi all -

  So I guess my earlier question can be generalized to this:  How can I 
update jetspeed?  If I just build a war and stick it in my webapps 
directory, it will not give any new features to the existing application.

  The first time that you unpack jetspeed with the a3 version via tomcat, it 
generates many class files in web-inf/classes.  If I add the generated jar 
file to the web-inf/lib then jetspeed will still use those classes since it 
looks at web-inf/classes first.  If I delete the classes in web-inf/classes, 
then Jetspeed will use exclusively the jar file in web-inf/lib but will not 
run.

  I would like to be able to update Jetspeed without having to unpack a war 
and start from scratch with new users and portlets that I have to drag over 
from the older version.

TIA,
Josh Hone



_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Unpacking jetspeed

2002-07-11 Thread Josh Hone

Thanks for the reply:

I already have a jetspeed deployment that I would like to update with the 
newest war I can build.  So I go into web-inf/lib or web-inf/classes looking 
for classes that are new within the last couple of weeks, like 
services.persistence, but I cannot find them.  However, I know they were put 
into the war that I built, so the war must not be unpacking these classes to 
Jetspeed.  So when for example the local-portlets.xreg file is made so that 
unpacking a war will not override the portlets you already have, this 
assumes that the war will unpack files to an existing jetspeed deployment.

TIA,
Josh Hone


>From: "Brian J. Glas" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Re: Unpacking jetspeed
>Date: Thu, 11 Jul 2002 12:57:16 -0500
>
>What do you mean by "not there" ?
>When tomcat is started does the jetspeed.war file create a jetspeed dir 
>within the
>webapps dir?
>When Jetspeed is deployed in Tomcat, there are no classes to look through, 
>it is
>all collected into the Jetspeed jar file in jetspeed's lib directory when 
>the war
>is built.
>
>
>Josh Hone wrote:
>
> > Hi all -
> >
> > I built the Jetspeed war file with source from today but cannot get it 
>to
> > unpack.  I placed the war in the webapps directory of Tomcat but when I
> > check to see if anything new has been added like the 
>services.persistence
> > classes, they are not there.
> >
> > I have added some files of my own but this should not impede tomcat from
> > sending files to Jetspeed.  Anyone experienced this?
> >
> > TIA,
> > Josh Hone
> >
> > _
> > MSN Photos is the easiest way to share and print your photos:
> > http://photos.msn.com/support/worldwide.aspx
> >
> > --
> > To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>
>--
>Something witty?  How quaint...
>Brian J. Glas
>GSP Technologies
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Unpacking jetspeed

2002-07-11 Thread Josh Hone

Hi all -

I built the Jetspeed war file with source from today but cannot get it to 
unpack.  I placed the war in the webapps directory of Tomcat but when I 
check to see if anything new has been added like the services.persistence 
classes, they are not there.

I have added some files of my own but this should not impede tomcat from 
sending files to Jetspeed.  Anyone experienced this?

TIA,
Josh Hone


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: the .xreg files by code

2002-07-11 Thread Josh Hone

Look in the jetspeed javadocs around the Registry, Registry* classes.

Josh Hone


>From: "Raffaele Ragni" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: the .xreg files by code
>Date: Thu, 11 Jul 2002 15:52:01 +0200
>
>Hi, i'm trying to get (by code, obviously) the list of the portlets and 
>their information (those ones in the .xreg files, included portlet 
>parameters) anyone can help?




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Re: using setPerm()

2002-07-10 Thread Josh Hone

Hi all -

I have attached a simple example of using setPerm() adapted from the 
HelloAction example.  This example only uses get and set Perm() to get and 
set a test string and put it in the context.

The behavior is that once the test string is set within one session, the 
portal remembers what the test string is.  However, upon logouts or 
restarts, the portal has no memory of the test string and cannot retrieve it 
from permanent storage.

The jetspeed and velocity logs note nothing special and the files are all in 
folders where Jetspeed can find them.  I am using a version of a3 built two 
weeks ago and nothing else is "wrong" with it.  I suspect that I am not 
using the features provided correctly, but this is a very simple example 
that should work unless my understanding is way off.

Any thoughts?

TIA,
Josh Hone


  
  
Testing Persistent Storage
This tests persistent storage of objects by
attaching them to the user.
  
   org.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet
  
  
  
  
  
  


_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



PermTestAction.java
Description: Binary data


permtest.vm
Description: Binary data


permtest-customize.vm
Description: Binary data

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


Re: Using setPerm()

2002-07-10 Thread Josh Hone

Paul -

I am working with a3 built two weeks ago.

Josh Hone


>From: Paul Spencer <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Re: Using setPerm()
>Date: Tue, 09 Jul 2002 16:03:27 -0400
>
>Josh,
>
>Josh Hone wrote:
>
>>Paul -
>>
>>Thanks very much for your response.  However, the problem is precisely 
>>that when I do log out, the variable is not saved.  This variable is not 
>>one of the usual ones that are attached to a User; it is my own.  Does 
>>this mean that I have to extend the JetspeedUserProfile and Peer for the 
>>persistent storage to work?
>
>
>Anything in Perm should be saved in a "blob" written to the database. What 
>is the version and date you download Jetspeed?
>
>>
>>BTW, I put some turbine Log.info statements into the code to tell me what 
>>it was saving as the variable at different times.  These show me that the 
>>variable is saved correctly.  It goes into permanent storage and comes out 
>>of it fine during the same session.  However, during different sessions it 
>>forgets what the variable is.
>>
>>TIA,
>>Josh Hone
>>
>>
>
>
>Paul Spencer
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Using setPerm()

2002-07-09 Thread Josh Hone

Paul -

Thanks very much for your response.  However, the problem is precisely that 
when I do log out, the variable is not saved.  This variable is not one of 
the usual ones that are attached to a User; it is my own.  Does this mean 
that I have to extend the JetspeedUserProfile and Peer for the persistent 
storage to work?

BTW, I put some turbine Log.info statements into the code to tell me what it 
was saving as the variable at different times.  These show me that the 
variable is saved correctly.  It goes into permanent storage and comes out 
of it fine during the same session.  However, during different sessions it 
forgets what the variable is.

TIA,
Josh Hone


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Using setPerm()

2002-07-09 Thread Josh Hone

Hi all -

I am trying to set a persistent variable with 
rundata.getUser().setPerm(handle, object). However, I believe that I must 
have additional steps to do this since just making the function call does 
not set my object permanently.  Any tips?

TIA,

Josh Hone



_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: jetspeed1.3a2 install issue with poolservice in turbine

2002-07-09 Thread Josh Hone

OK, send out more detailed error info like a stack trace and maybe the steps 
that reproduce this error.


>From: miten mehta <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Re: jetspeed1.3a2 install issue with poolservice in turbine
>Date: Mon, 8 Jul 2002 18:31:56 -0700 (PDT)
>
>I have tried with catalina (tomcat) 4.0.1 and also
>with one that comes with latest j2ee and jwsdp kits
>does not seem to work.  There are few postings
>regarding problem I am discussing already on list but
>have not seen any solution.
>
>
>--- Josh Hone <[EMAIL PROTECTED]> wrote:
> > I havew been able to run jetspeeda2, a3 under the
> > following versions of
> > tomcat: 4.0.1, 4.1.3.  The 4.0.2 and 4.0.3 I think
> > are bad versions of
> > tomcat to use, this may be your problem.
> >
> > Josh Hone
> >
> >
> > >From: miten mehta <[EMAIL PROTECTED]>
> > >Reply-To: "Jetspeed Users List"
> > <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: jetspeed1.3a2 install issue with
> > poolservice in turbine
> > >Date: Mon, 8 Jul 2002 10:33:54 -0700 (PDT)
> > >
> > >sorry for resend just needed to change subjet to
> > a2.
> > >
> > >Hello,
> > >
> > >I have seen several postings about installation
> > >problems with 1.3a2 both src and bin distributions
> > on
> > >NT, jdk1.4 with tomcat in either jwsdp, j2ee or by
> > >itself.
> > >
> > >I also see few folks using it well without
> > problems.
> > >
> > >could one either verify if its a bug or did folks
> > did
> > >some home work and got it to work?
> > >
> > >__
> > >Do You Yahoo!?
> > >Sign up for SBC Yahoo! Dial - First Month Free
> > >http://sbc.yahoo.com
> > >
> > >--
> > >To unsubscribe, e-mail:
> >
> ><mailto:[EMAIL PROTECTED]>
> > >For additional commands, e-mail:
> > ><mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
>_
> > Join the world’s largest e-mail service with MSN
> > Hotmail.
> > http://www.hotmail.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
>__
>Do You Yahoo!?
>Sign up for SBC Yahoo! Dial - First Month Free
>http://sbc.yahoo.com
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: jetspeed1.3a2 install issue with poolservice in turbine

2002-07-08 Thread Josh Hone

I havew been able to run jetspeeda2, a3 under the following versions of 
tomcat: 4.0.1, 4.1.3.  The 4.0.2 and 4.0.3 I think are bad versions of 
tomcat to use, this may be your problem.

Josh Hone


>From: miten mehta <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: jetspeed1.3a2 install issue with poolservice in turbine
>Date: Mon, 8 Jul 2002 10:33:54 -0700 (PDT)
>
>sorry for resend just needed to change subjet to a2.
>
>Hello,
>
>I have seen several postings about installation
>problems with 1.3a2 both src and bin distributions on
>NT, jdk1.4 with tomcat in either jwsdp, j2ee or by
>itself.
>
>I also see few folks using it well without problems.
>
>could one either verify if its a bug or did folks did
>some home work and got it to work?
>
>__
>Do You Yahoo!?
>Sign up for SBC Yahoo! Dial - First Month Free
>http://sbc.yahoo.com
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: How to interact Velocity and Jetspeed?

2002-07-08 Thread Josh Hone

Did you try to use what you want in the Action class?  You can build a 
portlet from the rundata object that can then be used in the Action class.  
However, in general the portlet should be accessible in the way you 
described I believe.  I have not tried it, however, and probably the Action 
class is a better place to attach functions since it is the code behind the 
template.

Josh Hone


>From: Sandeep Nijsure <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How to interact Velocity and Jetspeed?
>Date: Mon, 8 Jul 2002 11:59:31 -0500 (CDT)
>
>Hi all,
>
>If my Jetspeed portlet has a method public ConcreteElement getFoo(), can
>it be called from a Velocity template (a .vm file?) I tried using
>$portlet.getFoo(), but that does not work.
>
>I suspect I can only use getContent(Rundata) and not any other method. But
>if I want multiple pieces of info. from the Java portlet code, how do I do
>it?
>
>Thanx a lot
>Sandeep
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




RE: Some Security Issues

2002-06-26 Thread Josh Hone

I believe "group" is another general restrictive term in Turbine security 
that Jetspeed uses for the moment.  However, you should search the archives 
for mention of the new security proposal.  This is very informative on how 
things are eventually going to be...

Josh Hone


>From: "Wimmer, Matthias" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
>Subject: RE: Some Security Issues
>Date: Wed, 26 Jun 2002 14:04:14 -0400
>
>Pat:
>
>I don't know. The only thing I found is this:
>
>http://jakarta.apache.org/jetspeed/site/portlet_config_common.html#Element:%
>20security
>
>best regards
>Matt
>
>
>
>
>
>
>-Original Message-
>From: Pat Ryan [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, June 26, 2002 12:58 PM
>To: Jetspeed Users List
>Subject: Re: Some Security Issues
>
>
>
>Is this documented somewhere?  Even in a different apache project, like
>Turbine
>perhaps?
>
>Thanks
>Pat
>
>
>"Wimmer, Matthias" wrote:
>
> > > I have some issues about security, could anyone tell me how to do?
> > >
> > > 1. Some users are wanted to be denied from accessing some certain
> > > portlets in jetspeed server.
> > Define an additional permission "seecertainportlets" and define an
> > additional role "privileged". Assign the permission to this role. Assign
> > this role only to the users that are allowed to see these certain
>portlets.
> >
> > Then you have to specify the required security level for each portlet in
>the
> > portlet registry. Add this line to the certain portlets:
> > 
> >
> > Have a look at admin.xreg to see how the developers did it.
> >
> > > 2. Besides the roles(admin/user) provided by jetspeed, can I define a
> > > role myself?
> > Yes. Log in as admin. Click Security -> Security Role Browser -> Add 
>Role
> >
> > > 3. how can I use the GROUP according to the present specification of
> > > jetspeed?
> > I have absolutely no idea! I also wonder what this group stuff is all
>about!
> >
> > good luck
> >
> > Matthias Wimmer
> >
> > --
> > 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]>
>




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Re: Multi Browser support

2002-06-22 Thread Josh Hone

As far as I know, there is another media type supported, WML.  This is 
intended to be a model for defining your own models for the media types you 
want to support.  As far as the browser support, Jetspeed uses plain HTML 
without any JavaScripting, as far as I know.  I have deployed a website to 
both a Linux community and on my own Windows machine and the portlets that I 
deployed work fine.  I think the way to make sure that Jetspeed can work in 
different browsers is to write portlets that are not browser specific, and 
the base set of portlets that come with Jetspeed provide that functionality.

Josh Hone

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Error Occured - Configuring Jetspeed with JSP

2002-06-22 Thread Josh Hone

The first thing I would suggest is to use 4.0.1 since many people have 
problems with 3.  The second thing is that I am not sure that that is the 
property you want to change if you want to shift from velocity.  There is a 
heavily intertwined mix of the two template services and I am not sure they 
can be decoupled inside Jetspeed just changing that one property.  In 
particular, I believe that property is used so that you can specify template 
definitions without appending an ending in the portlet registry.  However, I 
am not sure if it is well enough supported so that you can just make the 
switch by changing the property.  That would require equally named JSP 
templates that do everything velocity ones do.

Josh Hone


>From: "gueclan" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Error Occured - Configuring Jetspeed with JSP
>Date: Sat, 22 Jun 2002 13:55:25 +0800
>
>Hi,
>
>I'm new to Jetspeed and would appreciate if somebody could help me with 
>this:
>
>I'm using Tomcat 4.0.3 and Jetspeed-1.3a2.
>
>I wanted to use Jetspeed with JSP instead of Velocity and have changed the 
>attribute
>"services.TemplateService.default.extension=vm" to
>"services.TemplateService.default.extension=jsp" in the file 
>TurbineResources.properties.
>
>But when I restarted Tomcat and try to access index.asp, the following 
>error occurred:
>
>Error encountered processing a template: 
>/layouts/html/en/default.jspjavax.servlet.ServletException: 
>javax/xml/transform/Source at 
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
> 
>at org.apache.jsp.Home$jsp._jspService(Home$jsp.java:87) at 
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) 
>at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) 
>at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683) 
>at 
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 
>at 
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
> 
>at 
>org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:819) 
>at org.apache.jsp.default$jsp._jspService(default$jsp.java:176) at 
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) 
>at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) 
>at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683) 
>at 
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 
>at 
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
> 
>at 
>org.apache.turbine.services.jsp.TurbineJspService.handleRequest(TurbineJspService.java:191)
> 
>at 
>org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(JetspeedJspLayout.java:101)
> 
>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:166) 
>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:565) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683) 
>at 
>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
> 
>at 
>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
> 
>at 
>org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:414) 
>at org.apache.jsp.index$jsp._jspService(index$jsp.java:57) at 
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.jasper.servlet.JspServlet$JspServletW

Re: Security, panes, and "greyed-out" portlets

2002-06-15 Thread Josh Hone

To my knowledge they do not, and this seems to be prohibited since the only 
approach is to attach one security role to each portlet.  So, a portlet by 
definition would not support multiple versions of itself with different 
security roles attached.  You could maybe do this by defining new 
permissions and then attaching them to your portlet.  Then the various roles 
you would have could be attached to users as they progress in payment, and 
these new roles could have the permissions to do new things.  However, I 
have no idea how to write new permissions.

Josh Hone
Florida State University
Physics Dept.

>From: [EMAIL PROTECTED] (Brad Straw)
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] ("Jetspeed Users List")
>Subject: Security, panes, and "greyed-out" portlets
>Date: Fri, 14 Jun 2002 15:27:31 -0400
>
>Does jetspeed/turbine support a feature where users who have not been 
>granted access to a portlet, get to see a disabled/greyed out version of 
>the portlet.  Abstracting one layer -- the same with panes.  The user sees 
>a tab for each pane but can only access those panes to which he has been 
>authorized.
>
>This would be particularly usefull in an environment where users subscribe 
>to various portlets or entire groups of portlets (panes).  New features can 
>be identified and displayed in the portal but unless the user subscribes to 
>the new features ($$), the user can't use those features.
>
>If so, could anybody shed some light on the approach?
>
>
>__
>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]>
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: frame portlet & security

2002-06-15 Thread Josh Hone

i only know the answer to 1.) since 2.) is hard to unplug since it was a 
jakarta project.  It is being revamped in the next release so it can be 
easily unplugged.  1.) can be answered by downloading and building the 
version 1.3a3 and using the IFRAME portlet.  This uses the tag  
which you have to use in HTML to include frames inside the body tag.

Josh Hone
Florida State University
Physics Dept.


>From: "jose saloio" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: frame portlet & security
>Date: Fri, 14 Jun 2002 18:08:36 +0200
>
>hi,
>I have two problems :
>
>1. How can I use the  in the portlet ? When I write :
>" 
>CallJSPFrame
>
>
>
>   
>   
>
>
>
>"
>and I call this JSP¨:"CallJSPFrame" and nothing display in my portal 
>(Jetpeed 1.3a2).
>
>2. I write a login_JSP (for the connextion at portal) and I want use my JSP 
>and no the Jetspeed Login (by default). How I do ? What's file I do modify 
>?
>
>Thank you,
>jose.
>
>_
>Envoyez et recevez des messages Hotmail sur votre périphérique mobile : 
>http://mobile.msn.com
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: ClassNotFound exception

2002-06-15 Thread Josh Hone

I have never had a problem getting classes to load from web-inf/classes.  I 
think it may be your tomcat version since 4.0.3 never worked for me but i 
have never had a problem with 4.0.1.

Josh Hone
Florida State University
Physics Dept.


>From: Shan Gopalakrishnan <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: ClassNotFound exception
>Date: Fri, 14 Jun 2002 12:00:38 -0700
>
>I'm getting this problem just in Tomcat 4.x . Hopefully I can figure out..
>still investigating.
>At 11:34 AM 6/14/2002 -0700, Todd Kuebler wrote:
>
>>In fact jar file loading requires the same directory structure you
>>describe, classloaders generally work on this principle and always
>>have.  Basic Java stuff.
>>
>>Since putting the classes in a correct directory structure is my default
>>behavior but I haven't gotten it to work,  I think it is at least
>>partially dependant on your JVM/Tomcat version or perhaps was a problem
>>with Jetspeed that is now fixed.  My comment was, Jar files always work,
>>so I use them.
>>
>>
>>-tk
>>
>>At 12:53 PM 6/14/2002 -0500, you wrote:
>>>I use the WEB-INF/classes pretty extensively for developing.  The trick I
>>>found that made it work for
>>>me is that if you are going to compile a file with the name
>>>"yourfile.class" that has the package
>>>name "com.cisco.esales.modules", your class file needs to be a directory
>>>structure similar to the
>>>following example:  
>>>"WEB-INF/classes/com/cisco/esales/modules/yourfile.class"
>>>
>>>Brian
>>>
>>>Todd Kuebler wrote:
>>>
>>> > I've never gotten WEB-INF/classes to work, I have just jar'ed up the
>>> > classes and put them in WEB-INF/lib, which works fine.  Don't know if 
>>>this
>>> > is a known bug or not.
>>> >
>>> > -tk
>>> >
>>> > At 09:33 AM 6/14/2002 -0700, Shan Gopalakrishnan wrote:
>>> > >Hi
>>> > >
>>> > >I'm using Tomcat 4.0.3 and Jetspeed lastest nightly build.
>>> > >
>>> > >Although I deploy my actions in the WEB-INF/classes and have the 
>>>module
>>> > >package specified in the Turbine.properties,
>>> > >it fails to load the action classes throwing ClassNotFoundException.
>>>below
>>> > >is some of the stack error.   The package names everything
>>> > >looks fine. do I miss anything.
>>> > >
>>> > >
>>> > >java.lang.ClassNotFoundException:
>>> > >
>>> > > Requested Action not found: bookings.MySalesStatisticsAction
>>> > > Turbine looked in the following modules.packages path:
>>> > > [com.cisco.esales.modules, org.apache.jetspeed.modules,
>>> > > org.apache.turbine.modules]
>>> > >
>>> > > at
>>> > >
>>>org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
>>> > > at
>>> > > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
>>> > > at
>>> > >
>>>com.cisco.esales.portlets.ESalesBasePortlet.buildContext(ESalesBasePortlet.java:456)
>>> > > at
>>> > >
>>>com.cisco.esales.portlets.ESalesBasePortlet.getContent(ESalesBasePortlet.java:538)
>>> > > at
>>> > >
>>>org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(PortletWrapper.java:139)
>>> > > at java.lang.reflect.Method.invoke(Native Method)
>>> > > at
>>> > >
>>>org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:259)
>>> > > at
>>> > >
>>>org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
>>> > > at
>>> > >
>>>org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
>>> > > at
>>> > >
>>>org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
>>> > > at
>>> > >
>>>org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
>>> > > at
>>> > >
>>>org.apache.velocity.ru

Re: Reusing WebPagePortlet?

2002-06-13 Thread Josh Hone

Remember to add a media-type tag with html or wml or something as the value.


>From: "Michael Griffith" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
>Subject: Reusing WebPagePortlet?
>Date: Thu, 13 Jun 2002 14:40:20 -0500
>
>Trying to expand on how the Javasoft portlet displays, I created an entry 
>in
>demo-portlets.xreg for jguru.com that looks like this:
>
>parent="WebPagePortlet" application="false">
>
>Java Guru
>Java Guru
>
>
>http://www.jguru.com/
>sites.companies.sun
>
>
>The portlet displays in the list of entries, and even shows *some* html
>sometimes -- most of the time it does not return anything... Am I missing
>the point?
>
>TIA
>
>MG
>
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Re: SOAP and Jetspeed

2002-06-11 Thread Josh Hone

A few thoughts:

1.)  I wonder if you should write a new portlet for every SOAP service or 
collection of services.  I am probably going to try to create a general 
WebServicePortlet that abstracts these things so that you create instances 
of Web Services just like you create instances of HTML, RSS, etc.

2.)  This really calls into play the question of where the actual code in a 
portlet should be.  I am planning on putting the logic into Action classes, 
to take advantage of the interactivity Velocity provides.  So, I will 
probably have a generic Web Service Action that a velocity portlet action 
can implement.

3.)  Can anyone answer my original question of why activation.jar had to be 
deployed into Jetspeed for my calls to be made?  I am wondering why putting 
it into Tomcat's common/lib area was not enough.  Maybe it is not really 
common...

Josh Hone
Florida State University
Physics Dept.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




SOAP and Jetspeed

2002-06-11 Thread Josh Hone

Hi all -

I am using a simple SOAP call to a simple service defined on a Tomcat web 
server.  A lot of documentation I read said that if you simply put all the 
jar files you need to work with SOAP 2.2 (activation, crimson, mail, xerces, 
jaxp, and soap) into Tomcat (with everything deployed into common/lib except 
soap.jar) then your application would work fine.  However, my app would not 
make the calls until I put activation.jar into Jetspeed at web-inf/lib.  I 
kept getting the error message that said that it could not resolve a 
namespace URI with &apos:xsd', which made no sense to me.

So now I am working on other aspects of Velocity interfacing to SOAP, but I 
am wondering about the interaction here.  Why did Jetspeed need 
activation.jar added?

Josh Hone
Physics Dept.
Florida State University



_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: Automatic refreshing of the portlet's content

2002-06-10 Thread Josh Hone

I found the refresh() function in a turbine RefreshableCachedObject class.  
However, I have no idea where it is used.  I think that it is simply used to 
rebuild the portlet for a user if no user has accessed  it within the 
TimeToLive value, but again I have not seen that in code anywhere.  A 
portlet that expires is rebuilt with something else I think.

>From: "Raffaele Ragni" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: Automatic refreshing of the portlet's content
>Date: Mon, 10 Jun 2002 17:10:41 +0200
>
>i tink there is $jlink.setPanel(name>) or something like that, i've seen it used in the admin portlets, and 
>mayby its done for this job of refreshing.




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: Regarding Permissions and 'Add Portlet' section

2002-06-10 Thread Josh Hone




>From: KARTHIKEYAN E S <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Regarding Permissions and 'Add Portlet' section
>Date: Mon, 10 Jun 2002 15:45:02 +0200
>
>Hi all.
>
>I would be grateful to you for helping me to solve the following issues.
>
>1) I need to give permissions at the portlet level like
>
>some portlets may have all the permissions.
>
>some portlets should not have permission to "Close" , "Minimize" and
>"Customize".
>
There is no way to bind permissions to portlets.  You just bind one role to 
a portlet and then anyone with that role can add the portlet.  Since the 
permissions granted to a user are the logical sum of all permissions allowed 
by every role they have, you cannot assign a role to a portlet that will 
guarantee that a permission will not be granted.

>2) We all know that portlets are added to the screen by clicking the 'Add
>Portlet' button in the Customization section. Let us assume the following
>scenario. I have portlets A,B,C and D and users Turbine and Tommy. When
>Turbine clicks the 'Add portlet' button, all the portlets A,B,C and D are
>shown. When Tommy clicks the 'Add Portlet' button ONLY A and B need to be
>shown because Tommy doesn't have anything to do with the functionality of
>Portlets C and D.
>
You are only shown those portlets that for which you have the role.  So, 
assign A and B one role and C and D another role (with the  tag).  
Then which portlets a user has access to is determined by the roles given to 
them.



>I think this may be possible with Jetspeed because when Turbine is assigned
>with the additional role 'Admin', the admin portlets like Permission
>Browser, Permission etc are shown in the 'Add Portlet' section which were
>not displayed when Turbine user didn't have 'admin' role.
>
>Thanking you in advance.
>
>with Thanks&Regards,
>Karthikeyan
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: VelocityPortletAction

2002-06-09 Thread Josh Hone

I have never gotten 4.0.3 to work, but I have never had problems with 4.0.1 
of tomcat.


>From: "Raffaele Ragni" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: VelocityPortletAction
>Date: Sun, 9 Jun 2002 10:57:24 +0200
>
>Both 4.0.3 and 3."something" of tomcat, the first on win98, second on winXP
>the first times it worked, but after a bit, dunno why it stopped to work.
>
>- Original Message -
>From: "Josh Hone" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, June 09, 2002 1:57 AM
>Subject: Re: VelocityPortletAction
>
>
> > I think it should be looking for modules.actions in the log file, but I
>have
> > not ever experienced a problem placing in an action class.  What 
>versions
>do
> > you use?
> >
> > Josh Hone
> >
> > >From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Subject: VelocityPortletAction
> > >Date: Sat, 8 Jun 2002 22:43:45 +0200
> > >
> > >I use this class with vm files, vm file works, but tomcat cant find the
> > >class. i put it on the
>classes/org/apache/jetspeed/modules/actions/portlets
> > >dir, and referencing on it by portlets.
> > >mayby i should put something on the package statement? or i can set 
>what
>i
> > >want there?
> > >
> > >here a bit of log:
> > >
> > >Requested Action not found: portlets.ProvaDB
> > >
> > >Turbine looked in the following modules.packages path:
> > >
> > >[org.apache.jetspeed.modules, org.apache.turbine.modules]
> > >
> > >Stack Trace follows:
> > >
> > >java.lang.ClassNotFoundException:
> > >
> > >Requested Action not found: portlets.ProvaDB
> > >
> > >Turbine looked in the following modules.packages path:
> > >
> > >[org.apache.jetspeed.modules, org.apache.turbine.modules]
> > >
> > >at ...
> > >
> >
> >
> >
> >
> > _
> > Join the world's largest e-mail service with MSN Hotmail.
> > http://www.hotmail.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]>
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: VelocityPortletAction

2002-06-08 Thread Josh Hone

I think it should be looking for modules.actions in the log file, but I have 
not ever experienced a problem placing in an action class.  What versions do 
you use?

Josh Hone

>From: "Raffaele Ragni" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: VelocityPortletAction
>Date: Sat, 8 Jun 2002 22:43:45 +0200
>
>I use this class with vm files, vm file works, but tomcat cant find the 
>class. i put it on the classes/org/apache/jetspeed/modules/actions/portlets 
>dir, and referencing on it by portlets.
>mayby i should put something on the package statement? or i can set what i 
>want there?
>
>here a bit of log:
>
>Requested Action not found: portlets.ProvaDB
>
>Turbine looked in the following modules.packages path:
>
>[org.apache.jetspeed.modules, org.apache.turbine.modules]
>
>Stack Trace follows:
>
>java.lang.ClassNotFoundException:
>
>Requested Action not found: portlets.ProvaDB
>
>Turbine looked in the following modules.packages path:
>
>[org.apache.jetspeed.modules, org.apache.turbine.modules]
>
>at ...
>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: portlet title localization

2002-06-07 Thread Josh Hone

I believe that the title appearing in the title bar is set by the 
information in the  tag in the portlet registry.  Is this what 
you mean?

Josh Hone
Physics Dept.
Florida State University


>From: Casagrande Matteo-ACM117 <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>,
>"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: portlet title localization
>Date: Fri, 7 Jun 2002 10:36:31 +0200
>
>
>Hi All,
>
>does someone know how to localize the title of the portlets?
>I try to see in jetspeed.vm but I don't know the syntax and if is possible.
>($l10n. and $portlet.Title)
>If isn't possible, how can I solve this problem?
>thanks,
>  matteo
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Re: Please help...can't get Jetspeed to run

2002-06-07 Thread Josh Hone

Hi,
1.)  Use Tomcat 4.0.1 (I never could get 4.0.3 to work fully) and it should 
deploy.
2.)  Make sure the mappings in the WEB-INF/web.xml file match what you are 
naming your application.
3.)  Use the searchable user mailing list from jakarta.apache.org/jetspeed 
(this is found by clicking resources on the left side of the home page) to 
search by keyword for specific areas of the problem.


>From: "Michael F. Collins, III" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Please help...can't get Jetspeed to run
>Date: Thu, 6 Jun 2002 21:11:21 -0700
>
>Hi. I am new to Jetspeed and am trying to get it to run out of the box.  I
>am attempting to load Jetspeed into JBoss 3.0 with Tomcat 4.0.3 embedded
>inside of it.  I place the Jetspeed.war file into the deployment directory
>and it deploys, but I get the following error.  I cannot get past this
>problem.  Does anyone know what I should do?
>
>Thanks.
>
>2002-06-06 21:07:43,162 INFO  [STDOUT] (!) NOTICE: init
>2002-06-06 21:07:43,162 INFO  [STDOUT] (!) NOTICE: ServiceBroker:
>LoggingService enabled.
>2002-06-06 21:07:43,172 INFO  [STDOUT] (!) NOTICE: Turbine: init() failed:
>org.apache.turbine.services.InitializationException: Can't load file
>null/WEB-INF/conf/TurbineResources.properties
>   at
>org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
>ourceService.java:170)
>   at
>org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
>ourceService.java:124)
>   at
>org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
>java:150)
>   at
>org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
>java:141)
>   at
>org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
>ces.java:180)
>   at org.apache.turbine.Turbine.init(Turbine.java:223)
>   at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
>6)
>   at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
>   at
>org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
>3266)
>   at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
>   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
>   at
>org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa
>talinaServiceSX.java:321)
>   at
>org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal
>inaServiceSX.java:238)
>   at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
>   at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
>   at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
>cher.java:284)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
>   at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
>   at $Proxy4.deploy(Unknown Source)
>   at
>org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
>r.java:405)
>   at
>org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
>tScanner.java:586)
>   at
>org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
>java:465)
>   at
>org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
>stractDeploymentScanner.java:202)
>   at
>org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
>tractDeploymentScanner.java:191)
>
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>
>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Hello, newbie questions

2002-06-06 Thread Josh Hone




>From: "Jiles McCoy" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Hello, newbie questions
>Date: Thu, 6 Jun 2002 09:01:52 -0700
>
>Hello all,
>
>I am very new to the whole Java/Tomcat/Portlet/Jetspeed world but I have
>decided to learn this technology so that I can implement a couple portal
>sites that will be my pet projects.
>
>Thanks in advance for any help and now to the questions:
>
>1) Are there any very simplified guides or instruction resources
>available geared toward novices?
>
Look for tutorials linked from the jakarta.apache.org/jetspeed site.  I have 
a couple of portal/Jetspeed powerpoint presentations from 
www.jlab.org/~hone, including one that I am giving tomorrow at a conference 
on web services at Indiana University.

>2) Has anyone had success connecting Jetspeed to MS SQL Server 2000
>using their beta driver?
>
Find the searchable Jetspeed user mailing list linked from the Resources 
link from jakarta.apache.org/jetspeed and search for the database as a 
keyword.

>3) Is there a good set of links to sites built on Jetspeed so that I can
>get better grasp of what all can be done with Jetspeed?

There are links to sites available from the Jetspeed main page as well.

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


Josh Hone
Florida State University
Physics Dept.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Re: Where .vm file should be placed?

2002-06-06 Thread Josh Hone

1.)  What does the velocity log file say?
2.)  Check the portlet registry and see if it is defined as in the Portlet 
catalog for velocity.
3.)  See if you tied it to the correct Action class.  If your velocity 
template references a variable that has not been tied to the velocity 
Contet, it will throw an error.
4.)  I think we need more info...
Josh Hone

>From: KARTHIKEYAN E S <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'"  
><[EMAIL PROTECTED]>
>Subject: Where .vm file should be placed?
>Date: Thu, 6 Jun 2002 12:02:20 +0200
>
>Hi all,
>
>My portlet need to use a .vm file. So I created a vm file under
>WEB-INF/templates/vm/portlets/html folder. But during runtime,
>ResourceNotFoundException is thrown.
>
>please tell me what is to be changed in the velocity.properties file or
>where .vm file should be placed.
>
>with Thanks&Regards,
>Karthikeyan
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




New XSLPortlet in Jetspeed 1.3a3

2002-06-04 Thread Josh Hone

Hi all -

I had trouble using the XSLPortlet in version a3, because it kept saying 
that it could not find my stylesheet.  It was looking for 
file:///WEB-INF/xsl/BatchLoad.xsl.  However, my NewRSSPortlet worked fine.  
So, I copied the source from NewRSSPortlet to XSLPortlet, commented out some 
DOM parsing stuff that loads a title and a description from the RSS channel, 
commented out loading the params Hashtable with the non-stylesheet initial 
parameters, and the XSL portlet works fine.

Two caveats with this are:  If the BadURLManagaer daemon says your feed is 
bad, you don't seem to get any output, even a ClearElement; and that 
sometimes the feeds have to be loaded via the Admin tool for clearing bad 
URLs.  I think these may be due to me not loading the initial parameters 
into the params Hashtable but I went back and fixed it and have since had no 
trouble.

Josh Hone
Physics Dept.
Florida State University

BTW, all the complaining I was doing last week over caching of portlets is 
solved very well in version a3.  Great job!

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




RE: Automatic refreshing of the portlet's content

2002-05-31 Thread Josh Hone

My studies so far today have led me to believe that one can set the 
DiskCacheDaemon to run at a set interval and that one can change the default 
expiration time in org.apache.jetspeed.cache.disk.JetspeedDiskCacheEntry to 
provide a certain time when the file in cache expires.  However, there is 
still the GlobalCache Service that turbine provides and Jetspeed implements 
(tweaks).  So now I am going to study that Service to try to resolve the 
issue of having an XML document in file cache that is a more recent version 
than the one that the portlet displays (via XSLT transformation to HTML).  
Thus, the GlobalCache provided by Turbine would hold the portlet until IT 
decides that the portlet is expired.

Josh Hone
Florida State University
Physics Dept.

>From: David  Allen <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
>Subject: RE: Automatic refreshing of the portlet's content
>Date: Fri, 31 May 2002 11:34:34 -0700
>
>Have you considered deploying your portlet as an iFrame calling out to a
>JSP/VM. you could then refresh the frame with the meta tag...
>
>-Original Message-
>From: deke devilson [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 31, 2002 10:37 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Automatic refreshing of the portlet's content
>
>
> >>1) why not use   ?
> >For my application, a refresh meta would do no good, since Jetspeed would
> >still load the older version of the portlet.
>
>Any tips how make this work? Are there some caching issues in
>portlets to resolve or what... anyone know?
>
>(To my second question)
>Yes, I understand that notifications coming from backend are
>difficult to handle because of that HTTP/browser mechanism.
>
>Br
>
>
> >From: "Josh Hone" <[EMAIL PROTECTED]>
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: Automatic refreshing of the portlet's content
> >Date: Fri, 31 May 2002 10:40:43 -0400
> >
> >For my application, a refresh meta would do no good, since Jetspeed would
> >still load the older version of the portlet.
> >
> >
> >>From: "Josselin Lebret" <[EMAIL PROTECTED]>
> >>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >>Subject: Re: Automatic refreshing of the portlet's content
> >>Date: Fri, 31 May 2002 15:55:29 +0200
> >>
> >>1) why not use   ?
> >>
> >>2) It is more complicated : there is not a general way of doing this.
> >>
> >>- Original Message -
> >>From: "deke devilson" <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Sent: Friday, May 31, 2002 2:41 PM
> >>Subject: Automatic refreshing of the portlet's content
> >>
> >>
> >> > Hi,
> >> >
> >> > Are there any techiques in Portlets that could make 
>serverside(jetspeed
>
> >>or
> >> > IBM portal server products) to do a "event" which would make portlet 
>to
> >> > fetch and refersh new data into it?
> >> >
> >> > I'm mean cases like:
> >> > - You have a portlet in your application which
> >> >   shows new stock values every 10 minutes?
> >> >
> >> > - Your portlet's content is freshed when certain action (Alarm etc.)
> >> >   is happened in e.g. technical equipment or backend system and user
> >> >   should get a notification and new information of it to his/hers
> >> >   portlet window?
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > _
> >> > Get your FREE download of MSN Explorer at
> >>http://explorer.msn.com/intl.asp.
> >> >
> >> >
> >> > --
> >> > 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]>
> >
> >
> >_
> >Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
>
>
>_
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Re: Automatic refreshing of the portlet's content

2002-05-31 Thread Josh Hone

For my application, a refresh meta would do no good, since Jetspeed would 
still load the older version of the portlet.


>From: "Josselin Lebret" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Subject: Re: Automatic refreshing of the portlet's content
>Date: Fri, 31 May 2002 15:55:29 +0200
>
>1) why not use   ?
>
>2) It is more complicated : there is not a general way of doing this.
>
>- Original Message -
>From: "deke devilson" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, May 31, 2002 2:41 PM
>Subject: Automatic refreshing of the portlet's content
>
>
> > Hi,
> >
> > Are there any techiques in Portlets that could make serverside(jetspeed 
>or
> > IBM portal server products) to do a "event" which would make portlet to
> > fetch and refersh new data into it?
> >
> > I'm mean cases like:
> > - You have a portlet in your application which
> >   shows new stock values every 10 minutes?
> >
> > - Your portlet's content is freshed when certain action (Alarm etc.)
> >   is happened in e.g. technical equipment or backend system and user
> >   should get a notification and new information of it to his/hers
> >   portlet window?
> >
> > Thanks,
> >
> >
> > _
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp.
> >
> >
> > --
> > To unsubscribe, e-mail:
>
> > For additional commands, e-mail:
>
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: JetSpeed and "ordinary" MVC framework

2002-05-30 Thread Josh Hone

I use velocity to maintain the MVC development state.  I have been really 
impressed with its ability to maintain the separation.  There is really good 
documentation on how to use this both with Jetspeed and standalone.

Josh Hone
Physics Dept.
Florida State University


>From: "deke devilson" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: JetSpeed and "ordinary" MVC framework
>Date: Thu, 30 May 2002 19:44:41 +
>
>Hello,
>
>I'm designing a portal software. I'm starting to use jetspeed.
>Some places in software there are no need for portal features,
>just plain MVC model 2 based userinterface handling.
>
>So, my questions are:
>- is it possible to use e.g. struts with jetspeed?
>- is jetspeed/turbine offering some other approach to do this kind
>   of things?
>
>Thanks,
>
>
>_
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Weird DiskCacheDaemon situation

2002-05-30 Thread Josh Hone

Hi all -

I have an XSLPortlet running that transforms xml at the following two 
locations into a graphical display of some of its data:

http://lqcd.jlab.org/pbs/servlet/pbs.ServerXML
http://lqcd.lns.mit.edu/pbs/servlet/pbs.ServerXML

I am wondering about the performance of the DiskCacheDaemon
in fetching these files whenever they are changed, so I have studied the 
source for the Daemon, the DiskCache and its Entries, and the various 
utility functions.  I am still left with a few questions:

1.)  In deciding whether the JetspeedDiskCacheEntry is out of date, does it 
compare the text in the cached document to the remote one to see if they are 
different or does it look at something else?  If something else, what does 
it look at exactly?

I have looked at the Jetspeed log, but the entries for updated files look 
too similar to the ones still valid, so I cannot determine the basis for 
comparison just by that.

2.)  The interval that the DiskCacheDaemon runs at is set in JR.p, however 
when it pulls in a new file, it can be there in cache but not used to 
display the portlet.  An easy way for me to verify this is that the xml has 
a timestamp in it that I select out via XSLT to be displayed in the portlet. 
  If the timestamp in the portlet does not match the timestamp in the cache 
file, then that is mysterious to me.  What is happening here?

As soon as I restart Jetspeed, the latest version in cache is viewed in the 
portlet.

Thanks in advance,
Josh Hone
Physics Dept.
Florida State University

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Customizer action classes

2002-05-30 Thread Josh Hone

I am using Jetspeed-a2, and I found the classes for the actions under 
org.apache.jetspeed.modules.actions.controls.  How to implement your own is 
another question...  The code in these indicates that they operate on the 
internal state of the individual portlet, so probably something in the 
abstract portal/portlet interfaces and classes keeps track of these.

Josh Hone
Physics Dept.
Florida State University


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Caching a non-OCS, non-RSS XML feed

2002-05-28 Thread Josh Hone

Hi again -

  Let me know if I am on the right track here...I have an XSLPortlet that 
translates an XML feed that is updated every second.  The translation works 
fine, and so to try to get the DiskCacheDaemon to update the XML file in 
WEB-INF/cache I have altered the following two lines in 
JetspeedResources.properties:
*  daemon.diskcachedaemon.interval=120
to tell the daemon to look at the files in WEB-INF/cache every 120 seconds 
and refresh them if they are expired according to their HTTP information and
*  http.lifetime=-1
to disable browser caching of the portal.

So, if the DiskCacheDaemon is not pulling in a new XML file every 120 
seconds, then the XML file must not be expiring at the end of 120 seconds, 
right?  I read something in the archives about altering a hard-coded 
interval in DiskCacheEntry.java, but then later someone suggested that this 
property in the JetspeedResources.properties file is all you need to change.

Regards,
Josh Hone
Florida State University
Physics Dept.



_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Roles and Permissions

2002-05-28 Thread Josh Hone

Hi all -

  I have a question concerning roles and permissions.  I have two portlets 
that have .  I have two people signed up in the 
system, one with "admin" and "user" roles, and one with just a "user" role.  
I took away maximize permissions from the user role.  Now, I can add the two 
portlets with  to each person's portal.  However, 
the administrator has maximize permission, so something can happen to the 
portlet that I never intended, i.e. to maximize it.  I try to express this 
intention by assigning the portlet the  since this 
role does not have maximize permission assigned.  So there seems to not be a 
way to enforce which permissions should be applied to which portlets.  If a 
user has more than one role the maximum amount of permissions that can be 
applied to the user is applied, based on the permissions allowed to the 
roles.

  The permission system is perfectly internally consistent, but is this 
intended?  How does one enforce which permissions can be put on which 
portlets?

Josh Hone
Florida State University
Physics Dept.



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: Versions

2002-05-27 Thread Josh Hone

I don't know about best, but I run Tomcat 4.0.1 with Jetspeed a2.  The 
reason I did this is to acclimate myself to the catalina architecture with 
Jetspeed, since there is at least one good book on running Tomcat 4.x.  
Everything from the Jetspeed demos to my own portlets run pretty well with 
this.

Josh Hone
Florida State University
Physics Dept.


>From: "Andrew Peiman" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Versions
>Date: Fri, 24 May 2002 13:58:07 +0200
>
>I've noticed that there are some problems with the version 4.x of tomcat
>and version 1.3.x of Jetspeed.  Now I'm wondering the best combination
>is?
>
>Thanks ...
>
>Andrew Peiman




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Re: Unable to deploy JspPortlet?

2002-05-27 Thread Josh Hone

In my experience, you have to include the media-type tag in many portlets to 
tie it to jetspeed.  You have a couple of options to add media types to your 
portal:  HTML or WML, and to be registered with Jetspeed as one of these you 
have to put the mdeiatype tag in the registry.


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Re: Sorry...app problems

2002-05-16 Thread Josh Hone

I believe that whatever classpath you have set in your environment is 
overridden by Tomcat by its startup script, and it just puts classes that 
Tomcat needs into the classpath.  Then Jetspeed has its own rules for 
classes:  either to put them in WEB-INF/classes or WEB-INF/lib.  Jetspeed 
looks at /classes first and if there is a duplicate class in /lib it ignores 
the class in /lib and uses the one in /classes.


>From: Sergio <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: Jetspeed Users List <[EMAIL PROTECTED]>
>Subject: Re: Sorry...app problems
>Date: Thu, 16 May 2002 12:18:24 -0700 (PDT)
>
>Ok, I figured it out, after verifying that java was
>finding my mm JDBC driver, then I remembered that
>originally I put that driver in
>\webapps\jetspeed\WEB-INF\lib\
>and it works...but the problem is that it seems that
>the app wont look in the classpath for the necessary
>classes.  Any ideas with that?
>
>Sergio
>--- gus <[EMAIL PROTECTED]> wrote:
> > Sergio schrieb::
> >
> > > Horrible Exception: java.lang.Error: Error in
> > > BasePeer.initTableSchema(TURBINE_USER): No
> > suitable
> > > driver at
> >  >
> >
>org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:232)
> >
> > Looks like the org.gjt.mm.mysql.Driver class cannot
> > be found. Either
> > the classname is not correct or the class (or jar)
> > file is not in the
> > classpath.
> >
> >gus
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
>
> > For additional commands, e-mail:
> > 
> >
>
>
>__
>Do You Yahoo!?
>LAUNCH - Your Yahoo! Music Experience
>http://launch.yahoo.com
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>
>



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: Demo portlet problems

2002-05-14 Thread Josh Hone

Chris -

Thanks very much for your reply.  I am using 4.0.3, but I am going to 
download 4.0.1 and shove my jetspeed work in there.

I just tested everything out and it works, including the sample XSL and RSS 
portlets that I wrote.  Thank you very much.

Josh Hone
Florida State University
Physics Dept.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Demo portlet problems

2002-05-13 Thread Josh Hone



Hi all -

I am just getting started with Jetspeed and am having problems deploying the 
demo RSS portlets.  After reading the available documentation, I also tried 
to write my own examples of VelocityPortlet, XSLPortlet, or NewRSSPortlet 
but cannot.  I am using the latest Apache server and tomcat 4.0, with 
jetspeeda2.  I am running this on Win32/ME.

Whenever I login as either admin or turbine, I get an error message in the 
area of the specific portlet telling me that there is a no class definition 
found error for XSLPortlet, VelocityPortlet, or NewRSSPortlet.  However, I 
made sure that they were there, and I can deploy the examples and write my 
own examples of HTMLPortlet, WebPagePortlet, and JSPPortlet, which are 
located in the same area.

The jetspeed log shows these no class definition errors, along with one for 
javax.xml.transform.Source when it tries to load the demo OCS file.


org.apache.turbine.util.TurbineException: 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.NoClassDefFoundError

This is the error message that appears in the Jetspeed Administration 
portlet, with the same thing happening with the Apacheweek and XMLHack 
portlets.

Josh Hone
Florida State University
Physics Dept.


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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