Re: Connection core dump
Posted in 1998
. wrote:
>Hi,
>
>Have installed informix and can run onmonitor and dbaccess ok ( with user
>informix ), but other
>userids get a permission denied in dbaccess. Message 387: no connect
>permission, 111: ISAM error: no record found.
>
It seems that you should grant connect to database for other
users, you could try to grant the connection to public:
GRANT CONNECT TO public
>Running a java application to get a connection gives a core dump, even for
>user informix.
>As I'm just a programmer ( not a dba ) and the support people don't know
>either, I'd appreciate any ideas on this.
>
>Thanks,
>james.
>
As I see you use the Client SDK's Informix Object Interface for Java,
may be I'm wrong. I couldn't make this product to run either.
It runs Ok on one computer and failes on another with "Out of Memory"
error.
Best Regards,
Octav
>--------- some details ---------
>
>java version = 1.1.6
>os = Solaris 2.6 5/98 for x86.
>informix = 7.30 UC2
>
>------- java connection ------------------
>try {
> Class.forName("informix.api.jdbc.JDBCDriver");
>}
>catch( ClassNotFoundException ce )
>{
> System.out.println( ce.getMessage() );
>}
>
>try {
> String url = "jdbc:informix-api-direct:;database=test";
> Stuff.connection = DriverManager.getConnection( url );
>}
>catch( Exception e )
>{
> System.out.println( "Connect Error: "+e.getMessage() );
>}
>
>------------------------ error message --------
>
>SIGSEGV 11* segmentation violation
> si_signo [11]: SIGSEGV 11* segmentation violation
> si_errno [0]: Error 0
> si_code [1]: SEGV_MAPERR [addr: 0x0]
>
>
>Full thread dump:
> "Screen Updater" (TID:0xde673708, sys_thread_t:0x82587b0, state:CW,
>thread_t: t@8, sp:0x0 threadID:0xde050dd0, stack_base:0xde050db0,
>stack_size:0x21000) prio=4
> java.lang.Object.wait(Compiled Code)
> sun.awt.ScreenUpdater.nextEntry(Compiled Code)
> sun.awt.ScreenUpdater.run(Compiled Code)
> "AWT-Motif" (TID:0xde671388, sys_thread_t:0x8300f90, state:R, thread_t:
>t@7, sp:0x0 threadID:0xde073dd0, stack_base:0xde073db0, stack_size:0x21000)
>prio=5
> java.lang.Thread.run(Compiled Code)
> "SIGQUIT handler" (TID:0xde666298, sys_thread_t:0x80afe30, state:R,
>thread_t: t@5, sp:0x0 threadID:0xde3fedd0, stack_base:0xde3fedb0,
>stack_size:0x21000) prio=0
> "Finalizer thread" (TID:0xde666088, sys_thread_t:0x80afda0, state:CW,
>thread_t: t@4, sp:0x0 threadID:0xdfc2bdd0, stack_base:0xdfc2bdb0,
>stack_size:0x21000) prio=1
> "main" (TID:0xde6660b0, sys_thread_t:0x80a2a08, state:CW, thread_t:
>t@1, sp:0x0 threadID:0x8049a50, stack_base:0x8047258, stack_size:0x848000)
>prio=5
>Monitor Cache Dump:
> informix.api.direct.libmi.Libmi@DE674918/DE782D30: Segmentation
>Fault(coredump)
>
>
--
Octav Chiriac Phone: (373) 2 21 20 96
NetInfo S.R.L. Fax: (373) 2 21 20 96
Chisinau (373) 2 24 00 83
Moldova, Republic of mailto:com@netinfo-moldova.com