Foros de discusión

Full integration of Liferay, Ad Server OpenX and Alfresco

thumbnail
Jonas Yuan, modificado hace 15 años.

Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
# Do you want to integrate OpenX Banners within Liferay articles?
# Do you want to manage your online advertising in Liferay?
# Do you want to track the hits on the ads in Liferay?
# Do you want to publish the ads with the contents of Alfresco in Liferay?

There are two possible sulotions to integrate OpenX:

1) Banner-based Ads for pages;

2) Zone-based Ads for pages;

A General Solution for OpenX and Liferay

Full RESTFul Integration - Liferay 5.0.1 and OpenX 2.4.5

Usage - Real Demo Read me

for more details, see:

http://liferay.cignex.com/ad_server/

Good Luck!

Jonas Yuan
http://liferay.cignex.com
thumbnail
John Martin, modificado hace 15 años.

RE: Full integration of Liferay, Ad Server OpenX and AlfrescoJona

Junior Member Mensajes: 29 Fecha de incorporación: 23/06/08 Mensajes recientes
Jonas,

I have the book which refers to an "Ads Portlet" however I as unable to find it. Where can I get access to that portlet?

Thanks,

John
thumbnail
Jonas Yuan, modificado hace 15 años.

RE: Full integration of Liferay, Ad Server OpenX and AlfrescoJona

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi John,

Thanks for your request.

Here are the Ad portlets (ads manager and ads viewer):

http://sesamestreett.cignex.com/home

three promos are ads and four IABs are also ads.

You can play with them as (ad viewer) :

login in creator/sesame:
at

http://sesamestreett.cignex.com/c/portal/login

you will find icons "edit ad", "select ad" and "add ad". - similar to the Journal content.

For Ad manager,

go to
http://sesamestreett.cignex.com/group/street/cms_ads

By the way, we are planning to contribute these portlets as open source in Liferay community. Hope that we could make this happen as soon as possible.
thumbnail
Jonas Yuan, modificado hace 15 años.

RE: Full integration of Liferay, Ad Server OpenX and AlfrescoJona

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi John,

A generic solution for full RESTful integration of Liferay 5.1 (or above) and OpenX (2.6) is ready finally.

http://www.liferay.com/web/jonasxyuan/blog/

These portlets (Manage Ads and Ad Viewer) with source code is also available at http://liferay.cignex.com. You can download the WAR (ad-portlet plugin with source code) for both testing and customization.

Real Demo Download ReadMe

Thanks

Jonas Yuan
Liferay Book: Liferay Portal Enterprise Intranets
thumbnail
Manh Hoang, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 14 Fecha de incorporación: 15/02/12 Mensajes recientes
Hi Jonas Yuan
I was read two link above. But can you guide How to integrate OpenX with Liferay 6 more detail
I was able setup Ad_Portlet to Liferay Portal. But I don't know "How to use Manage Ads". I was using search banner but the result is "Manage Ads is temporarily unavailable"
Ad_Porlet I downloaded here http://liferay.cignex.com/ad_server/
Thanks!
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Manh,

Please give me sometime, I am preparing "seamless OpenX integration - Ads Publisher" for 6.0.x and 6.1.x.

It should be be ready in weeks.

Thanks

Jonas Yuan

==================
The Author of Liferay Books:
Liferay 6.1 cookbook: Liferay Portal Systems Development
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
thumbnail
Manh Hoang, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 14 Fecha de incorporación: 15/02/12 Mensajes recientes
HI Jonas Yuan
I hope It comes soon
Thanks!
thumbnail
Muradali Hasan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 84 Fecha de incorporación: 27/07/10 Mensajes recientes
I tried to check above links but links are not working any more

Is there any update regarding open x.
Jordi Torne, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 5 Fecha de incorporación: 8/12/08 Mensajes recientes
Hi

