Hi,
our application deploys perfectly fine on Windows/Linux, deploying it on
solaris the following exception:
java.security.AccessControlException: access denied (java.lang.reflect.ReflectPe
rmission suppressAccessChecks)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:267)
at java.security.AccessController.checkPermission(AccessController.java:
394)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.jav
a:102)
at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source)
at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source)
at org.apache.ojb.broker.util.factory.ConfigurableFactory.createNewInsta
nce(Unknown Source)
occurred. After adding the permission suppressAccessChecks ( the other systems
did not need it), the next error :
org.apache.ojb.broker.PBFactoryException: There was no default-PBKey specified
at org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.defaultPe
rsistenceBroker(Unknown Source)
occurred, in the log ojb stated it can't find the repository.xml although it
was in the correct path and readable.
We are running out of ideas.... Any help is appreciated
Alex
used technologies:
JDK 1.31
Weblogic 5.1
Solaris Sun 5.8
Ojb 1.01
-----------------------------------------------------
Alexander Grosse
Senior Developer
Jamba! GmbH
Pfuelstr. 5
10997 Berlin
Germany
Phone: +49- (0)30- 69 538- 434
Fax: +49- (0)30- 69 538- 599
E-Mail: [EMAIL PROTECTED]
Web: http://www.jamba.de
WAP: http://wap.jamba.de <http://wap.jamba.de>
Gesellschaft mit beschr�nkter Haftung mit Sitz in K�ln HRB Nr. 54364
Amtsgericht K�ln