From owner-freebsd-java Sun Jun 23 5:42:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id A179937B405 for ; Sun, 23 Jun 2002 05:42:11 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17M6h0-0002Z1-00 for freebsd-java@freebsd.org; Sun, 23 Jun 2002 13:42:10 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g5NCgAH24052 for freebsd-java@freebsd.org; Sun, 23 Jun 2002 13:42:10 +0100 (BST) (envelope-from jcm) Date: Sun, 23 Jun 2002 13:42:09 +0100 From: j mckitrick To: freebsd-java@freebsd.org Subject: Web services, Java, and FreeBSD questions Message-ID: <20020623134209.A23899@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've been learning about web services, and I'd like to try my hand at some basic Java RPC calls with XML/Soap. I've seen several approaches, using Apache Axis, Apache SOAP, or the Java Web Services kit. I'm a little unsure which one would be the best (read: simplest) to learn on. All I really want to do is experiment with XML RPC calls to localhost. I need to figure out if the Java kit from Sun is best, which wraps RPC calls into JAXRPC, or to stick with the Apache SOAP implementation, with either SOAP or Axis. The approaches are quite different, so I'd rather just learn one or the other right now. I'm having trouble with the Java config.xml and web.xml setups, and getting Tomcat to load the servers. Does anyone have any suggestions? jm -- Java on a laptop: the JIT hits the fan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 10:12:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from zeus.nfy.ca (zeus.nfy.ca [204.244.63.66]) by hub.freebsd.org (Postfix) with ESMTP id 5215637B403 for ; Sun, 23 Jun 2002 10:12:11 -0700 (PDT) Received: from nfy.ca (ajhc11noy2ng.bc.hsia.telus.net [64.180.197.223]) by zeus.nfy.ca (Postfix) with ESMTP id 69DFE20B232 for ; Sun, 23 Jun 2002 10:12:09 -0700 (PDT) Message-ID: <3D160169.8060705@nfy.ca> Date: Sun, 23 Jun 2002 10:12:09 -0700 From: Mayo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: Web services, Java, and FreeBSD questions References: <20020623134209.A23899@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If you want a started, you could pick up Apache's XML-RPC java package, which contants xml-rpc classes and simple webserver classes, so all you need to do is plug in your rpc modules in and play. This is not direct SOAP, but I think it is a nice starter to see how things work. mayo j mckitrick wrote: >I've been learning about web services, and I'd like to try my hand at >some basic Java RPC calls with XML/Soap. I've seen several approaches, >using Apache Axis, Apache SOAP, or the Java Web Services kit. > >I'm a little unsure which one would be the best (read: simplest) to >learn on. All I really want to do is experiment with XML RPC calls to >localhost. I need to figure out if the Java kit from Sun is best, which >wraps RPC calls into JAXRPC, or to stick with the Apache SOAP >implementation, with either SOAP or Axis. The approaches are quite >different, so I'd rather just learn one or the other right now. > >I'm having trouble with the Java config.xml and web.xml setups, and >getting Tomcat to load the servers. > >Does anyone have any suggestions? > >jm > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 10:28:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from hronir.scardini.com (dsl-209-162-215-176.easystreet.com [209.162.215.176]) by hub.freebsd.org (Postfix) with ESMTP id D029037B400 for ; Sun, 23 Jun 2002 10:28:50 -0700 (PDT) Received: from orbis.lan.scardini.com (orbis.lan.scardini.com [192.168.2.103]) by hronir.scardini.com (8.11.6/8.11.6) with ESMTP id g5NHSoU60935 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified NO); Sun, 23 Jun 2002 10:28:50 -0700 (PDT) (envelope-from chrise@scardini.com) Date: Sun, 23 Jun 2002 10:28:49 -0700 Subject: Re: Web services, Java, and FreeBSD questions Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: freebsd-java@FreeBSD.ORG To: j mckitrick From: Christopher Elkins In-Reply-To: <20020623134209.A23899@dogma.freebsd-uk.eu.org> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sunday, June 23, 2002, at 05:42 AM, j mckitrick wrote: > I've been learning about web services, and I'd like to try my hand at > some basic Java RPC calls with XML/Soap. I've seen several approaches, > using Apache Axis, Apache SOAP, or the Java Web Services kit. > > I'm a little unsure which one would be the best (read: simplest) to > learn on. All I really want to do is experiment with XML RPC calls to > localhost. I need to figure out if the Java kit from Sun is best, > which > wraps RPC calls into JAXRPC, or to stick with the Apache SOAP > implementation, with either SOAP or Axis. The approaches are quite > different, so I'd rather just learn one or the other right now. > > I'm having trouble with the Java config.xml and web.xml setups, and > getting Tomcat to load the servers. > > Does anyone have any suggestions? Unless you have a specific desire to learn SOAP (the protocol, not the Apache project of the same name), you might consider looking at XML-RPC (the protocol). For all intents and purposes, XML-RPC is the primordial ooze from which SOAP evolved. Specification: Apache Java Implementation: IMO, Apache SOAP is probably the easiest to learn (of the three projects you mention). It doesn't support some of the more recent SOAP developments (e.g., WSDL, UDDI) and has the performance disadvantage of using DOM instead of SAX in the XML pipeline. However, for learning purposes it's fairly easy to get some basic services working. Apache Axis is essentially a re-write of Apache SOAP to support the latest SOAP protocols and improve performance (and thankfully remove the name collision between project and protocol). JAXRPC (along with JAXM) is Sun's attempt at creating generic APIs for XML-based message-passing (both synchronous and asynchronous). The distribution consists of interfaces and a reference implementation. It is an express goal of Axis's to implement the JAXRPC interfaces. My recommendation: get your feet wet with either Apache XML-RPC or Apache SOAP. Then, if you're still interested start learning JAXRPC. Ideally, in the future it'll be possible to plug-in any SOAP implementation in a similar manner to XML parsers today (via JAXP). -- Christopher Elkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 20:36:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 18D3C37B407 for ; Sun, 23 Jun 2002 20:36:22 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17MKeL-000KpJ-00 for freebsd-java@freebsd.org; Mon, 24 Jun 2002 04:36:21 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g5O3aLr29799 for freebsd-java@freebsd.org; Mon, 24 Jun 2002 04:36:21 +0100 (BST) (envelope-from jcm) Date: Mon, 24 Jun 2002 04:36:21 +0100 From: j mckitrick To: freebsd-java@freebsd.org Subject: Frustrating Java RMI problem, reprise Message-ID: <20020624043621.A29670@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This problem has me pulling my hair out. Here's a cut and paste of a sample run. I started rmiregistry, then 'comp' which is an alias to run the correct class. It threw the exception. I broke out of rmiregistry, ran it again, and ran my class again, and it worked. Any idea why this might happen? Could there be a huge delay in the code somewhere where a port isn't getting bound quickly enough? local:~/myjava> comp ComputeEngine exception: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: engine.ComputeEngine_Stub local:~/myjava> local:~/myjava> fg [1] + running rmiregistry (pwd : ~) ^C (pwd now: ~/myjava) local:~/myjava> rmiregistry& [1] 377 local:~/myjava> comp Ready. jm -- Java on a laptop: the JIT hits the fan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 21:26:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from echto.net (12-225-216-61.client.attbi.com [12.225.216.61]) by hub.freebsd.org (Postfix) with ESMTP id B11BD37B400 for ; Sun, 23 Jun 2002 21:26:11 -0700 (PDT) Received: from echto.net (echto.net [172.31.0.3]) by echto.net (Postfix) with SMTP id BD3EC1642D for ; Sun, 23 Jun 2002 21:26:08 -0700 (PDT) Received: from seamonkey.echto.net ([172.31.0.4]) (SquirrelMail authenticated user echto) by echto.net with HTTP; Sun, 23 Jun 2002 21:26:08 -0700 (PDT) Message-ID: <1721.172.31.0.4.1024892768.squirrel@echto.net> Date: Sun, 23 Jun 2002 21:26:08 -0700 (PDT) Subject: compiling /usr/ports/java/jdk13 on FreeBSD From: "echto" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This may have been brought up in the past, and please excuse if this is a repeat post, but I have searched through this mailing list for a solution and haven't been able to find one. I am trying to compile jdk13 on FreeBSD 4.6 and am running into an error. ===> Applying FreeBSD patches for jdk-1.3.1p6_4 Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to ../src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS_Capture.c.rej >> Patch patch-HAE_API_BSDOS_Capture.c failed to apply cleanly. >> Patch(es) >> patch-..::ext::plugin::oji-plugin::src::motif::resources::ja::sunw_java_plug patch-..::ext::plugin::oji-plugin::src::motif::resources::ko.UTF-8::sunw_jav patch-..::ext::plugin::oji-plugin::src::motif::resources::ko::sunw_java_plug patch-..::ext::plugin::oji-plugin::src::motif::resources::zh.GBK::sunw_java_ patch-..::ext::plugin::oji-plugin::src::motif::resources::zh::sunw_java_plug patch-..::ext::plugin::oji-plugin::src::motif::resources::zh_TW.BIG5::sunw_j patch-..::ext::plugin::oji-plugin::src::motif::resources::zh_TW::sunw_java_p patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDO patch-GNUmakefile patch-HAE_API_BSDOS.c applied cleanly. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 EM --------------------------- Linux Counter #127140 http://counter.li.org -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP 6.5.8 mQGiBD0HnVkRBADxb6Cc/Za5Yb7+agtEduyjc9wFP5rSn9CFUET0K7Lu8XbxzZD5 PiAoUOLiLJokmTcMWU1m8djC1n1fv0LOvs+zCTZph3C1Asu7YKemGt4Hp1d/FC5L 3Z0+mlsOoTGhVSv3dlHikE9vRtnjX77sP4uaLkXfAX1MzT5Ulez6v0A7cwCg/3Ug ybsn9OxIRFu0QkwnEBkGGXsD+gPBQArfoiAxd/dS8NtkniEFtBb5RfcYB99MJoUC N8M57WHoTl1rVFjPpYCc7XFzJ6QPnWsN+La+FRcx9NO8QzRvEbLaeOFvGz+Ao6Kr sTNlRBJmxnpGVGuck7SyDWpjVWgx4msXdMlZJgMWU9p+/mXpFK0w0PuL3hrB5JzH VgghA/9Smn0rI/utEH0uBDGeFb4vYDNWBy2Puwr0/H1aaH0xmvSYzAmEMPLA9ViT TLCUZRognfbNaVVNdgx5xf0jpaYNlm6umtohsyiUChZHpeypJYRB0zOZ3xnXx2aA SUYMFzkaMzohSd/rZfrcm1y56prshBoHb+h3zQGA8mAzmA46G7QXZWNodG8gPGVj aHRvQGVjaHRvLm5ldD6JAE4EEBECAA4FAj0HnVkECwMBAgIZAQAKCRCYit0ngH38 1uU6AKCfZID0ZbMps9KFn0hT7zJsF7gGugCgjBzegpCtSxNiZi5RaXsC0TVXXly5 Aw0EPQedXhAMAMwdd1ckOErixPDojhNnl06SE2H22+slDhf99pj3yHx5sHIdOHX7 9sFzxIMRJitDYMPj6NYK/aEoJguuqa6zZQ+iAFMBoHzWq6MSHvoPKs4fdIRPyvMX 86RA6dfSd7ZCLQI2wSbLaF6dfJgJCo1+Le3kXXn11JJPmxiO/CqnS3wy9kJXtwh/ CBdyorrWqULzBej5UxE5T7bxbrlLOCDaAadWoxTpj0BV89AHxstDqZSt90xkhkn4 DIO9ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeSWc39uK50T8X8dryDxUcwYc58yWb/ Ffm7/ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1YTknbzSC0neSRBzZrM2w4DUUd D3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdXQ6MdGGzeMyEstSr/POGx KUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbTCD1mpF1Bn5x8vYlLIhkm uquiXsNV6UwybwACAgv/eBbm6fzAENXMFN3mKLaHxi4U8cisxvWtMp8YSWeDNoeN DHEBJJJ2hl5xyseZQlg4PCZQ8j64ylJNynrPRbPae/JpFFEuJDPR7jyGyF3SBpIA hOst7qlNotqJPo24njfHH6y8AXJAcFkHm2IOvEzulXKPwKL/4FSUoc2v9SqZrOJ7 inMPKLadVIMZmFUfXX3p8zJ7hwwOQm/75xsYUYbqcJTMYgZq+IyhtRdEUM2oJG2d aA8I86P0WilCp047riM6/TnXeIDH1TlB++x8iDgYkO3yVRC4FIFVxr993V3vRV5C HQjCVm429DYUHSs7uwAtLb4anSo68G2cBvM8ZznO+AL+z8wSIkq+3tGimOi66/Hf jPjqMBbs7/zFprWpB/sePdblSY2MoyD71y7YolE05FXFi0Ro+vH/mZ0J50YAPfyW AZa2eRzQsbWH31w+8yFpeZ88Bcg/K/zVqZehlN29YXnoWays130SoTch3ZS6H/wM EARbJKqTThFFpwFIVM6CiQBGBBgRAgAGBQI9B51eAAoJEJiK3SeAffzWaW4Anifu eMIsJ63Sp/Rau40c+wqdFSGcAJ9TB+2Xa881F6OVTLPD+mB/INUYEg== =hjiJ -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 22: 8:20 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by hub.freebsd.org (Postfix) with ESMTP id 5C91A37B400 for ; Sun, 23 Jun 2002 22:08:13 -0700 (PDT) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17MM5E-0004Vt-00; Sun, 23 Jun 2002 23:08:13 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17MM5D-0004U0-00; Sun, 23 Jun 2002 23:08:12 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5O582986061; Mon, 24 Jun 2002 14:38:02 +0930 (CST) (envelope-from glewis) Date: Mon, 24 Jun 2002 14:38:01 +0930 From: Greg Lewis To: echto Cc: freebsd-java@FreeBSD.ORG Subject: Re: compiling /usr/ports/java/jdk13 on FreeBSD Message-ID: <20020624143801.A85996@misty.eyesbeyond.com> References: <1721.172.31.0.4.1024892768.squirrel@echto.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1721.172.31.0.4.1024892768.squirrel@echto.net>; from echto@echto.net on Sun, Jun 23, 2002 at 09:26:08PM -0700 X-Spam-Status: No, hits=-2.9 required=8.0 tests=IN_REP_TO,TO_LOCALPART_EQ_REAL version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jun 23, 2002 at 09:26:08PM -0700, echto wrote: > This may have been brought up in the past, and please excuse if this is a > repeat post, but I have searched through this mailing list for a solution > and haven't been able to find one. > > I am trying to compile jdk13 on FreeBSD 4.6 and am running into an error. > > ===> Applying FreeBSD patches for jdk-1.3.1p6_4 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to > ../src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS_Capture.c.rej > >> Patch patch-HAE_API_BSDOS_Capture.c failed to apply cleanly. > >> Patch(es) > >> patch-..::ext::plugin::oji-plugin::src::motif::resources::ja::sunw_java_plug > patch-..::ext::plugin::oji-plugin::src::motif::resources::ko.UTF-8::sunw_jav > patch-..::ext::plugin::oji-plugin::src::motif::resources::ko::sunw_java_plug > patch-..::ext::plugin::oji-plugin::src::motif::resources::zh.GBK::sunw_java_ patch-..::ext::plugin::oji-plugin::src::motif::resources::zh::sunw_java_plug > patch-..::ext::plugin::oji-plugin::src::motif::resources::zh_TW.BIG5::sunw_j > patch-..::ext::plugin::oji-plugin::src::motif::resources::zh_TW::sunw_java_p > patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDO > patch-GNUmakefile patch-HAE_API_BSDOS.c applied cleanly. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 You're the second person to report this, but I can't reproduce it. What version of patch is in your path? I.e. whats the output of 'patch --version'? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 22:20:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from echto.net (12-225-216-61.client.attbi.com [12.225.216.61]) by hub.freebsd.org (Postfix) with ESMTP id 4E9A937B400 for ; Sun, 23 Jun 2002 22:20:51 -0700 (PDT) Received: from echto.net (echto.net [172.31.0.3]) by echto.net (Postfix) with SMTP id 608AD16431 for ; Sun, 23 Jun 2002 22:20:50 -0700 (PDT) Received: from seamonkey.echto.net ([172.31.0.4]) (SquirrelMail authenticated user echto) by echto.net with HTTP; Sun, 23 Jun 2002 22:20:50 -0700 (PDT) Message-ID: <2839.172.31.0.4.1024896050.squirrel@echto.net> Date: Sun, 23 Jun 2002 22:20:50 -0700 (PDT) Subject: Re: compiling /usr/ports/java/jdk13 on FreeBSD From: "echto" To: In-Reply-To: <20020624143801.A85996@misty.eyesbeyond.com> References: <20020624143801.A85996@misty.eyesbeyond.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > You're the second person to report this, but I can't reproduce it. > What version of patch is in your path? I.e. whats the output of 'patch > --version'? > I am using version 2.1. bash-2.05a$ patch --version Patch version 2.1 EM --------------------------- Linux Counter #127140 http://counter.li.org -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP 6.5.8 mQGiBD0HnVkRBADxb6Cc/Za5Yb7+agtEduyjc9wFP5rSn9CFUET0K7Lu8XbxzZD5 PiAoUOLiLJokmTcMWU1m8djC1n1fv0LOvs+zCTZph3C1Asu7YKemGt4Hp1d/FC5L 3Z0+mlsOoTGhVSv3dlHikE9vRtnjX77sP4uaLkXfAX1MzT5Ulez6v0A7cwCg/3Ug ybsn9OxIRFu0QkwnEBkGGXsD+gPBQArfoiAxd/dS8NtkniEFtBb5RfcYB99MJoUC N8M57WHoTl1rVFjPpYCc7XFzJ6QPnWsN+La+FRcx9NO8QzRvEbLaeOFvGz+Ao6Kr sTNlRBJmxnpGVGuck7SyDWpjVWgx4msXdMlZJgMWU9p+/mXpFK0w0PuL3hrB5JzH VgghA/9Smn0rI/utEH0uBDGeFb4vYDNWBy2Puwr0/H1aaH0xmvSYzAmEMPLA9ViT TLCUZRognfbNaVVNdgx5xf0jpaYNlm6umtohsyiUChZHpeypJYRB0zOZ3xnXx2aA SUYMFzkaMzohSd/rZfrcm1y56prshBoHb+h3zQGA8mAzmA46G7QXZWNodG8gPGVj aHRvQGVjaHRvLm5ldD6JAE4EEBECAA4FAj0HnVkECwMBAgIZAQAKCRCYit0ngH38 1uU6AKCfZID0ZbMps9KFn0hT7zJsF7gGugCgjBzegpCtSxNiZi5RaXsC0TVXXly5 Aw0EPQedXhAMAMwdd1ckOErixPDojhNnl06SE2H22+slDhf99pj3yHx5sHIdOHX7 9sFzxIMRJitDYMPj6NYK/aEoJguuqa6zZQ+iAFMBoHzWq6MSHvoPKs4fdIRPyvMX 86RA6dfSd7ZCLQI2wSbLaF6dfJgJCo1+Le3kXXn11JJPmxiO/CqnS3wy9kJXtwh/ CBdyorrWqULzBej5UxE5T7bxbrlLOCDaAadWoxTpj0BV89AHxstDqZSt90xkhkn4 DIO9ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeSWc39uK50T8X8dryDxUcwYc58yWb/ Ffm7/ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1YTknbzSC0neSRBzZrM2w4DUUd D3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdXQ6MdGGzeMyEstSr/POGx KUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbTCD1mpF1Bn5x8vYlLIhkm uquiXsNV6UwybwACAgv/eBbm6fzAENXMFN3mKLaHxi4U8cisxvWtMp8YSWeDNoeN DHEBJJJ2hl5xyseZQlg4PCZQ8j64ylJNynrPRbPae/JpFFEuJDPR7jyGyF3SBpIA hOst7qlNotqJPo24njfHH6y8AXJAcFkHm2IOvEzulXKPwKL/4FSUoc2v9SqZrOJ7 inMPKLadVIMZmFUfXX3p8zJ7hwwOQm/75xsYUYbqcJTMYgZq+IyhtRdEUM2oJG2d aA8I86P0WilCp047riM6/TnXeIDH1TlB++x8iDgYkO3yVRC4FIFVxr993V3vRV5C HQjCVm429DYUHSs7uwAtLb4anSo68G2cBvM8ZznO+AL+z8wSIkq+3tGimOi66/Hf jPjqMBbs7/zFprWpB/sePdblSY2MoyD71y7YolE05FXFi0Ro+vH/mZ0J50YAPfyW AZa2eRzQsbWH31w+8yFpeZ88Bcg/K/zVqZehlN29YXnoWays130SoTch3ZS6H/wM EARbJKqTThFFpwFIVM6CiQBGBBgRAgAGBQI9B51eAAoJEJiK3SeAffzWaW4Anifu eMIsJ63Sp/Rau40c+wqdFSGcAJ9TB+2Xa881F6OVTLPD+mB/INUYEg== =hjiJ -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 22:38:57 2002 Delivered-To: freebsd-java@freebsd.org Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 8F1E937B404 for ; Sun, 23 Jun 2002 22:38:53 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.3/8.12.3) with ESMTP id g5O5bQAs093933; Mon, 24 Jun 2002 17:37:26 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.3/8.12.3/Submit) id g5O5bQDa093932; Mon, 24 Jun 2002 17:37:26 +1200 (NZST) (envelope-from jonc) Date: Mon, 24 Jun 2002 17:37:25 +1200 From: Jonathan Chen To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Frustrating Java RMI problem, reprise Message-ID: <20020624053725.GA93880@grimoire.chen.org.nz> References: <20020624043621.A29670@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020624043621.A29670@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jun 24, 2002 at 04:36:21AM +0100, j mckitrick wrote: > > This problem has me pulling my hair out. Here's a cut and paste of a > sample run. I started rmiregistry, then 'comp' which is an alias to run > the correct class. It threw the exception. I broke out of rmiregistry, > ran it again, and ran my class again, and it worked. Any idea why this > might happen? Could there be a huge delay in the code somewhere where a > port isn't getting bound quickly enough? > > local:~/myjava> comp > ComputeEngine exception: RemoteException occurred in server thread; > nested exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; > nested exception is: > java.lang.ClassNotFoundException: > engine.ComputeEngine_Stub > local:~/myjava> > local:~/myjava> fg > [1] + running rmiregistry > (pwd : ~) > ^C > (pwd now: ~/myjava) > local:~/myjava> rmiregistry& > [1] 377 > local:~/myjava> comp > Ready. From the trace above, my guess is the rmiregistry needs to have it's classpath set properly as well. That's why when you ran it in ~/myjava, the code worked (classpath by default includes . in its environment). Cheers. -- Jonathan Chen Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jun 23 23:48: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 4A18B37B400 for ; Sun, 23 Jun 2002 23:48:06 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17MNdq-00050b-00; Mon, 24 Jun 2002 00:48:02 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17MNdp-0004zy-00; Mon, 24 Jun 2002 00:48:02 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5O6lu642556; Mon, 24 Jun 2002 16:17:56 +0930 (CST) (envelope-from glewis) Date: Mon, 24 Jun 2002 16:17:56 +0930 From: Greg Lewis To: echto Cc: freebsd-java@FreeBSD.ORG Subject: Re: compiling /usr/ports/java/jdk13 on FreeBSD Message-ID: <20020624161755.A42540@misty.eyesbeyond.com> References: <20020624143801.A85996@misty.eyesbeyond.com> <2839.172.31.0.4.1024896050.squirrel@echto.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <2839.172.31.0.4.1024896050.squirrel@echto.net>; from echto@echto.net on Sun, Jun 23, 2002 at 10:20:50PM -0700 X-Spam-Status: No, hits=-2.9 required=8.0 tests=IN_REP_TO,TO_LOCALPART_EQ_REAL version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Jun 23, 2002 at 10:20:50PM -0700, echto wrote: > > You're the second person to report this, but I can't reproduce it. > > What version of patch is in your path? I.e. whats the output of 'patch > > --version'? > > I am using version 2.1. Ok, then I have no idea why the patches apply perfectly for me and not for you. I assume what you have downloaded checksums correctly and all that? If so, try cvsup'ing and make sure what you have is fine from that point of view. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 1:37:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from web13407.mail.yahoo.com (web13407.mail.yahoo.com [216.136.175.65]) by hub.freebsd.org (Postfix) with SMTP id A581637B499 for ; Mon, 24 Jun 2002 00:18:45 -0700 (PDT) Message-ID: <20020624071204.6829.qmail@web13407.mail.yahoo.com> Received: from [12.254.130.74] by web13407.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 00:12:04 PDT Date: Mon, 24 Jun 2002 00:12:04 -0700 (PDT) From: Dan Hulme Reply-To: dan_256@yahoo.com Subject: jboss3ctl Jboss 3 port To: znerd@FreeBSD.ORG, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-473244680-1024902724=:5416" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-473244680-1024902724=:5416 Content-Type: text/plain; charset=us-ascii Hi: The Jboss 3 port seems to run fine using "java -jar run.jar". However, the jboss3ctl script (and thus startup.sh) seems to be broken. Unfortunately, there isn't any source included (or is there?), so I don't know what it's doing. It runs (when I do "jboss3ctl start"), and claims to startup jboss, and set the PID. However, it doesn't run, and when I run "jboss3ctl stop" it explains that jboss was never running in the first place. Is this just my problem, or have other people had this problem? I have jdk1.2.2/jdk1.3.1 installed, and it seemed to pick this up when I installed it. As I said, it runs fine with "java -jar run.jar". Exactly what is jboss3ctl doing when it tries to run jboss? Please CC me if you respond. I haven't suscribed to this mailing list. -Dan --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup --0-473244680-1024902724=:5416 Content-Type: text/html; charset=us-ascii

Hi:

The Jboss 3 port seems to run fine using "java -jar run.jar".  However, the jboss3ctl script (and thus startup.sh) seems to be broken.  Unfortunately, there isn't any source included (or is there?), so I don't know what it's doing.  It runs (when I do "jboss3ctl start"), and claims to startup jboss, and set the PID.  However, it doesn't run, and when I run "jboss3ctl stop" it explains that jboss was never running in the first place.

Is this just my problem, or have other people had this problem?  I have jdk1.2.2/jdk1.3.1 installed, and it seemed to pick this up when I installed it.  As I said, it runs fine with "java -jar run.jar".  Exactly what is jboss3ctl doing when it tries to run jboss?

Please CC me if you respond.  I haven't suscribed to this mailing list.

-Dan



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --0-473244680-1024902724=:5416-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 1:41: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from web13406.mail.yahoo.com (web13406.mail.yahoo.com [216.136.175.64]) by hub.freebsd.org (Postfix) with SMTP id 85F9037B4C0 for ; Mon, 24 Jun 2002 00:21:09 -0700 (PDT) Message-ID: <20020624072109.69931.qmail@web13406.mail.yahoo.com> Received: from [12.254.130.74] by web13406.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 00:21:09 PDT Date: Mon, 24 Jun 2002 00:21:09 -0700 (PDT) From: Dan Hulme Reply-To: dan_256@yahoo.com Subject: jboss3ctl To: znerd@FreeBSD.ORG, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2082155449-1024903269=:67208" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-2082155449-1024903269=:67208 Content-Type: text/plain; charset=us-ascii I think I found the problem. The jboss3ctl seems to be assuming a jdk of 1.2.2, which I have, but am not using. If I run the jboss3 with the java from 1.2.2, it fails. If I run it with the java from 1.3.1, it works. However, the jboss3ctl uses 1.2.2, and fails. I'm not sure why jboss is failing on 1.2.2--perhaps it setup some specific options when it noticed I had 1.3.1 which don't work with 1.2.2. However, the jboss3ctl does not seem to be working with 1.3.1. I'm going to change the jboss makefile to use java=1.3+ and see if that makes a difference. -Dan --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup --0-2082155449-1024903269=:67208 Content-Type: text/html; charset=us-ascii

I think I found the problem.  The jboss3ctl seems to be assuming a jdk of 1.2.2, which I have, but am not using.  If I run the jboss3 with the java from 1.2.2, it fails.  If I run it with the java from 1.3.1, it works.  However, the jboss3ctl uses 1.2.2, and fails.

I'm not sure why jboss is failing on 1.2.2--perhaps it setup some specific options when it noticed I had 1.3.1 which don't work with 1.2.2.  However, the jboss3ctl does not seem to be working with 1.3.1.  I'm going to change the jboss makefile to use java=1.3+ and see if that makes a difference.

-Dan



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --0-2082155449-1024903269=:67208-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 1:44:12 2002 Delivered-To: freebsd-java@freebsd.org Received: from web13406.mail.yahoo.com (web13406.mail.yahoo.com [216.136.175.64]) by hub.freebsd.org (Postfix) with SMTP id 8A03D37B449 for ; Mon, 24 Jun 2002 00:13:19 -0700 (PDT) Message-ID: <20020624071319.69106.qmail@web13406.mail.yahoo.com> Received: from [12.254.130.74] by web13406.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 00:13:19 PDT Date: Mon, 24 Jun 2002 00:13:19 -0700 (PDT) From: Dan Hulme Reply-To: dan_256@yahoo.com Subject: jboss3ctl To: znerd@FreeBSD.ORG, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1057097220-1024902799=:67212" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-1057097220-1024902799=:67212 Content-Type: text/plain; charset=us-ascii I lied. The source is here as "daemonctl.c". I will be looking at it. -Dan --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup --0-1057097220-1024902799=:67212 Content-Type: text/html; charset=us-ascii

I lied.  The source is here as "daemonctl.c".  I will be looking at it.