For the last couple of weeks, it seems than the liferay.cignex.com server is down and I need to get the lastest version of the ad-portlets.
Do you have a copy that you can sent me by email o yousendit? I'll really very much appreciate such a favor.
Thanks a lot

Jordi
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Jordi, Muradali, and Manh

I am preparing seemless OpenX (version 2.88) integration in the Liferay 6.1.

The ads publisher and the demo server should be ready in a few days.

Thanks

Jonas Yuan

==================
The Author of Liferay Books:
Liferay 6.1 cookbook: Liferay Portal Systems Development
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
thumbnail
Muradali Hasan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 84 Fecha de incorporación: 27/07/10 Mensajes recientes
Hi Jonas Yuan


thanks for giving us such valuable updates.

I am really excited for new release.

hope it will come soon.

Thanks
Muradali
Jordi Torne, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 5 Fecha de incorporación: 8/12/08 Mensajes recientes
Hi Jonas Yuan

Unfortunately, I need to provide a demo on Monday including banner handling. Since the ad-portlet is not longer available, I'm forced to drop OpenX and to write a quick-and-dirty solution. I'm sorry because it was good solution for our simple needs but I can't wait for the perfect solution.

Best regards

Jordi
thumbnail
Muradali Hasan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 84 Fecha de incorporación: 27/07/10 Mensajes recientes
hi Jordi Torne

here everybody is in hurry that does not mean we force some one to do our job.
that our pleasure we will get good solution for free from Jonas Yuan.
so please be patient and wait some more time.


Thanks
Muradali
thumbnail
David H Nebinger, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
I know Jonas is busy, we all are. But when you post indicating it's going to be available in days but doesn't show up, you should still be able to call him out on it...
Jordi Torne, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 5 Fecha de incorporación: 8/12/08 Mensajes recientes
Muradali Hasan:
hi Jordi Torne

here everybody is in hurry that does not mean we force some one to do our job.
that our pleasure we will get good solution for free from Jonas Yuan.
so please be patient and wait some more time.


Thanks
Muradali


Sorry If it seems that I'm kind of pushing someone to get a release sooner than ready. I'm looking for any version of the ad-portlet, current, old, or outdated.
We have paid for the 3 Liferay EE, paid OpenX and both several copies of a book (Liferay Portal 6 Enterprise intranets, by Jonas Yuan) to build a solution that doesn't exist because the missing piece should be on a no longer valid URL, and there are no alternative source for that portlet. Sometimes a good solution is a solution on time rather than a later perfect solution.

Best regards

Jordi
thumbnail
David H Nebinger, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
Yeah, Jordi, I tried contacting Jonas about the files no longer being available for download from the book's web site, but got no response. Perhaps contacting the book publisher is in order?
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi David, Jordi, Muradali, and Manh

The new version ForgeAds 1.0 alpha is ready finally.

Hi Jordi, it was a pity that it was coming out late. Hope that it was still OK for you.

Seamless Integration of OpenX Ad Server in Liferay Portal – ForgeAds Publisher

Demo server (Liferay portal 6.1 GA1): http://ads.forgelife.net:8090
Demo account: demo@forgelife.com/ForgeAds

OpenX Test server (OpenX 2.8.8): http://openx.forgelife.net/openx
Admin account: openx/openx - You are the openx Ad server admin, so please do not change admin password and permissions. emoticon

Thanks

Jonas Yuan

==================
The Author of Liferay Books:
Liferay 6.1 cookbook: Liferay Portal Systems Development
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Jordi Torne, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 5 Fecha de incorporación: 8/12/08 Mensajes recientes
Hi Yuan Jonas

We managed to delay the demo to tonight and replaced the ads portlets with hardcoded iframe portlets...
Thanks a lot for release this new version of the Ads Portlet. It seems an great enhancement.
In the meanwhile, do you mind releasing the source code too, so we can backported to work with Liferay 6.0?
Thanks a lot!

Jordi
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Jordi,

