Re: Portal session-context in the portal-fw

2003-03-27 Thread Helmut Tammen
Hi,

thanks to everyone who thought about my problem. In the meantime it´s 
working like documented. The problem was that I mixed the xsp-session 
logicsheet with the session transformer. After separating these and using 
them in the correct manner it worked.

Helmut

On Wed, 26 Mar 2003 15:16:54 +0100, Helmut Tammen <[EMAIL PROTECTED]> 
wrote:

Here are some additional informations:

Cocoon - Verion: 2.1-dev (CVS)

All attributes in the session:
Name: uprofile:portalhandler|sunspotdemo:user_5_guest_guest Value: 
{misc=[Lorg.w3c.dom.Node;@124154, typeConfPaths=[profile/layout- 
profile[not(@*)]/portal[not(@*)]/layouts[not(@*)]/layout[not(@*) 
]/background[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription], profile/layout-profile[not(@*)]/portal[not(@*) 
]/layouts[not(@*) ]/layout[not(@*)]/font[not(@*)]/[EMAIL PROTECTED] and 
@formpath and @formdescription], profile/layout-profile[not(@*) 
]/portal[not(@*) ]/columns[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription], profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/[EMAIL PROTECTED] and @formpath and @formdescription], 
profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and 
@position]/status[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription], profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and 
@position]/status[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription]], portalLayouts={html=[layout: null], wap=[layout: 
null]}, copletLayouts={html=[layout: null], wap=[layout: null]}, 
typePaths=[profile/layout-profile[not(@*)]/portal[not(@*) 
]/layouts[not(@*) ]/layout[not(@*)]/background[not(@*)]/color[not(@*) 
]/backgroundcolor|Backgroundcolor, profile/layout-profile[not(@*) 
]/portal[not(@*)]/layouts[not(@*)]/layout[not(@*)]/font[not(@*) 
]/color[not(@*)]/textcolor|Fontcolor, profile/layout-profile[not(@*) 
]/portal[not(@*)]/columns[not(@*)]/number[not(@*)]/columnnumber|Amount, 
profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/width[not(@*)]/CARDINAL|Width, profile/portal- 
profile[not(@*)]/content[not(@*)]/[EMAIL PROTECTED]/coplets[not(@*) 
]/[EMAIL PROTECTED] and @number and @position]/status[not(@*)]/visible[not(@*) 
]/BOOLEAN|Visibile, profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and 
@position]/status[not(@*)]/size[not(@*)]/copletsize|Size], 
defCoplets={sundnnews=[coplet: null], customnews=[coplet: null], 
feedback=[coplet: null], personalizeguest=[coplet: null], S0=[coplet: 
null], consultantprofile=[coplet: null], germany=[coplet: null], 
S1=[coplet: null], banknews=[coplet: null]}, profile=[#document-fragment: 
null], mediaCoplets={html={}, wap={}}}

Name: portalConfportalhandler:sunspotdemo Value: {S=sunspotdemo-portal, 
D=profiles/copletprofile.xml, M=cocoon:raw:/sunspotdemoresource- 
userprofile, R=profiles/admintypes.xml, 
K=cocoon:raw:/sunspotdemoresource-saveroleprofile, F=profiles/types.xml, 
H=cocoon:raw:/sunspotdemoresource-saveglobalprofile, U=false, 
J=cocoon:raw:/sunspotdemoresource-roleprofile, 
C=profiles/layoutprofile.xml, T=sunspotdemo, 
N=cocoon:raw:/sunspotdemoresource-saveuserprofile, 
P=cocoon:raw:/sunspotdemoresource-userstatus, B=sunspotdemo-portal, 
Q=cocoon:raw:/sunspotdemoresource-saveuserstatus, 
G=profiles/globalprofile.xml, V=1, E=profiles/copletprofile.xml}

Name: org.apache.cocoon.webapps.authentication.Handlers Value: 
{portalhandler=authentication-Handler portalhandler}

Name: org.apache.cocoon.webapps.authentication.SessionContext Value: 
[EMAIL PROTECTED]

Name: org.apache.cocoon.webapps.session.context.TransactionState Value: 
[EMAIL PROTECTED]@f2625f} 





