Re: portlet session and http session

2005-04-04 Thread Shah Amit
Following was the exact line that I removed.
<%@ page session="false" %>
And after that I didn't get that error anymore.
I dont know if yours is the same problem, but the exception looks like the 
same that I had so ...

Amit
Original Message Follows
From: "Shah Amit" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Developers List" 
To: jetspeed-dev@jakarta.apache.org
Subject: Re: portlet session and http session
Date: Mon, 04 Apr 2005 19:19:29 -0400
I had the exact same exception. The problem was that on the top of the page, 
I had declared that the page should not participate in any session. I dont 
remember the exact syntax, but it was something to the affect of ---

 or something like that. I got rid of that line, 
and it worked for me after that.

Hope that helps,
Amit
Original Message Follows
From: Hema Menon <[EMAIL PROTECTED]>
Reply-To: Hema Menon <[EMAIL PROTECTED]>
To: Jetspeed Developers List , Derek Shen 
<[EMAIL PROTECTED]>
Subject: Re: portlet session and http session
Date: Mon, 4 Apr 2005 16:41:24 -0500

What exception are you getting with JSTL? There has been some
discussions here regarding evaluating expressions in jstl, refer to
this thread
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg15585.html
Hema
On Apr 4, 2005 4:37 PM, Derek Shen <[EMAIL PROTECTED]> wrote:
> Talking to myself again.
>
> Looks like the problem is with the combination of JSTL and portlet 
session.
>
>  throws the exception, and
> <%= request.getSession().getAttribute("test") %> is fine.
>
> and the attribute I set inside portlet sessio is available in the http
> session on JSP.
>
> It is ugly if I am not able to use JSTL with JSP and portlet.
>
> On Apr 4, 2005 2:03 PM, Derek Shen <[EMAIL PROTECTED]> wrote:
> > Did not get response from the pluto mailing list.
> >
> > I tried it on the latest tomcat (5.5.7) just now and still have the
> > same problem. Has anyone seen this exception before?
> >
> > java.lang.IllegalStateException: Cannot access session scope in page 
that does
> > ot participate in any session
> >   at 
org.apache.jasper.runtime.PageContextImpl.doGetAttribute(PageContext
> > mpl.java:264)
> >
> > -- Forwarded message --
> > From: Derek Shen <[EMAIL PROTECTED]>
> > Date: Apr 3, 2005 8:51 PM
> > Subject: portlet session and http session
> > To: [EMAIL PROTECTED]
> >
> > Alright, I know that it is an old issue, around which a lot of
> > discussion have been made.
> >
> > 
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgId=2101721
> >
> > 
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgId=2101707
> >
> > http://issues.apache.org/jira/browse/PLUTO-53
> >
> > Some people said that it has been resolved by tomcat and some others
> > claimed that it is only working on Jetty and not tomcat. I am totally
> > confused. It seems a very trivial problem. What I am trying to achieve
> > is so simple:
> >
> > Inside the GenericPortlet doView, populate some data and put into the
> > PortletSession (eithe portlet scope or application scope), and
> > dispatch (include) to a JSP within the same webapp. On the JSP, JSTL
> > is used to retrieve and present the data from session
> > (${sessionScope...).
> >
> > Everytime I run my portlet, I gives me this:
> >
> > 14:27:08,880 ERROR StandardWrapper[/portlet:jsp]:727 - 
Servlet.service() for se
> > vlet jsp threw exception
> > java.lang.IllegalStateException: Cannot access session scope in page 
that does
> > ot participate in any session
> >   at 
org.apache.jasper.runtime.PageContextImpl.doGetAttribute(PageContext
> > mpl.java:264)
> >   at 
org.apache.jasper.runtime.PageContextImpl.getAttribute(PageContextIm
> > l.java:249)
> >   at 
org.apache.taglibs.standard.lang.jstl.ImplicitObjects$3.getValue(Imp
> > icitObjects.java:633)
> >
> > I am using the tomcat 5.5.4 comes with the latest Pluto.
> >
> > I tried to follow this solution:
> > 
http://weblogs.java.net/blog/wholder/archive/2005/02/session_session.html
> >
> > Using tomcat 5.5.x, set crossContext="true" and set
> > emptySessionPath="true". It does not help, still the same exception.
> >
> > Someone please please help. Thanks!
> > Derek
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

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

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


Jetspeed 2.0 M2 Released

2005-04-04 Thread David Sean Taylor
The Apache Portals Jetspeed Team is pleased to announce the second 
milestone release of Jetspeed-2.

The release is available for download from the Apache Download Mirrors:
http://www.apache.org/dyn/closer.cgi
Follow the links to portals/jetspeed-2
Two binary releases are provided.
1. Jetspeed-2 + Tomcat 5.0.30 distribution.
2. Jetspeed-2 + Tomcat 5.5.8 distribution.
With this second milestone of Jetspeed-2, new versions of the
Portals Bridges components are released as well. These components are 
now all upgraded to version 0.2. Portals Bridges can be used 
independently of Jetspeed-2 and will eventually migrate to its own 
Portals Bridges project.

Bridges released with M2:
* Struts Bridge 0.2
* Velocity Bridge 0.2
* JSF Bridge 0.2
* Perl Bridge 0.2
* PHP Bridge 0.2
* Portlet Framework 0.2
--
 Jetspeed 2.0-M2 Release
   April 4, 2005
--
* PALM - Portlet Application Lifecycle Manager
  A new administrative portlet for managing the lifecycle of portlet
  applications. Supports start, stop, undeploy and delete operations.
* JBoss Support
   Jetspeed tested and running on JBoss versions 3.2.7 and 4.0.1sp1
* New Improved Deployment
   Deployment overhauled to support application server
   controlled deployment. Class loader and cross-context session control
   issues resolved.
* Struts Bridge Enhancements
* Navigations Refactoring
* Enhanced credential security and validation,
  Login/Password Enhancements
* LDAP Authentication support added.
* Secure Access to Site Resources (Pages, Folders)
* Profiler, Layout, PSML Security Documentation
* SSO Enhancements
* Improved JSF Support
* Finer grain Spring configuration
* Main Jetspeed context no longer requires /jetspeed
---
Bug fixes
---
see M2-bugfixes.html
-
 Tested App Servers:
-
 * Tomcat 5.0.30
 * Tomcat 5.5.8
 * JBoss 3.2.7
 * JBoss 4.0.1sp1
 (Tomcat 5.5 requires a different jetspeed.xml found in the source tree 
under src/resources/jetspeed-tomcat-5.5.xml)

 Check out our wiki page for details: 
http://wiki.apache.org/portals/Jetspeed2

-
 NO Longer Supported:
-
 * Tomcat 4.1.x
Support for Tomcat 4.1.x has been dropped.
---
 Installation Instructions
---
1. Download jetspeed-2.0-M2-Tomcat-5.0.30.tar.gz, or
   Download jetspeed-2.0-M2-Tomcat-5.0.30.zip (windows), or
   Download jetspeed-2.0-M2-Tomcat-5.5.8.tar.gz, or
   Download jetspeed-2.0-M2-Tomcat-5.5.8.zip (windows)
2. Expand jetspeed-2.0-M2-Tomcat-.tar.gz into a clean directory 
(as example we will use 'jetspeed')

   cd /jetspeed
   tar xfz jetspeed-2.0-M2-Tomcat-.tar.gz
   For Windows:
   cd c:\jetspeed
   unzip jetspeed-2.0-M2-Tomcat-.zip
3. start the database
   cd /jetspeed/jetspeed-database
   start-database.sh
   For Windows:
   cd c:\jetspeed\jetspeed-database
   start-database.bat
4. startup Tomcat
   execute /jetspeed/jakarta-tomcat-/bin/startup.sh
   For Windows:
   execute c:\jetspeed\jakarta-tomcat-\bin\startup.bat
5. start up a web browser and navigate to 
http://localhost:8080/jetspeed/portal

--
 Configuring Another Database
--
1. cd $TOMCAT_HOME/jetspeed-database/scripts
2. edit the build.properties, set the properties for your database 
connection, save.
3. create a database schema/catalog to hold your database tables
4. type 'ant' to run the database population scripts
5. edit the jetspeed.xml properties
- $TOMCAT_HOME/conf/Catalina/localhost/jetspeed.xml

and set your database connection
6. copy your database driver into Tomcat's common/endorsed directory
7. start up a web browser, navigate to http://localhost:8080/jetspeed/portal
 Sample accounts to login as:
 admin/admin
 manager/manager
 user/user

 Upgrading from Jetspeed 2.0 M1

If you are upgrading an installation from Jetspeed 2.0 M1,
remember to delete the M1 jar files found under Tomcat's shared/lib 
directory. The following files should be deleted:

jetspeed-api-2.0-M1.jar
jetspeed-commons-2.0-M1.jar
pluto-1.0.1-rc1.jar
portals-bridges-common-0.1.jar

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


Re: New Problem( was: Jetspeed Jars are *failing* to Download.)

2005-04-04 Thread Elam Daly
Ate Douma wrote:
You probably deployed an older version of Jetspeed-2 (before M2)
to the same Tomcat installation. Check your $TOMCAT_HOME/shared/lib 
folder
and remove the jars from the older version.

Ate
That was it Ate.
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: New Problem( was: Jetspeed Jars are *failing* to Download.)

2005-04-04 Thread Peggy Irving
How do I get off this list?  I believe Brent Coe from Cast & Crew was on it
and his email address is no longer valid.  Can someone please delete it from
the mailing list (second request)?
Thanks! 

-Original Message-
From: Elam Daly [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 12:48 PM
To: Jetspeed Users List
Subject: Re: New Problem( was: Jetspeed Jars are *failing* to Download.)

David Sean Taylor wrote:

> Elam Daly wrote:
>
>> Howdy all,
>>
>> Yesterday and today I've checked out the latest cvs tree for jetspeed 
>> to and ran a 'maven allClean allBuild' and am getting many 'failed to 
>> Download' errors:
>>
> You are a little ahead of me.
> Just finished the M2 release (announcements coming shortly) Going to 
> start uploading the M3-dev jars to the remote maven repo in a few 
> minutes.
>
> In the meantime try building without -o, and the jars should be 
> created automatically into your Maven repository
>
>
>
>
Hi Sean,

Now I have a new problem:

Encountered the following problem(s) while attmepting to render portlet
fragment: dp-1
org.apache.jetspeed.factory.PortletFactory.getPortletApplicationClassLoader(
Lorg/apache/jetspeed/om/common/portlet/PortletApplication;)Ljava/lang/ClassL
oader;

Elam Daly


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


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



Re: New Problem( was: Jetspeed Jars are *failing* to Download.)

2005-04-04 Thread Ate Douma
You probably deployed an older version of Jetspeed-2 (before M2)
to the same Tomcat installation. Check your $TOMCAT_HOME/shared/lib folder
and remove the jars from the older version.
Ate
Elam Daly wrote:
David Sean Taylor wrote:
Elam Daly wrote:
Howdy all,
Yesterday and today I've checked out the latest cvs tree for jetspeed 
to and ran a 'maven allClean allBuild' and am getting many 'failed to 
Download' errors:

You are a little ahead of me.
Just finished the M2 release (announcements coming shortly)
Going to start uploading the M3-dev jars to the remote maven repo in a 
few minutes.

In the meantime try building without -o, and the jars should be 
created automatically into your Maven repository



Hi Sean,
Now I have a new problem:
Encountered the following problem(s) while attmepting to render portlet 
fragment: dp-1
org.apache.jetspeed.factory.PortletFactory.getPortletApplicationClassLoader(Lorg/apache/jetspeed/om/common/portlet/PortletApplication;)Ljava/lang/ClassLoader; 

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

.

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


Re: New Problem( was: Jetspeed Jars are *failing* to Download.)

2005-04-04 Thread Elam Daly
David Sean Taylor wrote:
Elam Daly wrote:
Howdy all,
Yesterday and today I've checked out the latest cvs tree for jetspeed 
to and ran a 'maven allClean allBuild' and am getting many 'failed to 
Download' errors:

You are a little ahead of me.
Just finished the M2 release (announcements coming shortly)
Going to start uploading the M3-dev jars to the remote maven repo in a 
few minutes.

In the meantime try building without -o, and the jars should be 
created automatically into your Maven repository



Hi Sean,
Now I have a new problem:
Encountered the following problem(s) while attmepting to render portlet 
fragment: dp-1
org.apache.jetspeed.factory.PortletFactory.getPortletApplicationClassLoader(Lorg/apache/jetspeed/om/common/portlet/PortletApplication;)Ljava/lang/ClassLoader;

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


Re: Jetspeed Jars are *failing* to Download.

2005-04-04 Thread David Sean Taylor
Elam Daly wrote:
Howdy all,
Yesterday and today I've checked out the latest cvs tree for jetspeed to 
and ran a 'maven allClean allBuild' and am getting many 'failed to 
Download' errors:

You are a little ahead of me.
Just finished the M2 release (announcements coming shortly)
Going to start uploading the M3-dev jars to the remote maven repo in a 
few minutes.

In the meantime try building without -o, and the jars should be created 
automatically into your Maven repository


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Jetspeed Jars are *failing* to Download.

2005-04-04 Thread Elam Daly
Howdy all,
Yesterday and today I've checked out the latest cvs tree for jetspeed to 
and ran a 'maven allClean allBuild' and am getting many 'failed to 
Download' errors:

WARNING: Failed to download jetspeed-cm-2.0-M3-dev.jar.
Attempting to download jetspeed-api-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-api-2.0-M3-dev.jar.
Attempting to download jetspeed-persistence-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-persistence-2.0-M3-dev.jar.
Attempting to download jetspeed-rdbms-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-rdbms-2.0-M3-dev.jar.
Attempting to download jetspeed-commons-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-commons-2.0-M3-dev.jar.
+
| Cleaning Jetspeed-2 Security Components
| Memory: 7M/9M
+
Attempting to download jetspeed-api-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-api-2.0-M3-dev.jar.
Attempting to download jetspeed-cm-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-cm-2.0-M3-dev.jar.
Attempting to download jetspeed-persistence-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-persistence-2.0-M3-dev.jar.
Attempting to download jetspeed-prefs-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-prefs-2.0-M3-dev.jar.
Attempting to download jetspeed-rdbms-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-rdbms-2.0-M3-dev.jar.
Attempting to download jetspeed-commons-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-commons-2.0-M3-dev.jar.
Attempting to download commons-codec-1.3.jar.
45K downloaded
+
| Cleaning Jetspeed-2 Single Sign On Components
| Memory: 8M/9M
+
Attempting to download jetspeed-security-2.0-M3-dev.jar.
WARNING: Failed to download jetspeed-security-2.0-M3-dev.jar.
Attempting to download jetspeed-api-2.0-M3-dev.jar.
Is anyone else having these problems?
Cheers,
Elam Daly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: No luck getting JetSpeed2 working

2005-04-04 Thread Mike Pritchard
The following is taken directly from my jetspeed.xml file (which is in
CATALINA_HOME\conf\Catalina\localhost)

  

Hope that helps,

-Mike

 

-Original Message-
From: Taylor Dondich [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 01, 2005 8:24 PM
To: Jetspeed Users List
Subject: Re: No luck getting JetSpeed2 working

What were the configuration parameters that you used to configure the
data source?

Taylor


Mike Pritchard wrote:

>I had the same problems, it may have to do with setting up the 
>DataSource correctly. I'm using Tomcat and Jetspeed with the default 
>hpersonic database - I solved it by setting up the DataSource
correctly.
>To do this, I had to find the HSQL jdbc jar file, and copy it into 
>CATALINA_HOME\common\lib directory. Then I set up the database using 
>the Tomcat admin page.
>
>-Mike
>
>-Original Message-
>From: Taylor Dondich [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 01, 2005 3:39 PM
>To: jetspeed-user@jakarta.apache.org
>Subject: No luck getting JetSpeed2 working
>
>I first tried following the Getting Started part of the documentation, 
>but it appears that the JRE that I am using (1.4.2), for FreeBSD has a 
>bug which is known with propertie setting classes (as seen on the
wiki).
>Trying to use the Linux JDK 1.4.2_08 causes maven to just sit there and

>do nothing (running under Linux emulation layer on FreeBSD).
>
>S, I tried installing everything on Windows.  Got farther, but 
>getting this error message in Tomcat's error logs:
>
>org.apache.jetspeed.execption.JetspeedException: Unable to create 
>Engine
>
>Which if you go all the way to the bottom, is caused by:
>
>org.apache.jetspeed.prefs.PreferencesException: Failed to initialize 
>prefs api.
>org.springframework.transaction.CAnnotCreateTransactionException: Could

>not create OJB transaction; nested exception is
>org.apache.ojb.broker.accesslayer.LookupException: SQLException thrown 
>while trying to get Connection from Datasource
>(java:comp/env/jdbc/jetspeed)
>
>Any ideas?
>
>Taylor
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


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


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



Jetspeed-2 static html?

2005-04-04 Thread Michael Neilly
First, thanks for the help on my last post. I was able to get
maven genapp reinstalled and create my own application.

As I'm putting together my portal I'm finding that I also have
static html pages that I wish to include but am so far unable
to determine how to do so. I'd also like others to be able to 
add new html pages easily without knowing the workings of the
portal. What is the preferred method of adding static pages?


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