🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.help
2 messages
2 total messages Started by Mads Kristensen Sun, 11 Mar 2001 12:47
Problem running java app on Netware (Isn't java supposed to run everywhere?)
#168
Author: Mads Kristensen
Date: Sun, 11 Mar 2001 12:47
22 lines
1996 bytes
I recently programmed a little Java application for mailing logfiles
from
servers to system administrators, so they can keep track of multiple
servers from one place.
This application uses the JavaMail classes from Sun.
The program works fine under Linux and on Windows NT servers, but when I
run
it on a Novell Netware server I get this error message:

javax.mail.NoSuchProviderException: No provider for Address type: RFC822

The server has IP bound to one of it's NIC's and it can ping the SMTP
server, so that's not the problem.

Does anybody know what is wrong with the application?

My Novell test-server is running JDK 1.2.2 on a Netware 5.0 SP6a server.

Please mail answers to mk@potte.dk

Thanks in advance!
Mads Kristensen
Re: Problem running java app on Netware (Isn't java supposed to run everywhere?)
#169
Author: Jon Skeet
Date: Sun, 11 Mar 2001 13:48
27 lines
2206 bytes
[Posted and emailed]

Mads Kristensen <mk@potte.dk> wrote:
> I recently programmed a little Java application for mailing logfiles
> from servers to system administrators, so they can keep track of multiple
> servers from one place.
> This application uses the JavaMail classes from Sun.
> The program works fine under Linux and on Windows NT servers, but when I
> run it on a Novell Netware server I get this error message:
> 
> javax.mail.NoSuchProviderException: No provider for Address type: RFC822
> 
> Does anybody know what is wrong with the application?

I *think* this is usually due to not having activation.jar in the 
classpath, and available to the same classloader as the one which loads 
mail.jar.

See also http://www.jguru.com/jguru/faq/view.jsp?EID=122151

> Please mail answers to mk@potte.dk

Please read where you post in future - Usenet isn't a write-only forum.

-- 
Jon Skeet - skeet@pobox.com
http://www.pobox.com/~skeet
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads