Allen,

It's probably a security exception..

Make sure file read and property reads are allowed within your
environment.

see java.lang.SecurityManager#checkRead,
java.lang.SecurityManager#checkPropertiesAccess.

Thanks,

--Keith

Allen Kamen wrote:
> 
> Any idea why this is happening.  The unmarshall call is being made within a
> stateless session bean running in J2ee1.3
> 
> java.lang.RuntimeException: Could not obtain the default configuration file
> castor.properties from the Castor JAR
>         at 
>org.exolab.castor.util.Configuration.loadProperties(Configuration.java:610)
>         at org.exolab.castor.util.Configuration.load(Configuration.java:580)
>         at org.exolab.castor.util.Configuration.getDefault(Configuration.java:283)
>         at org.exolab.castor.util.Configuration.debug(Configuration.java:260)
>         at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:141)
>         at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:128)
>         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:390)
>         at OTA_HotelInvCountNotifRQ.unmarshal(OTA_HotelInvCountNotifRQ.java:263)
>         at
> 
>com.hrs.hrsHandler.ejb.HRSNotifHandlerBean.processMessage(HRSNotifHandlerBean.java:359)
>         at
> 
>com.hrs.hrsHandler.ejb.HRSNotifHandlerBean_EJBObjectImpl.processMessage(HRSNotifHandlerBean_EJBObjectImpl.java:24)
>         at
> com.hrs.hrsHandler.ejb._HRSNotifHandlerBean_EJBObjectImpl_Tie._invoke(Unknown
> Source)
>         at
> 
>com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:520)
>         at
> 
>com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:210)
>         at
> 
>com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
>         at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
>         at
> com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
>         at
> com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
> 
> Thanks,
> 
> Allen Kamen
> 
> [EMAIL PROTECTED]
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

  • ... Цыплаков Денис
    • ... Arnaud Blandin
    • ... Keith Visco
    • ... Juan Carlos Param� Arjones

Reply via email to