Principal in a servlet

2013-01-02 Thread Jetspeed Binette
In Jetspeed 2.1.3 I have a servlet that uses request.getUserPrincipal() to determine if their is someone logged into Jetspeed or not. It works perfectly. I am in the process of upgrading to Jetspeed 2.2.2 and this is no longer working. The request.getUserPrincipal() always returns null now. Is

Re: ServletContextListener for Portlets

2011-02-27 Thread Jetspeed Binette
I'm thinking org.apache.jetspeed.Jetspeed was added after Jetspeed 2.1? I have jetspeed-commons-2.1.jar and jetspeed-api-2.1.jar and neither of these have the org.apache.jetspeed.Jetspeed class. We are going to be upgrading to the latest Jetspeed in the next few months so if needed, I guess

ServletContextListener for Portlets

2011-02-20 Thread Jetspeed Binette
I use a ServletContextListener to setup a bunch of java.util.TimerTask routines that run hourly, importing some files. There is a new requirement that fits this same pattern but it needs to access the Jetspeed UserManager and GroupManager. I do this in other parts of our app but only from Portlets

Jetspeed webapp keeps removing its own web.xml

2006-04-20 Thread jetspeed
5 minutes to an hour. 3) The “web.xml” in the /webapps/jetspeed/WEB-INF/ is deleted. Jetspeed undeploys itself. There aren’t any cron jobs running on the box or any other processes that would be looking at the jetspeed2 install folder. In fact, the permissions on those folders belong to a separate

Nested Layouts bugs?

2006-03-01 Thread jetspeed
Fellow Jetspeeders.. I'm looking into ways to do some more complex layouts, and the nested approach would be ideal (nesting one layout within another). However, I'm encountering some problems that appear even when I try using the unmodified, out-of-box nested-layout.psml example (located in /_use

Possible to change an AJAX service's content type?

2006-02-12 Thread jetspeed
All, I've noticed that the default AJAX response content type is set to "text/xml". How can one go about setting a different type? I'm having some difficulty finding a good way to change it, and without that it's not really possible to output html or images. -Ben ---

Re: Retrieving a portlet's unique instance ID..

2006-01-23 Thread jetspeed
to all fragments use ContentPage and >> ContentFragment implementations (getType() method to identify portlets) >> and recurse through your portal structure parsing each .psml file. >> > A portlet isn't really supposed to know about its 'unique id' as that is >

Extending user attributes with Hibernate

2006-01-23 Thread jetspeed
List, At some point I thought I stumbled across an item in this list or Jira that demonstrated a way to extend user attributes with Hibernate. Unfortunately, I can't find either the orignal information or any code that provides an example. Anyone know where I could find something on better incor

Re: Retrieving a portlet's unique instance ID..

2006-01-21 Thread jetspeed
que to this >> portlet instance, but also persistant across server restarts. >> >> Is this possible in Jetspeed 2? > I've done a similar task yesterday :) In order to get fragment's > identifier (like the one in PSML file) use something like this: > ((ContentFra

Retrieving a portlet's unique instance ID..

2006-01-21 Thread jetspeed
portlet instance, but also persistant across server restarts. Is this possible in Jetspeed 2? -Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maximum Jetspeed logging

2006-01-10 Thread jetspeed
All.. What settings should I apply to squeeze out every bit of logging possible out of Jetspeed 2? I can't seem to find a post or information about this posted anyplace yet, and it could be extremely helpful for some pesky bugs...

Problems running Jetspeed2 on 3rd-party provider

2006-01-09 Thread jetspeed
All, I've got Jetspeed 2 working like a champ in my local dev enviroment, but I encounter some problems when testing out hosting on a 3rd party (www.eApps.com) When I try accessing the portal, virtually every portlet has the "Error: Cannot pass a null PortletDefinition to a PortletEnt

Profiler documentation?

2006-01-03 Thread jetspeed
All, I know that there's still a lot of loose ends to document, but I wondered if there was anything existing that describes Profilers that I haven't seen yet. The link from the documentation page results in a 404 and I'm having a heck of a time trying to understand the examples. Any assistance

Jetspeed Site Customizer portlet

2005-12-22 Thread jetspeed
All, Has anyone been able to actually use the Jetspeed Site Customizer portlet? Whenever I try adding it to a page, a collapsed little box shows up. I can tell there's something in there, but can't figure out what it is as some odd glitch causes it to be about a millimeter tall. C

Error with "Hello World" portlet example

2005-12-18 Thread jetspeed
I've been trying to run through the simple getting-start tutorial (http://portals.apache.org/jetspeed-2/guides/guide-simple-portlet.html) but am encountering some problems. Whenever I try to view the portlet, it displays the following exce