-Dan



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --0-1057097220-1024902799=:67212-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 2:58:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 5196637B401 for ; Mon, 24 Jun 2002 02:58:32 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g5O9wjmq051615; Mon, 24 Jun 2002 11:58:45 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g5O9wiHv051614; Mon, 24 Jun 2002 11:58:44 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: dan_256@yahoo.com, freebsd-java@freebsd.org Subject: Re: jboss3ctl Date: Mon, 24 Jun 2002 11:58:44 +0200 X-Mailer: KMail [version 1.4] References: <20020624072109.69931.qmail@web13406.mail.yahoo.com> In-Reply-To: <20020624072109.69931.qmail@web13406.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206241158.44834.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Dan, If the jboss3 port uses JDK 1.2, then only JDK 1.2 was available when you installed the port. Run 'make clean deinstall install' to make the port use your JDK 1.3. If it can't find it, though, it will fallback to a JDK 1.2. It should work with JDK 1.2 too. Hmmm... Can you tell me what is in the JBoss 3 log file? Ernst On Monday 24 June 2002 09:21, Dan Hulme wrote: > I think I found the problem. The jboss3ctl seems to be assuming a jdk of > 1.2.2, which I have, but am not using. If I run the jboss3 with the java > from 1.2.2, it fails. If I run it with the java from 1.3.1, it works. > However, the jboss3ctl uses 1.2.2, and fails. > > I'm not sure why jboss is failing on 1.2.2--perhaps it setup some specific > options when it noticed I had 1.3.1 which don't work with 1.2.2. However, > the jboss3ctl does not seem to be working with 1.3.1. I'm going to change > the jboss makefile to use java=1.3+ and see if that makes a difference. > > -Dan > > > > --------------------------------- > Do You Yahoo!? > Sign-up for Video Highlights of 2002 FIFA World Cup -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 3:21:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 6FCCC37B448 for ; Mon, 24 Jun 2002 03:21:28 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17MQyN-0004JF-00; Mon, 24 Jun 2002 11:21:27 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g5OALQM32038; Mon, 24 Jun 2002 11:21:26 +0100 (BST) (envelope-from jcm) Date: Mon, 24 Jun 2002 11:21:26 +0100 From: j mckitrick To: Jonathan Chen Cc: freebsd-java@FreeBSD.ORG Subject: Re: Frustrating Java RMI problem, reprise Message-ID: <20020624112126.A32006@dogma.freebsd-uk.eu.org> References: <20020624043621.A29670@dogma.freebsd-uk.eu.org> <20020624053725.GA93880@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20020624053725.GA93880@grimoire.chen.org.nz>; from jonc@chen.org.nz on Mon, Jun 24, 2002 at 05:37:25PM +1200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org | >From the trace above, my guess is the rmiregistry needs to have it's | classpath set properly as well. That's why when you ran it in | ~/myjava, the code worked (classpath by default includes . in its | environment). Jonathan, you're a genius. ;-) I think you solved my problem. Thanks! Now I can move on to XML-RPC. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 5:16:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 27FE037B403 for ; Mon, 24 Jun 2002 05:16:42 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17MSlm-0004v6-00; Mon, 24 Jun 2002 13:16:34 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g5OCGXn32683; Mon, 24 Jun 2002 13:16:33 +0100 (BST) (envelope-from jcm) Date: Mon, 24 Jun 2002 13:16:33 +0100 From: j mckitrick To: Christopher Elkins Cc: freebsd-java@FreeBSD.ORG Subject: Re: Web services, Java, and FreeBSD questions Message-ID: <20020624131633.A32500@dogma.freebsd-uk.eu.org> References: <20020623134209.A23899@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from chrise@scardini.com on Sun, Jun 23, 2002 at 10:28:49AM -0700 X-Scanner: exiscan *17MSlm-0004v6-00*WDX0HLVUWHg* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org | Unless you have a specific desire to learn SOAP (the protocol, not the | Apache project of the same name), you might consider looking at XML-RPC I took a look at XML-RPC, and you are right, that seems to be just what I am looking for. I wanted the simplest way to build a web service, and it looks like that's what I need to do it. I also wanted to avoid running a full-blown Apache server just to make a few RPC calls. | My recommendation: get your feet wet with either Apache XML-RPC or | Apache | SOAP. Then, if you're still interested start learning JAXRPC. After looking at the comparison, I can see there is a rather steep learning curve to parts of SOAP, and also a lot more than I need for what I want to do. Can XML-RPC be made to work via http? For example, my university web account has a firewall that keeps my applets from contacting the servlets I've written. I'd like to be able to attach a web service (a very simple arithmetic calculator) to the URL for my web page. So, if my web page is www.foo.edu/~jcm, I'd like to be able to set up an XML-RPC web service on www.foo.edu/~jcm/calculator, without needing to run another full-blown webserver, which I don't think I'm allowed to do anyway. Is this feasible? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 7:28:40 2002 Delivered-To: freebsd-java@freebsd.org Received: from ext-nj2gw-3.online-age.net (ext-nj2gw-3.online-age.net [216.35.73.165]) by hub.freebsd.org (Postfix) with ESMTP id DF7D237B401 for ; Mon, 24 Jun 2002 07:28:34 -0700 (PDT) Received: from int-nj2gw-4.online-age.net (int-nj2gw-4.online-age.net [3.159.236.68]) by ext-nj2gw-3.online-age.net (8.9.3+Sun/8.9.1/990426-RLH) with ESMTP id KAA05307; Mon, 24 Jun 2002 10:26:52 -0400 (EDT) Received: from crdns.crd.ge.com (localhost [127.0.0.1]) by int-nj2gw-4.online-age.net (8.9.3+Sun/8.9.1/990426-RLH) with ESMTP id KAA00327; Mon, 24 Jun 2002 10:26:51 -0400 (EDT) Received: from exc01crdge.crd.ge.com (exc01crdge.crd.ge.com [3.1.116.47]) by crdns.crd.ge.com (8.11.6/8.11.6) with ESMTP id g5OEQoi09983; Mon, 24 Jun 2002 10:26:50 -0400 (EDT) Received: by exc01crdge.crd.ge.com with Internet Mail Service (5.5.2653.19) id ; Mon, 24 Jun 2002 10:26:50 -0400 Message-ID: From: "Lapinski, Michael (Research)" To: "'j mckitrick'" , Jonathan Chen Cc: freebsd-java@FreeBSD.ORG Subject: RE: Frustrating Java RMI problem, reprise Date: Mon, 24 Jun 2002 10:26:49 -0400 X-Mailer: Internet Mail Service (5.5.2653.19) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The rmiregistry should never be run with *any* classpth at all. It should never load classes locally over the filesystem, It gets its classpath from the annotated codebase that is gets from every Remote object that registers with it. If the registry is run with a local classpath and you do rmi over the network (not everythign on the same box) many things will be broken because the JVM ignores the annotated codebase that comes with a given Object type if it can be found locally and deserialized. So when a different machine on the network contacts the registry and gets the serialized stub that stub will have no codebase and there will be no way for the stub to be deserialized, resulting in a ClassNotFoundException. rmiregistry startup instructions: http://java.sun.com/j2se/1.4.1/docs/guide/rmi/getstart.doc.html#5522 -mtl -------------------------------------------------- Michael Lapinski Computer Scientist GE Corporate Research & Development "I think there is a world market for maybe five computers." - IBM Chairman Thomas Watson, 1943 ->-----Original Message----- ->From: j mckitrick [mailto:jcm@FreeBSD-uk.eu.org] ->Sent: Monday, June 24, 2002 6:21 AM ->To: Jonathan Chen ->Cc: freebsd-java@FreeBSD.ORG ->Subject: Re: Frustrating Java RMI problem, reprise -> -> ->| >From the trace above, my guess is the rmiregistry needs to ->have it's ->| classpath set properly as well. That's why when you ran it in ->| ~/myjava, the code worked (classpath by default includes . in its ->| environment). -> ->Jonathan, you're a genius. ;-) ->I think you solved my problem. Thanks! Now I can move on to XML-RPC. -> -> -> ->jm ->-- ->My other computer is your windows box. -> ->To Unsubscribe: send mail to majordomo@FreeBSD.org ->with "unsubscribe freebsd-java" in the body of the message -> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 9:29:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by hub.freebsd.org (Postfix) with ESMTP id F372737B400 for ; Mon, 24 Jun 2002 09:29:06 -0700 (PDT) Received: from [209.98.155.26] (envy.blackcore.com [209.98.155.26]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 40E0E8246 for ; Mon, 24 Jun 2002 11:29:06 -0500 (CDT) User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Mon, 24 Jun 2002 11:29:04 -0500 Subject: Re: Web services, Java, and FreeBSD questions From: Timothy Kettering To: Message-ID: In-Reply-To: <20020624131633.A32500@dogma.freebsd-uk.eu.org> Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm no expert on xml-rpc, I've only just started playing with it, but from my experiences, you can specify a port nbr to use, and the server can be ru= n as a standalone java application. U don=B9t need to bind it ot a web server at all (but you can..) -tim =20 >=20 > So, if my web page is www.foo.edu/~jcm, I'd like to be able to set up > an XML-RPC web service on www.foo.edu/~jcm/calculator, without needing > to run another full-blown webserver, which I don't think I'm allowed to > do anyway. Is this feasible? >=20 > jm --=20 Tim Kettering http://www.blackcore.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 10: 4:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 4D72C37B400 for ; Mon, 24 Jun 2002 10:04:11 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17MXG6-000GyR-00; Mon, 24 Jun 2002 18:04:10 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g5OH493H000392; Mon, 24 Jun 2002 18:04:09 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g5OH48p8000391; Mon, 24 Jun 2002 18:04:08 +0100 (BST) Date: Mon, 24 Jun 2002 18:04:08 +0100 From: j mckitrick To: "Lapinski, Michael (Research)" Cc: Jonathan Chen , freebsd-java@FreeBSD.ORG Subject: Re: Frustrating Java RMI problem, reprise Message-ID: <20020624180408.A370@dogma.freebsd-uk.eu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from lapinski@crd.ge.com on Mon, Jun 24, 2002 at 10:26:49AM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jun 24, 2002 at 10:26:49AM -0400, Lapinski, Michael (Research) wrote: | The rmiregistry should never be run with *any* classpth at all. Well, that is interesting. What I don't get is all I do is run 'rmiregistry&' with no arguments. But it seems to matter what directory I'm in. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 13:53:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from web13406.mail.yahoo.com (web13406.mail.yahoo.com [216.136.175.64]) by hub.freebsd.org (Postfix) with SMTP id 6AB5B37B403 for ; Mon, 24 Jun 2002 13:52:55 -0700 (PDT) Message-ID: <20020624205255.6854.qmail@web13406.mail.yahoo.com> Received: from [12.254.130.74] by web13406.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 13:52:55 PDT Date: Mon, 24 Jun 2002 13:52:55 -0700 (PDT) From: Dan Hulme Reply-To: dan_256@yahoo.com Subject: Re: jboss3ctl To: Ernst de Haan , freebsd-java@freebsd.org In-Reply-To: <200206241158.44834.znerd@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-575564343-1024951975=:6704" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-575564343-1024951975=:6704 Content-Type: text/plain; charset=us-ascii Yeah. I found out some more information. The log file says that "libhpi" couldn't be found. Here's the info I've gathered: 1). I did a clean reinstall of jboss3, which created a new daemonctl.c that had 1.3.1 as the path. 2). There is still something interesting on the execl line: the /usr/local/jdk1.3.1/bin/java is the 1st AND second argument. Taking this out didn't change anything, though. Is that standard procedure (to put the command twice)? I have seen something like that before, but I thought the second argument to execl was the first argument to the procedure being run. 3). The startup script now works fine (020.startup.sh). In fact, if I do su -m www -c "exec jboss3ctl start" It also runs fine. Additionally, I temporarily created a shell for the www user, and this account can also run the daemon w/o a problem. 4). root can run "java -jar run.jar" fine. 5). root cannot run "jboss3ctl start" successfully. This puts the error into stderr.log I mentioned above: /usr/libexec/ld-elf.so.1: Shared object "libhpi.so" not found (I have the lib in the standard place under jdk1.3.1/jre/lib/i386/green_threads) 6). jboss3ctl is user www, group www with these permissions: rwsr-sr-- Theoretically, this means it should already be running as www if I run it from any other account, right? So why does it seem to require using "su"? 7). It seems like something is wrong with my ENV, or it wouldn't be complaining about the missing lib. But the www user has no special ENV settings that I know of. When is su to www (when I created a shell), it has the same ENV as my root user. 8). I created another user, and put them in the www group. They cannot run jboss3ctl either. Hope this all helps. Thanks, Dan Ernst de Haan wrote: Hi Dan, If the jboss3 port uses JDK 1.2, then only JDK 1.2 was available when you installed the port. Run 'make clean deinstall install' to make the port use your JDK 1.3. If it can't find it, though, it will fallback to a JDK 1.2. It should work with JDK 1.2 too. Hmmm... Can you tell me what is in the JBoss 3 log file? Ernst --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup --0-575564343-1024951975=:6704 Content-Type: text/html; charset=us-ascii

Yeah.  I found out some more information.  The log file says that "libhpi" couldn't be found.

Here's the info I've gathered:

1). I did a clean reinstall of jboss3, which created a new daemonctl.c that had 1.3.1 as the path.

2). There is still something interesting on the execl line: the /usr/local/jdk1.3.1/bin/java is the 1st AND second argument.  Taking this out didn't change anything, though.  Is that standard procedure (to put the command twice)?  I have seen something like that before, but I thought the second argument to execl was the first argument to the procedure being run.

3). The startup script now works fine (020.startup.sh).  In fact, if I do
      su -m www -c "exec jboss3ctl start"
     It also runs fine.  Additionally, I temporarily created a shell for the www user, and this account can also run the daemon w/o a problem.

4). root can run "java -jar run.jar" fine.

5). root cannot run "jboss3ctl start" successfully.  This puts the error into stderr.log I mentioned above:
    /usr/libexec/ld-elf.so.1: Shared object "libhpi.so" not found (I have the lib in the standard place under jdk1.3.1/jre/lib/i386/green_threads)

6). jboss3ctl is user www, group www with these permissions:

    rwsr-sr--

   Theoretically, this means it should already be running as www if I run it from any other account, right?  So why does it seem to require using "su"?

7). It seems like something is wrong with my ENV, or it wouldn't be complaining about the missing lib.  But the www user has no special ENV settings that I know of.  When is su to www (when I created a shell), it has the same ENV as my root user.

8). I created another user, and put them in the www group.  They cannot run jboss3ctl either.

Hope this all helps.

Thanks,

Dan

 

  Ernst de Haan <znerd@freebsd.org> wrote:

Hi Dan,

If the jboss3 port uses JDK 1.2, then only JDK 1.2 was available when you
installed the port. Run 'make clean deinstall install' to make the port use
your JDK 1.3. If it can't find it, though, it will fallback to a JDK 1.2.

It should work with JDK 1.2 too. Hmmm... Can you tell me what is in the JBoss
3 log file?

