From owner-freebsd-java@FreeBSD.ORG Thu Mar 4 13:33:22 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1D0F16A4CE for ; Thu, 4 Mar 2004 13:33:22 -0800 (PST) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C62E43D45 for ; Thu, 4 Mar 2004 13:33:20 -0800 (PST) (envelope-from myloveforyou@loveable.com) Received: from spf9.us4.outblaze.com (spf9.us4.outblaze.com [205.158.62.169]) EE0311800621 for ; Thu, 4 Mar 2004 21:33:16 +0000 (GMT) X-OB-Received: from unknown (205.158.62.59) by wfilter.us4.outblaze.com; 4 Mar 2004 21:33:10 -0000 Received: by ws1-8.us4.outblaze.com (Postfix, from userid 1001) id D340322EBC; Thu, 4 Mar 2004 21:33:16 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [213.249.221.142] by ws1-8.us4.outblaze.com with http for myloveforyou@loveable.com; Thu, 04 Mar 2004 16:33:16 -0500 From: "Lukman Jaji" To: freebsd-java@freebsd.org Date: Thu, 04 Mar 2004 16:33:16 -0500 X-Originating-Ip: 213.249.221.142 X-Originating-Server: ws1-8.us4.outblaze.com Message-Id: <20040304213316.D340322EBC@ws1-8.us4.outblaze.com> Subject: Re: How do I make appletviewer work? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 21:33:22 -0000 Hello, Yhe problem was from your HTML tag. I have modified the code for you and it's working perfectly. /* */ import java.applet.*; import java.awt.*; public class HelloWorld extends Applet { public void paint(Graphics g) { g.drawString("Hello world!", 50, 25); } } You can run and and see. Compare it with your own code and detect the fault. Lukman ----- Original Message ----- From: freebsd-java-request@freebsd.org Date: Thu, 4 Mar 2004 12:00:54 -0800 (PST) To: freebsd-java@freebsd.org Subject: freebsd-java Digest, Vol 50, Issue 4 > Send freebsd-java mailing list submissions to > freebsd-java@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-java > or, via email, send a message with subject or body 'help' to > freebsd-java-request@freebsd.org > > You can reach the person managing the list at > freebsd-java-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-java digest..." > > > Today's Topics: > > 1. Re: ports/63409: jdk-1.4.2p6_3 plugin crashes Mozilla-1.6_2,2 > (Georg-W. Koltermann) > 2. Re: Eclipse on FreeBSD - where's my cursor (John Arnold) > 3. Re: Eclipse on FreeBSD - where's my cursor (John Arnold) > 4. Re: Eclipse on FreeBSD - where's my cursor (Panagiotis Astithas) > 5. java crash from within mozilla (Guido van Rooij) > 6. ['securiQ.Watchdog': denied attachment] > ('HUASMTP01_-_'securiQ.Watchdog'_Demon'@raiffeisen.hu) > 7. Re: ports/63409: jdk-1.4.2p6_3 plugin crashes Mozilla-1.6_2,2 > (Chris Shenton) > 8. Re: java/63511: bsd.java.mk 2.0: testers needed (Herve Quiroz) > 9. Re: java crash from within mozilla (Alexey Zelkin) > 10. How do I make appletviewer work? (Dennis Moore) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 04 Mar 2004 01:10:13 +0100 > From: "Georg-W. Koltermann" > Subject: Re: ports/63409: jdk-1.4.2p6_3 plugin crashes Mozilla-1.6_2,2 > To: freebsd-gnats-submit@FreeBSD.org, chris@Shenton.Org > Cc: freebsd-java@freebsd.org > Message-ID: > <1078359013.1369.22.camel@localhost.muc.eu.mscsoftware.com> > Content-Type: text/plain > > Well know, seen before, fixed. See the thread at > http://www.freebsd.org/cgi/getmsg.cgi?fetch=183044+0+/usr/local/www/db/text/2004/freebsd-java/20040125.freebsd-java > > This *is* in fact a jdk14 problem, please reassign back. > > Then if someone could commit my patch from above thread... > > > > ------------------------------ > > Message: 2 > Date: Wed, 03 Mar 2004 21:11:43 -0500 > From: John Arnold > Subject: Re: Eclipse on FreeBSD - where's my cursor > To: Vladimir Botka > Cc: freebsd-java@freebsd.org > Message-ID: <1078366303.1610.0.camel@hermione> > Content-Type: text/plain > > On Wed, 2004-03-03 at 04:09, Vladimir Botka wrote: > > Hi, > > are you sure you change the editor preferences for the active perspective > > ""Window>Open Perspective"? There are editor preferences for java, c, workbench etc. > > Cheers, > > Vladimir > > > > On Tue, 2 Mar 2004, John Arnold wrote: > > > > > On Tue, 2004-03-02 at 16:20, Vladimir Botka wrote: > Vladimir > > Yes, tried them all - none work > > > > ------------------------------ > > Message: 3 > Date: Wed, 03 Mar 2004 21:12:44 -0500 > From: John Arnold > Subject: Re: Eclipse on FreeBSD - where's my cursor > To: Panagiotis Astithas > Cc: freebsd-java@freebsd.org > Message-ID: <1078366364.1610.2.camel@hermione> > Content-Type: text/plain > > On Mon, 2004-03-01 at 14:22, Panagiotis Astithas wrote: > > jarnold@sydrom.com wrote: > > > Issue: Eclipse 2.1.x does not show a cursor in the edit pane when editing > > > java source code [somewhat of an inconvenience] > > > > > > Background: When using FreeBSD 4.7,4.8 or 4.9, with windowmanagers Gnome, > > > KDE, fvwm2, whatever, no cursor is visible. Attempting to change the > > > window behaviour by use of "Window>Preferences>Java>Editor" has no effect. > > > > > > Alternatively, if I use Jedit, for example, it's fine. > > > > > > Any thoughts? > > > > FWIW, it definitely does show a cursor on my 5.2-current. > > Which version of java are you using? > I have 1.4.2-p6 installed > > Regards > > > ------------------------------ > > Message: 4 > Date: Thu, 04 Mar 2004 10:14:43 +0200 > From: Panagiotis Astithas > Subject: Re: Eclipse on FreeBSD - where's my cursor > To: John Arnold > Cc: freebsd-java@freebsd.org > Message-ID: <4046E573.1050005@noc.ntua.gr> > Content-Type: text/plain; charset=us-ascii; format=flowed > > John Arnold wrote: > > On Mon, 2004-03-01 at 14:22, Panagiotis Astithas wrote: > > > >>jarnold@sydrom.com wrote: > >> > >>>Issue: Eclipse 2.1.x does not show a cursor in the edit pane when editing > >>>java source code [somewhat of an inconvenience] > >>> > >>>Background: When using FreeBSD 4.7,4.8 or 4.9, with windowmanagers Gnome, > >>>KDE, fvwm2, whatever, no cursor is visible. Attempting to change the > >>>window behaviour by use of "Window>Preferences>Java>Editor" has no effect. > >>> > >>>Alternatively, if I use Jedit, for example, it's fine. > >>> > >>>Any thoughts? > >> > >>FWIW, it definitely does show a cursor on my 5.2-current. > > > > > > Which version of java are you using? > > I have 1.4.2-p6 installed > > jdk-1.4.2p6_3 in KDE 3.2. > > Cheers, > -- > Panagiotis Astithas > Electrical & Computer Engineer, PhD > Network Management Center > National Technical University of Athens, Greece > > ------------------------------ > > Message: 5 > Date: Thu, 4 Mar 2004 10:04:52 +0100 > From: Guido van Rooij > Subject: java crash from within mozilla > To: freebsd-java@FreeBSD.org > Message-ID: <20040304090452.GA55087@gvr.gvr.org> > Content-Type: text/plain; charset=us-ascii > > While accessing an E-banking site, I consistantly get a crash. > Unfortunately, I have to logon first, so I cant have yiu guys reproduce > it. > I tried it with an empty libmap.conf and with the following one: > libc_r.so.5 libkse.so.1 > libc_r.so libkse.so > > This makes no difference. Mozilla is 1.6 and jdk is 1.4.2.p6. Both were > freshly built on a 5.2.1 system. > Underneath the error log: > Anywone got a hint on how to fix this? > > -Guido > > > Unexpected Signal : 11 occurred at PC=0x2835D0CD > Function=_ZN5JNIid6methodEv+0x7 > Library=/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so > > Current Java thread: > at sun.plugin.navig.motif.AThread.handleRequest(Native Method) > at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:35) > at sun.plugin.navig.motif.AThread.run(AThread.java:27) > > Dynamic libraries: > 0x8048000 java_vm > 0x2807d000 /usr/lib/libkse.so.1 > 0x280a0000 /lib/libc.so.5 > 0x28173000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so > 0x28591000 /usr/lib/libstdc++.so.4 > 0x28647000 /lib/libm.so.2 > 0x2865f000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so > 0x2866d000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so > 0x28682000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so > 0x286a0000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so > 0x34724000 /usr/local/jdk1.4.2/jre/lib/i386/libawt.so > 0x34976000 /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so > 0x349c1000 /usr/X11R6/lib/libXp.so.6 > 0x349c9000 /usr/X11R6/lib/libXt.so.6 > 0x34a1a000 /usr/X11R6/lib/libXext.so.6 > 0x34a29000 /usr/X11R6/lib/libXtst.so.6 > 0x34a2f000 /usr/X11R6/lib/libXmu.so.6 > 0x34a45000 /usr/X11R6/lib/libX11.so.6 > 0x34b0d000 /usr/X11R6/lib/libSM.so.6 > 0x34b16000 /usr/X11R6/lib/libICE.so.6 > 0x34b2d000 /usr/local/jdk1.4.2/jre/lib/i386/libjavaplugin_jni.so > 0x34b54000 /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so > 0x34c28000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 > 0x34c2b000 /usr/X11R6/lib/libXcursor.so.1 > 0x34c34000 /usr/X11R6/lib/libXrender.so.1 > 0x34c3c000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 > 0x34c5a000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so > 0x2804b000 /libexec/ld-elf.so.1 > > Heap at VM Abort: > Heap > def new generation total 576K, used 256K [0x2c610000, 0x2c6b0000, 0x2caf0000) > eden space 512K, 37% used [0x2c610000, 0x2c640350, 0x2c690000) > from space 64K, 99% used [0x2c6a0000, 0x2c6afff0, 0x2c6b0000) > to space 64K, 0% used [0x2c690000, 0x2c690000, 0x2c6a0000) > tenured generation total 2724K, used 2417K [0x2caf0000, 0x2cd99000, 0x30610000) > the space 2724K, 88% used [0x2caf0000, 0x2cd4c7a8, 0x2cd4c800, 0x2cd99000) > compacting perm gen total 6656K, used 6498K [0x30610000, 0x30c90000, 0x34610000) > the space 6656K, 97% used [0x30610000, 0x30c68bf0, 0x30c68c00, 0x30c90000) > > Local Time = Thu Mar 4 10:00:04 2004 > Elapsed Time = 26 > # > # HotSpot Virtual Machine Error : 11 > # Error ID : 4F530E43505002F1 > # Please report this error to > # freebsd-java@FreeBSD.org mailing list > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-guido_03_mar_2004_22_14 mixed mode) > > -Guido > > ------------------------------ > > Message: 6 > Date: Thu, 4 Mar 2004 10:33:30 +0100 > From: 'HUASMTP01_-_'securiQ.Watchdog'_Demon'@raiffeisen.hu > Subject: ['securiQ.Watchdog': denied attachment] > To: java@freebsd.org > Message-ID: > Content-Type: text/plain; charset=us-ascii > > GROUP securiQ.Watchdog > Server: HUASMTP01 > ----------------------------------------------------------------------- > > Your mail item contained attachments that are denied by type or size. > Please contact your administrator > ----------------------------------------------------------------------- > Mail-Info > > From: java@freebsd.org > To: thortay@tps-louisville.hu > Rec.: thortay@raiffeisen.hu > Date: 03/04/2004 10:32:26 AM > Subject: Re: Hi > > ----------------------------------------------------------------------- > file is denied: your_file.pif > > > > > > > > ------------------------------ > > Message: 7 > Date: Thu, 04 Mar 2004 08:37:23 -0500 > From: Chris Shenton > Subject: Re: ports/63409: jdk-1.4.2p6_3 plugin crashes Mozilla-1.6_2,2 > To: "Georg-W. Koltermann" > Cc: freebsd-gnats-submit@FreeBSD.org > Message-ID: <864qt4wx64.fsf@PECTOPAH.shenton.org> > Content-Type: text/plain; charset=us-ascii > > "Georg-W. Koltermann" writes: > > > Well know, seen before, fixed. See the thread at > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=183044+0+/usr/local/www/db/text/2004/freebsd-java/20040125.freebsd-java > > > > This *is* in fact a jdk14 problem, please reassign back. > > Oddly, I poked at the applet a couple times after this, got various > failures, then it eventually worked. No changes on my end, just > returning to the same web page, clicking the same applet. Like there > were problems initializing them vm the first time then "fixed > themselves" :-( on subsequent invocations. > > Should I close the ticket? The behavior's a bit flaky, but I was able > to get beyond the initial problem -- though it's not "fixed". > > ------------------------------ > > Message: 8 > Date: Thu, 4 Mar 2004 07:00:34 -0800 (PST) > From: Herve Quiroz > Subject: Re: java/63511: bsd.java.mk 2.0: testers needed > To: freebsd-java@FreeBSD.org > Message-ID: <200403041500.i24F0YEe090810@freefall.freebsd.org> > > The following reply was made to PR java/63511; it has been noted by GNATS. > > From: Herve Quiroz > To: FreeBSD-gnats-submit@FreeBSD.org > Cc: > Subject: Re: java/63511: bsd.java.mk 2.0: testers needed > Date: Thu, 4 Mar 2004 15:51:43 +0100 > > I received the following information: > > > The following ports failed: > > > > net/javadc > > STOP 1 > > I will investigate this issue ASAP. > > Herve > > ------------------------------ > > Message: 9 > Date: Thu, 4 Mar 2004 21:17:29 +0200 > From: Alexey Zelkin > Subject: Re: java crash from within mozilla > To: Guido van Rooij > Cc: freebsd-java@freebsd.org > Message-ID: <20040304191729.GA53518@phantom.cris.net> > Content-Type: text/plain; charset=us-ascii > > hi, > > Well. One question: did you try to use any other applets ? From > demo/ directory or/and from sun.com ? And one more -- did you check > XFree logs ? java_vm may output some more inforation to "stdout". > And one more - does this error appear while loading/starting applet > or somethere in middle ? > > Some hints you may want to try (order does not matter): > > . revert libmap configuration (i.e. use libc_r by default) > > . try to use _g (debuging) version of plugin shared object and try > to get a backtrace from java_vm's core file (preferably 'bt full'). > Note: you'll install debug version of all JVM libraries first (use > WITH_DEBUG port install option) > > . Check your logs for something related to pipe's and/or thread limits. > Looks like that handler thread's pointer become invalid at some point > or something broken on browser<->plugin pipe. I can't say anything > concrete without getting more information. > > . install mozilla to 1.4/1.5 (leave it for last attempt or try > on clean machine) > > On Thu, Mar 04, 2004 at 10:04:52AM +0100, Guido van Rooij wrote: > > While accessing an E-banking site, I consistantly get a crash. > > Unfortunately, I have to logon first, so I cant have yiu guys reproduce > > it. > > I tried it with an empty libmap.conf and with the following one: > > libc_r.so.5 libkse.so.1 > > libc_r.so libkse.so > > > > This makes no difference. Mozilla is 1.6 and jdk is 1.4.2.p6. Both were > > freshly built on a 5.2.1 system. > > Underneath the error log: > > Anywone got a hint on how to fix this? > > > > -Guido > > > > > > Unexpected Signal : 11 occurred at PC=0x2835D0CD > > Function=_ZN5JNIid6methodEv+0x7 > > Library=/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so > > > > Current Java thread: > > at sun.plugin.navig.motif.AThread.handleRequest(Native Method) > > at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:35) > > at sun.plugin.navig.motif.AThread.run(AThread.java:27) > > > > Dynamic libraries: > > 0x8048000 java_vm > > 0x2807d000 /usr/lib/libkse.so.1 > > 0x280a0000 /lib/libc.so.5 > > 0x28173000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so > > 0x28591000 /usr/lib/libstdc++.so.4 > > 0x28647000 /lib/libm.so.2 > > 0x2865f000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so > > 0x2866d000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so > > 0x28682000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so > > 0x286a0000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so > > 0x34724000 /usr/local/jdk1.4.2/jre/lib/i386/libawt.so > > 0x34976000 /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so > > 0x349c1000 /usr/X11R6/lib/libXp.so.6 > > 0x349c9000 /usr/X11R6/lib/libXt.so.6 > > 0x34a1a000 /usr/X11R6/lib/libXext.so.6 > > 0x34a29000 /usr/X11R6/lib/libXtst.so.6 > > 0x34a2f000 /usr/X11R6/lib/libXmu.so.6 > > 0x34a45000 /usr/X11R6/lib/libX11.so.6 > > 0x34b0d000 /usr/X11R6/lib/libSM.so.6 > > 0x34b16000 /usr/X11R6/lib/libICE.so.6 > > 0x34b2d000 /usr/local/jdk1.4.2/jre/lib/i386/libjavaplugin_jni.so > > 0x34b54000 /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so > > 0x34c28000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 > > 0x34c2b000 /usr/X11R6/lib/libXcursor.so.1 > > 0x34c34000 /usr/X11R6/lib/libXrender.so.1 > > 0x34c3c000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 > > 0x34c5a000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so > > 0x2804b000 /libexec/ld-elf.so.1 > > > > Heap at VM Abort: > > Heap > > def new generation total 576K, used 256K [0x2c610000, 0x2c6b0000, 0x2caf0000) > > eden space 512K, 37% used [0x2c610000, 0x2c640350, 0x2c690000) > > from space 64K, 99% used [0x2c6a0000, 0x2c6afff0, 0x2c6b0000) > > to space 64K, 0% used [0x2c690000, 0x2c690000, 0x2c6a0000) > > tenured generation total 2724K, used 2417K [0x2caf0000, 0x2cd99000, 0x30610000) > > the space 2724K, 88% used [0x2caf0000, 0x2cd4c7a8, 0x2cd4c800, 0x2cd99000) > > compacting perm gen total 6656K, used 6498K [0x30610000, 0x30c90000, 0x34610000) > > the space 6656K, 97% used [0x30610000, 0x30c68bf0, 0x30c68c00, 0x30c90000) > > > > Local Time = Thu Mar 4 10:00:04 2004 > > Elapsed Time = 26 > > # > > # HotSpot Virtual Machine Error : 11 > > # Error ID : 4F530E43505002F1 > > # Please report this error to > > # freebsd-java@FreeBSD.org mailing list > > # > > # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-guido_03_mar_2004_22_14 mixed mode) > > > > -Guido > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > ------------------------------ > > Message: 10 > Date: Thu, 4 Mar 2004 13:34:03 -0600 > From: Dennis Moore > Subject: How do I make appletviewer work? > To: freebsd-java@freebsd.org > Message-ID: <20040304193403.GC69978@forbidden.dough.net> > Content-Type: text/plain; charset=us-ascii > > Hello, > > I'm just starting to learn java and going through the Sun tutorial. I > created a basic Hello world program and that worked, but when I tried to > make an applet I ran into trouble. I can run the applet fine in a browser, > but when I run it in appletviewer, nothing happens. > > Here is my program: > > import java.applet.*; > import java.awt.*; > > public class HelloWorld extends Applet { > public void paint(Graphics g) { > g.drawString("Hello world!", 50, 25); > } > } > > Here is my HTML: > > > Hello World Applet > > > > > > > The class compiles fine. Here are java ports: > > j2sdkee-1.3.1_4 Java 2 SDK Enterprise Edition > javavmwrapper-1.4 Wrapper script for various Java Virtual Machines > jdk-1.4.1p4 Java Development Kit 1.4.1 > jsdk-2.0 Sun's Java Servlet Developers Kit > linux-sun-jdk-1.3.1.08 Sun Java Development Kit 1.3 for Linux > linux-sun-jdk-1.4.2.01_3 Sun Java Development Kit 1.4 for Linux > > Is there something I'm missing? Do I have a wrong version? > > Thanks > > -- > Dennis Moore jesus sewed my pants > Pro Bono Devil's Advocate it's a love affair > archon@EFnet irc mainly jesus > http://forbidden.dough.net/ and my pants > > ------------------------------ > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > End of freebsd-java Digest, Vol 50, Issue 4 > ******************************************* -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm