Subject Re: [IB-Java] Re: GDS in Java file
Author David Jencks
Hi,
I see that you can connect to the server fine, but trying to create a db
results in login exception. (the error codes are listed in GDS)

Perhaps what is happening is that in linux we are able to login, create
dbs, etc. using our linux identity and authorization info from the os
whereas in windows it is expecting a username and password. In the
original version you can add these to the byte[] used in
isc_create_database or in the firebird cvs version you can use more chained
Clumplets (terminology from the IB 3.3 documentation): these are set up in
the TestGDS class for instance.

Hope this helps
David Jencks

On 2001.06.01 03:40:15 -0400 ren_breeze@... wrote:
>
> Hi,
> Yes, I use interbase on the windows. and I modified path to a checked
> database. (My path : "localhost:C:\\interbase\\Test.gdb")
> I use standard Interbase 6.0, but FireBird return The same result
>
> May be debugging information can help to be defined my problem?
>
>
>
> op_connect sent
> op_accept received
> op_create sent
> op_response received
> isc_create_database = 335544472
> op_detach sent
> op_response (System error message) java.net.SocketException:
> Connection reset by peer: JVM_recv in socket input stream read
> at java.net.SocketInputStream.socketRead(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:86)
> at java.net.SocketInputStream.read(SocketInputStream.java:102)
> at org.firebirdsql.jgds.XdrInputStream.readInt
> (XdrInputStream.java:48)
> at org.firebirdsql.jgds.GDS_Impl.nextOperation
> (GDS_Impl.java:1110)
> at org.firebirdsql.jgds.GDS_Impl.readOperation
> (GDS_Impl.java:1119)
> at org.firebirdsql.jgds.GDS_Impl.receiveResponse
> (GDS_Impl.java:1089)
> at org.firebirdsql.jgds.GDS_Impl.isc_detach_database
> (GDS_Impl.java:303)
> at org.firebirdsql.Example1.<init>(Example1.java:64)
> at org.firebirdsql.Example1.main(Example1.java:224)
> isc_detach_database = 335544726
> isc_attach_database = 335544721
> op_transaction isc_start_transaction = 335544721
> op_exec_immediate isc_dsql_exec_inmed2 = 335544726
> op_commit java.lang.NullPointerException
> at org.firebirdsql.jgds.GDS_Impl.isc_commit_transaction
> (GDS_Impl.java:393)
> at org.firebirdsql.Example1.<init>(Example1.java:92)
> at org.firebirdsql.Example1.main(Example1.java:224)
> Exception in thread "main" Process exited with exit code 1
>
>
> > Hi,
> >
> > I actually am using a very old version if firebird, I think it is
> 9.4 but
> > I'm not sure. More importantly I think is that I am on rh linux
> 7. I
> > think you are on windows from your error message, and I'm pretty
> sure you
> > will need to change the path to the database to get it to work on
> windows.
> >
> > The access violation is not good news, however I'm not sure how to
> > reproduce it.
> >
> > You might want to subscribe to firebird-devel and look at the cvs
> version
> > at sourceforge.net.projects.firebird
> > which has some modifications and additional functionality.
> >
> > What are your questions about connecting to interbase with java
> without
> > interclient?
> >
> > david jencks
> >
> >
> > On 2001.05.31 05:58:17 -0400 ren@s... wrote:
> > > Hi.
> > > The large apologies for my English
> > > --- In IB-Java@y..., David Jencks <davidjencks@e...> wrote:
> > > > Hi,
> > > > Thanks! This time I got it! It looks very very nice, many many
> > > thanks.
> > > >
> > > > I quoted a note from Jim from a while back as background to some
> > > > architecture questions about what to do next and posted it
> > > separately.
> > > >
> > > > Thanks!
> > > > david jencks
> > > >
> > > > On 2001.05.18 03:48:13 -0400 Alejandro Alberola Arias wrote:
> > > > > Hi,
> > > > >
> > > > > I have uploaded it to the files section in
> > > > > the IB-Java list web site:
> > > > >
> > > > > http://groups.yahoo.com/group/IB-Java/files/
> > >
> > > I have test these source and ĂȘesult pitiable.
> > > When I try to create test database - the code is carried out
> without
> > > the remarks and then at attempt of connection - interbase is
> shutdown
> > > with error message :
> > > The instruction at "0x00432b11" referenced memory at "0x0000008"
> The
> > > memory cold not be "read".
> > >
> > > On what version of Interbase/FireBird you tested source?
> > >
> > > I also have some questions about connection from java to
> Interbase
> > > without interclient\Interserer.
> > >
> > > Please answer to Email ren@s...
> > > I am very much interested in results.
> > > Beforehand is grateful.
> > >
> > >
> > > > > Hope it will work now.
> > > > >
> > > > > Bye.
> > > > >
> > > > > --
> > > > >
> > > > > +--------------------------+
> > > > > | Alejandro Alberola Arias |
> > > > > | Boix i Oltra, S.L. |
> > > > > | email: alberola@b... |
> > > > > +--------------------------+
> > > > >
> > > > >
> > > > > 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/
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> > >
> > > 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/
> > >
> > >
> > >
> > >
>
>
> 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/
>
>
>
>