Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Fernando Igual
Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g)
July 21, 2008 5:55 AM
Answer

Fernando Igual

Rank: New Member

Posts: 3

Join Date: July 21, 2008

Recent Posts

Hy everybody!

I'm trying to make EXT project for Liferay 5.1.0.

I have followed the steps of creating the environment for eclipse / windows as I did for 4.4.2 version (there everything works fine, except the issue of debug, but that's another story).

After "ant compile" in the EXT project I start OC4J gives me the following error:

ERROR [ContextLoader:220] Context initialization failed java.lang.ExceptionInInitializerError
...
Caused by: com.germinus.easyconf.ConfigurationNotFoundException: Error reading configuration for /C:/Proyectos/liferay5/ext/servers/oc4j-10.1.3.3.0/j2ee/home/default-web-app/WEB-INF/lib/portal-impl.jar!/portal:
....

portal.properties exists into portal-impl.jar.

any ideas?

Greetings and thanks in advance...



OC4J log:
------------------------------------------------------------------------------------------------------------------------------

Starting OC4J from C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home ...
Listening for transport dt_socket at address: 4000
ADVERTENCIA: El origen de c+¦digo C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\default-web-app\WEB-IN
F\lib\antlr.jar (de WEB-INF/lib/ directory in C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\default-we
b-app\WEB-INF\lib) tiene el mismo nombre de archivo pero no es id+®ntico a /C:/Proyectos/liferay5/ext/servers/oc4j-1
0.1.3.3.0/toplink/jlib/antlr.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Proyectos\l
iferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\oc4j.jar). Si contiene distintas versiones de las mismas clases, se en
mascarar+í ya que el +¦ltimo ya est+í visible en la ruta de acceso de b+¦squeda del cargador default.web.defaultWebApp:0
.0.0.
ADVERTENCIA: El origen de c+¦digo C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\default-web-app\WEB-IN
F\lib\saaj-api.jar (de WEB-INF/lib/ directory in C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\default
-web-app\WEB-INF\lib) tiene el mismo nombre de archivo pero no es id+®ntico a /C:/Proyectos/liferay5/ext/servers/oc4
j-10.1.3.3.0/webservices/lib/saaj-api.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Pr
oyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\oc4j.jar). Si contiene distintas versiones de las mismas clas
es, se enmascarar+í ya que el +¦ltimo ya est+í visible en la ruta de acceso de b+¦squeda del cargador default.web.defaul
tWebApp:0.0.0.
ADVERTENCIA: El origen de c+¦digo C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\default-web-app\WEB-IN
F\lib\soap.jar (de WEB-INF/lib/ directory in C:\Proyectos\liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\default-web
-app\WEB-INF\lib) tiene el mismo nombre de archivo pero no es id+®ntico a /C:/Proyectos/liferay5/ext/servers/oc4j-10
.1.3.3.0/webservices/lib/soap.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\Proyectos\
liferay5\ext\servers\oc4j-10.1.3.3.0\j2ee\home\oc4j.jar). Si contiene distintas versiones de las mismas clases, se e
nmascarar+í ya que el +¦ltimo ya est+í visible en la ruta de acceso de b+¦squeda del cargador default.web.defaultWebApp:
0.0.0.
08/07/21 14:27:40 log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
08/07/21 14:27:40 log4j:WARN Please initialize the log4j system properly.
08/07/21 14:27:40 Loading code-source:/C:/Proyectos/liferay5/ext/servers/oc4j-10.1.3.3.0/j2ee/home/default-web-app/W
EB-INF/lib/portal-impl.jar!/system.properties
08/07/21 14:27:40 Loading file:/C:/Proyectos/liferay5/ext/servers/oc4j-10.1.3.3.0/j2ee/home/default-web-app/WEB-INF/
classes/system-ext.properties
14:27:41,168 ERROR [ContextLoader:220] Context initialization failed
java.lang.ExceptionInInitializerError
at com.liferay.portal.spring.context.PortalApplicationContext.loadBeanDefinitions(PortalApplicationContext.java:
65)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext
.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefresha
bleApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationCont
ext.java:423)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.
java:43)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite
.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:613)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.germinus.easyconf.ConfigurationNotFoundException: Error reading configuration for /C:/Proyectos/liferay5
/ext/servers/oc4j-10.1.3.3.0/j2ee/home/default-web-app/WEB-INF/lib/portal-impl.jar!/portal: The base properties file
was not found
at com.germinus.easyconf.ComponentConfiguration.getProperties(ComponentConfiguration.java:143)
at com.liferay.portal.configuration.ConfigurationImpl.getComponentProperties(ConfigurationImpl.java:245)
at com.liferay.portal.configuration.ConfigurationImpl.printSources(ConfigurationImpl.java:288)
at com.liferay.portal.configuration.ConfigurationImpl.<init>(ConfigurationImpl.java:241)
at com.liferay.portal.configuration.ConfigurationFactoryImpl.getConfiguration(ConfigurationFactoryImpl.java:39)
at com.liferay.portal.kernel.configuration.ConfigurationFactoryUtil.getConfiguration(ConfigurationFactoryUtil.ja
va:36)
at com.liferay.portal.util.PropsUtil.<init>(PropsUtil.java:81)
at com.liferay.portal.util.PropsUtil.<clinit>(PropsUtil.java:128)
... 23 more
08/07/21 14:27:41 Exception in thread "OC4J Launcher" java.lang.ExceptionInInitializerError
08/07/21 14:27:41 at com.liferay.portal.spring.context.PortalApplicationContext.loadBeanDefinitions(PortalApplicat
ionContext.java:65)
08/07/21 14:27:41 at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebAp
plicationContext.java:92)
08/07/21 14:27:41 at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(
AbstractRefreshableApplicationContext.java:123)
08/07/21 14:27:41 at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(Abstrac
tApplicationContext.java:423)
08/07/21 14:27:41 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationCon
text.java:353)
08/07/21 14:27:41 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:
255)
08/07/21 14:27:41 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:19
9)
08/07/21 14:27:41 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListene
r.java:45)
08/07/21 14:27:41 at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContex
tLoaderListener.java:43)
08/07/21 14:27:41 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
08/07/21 14:27:41 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
08/07/21 14:27:41 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:4
14)
08/07/21 14:27:41 at com.evermind.server.Application.getHttpApplication(Application.java:570)
08/07/21 14:27:41 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromRe
ference(HttpSite.java:1987)
08/07/21 14:27:41 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
08/07/21 14:27:41 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:613)
08/07/21 14:27:41 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
08/07/21 14:27:41 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
08/07/21 14:27:41 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
08/07/21 14:27:41 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
08/07/21 14:27:41 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
08/07/21 14:27:41 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
08/07/21 14:27:41 at java.lang.Thread.run(Thread.java:595)
08/07/21 14:27:41 Caused by: com.germinus.easyconf.ConfigurationNotFoundException: Error reading configuration for /C:/P
royectos/liferay5/ext/servers/oc4j-10.1.3.3.0/j2ee/home/default-web-app/WEB-INF/lib/portal-impl.jar!/portal: The bas
e properties file was not found
08/07/21 14:27:41 at com.germinus.easyconf.ComponentConfiguration.getProperties(ComponentConfiguration.java:143)
08/07/21 14:27:41 at com.liferay.portal.configuration.ConfigurationImpl.getComponentProperties(ConfigurationImpl.j
ava:245)
08/07/21 14:27:41 at com.liferay.portal.configuration.ConfigurationImpl.printSources(ConfigurationImpl.java:288)
08/07/21 14:27:41 at com.liferay.portal.configuration.ConfigurationImpl.<init>(ConfigurationImpl.java:241)
08/07/21 14:27:41 at com.liferay.portal.configuration.ConfigurationFactoryImpl.getConfiguration(ConfigurationFacto
ryImpl.java:39)
08/07/21 14:27:41 at com.liferay.portal.kernel.configuration.ConfigurationFactoryUtil.getConfiguration(Configurati
onFactoryUtil.java:36)
08/07/21 14:27:41 at com.liferay.portal.util.PropsUtil.<init>(PropsUtil.java:81)
08/07/21 14:27:41 at com.liferay.portal.util.PropsUtil.<clinit>(PropsUtil.java:128)
08/07/21 14:27:41 ... 23 more
Hervé Ménage
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g)
July 23, 2008 8:16 AM
Answer

Hervé Ménage

Rank: Junior Member

Posts: 50

Join Date: March 1, 2007

Recent Posts

Hi,

I have the same error when I deploy Liferay 5.1.0 on WAS 6.1

Regards
Hervé
Joe Bond
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g
July 23, 2008 7:50 PM
Answer

Joe Bond

Rank: New Member

Posts: 14

Join Date: May 20, 2008

Recent Posts

I had the same issue with WebLogic 9.2 and XE 10g.

A workaround until a better solution comes along is to put portal.properties in WEB-INF/classes and redeploy. This does not affect portal-ext.properties from overriding portal.properties.
Jignesh Vachhani
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g
August 8, 2008 5:24 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 785

Join Date: March 10, 2008

Recent Posts

hi joe,

you r from CSC right?

and you have created EXT environment for liferay+weblogic9.2

so can u pls provide me some information how can i create that with windows?

and pls also send the document if u have realated to this installation

thank you

jigs
Joe Bond
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g
January 9, 2009 9:43 AM
Answer

Joe Bond

Rank: New Member

Posts: 14

Join Date: May 20, 2008

Recent Posts

Can you send me an email.
Vaneet Sharma
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g
August 11, 2008 11:27 PM
Answer

Vaneet Sharma

Rank: Regular Member

Posts: 195

Join Date: July 25, 2008

Recent Posts

Joe Bond:
I had the same issue with WebLogic 9.2 and XE 10g.

A workaround until a better solution comes along is to put portal.properties in WEB-INF/classes and redeploy. This does not affect portal-ext.properties from overriding portal.properties.


Hi,

Please share the complete proceure for deploying Liferay 5.1.0 on weblogic as lot of people are facing problems deploying Liferay on Weblogic 9.2.

Thanks
Philip Eki
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g)
February 10, 2009 8:59 AM
Answer

Philip Eki

Rank: New Member

Posts: 11

Join Date: February 4, 2009

Recent Posts

Did you end up fixing this?
Did Joe's suggestion work?
Philip Eki
RE: Error: Liferay 5.1 starting OC4J 10.1.3.3 (Ext, Oracle XE 10g)
February 13, 2009 9:03 AM
Answer

Philip Eki

Rank: New Member

Posts: 11

Join Date: February 4, 2009

Recent Posts

Actually just checked JIRA. this is a bug in OC4J.
Look for a remedy come Liferay 5.2.2 or 5.2.2+