Combination View Flat View Tree View
Threads [ Previous | Next ]
Jonas Yuan
Full integration of Liferay, Ad Server OpenX and Alfresco
June 10, 2008 1:11 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

# 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
John Martin
RE: Full integration of Liferay, Ad Server OpenX and AlfrescoJona
August 21, 2008 12:49 PM
Answer

John Martin

Rank: Junior Member

Posts: 29

Join Date: June 23, 2008

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and AlfrescoJona
August 25, 2008 9:06 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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.
Attachment

Attachments: ads.gif (39.7k)
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and AlfrescoJona
January 9, 2009 9:43 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Manh Hoang
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
February 14, 2012 7:29 PM
Answer

Manh Hoang

Rank: New Member

Posts: 14

Join Date: February 14, 2012

Recent Posts

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!
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
February 15, 2012 7:39 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Manh Hoang
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
February 15, 2012 5:49 PM
Answer

Manh Hoang

Rank: New Member

Posts: 14

Join Date: February 14, 2012

Recent Posts

HI Jonas Yuan
I hope It comes soon
Thanks!
Muradali Hasan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 13, 2012 11:37 PM
Answer

Muradali Hasan

Rank: Junior Member

Posts: 83

Join Date: July 26, 2010

Recent Posts

I tried to check above links but links are not working any more

Is there any update regarding open x.
Jordi Torne
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 18, 2012 3:02 PM
Answer

Jordi Torne

Rank: New Member

Posts: 5

Join Date: December 8, 2008

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 19, 2012 12:03 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Muradali Hasan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 21, 2012 1:06 AM
Answer

Muradali Hasan

Rank: Junior Member

Posts: 83

Join Date: July 26, 2010

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 22, 2012 5:11 PM
Answer

Jordi Torne

Rank: New Member

Posts: 5

Join Date: December 8, 2008

Recent Posts

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
Muradali Hasan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 22, 2012 11:04 PM
Answer

Muradali Hasan

Rank: Junior Member

Posts: 83

Join Date: July 26, 2010

Recent Posts

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
David H Nebinger
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 23, 2012 6:23 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6977

Join Date: September 1, 2006

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 23, 2012 11:58 AM
Answer

Jordi Torne

Rank: New Member

Posts: 5

Join Date: December 8, 2008

Recent Posts

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
David H Nebinger
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 23, 2012 2:29 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6977

Join Date: September 1, 2006

Recent Posts

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?
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 27, 2012 3:18 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 28, 2012 2:01 AM
Answer

Jordi Torne

Rank: New Member

Posts: 5

Join Date: December 8, 2008

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 31, 2012 5:05 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
April 16, 2012 2:23 PM
Answer

Jordi Torne

Rank: New Member

Posts: 5

Join Date: December 8, 2008

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
April 17, 2012 9:33 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
October 8, 2012 9:24 AM
Answer

Javier Etxeberria

Rank: New Member

Posts: 3

Join Date: May 15, 2012

Recent Posts

Hi Jonas,

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

Thank you!
Debasis Padhi
Full integration of Liferay, Ad Server OpenX-2.8 apache-2.2 php5
May 3, 2012 10:55 PM
Answer

Debasis Padhi

Rank: Junior Member

Posts: 55

Join Date: March 23, 2012

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX-2.8 apache-2.2 php5
April 26, 2012 11:11 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX-2.8 apache-2.2 php5
April 4, 2013 10:23 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
March 28, 2012 12:23 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Attachment

Attachment

Attachment

Attachment

Attachments: forgeads-01.png (81.1k), forgeads-02.png (62.9k), forgeads-04.png (61.9k), forgeads-05.png (102.5k)
Debasis Padhi
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
April 15, 2012 11:08 PM
Answer

Debasis Padhi

Rank: Junior Member

Posts: 55

Join Date: March 23, 2012

