"[EMAIL PROTECTED]" wrote : 
  | The only difference when using the setup in JBoss AS is that the AS 
provides additional stuff (such as an already-running cache) that you could use.
  | 

Hi Manik,

thanks for your feedback! What do you mean by an already-running cache? Do you 
only mean that JBoss Cache is preconfigured and ready to use in JBoss AS? That 
would be clear to me.

"[EMAIL PROTECTED]" wrote : 
  | In terms of a sample configuration, I suggest using the configurations in 
JBoss AS as a reference point:  
  | 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/Branch_4_2/ejb3/src/resources/ejb3-entity-cache-service.xml?view=markup
  | 
I already use this configuration inside JBoss. The problem is that I don't know 
which places I have to adjust to make it working in Glassfish. Could you please 
assist!

Glassfish currently logs the following:
[#|2007-11-20T11:59:37.891+0100|INFO|sun-appserver9.1|org.hibernate.transaction.TransactionFactoryFactory|_ThreadID=15;_ThreadName=Timer-6;|Transaction
 strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory|#]

[#|2007-11-20T11:59:37.907+0100|INFO|sun-appserver9.1|org.hibernate.transaction.TransactionManagerLookupFactory|_ThreadID=15;_ThreadName=Timer-6;|instantiating
 TransactionManagerLookup: 
org.hibernate.transaction.SunONETransactionManagerLookup|#]

[#|2007-11-20T11:59:37.907+0100|INFO|sun-appserver9.1|org.hibernate.transaction.TransactionManagerLookupFactory|_ThreadID=15;_ThreadName=Timer-6;|instantiated
 TransactionManagerLookup|#]

[...]

[#|2007-11-20T11:59:37.907+0100|INFO|sun-appserver9.1|org.hibernate.cfg.SettingsFactory|_ThreadID=15;_ThreadName=Timer-6;|Cache
 provider: org.jboss.ejb3.entity.TreeCacheProviderHook|#]

[...]

[#|2007-11-20T11:59:38.000+0100|WARNING|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=15;_ThreadName=Timer-6;_RequestID=e98e7c13-4d36-4e82-a6e2-a0bf50b26146;|org.hibernate.cache.CacheException:
 java.lang.IllegalStateException: No 'jboss' MBeanServer found!
javax.persistence.PersistenceException: org.hibernate.cache.CacheException: 
java.lang.IllegalStateException: No 'jboss' MBeanServer found!
        at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737)
        at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)

So it seems to me that an MBean-Lookup does not find the TreeCacheMBean. The 
problem is my lack of understanding of the background. Maybe the root cause is 
that I can't use "org.jboss.ejb3.entity.TreeCacheProviderHook" as Cache 
provider?

"[EMAIL PROTECTED]" wrote : 
  | And we have no problems helping people run JBoss Cache on Glassfish - we 
are app server agnostic and do help people run on WebLogic, WebSphere, etc.  
:-) 
  | 
Hey, I'm quite happy to hear that.

Regards,
   Eric


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106322#4106322

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106322
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to