Re: [uportal-dev] guest behavior in uP 3.1

2009-03-13 Thread SOO KIM
Susan,

Nope, We are not using gateway parameter.

SOO IL KIM

http://kimsooil.com



On Fri, Mar 13, 2009 at 10:17 AM, Susan Bramhall wrote:

>  Soo (or is it Kim?),
> Can you confirm that you are not using gateway parameter in CAS filter so I
> can rule that out as a related condition?
> Thanks,
> Susan
>
> SOO KIM wrote:
>
> I am getting the same error... just could not explain well like Susan.
> (Thanks Susan).
> So.. I am willing to cooperate on this.
>
> Another strange behavior is... after session expired any access to
> http://myportal/uPortal is getting the following error
> ---
>
> uPortal Error
>
> Sorry, but uPortal encountered an error that is preventing it from
> rendering. The error must be corrected by system administrators. Try again
> later.
>
> --
>
> portal.log shows...
>
>  INFO [TP-Processor3] provider.SimpleSecurityContext.[] Mar/13 08:38:36 -
> Principal or OpaqueCredentials not initialized prior to authenticate
>  INFO [TP-Processor3] jndi.JndiManagerImpl.[] Mar/13 08:38:36 - JNDI
> Context configured for sessionId='A609B84BECBC069116DE1BBA62B734FA',
> userId='8', and layoutId='1'
> ERROR [TP-Processor3] portal.ExceptionHelper.[] Mar/13 08:38:36 -
> Programming error
> org.jasig.portal.PortalException: java.lang.NullPointerException
> at
> org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:682)
> at
> org.jasig.portal.PortalSessionManager.doGetInternal(PortalSessionManager.java:248)
> at
> org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:177)
> Caused by: java.lang.NullPointerException
> at
> org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:412)
> ... 23 more
>
>  INFO [PortalEvent-5] handlers.LoggingEventHandler.[] Mar/13 08:38:36 -
> Session created for GUEST_USER (guest) at Fri Mar 13 08:38:36 EDT 2009
> ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
> Mar/13 08:40:34 - Failed to retrieve UserProfile for person
> org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
> securityContext=[null] attributes=[{username=[ent-lo]}] isGuest:false while
> cleaning fragment cache, person will be skipped
> java.lang.Exception: Unable to find User Profile for user -1 and profile 1
> at
> org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
> at
> org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
> at
> org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
> at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
> at
> org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
> at
> org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
> ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
> Mar/13 08:40:34 - Failed to retrieve UserProfile for person
> org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
> securityContext=[null] attributes=[{username=[welcome-lo]}] isGuest:false
> while cleaning fragment cache, person will be skipped
> java.lang.Exception: Unable to find User Profile for user -1 and profile 1
> at
> org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
> at
> org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
> at
> org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
> at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
> at
> org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
> at
> org.springframework.scheduling.quartz.QuartzJobBean.execut

Re: [uportal-dev] guest behavior in uP 3.1

2009-03-13 Thread SOO KIM
I am getting the same error... just could not explain well like Susan.
(Thanks Susan).
So.. I am willing to cooperate on this.

Another strange behavior is... after session expired any access to
http://myportal/uPortal is getting the following error
---

uPortal Error

Sorry, but uPortal encountered an error that is preventing it from
rendering. The error must be corrected by system administrators. Try again
later.

--

portal.log shows...

 INFO [TP-Processor3] provider.SimpleSecurityContext.[] Mar/13 08:38:36 -
Principal or OpaqueCredentials not initialized prior to authenticate
 INFO [TP-Processor3] jndi.JndiManagerImpl.[] Mar/13 08:38:36 - JNDI Context
configured for sessionId='A609B84BECBC069116DE1BBA62B734FA', userId='8', and
layoutId='1'
ERROR [TP-Processor3] portal.ExceptionHelper.[] Mar/13 08:38:36 -
Programming error
org.jasig.portal.PortalException: java.lang.NullPointerException
at
org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:682)
at
org.jasig.portal.PortalSessionManager.doGetInternal(PortalSessionManager.java:248)
at
org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:177)
Caused by: java.lang.NullPointerException
at
org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:412)
... 23 more

 INFO [PortalEvent-5] handlers.LoggingEventHandler.[] Mar/13 08:38:36 -
Session created for GUEST_USER (guest) at Fri Mar 13 08:38:36 EDT 2009
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[ent-lo]}] isGuest:false while
cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[welcome-lo]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[news-lo]}] isGuest:false while
cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(Fr

[uportal-dev] Release schedule of uP3.1?

2009-02-23 Thread SOO KIM
Hi all,

We (School of Management, Boston University) are running UP3.0.x for
now and really willing to be among the schools which will run the
much-anticipated UP3.1. We are trying to catch up any update/changes
in the trunk (which is actively changed in many ways). So, we are
holding our breath since we are watching many daily changes/updates.

Here's our question:

Do you think... in fall (starting at September 1)...Is it
safe/possible to launch a UP3.1.x-based portal with the same amounts
of customization such as AD-authentication, AD-persondirectory, dlm &
grouping, skin changes, etc.?

Or I could not find any schedule for uP3.1 releases in
http://www.ja-sig.org/wiki/display/UPC/Releases.

Please let me know any more info about the release schedule. Thanks in advance.

SOO IL KIM
School of Management, Boston University
---
http://www.linkedin.com/in/kimsooil

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re: [uportal-dev] LdapPersonAttributeDao configuration

2008-08-12 Thread SOO KIM
I don't see any error in portal.log or other logs.(That's the problem. seems
no problem in connection with AD) I will try to find a clue in
[EMAIL PROTECTED] which I was not subscribed accidentally. If I
could not find any, will post one in uportal-user. Thanks Eric.