Recent Posts

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
Jonas Yuan
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
April 16, 2012 6:57 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
May 30, 2012 11:49 PM
Answer

Kumar Bonagiri

Rank: Junior Member

Posts: 35

Join Date: April 22, 2012

Recent Posts

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
  1INFO: Deploying web application directory D:\liferay-portal-6.1.0-ce-ga1\tomcat-7.0.23\webapps\forgeads-portlet
  2Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/service.properties
  304: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"
  4java.sql.SQLException: null,  message from server: "Host '125.16.17.85' is not allowed to connect to this MySQL server"
  5        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
  6        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1070)
  7        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2748)
  8        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
  9        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
 10        at java.sql.DriverManager.getConnection(DriverManager.java:582)
 11        at java.sql.DriverManager.getConnection(DriverManager.java:154)
 12        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)
 13        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)
 14        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
 15        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
 16        at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.getTargetConnection(LazyConnectionDataSourceProxy.java:403)
 17        at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:376)
 18        at $Proxy4.getMetaData(Unknown Source)
 19        at com.liferay.portal.spring.hibernate.DialectDetector.getDialect(DialectDetector.java:65)
 20        at com.liferay.portal.spring.hibernate.DialectDetector.determineDialect(DialectDetector.java:49)
 21        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.determineDialect(PortalHibernateConfiguration.java:70)
 22        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.newConfiguration(PortalHibernateConfiguration.java:102)
 23        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:549)
 24        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
 25        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
 26        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
 27        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
 28        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
 29        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
 30        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
 31        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
 32        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
 33        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
 34        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
 35        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
 36        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
 37        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
 38        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
 39        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 40        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
 41        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
 42        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
 43        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
 44        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
 45        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
 46        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
 47        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
 48        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
 49        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 50        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
 51        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
 52        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
 53        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
 54        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
 55        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 56        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 57        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 58        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 59        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 60        at java.lang.Thread.run(Thread.java:619)
 6104:44:05,192 ERROR [PortalHibernateConfiguration:116] java.lang.RuntimeException: No dialect found
 62java.lang.RuntimeException: No dialect found
 63        at com.liferay.portal.spring.hibernate.DialectDetector.getDialect(DialectDetector.java:141)
 64        at com.liferay.portal.spring.hibernate.DialectDetector.determineDialect(DialectDetector.java:49)
 65        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.determineDialect(PortalHibernateConfiguration.java:70)
 66        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.newConfiguration(PortalHibernateConfiguration.java:102)
 67        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:549)
 68        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
 69        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
 70        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
 71        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
 72        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
 73        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
 74        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
 75        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
 76        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
 77        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
 78        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
 79        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
 80        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
 81        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
 82        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
 83        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
 84        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
 85        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
 86        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
 87        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
 88        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
 89        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
 90        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
 91        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
 92        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
 93        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 94        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
 95        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
 96        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
 97        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
 98        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
 99        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
