-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate and Sun One 7
PostPosted: Tue May 17, 2005 5:03 pm 
Newbie

Joined: Tue May 17, 2005 4:47 pm
Posts: 2
Is factible to run Hibernate applications with Sun One 7?

Looking in the documentation for 2.1 and 3.0 versions, there is no mention to classes for integration with Sun One 7. In the table for the JTATransactionManager there are for JBoss, Websphere, Orion, etc. but not for Sun One.

In Jira, there is one topic about a class that could help, but has not been sufficient. After doing was this Jira topic say, we found problems of security with the Cglib.jar package.

Then we disabled the security manager of Sun One for testing purposes. But the test application fail again, this time with a RemoteException:

[16/May/2005:10:07:58] WARNING ( 1784): CORE3283: stderr: Caused by: java.rmi.RemoteException: net/sf/hibernate/HibernateException
[16/May/2005:10:07:58] WARNING ( 1784): CORE3283: stderr: at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:494)
[16/May/2005:10:07:58] WARNING ( 1784): CORE3283: stderr: at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:564)
[16/May/2005:10:07:58] WARNING ( 1784): CORE3283: stderr: at com.ing.ia3.mx.plan.vidaCreciente.ejb.TarifaGerenteServiceSessionBean_EJBObjectImpl.findComboTarifa(TarifaGerenteServiceSessionBean_EJBObjectImpl.java:226)
[16/May/2005:10:07:58] WARNING ( 1784): CORE3283: stderr: at com.ing.ia3.mx.plan.vidaCreciente.ejb._TarifaGerenteServiceRemote_Stub.findComboTarifa(Unknown Source)
[16/May/2005:10:07:58] WARNING ( 1784): CORE3283: stderr: ... 22 more

So... we decided to start with the basics:

Hibernate could run only in those Application Servers indicated in the table for JTA Transaction Managers?

There are some tips to run Hibernate Applications on Sun One 7 without disabling the Security Manager (server.xml) ?

Saludos!

_________________
Dios y yo tenemos un trato: Él no hace Sistemas y yo no hago Milagros.


Top
 Profile  
 
 Post subject: Re: Hibernate and Sun One 7
PostPosted: Sat Jun 04, 2005 3:08 pm 
Newbie

Joined: Tue May 17, 2005 8:39 am
Posts: 14
ramgs wrote:
There are some tips to run Hibernate Applications on Sun One 7 without disabling the Security Manager (server.xml) ?

Saludos!


It's possible with SUN AS 8.1. Add those two lines in server.policy file.

permission java.lang.RuntimePermission "getProtectionDomain";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.