You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Paul.S" <pa...@hotmail.com> on 2007/10/04 18:13:34 UTC

Re: RE: Jetspeed 2 on WAS 6.1.0.9

Hi

I beieve this is already available in the jetspeed-security-2.1-.jar. there
is a file called login.conf which contains these entries....


Paul




房建民 wrote:
> 
>    I guess the reason of it is JAAS, before i has deployed jetspeed2 on
> jboss4.0.5, 
> and i had the same issue with you.
>    Then I found it's because the JAAS, so I think to modify the
> jboss/default/conf/login-fonfig.xml, 
> in the file I add below:
>     <application-policy name="Jetspeed">
> 		<authentication>
> 			<login-module
> code="org.apache.jetspeed.security.impl.DefaultLoginModule"
> flag="required"/>
> 		</authentication>
> 	</application-policy>
>     Notice the  application-policy name must be "Jetspeed".
>   This issue is resolved by above modifing , I don't familiar with WAS, so
> I don't know which file to modify.
> You can along with this idea , maybe can resove your issue.
>   I hope this can help you.
> 
> 
> ------------------				 
> Jam, Frans
> 2007-09-29
> 
> -------------------------------------------------------------
> :Paul.S
> :2007-09-28 21:17:45
> :jetspeed-user@portals.apache.org
> :
> subject:RE: Jetspeed 2 on WAS 6.1.0.9
> 
> Hi
> 
> This has been an issue that i am still not able to resolve....
> 
> Is there a way that i can turn on the logs to see whether the call is
> actually being made to the DB or where the issue is.  I am suspecting this
> because, even if i enter am incorrect id/pwd, it doesnt throw any error
> messsage, it just gets me back to the login page....
> 
> i would like to turn all logs and see where this causes an issue.
> 
> I have DEBUG on WEB-INF/conf/Log4j.properties.
> 
> Any help???
> 
> -Paul
> 
> 
> 
> Paul.S wrote:
>> 
>> Hi 
>> 
>> Still no luck with the issue.....I have deployed on WAS as 2 different
>> WAR
>> files....Dont know whether this might be an issue.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Paul.S wrote:
>>> 
>>> Mick
>>> 
>>> I have taken the war file from tomcat and installed it on WAS. So i
>>> guess
>>> the psml will be on filesystem. Is there a table that I can check on
>>> Oracle for this as well? 
>>> 
>>> I just checked the install on Tomcat and i was able to login to the same
>>> DB.
>>> 
>>> 
>>> -P
>>> 
>>> 
>>> 
>>> 
>>> Timony, Michael wrote:
>>>> 
>>>> Also, are you using dbpsm? (Are the psml pages stored in the database?)
>>>> If you are then if you edit the default.psml on the filesystem it won't
>>>> have any affect, you will need to update the entry in the database.
>>>> 
>>>> Mick 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: PaulS [mailto:paulstadler_r@hotmail.com] 
>>>> Sent: Thursday, September 13, 2007 8:38 AM
>>>> To: jetspeed-user@portals.apache.org
>>>> Subject: RE: Jetspeed 2 on WAS 6.1.0.9
>>>> 
>>>> 
>>>> Hi Mick
>>>> 
>>>> I tried that with no luck.
>>>> 
>>>> - Commented out PortalFilter  in web.xml
>>>> - Commented out LoginPortlet in portlet.xml. It uses PortalLoginPortlet
>>>> - Commented out LoginPortlet in jetspeed-portlet.xml and added
>>>> PortalLoginPortlet
>>>> - Added j2-admin::PortalLoginPortlet in default-page.psml
>>>> - I have created a oracle datasource and have this entry in
>>>> datasource.xml 
>>>> 
>>>> When i try to login i see these entries in  sysout
>>>> 
>>>> [9/13/07 8:20:18:732 EDT] 00000023 ServletWrappe I   SRVE0253I:
>>>> [j2-admin_war] [/j2-admin] [/WEB-INF/security/login/portal-login.jsp]:
>>>> Destroy successful.
>>>> [9/13/07 8:20:18:754 EDT] 00000023 ServletWrappe I   SRVE0242I:
>>>> [j2-admin_war] [/j2-admin] [/WEB-INF/security/login/portal-login.jsp]:
>>>> Initialization successful.
>>>> 
>>>> 
>>>> But it doesnt do anything on the frontend.  even if i enter dummy
>>>> user/pwd it doesnt give out anything.
>>>> 
>>>> any help would be great.
>>>> 
>>>> 
>>>> Paul
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Timony, Michael wrote:
>>>>> 
>>>>> See my reply to a similar question from a few days ago:
>>>>> 
>>>>> http://www.nabble.com/RE%3A-Moved-Install-to-Websphere---Can%27t-Login
>>>>> -to-Admin-p12624673.html
>>>>> 
>>>>> The java.util.MissingResourceException is not serious and you can 
>>>>> ignore if you want to. It just complaining about a missing resources
>>>>> file.
>>>>> 
>>>>> Mick
>>>>> 
>>>>> -----Original Message-----
>>>>> From: Paul Stadler [mailto:paulstadler_r@hotmail.com]
>>>>> Sent: Tuesday, September 11, 2007 8:46 PM
>>>>> To: jetspeed-user@portals.apache.org
>>>>> Subject: Re: Jetspeed 2 on WAS 6.1.0.9
>>>>> 
>>>>> This is the log file entry for the error while the WAS is coming
>>>>> up.....
>>>>>  
>>>>> 00000017 LanguageSetIm E
>>>>> com.ibm.ws.portletcontainer.om.common.impl.LanguageSetImpl
>>>>> loadResourceBundle EJPPC0103E: Error occurred while initializing
>>>>> portlet                                
>>>>> java.util.MissingResourceException: Can't find bundle for base name
>>>>> org.apache.jetspeed.portlets.site.resources.Site, locale en        at
>>>>> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:853)       
>>>>> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:822)       
>>>>> at java.util.ResourceBundle.getBundle(ResourceBundle.java:716)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.om.common.impl.LanguageSetImpl.loadResourceBundle(LanguageSetImpl.java:135)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.om.common.impl.LanguageSetImpl.init(LanguageSetImpl.java:99)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.om.translator.wccm.WCCMPortletDefinitionTranslator.createLanguageSet(WCCMPortletDefinitionTranslator.java:110)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.om.translator.wccm.WCCMPortletDefinitionTranslator.translate(WCCMPortletDefinitionTranslator.java:72)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.om.translator.wccm.WCCMPortletApplicationDefinitionTranslator.translate(WCCMPortletApplicationDefinitionTranslator.java:63)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.om.translator.wccm.WCCMWebApplicationDefinitionTranslator.translate(WCCMWebApplicationDefinitionTranslator.java:37)       
>>>>> at
>>>>> com.ibm.ws.portletcontainer.runtime.PortletMetaDataListener.metaDataCreated(PortletMetaDataListener.java:74)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.MetaDataMgrImpl.fireMetaDataCreated(MetaDataMgrImpl.java:186)       
>>>>> at
>>>>> com.ibm.ws.webcontainer.metadata.WebMetaDataFactory.createMetaData(WebMetaDataFactory.java:205)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaDataFromFactories(MetaDataMgrImpl.java:170)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:300)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:563)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:965)       
>>>>> at
>>>>> com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)       
>>>>> at
>>>>> com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:341)       
>>>>> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
>>>>>  
>>>>>  
>>>>>  
>>>>> After the server starts up. and i can see the login portal page.
>>>>>  
>>>>>  
>>>>> this is the entry after i try to login....
>>>>>  
>>>>>  00000020 ServletWrappe I   SRVE0242I: [test-portal_war] [/jetspeed]
>>>>> [FilterProxyServlet]: Initialization successful. 00000020 
>>>>> ServletWrappe I
>>>>> SRVE0242I: [test-portal_war] [/jetspeed] [/index.jsp]: Initialization
>>>>> successful. 00000020 ServletWrappe I   SRVE0242I: [j2-admin_war]
>>>>> [/j2-admin] [/WEB-INF/security/login/login.jsp]: Initialization
>>>>> successful. 00000020 ServletWrappe I   SRVE0242I: [j2-admin_war]
>>>>> [/j2-admin] [/WEB-INF/view/locale-list.jsp]: Initialization
>>>>> successful.
>>>>> 00000021 ServletWrappe I   SRVE0242I: [test-portal_war] [/jetspeed]
>>>>> [LoginProxyServlet]: Initialization successful. 00000020 ServletWrappe 
>>>>> I
>>>>> SRVE0242I: [test-portal_war] [/jetspeed] [LoginRedirectorServlet]:
>>>>> Initialization successful.
>>>>>  
>>>>>  
>>>>>  
>>>>>  
>>>>>  
>>>>> _________________________________________________________________
>>>>> Can you find the hidden words?? Take a break and play Seekadoo!
>>>>> http://club.live.com/seekadoo.aspx?icid=seek_wlmailtextlink
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Jetspeed-2-on-WAS-6.1.0.9-tf4426318.html#a12653909
>>>> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Jetspeed-2-on-WAS-6.1.0.9-tf4426318.html#a12940282
> Sent from the Jetspeed - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 

