Message Boards

liferay oxray hook

priyo chatterjee, modified 8 Years ago.

liferay oxray hook

New Member Posts: 2 Join Date: 7/29/15 Recent Posts
portal-ext.properties


## To activate or deactivate oxAuth plugin
## put true to activate and false to deactivate.
gluu.openidconnect.auth.enabled=true

## Your oxAuth client ID and Client Secret.
gluu.openidconnect.client.id=@!EDFB.879F.2DAE.D95A!0001!0442.B31E!0008!33A7.FAD3
gluu.openidconnect.client.secret=d7a04f17-0c41-46b9-8bcb-1d5891fc534a

## Your oAuth Server Domain

gluu.openidconnect.idp.domain=https://ce.gluu.info

## Your oAuth Server Auto discovery url

gluu.openidconnect.url.discovery=https://ce.gluu.info/.well-known/openid-configuration

##Your oAuth Server Logout URL (Typically this will be used to logout user from oAuth when user logout in liferay)

gluu.openidconnect.idp.logout=https://ce.gluu.info/identity/logout



## liferay server callback url that will be handle response by oAuth Server after authentication

## Replace the localhost:8080 with your liferay domain name.

gluu.openidconnect.client.redirect.url=http://localhost:6080/openidconnect/callback

## This page would be invoke when user not exist in liferay database but it getting authenticated from oAuth Server.

## Typical create a liferay page with /no-such-user-found or Redirect to liferay registration page url

gluu.openidconnect.no.such.user.redirect.url=http://localhost:6080/no-such-user-found

liferay logs:

