anij

2001-09-24 Thread Manolo

I have a problem with i run this program:

public class P
{

public P()
{
}
public static void main( String[] args )
{
System.out.println("hola");
}

}

in anyj and ocurr this error: 

Exception in Thread "main" java.lang.NoClassDefFoundError:insert

I do not understand this error.what happend?

Thanks.
-- 
---

 || 
(|   ()  ()  |) 
 |/\ |  
 |   | 
--o00o---o00o---
  Manuel Martín Martín
  [EMAIL PROTECTED]
  Clave Pubica PGP en 
http://www.cam.ac.uk.pgp.net/pgpnet/wwwkeys.html
--
   / /  \ \
  / / \ \
 / /\ \
   ___/  | |  \___
  |___| |___|

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: anij

2001-09-24 Thread Joi Ellis

On Mon, 24 Sep 2001, Manolo wrote:

> I have a problem with i run this program:
>
> public class P
> {
>
>   public P()
>   {
>   }
>   public static void main( String[] args )
>   {
>   System.out.println("hola");
>   }
>
> }
>
> in anyj and ocurr this error:
>
> Exception in Thread "main" java.lang.NoClassDefFoundError:insert
>
> I do not understand this error.what happend?
>

What command are you using to launch your program?

-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Tomcat x blackdown

2001-09-24 Thread Luiz Henrique Moraes

Hi people,  I am will develop my first project with java for web and
need of help with:

Which the advantage of the Blackdown for the Tomcat?

How to install the Blackdown in the Apache?


Regards and I am sorry for my english,
Henrique ( Brazil )



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: DatagramSocket and Thread problem

2001-09-24 Thread Alexander V. Konstantinou

In the C world you need to set the SO_REUSEADDR option on
the datagram (UDP) socket.

The setReuseAddress() has been added to JDK 1.4 for this purpose.
I'm not sure how you can go about this in JDK1.2.

Alexander

On Sun, Sep 23, 2001 at 09:56:25PM -0700, Dustin Lang wrote:
> 
> Hi,
> 
> I checked the archives but didn't find anything that sounds like this...
> 
> For a homework assignment I have to write a datagram-driven client and
> server pair.  They are meant to be used by higher-level classes to handle
> the underlying communication.
> 
> The client sends out numbered requests and waits for matching numbered
> responses.  In order to handle multiple simultaneous requests, I have
> given the client a dedicated receiving thread.  When a request is made,
> the requesting thread sends a packet from a DatagramSocket, adds itself to
> the list of waiting threads, and goes to sleep.  When the receiving thread
> receives a matching response packet from the server, it wakes up the
> sleeping client.
> 
> All this information is a bit extraneous, but the point is this: there are
> multiple threads using the same DatagramSocket for sends and receives.  I
> was under the impression that this was a valid and reasonable thing to do.
> 
> With JDK-1.2.2-FCS, I get strange behaviour.  It seems that the receiver
> thread is okay until the sender thread does a send() on the DatagramSocket
> that the receiver is receive()-ing on.  When this happens, the receiver
> thread gets a "SocketException: socket closed" exception.  This seems
> strange because I did not connect() the socket, and I never call
> close() in my code - the socket gets reused.
> 
> I created a smallish test class that demonstrates the behaviour.  I ran it
> on a Solaris box and got the behaviour I think is correct.  A small
> tarball containing the test source, output from running on my machine and
> the Solaris box, plus version information from the two JDKs is available:
> 
> http://taz.cs.ubc.ca/~dustinl/socket-test.tar
> 
> (By the way, the output is of the form "[  ]
> ". )
> 
> This is on kernel 2.2.19, libc 2.1.3, jdk 1.2.2-fcs, native
> threads/sunwjit and green threads.
> 
> Thanks for your help!
> dstn.
> 
> 
> 
> -- Dustin Lang, [EMAIL PROTECTED]--
> User, n.: a particularly  slow and unreliable input/
> output  device  that  is  attached by default to the
> standard input and output streams.
> 
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




JMS

2001-09-24 Thread Thiago Modro

My version is Java 2 SDK v1.3.

This is my scientific project in my university.

An object has three variable (x, y, z) and each one has a value.
How I can send the information of these variable for other
customers?

This goes to serve to make a matching with the
CORBA .

I don't know nothing on what JMS can make.

Thanks





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: anij

2001-09-24 Thread Vladimir Eflov

Hi,

Do not use:

java P.class

Use only:

java P

M> I have a problem with i run this program:

M> public class P
M> {

M> public P()
M> {
M> }
M> public static void main( String[] args )
M> {
M> System.out.println("hola");
M> }

M> }

M> in anyj and ocurr this error: 

M> Exception in Thread "main" java.lang.NoClassDefFoundError:insert

M> I do not understand this error.what happend?

M> Thanks.



-- 
Best regards,
Vladimirmailto:[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: VolatileImage, mit-shm, and DGA

2001-09-24 Thread Juergen Kreileder

John Richardson <[EMAIL PROTECTED]> writes:

> Can any of the Blackdown developers comment on the VolatileImage
> issue at:
> 
> http://www.javagaming.org/discus/messages/111/540.html?1001267464
> 
> It seems that Linux VolatileImage won't support direct writing to
> VRAM, meaning that it will be just as slow (I assume) as normal
> BufferedImages.  Does this mean that using DGA won't work

IIRC the two main points why we don't use XFree86-DGA are: a) It's a
svgalib-alike full screen thing, b) direct access to the framebuffer
requires superuser privileges.

> (I assume MIT-SHM is already employed for BufferedImage itself).

Yes.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




DatagramSocket and Thread problem (more)

2001-09-24 Thread Dustin Lang


Hi again,

Further to my previous message.  It seems that the sending thread is also
bothered by the receiving thread.  The first send() succeeds, but once the
receive thread touches the socket, all further send()s fail with
"IOException: Connection refused".  This is a DatagramSocket!  I was under
the impression that this exception should never be thrown by
DatagramSocket.send() - packets are just sent off into the big blue
yonder; if nobody is listening on the destination machine, the packet
should just get tossed into the bit bucket.

Any suggestions would be appreciated.

Cheers,
dstn.





-- Dustin Lang, [EMAIL PROTECTED]--
User, n.: a particularly  slow and unreliable input/
output  device  that  is  attached by default to the
standard input and output streams.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Tomcat

2001-09-24 Thread Luiz Henrique Moraes

Hi, any have a tutorial for to install the Tomcat ( Servler / Jsp ) with
the Apache ?


Regards,
Henrique




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Tomcat

2001-09-24 Thread Homayoun Yousefi'zadeh

Henrique,

Tomcat documentation can be found at

http://jakarta.apache.org/tomcat/
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html

The last page contains instructions on how to install
Tomcat 3.2 (release build is 3.2.3).

Good Luck,
HY



> Hi, any have a tutorial for to install the Tomcat ( Servler / Jsp ) with
> the Apache ?
> 
> 
> Regards,
> Henrique



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Tomcat

2001-09-24 Thread ed phillips

Luiz Henrique Moraes wrote:
> 
> Hi, any have a tutorial for to install the Tomcat ( Servler / Jsp ) with
> the Apache ?
> 
> Regards,
> Henrique
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Howdy!

http://jakarta.apache.org  has what you are looking for and more.


Ed


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Tomcat

2001-09-24 Thread veflov


http://jakarta.apache.org


LHM> Hi, any have a tutorial for to install the Tomcat ( Servler / Jsp ) with
LHM> the Apache ?


LHM> Regards,
LHM> Henrique




-- 
Best regards,
Vladimirmailto:[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]