Are the demo server and ForgeAds publisher good enough for your demo?

Currently ForgeAds publisher 1.0 alpha for Liferay 6.1 is released at http://forgelife.net/portal/6.1/forgeads/.

ForgeAds publisher 1.0 alpha for Liferay 6.0.6 CE/ 6.0 EE would be released shortly at http://forgelife.net/portal/6.0/forgeads/.

ForgeAds publisher 1.0 is under LGPL license at openx-integration

Thanks

Jonas Yuan
Jordi Torne, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 5 Fecha de incorporación: 8/12/08 Mensajes recientes
Hi Jonas Yuan

Thanks for releasing a version of ForgeAds for Liferay 6.0.
I have tested both, for LR6.0 and for LR6.1, both working fine (after same hardcoding being removed)
The only thing that we miss it's the lack of zone-based publishing. Banner-based publishing is fine but it hardly used.
When we use ad publishing, we normally use zone-based publishing since it brings all the 'magic' of the OpenX server.
We place an ads publisher widget/portlet/frame in each zone of the portals and we let the OpenX server serve the most appropiate banner for this zone according to the campaign/advertiser/website/zone rules defined in the server.
Banner-publishing can be easily simulated with and Iframe portlet and a banner serving URL.

Please, could you tell us when are you expecting to release the source code so we can plan to develop the zone-based publishing on top of your code or into our clumsy implementation of an ads publisher portlet?

Thanks a lot and best regards

Jordi
thumbnail
Jonas Yuan, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Jordi,

Thanks a lot to test the ForgeAds Publisher 1.0. Nice to know that both for LR6.0 and for LR6.1 are working fine.

The ads publisher 1.0 version brings banners into the portal; the ads publisher 1.1 version will bring zones into the portal. Thus it will be possible in the 1.1 version to use either zone-based publishing or banner-based publishing.

I will update the same shortly when the 1.1 version is ready.

Jonas Yuan
Javier Etxeberria, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

New Member Mensajes: 3 Fecha de incorporación: 15/05/12 Mensajes recientes
Hi Jonas,

Do you know when will be ready the 1.1 version of ForgeAds Publisher? I'm very interested.

Thank you!
thumbnail
Debasis Padhi, modificado hace 11 años.

Full integration of Liferay, Ad Server OpenX-2.8 apache-2.2 php5

Junior Member Mensajes: 54 Fecha de incorporación: 23/03/12 Mensajes recientes
Thank's Jonas Yuan

I follow your Step to add forgeads-portlet for 6.1
Its working well What I did ...
I did it for both Ubuntu and Windows OS
I add LAMP for ubuntu and WAMP for windows7
then unzip the ad-server openx-2.8 and save in /apache/ www / folder as name of openx
open this link localhost/openx/www/admin/install.php
then I login and add banner
deploy forgeads-portlet
Add this in portal and configure the add banner
and it was worked in my portal
thumbnail
Jonas Yuan, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX-2.8 apache-2.2 php5

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Cool! Thanks, Debasis.

By the way, it would be nice that you could raise issues / comments / feedbacks.

One issue (auto refresh) got fixed at http://ads.forgelife.net:8090. The updated WAR file would be available for download shortly.

Thanks

Jonas Yuan
thumbnail
Jonas Yuan, modificado hace 10 años.

RE: Full integration of Liferay, Ad Server OpenX-2.8 apache-2.2 php5

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Forgeads portlets for both 6.0 and 6.1 are available at ForgeAds.

It includes six portlets so far:

1. Ads Admin portlet: manage banners and zones, and tag banners and zones; ads tagging and categorization, related assets association

2. Ads Reports portlet: tracking information reporting; generate reports about clicks of banners and zones

3. Ads Banner Display portlet - select a banner and publish it on any page

4. Ads Publisher portlet: online-real-dynamic display ads; match banners by tags and categories and publish them on any page; 1st portlet instance will pick up 1st place matched banner; 2nd portlet instance will pick up 2nd place matched banner; etc.