100        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
101        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
102        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
103        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
104        at java.lang.Thread.run(Thread.java:619)
10504:44:06,009 ERROR [ContextLoader:227] Context initialization failed
106org.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
107        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
108        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
109        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
110        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
111        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
112        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
113        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
114        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
115        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
116        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
117        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
118        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
119        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
120        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
121        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
122        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
123        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
124        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
125        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
126        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
127        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
128        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
129        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
130        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
131        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
132        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
133        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
134        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
135        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
136        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
137        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
138        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
139        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
140        at java.lang.Thread.run(Thread.java:619)
141Caused by: java.lang.NullPointerException
142        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:169)
143        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
144        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
145        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
146        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
147        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
148        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
149        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
150        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
151        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
152        ... 33 more
15304: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
154org.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
155        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
156        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
157        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
158        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
159        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
160        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
161        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
162        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
163        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
164        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
165        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
166        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
167        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
168        at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:99)
169        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)
170        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
171        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:61)
172        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:53)
173        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
174        at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:50)
175        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4765)
176        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5260)
177        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
178        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
179        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
180        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
181        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1095)
182        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1617)
183        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
184        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
185        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
186        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
187        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
188        at java.lang.Thread.run(Thread.java:619)
189Caused by: java.lang.NullPointerException
190        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:169)
191        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
192        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
193        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
194        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
195        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
196        at com.liferay.portal.spring.hibernate.PortalHibernateConfiguration.buildSessionFactory(PortalHibernateConfiguration.java:60)
197        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
198        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
199        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
200        ... 33 more
20104:44:06,009 INFO  [PluginPackageUtil:1099] Reading plugin package for forgeads-portlet
202Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/service.properties
203Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portlet.properties
204Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portlet.properties
20504:44:06,201 INFO  [HookHotDeployListener:1901] Registering hook for forgeads-portlet
206Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portal.properties
20704:44:06,201 INFO  [HookHotDeployListener:978] Hook for forgeads-portlet is available for use
20804:44:06,201 INFO  [PortletHotDeployListener:614] Registering portlets for forgeads-portlet
209Loading file:/D:/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/temp/3-forgeads-portlet/WEB-INF/classes/portlet.properties
21004:44:06,345 INFO  [PortletHotDeployListener:438] 3 portlets for forgeads-portlet are available for use
21104:44:06,345 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context forgeads-portlet
21204: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}}
213com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context forgeads-portlet
214        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:31)
215        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
216        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
217        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
218        at java.lang.reflect.Method.invoke(Method.java:597)
219        at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
220        at $Proxy384.receive(Unknown Source)
221        at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:75)
222        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:65)
223        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:106)
224        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:669)
225        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:580)
226        at java.lang.Thread.run(Thread.java:619)
227Caused by: com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator has not been set for servlet context forgeads-portlet
228        at com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate(PortletBeanLocatorUtil.java:42)
229        at com.forgelife.openx.service.OXBannerLocalServiceUtil.getService(OXBannerLocalServiceUtil.java:309)
230        at com.forgelife.openx.service.OXBannerLocalServiceUtil.clearCache(OXBannerLocalServiceUtil.java:264)
231        at com.forgelife.openx.display.messaging.CheckStatusMessageListener.doReceive(CheckStatusMessageListener.java:30)
232        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
233        ... 12 more
234May 30, 2012 4:44:06 AM org.apache.catalina.core.StandardContext startInternal
235SEVERE: Error listenerStart
236May 30, 2012 4:44:06 AM org.apache.catalina.core.StandardContext startInternal
237SEVERE: Context [/forgeads-portlet] startup failed due to previous errors
23804:44:06,345 INFO  [PluginPackageUtil:1099] Reading plugin package for forgeads-portlet
23904:44:06,345 INFO  [HookHotDeployListener:1101] Hook for forgeads-portlet was unregistered
24004:44:06,361 INFO  [PortletHotDeployListener:470] Unregistering portlets for forgeads-portlet
24104:44:06,361 INFO  [PortletHotDeployListener:508] 3 portlets for forgeads-portlet was unregistered
242May 30, 2012 4:44:06 AM org.apache.catalina.startup.HostConfig deployDirectory


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

Regards,

Bonagiri
David H Nebinger
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
May 31, 2012 5:31 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6977

Join Date: September 1, 2006

Recent Posts

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
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
May 31, 2012 11:06 AM
Answer

Kumar Bonagiri

Rank: Junior Member

Posts: 35

Join Date: April 22, 2012

Recent Posts

Hi David ,

thanku for your answer.. My issue is solved.

Reagrds,
Bonagiri.
Praveen Singh Bais
RE: Full integration of Liferay, Ad Server OpenX and Alfresco
February 8, 2014 6:29 AM
Answer

Praveen Singh Bais

Rank: Junior Member

Posts: 26

Join Date: January 27, 2014

Recent Posts

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 ?