availability of sun.net package
Does the linux port have a sun.net package?
Re: How to create a NetworkClassLoader in JDK1.1.x?
There is a complete Network Class Loader example in "Java Network Programning" published by O'Reilly associates. A very good book worth the money Peter Pilgrim __ Reply Separator _ Subject: Re: How to create a NetworkClassLoader in JDK1.1.x? Author: Volker.Augustin ([EMAIL PROTECTED]) at lon-mime Date:13/03/99 09:09 Hi! Does anyone know how to create a NetworkClassLoader? A ClassLoader loading class es from a URL such as http://www.test.com/testdir/ ? Is it possible to load classes from a jar file at the specified URL? I can only use JDK1.1.x and don't have the possibility to upgrade to 1.2 on my s ystem. Help is appreciated. Thanks. Volker -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Magician pulled off the market
peter johnson writes: > > With respect to "Java3D for Linux": Arcana Ltd., > > the company that till last week provided a very > > popular Java OpenGL API and implementations for > > JNI, RNI and Netscape's JRI on Linux, Windows, > > Mac, and other platforms, has been forced to close > > shop. > > This doesn't seem off-topic to me at all. > My company bought into Magician as a > migration path away from AWT and Swing; our current > plan is to ultimately use GNOME for 2D and OpenGL for 3D. I am currently shopping around for support to get Magician's Java and JNI components released under e.g. an Artistic License. I do not consider it likely, but in theory interested companies as well as Open Source initiatives could also join to make an offer, and place the code base under LGPL or a comparable license. The Magician API has been made available for cloning and independend implementations during its proposal as an ARB approved JavaGL. This means that a new implementation based on Mesa+JNI+Java is legal, no matter who purchases the rights and code. Depending on how many companies and individuals are in your situation, such an effort might be feasible. I suggest to anybody interested to move this thread off Java Linux, and on the Magician list you already Cc'ed, to avoid further cross-posting. Presuming, of course, that the mailing list will stay available. b. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Implementating ClassLoader.getResource?
FYI Basically the secret to getting `getResource()' and `getResourceAsStream' to work my custom class loader was subclassing the `URLStreamHandler' and `URLConnection' to handle the `custom': protocol such that a URL would work, such ``custom:/SOMEHOST/path/to/file/dukey.gif'' where "custom" is the protocol. "SOMEHOST" is the machine name and the rest is the file. Then the std java `URL' class can handle the protocol `custom' and you would just call `URL.openConnection()' to get an `INputStream' However my new CustomLoaderClass is not fully compatible with the primordial for some reason, because it does not work at all well with the `JEditorPane' and I got `Premature end of JPEG' when loading a JPEG file. This is a real pity because it would nice to the package any application resources (ie GIF, HTML, JPEGs and AUs) also within the JAR file. Anyway the idea for the custom stream handler came from the O'Reilly `Java Network Programming' book as I said before. This is place where I will stop. Peter __ Reply Separator _ Subject: Re: Implementating ClassLoader.getResource? Author: Peter Pilgrim at London Date:10/03/99 13:54 Here is my CustomClassLoader written in a two days at least to load class type data from a modified class path. I started my class with the Java in a Nutshell Book example. Basically it emulates the primordial class loader. It does almost everything. It does not implement `getResource( String name )' object, because it needs URLStreamHandler object to implement a new URL protocol. I'd like it do set up a URL of `privateresource:/DUMMY_ZIP_HOST/+/foo/bar/duke.gif' Hence the protocol is `privateresource' just the `http' or `ftp' or even `systemresource'. So what one needs is a specialised protocol handler to complete the class loader otherwise `getResourceAsInputStream' will work. For my application it much better to use URLs, because that is what god intended reference for, instead opening input streams. Anyway I digress ... My invented specialised URLStreamHandler would find the GIF in the modified class path. This result would be the GIF image resource "duke.gif". I suspect that the URL string "systemresource:/ZIP7/+/foo/bar/duke.gif' is interpret like this. The dummy hostname `/ZIP7/' is really means the 7th ZIP file inside a private internally maintained (Vector) list of ZIP filename paths which is grokked from the primordial CLASSPATH. The '+' is just a magic placeholder to identify the filename in the zip. Ah this look my sort of URL, ce n'est pas? All you do, then, is find the 7th one and get the fully qualified filename to it say "/opt/my/loard/frogger/hendrix.zip' and then retrieve the zip file entry and then get the input stream for it. And that your custom URLStreamHandler witten done. The only problem is how do you change the URL stream handler factory or customise it so that you add another protocol a runtime? Any help appreciated Peter BTW: CC-Mail is really a pile of s**t, the proper name of the attachment is `CustomClassLoader.java' __ Reply Separator _ Subject: Re: Implementating ClassLoader.getResource? Author: dulitz ([EMAIL PROTECTED]) at lon-mime Date:10/03/99 13:09 Hi Peter, Sorry, I don't know the answer to your question. I do want to mention, though, that over the last few months a few people on java-linux have expressed a desire to use or look at a ClassLoader such as the one you have written. No biggie, but it might save a few people a day of work each. FYI, daniel dulitz Valley Technologies, Inc. Peak Performance Real-Time DSP State College, PA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to create a NetworkClassLoader in JDK1.1.x?
No do not have source code on disk. I think O'Reilly puts all source code from their book up on their ftp site. Is it `ftp://ftp.ora.com' or `ftp://ftp.oreilly.com' ? Peter __ Reply Separator _ Subject: Re: How to create a NetworkClassLoader in JDK1.1.x? Author: Volker.Augustin ([EMAIL PROTECTED]) at lon-mime Date:15/03/99 11:42 Do you have the code on disk? If so, could you send it to me? I am already spent some 200$ this month on Java books and since I am a student I am somehow short of money. :-) volker -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jdk 1.1/1.2-pre glibc 2.1 version? (yet)
http://www.blackdown.org/cgi-bin/jdk/pending?id=423;expression=glibc2.1;user=guest mentions recomplied version of both of the above. Has this been release yet? Unforutantely it's not mentioned on the homepage or the mailing archives. Nicholas -- "I reserve the right to contradict myself" Nicholas Lee (Li Peng Ming) n.j.lee at statslab.cam.ac in uk Somewhere Out There -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java-Linux mailing list weirdnesses
On Sun, 14 Mar 1999, Nathan Meyers wrote: > This mailing list appears to be finding its way into a lot of unwelcome > mailboxes... seems that every time I send something out to java-linux, I > get a "please stop sending me mail" complaint from someone. My best > guess is that some prankster somewhere is getting his kicks by handing > out unsolicited subscriptions. > > Perhaps this would be a good time to add a challenge-response mechanism > to the subscription process -- an initial piece of mail requiring the > subscriber to confirm the subscription. I hate that idea. better to set the list up properly so that mailing errors go to the list manager, not to the list or its subscribers. -- Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM ftpsites index. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java-Linux mailing list weirdnesses
John Summerfield wrote: > > Perhaps this would be a good time to add a challenge-response mechanism > > to the subscription process -- an initial piece of mail requiring the > > subscriber to confirm the subscription. > > I hate that idea. better to set the list up properly so that mailing errors > go to the list manager, not to the list or its subscribers. Help me understand what's so offensive: I join a list, I get one piece of mail a few minutes later that I have to reply to, and that's it. It's certainly worked smoothly for me on other lists. How does a properly set up list fix this problem? AI logic to scan for key phrases in the complaint letters (such complaints do not always include the word "unsubscribe")? How does it intercept the reply sent personally to me (not the list) saying "please stop sending me mail"? Would it send this note to the list manager because I used the word "unsubscribe"? Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java-Linux mailing list weirdnesses
Nathan Meyers wrote: > John Summerfield wrote: > > > Perhaps this would be a good time to add a challenge-response mechanism > > > to the subscription process -- an initial piece of mail requiring the > > > subscriber to confirm the subscription. > > > > I hate that idea. better to set the list up properly so that mailing errors > > go to the list manager, not to the list or its subscribers. > > Help me understand what's so offensive: I join a list, I get one piece > of mail a few minutes later that I have to reply to, and that's it. It's > certainly worked smoothly for me on other lists. > > How does a properly set up list fix this problem? AI logic to scan for > key phrases in the complaint letters (such complaints do not always > include the word "unsubscribe")? How does it intercept the reply sent > personally to me (not the list) saying "please stop sending me mail"? > Would it send this note to the list manager because I used the word > "unsubscribe"? > > Nathan I think there was a misunderstanding about the problem. The problem isn't bad email addresses in the list, it's about some moron who likes to subscribe people who irritate him/her to a bunch of high traffic mailing lists like this one. The people who are subscribed usually have no idea what a mailing list is and just see it as unsolicited email/spam. This is becoming more and more common in my experience and the challenge/response system would get rid of it in a painless way. The footer in the email messages seems to have made a major dent in this problem, I think the challenge/response would kill it entirely. ../Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux JDK1.2 Font Tips (Was: Fonts, fonts, fonts (sizes,jdk1.2pre1))
On Mon, 15 Mar 1999, Kazuki Yasumatsu wrote: > Hi, > > You can use your favorite TrueType and Postscript Type1 fonts instead > of the TrueType fonts included in the JDK1.2 (jre/lib/fonts). > [snip] I tried changing the fonts used, but not to Type1 or TrueType fonts. Changing as you described worked perfectly (except for missing swedish characters in the ghostscript fonts, so I'm using some others). Thanks. /Urban --- Urban Widmark [EMAIL PROTECTED] Svenska Test AB +46 90 71 71 23 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 fails to start
colleagues, When starting my GUI based programs they flash the window on the screen, then the window disappears and exits. There is no error message, the GUI thread just seems to die. I have made a simple program (in case the problem is something complex with my other programs) that just makes a JFrame (500X500) and sets it to visible. It has the same problem. When I run it in jdb, when it exits it simply says that the main thread died, continuing, then it says something about communications has stopped. Then I am returned to a normal command prompt, not in jdb. I have spent an hour or so with the archive and have seen another message similar to this effect with no reply. It was posted regarding 1.1.6, but I am using jdk1.2 and RH5.2. Help would be appreciated. Thank you respectfully David R. Thompson _ David R.Thompson Los Alamos National Laboratory TSA 5 wk.ph:505.665.5572 email: [EMAIL PROTECTED] _ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
disappearing windows
colleagues, When starting my GUI based programs they flash the window on the screen, then the window disappears and exits. There is no error message, the GUI thread just seems to die. I have made a simple program (in case the problem is something complex with my other programs) that just makes a JFrame (500X500) and sets it to visible. It has the same problem. When I run it in jdb, when it exits it simply says that the main thread died, continuing, then it says something about communications has stopped. Then I am returned to a normal command prompt, not in jdb. I have spent an hour or so with the archive and have seen another message similar to this effect with no reply. It was posted regarding 1.1.6, but I am using jdk1.2 and RH5.2. Help would be appreciated. Thank you respectfully David R. Thompson _ David R.Thompson Los Alamos National Laboratory TSA 5 wk.ph:505.665.5572 email: [EMAIL PROTECTED] _ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 fails to start
On Mon, 15 Mar 1999, David Thompson wrote: > > colleagues, > > When starting my GUI based programs they > flash the window on the screen, then the > window disappears and exits. There is > no error message, the GUI thread just > seems to die. I have made a simple program Are you running green threads with: -green -Djava.compiler= ? /Urban --- Urban Widmark [EMAIL PROTECTED] Svenska Test AB +46 90 71 71 23 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 fails to start
Urban I am not using these flags. However, I am setting the environment variable THREADS_FLAG to "green". dt _ David R.Thompson Los Alamos National Laboratory TSA 5 wk.ph:505.665.5572 email: [EMAIL PROTECTED] _ On Mon, 15 Mar 1999, Urban Widmark wrote: > On Mon, 15 Mar 1999, David Thompson wrote: > > > > > colleagues, > > > > When starting my GUI based programs they > > flash the window on the screen, then the > > window disappears and exits. There is > > no error message, the GUI thread just > > seems to die. I have made a simple program > > Are you running green threads with: > -green -Djava.compiler= > ? > > /Urban > > --- > Urban Widmark [EMAIL PROTECTED] > Svenska Test AB +46 90 71 71 23 > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: disappearing windows
Sounds like you might be using -green but not specifying -Djava.compiler= to disable the JIT. This is a known problem. -Peter David Thompson wrote: > > > colleagues, > > When starting my GUI based programs they > flash the window on the screen, then the > window disappears and exits. There is > no error message, the GUI thread just > seems to die. I have made a simple program > (in case the problem is something complex with my > other programs) that just makes a JFrame (500X500) > and sets it to visible. It has the same problem. > When I run it in jdb, when it exits it simply > says that the main thread died, continuing, > then it says something about communications > has stopped. Then I am returned to a normal > command prompt, not in jdb. > > I have spent an hour or so with the archive and have > seen another message similar to this effect with > no reply. It was posted regarding 1.1.6, but I am > using jdk1.2 and RH5.2. > > Help would be appreciated. > > Thank you > respectfully > David R. Thompson > > _ > David R.Thompson > Los Alamos National Laboratory > TSA 5 > wk.ph:505.665.5572 > email: [EMAIL PROTECTED] > _ > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: disappearing windows
Thank you Peter, I will give this a try. I am sure you understand the difficulty in finding messages when it is not clear which keys to search in the archive. I have found this problem a couple times in the process of getting started on java-linux. When I get it going, I plan to garner the email messages that have been particularly useful in getting started into a single message. I will send it to the group to have them all in a single message for the archive. Thank You for your input. dt _ David R.Thompson Los Alamos National Laboratory TSA 5 wk.ph:505.665.5572 email: [EMAIL PROTECTED] _ On Mon, 15 Mar 1999, Peter Graves wrote: > Sounds like you might be using -green but not specifying > -Djava.compiler= to disable the JIT. This is a known problem. > > -Peter > > David Thompson wrote: > > > > > > colleagues, > > > > When starting my GUI based programs they > > flash the window on the screen, then the > > window disappears and exits. There is > > no error message, the GUI thread just > > seems to die. I have made a simple program > > (in case the problem is something complex with my > > other programs) that just makes a JFrame (500X500) > > and sets it to visible. It has the same problem. > > When I run it in jdb, when it exits it simply > > says that the main thread died, continuing, > > then it says something about communications > > has stopped. Then I am returned to a normal > > command prompt, not in jdb. > > > > I have spent an hour or so with the archive and have > > seen another message similar to this effect with > > no reply. It was posted regarding 1.1.6, but I am > > using jdk1.2 and RH5.2. > > > > Help would be appreciated. > > > > Thank you > > respectfully > > David R. Thompson > > > > _ > > David R.Thompson > > Los Alamos National Laboratory > > TSA 5 > > wk.ph:505.665.5572 > > email: [EMAIL PROTECTED] > > _ > > > > > > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java-Linux mailing list weirdnesses
Martin Little wrote: > > > > Perhaps this would be a good time to add a challenge-response mechanism > > > > to the subscription process -- an initial piece of mail requiring the > > > > subscriber to confirm the subscription. > > > > ... > I think there was a misunderstanding about the problem. > > The problem isn't bad email addresses in the list, it's about some moron > who likes to subscribe people who irritate him/her to a bunch of high > traffic mailing lists like this one. Thank you for a much clearer explanation than I provided. To those who have never experienced a mailing list challenge, it's really pretty painless. The new subscriber receives email approximately like this: "You have just subscribed (or someone has subscribed you) to the Door-Hog mailing list, a discussion forum about the merits of live hedgehogs as decorative doorstops. If you do not wish to receive mail from the Door-Hog mailing list, IGNORE THIS MAIL. Print it out on a high-quality laser or inkjet printer, tear the printout into little bits, and stomp on the bits. We will never bother you again. "If you DO wish to continue receiving mail from the Door-Hog mailing list, please respond to this message within the next 15 seconds." The subject line, and hence the response subject line, includes a hashcode that maps to the subscription request, allowing for easy automated processing. It's an effective way to weed out bogus subscription requests. It also offers the opportunity to track the real return address associated with bogus requests (if the perpetrator isn't too clever), should that be desirable :-). Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 fails to start
On Mon, 15 Mar 1999, David Thompson wrote: > > Urban > > I am not using these flags. However, I am setting > the environment variable THREADS_FLAG to "green". > Right. And according to the README.linux (you did read it didn't you? ;) you need to add a '-Djava.compiler=' when using green threads. I saw exactly the same effects as you did before I added that switch. /Urban --- Urban Widmark [EMAIL PROTECTED] Svenska Test AB +46 90 71 71 23 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to create a NetworkClassLoader in JDK1.1.x?
> Subject: Re: How to create a NetworkClassLoader in JDK1.1.x?
> Author: Volker.Augustin ([EMAIL PROTECTED]) at lon-mime
> Date:13/03/99 09:09
It tooks me absolutely ages to work
out how to do a simple class loader.
The documentation was terrible. Anyhow,
I did it in the end - see the attachment.
Rich.
--
- Richard Jones. Bibliotech: http://www.bibliotech.co.uk/ -
- Embryonic homepage at: http://www.annexia.org/ -
- You are currently the 3,119,344,290th visitor to this signature. -
-Original message content Copyright (C) 1998 Richard Jones.-
/*
* FLEET Copyright (C) 1998-1999 Richard W.M. Jones.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
* $Id: URLClassLoader.java,v 1.2 1999/01/16 19:38:01 rich Exp $
*
* $Log: URLClassLoader.java,v $
* Revision 1.2 1999/01/16 19:38:01 rich
* Started to experiment with CORBA for front-end to
* server communications.
*
* Revision 1.1 1999/01/13 17:33:27 rich
* Started to do network update code.
*
*/
import java.net.*;
import java.io.*;
import java.util.*;
/**
* This is a specialized class loader for loading classes
* over the network (or from local storage) from a URL.
*/
public class URLClassLoader extends ClassLoader
{
Hashtable cache = new Hashtable ();
URL codeBase;
/**
* Create a URLClassLoader, giving the
* appropriate codebase (URL). Classes
* are loaded from:
*
* CODEBASE name .class
*
*/
public URLClassLoader (URL codeBase)
{
this.codeBase = codeBase;
}
/**
* Load the class. If the class cannot
* be found anywhere else, then we try
* to load it over the network from
*
* CODEBASE name .class
*
*/
public synchronized Class loadClass (String className, boolean resolve)
throws ClassNotFoundException
{
// Is it in the cache?
Class c = (Class) cache.get (className);
if (c == null)
{
// Try with the superclass first.
try {
c = super.findSystemClass(className);
return c;
} catch (ClassNotFoundException e) {
// Not a system class.
}
// Try to load it over the network.
byte[] data;
try {
URL url = new URL (codeBase, className + ".class");
URLConnection connection = url.openConnection ();
int length = connection.getContentLength ();
data = new byte [length];
InputStream input = connection.getInputStream ();
try {
input.read (data);
}
finally {
input.close ();
}
}
catch (MalformedURLException ex) {
ex.printStackTrace ();
throw new ClassNotFoundException ("MalformedURLException while loading
class");
}
catch (IOException ex) {
throw new ClassNotFoundException ("IOException while loading class");
}
c = defineClass (data, 0, data.length);
if (c == null)
return null;
cache.put (className, c);
}
// Resolve the class, if asked to.
if (resolve)
resolveClass (c);
return c;
}
}
Re: Java-Linux mailing list weirdnesses
Date sent: Mon, 15 Mar 1999 11:08:28 -0500 From: Martin Little <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject:Re: Java-Linux mailing list weirdnesses > Nathan Meyers wrote: > > > John Summerfield wrote: > > > > Perhaps this would be a good time to add a challenge-response mechanism > > > > to the subscription process -- an initial piece of mail requiring the > > > > subscriber to confirm the subscription. > > > > > > I hate that idea. better to set the list up properly so that mailing errors > > > go to the list manager, not to the list or its subscribers. > > > > Help me understand what's so offensive: I join a list, I get one piece > > of mail a few minutes later that I have to reply to, and that's it. It's > > certainly worked smoothly for me on other lists. > > > > How does a properly set up list fix this problem? AI logic to scan for > > key phrases in the complaint letters (such complaints do not always > > include the word "unsubscribe")? How does it intercept the reply sent > > personally to me (not the list) saying "please stop sending me mail"? > > Would it send this note to the list manager because I used the word > > "unsubscribe"? > > > > Nathan > > I think there was a misunderstanding about the problem. > > The problem isn't bad email addresses in the list, it's about some moron > who likes to subscribe people who irritate him/her to a bunch of high > traffic mailing lists like this one. > The people who are subscribed usually have no idea what a mailing > list is and just see it as unsolicited email/spam. > This is becoming more and more common in my experience and > the challenge/response system would get rid of it in a painless way. > The footer in the email messages seems to have made a major > dent in this problem, I think the challenge/response would kill it > entirely. > > ../Martin > I got the same Problem yesterday. I wrote my first message to this list and got 3 "please don't write me mail" - messages only 24 hours later. Seems really to be a problem of some guys subscribing someone else without his permission. I don't know, if this list really needs a challenge-response mechanism. I suppose this list is also running with majordomo or something comparable. When setting up my majordomo-lists I used a tag, that prevented subscriptions of other e-Mail-Adresses than the From-Adr. of the subcribe-mail. This should be enough to prevent the most "unwanted-subscribtions" unless the From-Adr is faked. If this Option is already set and the subscribtions are made with faked adrs, I'm afraid there's not much alternitive to a response- mechanism. Thorsten -/^\- THORSTEN "MARAUDER" GEBUHR -/^\- /god is real, unless declared integer\ ---/-\--/-\--- / \ [EMAIL PROTECTED] / \ / http://winfo.uni-regensburg.de/~gebuhr \ /---\/---\ Der Studentenserver: http://winfo.uni-regensburg.de __/\_/\/\_/\__ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
running java apps from cron
Does anybody have any experience running java apps from cron. I can't seem to get the syntax right. TIA, Keith -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: running java apps from cron
> Does anybody have any experience running java apps from cron. > I can't seem to get the syntax right. Works fine for me. Couple of caveats: 1) Make sure you've got the syntax right in crontab... the right number of fields and all that. If you can't run "echo foo >bar" from cron, something else is wrong. 2) Cron isn't going to read your startup files (.profile, .bashrc, etc.) files when it kicks off actions. If you're depending on environment set in those files, such as CLASSPATH, you'd better find another way to set it: put the whole thing (setting environment and invoking the JVM) into a shell script and invoke the script from cron. Nathan - This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Glibc or libc5
I just finished installing Linux on my machine. I'm very new to the enviroment. I want to do the following: Install JDK1.1.x to my linux box: (RedHat 5.1) What version of the library do I use, glibc or libc5(What's the difference anyway? Where do I find docs. to learn about the two lib..) anyone can help with this? thanks ajr -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: running java apps from cron
It is my understanding that variables can be set in the crontab itself as well. use 'man crontab' for more info -dave On Mon, 15 Mar 1999, Nathan Meyers wrote: > > Does anybody have any experience running java apps from cron. > > I can't seem to get the syntax right. > > Works fine for me. Couple of caveats: > > 1) Make sure you've got the syntax right in crontab... the right number of > fields and all that. If you can't run "echo foo >bar" from cron, something else > is wrong. > > 2) Cron isn't going to read your startup files (.profile, .bashrc, etc.) files > when it kicks off actions. If you're depending on environment set in those > files, such as CLASSPATH, you'd better find another way to set it: put the whole > thing (setting environment and invoking the JVM) into a shell script and invoke > the script from cron. > > Nathan > > - > This message was sent using Endymion MailMan. > http://www.endymion.com/products/mailman/ > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jdk1.7 Connection Refused
I'm running xntpd on a local server that's also connected to the Internet as a web server running Slackware 3.6 on Linux 2.0.34. It's not just the xntpd, but other services as well, but I continue getting conection refused errors in java.net.ConnectionException exceptions when trying to connect to the web page with the embedded .class file using either a browser, or appletviewer. I'll spare the java source, since I'm quite sure it's related to the java.net.* libs in general and not my /etc/services settings. I can synch both other boxes using command-line ntpdate tempe without problems, but none of my java apps can connect using sockets. A little tip on whether I need to embed a signature in the apps, or, is there something else someone can clue me in on? Regards, Van -- = Linux rocks!!! www.dedserius.com = -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java class run locally, only
You must put the jar file (or directory classes) of JDBC driver in your CLASSPATH. I have worked with JDBC and Sybase. Sybase creates a directory which contains subdirs. Subdirectory called "classes" is in my CLASSPATH and works fine. greetings On Fri, 12 Mar 1999, Ferenczi Gyorgy Laszlo wrote: > Dear collegues, > > I created an applet, that is for connecting to the database Postgresql > which runs on the same server. > > I can successfully execute it with an appletviewer only if I invoke it > from its own directory. > > E.g: > the Class and the required HTML file are in the work directory: > /home/ferenczi/work/conect1.class > /home/ferenczi/work/conect1.html > > The > > appletviewer connect1.html > > commnad runs perfectly. > > If I go to another directory (e.g. one up), and invoke: > > appletviewer work/connect1.html > > the java class fails to connect to the database. > > Could you help me, please? > > Thanks, > > > George > > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > Carlos Alberto Roman Zamitiz Departamento de Ingenieria en Computacion, Facultad de Ingenieria, UNAM [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jar problems...
I'm running into problems using jar from the 1.2 pre-release. Oddly enough, the problems are confined to jar itself, the rest of the jdk works fine (at least, the parts I've used). I get the following error: /usr/local/jdk/bin/i686/native_threads/jar: error in loading shared libraries libhpi.so: cannot open shared object file: No such file or directory The files exist in: /usr/local/jdk/jre/lib/i386/green_threads/libhpi.so /usr/local/jdk/jre/lib/i386/native_threads/libhpi.so Telling LD to preload the files (LD_PRELOAD) doesn't work. I've been watching the list and haven't seen this come up, and it isn't in the bug reports for 1.2 either... so has anyone else seen this? Any ideas? -- Matthew Hunter ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Apache JServ and Linux JDK 1.2
Has anyone had success (or even tried) running Apache-JServ 1.0b3/Apache 1.3.4 with the Blackdown JDK 1.2 beta release? All I've been able to do is get the JDK to report a segmentation violation and chew up all my CPU until I kill it with extreme prejudice. I've been able to use the JDK 1.2 succesfully with other things, even some fairly complicated stuff, so it seems to be at least functional. This is a (mostly) RedHat 5.2 box with Linux kernel 2.2.3. I'm starting up the Apache-JServ manually rather than letting Apache start it automatically. And incidentally, I've seen the JDK give me "org.apache.jserv.JServ class not found" type errors if I did not have the jsdk.jar in my CLASSPATH. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Derek Glidden http://www.illusionary.com/ http://3dlinux.org/ http://www.tbcpc.org/ Web development, database, graphics and general plumbing Linux, FreeBSD, Apache, MySQL, PostgreSQL, PHP (Say No to NT!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
**** INVITATION *****
Hello, I am a new Web master, I will be so happy to invite you to visit my web Site on the : http://anis.citeweb.net Please give me all your precious suggestion to make it more powerful. Have Fun THANK YOU Anis. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
**** INVITATION *****
Hello, I am a new Web master, I will be so happy to invite you to visit my web Site on the : http://anis.citeweb.net Please give me all your precious suggestion to make it more powerful. Have Fun THANK YOU Anis. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