Name: org.apache.cocoon.webapps.session.context.SessionContext Value: 
{org.apache.cocoon.webapps.portal.context.SessionContext:[EMAIL PROTECTED] 







Hi,

I can´t get any information from the session-context "portal".

Following situation:
1. Coplet resource uri: 
2. pipeline in sitemap.xmap: 




3. xsp - file test.xsp (excerpt):
http://apache.org/xsp";
xmlns:session="http://apache.org/xsp/session/2.0";>
URI:
color:


Result:
Test.xsp is called and executed (I do some more other things inside it 
which work fine) but the strings after URI: and color: are emtpy.

Thanks Helmut

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



--
__
HTSystemlösungen
Dipl.-Ing. Helmut Tammen
Meißering 45
29693 Hodenhagen
Germany
Telefon: +49 (0) 5164 800530
Fax: +49 (0) 5164 800531
Mobil:   0170 88 22 491
e-mail:  [EMAIL PROTECTED]
www: http://www.htsystemloesu

Re: Portal session-context in the portal-fw

2003-03-26 Thread Helmut Tammen
Here are some additional informations:

Cocoon - Verion: 2.1-dev (CVS)

All attributes in the session:
Name: uprofile:portalhandler|sunspotdemo:user_5_guest_guest Value: 
{misc=[Lorg.w3c.dom.Node;@124154, typeConfPaths=[profile/layout- 
profile[not(@*)]/portal[not(@*)]/layouts[not(@*)]/layout[not(@*) 
]/background[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription], 
profile/layout-profile[not(@*)]/portal[not(@*)]/layouts[not(@*) 
]/layout[not(@*)]/font[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription], profile/layout-profile[not(@*)]/portal[not(@*) 
]/columns[not(@*)]/[EMAIL PROTECTED] and @formpath and @formdescription], 
profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/[EMAIL PROTECTED] and @formpath and @formdescription], 
profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and 
@position]/status[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription], profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and 
@position]/status[not(@*)]/[EMAIL PROTECTED] and @formpath and 
@formdescription]], portalLayouts={html=[layout: null], wap=[layout: 
null]}, copletLayouts={html=[layout: null], wap=[layout: null]}, 
typePaths=[profile/layout-profile[not(@*)]/portal[not(@*)]/layouts[not(@*) 
]/layout[not(@*)]/background[not(@*)]/color[not(@*) 
]/backgroundcolor|Backgroundcolor, profile/layout-profile[not(@*) 
]/portal[not(@*)]/layouts[not(@*)]/layout[not(@*)]/font[not(@*) 
]/color[not(@*)]/textcolor|Fontcolor, profile/layout-profile[not(@*) 
]/portal[not(@*)]/columns[not(@*)]/number[not(@*)]/columnnumber|Amount, 
profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/width[not(@*)]/CARDINAL|Width, profile/portal- 
profile[not(@*)]/content[not(@*)]/[EMAIL PROTECTED]/coplets[not(@*) 
]/[EMAIL PROTECTED] and @number and @position]/status[not(@*)]/visible[not(@*) 
]/BOOLEAN|Visibile, profile/portal-profile[not(@*)]/content[not(@*) 
]/[EMAIL PROTECTED]/coplets[not(@*)]/[EMAIL PROTECTED] and @number and 
@position]/status[not(@*)]/size[not(@*)]/copletsize|Size], 
defCoplets={sundnnews=[coplet: null], customnews=[coplet: null], 
feedback=[coplet: null], personalizeguest=[coplet: null], S0=[coplet: 
null], consultantprofile=[coplet: null], germany=[coplet: null], 
S1=[coplet: null], banknews=[coplet: null]}, profile=[#document-fragment: 
null], mediaCoplets={html={}, wap={}}}

Name: portalConfportalhandler:sunspotdemo Value: {S=sunspotdemo-portal, 
D=profiles/copletprofile.xml, M=cocoon:raw:/sunspotdemoresource- 
userprofile, R=profiles/admintypes.xml, K=cocoon:raw:/sunspotdemoresource- 
saveroleprofile, F=profiles/types.xml, H=cocoon:raw:/sunspotdemoresource- 
saveglobalprofile, U=false, J=cocoon:raw:/sunspotdemoresource-roleprofile, 
C=profiles/layoutprofile.xml, T=sunspotdemo, 
N=cocoon:raw:/sunspotdemoresource-saveuserprofile, 
P=cocoon:raw:/sunspotdemoresource-userstatus, B=sunspotdemo-portal, 
Q=cocoon:raw:/sunspotdemoresource-saveuserstatus, 
G=profiles/globalprofile.xml, V=1, E=profiles/copletprofile.xml}

