I would very much appreciate any info you can give to get ejb 1.1 cmp to
work with Interbase (for that matter any database).
As it turns out, I seem to not beable to get an EJB to see another EJB.
Whether its session or entity. I can get one EJB from my servlet, thats no
problem. But in that EJB code I try to get the InitialContext and what not
to find another EJB to call upon it, and I keep getting NamingException, or
sometimes RemoteException (depending on what I am tampering with to get it
to work).
I believe it stems to the jndi properties. In my EJB, I simply do:
Context context = new InitialContext();
context.lookup("java:comp/env/ejb/SecondEJBName");
That seems to throw the naming exception. I do have the ejb-ref tag in the
first ejb with the /ejb/SecondEJBName name. However, I looked at some demos
in the Orion examples, and they all have a jndi.properties file, and I also
read in my EJB book that EVERY vendor has a different way of finding the
context or something. I couldn't quite figure out why this would be since
supposedly EJB 1.1 is a standard and you should be able to move your code to
an J2EE app server. I didn't think there would be any problems like this. So
I guess what I am trying to figure out is if in my EJB I need to provide
these properties every time I look up another EJB or not.
Also, when I run Orion with the console, it appears that the java:comp
folder shows up, and there is an ENV folder below it, but my ejb doesn't
show up in an EJB folder below ENV. Instead I see at the java: level a
"com.company.package.EjbName" context..as if its a separate context..and not
below the java:comp one. This is confusing to me..I would expect the name of
my ejb to show up under the env folder, under an ejb folder, with just the
name of the ejb there. Am I doing something wrong..can you see your EJBs in
the console in a tree below comp/env/ejb? I sure don't.
Thanks.
> -----Original Message-----
> From: Robert Krueger [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 28, 2000 2:21 AM
> To: Orion-Interest
> Subject: RE: Anyone using Interbase in production?
>
>
> At 13:14 27.10.00 , you wrote:
> >As soon as I get Interbase working with Orion using CMP and
> entity beans, I
>
> what was the problem with that? we just deployed a rather
> large application
> (servlets and lots of cmp eb) that usually runs on adabas on
> interbase
> which didn't make any significant problems and took under a day to
> complete. if you have specific problems I can ask the guy who
> did this
> here. he has been using it in development for a few weeks now
> and so far
> everything looks ok so we're seriously considering using interbase in
> production with orion but we'll keep on testing. we haven't
> done any real
> load tests. btw. what are people out there using for load
> testing (hmm...
> I'm putting this in a separate email ..).
>
> robert
>
> >will post what I have done to get it to work, including a
> Schema I just
> >found. That should help those interested in this database.
> Overall its a
> >pretty rock-solid database. I am waiting for InterClient
> 2.0, which should
> >provide the Dialect 3 stuff we are waiting for..but other
> than that, its a
> >tiny footprint and does just about everything the big boys
> do...all for
> >free.
> >
> >
> > > -----Original Message-----
> > > From: Jason Rowland [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, October 27, 2000 12:35 PM
> > > To: Orion-Interest
> > > Subject: RE: Anyone using Interbase in production?
> > >
> > >
> > > I used Interbase about four years ago in a production
> > > environment. It used
> > > to be a commercial product distributed by Inprise(Borland
> at the time)
> > > before they open sourced it. It is a very good relational
> > > database product.
> > > It has most of the features you would expect from a
> > > commercial product.
> > >
> > > The only negative that I have against Interbase, is it's lack
> > > of clustering
> > > support. It has what they refer to as a shadow that should
> > > the machine go
> > > down, you can get a second server up and running right away.
> > >
> > > It has a JDBC driver called InterClient. I have had
> success with this
> > > driver except for one quirk. Everynight at midnight, the
> InterClient
> > > service would error and stop receiving requests. they might
> > > have fixed this
> > > problem with their latest version.
> > >
> > > I don't have any info on online back ups.
> > >
> > > My experience has been with the Windows NT environment.
> > > Interbase has been
> > > cross platform for many years though. Another thing to
> > > consider in the
> > > Linux environment, is a journaling file system such as
> > > ReiserFS. I am not
> > > sure what would happen to your database file if the power
> > > suddenly went out
> > > or the computer shut down unexpectedly while the database was
> > > writing to the
> > > file.
> > >
> > > -Jason
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> Jim Archer
> > > Sent: Friday, October 27, 2000 11:26 AM
> > > To: Orion-Interest
> > > Cc: Jonas Larsson
> > > Subject: Anyone using Interbase in production?
> > >
> > >
> > > Does anyone here have any experience with Interbase in a
> production
> > > environment? We are trying to decide which database to deploy in
> > > production. Since we are a very low budget operation, we are
> > > looking at
> > > Open Source, but somehow missed this one.
> > >
> > > Our most important requirements are stability, transaction
> > > support, a solid
> > > JDBC driver (for use with an EJB server) and online
> backup capability.
> > >
> > > Any experiences people can offer would be appreciated,
> especially in a
> > > Linux environment.
> > >
> > > Thanks!
> > >
> > > Jim
> > >
> > >
> > >
> > >
> > >
> > > --On Friday, October 27, 2000 11:46 AM +0200 Jonas Larsson
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > > >
> > > > You could always use Interbase which now is opensource..
> > > > http://www.interbase.com
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Laufer, Michael
> > > > To: Orion-Interest
> > > > Sent: Friday, October 27, 2000 10:41 AM
> > > > Subject: MYSQL, Orion, EJB and transactions ??
> > > >
> > > >
> > > > Hi there,
> > > >
> > > > I know that the question has been discussed here before,
> > > but I'm still a
> > > > little confused about using MYSQL together with Orion.
> > > > I've just downloaded mysql (version 3.23.22 beta) and the manual
> > > > announces that mysql is now supporting transactions. If I
> > > understood it
> > > > correctly, that would mean, that it should be possible to
> > > use mysql with
> > > > entity beans. Am I right ?? What's confusing to me is the
> > > fact, that I
> > > > only find news in mailing-list, that mysql is not supporting
> > > > transactions.
> > > >
> > > > So I don't really now, if I can use mysql for entity beans.
> > > > If not, which database would you suggest ??
> > > > It should work on NT and not be the most expensive one as I
> > > use it 'only'
> > > > for writing my Master's Thesis.
> > > >
> > > > Thanks in advance,
> > > >
> > > > Michel
> > > >
> > >
> > >
> > >
> > >
> > >
>
> (-) Robert Kr�ger
> (-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
> (-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
> (-) Tel: 06151 665401, Fax: 06151 665373
> (-) [EMAIL PROTECTED], www.signal7.de
>