Jboss Related --Logs

26 views
Skip to first unread message

abdulkh...@gmail.com

unread,
Nov 17, 2014, 8:38:49 AM11/17/14
to open...@googlegroups.com
Hi ,
 
I had deployed WAR inJBOSS 7 with jboss-deployment-structure.xml in WEB-INF folder .
 
I had used to get this below error
 
ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-2)
Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in class path resource [org/olat/core/commons/persistence/_spring/databaseCorecontext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
please let me know what i need to change to fix the error.
 
if i removed the above file this works fine without logs i.e. i am not able to view any logs for Openolat

Florian Gnägi

unread,
Nov 17, 2014, 9:20:31 AM11/17/14
to open...@googlegroups.com
hi

did you properly configure a jndi data source in your jboss and your olat.local.properties?

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















abdulkh...@gmail.com

unread,
Nov 17, 2014, 11:54:43 PM11/17/14
to open...@googlegroups.com

On Monday, November 17, 2014 7:50:31 PM UTC+5:30, Florian Gnägi wrote:
hi

Hi Florian,
 
Yes i had configured in olat.local.properties
 

db.source=jndi
db.jndi=java:jboss/datasources/OpenOLATDS

 
and standalone.xml
 
 

 

 <datasource jndi-name="java:jboss/datasources/OpenOLATDS" pool-name="OpenOLATDS" enabled="true" use-java-context="true">
                    <connection-url>jdbc:mysql://SYNPUNSPD0147:9002/testolat?useUnicode=true&amp;characterEncoding=UTF-8&amp;cachePrepStmts=true&amp;cacheCallableStmts=true&amp;autoReconnectForPools=true</connection-url>
                    <driver>mysql</driver>
                    <security>
                        <user-name>testolat</user-name>
                        <password>testolat</password>
                    </security>
                </datasource>

 

 

This are my configurtions.

 
...

abdulkh...@gmail.com

unread,
Nov 21, 2014, 12:43:40 AM11/21/14
to open...@googlegroups.com, abdulkh...@gmail.com
I had configured the same in olat.local.properties and jboss
Reply all
Reply to author
Forward
0 new messages