threads/85112: Resource temporarily unavailable reading from sockets with Java/libpthread/jdbc

Daniel Eischen deischen at freebsd.org
Fri Aug 19 14:04:55 GMT 2005


On Wed, 17 Aug 2005, Nick Johnson wrote:
>
> This fails every time when java links against libpthread and works every time
> when it is linked against libc_r.
>
> I'm not entirely sure, but this may have started showing itself after I added
> this to /etc/make.conf:
>
> 	CPUTYPE?=i686
> 	CFLAGS=-O2 -pipe
>
> or it may be totally unrelated.  See also threads/84778
> (http://www.freebsd.org/cgi/query-pr.cgi?pr=84778) which was previously
> preventing me from getting far enough to make a database connection.  (Once
> the class files were compiled with a process linked against libc_r, they were
> in place for a process linked against libpthread to use.)

Please either try removing CPUTYPE or sending this to -java.
Ad far as I know, getting a connection to a database is just
a connect(), which we know works fine.

-- 
DE



More information about the freebsd-threads mailing list