5. Ads Zone Display portlet - select a zone and publish it on any page; align tags and categories of current page with zone-banners variables.

6. Ads Featured List portlet - select banners and publish them as a slideshow on any page
thumbnail
Jonas Yuan, modificado hace 12 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Ho Jordi,

Per your request, ForgeAds publisher 1.0 alpha version for portal 6.0.6 and 6.0 EE is ready at

http://forgelife.net/portal/6.0/forgeads/

See details as attachments. The demo server would be ready for you per requet. emoticon

I did test it in 6.0.6 CE. It works well. You may help to test in 6.0 EE (including 6.0 EE SP1, 6.0 EE SP2, 6.0 EE SP3).

Under LGPL license, the source code would be available at ForgeLife.com.

Thanks,

Jonas Yuan
thumbnail
Debasis Padhi, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 54 Fecha de incorporación: 23/03/12 Mensajes recientes
Hi , Sir
I want to use OpenX Integration with Liferay for my application
I need banner based ad
please help me ,
How to start my work I can not proceed
thumbnail
Jonas Yuan, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Debasis Padhi

ForgeAds publisher 1.0 alpha for Liferay 6.1 is released at http://forgelife.net/portal/6.1/forgeads/.

ForgeAds publisher 1.0 alpha for Liferay 6.0.6 CE/ 6.0 EE is released at http://forgelife.net/portal/6.0/forgeads/.

Is the demo server working for you? refer to the blogs.

Hope that the demo server helps,

Thanks

Jonas Yuan
Kumar Bonagiri, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 35 Fecha de incorporación: 23/04/12 Mensajes recientes
Hi Jonas,

I have gone through this FORUM

Am Using LR 6.1 with default data base i.e., HSQLDB
So i have downloaded the forge ads below link
Forge Ads 6.1 version

Later I have uploaded the war file into my LR using the following steps.

Add ---> Add More --->Install More Applications--->Upload File after selecting the war file i clicked on install
I got the messge like Your request completed successfully. and The plugin was uploaded successfully and is now being installed.

But in my server i got an exception like
INFO: Deploying web application directory D:\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\forgeads-portlet
Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/service.properties
04:44:05,192 ERROR [DialectDetector:133] java.sql.SQLException: null,  message from server: "Host '125.16.17.85' is not allowed to connect to this MySQL server"
java.sql.SQLException: null,  message from server: "Host '125.16.17.85' is not allowed to connect to this MySQL server"
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1070)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2748)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:154)
        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)
        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)
        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
        at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.getTargetConnection(LazyConnectionDataSourceProxy.java:403)
        at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:376)
        at $Proxy4.getMetaData(Unknown Source)
        at com.liferay.portal.spring.hibernate.DialectDetector.getDialect(DialectDetector.java:65)
        at com.liferay.portal.spring.hibernate.DialectDetector.determineDialect(DialectDetector.java:49)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.determineDialect(PortalHibernateConfiguration.java:70)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.newConfiguration(PortalHibernateConfiguration.java:102)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:549)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
04:44:05,192 ERROR [PortalHibernateConfiguration:116] java.lang.RuntimeException: No dialect found
java.lang.RuntimeException: No dialect found
        at com.liferay.portal.spring.hibernate.DialectDetector.getDialect(DialectDetector.java:141)
        at com.liferay.portal.spring.hibernate.DialectDetector.determineDialect(DialectDetector.java:49)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.determineDialect(PortalHibernateConfiguration.java:70)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.newConfiguration(PortalHibernateConfiguration.java:102)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:549)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
04:44:06,009 ERROR [ContextLoader:227] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/ext-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:169)
        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        ... 33 more
04:44:06,009 ERROR [BasePortalLifecycle:45] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/ext-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in ServletContext resource [/WEB-INF/classes/META-INF/ext-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:169)
        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        ... 33 more
