Re: j2 in tomcat 5.5

2005-01-12 Thread Marcel Dullaart
For what its worth, I have similar problems when I try to run J2-M1 on
JBoss 4.0.1.
I wrote a description of what I did in my
blog(http://marcels-javanotes.blogspot.com/).

JBoss starts and spits out some log messages. After a short while, the
logging is taken over by jetspeed.
When fully started, I find the following error in the jetspeed.log:
[error] ResourceManager : unable to find resource
'/WEB-INF/VM_global_library.vm' in any resource loader.

When I browse to the portal page, I see the full page, but the
portlets show only the title bar, and the following errors show up in
the jetspeed.log:
ERROR org.apache.jetspeed.page.impl.CastorXmlPageManager -
expandAndProfileDocumentSet(): Navigation profile locator docset
unavailable for document set /top-pages.ds, ignored.
...
[error] ResourceManager : unable to find resource
'/WEB-INF/VM_global_library.vm' in any resource loader.
...
[error] VM #includeNestedLinksWithIconNavigation: error : too few
arguments to macro. Wanted 3 got 0
...
[error] RHS of #set statement is null. Context will not be modified.
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm [line 1,
column 1]
[warn] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm [line
32,column 38] : $Id is not a valid reference.
[error] RHS of #set statement is null. Context will not be modified.
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm [line 40,
column 1]
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.

After a bit of investigation, it came down to the VC macro
$!jetspeed.include($myF) on line 66 in
/WEB-INF/decorations/portlet/html/tigris/decorator.vm, which doesn't
result in any output.

Searching the file system for the file VM_global_library.vm in either
the JBoss or the tomcat file system gave no results.
Where does that file come from? Is it created on the fly, is it
packaged in one of the jarfiles?
Since the symptoms are similar, I think these issues are related, in
case you considere it a seperate issue, I'll be glad to open an issue
in jira about it.

Thanx,
Marcel

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



how to set a global context variable which can be used in any velocity template in Jetspeed?

2005-01-12 Thread James Wang
In Jetspeed,I want to set a global variable in
context,
so i can use it in every Velocity template,
everytime i set a variable in a template like that,
...
context.put("user","james");
setTemplate("index.vm");
...

and then i can use '$user' in index.vm,but when I
refer
to another Velocity template page from index.vm,
the $user variable will be lost,but i want to keep
it,how can i do?




__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

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



Retrieving URL

2005-01-12 Thread angeloimm
How all... i have seen that in order to forwarding to a portlet from another 
protlet i must populate the forward.xml file... is it so?
Then how can i have the url of a portlet? I.E: if i go to 
http://localhost:8080/jetspeed and i do login i can arrive to my portlet; then 
i copy the url in the address bar and i can see my portlet also when i'm not 
logged if i want to go directly to my portlet how can i do?




Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti 
a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it




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



Re: j2 in tomcat 5.5

2005-01-12 Thread Randy Watler
Marcel,
This is probably the only significant error:
Marcel Dullaart wrote:
After a bit of investigation, it came down to the VC macro
$!jetspeed.include($myF) on line 66 in
/WEB-INF/decorations/portlet/html/tigris/decorator.vm, which doesn't
result in any output.
 

The rest of the messages are common with working J2 instances, but need 
to be cleaned up.

Sorry for the confusion there,
Randy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-12 Thread Bharat Nagwani
Hi,

 

The directions on this link are in line with what I have. I fixed the
issue by using dbcp datasource object and not using the

connection pool weblogic provides. Weblogic pool driver is part of
weblogic.jar which is @25mb and I did not want to copy this

to web-inf\lib folder.

 

Another thing is jetspeed webapp on deploying created bunch of other
webapps in weblogic applications folder. But these did not

get created properly. They are all blank. So the main portal page show
all portlets with no content(they appear to be minimized).
I am going to try deploy each webapp (pam etc) individually and try. I
am not sure it is going to work since cross context access may not work
in weblogic.

 

Thanks much

Bharat

 



From: Randy Watler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 10:03 PM
To: Bharat Nagwani; 'Jetspeed Users List '
Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4

 

Bharat, 

First see this wiki page:
http://wiki.apache.org/portals/Jetspeed2/Fusion 

J1/Fusion and J2 use the same codebase, so I am fairly sure that you
will need to follow these instructions. If you still have problems,
perhaps some other J2/weblogic user can shed some light on your
problem... sorry I cannot help more.

Randy 

-Original Message- 
From: Bharat Nagwani 
To: Jetspeed Users List 
Sent: 1/11/05 5:49 PM 
Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4 

Hi, 

Jetspeed.xml does exist in my tomcat deployment in webapps folder. And I

see it uses 
 
 
  factory 
  org.apache.commons.dbcp.BasicDataSourceFactory 
   
 

I don't see any property for connection class. 

Even then, this is not going to work on Weblogic putting jetspeed.xml 
same level as jetspeed folder. jetspeed.xml will only work with Tomcat. 
is there another place to specify connection class? 

Thanks 

-Original Message- 
From: Randy Watler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 4:25 PM 
To: Jetspeed Users List 
Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4 

Bharat, 

I assume you are specifying 'weblogic/jdbc/wrapper/PoolConnection' in 
build.properties or jetspeed.xml. If so, you certainly need to make the 
driver class available to the Jetspeed webapp. With Tomcat, this is 
typically done by copying the appropriate jar containing the driver 
class to /shared/lib. I assume there must be a similar 
procedure that one can follow for Weblogic, no? 

Randy 

Bharat Nagwani wrote: 

>Thanks much. That did resolve the first two issues. 
>Now I am on stuck on third. The exact message is 
> 
>java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/PoolConnection 
>at java.lang.ClassLoader.defineClass0(Native Method) 
>... 
>[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] 
ERROR: 
>SQLException thrown while trying to get Connection from Datasource 
>(java:comp/env/jdbc/jetspeed) 
>Cannot obtain connection: driverURL = jdbc:weblogic:pool:jetspeed, 
props 
>= {enableTwoPhaseCommit=false, connectionPoolID=jetspeed, 
>jdbcTxDataSource=true, dataSourceName=jetspeed}. 
>Nested Exception: java.lang.RuntimeException: Failed to Generate 
Wrapper 
>Class 
>at 
>weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java

: 
>183) 
> 
>It seems like I have to move weblogic connection class to the webapp. 
>Is there any jetspeed or spring connection pool framework I can use 
>instead? 
> 
>thanks 
> 
>-Original Message- 
>From: Randy Watler [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, January 11, 2005 3:50 PM 
>To: Jetspeed Users List 
>Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4 
> 
>Bharat, 
> 
>You need to configure the 
>org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerM

a 
>nager 
>bean in jetspeed-spring.xml to use the WeblogicManager instead of the 
>TomcatManager class, (from the same package). The WeblogicManager class


>takes no constructor arguments, (see the JBossManager entry in 
>jetspeed-spring.xml) 
> 
>The autodeployment properties are ignored by WeblogicManager. 
> 
>Sorry, I am not much help on the connection pool issue... 
> 
>Randy 
> 
>Bharat Nagwani wrote: 
> 
>  
> 
>>Hi, 
>> 
>> 
>> 
>>I installed J2m1 on Tomcat 4.1(hsql db). Works perfect. 
>> 
>>When I tried the same on Weblogic 8.1 sp4(hsql db) I get following 
>>
>> 
>error 
>  
> 
>> 
>>WARN: IOException, CatalinaPAM will only function as FileSystemPAM: 
>>java.net.ConnectException: Connection refused: connect 
>> 
>> 
>> 
>>Looking at source I see this message is coming from TomcatManager.java

>>
>> 
>. 
>  
> 
>>This seems to get invoked because I have in JetSpeed.properties 
>> 
>> 
>> 
>>org.apache.jetspeed.catalina.version.major 
>> 
>>autodeployment.catalina.version.major=5 
>> 
>>autodeployment.catalina.base=${applicationRoot}/../../ 
>> 
>>autodeployment.catalina.engine=Catalina 
>> 
>>autodeployment.server=localhost 
>> 
>>autodeployment.port=80 
>> 
>>autodeployment.user=admin 
>>

Re: j2 in tomcat 5.5

2005-01-12 Thread Marcel Dullaart
Thanx for the info Randy,

I noticed teh same message popping up when running J2 on Tomcat 5.0.28
later this afternoon.
I'll continue investigating why the portlet bodies are not properly
included tomorrow at the office.

Marcel

On Wed, 12 Jan 2005 10:11:03 -0700, Randy Watler <[EMAIL PROTECTED]> wrote:
> Marcel,
> 
> This is probably the only significant error:
> 
> Marcel Dullaart wrote:
> 
> >After a bit of investigation, it came down to the VC macro
> >$!jetspeed.include($myF) on line 66 in
> >/WEB-INF/decorations/portlet/html/tigris/decorator.vm, which doesn't
> >result in any output.
> >
> >
> The rest of the messages are common with working J2 instances, but need
> to be cleaned up.
> 
> Sorry for the confusion there,
> 
> Randy
> 
> 
> -
> 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: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-12 Thread Jeff Sheets
My approach when using weblogic was to add the 5 shared jars into the
weblogic classpath in the startweblogic script.  Then in my
applications directory I have jetspeed.war and also myapp.ear.  Inside
myapp.ear is myportletapp.war and myportletapp2.war.  They both show
up find in the portal since the shared jars are in the server
classpath.

I wrote 5 or so posts on my blog about getting jetspeed to work with
weblogic.  It might help you out: 
http://uncommentedbytes.blogspot.com/2004/11/jetspeed-2-on-weblogic-finally.html

Also, the weblogic.jar contains all of the base weblogic classes, so
just make sure it is in your system classpath (or being loaded when
your server starts up).  You should never need to add this inside an
application.  My jetspeed app is working fine accessing the weblogic
connection pool, so your first error might have more to do with your
weblogic setup than with jetspeed.

Let me know how it goes,
-- Jeff


On Wed, 12 Jan 2005 09:56:35 -0800, Bharat Nagwani <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> The directions on this link are in line with what I have. I fixed the
> issue by using dbcp datasource object and not using the
> 
> connection pool weblogic provides. Weblogic pool driver is part of
> weblogic.jar which is @25mb and I did not want to copy this
> 
> to web-inf\lib folder.
> 
> Another thing is jetspeed webapp on deploying created bunch of other
> webapps in weblogic applications folder. But these did not
> 
> get created properly. They are all blank. So the main portal page show
> all portlets with no content(they appear to be minimized).
> I am going to try deploy each webapp (pam etc) individually and try. I
> am not sure it is going to work since cross context access may not work
> in weblogic.
> 
> Thanks much
> 
> Bharat
> 
> 
> 
> From: Randy Watler [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 11, 2005 10:03 PM
> To: Bharat Nagwani; 'Jetspeed Users List '
> Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4
> 
> Bharat,
> 
> First see this wiki page:
> http://wiki.apache.org/portals/Jetspeed2/Fusion
> 
> J1/Fusion and J2 use the same codebase, so I am fairly sure that you
> will need to follow these instructions. If you still have problems,
> perhaps some other J2/weblogic user can shed some light on your
> problem... sorry I cannot help more.
> 
> Randy
> 
> -Original Message-
> From: Bharat Nagwani
> To: Jetspeed Users List
> Sent: 1/11/05 5:49 PM
> Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4
> 
> Hi,
> 
> Jetspeed.xml does exist in my tomcat deployment in webapps folder. And I
> 
> see it uses
> 
> 
>   factory
>   org.apache.commons.dbcp.BasicDataSourceFactory
>   
> 
> 
> I don't see any property for connection class.
> 
> Even then, this is not going to work on Weblogic putting jetspeed.xml
> same level as jetspeed folder. jetspeed.xml will only work with Tomcat.
> is there another place to specify connection class?
> 
> Thanks
> 
> -Original Message-
> From: Randy Watler [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 11, 2005 4:25 PM
> To: Jetspeed Users List
> Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4
> 
> Bharat,
> 
> I assume you are specifying 'weblogic/jdbc/wrapper/PoolConnection' in
> build.properties or jetspeed.xml. If so, you certainly need to make the
> driver class available to the Jetspeed webapp. With Tomcat, this is
> typically done by copying the appropriate jar containing the driver
> class to /shared/lib. I assume there must be a similar
> procedure that one can follow for Weblogic, no?
> 
> Randy
> 
> Bharat Nagwani wrote:
> 
> >Thanks much. That did resolve the first two issues.
> >Now I am on stuck on third. The exact message is
> >
> >java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/PoolConnection
> >at java.lang.ClassLoader.defineClass0(Native Method)
> >...
> >[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl]
> ERROR:
> >SQLException thrown while trying to get Connection from Datasource
> >(java:comp/env/jdbc/jetspeed)
> >Cannot obtain connection: driverURL = jdbc:weblogic:pool:jetspeed,
> props
> >= {enableTwoPhaseCommit=false, connectionPoolID=jetspeed,
> >jdbcTxDataSource=true, dataSourceName=jetspeed}.
> >Nested Exception: java.lang.RuntimeException: Failed to Generate
> Wrapper
> >Class
> >at
> >weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java
> 
> :
> >183)
> >
> >It seems like I have to move weblogic connection class to the webapp.
> >Is there any jetspeed or spring connection pool framework I can use
> >instead?
> >
> >thanks
> >
> >-Original Message-
> >From: Randy Watler [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, January 11, 2005 3:50 PM
> >To: Jetspeed Users List
> >Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4
> >
> >Bharat,
> >
> >You need to configure the
> >org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerM
> 
> a
> >nager
> >bean in jetspeed-spri

Re: Fusion Controls

2005-01-12 Thread Jeff Sheets
David,

Have you had a chance to look at the issue with the portlet controls? 
We are having to write our portlets strictly in the "View" mode, which
means our "Edit" screens are also in the view mode.  It would be nice
to use the portal functionality for this instead.

Thanks,
-- Jeff


On Tue, 21 Dec 2004 13:55:34 -0800, David Sean Taylor
<[EMAIL PROTECTED]> wrote:
> 
> On Dec 20, 2004, at 9:26 AM, Jeff Sheets wrote:
> 
> > All of the controls (Edit, Help, Max, Min, Restore) appear when
> > deploying the demos or my own JSR-168 portlets to Jetspeed 1.6 Fusion.
> >  Also, once in "Edit" mode, clicking on the "Restore" button does not
> > bring me back to the "View" screen.  Has anyone else dealt with this
> > behavior before?
> >
> Yup, that used to work until October when we swapped out the
> Navigational State component (for a better one).
> I simply need to complete the migration process. Im half way there.
> I was planning on releasing Fusion/1.6 next week, but I've had some
> hardware crashes here and now my schedule is already off
> 
> -
> 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: jetspeed 2 on Weblogic 8.1 Sp4

2005-01-12 Thread Bharat Nagwani
Thanks for the blog. 
Weblogic.jar is set properly since connection
Pool is getting deployed. 
Based on your blog I added this property 
-Djava.naming.provider.url=t3://localhost, but that did not help.
Still got the classnotfound on weblogic pool class.

Thanks
bharat

-Original Message-
From: Jeff Sheets [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 12, 2005 11:08 AM
To: Jetspeed Users List
Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4

My approach when using weblogic was to add the 5 shared jars into the
weblogic classpath in the startweblogic script.  Then in my
applications directory I have jetspeed.war and also myapp.ear.  Inside
myapp.ear is myportletapp.war and myportletapp2.war.  They both show
up find in the portal since the shared jars are in the server
classpath.

I wrote 5 or so posts on my blog about getting jetspeed to work with
weblogic.  It might help you out: 
http://uncommentedbytes.blogspot.com/2004/11/jetspeed-2-on-weblogic-fina
lly.html

Also, the weblogic.jar contains all of the base weblogic classes, so
just make sure it is in your system classpath (or being loaded when
your server starts up).  You should never need to add this inside an
application.  My jetspeed app is working fine accessing the weblogic
connection pool, so your first error might have more to do with your
weblogic setup than with jetspeed.

Let me know how it goes,
-- Jeff


On Wed, 12 Jan 2005 09:56:35 -0800, Bharat Nagwani
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> The directions on this link are in line with what I have. I fixed the
> issue by using dbcp datasource object and not using the
> 
> connection pool weblogic provides. Weblogic pool driver is part of
> weblogic.jar which is @25mb and I did not want to copy this
> 
> to web-inf\lib folder.
> 
> Another thing is jetspeed webapp on deploying created bunch of other
> webapps in weblogic applications folder. But these did not
> 
> get created properly. They are all blank. So the main portal page show
> all portlets with no content(they appear to be minimized).
> I am going to try deploy each webapp (pam etc) individually and try. I
> am not sure it is going to work since cross context access may not
work
> in weblogic.
> 
> Thanks much
> 
> Bharat
> 
> 
> 
> From: Randy Watler [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 11, 2005 10:03 PM
> To: Bharat Nagwani; 'Jetspeed Users List '
> Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4
> 
> Bharat,
> 
> First see this wiki page:
> http://wiki.apache.org/portals/Jetspeed2/Fusion
> 
> J1/Fusion and J2 use the same codebase, so I am fairly sure that you
> will need to follow these instructions. If you still have problems,
> perhaps some other J2/weblogic user can shed some light on your
> problem... sorry I cannot help more.
> 
> Randy
> 
> -Original Message-
> From: Bharat Nagwani
> To: Jetspeed Users List
> Sent: 1/11/05 5:49 PM
> Subject: RE: jetspeed 2 on Weblogic 8.1 Sp4
> 
> Hi,
> 
> Jetspeed.xml does exist in my tomcat deployment in webapps folder. And
I
> 
> see it uses
> 
> 
>   factory
>   org.apache.commons.dbcp.BasicDataSourceFactory
>   
> 
> 
> I don't see any property for connection class.
> 
> Even then, this is not going to work on Weblogic putting jetspeed.xml
> same level as jetspeed folder. jetspeed.xml will only work with
Tomcat.
> is there another place to specify connection class?
> 
> Thanks
> 
> -Original Message-
> From: Randy Watler [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 11, 2005 4:25 PM
> To: Jetspeed Users List
> Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4
> 
> Bharat,
> 
> I assume you are specifying 'weblogic/jdbc/wrapper/PoolConnection' in
> build.properties or jetspeed.xml. If so, you certainly need to make
the
> driver class available to the Jetspeed webapp. With Tomcat, this is
> typically done by copying the appropriate jar containing the driver
> class to /shared/lib. I assume there must be a similar
> procedure that one can follow for Weblogic, no?
> 
> Randy
> 
> Bharat Nagwani wrote:
> 
> >Thanks much. That did resolve the first two issues.
> >Now I am on stuck on third. The exact message is
> >
> >java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/PoolConnection
> >at java.lang.ClassLoader.defineClass0(Native Method)
> >...
> >[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl]
> ERROR:
> >SQLException thrown while trying to get Connection from Datasource
> >(java:comp/env/jdbc/jetspeed)
> >Cannot obtain connection: driverURL = jdbc:weblogic:pool:jetspeed,
> props
> >= {enableTwoPhaseCommit=false, connectionPoolID=jetspeed,
> >jdbcTxDataSource=true, dataSourceName=jetspeed}.
> >Nested Exception: java.lang.RuntimeException: Failed to Generate
> Wrapper
> >Class
> >at
>
>weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java
> 
> :
> >183)
> >
> >It seems like I have to move weblogic connection class to the webapp.
> >

Re: Fusion Security

2005-01-12 Thread Jeff Sheets
I just want to answer my own question, in case anyone needs this info later.

Authentication through JAAS can be accomplished easily in 1.6 by
setting up your TurbineResources.properties to use the
JAASSessionValidator:
action.sessionvalidator=JAASSessionValidator

Then setup your web.xml file (and weblogic.xml file for weblogic) by
uncommented the commented out security lines that are in it.  More
detail is in the source for JAASSessionValidator.

Authorization is proving to be more difficult.  I have a
JAASAccessController written that uses the container roles from
isUserInRole.  However this doesn't work with the SecurityCache, so I
may need to also rewrite the security cache.  The main problem is that
Jetspeed needs to call getRoles in many places, but the container only
lets you call isUserInRole.  This may take a lot of work, but I'll get
it eventually.

-- Jeff


On Fri, 17 Dec 2004 07:39:02 -0600, Jeff Sheets <[EMAIL PROTECTED]> wrote:
> I have been struggling to figure out if I can use my application
> server's (Weblogic) container security realm to authenticate and
> authorize users in my jetspeed portal.  I saw a couple of posts that
> this is possible with Jetspeed 2 through JAAS, but what about Jetspeed
> 1.6 Fusion?
> 
> Has anyone attempted to authenticate through an app server in Jetspeed
> 1 or Fusion?  Maybe even a good Jetspeed 2 example would help me out.
> 
> Thank you,
> -- Jeff
>

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



RE: Retrieving URL

2005-01-12 Thread Archana Turaga
You have to user the forwards.xml to use the forwards functionality
offered by Jetspeed. 
When you say "if i want to go directly to my portlet how can i do?" do
you mean you want to see your portlet when you type in
http://localhost:8080/jetspeed?

Also when you copied and pasted urls did you hit File->New on Internet
Explorer and then paste the url...if you did then sure you will see the
logged in screen even though you did not explicitly login in the new
browser(if you logout here...you would have effectively logged out of
the other browser session). Go the start and open completely new
instance of the IE and then paste the url and then see the behavior.

Regards,
Archana

-Original Message-
From: angeloimm [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 12, 2005 11:03 AM
To: Jetspeed Jetspeed
Subject: Retrieving URL

How all... i have seen that in order to forwarding to a portlet from
another protlet i must populate the forward.xml file... is it so?
Then how can i have the url of a portlet? I.E: if i go to
http://localhost:8080/jetspeed and i do login i can arrive to my
portlet; then i copy the url in the address bar and i can see my portlet
also when i'm not logged if i want to go directly to my portlet how
can i do?




Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza
limiti a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it




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




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