Jul 30, 2015 10:31:53 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
Jul 30, 2015 10:31:53 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-6080"]
Jul 30, 2015 10:31:53 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-6009"]
Jul 30, 2015 10:31:53 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 639 ms
Jul 30, 2015 10:31:53 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 30, 2015 10:31:53 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Jul 30, 2015 10:31:53 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/conf/Catalina/localhost/ROOT.xml
Loading jar:file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/portal-setup-wizard.properties
Loading jar:file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Jul 30, 2015 10:32:03 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
10:32:08,450 INFO [localhost-startStop-1][DialectDetector:71] Determine dialect for HSQL Database Engine 2
10:32:08,455 WARN [localhost-startStop-1][DialectDetector:86] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal-ext.properties.
10:32:08,501 INFO [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.HSQLDialect
Starting Liferay Portal Community Edition 6.2 CE GA4 (Newton / Build 6203 / April 16, 2015)
10:32:29,547 INFO [localhost-startStop-1][StartupAction:96] There are no patches installed
10:32:30,101 INFO [localhost-startStop-1][BaseDB:481] Database supports case sensitive queries
10:32:30,532 INFO [localhost-startStop-1][ServerDetector:138] Server supports hot deploy
10:32:30,539 INFO [localhost-startStop-1][PluginPackageUtil:1013] Reading plugin package for the root context
10:32:33,127 INFO [localhost-startStop-1][AutoDeployDir:139] Auto deploy scanner started for /home/chatterjee/software/liferay-portal-6.2-ce-ga4/deploy
10:32:34,841 INFO [liferay/scheduler_dispatch-1][PluginPackageUtil:1280] Reloading repositories
Jul 30, 2015 10:32:35 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Remoting Servlet'
Jul 30, 2015 10:32:36 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/calendar-portlet
10:32:37,728 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin calendar-portlet requires marketplace-portlet
10:32:37,746 INFO [localhost-startStop-1][HotDeployImpl:273] Queueing calendar-portlet for deploy because it is missing marketplace-portlet
Jul 30, 2015 10:32:37 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/resources-importer-web
10:32:38,291 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin resources-importer-web requires marketplace-portlet
10:32:38,292 INFO [localhost-startStop-1][HotDeployImpl:273] Queueing resources-importer-web for deploy because it is missing marketplace-portlet
Jul 30, 2015 10:32:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/marketplace-portlet
10:32:39,449 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying marketplace-portlet from queue
10:32:39,450 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for marketplace-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:39 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/service.properties
10:32:40,017 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for marketplace-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/portal.properties
10:32:40,115 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for marketplace-portlet is available for use
10:32:40,118 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for marketplace-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/2-marketplace-portlet/WEB-INF/classes/portlet.properties
10:32:40,221 INFO [localhost-startStop-1][PortletHotDeployListener:497] 3 portlets for marketplace-portlet are available for use
10:32:40,222 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying calendar-portlet from queue
10:32:40,222 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for calendar-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:40 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/service.properties
10:32:41,049 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for calendar-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/portal.properties
10:32:41,965 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for calendar-portlet is available for use
10:32:41,975 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for calendar-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/0-calendar-portlet/WEB-INF/classes/portlet.properties
10:32:43,039 INFO [localhost-startStop-1][PortletHotDeployListener:492] 1 portlet for calendar-portlet is available for use
10:32:43,040 INFO [localhost-startStop-1][SocialHotDeployListener:94] Registering social for calendar-portlet
10:32:43,041 INFO [localhost-startStop-1][SocialHotDeployListener:103] Social for calendar-portlet is available for use
10:32:43,041 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying resources-importer-web from queue
10:32:43,041 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for resources-importer-web
Jul 30, 2015 10:32:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
10:32:43,157 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for resources-importer-web
10:32:43,161 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for resources-importer-web is available for use
Jul 30, 2015 10:32:43 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/sync-web
10:32:44,074 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin sync-web requires marketplace-portlet
10:32:44,074 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying sync-web from queue
10:32:44,074 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for sync-web
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/3-sync-web/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/3-sync-web/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/3-sync-web/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/3-sync-web/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/3-sync-web/WEB-INF/classes/service.properties
Jul 30, 2015 10:32:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/gluu-openid-connect-hook
10:32:45,656 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin gluu-openid-connect-hook requires marketplace-portlet
10:32:45,657 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying gluu-openid-connect-hook from queue
10:32:45,657 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for gluu-openid-connect-hook
Jul 30, 2015 10:32:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
10:32:45,933 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for gluu-openid-connect-hook
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/4-gluu-openid-connect-hook/WEB-INF/classes/portal.properties
10:32:45,945 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for gluu-openid-connect-hook is available for use
Jul 30, 2015 10:32:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/web-form-portlet
10:32:46,543 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin web-form-portlet requires marketplace-portlet
10:32:46,543 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying web-form-portlet from queue
10:32:46,543 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for web-form-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/5-web-form-portlet/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/5-web-form-portlet/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:46 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
10:32:46,692 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for web-form-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/5-web-form-portlet/WEB-INF/classes/portlet.properties
10:32:46,734 INFO [localhost-startStop-1][PortletHotDeployListener:492] 1 portlet for web-form-portlet is available for use
Jul 30, 2015 10:32:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/notifications-portlet
10:32:47,406 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin notifications-portlet requires marketplace-portlet
10:32:47,406 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying notifications-portlet from queue
10:32:47,406 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for notifications-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:47 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/service.properties
10:32:47,629 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for notifications-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/portal.properties
10:32:47,796 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for notifications-portlet is available for use
10:32:47,798 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for notifications-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/6-notifications-portlet/WEB-INF/classes/portlet.properties
10:32:47,854 INFO [localhost-startStop-1][PortletHotDeployListener:497] 2 portlets for notifications-portlet are available for use
Jul 30, 2015 10:32:47 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/kaleo-web
10:32:48,817 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin kaleo-web requires marketplace-portlet
10:32:48,818 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying kaleo-web from queue
10:32:48,818 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for kaleo-web
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/7-kaleo-web/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/7-kaleo-web/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/7-kaleo-web/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:48 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/7-kaleo-web/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/7-kaleo-web/WEB-INF/classes/service.properties
10:32:50,454 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for kaleo-web
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/7-kaleo-web/WEB-INF/classes/portal.properties
10:32:50,481 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for kaleo-web is available for use
Jul 30, 2015 10:32:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/welcome-theme
10:32:51,018 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin welcome-theme requires marketplace-portlet, resources-importer-web
10:32:51,018 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying welcome-theme from queue
10:32:51,018 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for welcome-theme
Jul 30, 2015 10:32:51 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
10:32:51,101 INFO [localhost-startStop-1][ThemeHotDeployListener:98] Registering themes for welcome-theme
10:32:51,304 INFO [localhost-startStop-1][ThemeHotDeployListener:113] 1 theme for welcome-theme is available for use
Jul 30, 2015 10:32:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/webapps/opensocial-portlet
10:32:51,373 INFO [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:110] Group or layout set prototype already exists for company liferay.com
10:32:52,721 INFO [localhost-startStop-1][HotDeployEvent:145] Plugin opensocial-portlet requires marketplace-portlet
10:32:52,721 INFO [localhost-startStop-1][HotDeployImpl:217] Deploying opensocial-portlet from queue
10:32:52,722 INFO [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for opensocial-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/portlet.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/portlet.properties
Jul 30, 2015 10:32:53 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/service.properties
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/service.properties
10:32:53,518 INFO [localhost-startStop-1][HookHotDeployListener:693] Registering hook for opensocial-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/portal.properties
10:32:53,598 INFO [localhost-startStop-1][HookHotDeployListener:821] Hook for opensocial-portlet is available for use
10:32:53,600 INFO [localhost-startStop-1][PortletHotDeployListener:344] Registering portlets for opensocial-portlet
Loading file:/home/chatterjee/software/liferay-portal-6.2-ce-ga4/tomcat-7.0.42/temp/8-opensocial-portlet/WEB-INF/classes/portlet.properties
10:32:53,674 INFO [localhost-startStop-1][PortletHotDeployListener:497] 4 portlets for opensocial-portlet are available for use
Jul 30, 2015 10:32:54 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-6080"]
Jul 30, 2015 10:32:54 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-6009"]
Jul 30, 2015 10:32:54 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 60634 ms
Jul 30, 2015 10:32:55 AM org.apache.shindig.config.JsonContainerConfig loadContainers
INFO: Loading resources from: containers/default/container.js
Jul 30, 2015 10:32:55 AM org.apache.shindig.config.JsonContainerConfig loadResources
INFO: Reading container config: containers/default/container.js
Jul 30, 2015 10:32:55 AM org.apache.shindig.gadgets.features.FeatureRegistry register
INFO: Loading resources from: res:features-extras/features.txt
Jul 30, 2015 10:32:55 AM org.apache.shindig.common.xml.XmlUtil <clinit>
INFO: Reusing document builders
Jul 30, 2015 10:32:56 AM org.apache.shindig.gadgets.features.FeatureRegistry register
INFO: Loading resources from: res:features/features.txt
Jul 30, 2015 10:32:57 AM org.apache.shindig.gadgets.servlet.CajaContentRewriter <init>
INFO: Cajoled cache createdorg.apache.shindig.common.cache.ehcache.EhConfiguredCache@227feb77
Jul 30, 2015 10:32:58 AM org.apache.shindig.gadgets.servlet.CajaContentRewriter <init>
INFO: Cajoled cache createdorg.apache.shindig.common.cache.ehcache.EhConfiguredCache@227feb77
Jul 30, 2015 10:32:58 AM org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterProvider <init>
INFO: Using random key for OAuth client-side state encryption
10:34:34,296 INFO [http-bio-6080-exec-2][OpenIdConnectUtil:52] initOpenIdDiscovery - initialize all endpoints...
10:34:34,333 ERROR [http-bio-6080-exec-2][OpenIdConnectFilter:83] java.lang.NullPointerException
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1234)
at java.util.regex.Matcher.reset(Matcher.java:308)
at java.util.regex.Matcher.<init>(Matcher.java:228)
at java.util.regex.Pattern.matcher(Pattern.java:1088)
at org.jboss.resteasy.specimpl.UriBuilderImpl.uriTemplate(UriBuilderImpl.java:84)
at org.jboss.resteasy.client.ClientRequest.getBuilder(ClientRequest.java:151)
at org.jboss.resteasy.client.ClientRequest.<init>(ClientRequest.java:102)
at org.jboss.resteasy.client.ClientRequest.<init>(ClientRequest.java:97)
at org.xdi.oxauth.client.BaseClient.initClientRequest(BaseClient.java:220)
at org.xdi.oxauth.client.OpenIdConfigurationClient.execOpenIdConfiguration(OpenIdConfigurationClient.java:69)
at org.gluu.openidconnect.util.OpenIdConnectUtil.initOpenIdDiscovery(OpenIdConnectUtil.java:56)
at org.gluu.openidconnect.util.OpenIdConnectUtil.getAuthorizeURL(OpenIdConnectUtil.java:73)
at org.gluu.openidconnect.filter.OpenIdConnectFilter.processFilter(OpenIdConnectFilter.java:75)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
at com.sun.proxy.$Proxy446.doFilter(Unknown Source)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)


please help.

1. Do I need oxAuthRP.war or oxRay hook is sufficient? If required, where can I get oxAuthRP.war?
2. when I am hitting http://localhost:8080/openidconnect/login, a null pointer exception is coming as shown above. why?
Please help.
thumbnail
David H Nebinger, modified 8 Years ago.

RE: liferay oxray hook

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Their openid connect code is, well, third party code. You should probably reach out to them for support.