04:44:06,009 INFO  [PluginPackageUtil:1099] Reading plugin package for forgeads-portlet
Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/service.properties
Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portlet.properties
Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portlet.properties
04:44:06,201 INFO  [HookHotDeployListener:1901] Registering hook for forgeads-portlet
Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portal.properties
04:44:06,201 INFO  [HookHotDeployListener:978] Hook for forgeads-portlet is available for use
04:44:06,201 INFO  [PortletHotDeployListener:614] Registering portlets for forgeads-portlet
Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portlet.properties
04:44:06,345 INFO  [PortletHotDeployListener:438] 3 portlets for forgeads-portlet are available for use
04:44:06,345 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context forgeads-portlet
04:44:06,345 ERROR [ParallelDestination:109] Unable to process message {destinationName=liferay/scheduler_dispatch, response=null, responseDestinationName=null, responseId=null, payload=null, values={principalPassword=null, EXCEPTIONS_MAX_SIZE=0, CONTEXT_PATH=/forgeads-portlet, principalName=null, DESTINATION_NAME=liferay/scheduler_dispatch, JOB_STATE=com.liferay.portal.kernel.scheduler.JobState@110e0ec, companyId=0, RECEIVER_KEY=com.forgelife.openx.display.messaging.CheckStatusMessageListener.com.forgelife.openx.display.messaging.CheckStatusMessageListener, MESSAGE_LISTENER_UUID=dee63267-a90d-4754-aed1-d79674dc0d04}}
com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context forgeads-portlet
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:31)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
        at $Proxy384.receive(Unknown Source)
        at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:75)
        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:106)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context forgeads-portlet
        at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:42)
        at com.forgelife.openx.service.OXBannerLocalServiceUtil.getService(OXBannerLocalServiceUtil.java:309)
        at com.forgelife.openx.service.OXBannerLocalServiceUtil.clearCache(OXBannerLocalServiceUtil.java:264)
        at com.forgelife.openx.display.messaging.CheckStatusMessageListener.doReceive(CheckStatusMessageListener.java:30)
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
        ... 12 more
May 30, 2012 4:44:06 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
May 30, 2012 4:44:06 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/forgeads-portlet] startup failed due to previous errors
04:44:06,345 INFO  [PluginPackageUtil:1099] Reading plugin package for forgeads-portlet
04:44:06,345 INFO  [HookHotDeployListener:1101] Hook for forgeads-portlet was unregistered
04:44:06,361 INFO  [PortletHotDeployListener:470] Unregistering portlets for forgeads-portlet
04:44:06,361 INFO  [PortletHotDeployListener:508] 3 portlets for forgeads-portlet was unregistered
May 30, 2012 4:44:06 AM org.apache.catalina.startup.HostConfig deployDirectory </init>


what is the mistake i have made.
please any one can tell me...

Regards,

Bonagiri
thumbnail
David H Nebinger, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
If you look at the WEB-INF/classes/portlet.properties, you'll see that it defaults to a MySQL database connection and does not use the Liferay standard connection (which you have pointed to HSQL).

Just update the portlet.properties file to the right thing and you'll probably be fine...
Kumar Bonagiri, modificado hace 11 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 35 Fecha de incorporación: 23/04/12 Mensajes recientes
Hi David ,

thanku for your answer.. My issue is solved.

Reagrds,
Bonagiri.
thumbnail
Praveen Singh Bais, modificado hace 10 años.

RE: Full integration of Liferay, Ad Server OpenX and Alfresco

Junior Member Mensajes: 29 Fecha de incorporación: 28/01/14 Mensajes recientes
Debasis Padhi:
Hi , Sir
I want to use OpenX Integration with Liferay for my application
I need banner based ad
please help me ,
How to start my work I can not proceed


Hi Debasis,

Do you need to modify the "openx.ad.server.url=http://ads.forgelife.net" property in the portlet.properties to point to the openx server ?