I don't think it is a good idea to use ObjectStore directly from inside an
EJBean. For instance, ObjectStore's transactions should be mapped in some
way to app server transactions such that when the container decides to
commit/rollback the ObjectStore transactions commit/rollback as well (in
other words ObjectStore should behave like an XAResource).
eXcelon sells a special product, Javlin, that (amongst other) supports this
integration.
However, as far as I know, Javlin currently only works with weblogic.
Integration with other app servers seems to be on their list (check
www.exceloncorp.com).
Bert
PS: The crash might be related to the fact that IAS might prohibit EJBeans
to dynamically load native libraries, but this is just my own wild guess ...
PPS: I am not related to eXcelon, we're just using their products within a
weblogic context.
> -----Original Message-----
> From: Alasdair Gilmour [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 23, 2000 9:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: IAS & ObjectStore problem
>
>
> IAS appears to be pure java apart from a small launcher
> executable that kicks the JVM off with all
> the right parameters. It seems like this is interfering with
> the ObjectStore libraries. As far as
> ObjectStore goes, to use it from Java, you cannot avoid at
> some point making OSJI calls - and these
> call into native libraries through JNI.
>
> Ho hum
>
> Alasdair
>
> A mailing list for Enterprise JavaBeans development wrote:
> >
> > Can this be so if...
> >
> > <vendor>
> > <fact-sheet>
> > EJB Container
> > Implemented completely in Java, for portability across
> > platforms
> > </fact-sheet>
> > </vendor>
> >
> > Robert
> >
> > --- Richard McMahon <[EMAIL PROTECTED]> wrote:
> > > Hi Al,
> > >
> > > You should try asking in the
> > > borland.public.appserver newsgroup too.
> > >
> > > Cheers
> > > --Richie
> > >
> > > Alasdair Gilmour wrote:
> > > >
> > > > Hi there. Don't know if anyone will be able to
> > > help me with this one, but here goes:
> > > >
> > > > I have a simple prototype application which
> > > consists of a Session bean, making calls to
> > > ObjectStore
> > > > to store and retrieve objects. ObjectStore is
> > > accessed from Java by a class library (OSJI) that
> > > > makes calls to native code through JNI. The
> > > problem is, as soon as the session bean makes such a
> > > > call, I get an exception:
> > > >
> > > > com.odi.FatalInternalException: Fatal internal
> > > ObjectStore error: Unexpected TIX exception:
> > > > Miscellaneous ObjectStore error
> > > > <err-0025-1296> The ObjectStore C++ runtime
> > > operator delete was not installed correctly. Ensure
> > > > that ObjectStore dynamic libraries are loaded
> > > prior to any other dynamic library that overrides
> > > the
> > > > global operator delete. (err_misc)
> > > >
> > > > This seems to imply that IAS has loaded some
> > > native libraries of its own at startup, and that
> > > these
> > > > have "overridden global operator delete". How can
> > > I ensure that ObjectStore's libraries get loaded
> > > > first? I have already tried loading them
> > > explicitly in the code, but this doesn't seem to
> > > work. Is
> > > > there any other way around this problem? Has
> > > anyone else encountered it?
> > > >
> > > > I should perhaps mention that the platform is
> > > Solaris.
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Alasdair
> > > >
> > > >
> > >
> >
> ==============================================================
> =============
> > > > To unsubscribe, send email to
> > > [EMAIL PROTECTED] and include in the body
> > > > of the message "signoff EJB-INTEREST". For
> > > general help, send email to
> > > > [EMAIL PROTECTED] and include in the body of
> > > the message "help".
> > >
> > > --
> > > Richard McMahon <mailto:[EMAIL PROTECTED]>
> > > Quarry Technologies Inc. Edinburgh, Scotland.
> > >
> > >
> >
> ==============================================================
> =============
> > > To unsubscribe, send email to [EMAIL PROTECTED]
> > > and include in the body
> > > of the message "signoff EJB-INTEREST". For general
> > > help, send email to
> > > [EMAIL PROTECTED] and include in the body of the
> > > message "help".
> > >
> > >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> >
> >
> ==============================================================
> =============
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> > of the message "signoff EJB-INTEREST". For general help,
> send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff EJB-INTEREST". For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".