Subject Re: [IB-Java] Re: AIX 4.3.3 Interclient Build Problem---help!!!!
Author David Jencks
On 2002.01.13 12:46:56 -0500 petero1k wrote:
> David, thanks for all your help so far. I went into the code and
> forced fed it my server location, etc. It works about half the time
> properly. It's not worth it for a production environment.

I think some people are using it in some kind of production. However, the
lack of a binary release is a clue as to what I regard its status as.

I have very little time to work on it, however if you can provide something
like a test case that demonstrates a problem I will try to find the time to
look into it. Saying "it doesn't work" with no code, stack trace, log
output etc is not very motivating to me to investigate. The best format
for a problem report would be a junit test. The current ones are all based
on jdbc/BaseFBTest and create a db in the setUp and drop it in tearDown.

>
> Can you tell me how I can have InterServer running on one machine and
> Firebird (With the application) on another? Is that possible?

I think it is possible but I've never done it and don't recall how.

Thanks
david jencks
>
>
> --- In IB-Java@y..., David Jencks <davidjencks@d...> wrote:
> > On 2002.01.12 10:32:30 -0500 petero1k wrote:
> > >
> > > I meant I had successfully obtained "java-client" and installed
> all
> > > the libraries you spoke of into the Classpath.
> > >
> > > The classes I've written to execute the queries I require work
> fine
> > > and have been tested on Solaris as well as WinNT.
> > This is with firebird running on Solaris/WinNT and the client-java
> driver
> > on the same machine?
> > Im
> > > getting "Execution of Query Failed"
> >
> > If you are willing to spend a little more time on this, could you
> set debug
> > = true in org.firebirdsql.jgds.GDS_Impl and post or send directly
> to me the
> > trace when you run your failing example?
> >
> > Unfortunately reasonable logging is not yet implemented.
> >
> > Thanks
> > david jencks
> > >
> > > --- In IB-Java@y..., David Jencks <davidjencks@d...> wrote:
> > > > On 2002.01.12 01:38:59 -0500 petero1k wrote:
> > > > > ok. I have everything working now along those lines.
> > > >
> > > > Everything??? Which lines? There are at least 3.
> > > > >
> > > > > It recognizes the URL now, it connects to the database, but
> for
> > > every
> > > > > query I'm getting a "Query Failed" exception. Not sure why.
> Im
> > > not
> > > > > sure I'm going to waist more time with it.
> > > >
> > > > You are welcome to all the frustration you want, but if you
> want
> > > assistance
> > > > please indicate what problems you are having in enough detail
> so the
> > > > circumstances can be determined by others without psychic
> abilities.
> > > > >
> > > > > At this point I'm quite fustrated and gently amused. Im
> asking
> > > > > myself the question: Why do I bother trying to run the
> patchwork
> > > > > results of small open source projects on anything but the
> > > outdated
> > > > > architecture of an X86 PC with the flower-power OS known as
> > > Linux?
> > > >
> > > > Since you have better hardware/os available than some of the
> rest
> > > of us,
> > > > you are in an ideal position to contribute to making these open-
> > > source
> > > > projects run on such sytems.
> > > >
> > > > David Jencks
> > > > >
> > > > > Please shoot me, or at least freeze me until quality software
> and
> > > > > hardware are affordable and practical. If it were a perfect
> > > world
> > > > > I'd be running Oracle on a SunFire. But then, I'd also be
> > > driving a
> > > > > McLaren with a built in tall-blonde.
> > > > >
> > > > > -----Original Message-----
> > > > > From: David Jencks [mailto:davidjencks@d...]
> > > > > Sent: Friday, January 11, 2002 10:15 PM
> > > > > To: petero1k
> > > > > Subject: Re: AIX 4.3.3 Interclient Build Problem---help!!!!
> > > > >
> > > > >
> > > > > Since I don't use jbuilder I can't interpret what it is
> saying
> > > very
> > > > > easily,
> > > > > however I suspect you don't have all the needed jars in the
> > > > > classpath. You
> > > > > need everything in the src/lib directory in your classpath,
> > > especially
> > > > > connector.jar, jta.jar (I think I left out version numbers).
> I
> > > think
> > > > > it is
> > > > > complaining it can't find one of the jca classes from
> > > connector.jar.
> > > > >
> > > > > david jencks
> > > > >
> > > > > On 2002.01.11 20:05:01 -0500 petero1k wrote:
> > > > >
> > > > >
> > > > >
> > > > > --- In IB-Java@y..., David Jencks <davidjencks@d...> wrote:
> > > > > > On 2002.01.11 09:47:01 -0500 petero1k wrote:
> > > > > > >
> > > > > > > Yes, I meant InterServer. I have the Java driver running
> > > fine,
> > > > > but
> > > > > > > it refuses to connect from any machine. From what I
> know, I
> > > > > think it
> > > > > > > needs Interserver running.
> > > > > > >
> > > > > > What machine is running firebird?
> > > > > >
> > > > > > If you want to use interclient/interserver, interserver can
> be
> > > > > running on
> > > > > > any machine, not necessarily the same as the db or the
> client.
> > > > > >
> > > > > > I'll repeat, compiling interserver should not involve any
> jrd
> > > files.
> > > > > >
> > > > > > I'm not sure what you mean by "the Java driver".
> > > > > Interclient/interserver
> > > > > > does require interserver. The client-java driver, which
> has
> > > nothing
> > > > > > whatsoever to do with interclient/interserver, only
> requires
> > > > > firebird to be
> > > > > > running somewhere accessible. The client-java driver is
> 100%
> > > java
> > > > > and
> > > > > > should run on any platform with a jdk 1.3.
> > > > > >
> > > > > > david jencks
> > > > > >
> > > > > > >
> > > > > > > --- In IB-Java@y..., David Jencks <davidjencks@d...>
> wrote:
> > > > > > > > Are you sure you are compiling interclient?
> > > > > > > >
> > > > > > > > Interserver is c++ but should not need any internals of
> > > > > firebird
> > > > > > > such as a
> > > > > > > > jrd file to build.
> > > > > > > >
> > > > > > > > AFAIK interclient/interserver has never run on aix.
> > > Although
> > > > > it is
> > > > > > > not
> > > > > > > > complete, if you need java access to firebird on aix it
> > > might
> > > > > be
> > > > > > > easier to
> > > > > > > > try the client-java driver from firebird.
> > > > > > > >
> > > > > > > > david jencks
> > > > > > > >
> > > > > > > > On 2002.01.10 22:17:48 -0500 petero1k wrote:
> > > > > > > > > I had this problem trying to compile Interclient on
> AIX:
> > > > > > > > >
> > > > > > > > > cc -c -qchars=signed -O -DHADES -DPROD_BUILD
> > > > > interface.c
> > > > > > > > > cc: unrecognized option `-qchars=signed'
> > > > > > > > > In file included from ../jrd/license.h:49,
> > > > > > > > > from interface.c:41:
> > > > > > > > > ../jrd/build_no.h:5:28: warning: null character(s)
> > > preserved
> > > > > in
> > > > > > > > > literal
> > > > > > > > > ../jrd/build_no.h:6:25: warning: null character(s)
> > > preserved
> > > > > in
> > > > > > > > > literal
> > > > > > > > > In file included from interface.c:55:
> > > > > > > > > ../jrd/sdl_proto.h:27: warning: `struct ads' declared
> > > inside
> > > > > > > > > parameter list
> > > > > > > > > ../jrd/sdl_proto.h:27: warning: its scope is only
> this
> > > > > definition
> > > > > > > or
> > > > > > > > > declaration
> > > > > > > > > , which is probably not what you want.
> > > > > > > > > ../jrd/sdl_proto.h:30: warning: `struct ads' declared
> > > inside
> > > > > > > > > parameter list
> > > > > > > > > interface.c: In function `REM_fetch':
> > > > > > > > > interface.c:1842: `ALIGNMENT' undeclared (first use
> in
> > > this
> > > > > > > function)
> > > > > > > > > interface.c:1842: (Each undeclared identifier is
> reported
> > > > > only
> > > > > > > once
> > > > > > > > > interface.c:1842: for each function it appears in.)
> > > > > > > > > interface.c: In function `REM_free_statement':
> > > > > > > > > interface.c:1903: warning: cast to pointer from
> integer
> > > of
> > > > > > > different
> > > > > > > > > size
> > > > > > > > > interface.c: In function `REM_get_segment':
> > > > > > > > > interface.c:2388: `ALIGNMENT' undeclared (first use
> in
> > > this
> > > > > > > function)
> > > > > > > > > interface.c: In function `REM_put_segment':
> > > > > > > > > interface.c:2778: `ALIGNMENT' undeclared (first use
> in
> > > this
> > > > > > > function)
> > > > > > > > > interface.c: In function `REM_receive':
> > > > > > > > > interface.c:3183: `ALIGNMENT' undeclared (first use
> in
> > > this
> > > > > > > function)
> > > > > > > > > make: 1254-004 The error code from the last command
> is 1.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > To unsubscribe from this group, send an email to:
> > > > > > > > > IB-Java-unsubscribe@e...
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Your use of Yahoo! Groups is subject to
> > > > > > > http://docs.yahoo.com/info/terms/
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > To unsubscribe from this group, send an email to:
> > > > > > > IB-Java-unsubscribe@e...
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Your use of Yahoo! Groups is subject to
> > > > > http://docs.yahoo.com/info/terms/
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > > > To unsubscribe from this group, send an email to:
> > > > > IB-Java-unsubscribe@e...
> > > > >
> > > > >
> > > > >
> > > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> > >
> > > To unsubscribe from this group, send an email to:
> > > IB-Java-unsubscribe@e...
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> > >
>
>
> To unsubscribe from this group, send an email to:
> IB-Java-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>