SOO

On Tue, Aug 12, 2008 at 9:14 AM, Eric Dalquist
<[EMAIL PROTECTED]>wrote:

>  uPortal 3.1 requires Person Directory 1.5
>
> If you post details (error messages, stack traces from portal.log) we can
> provide more help.
>
> Also this should probably be on [EMAIL PROTECTED] as it isn't
> related to uPortal framework development
>
> -Eric
>
> SOO KIM wrote:
>
> Hi all,
>
> I am having the same issue when I try to launch UP3.1 (trunk)-based portal
> with Active Directory.
> I am wondering if I can use Person directory 1.1.x instead of 1.5. If I
> can, how?
>
> I tried it with replacing
> 1.5.0-SNAPSHOT in
> pom.xml
> with 1.1.2.
>
> It was unsuccessful.
>
> SOO
>
> On Fri, Aug 8, 2008 at 9:27 PM, Eric Dalquist <[EMAIL PROTECTED]
> > wrote:
>
>> One of my many pending emails:
>> http://www.ja-sig.org/wiki/display/PDM15/Person+Directory+1.5+Manual
>>
>> The person directory configuration is changing for 3.1 due to integration
>> of the search functionality. I did take the time to write up manual pages
>> with basic examples for all of the main DAOs though and they are on the
>> above linked wiki space.
>>
>> There will be more documentation once we get to a 3.1 RC about how to
>> migrate a config.
>>
>> -Eric
>>
>> Drew Wills wrote:
>>
>>> Hey folks (especially Eric),
>>>
>>> It seems that the enhancements to PersonAttributes that appear in uP 3.1
>>> bring changes to the way the DAOs are configured in spring, and the
>>> LdapPersonAttributeDao configuration I have for 3.0 doesn't work on trunk/
>>> anymore.
>>>
>>> I've updated much of it, but I'm still not getting the memberOf attribute
>>> that I'm expecting.  Is there current documentation on configuring
>>> LdapPersonAttributeDao for 3.1?
>>>
>>> Here's my XML:
>>>
>>>
>>>>> class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
>>>
>>>>> class="org.springframework.ldap.core.support.LdapContextSource">
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>xxx
>>>
>>>
>>>
>>>
>>>
>>>memberOf
>>>
>>>
>>>
>>>
>>>
>>> It feels like my problem is that I don't understand the successor to the
>>> 'query' property (which is commented out above).  I don't know where to put
>>> the filter expression -- is that part auto-magically handled by the
>>> 'queryAttributeMapping' property somehow?
>>>
>>> drew wills
>>>
>>>
>
>
> --
> -
> SOO IL KIM
> kimsooil.com
> 
>
> --
>
> You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
> PROTECTED]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/uportal-dev
>
>


-- 
-
SOO IL KIM
kimsooil.com


-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Re: [uportal-dev] LdapPersonAttributeDao configuration

2008-08-12 Thread SOO KIM
Hi all,

I am having the same issue when I try to launch UP3.1 (trunk)-based portal
with Active Directory.
I am wondering if I can use Person directory 1.1.x instead of 1.5. If I can,
how?

I tried it with replacing
1.5.0-SNAPSHOT in
pom.xml
with 1.1.2.

It was unsuccessful.

SOO

On Fri, Aug 8, 2008 at 9:27 PM, Eric Dalquist
<[EMAIL PROTECTED]>wrote:

> One of my many pending emails:
> http://www.ja-sig.org/wiki/display/PDM15/Person+Directory+1.5+Manual
>
> The person directory configuration is changing for 3.1 due to integration
> of the search functionality. I did take the time to write up manual pages
> with basic examples for all of the main DAOs though and they are on the
> above linked wiki space.
>
> There will be more documentation once we get to a 3.1 RC about how to
> migrate a config.
>
> -Eric
>
>
> Drew Wills wrote:
>
>> Hey folks (especially Eric),
>>
>> It seems that the enhancements to PersonAttributes that appear in uP 3.1
>> bring changes to the way the DAOs are configured in spring, and the
>> LdapPersonAttributeDao configuration I have for 3.0 doesn't work on trunk/
>> anymore.
>>
>> I've updated much of it, but I'm still not getting the memberOf attribute
>> that I'm expecting.  Is there current documentation on configuring
>> LdapPersonAttributeDao for 3.1?
>>
>> Here's my XML:
>>
>>
>>> class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
>>
>>> class="org.springframework.ldap.core.support.LdapContextSource">
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>xxx
>>
>>
>>
>>
>>
>>memberOf
>>
>>
>>
>>
>>
>> It feels like my problem is that I don't understand the successor to the
>> 'query' property (which is commented out above).  I don't know where to put
>> the filter expression -- is that part auto-magically handled by the
>> 'queryAttributeMapping' property somehow?
>>
>> drew wills
>>
>>


-- 
-
SOO IL KIM
kimsooil.com


-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev