NT app does not display text on Linux with jre 1.2
I have some apps that run on NT using swing. When I run these on Linux 6.1 with jre1.2v2 I get a warning Warning: Cannot allocate colormap entry for default background. and the text does not display for the apps. (The text for the title does however). Is there a Linux setting that I have that is wrong? Vince -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java2 & Alpha
Ilya wrote: | Is there any work being done on porting JDK 1.2 to Linux on Alpha? I recently attended a seminar where COMPAQ talked about their ongoing Linux-work. The representative said that JDK1.2 would be ready for Alpha late December, although this is _not_ stated anywhere on their website(s). I believe that it was a commercial project, meaning that you have to purchase a license to use it. I'm not sure on that last point though. -- Jo Uthus| e-mail: [EMAIL PROTECTED] (private) Software Engineer | e-mail: [EMAIL PROTECTED] (work) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java2 & Alpha
I have ported the java 1.2 ( but not 1.2.1, or 1.2.2 ) some time in the beginning of this (1999 ) year my non-comm license will expire in the middle of december though, and Sun has refused to renew that license, or offer any other in its place. gat /http://www.voicenet.com/~gatgul/Java.html Jo Uthus wrote > Ilya wrote: > > | Is there any work being done on porting JDK 1.2 to Linux on Alpha? > > I recently attended a seminar where COMPAQ talked about their ongoing > Linux-work. > > The representative said that JDK1.2 would be ready for Alpha late > December, although this is _not_ stated anywhere on their website(s). > > I believe that it was a commercial project, meaning that you have to > purchase a license to use it. I'm not sure on that last point though. > > -- > Jo Uthus| e-mail: [EMAIL PROTECTED] (private) > Software Engineer | e-mail: [EMAIL PROTECTED] (work) > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: To use Sniff+... Re: Version for GlibC
[EMAIL PROTECTED] wrote: > > > Robb Shecter writes: > > > Peter Pilgrim wrote: > >> > >> Could you print this glibc version info on the shrinked wrapped boxes > >> for SuSE 6.3 and for all forthcoming SuSEs. > > > > I browsed through the www.suse.de site, and couldn't find anything. > > There's several (complex) instructions elsewhere on the web about this (ie. > > glibc 2 howto), but they're geared for people doing glibc development. > > They usually start with "Extract the source distribution...". > > > I'd think that I shouldn't have to do that! > There's really no other way. glibc uses some special paths (specified > at compile time) and you can not just place the libraries in another > location. It might work - but it might also fail in subtle ways. > Putting them in /usr/lib and /lib will break your libc5 system. > > Either install glibc as a secondary lib (read the HowTo and the FAQ), > or get yourself a distribution that comes with glibc 2.1.x. > I am to believe that just upgrading via an rpm to glibc 2.1.x will require upgrades of binutils, netutils, apps , etc too many to mention ... Could you do the upgrade from a SuSE snapshot upgrade CD ROM? -- Adios Peter - import std.Disclaimer; // More Java for your Lava, Mate. "Give the man, what he wants. £££" [on Roy Keane, Quality Player] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java2 & Alpha
Uncle George wrote: | I have ported the java 1.2 ( but not 1.2.1, or 1.2.2 ) some time in the | beginning of this (1999 ) year my non-comm license will expire in the | middle of december though, and Sun has refused to renew that license, or | offer any other in its place. | gat | | /http://www.voicenet.com/~gatgul/Java.html It might seem that COMPAQ has made a rather (lots-of-money) fair deal with SUN, forcing them to withdraw any such licences so there will be no competition ? [And rather off-topic:] It also indicates that SUN is rather scared of the fact that Linux outruns their Slowlaris by far on most tasks not involving I/O and that's why they haven't ported JDK to Linux themselves (yet). -- Jo Uthus| e-mail: [EMAIL PROTECTED] (private) Software Engineer | e-mail: [EMAIL PROTECTED] (work) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: NT app does not display text on Linux with jre 1.2
>Date: Wed, 17 Nov 1999 10:56:05 +0200 >From: Vincent Risi <[EMAIL PROTECTED]> >I have some apps that run on NT using swing. When I run these on Linux >6.1 with jre1.2v2 I get a warning > >Warning: Cannot allocate colormap entry for default background. > >and the text does not display for the apps. (The text for the title does >however). Is there a Linux setting that I have that is wrong? > >Vince I absolutely HATE this error!!! It occurs because you're running your X server with an 8 bit color depth AND you've got another application (like netscape) hogging the colormap. Solution 1: kill all other apps, and rerun your java app. Solution 2: rerun X with 16 bits (ie. startx -- -bpp 16) #2 would seem to be the best but it isn't because many apps will not work properly unless its in the 8-bit "Pseudocolor" model. Why this should be still astounds me: is it bad programming? or is it just "old" programming? I'm sure there is a complicated answer... hope this helps, -- Larry Gates -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java Workstation for Linux
Hi Gang: I just installed JWS 3.0 on my NT box at work. Pretty nice. There is a port to Solaris as well. I was wondering if anyone has tried to port this to Linux? Thanks, Greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Linux & ADSL
Hi - I have ADSL with bell atlantic and use an extenal ADSL modem hooked up to my NIC PCMCIA card. Every time I send an e-mail or upload to an FTP server, I get disconnected and have to restart the eth0 network interface. Bell claims it's not their problem and they do not provide support for Linux. Has anyone seen this behavior and/or knows some pointers? Thanks! Renzo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: NT app does not display text on Linux with jre 1.2
On Wed, Nov 17, 1999 at 08:51:59AM -0400, Larry Gates wrote: > . . . > It occurs because you're running your X server with an 8 bit color > depth AND you've got another application (like netscape) hogging the > colormap. Solution #3: Use xwinwrap to run your Java app with its own colormap. Xwinwrap is available from: http://www.teleport.com/~nmeyers/FreeWare/ > #2 would seem to be the best but it isn't because many apps will not > work properly unless its in the 8-bit "Pseudocolor" model. Why this > should be still astounds me: is it bad programming? or is it just > "old" programming? I'm sure there is a complicated answer... Yeah... a lot of X apps never bothered to deal with anything other than 8-bit pseudocolor, and made too many depth-specific and visual-specific assumptions. The JDK1.2 AWT isn't exactly problem-free in this regard: it can't deal with all depths found in XFree86/Linux (as much past mail has discussed). It also won't let you specify alternate colormaps or visuals - unless you use a hack like xwinwrap. If you want a more complicated answer, it has to do with X's color model. Having applications use an indexed palette (the pseudocolor model used by default in 8-bit displays) instead of applying a consistent abstract colorspace across various display capabilities has caused no end of grief over the years. Nathan On Wed, Nov 17, 1999 at 08:51:59AM -0400, Larry Gates wrote: > > >Date: Wed, 17 Nov 1999 10:56:05 +0200 > >From: Vincent Risi <[EMAIL PROTECTED]> > > >I have some apps that run on NT using swing. When I run these on Linux > >6.1 with jre1.2v2 I get a warning > > > >Warning: Cannot allocate colormap entry for default background. > > > >and the text does not display for the apps. (The text for the title does > >however). Is there a Linux setting that I have that is wrong? > > > >Vince > > I absolutely HATE this error!!! > > It occurs because you're running your X server with an 8 bit color > depth AND you've got another application (like netscape) hogging the > colormap. > > Solution 1: kill all other apps, and rerun your java app. > > Solution 2: rerun X with 16 bits (ie. startx -- -bpp 16) > > #2 would seem to be the best but it isn't because many apps will not > work properly unless its in the 8-bit "Pseudocolor" model. Why this > should be still astounds me: is it bad programming? or is it just > "old" programming? I'm sure there is a complicated answer... > > hope this helps, > > -- > Larry Gates > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux & ADSL
Renzo Pecoraro wrote: > > Hi - > I have ADSL with bell atlantic and use an extenal ADSL modem hooked up > to my NIC PCMCIA card. Every time I send an e-mail or upload to an FTP > server, I get disconnected and have to restart the eth0 network > interface. Bell claims it's not their problem and they do not provide > support for Linux. Has anyone seen this behavior and/or knows some > pointers? Not to be hard-nosed about it, but this doesn't really deal with java-linux issues. -- Justin Lee | What is economic status, and tell me what is race? JEDI| Who decides to classify taxonomy of grace? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
A Java parser
Suppose I want to do a tool that parses the java code and modifies it. What do you advice me to use? Are there java parsers for Linux? If the answer is negative, what can I use? Perl (*groan*)? --- Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at University of Pisa - Italy - E-mail: [EMAIL PROTECTED] My home page: http://www.cli.di.unipi.it/~controzz/intro.html Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group). Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of... +-+ |. * . | | .__ . . | |oq |po _ _| | / #==>>>==#,-' (_)\ | | | ,-|~\\ ///_ ,() ,_} | | | |/|~]]] /// ,-~' .,~ / \| . | | |\_|_|_\_\~~~~' \ (/|. | | ./~ \___/ [m] \ \__// | | _bo..__ // `-,.~~ | | _-~ 0o.__( . | | \ o . | | . (_)00 | |. \~~~*,,,* ~00 | |~0 . | | ~~~---~~ | | .*| +-+ | An e-mail network of Space Cruiser Yamato and | | StarBlazers Fans | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux & ADSL
Hmmm this is definately not the mailing list for this. You might want to try [EMAIL PROTECTED] or since its not related at all either, try a mailing list for the distribution you are using or find (maybe on linux.com) a email for your local LUG and ask them. -Riyad Renzo Pecoraro wrote: > Hi - > I have ADSL with bell atlantic and use an extenal ADSL modem hooked up > to my NIC PCMCIA card. Every time I send an e-mail or upload to an FTP > server, I get disconnected and have to restart the eth0 network > interface. Bell claims it's not their problem and they do not provide > support for Linux. Has anyone seen this behavior and/or knows some > pointers? > > Thanks! > Renzo > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- [ Riyad Kalla ] [ [EMAIL PROTECTED] ] [ CS - Major ] [ University of Arizona ] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java parser
Hi, > Suppose I want to do a tool that parses the java code and modifies it. You could take a look at Jikes. It's open source, and I've heard of people using Jikes to parse code and then do something instead of compiling it. Of course, it's written in C++, so if you want to write your parser in Java, then you'll either need to do some JNI, or maybe port their parsing code from C++ to Java. By the way, your .sig is way huge. Though impressive, it's kind of annoying. :) Cheers, dstn. -- Dustin Lang, [EMAIL PROTECTED]-- User, n.: a particularly slow and unreliable input/ output device that is attached by default to the standard input and output streams. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java parser
Kontorotsui wrote: > > Suppose I want to do a tool that parses the java code and modifies it. > > What do you advice me to use? Are there java parsers for Linux? > If the answer is negative, what can I use? Perl (*groan*)? JavaCC is a free parser generator written in Java which generates Java code. It includes a (rigorous) Java grammar and at least one source code transformation example. It was recently moved from Sun's web site to Metamata's: http://www.metamata.com/javacc Louis Tribble -- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Louis Tribble [EMAIL PROTECTED] Metamata, Inc. http://www.metamata.com Tools for serious Java developers. +1 510 796 0915 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java parser
On Wed, 17 Nov 1999, Kontorotsui wrote: > Suppose I want to do a tool that parses the java code and modifies it. > > What do you advice me to use? Are there java parsers for Linux? > If the answer is negative, what can I use? Perl (*groan*)? www.antlr.org is a Java parser/lexer suite that comes with a grammar for Java. There's also a tool (which I don't have the URL handy at the moment) which allows you to extend the Java language fairly easily. . . . Sean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java parser
On Wed, Nov 17, 1999 at 06:08:54PM +0100, Kontorotsui wrote: > > Suppose I want to do a tool that parses the java code and modifies it. > > What do you advice me to use? Are there java parsers for Linux? > If the answer is negative, what can I use? Perl (*groan*)? Take a look at ANTLR (http://www.antlr.org), it's a parser generator written in Java that outputs Java and has a Java grammar available in the package. ANTLR is quite different from Lex/Yacc and, among other things, uses EBNF, generates tree walkers and tree transformation. -- Paolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java parser
It sounds like you want to parse Java source code. One good place to look is the Kopi compiler; it's GPL and written in Java. http://www.dms.at/kopi/index.html There are also Java parsers written for Sun's JavaCC (Java Compiler Compiler). And if you're looking for something in C++, there are always the Jikes Compiler and GNU gjc projects. Nathan On Wed, Nov 17, 1999 at 06:08:54PM +0100, Kontorotsui wrote: > > Suppose I want to do a tool that parses the java code and modifies it. > > What do you advice me to use? Are there java parsers for Linux? > If the answer is negative, what can I use? Perl (*groan*)? > > --- > Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at > University of Pisa - Italy - E-mail: [EMAIL PROTECTED] > My home page: http://www.cli.di.unipi.it/~controzz/intro.html > > Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group). > Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of... > > +-+ > |. * . | > | .__ . . | > |oq |po _ _| > | / #==>>>==#,-' (_)\ | > | | ,-|~\\ ///_ ,() ,_} | > | | |/|~]]] /// ,-~' .,~ / \| . | > | |\_|_|_\_\~~~~' \ (/|. | > | ./~ \___/ [m] \ \__// | > | _bo..__ // `-,.~~ | > | _-~ 0o.__( . | > | \ o . | > | . (_)00 | > |. \~~~*,,,* ~00 | > |~0 . | > | ~~~---~~ | > | .*| > +-+ > | An e-mail network of Space Cruiser Yamato and | > | StarBlazers Fans | > +-+ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
linux port of JSDK2.0 ?
I'm looking, but I don't see a linux port of JSDK2.0. JSDK1.0 is avaliable from javasoft but the 2.0 version is only avaliable to win and solaris. Has anyone found a way to use this 2.0 version on linux? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
code question ver. 2
thanks again for all the responses, but I am more interested in talking to the server in some way in which I have a better communication than the http protocol. I'd like to be able to read/write files, know whether the file eixts or not. Can it be done with http protocol? what about sockets? is it a good think to be looking into? TIA --Yohans ~ Yohans Mendoza Unix Administrator [EMAIL PROTECTED]Sirius Images Inc. http://www2.utep.edu/~yohanshttp://www.sirius-images.net ~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: code question ver. 2
- Original Message - From: Yohans Mendoza <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: woensdag 17 november 1999 21:49 Subject: code question ver. 2 > thanks again for all the responses, but I am more interested in talking to > the server in some way in which I have a better communication than the > http protocol. > > I'd like to be able to read/write files, know whether the file eixts > or not. > > Can it be done with http protocol? > what about sockets? > is it a good think to be looking into? You can use RMI (Remote Method Invocation) then you can do anything you want. You make a RMI-server and you access this server from your client. You just need to export fuctions on the server to check read an write files. Hope this helps, Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Jar problem with jdk1.1.8 from IBM
Have anyone tried the Jar utility from IBM's jdk1.1.8? For some reason, it refuse to jar up some inner class for me. The class files are generated by jikes and the jar utility from blackdown's 1.1.7 works fine with them. Any idea? Thanks, Andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
problem with Swing in JDK1.2
I have a GUI application which make extensive use of the Swing library and works fine under jdk1.1.x and Swing 1.1.1 (from Sun). However, if i tried to compile and run the same java file with jdk1.2-pre2 from blackdown, non of the images, or textfiled, or whatever shows up. All i can see is a gray area appearing on the screen. Any hint would be much appreciated. thanks, Andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
java-swing-jni...debug
Hi, I am struggling debugging java-swing-jni application. If i run my program using java command it runs fine but i need to debug my program using gdb and when i do that it hangs in gdb mode i tried to interrupt gdb and check the stack, Program received signal SIGINT, Interrupt. 0x40126827 in __libc_pause () (gdb) where #0 0x40126827 in __libc_pause () #1 0x40020795 in idle_loop (p=0x0) at ../../../../../src/linux/hpi/green_threads/src/threads_md.c:1094 #2 0x4001fe9e in start_func (func=0x40020788 , args=0xb0e4) at ../../../../../src/linux/hpi/green_threads/src/threads_md.c:290 (gdb) I am not able to find out what is happening! Is this the problem with green thread and native thread?? I am using Redhat Linux 6.0 with glibc2.1 and blackdown jdk1.2. -Raj -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: code question ver. 2
As I mentioned in my earlier reply (http://www.mail-archive.com/[email protected]/msg10490.html), the question is how the server is choosing to make its resources available to the rest of the world. Sockets are a low-level protocol; it's the higher-level protocols like HTTP, NFS, FTP, and so on that make files available to the world. To use an analogy, sockets are the telephone wire, while these other protocols are the conversations that take place over the phone. The question you need to answer is: who's on the other end to talk to you? It sounds like you're looking for an answer that sounds like "just call RemoteFile.open()" to have full file I/O with files on the server. Unfortunately, it doesn't work that way. The server needs to make its resources available through some protocol, and you need to speak that protocol to use the resources. The HTTP methods GET and PUT are one way but, as you've probably figured out, they only move entire files between client and server. If you're really looking for a way to just open() and read/write files from the server, you're probably going to have to write some server-side support to make it happen - something like a servlet that'll cooperate with your applet. It'll also be a gaping security hole if you're not careful. Nathan On Wed, Nov 17, 1999 at 01:49:33PM -0700, Yohans Mendoza wrote: > thanks again for all the responses, but I am more interested in talking to > the server in some way in which I have a better communication than the > http protocol. > > I'd like to be able to read/write files, know whether the file eixts > or not. > > Can it be done with http protocol? > what about sockets? > is it a good think to be looking into? > > TIA > > --Yohans > > > ~ > Yohans MendozaUnix Administrator > [EMAIL PROTECTED] Sirius Images Inc. > http://www2.utep.edu/~yohans http://www.sirius-images.net > ~ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux port of JSDK2.0 ?
On Wed, Nov 17, 1999 at 02:56:49PM -0700, [EMAIL PROTECTED] wrote: > > > I'm looking, but I don't see a linux port of JSDK2.0. JSDK1.0 is > avaliable from javasoft but the 2.0 version is only avaliable to win and > solaris. > > Has anyone found a way to use this 2.0 version on linux? It works fine on Linux. Just grab the Solaris version. The reason for the "versions" is to support the different archive formats preferred on the different platforms (tar versus zip). There's no native code in JSDK2.0. Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux port of JSDK2.0 ?
On Wed, 17 Nov 1999 [EMAIL PROTECTED] wrote: > I'm looking, but I don't see a linux port of JSDK2.0. JSDK1.0 is > avaliable from javasoft but the 2.0 version is only avaliable to win and > solaris. > > Has anyone found a way to use this 2.0 version on linux? Yes, just download the version for Solaris. It's a .tar.Z file so it can be uncompressed and unarchived on Linux, and everything in there is pure Java. . . . Sean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux port of JSDK2.0 ?
[EMAIL PROTECTED] wrote: > I'm looking, but I don't see a linux port of JSDK2.0. JSDK1.0 is > avaliable from javasoft but the 2.0 version is only avaliable to win and > solaris. Java 2 = Java 1.2 and there is a pre-release version available from Blackdown. I believe a final release is due out early 2000. Robbie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jsdk2.0 connection problem
When I run the jsdk2.0 server and try to bring up a servlet it gives me the following error: "A network error occured while netscape was recieving data: (Network error: connection reset by peer.) try connecting again." This doesn't happen when using the jsdk1.0 version. Can anyone suggest a fix, or a reason this might be happening -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jsdk2.0 connection problem
[EMAIL PROTECTED] wrote: > > When I run the jsdk2.0 server and try to bring up a servlet it gives me > the following error: > > "A network error occured while netscape was recieving data: (Network > error: > connection reset by peer.) > > try connecting again." > > This doesn't happen when using the jsdk1.0 version. I certainly got this problem with jsdk1.0 and 2.0, but it happens much earlier and more often in 2.0. The problem doesn't occur on Solaris or NT using the same JSDK (which is pure java). I found it occurred on about half the connections on 1.0, but normally after all the data had been sent to the client. With 2.0 it occurs much more often, often before significant amounts of data have been sent to the client. I suspect some sort of bug in JSDK that relies on some sort of automatic buffer flushing that doesn't occur on the linux JVM. I think I've tested under both the blackdown 1.1.7 and 1.2pre2. I don't think the problem exists under the IBM JVMs. I haven't tested extensively, but those are my observations. Let me know if you find a solution. Hope it helps Gordon Gordon Keith Programmer Marine Science Support Australian Antarctic Division http://www.antdiv.gov.au -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