-- 
View this message in context: http://www.nabble.com/Jetspeed-2-on-WAS-6.1.0.9-tf4426318.html#a13043322
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: RE: Jetspeed 2 on WAS 6.1.0.9

Posted by "Paul.S" <pa...@hotmail.com>.
Hi 

Getting Preferences: null in trace.log
Does this mean that it was not able to access the DB to get the prefs?


>From trace.log
==========


[10/5/07 13:24:26:481 EDT] 00000021 SystemOut     O   DEBUG: Getting
Preferences: null

[10/5/07 13:24:26:483 EDT] 00000021 SystemOut     O   DEBUG: Returning
Preferences: org.apache.pluto.core.impl.PortletPreferencesImpl@34783478

[10/5/07 13:24:27:537 EDT] 00000020 SystemOut     O   DEBUG:
PortletContainerImpl.portletService(min-dp) called.

[10/5/07 13:24:27:539 EDT] 00000020 SystemOut     O   DEBUG: Getting
Preferences: null

[10/5/07 13:24:27:542 EDT] 00000020 SystemOut     O   DEBUG: Returning
Preferences: org.apache.pluto.core.impl.PortletPreferencesImpl@2a6e2a6e

[10/5/07 13:24:28:190 EDT] 00000020 SystemOut     O   DEBUG:
PortletContainerImpl.portletService(min-dp) called.

[10/5/07 13:24:28:192 EDT] 00000020 SystemOut     O   DEBUG: Getting
Preferences: null

[10/5/07 13:24:28:195 EDT] 00000020 SystemOut     O   DEBUG: Returning
Preferences: org.apache.pluto.core.impl.PortletPreferencesImpl@3b9a3b9a



-- 
View this message in context: http://www.nabble.com/Jetspeed-2-on-WAS-6.1.0.9-tf4426318.html#a13064000
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org