Ernst



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --0-575564343-1024951975=:6704-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 21:48:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from web13401.mail.yahoo.com (web13401.mail.yahoo.com [216.136.175.59]) by hub.freebsd.org (Postfix) with SMTP id 75E4737B405 for ; Mon, 24 Jun 2002 21:48:13 -0700 (PDT) Message-ID: <20020625044813.10386.qmail@web13401.mail.yahoo.com> Received: from [12.254.130.74] by web13401.mail.yahoo.com via HTTP; Mon, 24 Jun 2002 21:48:13 PDT Date: Mon, 24 Jun 2002 21:48:13 -0700 (PDT) From: Dan Hulme Reply-To: dan_256@yahoo.com Subject: Jboss3ctl To: znerd@FreeBSD.ORG, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org tomcat4ctl also fails to run (it's essentially identical to jboss3ctl in design). I'm guessing something is wrong with the suid bit on this one too. Maybe it's something in my configuration that's wrong, but I am clueless. -Dan __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 22:54:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from d7058.upc-d.chello.nl (d7058.upc-d.chello.nl [213.46.7.58]) by hub.freebsd.org (Postfix) with ESMTP id 90F0037B406 for ; Mon, 24 Jun 2002 22:54:06 -0700 (PDT) Received: from bowtie.nl (localhost [127.0.0.1]) by d7058.upc-d.chello.nl (8.11.6/8.11.3) with ESMTP id g5P5s1t15676; Tue, 25 Jun 2002 07:54:02 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-ID: <3D180579.3040706@bowtie.nl> Date: Tue, 25 Jun 2002 07:54:01 +0200 From: Marc van Kempen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: billh@gnuppy.monkey.org Cc: java@freebsd.org Subject: Native hotspot JVM Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > BTW, another FreeBSD JVM developer got an alpha quality native HotSpot > that's got the native port changes in our CVS repository now. Hopefully, > a patch set with those changes will be pushed out to the general public > soon. Eagerly anticipated! > I've moved to -current for all of my development now since their libc_r > system has bug fixes that I don't want to back port to -stable. I almost missed this, does this mean it's not possible to make it run on -stable, or just that you don't want to port the fixes right now and that you'll leave that to a volunteer? Marc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 23: 0:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 6605437B40D for ; Mon, 24 Jun 2002 23:00:13 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17MjN4-0000Yz-00; Mon, 24 Jun 2002 23:00:10 -0700 Date: Mon, 24 Jun 2002 23:00:10 -0700 To: Marc van Kempen Cc: java@freebsd.org, Bill Huey Subject: Re: Native hotspot JVM Message-ID: <20020625060010.GA2154@gnuppy.monkey.org> References: <3D180579.3040706@bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D180579.3040706@bowtie.nl> User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 25, 2002 at 07:54:01AM +0200, Marc van Kempen wrote: > Eagerly anticipated! > > > I've moved to -current for all of my development now since their libc_r > > system has bug fixes that I don't want to back port to -stable. > > I almost missed this, does this mean it's not possible to make it run on > -stable, or just that you don't want to port the fixes right now and > that you'll leave that to a volunteer? It only works on -stable at this time, but with KSEs coming around the corner and all bug fixes to thread suspension committed to -current, it doesn't really make sense for me to keep developing under -stable. And right, I'd like to get a volunteer to port -current's libc_r to -stable. I tried hacking it myself, but decided that it was a waste of my time and that I should focus on core -current libc_r issues and getting HotSpot working with it instead. BTW, for a pre-alpha release, it runs surprisingly stable. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jun 24 23:53: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by hub.freebsd.org (Postfix) with ESMTP id 9782437B77B for ; Mon, 24 Jun 2002 23:47:43 -0700 (PDT) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17Mk74-0007ug-00; Tue, 25 Jun 2002 00:47:43 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17Mk72-0007u3-00; Tue, 25 Jun 2002 00:47:42 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5P6lbO48625; Tue, 25 Jun 2002 16:17:37 +0930 (CST) (envelope-from glewis) Date: Tue, 25 Jun 2002 16:17:37 +0930 From: Greg Lewis To: Marc van Kempen Cc: billh@gnuppy.monkey.org, java@FreeBSD.ORG Subject: Re: Native hotspot JVM Message-ID: <20020625161737.A48609@misty.eyesbeyond.com> References: <3D180579.3040706@bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D180579.3040706@bowtie.nl>; from marc@bowtie.nl on Tue, Jun 25, 2002 at 07:54:01AM +0200 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 25, 2002 at 07:54:01AM +0200, Marc van Kempen wrote: > > BTW, another FreeBSD JVM developer got an alpha quality native HotSpot > > that's got the native port changes in our CVS repository now. Hopefully, > > a patch set with those changes will be pushed out to the general public > > soon. > > Eagerly anticipated! As soon as work calms down a bit (release at the end of the month) this is likely to occur... -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 9:48: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 91F0837B401 for ; Tue, 25 Jun 2002 09:48:06 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5PGm1E29536 for ; Tue, 25 Jun 2002 11:48:01 -0500 Date: Tue, 25 Jun 2002 11:48:01 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: freebsd-java@freebsd.org Subject: A Sun JAVA DEV is showing up at my engineering meeting today!!! any questions! quick quick! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i had no notice let me know what if you have any questions no i dont know who it is. -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 10:21:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from columbus.cris.net (columbus.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id E051B37B401 for ; Tue, 25 Jun 2002 10:21:03 -0700 (PDT) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id UAA37120; Tue, 25 Jun 2002 20:21:00 +0300 (EEST) Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id g5PHOh29069011; Tue, 25 Jun 2002 20:24:43 +0300 (EEST) (envelope-from ml) Date: Tue, 25 Jun 2002 20:24:43 +0300 From: Alexey Zelkin To: java@FreeBSD.org Subject: jdk1.4.0.01 + tomcat 4 Message-ID: <20020625202443.A68952@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, Tried to get tomcat 4 working with sun's jdk 1.4 today, but always falls to Signal 11 problem :-( It was surprise for me because ant and javac are working just fine. As I could understand from searching recent archives it's a problem related to unstability linux's HotSpot. Could anyone suggest way to replace HotSpot with more stable VM ? I am open for expirements and patches and hopefully can test most of them. Unfortunatelly I'm stick with jdk and tomcat vesions and have to get this scheme working in order to replace damn buggy linux with FreeBSD. Only thing stops me is java crashes :-( PS: And yes, one more requirement -- -STABLE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 12:55:37 2002 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id B58D437B650 for ; Tue, 25 Jun 2002 12:54:35 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5PJsIE04093 for ; Tue, 25 Jun 2002 14:54:18 -0500 Date: Tue, 25 Jun 2002 14:54:18 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: freebsd-java@freebsd.org Subject: A Call to Action for freebsd-java based on the results of my conversation with Sun Java Technologist Charles Ditzel Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello everybody; As i mentioned in an earlier post, we where blessed with a visit from a Sun Java guy (Charles Ditzel) courtesy of our local sun reseller person. we have lotsa good stuff that we bought from him (the reseller, not charles ) during the closing part of the glory VC days. Given my longstanding rabid interest in promoting FreeBSD, I talked to him about FreeBSD support. He was aware of it's existence, but not up on the specifics. I didnt find his lack of specific knowledge to be troubling because he didnt have specific knowledge about most of the stuff. To use a compsci analogy, he seemed to be a root node :-). I thanked him on behalf of the list for the support that sun has provided up to now ( good suggestion dave! ). I told him that i was running 1.3.1p5 pretty flawlessly on FreeBSD and i explained to him that the port didnt have hotspot running yet. I explained to him further that FreeBSD was going to have some challenges moving to 1.4 because of the disappearance of 'classic' mode in 1.4 and that we could really use some direct contact with Sun Engineers to help with HotSpot. He was aware of the fact that M$FT has been working in the BSD realm and he was interested in facilitating communication between the GBSD community and the Sun Java developers. So, I would imagine that if we get our heads together and try and figure out exactly what it is that we would want from him we would probably meet with some success. The key point being that we need to create a request that contains specific action items that he can 1. understand immediately so that he can work on the *problem*, not on trying to figure out what we want. 2. solve easily by putting us in contact with the person at sun who can help. If we meet these goals, then we help ourselves by helping him to do his developer outreach job effectively. I can imagine that being able to write in his self evaluation form for his salary review 'I helped the FreeBSD Community complete it's port of jdk 1.4.x, thereby expanding the reach of java to X100,000 new machines' would make him feel very happy indeed. I am happy to write the letter, or i am happy to let ernst or greg or bill nate or freebsd-core write it. i dont care. i just want this to help because i this is a key strategic issue for freebsd. i hope we can leverage this opportunity! johnu -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 16: 2:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from jkkn.jkkn.net (ns1.jkkn.net [193.88.88.158]) by hub.freebsd.org (Postfix) with ESMTP id C43E637B403 for ; Tue, 25 Jun 2002 16:02:07 -0700 (PDT) Received: from jkknevo (online.jkkn.net [80.62.234.118]) (authenticated bits=0) by jkkn.jkkn.net (8.12.3/8.12.3) with ESMTP id g5PN26qs074394 for ; Wed, 26 Jun 2002 01:02:06 +0200 (CEST) (envelope-from jkkn@jkkn.dk) Message-ID: <003401c21c9c$50f9a890$0601a8c0@wrks.jkkn.net> From: "Kristian K. Nielsen" To: Subject: FreeBSD & Java - future? Date: Wed, 26 Jun 2002 01:02:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Disposition-Notification-To: "Kristian K. Nielsen" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey, We are glad users of FreeBSD and the patch of the jdk1.3 source. Since now the jdk1.4 source have been avialable quiet a while I am interesting in... Have anybody started to port the jdk1.4 source to FreeBSD and if so what is current status? Regards Kristian K. Nielsen, Long live a future for Java on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 16:11: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 0616637B400 for ; Tue, 25 Jun 2002 16:10:58 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17MzSa-0000ch-00; Tue, 25 Jun 2002 16:10:56 -0700 Date: Tue, 25 Jun 2002 16:10:56 -0700 To: freebsd-java@freebsd.org Cc: Bill Huey Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020625231056.GB2374@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [forgot to CC it to the main list --billh] On Tue, Jun 25, 2002 at 02:54:18PM -0500, John Utz wrote: > As i mentioned in an earlier post, we where blessed with a visit > from a Sun Java guy (Charles Ditzel) courtesy of our local sun reseller > person. we have lotsa good stuff that we bought from him (the reseller, > not charles ) during the closing part of the glory VC days. Na, lay off the guy. I'm probably more directly connect to the Sun JVM folks in a luny technical capacity than anybody here on this list and this is mainly because I'm not shy about asking him questions. I know Calvin Austin and the rest of the folks responsible for the upcoming J2SE 1.5 release, etc... Greg for licensing, etc... > I thanked him on behalf of the list for the support that sun has > provided up to now ( good suggestion dave! ). I told him that i was > running 1.3.1p5 pretty flawlessly on FreeBSD and i explained to him that > the port didnt have hotspot running yet. Which has been pretty much nothing at this time on their end as far as raw dedicated engineers go, but they have provided the license which is a good thing. Sun's a wierd place, I have access to high level folks to ask technical support questions, but their political structure doesn't seem to recognize the BSDs as significant enough to actively support using engineering resources. It could be the case that it's too much for them to handle given the economic times. I certainly understand that. But the task of porting the entire JVM itself is pretty much localized to the OS port group in question and you really can't get around those issues (our pthreads bugs, etc...), so Sun can be of limited help to us anyways. It's pretty much our show whether we like it or not. > I explained to him further that FreeBSD was going to have some > challenges moving to 1.4 because of the disappearance of 'classic' mode in > 1.4 and that we could really use some direct contact with Sun Engineers to > help with HotSpot. No need to worry any more. The buzz is starting to spread around that HotSpot is working under FreeBSD now. ;) > He was aware of the fact that M$FT has been working in the BSD > realm and he was interested in facilitating communication between the GBSD > community and the Sun Java developers. How ? what part of the political and corporate structure is he working with ? This is critical if you want to liason between both groups. He might be inappropriate to pressure about these things in the same way that I don't pressure Calvin's group. > So, I would imagine that if we get our heads together and try and > figure out exactly what it is that we would want from him we would > probably meet with some success. > > The key point being that we need to create a request that contains > specific action items that he can > > 1. understand immediately so that he can work on the *problem*, not on > trying to figure out what we want. We need engineers (roughly 1-2) at Sun to focus on the next release for FreeBSD and interface with the BSD community about issues related to it. It's got to be professional much like the Blackdown community. Also, joining the blackdown folks isn't a bad idea either. "News" In that regard, I'm trying to transition out of JVM development and move into more traditional FreeBSD kernel side stuff, so we need a person that's capable of doing the work I've done and maintaining it across JVM revisions. I've already begun the process of leaving it to other folks in our group and refocusing my development effort to KSEs and SMPng. > 2. solve easily by putting us in contact with the person at sun who can > help. We've already got that. Tell him what I just told you about our (greg, nate, me) contact with them already. > If we meet these goals, then we help ourselves by helping him to do his > developer outreach job effectively. > > I can imagine that being able to write in his self evaluation form for his > salary review 'I helped the FreeBSD Community complete it's port of jdk > 1.4.x, thereby expanding the reach of java to X100,000 new machines' would > make him feel very happy indeed. > > I am happy to write the letter, or i am happy to let ernst or greg or bill > nate or freebsd-core write it. i dont care. i just want this to help > because i this is a key strategic issue for freebsd. It's better for the core engineering folks to deal with the Sun folk directly or else it might create some confusion just from having too many people poke into the the mix. The FreeBSD community is pretty inexperienced with interfacing with corporations overall and it's best to let folks that understand the politics behind it deal with the interpersonal and managerial tasks instead. Barraging a random Sun person about these issues isn't really something productive, which possibly might lead to a cascade of rumors within Sun making our job more difficult. It's best to back off unless you know what you're doing. Certainly chatting with him about what's been going on recently is a good thing. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 18: 4:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from web13403.mail.yahoo.com (web13403.mail.yahoo.com [216.136.175.61]) by hub.freebsd.org (Postfix) with SMTP id 9B5C837B401 for ; Tue, 25 Jun 2002 18:04:08 -0700 (PDT) Message-ID: <20020626010408.70596.qmail@web13403.mail.yahoo.com> Received: from [12.254.130.74] by web13403.mail.yahoo.com via HTTP; Tue, 25 Jun 2002 18:04:08 PDT Date: Tue, 25 Jun 2002 18:04:08 -0700 (PDT) From: Dan Hulme Reply-To: dan_256@yahoo.com Subject: Jboss3ctl update (I think I know the problem) To: znerd@FreeBSD.ORG, freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Problem: The problem lies in the .java_wrapper script. This script sets up a few important variables in the environment that are needed to run the java binary, and then procedes to execute it. This works fine most of the time. See "man sh": -p privileged Turn on privileged mode. This mode is enabled on startup if either the effective user or group id is not equal to the real user or group id. Turning this mode off sets the effective user and group ids to the real user and group ids. When this mode is enabled for interactive shells, the file /etc/suid_profile is sourced instead of ~/.profile after /etc/profile is sourced, and the contents of the ENV variable are ignored. According to this, the environment will be ignored if the effective user is not the real user. Since this is precisely what will happen if .java_wrapper is invoked by jboss3ctl, it stands to reason that the necessary vars that are setup in .java_wrapper will be ignored, giving the shared library error that I get frequently: /usr/libexec/ld-elf.so.1: Shared object "libhpi.so" not found One of the vars that gets set is LD_LIBRARY_PATH. Note the following from "man ldconfig": Security Special care must be taken when loading shared libraries into the address space of set-user-Id programs. Whenever such a program is run, the dynamic linker will only load shared libraries from the hints file. In particular, the LD_LIBRARY_PATH is not used to search for libraries. Thus, the role of ldconfig is dual. In addition to building a set of hints for quick lookup, it also serves to specify the trusted collection of directories from which shared objects can be safely loaded. According to this, this var will be ignored in this case, because jboss3ctl is surely a "set-user-Id" program. So, the .java_wrapper will fail if called by a suid program like jboss3ctl. You could get around this by adding these java libs to the safe paths, but this is probably not worth it. Conclusion: .java_wrapper (apparently sun's current solution) will not work when invoked by a suid program. So far, I have encountered two such programs: tomcat, and jboss (essentially the same design). There is a good reason for not letting suid programs call shared libraries depending on the ENV variables, so I understand why this happens. This explains why the bootup script for jboss and tomcat is forced to call su -m www -c "jboss3ctl" to get the env to work: this avoids a change to user when the executable runs. If this worked normally, there would be no reason to force a change with su, because the executable should already do that. Solution: I'm not sure of a good one, because the idea is to allow multiple users to be able to start/stop/restart the server just by being a member of the group www. That said, there are many ways to get minimal functionality: 1). Run as root, using su, like the startup script 2). Use java -jar run.jar 3). Create an account to run the daemon, and allow logins to that account. Give permissions to only that account to run it. 4). Fix java so it doesn't need a library path (static). Please suggest further solutions if you have any ideas. Errors: I may have misinterpreted what I found, and my problem may be singular. I would love to find out that I am wrong, so if I am, please correct me and explain how to fix my problem. -Dan __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 20:29: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by hub.freebsd.org (Postfix) with ESMTP id 5A5C837B400 for ; Tue, 25 Jun 2002 20:29:06 -0700 (PDT) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.3/8.12.3) with ESMTP id g5Q3T4ml004522; Tue, 25 Jun 2002 23:29:04 -0400 (EDT) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.3/8.12.3/Submit) id g5Q3T4sS004519; Tue, 25 Jun 2002 23:29:04 -0400 (EDT) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15641.13568.335690.50974@ool-18bacefa.dyn.optonline.net> Date: Tue, 25 Jun 2002 23:29:04 -0400 To: Bill Huey Cc: freebsd-java@FreeBSD.ORG Subject: Java with HotSpot on FreeBSD (Was: Re: A Call to Action for freebsd-java) In-Reply-To: <20020625231056.GB2374@gnuppy.monkey.org> References: <20020625231056.GB2374@gnuppy.monkey.org> X-Mailer: VM 7.03 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill Huey writes: > On Tue, Jun 25, 2002 at 02:54:18PM -0500, John Utz wrote: > > I explained to him further that FreeBSD was going to have some > > challenges moving to 1.4 because of the disappearance of 'classic' mode in > > 1.4 and that we could really use some direct contact with Sun Engineers to > > help with HotSpot. > > No need to worry any more. The buzz is starting to spread around that > HotSpot is working under FreeBSD now. ;) I seem to recall reading that this will only work with 5.x, and that there were no plans for making it work 4.x. Is this (still?) correct? Is this going to be available in the next patchset? If so, do you have any idea when the next patchset will be available? Thanks. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 20:44:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id E015B37B400 for ; Tue, 25 Jun 2002 20:44:12 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17N3iw-0000oH-00; Tue, 25 Jun 2002 20:44:06 -0700 Date: Tue, 25 Jun 2002 20:44:06 -0700 To: Christopher Rued Cc: freebsd-java@FreeBSD.ORG, Bill Huey Subject: Re: Java with HotSpot on FreeBSD (Was: Re: A Call to Action for freebsd-java) Message-ID: <20020626034406.GA3110@gnuppy.monkey.org> References: <20020625231056.GB2374@gnuppy.monkey.org> <15641.13568.335690.50974@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15641.13568.335690.50974@ool-18bacefa.dyn.optonline.net> User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 25, 2002 at 11:29:04PM -0400, Christopher Rued wrote: > I seem to recall reading that this will only work with 5.x, and > that there were no plans for making it work 4.x. Is this (still?) > correct? No, that's kind of up to me at this time. It only runs on -stable, but only with my hackish bug fix. I'm moving to -current for all of my new development and that libc_r should be backported to -stable for more traditional useage. > Is this going to be available in the next patchset? If so, do you > have any idea when the next patchset will be available? That's Greg's domain. Keep in mind, it's pre-alpha and is good for pretty pictures and playing around at this time. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jun 25 21:40: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 2118037B404 for ; Tue, 25 Jun 2002 21:40:02 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17N4b0-0007ic-00; Tue, 25 Jun 2002 22:40:00 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17N4az-0007iH-00; Tue, 25 Jun 2002 22:39:58 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5Q4dm504548; Wed, 26 Jun 2002 14:09:48 +0930 (CST) (envelope-from glewis) Date: Wed, 26 Jun 2002 14:09:48 +0930 From: Greg Lewis To: Christopher Rued Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Java with HotSpot on FreeBSD (Was: Re: A Call to Action for freebsd-java) Message-ID: <20020626140948.A4506@misty.eyesbeyond.com> References: <20020625231056.GB2374@gnuppy.monkey.org> <15641.13568.335690.50974@ool-18bacefa.dyn.optonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15641.13568.335690.50974@ool-18bacefa.dyn.optonline.net>; from c.rued@xsb.com on Tue, Jun 25, 2002 at 11:29:04PM -0400 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 25, 2002 at 11:29:04PM -0400, Christopher Rued wrote: > Is this going to be available in the next patchset? Yes. > If so, do you have any idea when the next patchset will be available? I thought I answered this one earlier :). I'm snowed under until the end of the month (at work) with two product releases. I expect the next patchset sometime around July 4th-7th (which is when I'll have time to sit down, do some testing and roll a patch set). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 1:15: 0 2002 Delivered-To: freebsd-java@freebsd.org Received: from web14805.mail.yahoo.com (web14805.mail.yahoo.com [216.136.224.221]) by hub.freebsd.org (Postfix) with SMTP id 0D11637B400 for ; Wed, 26 Jun 2002 01:14:57 -0700 (PDT) Message-ID: <20020626081456.37529.qmail@web14805.mail.yahoo.com> Received: from [195.235.188.5] by web14805.mail.yahoo.com via HTTP; Wed, 26 Jun 2002 01:14:56 PDT Date: Wed, 26 Jun 2002 01:14:56 -0700 (PDT) From: Jason End Subject: JDBC problem: SQLException Error en Connect No suitable driver To: freebsd-java@freebsd.org Cc: freebsd-database@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm having a problem with a java web application that needs to connect to an oracle db. I just transfered the application to a FreeBSD box running: 4.6 Release linux-jdk-1.3.1.03 jakarta-tomcat-3.3.1_14 apache-1.3.26 I get the error stated in the subject: SQLException Error en Connect No suitable driver I'm not sure how to proceed...(?) tia, Peter __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 2:26:32 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.die.supsi.ch (mail.die.supsi.ch [193.5.153.13]) by hub.freebsd.org (Postfix) with ESMTP id DC6B537B401; Wed, 26 Jun 2002 02:26:23 -0700 (PDT) Received: from die.supsi.ch (pcm2022.die.supsi.ch [193.5.152.22]) by mail.die.supsi.ch (8.11.0/8.11.0) with ESMTP id g5Q9QAx07526; Wed, 26 Jun 2002 11:26:10 +0200 Message-ID: <3D1988B2.9040101@die.supsi.ch> Date: Wed, 26 Jun 2002 11:26:10 +0200 From: Roberto Nunnari User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Jason End Cc: freebsd-java@FreeBSD.ORG, freebsd-database@FreeBSD.ORG Subject: Re: JDBC problem: SQLException Error en Connect No suitable driver References: <20020626081456.37529.qmail@web14805.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org do you have the driver classes (ie. classes12.zip) in your CLASSPATH? you can get the archive from oracle web-site. Jason End wrote: > I'm having a problem with a java web application that > needs to connect to an oracle db. I just transfered > the application to a FreeBSD box running: > 4.6 Release > linux-jdk-1.3.1.03 > jakarta-tomcat-3.3.1_14 > apache-1.3.26 > > I get the error stated in the subject: > SQLException Error en Connect No suitable driver > > I'm not sure how to proceed...(?) > > tia, > > Peter > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Roberto Nunnari -software engineer- mailto:nunnari@die.supsi.ch Scuola Universitaria Professionale della Svizzera Italiana Dipartimento di Informatica e Elettronica http://www.die.supsi.ch SUPSI-DIE Via Cantonale tel: +41-91-6108561 6928 Manno """ Switzerland (o o) =======================oOO==(_)==OOo======================== MY OPINIONS ARE NOT NECESSARILY THOSE OF MY EMPLOYER To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 2:26:55 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.polopoly.com (mail.polopoly.com [62.95.90.145]) by hub.freebsd.org (Postfix) with ESMTP id 08DC837B400 for ; Wed, 26 Jun 2002 02:26:38 -0700 (PDT) Received: from raggarbil.intra.polopoly.com (raggarbil.intra.polopoly.com [172.31.252.89]) by mail.polopoly.com (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g5Q9QBq11180; Wed, 26 Jun 2002 11:26:12 +0200 Date: Wed, 26 Jun 2002 11:26:11 +0200 (CEST) From: Erik Larsson X-X-Sender: To: Jason End Cc: Subject: Re: JDBC problem: SQLException Error en Connect No suitable driver In-Reply-To: <20020626081456.37529.qmail@web14805.mail.yahoo.com> Message-ID: <20020626112108.W25373-100000@raggarbil.intra.polopoly.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Make sure you are using the right version of the jdbc driver. Snag the one from your oracle installation. /erik On Wed, 26 Jun 2002, Jason End wrote: > I'm having a problem with a java web application that > needs to connect to an oracle db. I just transfered > the application to a FreeBSD box running: > 4.6 Release > linux-jdk-1.3.1.03 > jakarta-tomcat-3.3.1_14 > apache-1.3.26 > > I get the error stated in the subject: > SQLException Error en Connect No suitable driver > > I'm not sure how to proceed...(?) > > tia, > > Peter > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 2:34:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from web14804.mail.yahoo.com (web14804.mail.yahoo.com [216.136.224.220]) by hub.freebsd.org (Postfix) with SMTP id 6F39C37B401 for ; Wed, 26 Jun 2002 02:34:15 -0700 (PDT) Message-ID: <20020626093415.20109.qmail@web14804.mail.yahoo.com> Received: from [195.235.188.5] by web14804.mail.yahoo.com via HTTP; Wed, 26 Jun 2002 02:34:15 PDT Date: Wed, 26 Jun 2002 02:34:15 -0700 (PDT) From: Jason End Subject: Re: JDBC problem: SQLException Error en Connect No suitable driver To: freebsd-java@freebsd.org Cc: freebsd-database@freebsd.org In-Reply-To: <3D1980CE.BFCC3E61@bulinfo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --- Yani Brankov wrote: > Hi Jason, > > Did you make sure that the Oracle jdbc driver is in > the CLASSPATH when starting > the JVM? > > Cheers, > Yani > > > tedstriker@graffiti.net wrote: > > > > Hmmmm...I know you probably already thought of > this, but > > you have Linux compatibility mode enabled on the > FreeBSD box, right? > > > > Just thinking because you are using the Linux JDK > kit... > > > > What box is the Oracle DB on? > > > > ----- Original Message ----- > > From: Jason End > > Date: Wed, 26 Jun 2002 01:14:56 -0700 (PDT) > > To: freebsd-java@freebsd.org > > Subject: JDBC problem: SQLException Error en > Connect No suitable driver > > > > > I'm having a problem with a java web application > that > > > needs to connect to an oracle db. I just > transfered > > > the application to a FreeBSD box running: > > > 4.6 Release > > > linux-jdk-1.3.1.03 > > > jakarta-tomcat-3.3.1_14 > > > apache-1.3.26 > > > > > > I get the error stated in the subject: > > > SQLException Error en Connect No suitable driver > > > > > > I'm not sure how to proceed...(?) > > > > > > tia, > > > > > > Peter > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! - Official partner of 2002 FIFA World Cup > > > http://fifaworldcup.yahoo.com > > > > > > To Unsubscribe: send mail to > majordomo@FreeBSD.org > > > with "unsubscribe freebsd-database" in the body > of the message > > > > > > > -- > > _______________________________________________ > > Get your free email from http://www.graffiti.net > > > > Powered by Outblaze > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-database" in the body of > the message __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 2:36:13 2002 Delivered-To: freebsd-java@freebsd.org Received: from web14806.mail.yahoo.com (web14806.mail.yahoo.com [216.136.224.222]) by hub.freebsd.org (Postfix) with SMTP id 45EBC37B401 for ; Wed, 26 Jun 2002 02:35:55 -0700 (PDT) Message-ID: <20020626093554.26002.qmail@web14806.mail.yahoo.com> Received: from [195.235.188.5] by web14806.mail.yahoo.com via HTTP; Wed, 26 Jun 2002 02:35:54 PDT Date: Wed, 26 Jun 2002 02:35:54 -0700 (PDT) From: Jason End Subject: Re: JDBC problem: SQLException Error en Connect No suitable driver To: freebsd-java@freebsd.org Cc: freebsd-database@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --- Yani Brankov wrote: > Hi Jason, > > Did you make sure that the Oracle jdbc driver is in > the CLASSPATH when starting > the JVM? I haven't made any variations to the classpath, but if I understand correctly the classloader make the class available upon starting tomcat, given that within the webapp realm. The class is in /usr/local/jakarta-tomcat3.3.1/webapps/upload/WEB-INF/lib *upload is just the name of the servlet > tedstriker@graffiti.net wrote: > Hmmmm...I know you probably already thought of > this, but > you have Linux compatibility mode enabled on the > FreeBSD box, right? yes > > Just thinking because you are using the Linux JDK > kit... > > > > What box is the Oracle DB on? It's on a separate Win NT4 box. > > ----- Original Message ----- > > From: Jason End > > Date: Wed, 26 Jun 2002 01:14:56 -0700 (PDT) > > To: freebsd-java@freebsd.org > > Subject: JDBC problem: SQLException Error en > Connect No suitable driver > > > > > I'm having a problem with a java web application > that > > > needs to connect to an oracle db. I just > transfered > > > the application to a FreeBSD box running: > > > 4.6 Release > > > linux-jdk-1.3.1.03 > > > jakarta-tomcat-3.3.1_14 > > > apache-1.3.26 > > > > > > I get the error stated in the subject: > > > SQLException Error en Connect No suitable driver > > > > > > I'm not sure how to proceed...(?) > > > > > > tia, > > > > > > Peter > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! - Official partner of 2002 FIFA World Cup > > > http://fifaworldcup.yahoo.com > > > > > > To Unsubscribe: send mail to > majordomo@FreeBSD.org > > > with "unsubscribe freebsd-database" in the body > of the message > > > > > > > -- > > _______________________________________________ > > Get your free email from http://www.graffiti.net > > > > Powered by Outblaze > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-database" in the body of > the message __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 5:39:14 2002 Delivered-To: freebsd-java@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 8ECAC37B406 for ; Wed, 26 Jun 2002 05:39:09 -0700 (PDT) Received: from ntlworld.com ([213.104.146.54]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020626123904.RKWS295.mta03-svc.ntlworld.com@ntlworld.com>; Wed, 26 Jun 2002 13:39:04 +0100 Message-ID: <3D19B55C.2090805@ntlworld.com> Date: Wed, 26 Jun 2002 13:36:44 +0100 From: Antony T Curtis User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020611 X-Accept-Language: en-gb, en-us, en MIME-Version: 1.0 To: Greg Lewis Cc: Christopher Rued , Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Java with HotSpot on FreeBSD (Was: Re: A Call to Action for freebsd-java) References: <20020625231056.GB2374@gnuppy.monkey.org> <15641.13568.335690.50974@ool-18bacefa.dyn.optonline.net> <20020626140948.A4506@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis wrote: > I thought I answered this one earlier :). I'm snowed under until the > end of the month (at work) with two product releases. I expect the next > patchset sometime around July 4th-7th (which is when I'll have time to > sit down, do some testing and roll a patch set). And then there will be much rejoycing and celebration.... And behold as many avid Java FreeBSD users cvsup -CURRENT... Hmm... thats tempting anyways as I have a CardBus PCMCIA card I cannot use in -STABLE... -- Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 9:25:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id CED1037B41E for ; Wed, 26 Jun 2002 09:24:27 -0700 (PDT) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17NFaL-0004R2-00; Wed, 26 Jun 2002 09:24:01 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Bill Huey , freebsd-java@freebsd.org Subject: Re: A Call to Action for freebsd-java... Date: Wed, 26 Jun 2002 12:24:13 -0400 X-Mailer: KMail [version 1.4] References: <20020625231056.GB2374@gnuppy.monkey.org> In-Reply-To: <20020625231056.GB2374@gnuppy.monkey.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206261224.13353.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 25 June 2002 07:10pm, Bill Huey wrote: > > "News" > > In that regard, I'm trying to transition out of JVM development and move > into more traditional FreeBSD kernel side stuff, so we need a person > that's capable of doing the work I've done and maintaining it across JVM > revisions. > > I've already begun the process of leaving it to other folks in our group > and refocusing my development effort to KSEs and SMPng. > This doesn't sound like good news to me. (Good news for FreeBSD 5 though I suppose). How lean is the FreeBSD Java team right now? Does this compromise the target of FreeBSD shipping a Sun-approved JVM at all? I think everyone would probably love to know more about the people behind the project here. Also I would like to know whether the JVM patchset releases are pretty much frozen because of the work around KSEs. I was hoping to see a more aggressive patchset release schedule (I would have expected us to be at 8 or 9 by now) ... but it seems like we're just dealing with the status quo until FreeBSD 5.0 ships. (That's my rough perception of it) Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 15:57: 8 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 7084137B439 for ; Wed, 26 Jun 2002 15:53:02 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17NLIx-000314-00; Wed, 26 Jun 2002 15:30:27 -0700 Date: Wed, 26 Jun 2002 15:30:27 -0700 To: Dylan Carlson Cc: freebsd-java@freebsd.org, Bill Huey Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020626223027.GA11370@gnuppy.monkey.org> References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206261224.13353.absinthe@pobox.com> User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jun 26, 2002 at 12:24:13PM -0400, Dylan Carlson wrote: > This doesn't sound like good news to me. (Good news for FreeBSD 5 though I > suppose). It's mixed, but they're kind of the same thing, so working threading issues are pretty much essential for doing JVM hacking. Basically, I need to continue with my career track and it's not logical for me to narrow myself doing JVM internals programming. I never really got to do kernel programming when I was at BSDi per se even though I was headed into the core engineering staff. The JVM was sort of a misguided suicidal test for anybody at any technical level to see if I can handle it or not. I think I won. ;) > How lean is the FreeBSD Java team right now? Does this compromise the target > of FreeBSD shipping a Sun-approved JVM at all? I think everyone would > probably love to know more about the people behind the project here. Very lean. It's pretty much just Greg now part time. I'm still half working on it since I'm around all the dependent systems, but I'd really like to get into other more kernelly stuff at this time. I talked to Jeffery Hsu about this on IRC and he thinks it's a good manuever. > Also I would like to know whether the JVM patchset releases are pretty much > frozen because of the work around KSEs. I was hoping to see a more > aggressive patchset release schedule (I would have expected us to be at 8 or > 9 by now) ... but it seems like we're just dealing with the status quo until > FreeBSD 5.0 ships. (That's my rough perception of it) I'll be more tightly integrated to pthreads issues until development gets decoupled by a backport effort of -current's libc_r. That's my guess. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jun 26 19:10:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 9C7C837B84D for ; Wed, 26 Jun 2002 19:10:25 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17NOjn-0007BX-00; Thu, 27 Jun 2002 03:10:23 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g5R2AM3H020719; Thu, 27 Jun 2002 03:10:23 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g5R2ALlf020718; Thu, 27 Jun 2002 03:10:21 +0100 (BST) Date: Thu, 27 Jun 2002 03:10:21 +0100 From: j mckitrick To: "Lapinski, Michael (Research)" Cc: Jonathan Chen , freebsd-java@FreeBSD.ORG Subject: Re: Frustrating Java RMI problem, reprise Message-ID: <20020627031021.A20339@dogma.freebsd-uk.eu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from lapinski@crd.ge.com on Mon, Jun 24, 2002 at 10:26:49AM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Michael, thanks again for your advice. I went back to the docs, and found out I was doing a lot wrong that I ahve since fixed. I haven't gotten it totally figured out, but I definitely fixed the codebase/rmiregistry problem. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 6:42:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from web14405.mail.yahoo.com (web14405.mail.yahoo.com [216.136.174.62]) by hub.freebsd.org (Postfix) with SMTP id A69A937B401 for ; Thu, 27 Jun 2002 06:42:18 -0700 (PDT) Message-ID: <20020627134218.4098.qmail@web14405.mail.yahoo.com> Received: from [202.88.149.172] by web14405.mail.yahoo.com via HTTP; Thu, 27 Jun 2002 06:42:18 PDT Date: Thu, 27 Jun 2002 06:42:18 -0700 (PDT) From: sonam singh Subject: Zip of file before Upload ...Help To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Can anynone guide me how to upload file in java-servlets.file should be compressed first then it should uploaded .. how..??? so that to decrease the uploading time and large file to be uploaded easily. regard Sonam __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 8:21:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id DCA8437B401 for ; Thu, 27 Jun 2002 08:21:28 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17Nb5G-0007xU-00; Thu, 27 Jun 2002 09:21:26 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17Nb5E-0007wQ-00; Thu, 27 Jun 2002 09:21:21 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5RFLFY32588; Fri, 28 Jun 2002 00:51:15 +0930 (CST) (envelope-from glewis) Date: Fri, 28 Jun 2002 00:51:15 +0930 From: Greg Lewis To: Dylan Carlson Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020628005115.A32492@misty.eyesbeyond.com> References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200206261224.13353.absinthe@pobox.com>; from absinthe@pobox.com on Wed, Jun 26, 2002 at 12:24:13PM -0400 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jun 26, 2002 at 12:24:13PM -0400, Dylan Carlson wrote: > On Tuesday 25 June 2002 07:10pm, Bill Huey wrote: > How lean is the FreeBSD Java team right now? Does this compromise the target > of FreeBSD shipping a Sun-approved JVM at all? I think everyone would > probably love to know more about the people behind the project here. The Porting team is probably pretty lean at the moment. Bill is working on HotSpot and I'm working on JCK compliance. I'm not sure on the status of anyone else (feel free to let me know :). This is all on a volunteer basis and, at least for me, has to fit around work and everything else going on. > Also I would like to know whether the JVM patchset releases are pretty much > frozen because of the work around KSEs. I was hoping to see a more > aggressive patchset release schedule (I would have expected us to be at 8 or > 9 by now) ... but it seems like we're just dealing with the status quo until > FreeBSD 5.0 ships. (That's my rough perception of it) Almost all of the fixes that are in the repository (I can think of one minor exception) are being installed as patches as part of the jdk13 port. Bill's recent HotSpot work is the only really missing piece and that will be addressed with patchset 7. Its fine to want a more aggressive release schedule, but there is no point releasing a new patchset if there isn't really anything new to show. That said, we're not bug free and I'll attempt to keep the bug fixes coming as reports come in and fixes are found. Right now, for instance, I'm working on a bug in exec'ing an external process and waiting for it to complete which is causing some of the JCK tests to fail bogusly. If I had a test case I'd post it, but I haven't narrowed it down yet. I'll also attempt to construct test cases for those JCK tests which are failing and post them too so people can pitch in. I can't just post the tests themselves for obvious reasons. For those who are interested there are currently 19 compiler failures and 183 runtime failures that stand in the way of a binary release. As I mentioned above, many of the runtime failures are bogus and are due to an exec bug (the tests pass when they are run by hand). If anyone is interested in contributing, here are a couple of tasks in no particular order: 1. Get native threads fully functional. You probably need some pthreads knowledge for this, although I have none and I've hacked on things ;). 2. Start working on a port of 1.4. I've imported the code but haven't had time to work on it yet. 3. Pick a bug from those listed for the jdk13 port and work on it. If your primary interest is NetBSD or OpenBSD then work on making sure things work there as well (OpenBSD in particular isn't even close with respect to 1.3.1). In short, its not a matter of status quo, its just that there hasn't been a real justification for another patchset before Bill's HotSpot stuff. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 9:31:15 2002 Delivered-To: freebsd-java@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 9027D37B40C for ; Thu, 27 Jun 2002 09:31:08 -0700 (PDT) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17NcAJ-0000ed-00; Thu, 27 Jun 2002 09:30:39 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Greg Lewis Subject: Re: A Call to Action for freebsd-java... Date: Thu, 27 Jun 2002 12:30:53 -0400 X-Mailer: KMail [version 1.4] Cc: Bill Huey , freebsd-java@FreeBSD.ORG References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> <20020628005115.A32492@misty.eyesbeyond.com> In-Reply-To: <20020628005115.A32492@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206271230.53805.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday 27 June 2002 11:21am, Greg Lewis wrote: > For those who are interested there are currently 19 compiler failures > and 183 runtime failures that stand in the way of a binary release. As > I mentioned above, many of the runtime failures are bogus and are due > to an exec bug (the tests pass when they are run by hand). Thank you, that's the sort of information I was curious about. Unfortunately I can't help out here as much as I would like to; I'm a systems manager by trade, too stupid at this juncture to understand that kind of code. > > In short, its not a matter of status quo, its just that there hasn't been > a real justification for another patchset before Bill's HotSpot stuff. Fair enough. My last email was not in any way a criticism. You guys are doing above and beyond. My hunch was that we didn't have many people on the team to move things along (and I was right). I'm sure most people on this list who depend on the native JVM probably weren't sure of this either. Perhaps if this issue (# of committers/size of team) can remain a hot button, word might circulate, and we can get some more warm bodies added to the effort. Without at least 2 more people in the mix, my guess is we won't be making progress. I will check around to see if anyone I know can help out. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 9:58:49 2002 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 69F6E37B44B for ; Thu, 27 Jun 2002 09:58:28 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 27 Jun 2002 17:58:10 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 17Ncap-0007kG-00; Thu, 27 Jun 2002 17:58:03 +0100 Date: Thu, 27 Jun 2002 17:58:03 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Greg Lewis Cc: Dylan Carlson , Bill Huey , freebsd-java Subject: Re: A Call to Action for freebsd-java... In-Reply-To: <20020628005115.A32492@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 28 Jun 2002, Greg Lewis wrote: > I can't just post > the tests themselves for obvious reasons. This is a real problem; as I understand it (and my understanding may be flawed, or somewhat out of date) Sun _still_ haven't released* a conformance testing kit, which basically means work has to be indirected through the one person brave enough to have sold their soul to Sun :-( Anyhoo, keep up the good work, etc. jan (needs some CFT) * ie, made publicly and generally available -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Talk is cheap: free, as in beer. As in Real Ale, not that Budweiser rubbish. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 10:19: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 2002E37B405 for ; Thu, 27 Jun 2002 10:18:53 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17NcuE-0003Yi-00; Thu, 27 Jun 2002 11:18:51 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17NcuC-0003XH-00; Thu, 27 Jun 2002 11:18:05 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5RHI0O33100; Fri, 28 Jun 2002 02:48:00 +0930 (CST) (envelope-from glewis) Date: Fri, 28 Jun 2002 02:48:00 +0930 From: Greg Lewis To: Dylan Carlson Cc: Greg Lewis , Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020628024759.A33080@misty.eyesbeyond.com> References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> <20020628005115.A32492@misty.eyesbeyond.com> <200206271230.53805.absinthe@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200206271230.53805.absinthe@pobox.com>; from absinthe@pobox.com on Thu, Jun 27, 2002 at 12:30:53PM -0400 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 27, 2002 at 12:30:53PM -0400, Dylan Carlson wrote: > Fair enough. My last email was not in any way a criticism. You guys are > doing above and beyond. My hunch was that we didn't have many people on the > team to move things along (and I was right). I'm sure most people on this > list who depend on the native JVM probably weren't sure of this either. > Perhaps if this issue (# of committers/size of team) can remain a hot button, I certainly didn't take it as a criticism :). Just explaining the state of play. I may have been doing other committers an injustice, however the only (FreeBSD) one I've heard from lately is Fuyuhiko-san, who had done some tests with HotSpot and had a few small patches I believe. More active developers are always welcome though and would certainly make things easier. > word might circulate, and we can get some more warm bodies added to the > effort. Without at least 2 more people in the mix, my guess is we won't be > making progress. Well, progress will be slow at least :). > I will check around to see if anyone I know can help out. As I said above, extra help is always appreciated :). My only general comments are that people should be prepared to dive in and do some work before they are given repository access (but please try and coordinate whatever you are doing, through me possibly(?)). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 10:30:58 2002 Delivered-To: freebsd-java@freebsd.org Received: from s1.servlets.net (s1.servlets.net [209.221.135.4]) by hub.freebsd.org (Postfix) with ESMTP id 5583A37B408 for ; Thu, 27 Jun 2002 10:30:12 -0700 (PDT) Received: from inonit ([207.170.139.84]) by s1.servlets.net (8.11.6/8.9.3) with SMTP id g5RHU2e27893; Thu, 27 Jun 2002 10:30:02 -0700 From: "David P. Caldwell" To: "Greg Lewis" Cc: Subject: RE: A Call to Action for freebsd-java... Date: Thu, 27 Jun 2002 13:29:44 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20020628024759.A33080@misty.eyesbeyond.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg (et al.): This seems like as good a time to ask as any ... I am very good at *Java*, but adequate at best at C/C++. I "know" C/C++, but I don't know how to use debuggers, don't have any experience making system calls, etc. This kind of hard-core practical knowledge I imagine is important to what you are working on. (Stuff like "run it under gdb and tell me what happens" seems to come up, but I have only the vaguest idea what that means and wouldn't know how to interpret the output.) Presumably there are some people with my skill set laying around. What would be the best way for *us* to help out (if there are any right now)? -- David. -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Greg Lewis Sent: Thursday, June 27, 2002 1:18 PM To: Dylan Carlson Cc: Greg Lewis; Bill Huey; freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... On Thu, Jun 27, 2002 at 12:30:53PM -0400, Dylan Carlson wrote: > Fair enough. My last email was not in any way a criticism. You guys are > doing above and beyond. My hunch was that we didn't have many people on the > team to move things along (and I was right). I'm sure most people on this > list who depend on the native JVM probably weren't sure of this either. > Perhaps if this issue (# of committers/size of team) can remain a hot button, I certainly didn't take it as a criticism :). Just explaining the state of play. I may have been doing other committers an injustice, however the only (FreeBSD) one I've heard from lately is Fuyuhiko-san, who had done some tests with HotSpot and had a few small patches I believe. More active developers are always welcome though and would certainly make things easier. > word might circulate, and we can get some more warm bodies added to the > effort. Without at least 2 more people in the mix, my guess is we won't be > making progress. Well, progress will be slow at least :). > I will check around to see if anyone I know can help out. As I said above, extra help is always appreciated :). My only general comments are that people should be prepared to dive in and do some work before they are given repository access (but please try and coordinate whatever you are doing, through me possibly(?)). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 10:34:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by hub.freebsd.org (Postfix) with ESMTP id 35E2337B415 for ; Thu, 27 Jun 2002 10:33:48 -0700 (PDT) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 17Nd9P-0005gY-00; Thu, 27 Jun 2002 11:33:47 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 17Nd9O-0005g0-00; Thu, 27 Jun 2002 11:33:47 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5RHXci33257; Fri, 28 Jun 2002 03:03:38 +0930 (CST) (envelope-from glewis) Date: Fri, 28 Jun 2002 03:03:38 +0930 From: Greg Lewis To: Jan Grant Cc: Greg Lewis , Dylan Carlson , Bill Huey , freebsd-java Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020628030337.B33080@misty.eyesbeyond.com> References: <20020628005115.A32492@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Jan.Grant@bristol.ac.uk on Thu, Jun 27, 2002 at 05:58:03PM +0100 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 27, 2002 at 05:58:03PM +0100, Jan Grant wrote: > On Fri, 28 Jun 2002, Greg Lewis wrote: > > > I can't just post > > the tests themselves for obvious reasons. > > This is a real problem; as I understand it (and my understanding may be > flawed, or somewhat out of date) Sun _still_ haven't released* a > conformance testing kit, which basically means work has to be indirected > through the one person brave enough to have sold their soul to Sun :-( > > * ie, made publicly and generally available Right, the JCK suite is only available to Sun licensees. Its not a huge problem, it just means I have to construct some code to demonstrate the failures rather than being able to just post the test. Having said that, you are correct in that it does mean all the testing work must currently go through one person, which _is_ a problem in that it make me a bottleneck :(. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 11:16:44 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 1A4E337B40E for ; Thu, 27 Jun 2002 11:16:00 -0700 (PDT) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Thu, 27 Jun 2002 20:15:58 +0200 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA7EE@l04.research.kpn.com> From: K.J.Koster@kpn.com To: inonit@inonit.com Cc: freebsd-java@FreeBSD.ORG Subject: RE: A Call to Action for freebsd-java... Date: Thu, 27 Jun 2002 20:15:51 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear David, > > I am very good at *Java*, but adequate at best at C/C++. > > I "know" C/C++, but I don't know how to use debuggers, don't have any > experience making system calls, etc. This kind of hard-core practical > knowledge I imagine is important to what you are working on. > (Stuff like > "run it under gdb and tell me what happens" seems to come up, > but I have > only the vaguest idea what that means and wouldn't know how > to interpret the output.) > There are a number of ways that I believe you (and others) could help. My skillset seems to be close to yours, by the way. I have stated in previous mails what people can do to help. Basically it involves creating detailed problem reports of the existing problems. Another way is to try to reproduce problems that people report and test out various configurations to narrow the search down. Let me suggest another way to help. I have written a number of web pages (http://www.kjkoster.org/java/) with howto's and problem descriptions and porting help. If someone would help me get that text up to date to the current patch sets and expand with descriptions of known problems and remove the problems that have been fixed. I would like my web site to be more up to date and provide useful information for would-be porters. I would like there to be a list of currently known issues with the various JDK's and the status of the current ports on the various platforms. If you are interested, please tell me and we'll work our a way to let you edit my web pages. This would help the porting effort in general, because you'd document the problem that exist The reason why I am not doing these things is simple: lack of time. I have two jobs already. :) Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 11:29:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id E7C2937B4A4 for ; Thu, 27 Jun 2002 11:29:22 -0700 (PDT) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA28953 for ; Thu, 27 Jun 2002 14:29:21 -0400 Date: Thu, 27 Jun 2002 14:29:21 -0400 (EDT) From: Mikhail Kruk To: freebsd-java@FreeBSD.ORG Subject: problem report, question about OpenOffice In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA7EE@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I might have reported it already, I don't remember. It's a weird problem: I have a multithreaded application, one of the threads reads from stdin using BufferedReader. When I run this program in xterm, the stdin thread blocks and stops all other threads. Running the same program w/o X (on console) -- no problem. It's jdk1.3.1p6 on 4.5-STABLE. OpenOffice question: OO can not use native jdk1.3.1, only Linux. Is this because of native threads or something else? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 11:45:17 2002 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 0BD9337B40A for ; Thu, 27 Jun 2002 11:45:07 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5RIixE26328; Thu, 27 Jun 2002 13:44:59 -0500 Date: Thu, 27 Jun 2002 13:44:59 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Mikhail Kruk Cc: freebsd-java@FreeBSD.ORG Subject: Re: problem report, question about OpenOffice In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Whoa. OO actually works on FreeBSD? natively? since when? or are you running the linux bins in compat mode? if you are running the linux bins, then your going to be running it against the linux jdk because it's part of your 'world' and the native stuff isnt. if you are running OO native, tell me more, because i'd really like to be using it ( i use it at work on my linux box and none of my windows brethren are any wiser because the document exchange is great ). i dont have any idea what's going wrong (other than to say that billh moved to current for some probably salient reason :-) ). but i'd certainly try to make time to try this because it's probably something that i could narrow down a bit.... On Thu, 27 Jun 2002, Mikhail Kruk wrote: > I might have reported it already, I don't remember. It's a weird problem: > I have a multithreaded application, one of the threads reads from stdin > using BufferedReader. When I run this program in xterm, the stdin thread > blocks and stops all other threads. Running the same program w/o X (on > console) -- no problem. It's jdk1.3.1p6 on 4.5-STABLE. > > OpenOffice question: OO can not use native jdk1.3.1, only Linux. Is this > because of native threads or something else? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 12: 3:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 7710937B41C for ; Thu, 27 Jun 2002 12:03:37 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17NeXg-0005zi-00; Thu, 27 Jun 2002 13:03:35 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17NeXd-0005ys-00; Thu, 27 Jun 2002 13:02:54 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5RJ2nV33843; Fri, 28 Jun 2002 04:32:49 +0930 (CST) (envelope-from glewis) Date: Fri, 28 Jun 2002 04:32:49 +0930 From: Greg Lewis To: Mikhail Kruk Cc: freebsd-java@FreeBSD.ORG Subject: Re: problem report, question about OpenOffice Message-ID: <20020628043249.A33750@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E452205FDA7EE@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Thu, Jun 27, 2002 at 02:29:21PM -0400 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 27, 2002 at 02:29:21PM -0400, Mikhail Kruk wrote: > I might have reported it already, I don't remember. It's a weird problem: > I have a multithreaded application, one of the threads reads from stdin > using BufferedReader. When I run this program in xterm, the stdin thread > blocks and stops all other threads. Running the same program w/o X (on > console) -- no problem. It's jdk1.3.1p6 on 4.5-STABLE. Could you maybe construct a small test program that demonstrates this? > OpenOffice question: OO can not use native jdk1.3.1, only Linux. Is this > because of native threads or something else? I've no idea. If it works with the Linux JDK then it appeals to me that its exec'ing it and it should work just as well with the native one. Not having upgraded to 4.6, I can't even build and test it. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 12:25:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 5C04637B409 for ; Thu, 27 Jun 2002 12:25:20 -0700 (PDT) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id PAA29044; Thu, 27 Jun 2002 15:25:12 -0400 Date: Thu, 27 Jun 2002 15:25:12 -0400 (EDT) From: Mikhail Kruk To: Greg Lewis , Cc: freebsd-java@FreeBSD.ORG Subject: Re: problem report, question about OpenOffice In-Reply-To: <20020628043249.A33750@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > On Thu, Jun 27, 2002 at 02:29:21PM -0400, Mikhail Kruk wrote: > > I might have reported it already, I don't remember. It's a weird problem: > > I have a multithreaded application, one of the threads reads from stdin > > using BufferedReader. When I run this program in xterm, the stdin thread > > blocks and stops all other threads. Running the same program w/o X (on > > console) -- no problem. It's jdk1.3.1p6 on 4.5-STABLE. > > Could you maybe construct a small test program that demonstrates this? I kind of expected that question... I'll put it on my todo list. It's going to be #143 :) > > OpenOffice question: OO can not use native jdk1.3.1, only Linux. Is this > > because of native threads or something else? > > I've no idea. If it works with the Linux JDK then it appeals to me that > its exec'ing it and it should work just as well with the native one. Not > having upgraded to 4.6, I can't even build and test it. Yes, that's what I'd assume, but on the other hand OpenOffice seems to be very tightly integrated with Java through JNI calls. Doesn't make any sense :( P.S. John, I'll answer your question here to reduce list pollution: Yes, OpenOffice runs natively on FreeBSD 4.6-STABLE. I think it should run even on 4.6-RELEASE. I've been trying to build it from ports for the last couple of weeks w/o any success, finally cvsup'ed yesterday and it worked! Some things still crash, but SWriter seems to work. /usr/ports/editors/openoffice/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 13:16:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id D7DA137B401 for ; Thu, 27 Jun 2002 13:16:07 -0700 (PDT) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17NdvF-0002yJ-00; Thu, 27 Jun 2002 12:23:52 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17NdvD-0002xD-00; Thu, 27 Jun 2002 12:23:12 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5RIN3l33648; Fri, 28 Jun 2002 03:53:03 +0930 (CST) (envelope-from glewis) Date: Fri, 28 Jun 2002 03:53:03 +0930 From: Greg Lewis To: "David P. Caldwell" Cc: freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020628035303.A33571@misty.eyesbeyond.com> References: <20020628024759.A33080@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from inonit@inonit.com on Thu, Jun 27, 2002 at 01:29:44PM -0400 X-Spam-Status: No, hits=-2.2 required=8.0 tests=IN_REP_TO,PORN_11 version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 27, 2002 at 01:29:44PM -0400, David P. Caldwell wrote: > This seems like as good a time to ask as any ... > > I am very good at *Java*, but adequate at best at C/C++. > > I "know" C/C++, but I don't know how to use debuggers, don't have any > experience making system calls, etc. This kind of hard-core practical > knowledge I imagine is important to what you are working on. (Stuff like > "run it under gdb and tell me what happens" seems to come up, but I have > only the vaguest idea what that means and wouldn't know how to interpret the > output.) > > Presumably there are some people with my skill set laying around. What > would be the best way for *us* to help out (if there are any right now)? Thats a valid question :). Unfortunately there isn't necessarily a lot that people in that boat can do. Here are two suggestions off the top of my head. 1. Use the native JDK. The more people using it hopefully the more bugs can be found. If you do find a bug, please report and it and preferably try and narrow it down to as simple a test case as you can. The down side is that bugs may not be fixed as soon as you may like, but it does help. 2. If you're really interested, try your hand at working on the JDK source. Yes, you may have to learn more about C/C++ (or even assembler) but a bit of persistence can work wonders. Just pick a problem and go at it! Ask questions when you get stuck, you may be surprised at how happy people are to help when you're having a fair dinkum go at things. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 13:26:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from hermes.cicese.mx (hermes.cicese.mx [158.97.1.34]) by hub.freebsd.org (Postfix) with ESMTP id 96A0537B408 for ; Thu, 27 Jun 2002 13:26:31 -0700 (PDT) Received: from matrix.cicese.mx (matrix.cicese.mx [158.97.23.247]) by hermes.cicese.mx (8.10.0/8.10.0) with ESMTP id g5RKQOv29388 for ; Thu, 27 Jun 2002 13:26:24 -0700 (PDT) Received: from cicese.mx (pc-erodrig.cicese.mx [158.97.22.220]) by matrix.cicese.mx (8.9.3+Sun/8.9.1) with ESMTP id NAA28966 for ; Thu, 27 Jun 2002 13:26:24 -0700 (PDT) Message-ID: <3D1B74E3.50509@cicese.mx> Date: Thu, 27 Jun 2002 13:26:11 -0700 From: Daniel =?ISO-8859-1?Q?Jes=FAs?= Valencia =?ISO-8859-1?Q?S=E1nchez?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-java Subject: Re: A Call to Action for freebsd-java... References: <20020628005115.A32492@misty.eyesbeyond.com> <20020628030337.B33080@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i think this is a good moment to ask... Isn't FreeBSD POSIX compliant? or it is just that Java isn't written in a very portable way? what issues can come on when changing from linux to freebie? from my experience, making a program to build and run without issues in both environments is just to write ANSI C/C++ and POSIX. I'm not very good in Java, but I'm fairly nice in C++ programming (but I have no problems working with C). I also have a problem on working with debuggers, but I'm not as old as for not to learn. If in any way I can throw my two cents on the table, and it is helpful, please feel free to ask. - have fun Daniel Valencia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 15:37:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 03EF637B400 for ; Thu, 27 Jun 2002 15:37:31 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17Nht5-0000Mx-00; Thu, 27 Jun 2002 15:37:15 -0700 Date: Thu, 27 Jun 2002 15:37:10 -0700 To: "David P. Caldwell" Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020627223710.GA1416@gnuppy.monkey.org> References: <20020628024759.A33080@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 27, 2002 at 01:29:44PM -0400, David P. Caldwell wrote: > I "know" C/C++, but I don't know how to use debuggers, don't have any > experience making system calls, etc. This kind of hard-core practical > knowledge I imagine is important to what you are working on. (Stuff like > "run it under gdb and tell me what happens" seems to come up, but I have > only the vaguest idea what that means and wouldn't know how to interpret the > output.) It's a persistence kind of thing. You can only develope it by intense work like any other displine. > Presumably there are some people with my skill set laying around. What > would be the best way for *us* to help out (if there are any right now)? Raise the skill set to the level needed to do this work. Most of it is a mental problem, but once you get past that it's not as hard as one might think. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jun 27 16:24:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id D63C237B401 for ; Thu, 27 Jun 2002 16:24:37 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17Nics-0000YM-00; Thu, 27 Jun 2002 16:24:34 -0700 Date: Thu, 27 Jun 2002 16:24:33 -0700 To: Greg Lewis Cc: Dylan Carlson , freebsd-java@FreeBSD.ORG, Bill Huey Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020627232433.GB2105@gnuppy.monkey.org> References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> <20020628005115.A32492@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020628005115.A32492@misty.eyesbeyond.com> User-Agent: Mutt/1.4i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 28, 2002 at 12:51:15AM +0930, Greg Lewis wrote: > The Porting team is probably pretty lean at the moment. Bill is working on > HotSpot and I'm working on JCK compliance. I'm not sure on the status of > anyone else (feel free to let me know :). This is all on a volunteer basis > and, at least for me, has to fit around work and everything else going on. Overall, I think the project is in good condition. I intentionally made sure (with great pain) that the HotSpot core would at least be functional enough, so that it could be then maintained by folks without the diversity of knowledge that I have about libc_r + HotSpot. That's a good setup for doing a 1.4 port since -classic is missing and was one of the major drives for me to do it. It lays the foundation for future work. > For those who are interested there are currently 19 compiler failures > and 183 runtime failures that stand in the way of a binary release. As > I mentioned above, many of the runtime failures are bogus and are due > to an exec bug (the tests pass when they are run by hand). You're actually not looking too bad. I don't believe the Linux JDK even passes all tests from the last time I tried it about a year ago. > If anyone is interested in contributing, here are a couple of tasks in > no particular order: > > 1. Get native threads fully functional. You probably need some pthreads > knowledge for this, although I have none and I've hacked on things ;). That's the last thing I'm going to do in the context of JVM hacking and a natural transition into libc_r/KSEs for me. > 2. Start working on a port of 1.4. I've imported the code but haven't > had time to work on it yet. > 3. Pick a bug from those listed for the jdk13 port and work on it. Getting (2) would be cute, but all the technical aspects of this require that you have a lot of persistence, competency with C and langauge runtime internals. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 4:22:19 2002 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 1BE7537B400 for ; Fri, 28 Jun 2002 04:22:17 -0700 (PDT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27CB443E06 for ; Fri, 28 Jun 2002 04:22:16 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17NtpE-0003aa-00 for freebsd-java@freebsd.org; Fri, 28 Jun 2002 12:22:04 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g5SBM33H031615 for ; Fri, 28 Jun 2002 12:22:03 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g5SBM3IT031614 for freebsd-java@freebsd.org; Fri, 28 Jun 2002 12:22:03 +0100 (BST) Date: Fri, 28 Jun 2002 12:22:03 +0100 From: j mckitrick To: freebsd-java@freebsd.org Subject: Anything like COM in Java? Message-ID: <20020628122202.A31586@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Scanner: exiscan *17NtpE-0003aa-00*BxCLkSvrAPE* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I really like some of the concepts of COM in the Windows environment, like a published interface, a GUID, and built-in versioning. I understand Java Beans are the Java version of components, but I believe they work a bit differently. Is there anything like COM binary components in Java? jm -- Java on a laptop: the JIT hits the fan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 4:25:55 2002 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 7473437B401 for ; Fri, 28 Jun 2002 04:25:50 -0700 (PDT) Received: from mail.framfab.com (mail.framfab.com [217.73.2.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A461F43E0A for ; Fri, 28 Jun 2002 04:25:49 -0700 (PDT) (envelope-from fredrick.nilsson@framfab.se) Received: from sestoex01.framfab.se (sestoex01.framfab.se [157.125.1.96]) by mail.framfab.com (Postfix) with ESMTP id 27D2B1F77E; Fri, 28 Jun 2002 13:25:45 +0200 (CEST) Received: by sestoex01.framfab.se with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Jun 2002 13:23:44 +0200 Message-ID: From: Fredrick Nilsson To: 'j mckitrick' , freebsd-java@freebsd.org Subject: RE: Anything like COM in Java? Date: Fri, 28 Jun 2002 13:25:29 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org maybe you should look at enterprise java beans? i think they are a bit more lika COM objects. .f -----Original Message----- From: j mckitrick [mailto:jcm@FreeBSD-uk.eu.org] Sent: Friday, June 28, 2002 13:22 To: freebsd-java@freebsd.org Subject: Anything like COM in Java? Hi all, I really like some of the concepts of COM in the Windows environment, like a published interface, a GUID, and built-in versioning. I understand Java Beans are the Java version of components, but I believe they work a bit differently. Is there anything like COM binary components in Java? jm -- Java on a laptop: the JIT hits the fan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 4:56: 4 2002 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 C833A37B400 for ; Fri, 28 Jun 2002 04:56:00 -0700 (PDT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id F261743E06 for ; Fri, 28 Jun 2002 04:55:59 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17NuLw-0005XQ-00; Fri, 28 Jun 2002 12:55:52 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g5SBtq3H031767; Fri, 28 Jun 2002 12:55:52 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g5SBtqk4031766; Fri, 28 Jun 2002 12:55:52 +0100 (BST) Date: Fri, 28 Jun 2002 12:55:51 +0100 From: j mckitrick To: Fredrick Nilsson Cc: freebsd-java@freebsd.org Subject: Re: Anything like COM in Java? Message-ID: <20020628125551.A31623@dogma.freebsd-uk.eu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from fredrick.nilsson@framfab.se on Fri, Jun 28, 2002 at 01:25:29PM +0200 X-Scanner: exiscan *17NuLw-0005XQ-00*AJWK9jX3Dx2* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 28, 2002 at 01:25:29PM +0200, Fredrick Nilsson wrote: | maybe you should look at enterprise java beans? i think they are a bit more | lika COM objects. Can they be implemented server-side, not just in web pages? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 5: 1:11 2002 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 A0FB237B401 for ; Fri, 28 Jun 2002 05:01:07 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52FF243E06 for ; Fri, 28 Jun 2002 05:01:07 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17NuQn-0006UK-00; Fri, 28 Jun 2002 05:00:53 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: K.J.Koster@kpn.com, inonit@inonit.com Subject: Docs and bug reporting (was: A Call to Action) Date: Fri, 28 Jun 2002 08:01:17 -0400 X-Mailer: KMail [version 1.4] Cc: freebsd-java@FreeBSD.ORG References: <59063B5B4D98D311BC0D0001FA7E452205FDA7EE@l04.research.kpn.com> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FDA7EE@l04.research.kpn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206280801.17849.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday 27 June 2002 02:15pm, K.J.Koster@kpn.com wrote: > > I have written a number of web pages (http://www.kjkoster.org/java/) with > howto's and problem descriptions and porting help. If someone would help me > get that text up to date to the current patch sets and expand with > descriptions of known problems and remove the problems that have been > fixed. Nice site. User-contributed docs are obviously wonderful when there isn't anything in the FreeBSD Handbook to speak of. The pages that are in the Handbook now are quite dated, only specific to JDK 1.2. Differences abound since then. For instance, (if I'm not mistaken) the JDK 1.3 is based on the Linux source, unlike JDK 1.2 which uses the Solaris source. I would be willing to help out on an effort to take your documentation as a base, roll it up to the JDK 1.3 level, and make an effort to update it with all the news that is current to the JDK 1.3 patchset. Finally, we would need to take that and express it in DocBook markup, and send it to a committer on the FreeBSD Documentation Project (FDP) to validate it. I would have reservations contributing docs that are not posted to the FreeBSD Handbook. As an aside... It would be useful to get the GNATS maintainer to add a new category in the database for "java". (If that is even permissable.) By doing that, we could minimize some confusion about where to file Java bugs. We would move all the existing PR's under "ports" into "java", and also eliminate the need for hosting a buglist on a foreign site. That's not to say your site and efforts are unappreciated (I wouldn't want you to think that). My opinion is that we should formalize the relationship between FreeBSD and Java by providing current, accurate documentation in the Handbook; and also make sure that _all bugs_ are filed as PR's in FreeBSD's GNATS database. This will free up the people doing the coding from being distracted with high-level communications. The signal-to-noise ratio isn't always good on this list; I believe that's because there's not a good base of java documentation in the Handbook. Bill, Greg, Nate and others seem to be responding to questions on the overall status of the JDK port more than tackling the fundamental issues at play. If we can shelter them a little bit from that noise, they would probably have more time to code and debug; and it would also create an environment more suitable for new committers. Just my thoughts anyway. Let me know if these ideas are amenable to you. Cheers, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 5:55:40 2002 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 BB5D137B401 for ; Fri, 28 Jun 2002 05:55:33 -0700 (PDT) Received: from mail.framfab.com (mail.framfab.com [217.73.2.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 211FC43E09 for ; Fri, 28 Jun 2002 05:55:33 -0700 (PDT) (envelope-from fredrick.nilsson@framfab.se) Received: from sestoex01.framfab.se (sestoex01.framfab.se [157.125.1.96]) by mail.framfab.com (Postfix) with ESMTP id 34DD21F7AF; Fri, 28 Jun 2002 14:55:32 +0200 (CEST) Received: by sestoex01.framfab.se with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Jun 2002 14:53:31 +0200 Message-ID: From: Fredrick Nilsson To: 'j mckitrick' Cc: freebsd-java@freebsd.org Subject: RE: Anything like COM in Java? Date: Fri, 28 Jun 2002 14:55:15 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org yes, they're implemented on the server. .f -----Original Message----- From: j mckitrick [mailto:jcm@FreeBSD-uk.eu.org] Sent: Friday, June 28, 2002 13:56 To: Fredrick Nilsson Cc: freebsd-java@freebsd.org Subject: Re: Anything like COM in Java? On Fri, Jun 28, 2002 at 01:25:29PM +0200, Fredrick Nilsson wrote: | maybe you should look at enterprise java beans? i think they are a bit more | lika COM objects. Can they be implemented server-side, not just in web pages? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 9:35:30 2002 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 1CB5937B407 for ; Fri, 28 Jun 2002 09:35:01 -0700 (PDT) Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 645D843E19 for ; Fri, 28 Jun 2002 09:34:39 -0700 (PDT) (envelope-from john@utzweb.net) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5SGXHR29616; Fri, 28 Jun 2002 11:33:17 -0500 Date: Fri, 28 Jun 2002 11:33:16 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? In-Reply-To: <20020628122202.A31586@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Huh; On Fri, 28 Jun 2002, j mckitrick wrote: > > Hi all, > > I really like some of the concepts of COM in the Windows environment, > like a published interface, a GUID, and built-in versioning. with the risk of being overly flip; you like COM because you haven't written any full size multiple developer products with it yet! it get's very fragile and fiddly when you get up to the multiple 100's of interfaces. i could explain some more practical and pragmatic challenges associated with COM ( which i agree is pretty darn nifty in theory ), but this is the freebsd java list. > I understand Java Beans are the Java version of components, but I > believe they work a bit differently. > > Is there anything like COM binary components in Java? umm, CORBA? are you trying to interoperate with a non java app? any non java app has to speak the same binary interfacing standard. you could probably develop a COM-ish thing, but really, it's less of a joy than you might think. > > jm > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 10: 3:59 2002 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 3374A37B401 for ; Fri, 28 Jun 2002 10:03:56 -0700 (PDT) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 698D443E09 for ; Fri, 28 Jun 2002 10:03:55 -0700 (PDT) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.5/8.12.5) with ESMTP id g5SH3rN5009796 for ; Fri, 28 Jun 2002 13:03:54 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.5/8.12.5/Submit) id g5SH3rT0009792; Fri, 28 Jun 2002 13:03:53 -0400 (EDT) Date: Fri, 28 Jun 2002 13:03:53 -0400 From: Alexander Kabaev To: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? Message-Id: <20020628130353.032538fc.ak03@gte.com> In-Reply-To: References: <20020628122202.A31586@dogma.freebsd-uk.eu.org> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.7.8claws6 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > you could probably develop a COM-ish thing, but really, it's less of a > joy than you might think. Or use LGPLed UNO framework from Sun's OpenOffice. Has bridges for Java, C++, etc. Looks quite powerful. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 10:53:25 2002 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 E624837B400 for ; Fri, 28 Jun 2002 10:53:19 -0700 (PDT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id E155643E0A for ; Fri, 28 Jun 2002 10:53:18 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17NzuY-0003G4-00; Fri, 28 Jun 2002 18:51:58 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g5SHpv3H033640; Fri, 28 Jun 2002 18:51:58 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g5SHpvXc033639; Fri, 28 Jun 2002 18:51:57 +0100 (BST) Date: Fri, 28 Jun 2002 18:51:57 +0100 From: j mckitrick To: John Utz Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? Message-ID: <20020628185157.A33576@dogma.freebsd-uk.eu.org> References: <20020628122202.A31586@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from john@utzweb.net on Fri, Jun 28, 2002 at 11:33:16AM -0500 X-Scanner: exiscan *17NzuY-0003G4-00*iRtn1y8ibtk* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org | with the risk of being overly flip; you like COM because you haven't | written any full size multiple developer products with it yet! | | it get's very fragile and fiddly when you get up to the multiple 100's of | interfaces. We have quite a few in ours, but not hundreds. There are basically 2 things I like about it: GUIDs, so if I say I want a certain version of an interface, the GUID guarantees it is. It breaks down to straight function calls for in-process servers. No overhead, less work than CORBA. | i could explain some more practical and pragmatic challenges associated | with COM ( which i agree is pretty darn nifty in theory ), but this is the | freebsd java list. Please, email me privately. ;-) | umm, CORBA? are you trying to interoperate with a non java app? any non | java app has to speak the same binary interfacing standard. What I really want is the total separation of functionality that components can provide. Now, the ugly part of COM is the type library. That's the necessary link. What can I do in Java that would allow one class to dynamically bind (early) to another? I'm rather convinced at this point that components dramatically improve project organization beyond a certain point. My current project uses a great deal of inheritance, but components really separate functions into contract interactions. How can I do this in Java? Do Interfaces work well enough for this? Is there a Java binary equivalent, so the binding takes place at run-time rather than compile-time? jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 12:30:20 2002 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 E2EB437B405 for ; Fri, 28 Jun 2002 12:30:13 -0700 (PDT) Received: from mail3.ksc.th.com (mail3.ksc.th.com [203.155.0.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 610CA43E0A for ; Fri, 28 Jun 2002 12:30:12 -0700 (PDT) (envelope-from easytoberich01@yahoo.com) Received: from ksc.th.com ([203.107.246.47]) by mail3.ksc.th.com (8.12.1/8.12.0) with SMTP id g5SIYRDL007846 for ; Sat, 29 Jun 2002 02:30:10 +0700 Message-Id: <200206281930.g5SIYRDL007846@mail3.ksc.th.com> Date: Sat, 29 Jun 2002 02:32:14 To: java@FreeBSD.org From: easytoberich01@yahoo.com (international e-business) Subject: สำหรับผู้ที่ต้องการโอกาสในการเปลี่ยนแปลงชีวิต Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org !!!!! Part-Time Job!! สำหรับนักเรียน นักศึกษา และผู้ทำงานประจำ คุณต้องการงานแบบนี้บ้างไหม…?? -งาน parttime ทำงานที่บ้านได้ ถ้าคุณใช้ Internet เป็น -ทำงานเพียงวันละ 2-3 ชม. -รายได้ 5,000 – 15,000 บาท ถ้าคุณเป็นคนหนึ่งที่ทำงานประจำหรือยังไม่มีงานทำ นักศึกษาที่กำลังศึกษาอยู่ ผู้ว่างงาน หรือผู้ที่ยังพอมีเวลาว่างจากงานประจำ มีคุณสมบัติเบื้องต้นดังนี้ 1. มีทัศนคติที่ดี 2. พร้อมที่จะเรียนรู้ เนื่องจากเป็นระบบใหม่จึงต้องให้มีการอบรมให้ตามความเหมาะสม 3. ต้องการที่จะทำงานอย่างจริงจัง อยากที่จะเปลี่ยนฐานะทางการเงินของตนเอง และอยากมีรายได้จากการทำงานตรงนี้จริงๆ ทุกอย่างเป็นไปได้ ใน http://www.geocities.com/getchances2000/ อย่า !…………….. เป็นแค่เพียงคนที่นั่งรอโอกาส To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 15: 6:24 2002 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 4C90537B417 for ; Fri, 28 Jun 2002 15:06:15 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3022D43E06 for ; Fri, 28 Jun 2002 15:05:59 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.4/8.12.4) with ESMTP id g5SM5wuJ050039 for ; Sat, 29 Jun 2002 10:05:58 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.4/8.12.4/Submit) id g5SM4hN4050025; Sat, 29 Jun 2002 10:04:43 +1200 (NZST) Date: Sat, 29 Jun 2002 10:04:42 +1200 From: Jonathan Chen To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? Message-ID: <20020628220442.GB49867@grimoire.chen.org.nz> References: <20020628122202.A31586@dogma.freebsd-uk.eu.org> <20020628185157.A33576@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020628185157.A33576@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 28, 2002 at 06:51:57PM +0100, j mckitrick wrote: [...] > I'm rather convinced at this point that components dramatically improve > project organization beyond a certain point. My current project uses a > great deal of inheritance, but components really separate functions into > contract interactions. How can I do this in Java? Do Interfaces work > well enough for this? Is there a Java binary equivalent, so the binding > takes place at run-time rather than compile-time? Would a network classloader do what you want? There'd be still quite a bit of work to do to handle the interaction. -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 15:12:31 2002 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 CDE1037B405 for ; Fri, 28 Jun 2002 15:11:39 -0700 (PDT) Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F8D443E1D for ; Fri, 28 Jun 2002 15:11:27 -0700 (PDT) (envelope-from john@utzweb.net) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5SMAKR08071; Fri, 28 Jun 2002 17:10:20 -0500 Date: Fri, 28 Jun 2002 17:10:20 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? In-Reply-To: <20020628185157.A33576@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 28 Jun 2002, j mckitrick wrote: > | with the risk of being overly flip; you like COM because you haven't > | written any full size multiple developer products with it yet! > | > | it get's very fragile and fiddly when you get up to the multiple 100's of > | interfaces. > > We have quite a few in ours, but not hundreds. There are basically 2 > things I like about it: > > GUIDs, so if I say I want a certain version of an interface, > the GUID guarantees it is. really? promise? nobody ever adds a new method to the same interface? your dev team get's it perfect the first time? if they dont get it right the first time ( a typical case in any development effort ) what happens then? new interface and new guid? or does the new method just get added to the same guid? has anybody been dumb enuf yet to think that if they dont tell anybody about a method that they added, then it's 'secret'. hoho. it's secret until somebody runs that broken-ass* ObjectView?(is that it, i cant recall) thingy and gets themselves a new header and idl file complete with the 'secret' methods. *in vc6, which was the last platform i used COM on extensively, the idl wouldnt compile because it was broken. i actually got hired into a new group at my old job based on the fact that i figured this out and fixed the mis-emitted idl so i could use it. > It breaks down to straight function calls for in-process servers. No > overhead, less work than CORBA. hmm, it breaks down to a call to a function pointer in a vtable, so it's not *quite* that simple...but certainly less involved then CORBA, at a cost of being trapped in a single OS. There *was* a DCOM port to a few things, but it met with less than enthusiastic support. > | i could explain some more practical and pragmatic challenges associated > | with COM ( which i agree is pretty darn nifty in theory ), but this is the > | freebsd java list. > > Please, email me privately. ;-) > > | umm, CORBA? are you trying to interoperate with a non java app? any non > | java app has to speak the same binary interfacing standard. > > What I really want is the total separation of functionality that > components can provide. Now, the ugly part of COM is the type library. > That's the necessary link. yes, and you may eventually find yourself groaning vigourously when you realize that a needed interface change is going to require you to trivially edit and rebuild a whole bunch more files than you would have otherwise because of this additional requirement. this is what i meant about being fiddly. with the caveat that i have only read about it and not coded with it, the broker idea in corba seems to me to be a better solution; u do it your way, he does it his way, code the broker to sort it out. > What can I do in Java that would allow one class to dynamically bind > (early) to another? > > I'm rather convinced at this point that components dramatically improve > project organization beyond a certain point. organization is more rigidly enforced, but *changes* to organization are a more annoying pain in the ass, and in a development environment ( *not* a *product* interoperability environment ) that counts for a lot. > My current project uses a great deal of inheritance, but components > really separate functions into contract interactions. eek, worst of both worlds in my opinion, but it's only my opinion. now you have to go back and fiddle with even more things if you decide that you want to push back some funtionality into a parent class, or to completely rethink the problem (refactor). I think that this at some point becomes a /usr/X11/bin vs usr/bin/X11 issue, which is my shorthand for the idea that the pain is the same, you just are choosing your pain budget differently then i do. i am sure that over the course of the next few weeks, other things will come up, but i think that i've hit the hi points from my perspective. > How can I do this in Java? i'm guessing EJB, but that's a guess absent experience. > Do Interfaces work well enough for this? no, i dont think so, because the implementation of the classes that you are passing as arguments to the methods that implement the interfaces are uncontrolled. > Is there a Java binary equivalent, so the binding takes place at > run-time rather than compile-time? let me know what you come up with. to return to my thoughts on COM, i think that it's really quite cool for defining inter *product* interfaces. for example, it's tres bitchin' to think of being able to add a new secure vpn mail protocol to outlook as a COM object and have it automagically show up ar a replacement toolbar for the default toolbar in outlook. it's also worth recalling that WinAmp and XMMS and gimp and anything that has 'plugins' have a similar interface. but, to return to my outlook example, *Nobody's* Done It! furthermore, nobody sell's 'improvements' that i am aware of ( by that i mean a 'thing' that implements a GUID and is cooler than the original implementation so you want to buy it and replace the old one. COM was a solution to a problem that nobody has really seemed to care about MSFT continued to fiddle with it so that it would be simpler to use, but they've basically given up. there is an absolutely hilarious verity stob essay that i shared with some of my other COM aware collegues: http://www.ddj.com/documents/s=1504/ddj0108vs/0108vs001.htm hope u get a laff. it's been fun to think of this again... > jm > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 28 15:50:47 2002 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 B1B2D37B40F for ; Fri, 28 Jun 2002 15:49:13 -0700 (PDT) Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9121C44047 for ; Fri, 28 Jun 2002 15:35:12 -0700 (PDT) (envelope-from john@utzweb.net) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g5SMY5R08802; Fri, 28 Jun 2002 17:34:05 -0500 Date: Fri, 28 Jun 2002 17:34:05 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: j mckitrick Cc: freebsd-java@FreeBSD.ORG Subject: Re: Anything like COM in Java? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org my apologies. i meant to send that privately. of course, now i am spamming with the apology. i'll send some mail out apologizing for that in a minute.... :-) On Fri, 28 Jun 2002, John Utz wrote: > On Fri, 28 Jun 2002, j mckitrick wrote: > > > | with the risk of being overly flip; you like COM because you haven't > > | written any full size multiple developer products with it yet! > > | > > | it get's very fragile and fiddly when you get up to the multiple 100's of > > | interfaces. > > > > We have quite a few in ours, but not hundreds. There are basically 2 > > things I like about it: > > > > GUIDs, so if I say I want a certain version of an interface, > > the GUID guarantees it is. > > really? promise? nobody ever adds a new method to the same interface? your > dev team get's it perfect the first time? if they dont get it right the > first time ( a typical case in any development effort ) what happens then? > new interface and new guid? or does the new method just get added to the > same guid? > > has anybody been dumb enuf yet to think that if they dont tell anybody > about a method that they added, then it's 'secret'. hoho. it's secret > until somebody runs that broken-ass* ObjectView?(is that it, i cant > recall) thingy and gets themselves a new header and idl file complete > with the 'secret' methods. > > *in vc6, which was the last platform i used COM on extensively, the idl > wouldnt compile because it was broken. i actually got hired into a new > group at my old job based on the fact that i figured this out and fixed > the mis-emitted idl so i could use it. > > > It breaks down to straight function calls for in-process servers. No > > overhead, less work than CORBA. > > hmm, it breaks down to a call to a function pointer in a vtable, so it's > not *quite* that simple...but certainly less involved then CORBA, at a > cost of being trapped in a single OS. There *was* a DCOM port to a few > things, but it met with less than enthusiastic support. > > > | i could explain some more practical and pragmatic challenges associated > > | with COM ( which i agree is pretty darn nifty in theory ), but this is the > > | freebsd java list. > > > > Please, email me privately. ;-) > > > > | umm, CORBA? are you trying to interoperate with a non java app? any non > > | java app has to speak the same binary interfacing standard. > > > > What I really want is the total separation of functionality that > > components can provide. Now, the ugly part of COM is the type library. > > That's the necessary link. > > yes, and you may eventually find yourself groaning vigourously when you > realize that a needed interface change is going to require you to > trivially edit and rebuild a whole bunch more files than you would have > otherwise because of this additional requirement. > > this is what i meant about being fiddly. > > with the caveat that i have only read about it and not coded with it, the > broker idea in corba seems to me to be a better solution; u do it your > way, he does it his way, code the broker to sort it out. > > > What can I do in Java that would allow one class to dynamically bind > > (early) to another? > > > > I'm rather convinced at this point that components dramatically improve > > project organization beyond a certain point. > > organization is more rigidly enforced, but *changes* to organization are a > more annoying pain in the ass, and in a development environment ( *not* a > *product* interoperability environment ) that counts for a lot. > > > My current project uses a great deal of inheritance, but components > > really separate functions into contract interactions. > > eek, worst of both worlds in my opinion, but it's only my opinion. now you > have to go back and fiddle with even more things if you decide that you > want to push back some funtionality into a parent class, or to completely > rethink the problem (refactor). > > I think that this at some point becomes a /usr/X11/bin vs usr/bin/X11 > issue, which is my shorthand for the idea that the pain is the same, you > just are choosing your pain budget differently then i do. > > i am sure that over the course of the next few weeks, other things will > come up, but i think that i've hit the hi points from my perspective. > > > How can I do this in Java? > > i'm guessing EJB, but that's a guess absent experience. > > > Do Interfaces work well enough for this? > > no, i dont think so, because the implementation of the classes that you > are passing as arguments to the methods that implement the interfaces are > uncontrolled. > > > Is there a Java binary equivalent, so the binding takes place at > > run-time rather than compile-time? > > let me know what you come up with. > > to return to my thoughts on COM, i think that it's really quite cool for > defining inter *product* interfaces. > > for example, it's tres bitchin' to think of being able to add a new secure > vpn mail protocol to outlook as a COM object and have it automagically > show up ar a replacement toolbar for the default toolbar in outlook. > > it's also worth recalling that WinAmp and XMMS and gimp and anything that > has 'plugins' have a similar interface. > > but, to return to my outlook example, *Nobody's* Done It! > > furthermore, nobody sell's 'improvements' that i am aware of ( by that i > mean a 'thing' that implements a GUID and is cooler than the original > implementation so you want to buy it and replace the old one. > > COM was a solution to a problem that nobody has really seemed to care > about > > MSFT continued to fiddle with it so that it would be simpler to use, but > they've basically given up. > > there is an absolutely hilarious verity stob essay that i shared with some > of my other COM aware collegues: > > http://www.ddj.com/documents/s=1504/ddj0108vs/0108vs001.htm > > hope u get a laff. it's been fun to think of this again... > > > jm > > > > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 29 13:44:27 2002 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 8DC7A37B400 for ; Sat, 29 Jun 2002 13:44:25 -0700 (PDT) Received: from modusponens.dnsalias.org (pool-151-203-185-166.wma.east.verizon.net [151.203.185.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C43443E13 for ; Sat, 29 Jun 2002 13:44:24 -0700 (PDT) (envelope-from jay@eziba.com) Received: from eziba.com (localhost [127.0.0.1]) by modusponens.dnsalias.org (8.12.3/8.12.3) with ESMTP id g5TKkRBF000314; Sat, 29 Jun 2002 16:46:28 -0400 (EDT) (envelope-from jay@eziba.com) Message-ID: <3D1E1CA3.1080106@eziba.com> Date: Sat, 29 Jun 2002 16:46:27 -0400 From: Jay Sachs User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020606 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> <20020628005115.A32492@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis wrote: > If anyone is interested in contributing, here are a couple of tasks in > no particular order: [...] > 3. Pick a bug from those listed for the jdk13 port and work on it. Is this buglist publicly available? If so, where? jay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 29 14:17: 4 2002 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 CF8A937B401 for ; Sat, 29 Jun 2002 14:17:01 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 969D643E06 for ; Sat, 29 Jun 2002 14:16:57 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 17OPaO-0000rd-00; Sat, 29 Jun 2002 15:16:57 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 17OPaJ-0000qk-00; Sat, 29 Jun 2002 15:16:52 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g5TLGgS45205; Sun, 30 Jun 2002 06:46:42 +0930 (CST) (envelope-from glewis) Date: Sun, 30 Jun 2002 06:46:41 +0930 From: Greg Lewis To: Jay Sachs Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: A Call to Action for freebsd-java... Message-ID: <20020630064641.A45186@misty.eyesbeyond.com> References: <20020625231056.GB2374@gnuppy.monkey.org> <200206261224.13353.absinthe@pobox.com> <20020628005115.A32492@misty.eyesbeyond.com> <3D1E1CA3.1080106@eziba.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D1E1CA3.1080106@eziba.com>; from jay@eziba.com on Sat, Jun 29, 2002 at 04:46:27PM -0400 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Jun 29, 2002 at 04:46:27PM -0400, Jay Sachs wrote: > Greg Lewis wrote: > > If anyone is interested in contributing, here are a couple of tasks in > > no particular order: > [...] > > 3. Pick a bug from those listed for the jdk13 port and work on it. > > Is this buglist publicly available? If so, where? The FreeBSD PR database, http://www.freebsd.org/support.html#gnats. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 29 18:36:27 2002 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 68FD337B400 for ; Sat, 29 Jun 2002 18:36:24 -0700 (PDT) Received: from Millions.Ca (h24-79-52-254.sbm.shawcable.net [24.79.52.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E98A43E09 for ; Sat, 29 Jun 2002 18:36:23 -0700 (PDT) (envelope-from stacy@Millions.Ca) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g5U1aMg41176 for ; Sat, 29 Jun 2002 19:36:22 -0600 (MDT) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdA41174; Sat Jun 29 19:36:12 2002 Received: from millions.ca (Bonsai.Millions.Ca [192.168.64.4]) by cedar.millions.ca (8.12.2/8.12.3) with ESMTP id g5U1aBJg054418 for ; Sat, 29 Jun 2002 19:36:12 -0600 (MDT) (envelope-from stacy@millions.ca) Message-ID: <3D1E608A.5080308@millions.ca> Date: Sat, 29 Jun 2002 19:36:10 -0600 From: Stacy Millions Organization: Millions Consulting Limited User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Mozilla / java plugin / proxies Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Using Mozilla 1.0 the java plugin (1.3.1-p6) doesn't use the proxy information from the browser, but tries to download the applet directly. For example, I go to http://java.sun.com/j2se/1.3/docs/relnotes/demos.html and try to load one of the demo applets. I run netstat and see Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.64.4.2366 192.18.97.71.80 SYN_SENT tcp4 0 0 192.168.64.4.2365 192.168.64.6.3128 ESTABLISHED The web page gets loaded via the proxy (on port 3128), but the applet never gets loaded because it is being loaded via a direct connection to port 80 on 192.18.97.7 Is there some way I can kick the plugin to use the proxy? -stacy -- You'll see it's all a show. Keep 'em laughing as you go. Just remember that the last laugh is on you. - Monty Python _The Life Of Brian_ Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message