Name: org.apache.cocoon.webapps.authentication.Handlers Value: 
{portalhandler=authentication-Handler portalhandler}

Name: org.apache.cocoon.webapps.authentication.SessionContext Value: 
[EMAIL PROTECTED]

Name: org.apache.cocoon.webapps.session.context.TransactionState Value: 
[EMAIL PROTECTED]@f2625f} 

Name: org.apache.cocoon.webapps.session.context.SessionContext Value: 
{org.apache.cocoon.webapps.portal.context.SessionContext:[EMAIL PROTECTED] 




Hi,

I can´t get any information from the session-context "portal".

Following situation:
1. Coplet resource uri: 
2. pipeline in sitemap.xmap: 




3. xsp - file test.xsp (excerpt):
http://apache.org/xsp";
xmlns:session="http://apache.org/xsp/session/2.0";>
URI:
color:


Result:
Test.xsp is called and executed (I do some more other things inside it 
which work fine) but the strings after URI: and color: are emtpy.

Thanks Helmut

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


Portal session-context in the portal-fw

2003-03-26 Thread Helmut Tammen
Hi,

I can´t get any information from the session-context "portal".

Following situation:
1. Coplet resource uri: 
2. pipeline in sitemap.xmap: 



  
3. xsp - file test.xsp (excerpt):
  http://apache.org/xsp";
xmlns:session="http://apache.org/xsp/session/2.0";>
URI:
color:
  

Result:
Test.xsp is called and executed (I do some more other things inside it 
which work fine) but the strings after URI: and color: are emtpy.

Thanks Helmut

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


Bug in portal-fw ??

2003-03-26 Thread Helmut Tammen
Hi,

I think I´ve found a little bug in the portal framework. I hope this is the 
right place to report it.

Changing the resource uri of a coplet has no effect as long as tomcat is 
not shut down, the files in cache-dir are deleted manually and tomcat is 
restarted.
It does make no difference it the uri is changed via the admin pages of the 
portal or directly in the file copletprofile.xml.

Is there any workaround?

Helmut

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


RE: Portal-fw tryout: IllegalStateException

2002-11-12 Thread Kenny Chow
Thanks for reply. In tomcat 4.1.12, however, it gets
worse. Requesting http://localhost:8080/cocoon gives
the following exception. 
I have been using a cvs 2.1-dev build of June 15;
just wanna check out the new features, especially the
portal framework, that may be added in latest cvs.

Regards,
KC

HTTP Status 500 -
type Exception report

message

description The server encountered an internal error
() that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for
servlet Cocoon2 threw exception
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952)
...
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:479)


root cause

java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
...
at java.lang.Thread.run(Thread.java:479)

--- [EMAIL PROTECTED] wrote:
> I had the same problem.
> Try tomcat 4.1.12.
> 
> Sylvain
> 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: Portal-fw tryout: IllegalStateException

2002-11-12 Thread Sylvain.Thevoz
I had the same problem.
Try tomcat 4.1.12.

Sylvain

-Message d'origine-
De: Kenny Chow [mailto:kycaeolus@;yahoo.com]
Date: mardi, 12. novembre 2002 00:42
À: [EMAIL PROTECTED]
Objet: Portal-fw tryout: IllegalStateException


Just found out in the cvs version of cocoon 2.1-dev.
(Date of checkout is Nov 11 18:00 Eastern Time)

Jdk1.3.1_06, Win2k, tomcat 406

Anyone else experiencing this problem?

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




Portal-fw tryout: IllegalStateException

2002-11-11 Thread Kenny Chow
Just found out in the cvs version of cocoon 2.1-dev.
(Date of checkout is Nov 11 18:00 Eastern Time)

Jdk1.3.1_06, Win2k, tomcat 406

Anyone else experiencing this problem?

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




portal-fw

2002-10-24 Thread Wolle
hi there!

i try to use the portal-fw. there is one thing i descoverd and i am sure
anybody else has already a solution for the problem.

the usermanagement (like login, create user, roles, ) is stored in
xml-files. if a huge amount of people want to use the portal i would
prefer using  a database for storing instead. 

there are some other examples in the samples-page which use a database. 

was the portal-fw created with the intention to work without a database?

has anybody involved a database in the framwork? how can i do that without
loosing all the possibilites of the portal-fw?


bye for now

Wolfgang Weigel
_


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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