This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/7938] java-rmi-problem


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7938



------- Additional Comments From norbertf at gmx dot net  2003-07-31 21:15 -------
Subject: Re:  java-rmi-problem

Hi!

Answering your question: No - not that i know (or remember).

An exception is an improvement to the things i have seen. But the
message "failed to export: class RMITestServer" doesnt't really help.
Try to compile the classes with JDK 1.4 and see if the behaviour is
different. Also search the GCJ-classes for the error-message.

If i have time i will look at the problem tomorrow - but i need to go
out and have some beer now ;-)

regards,
norbert


On Thu, 2003-07-31 at 12:13, pinskia at physics dot uc dot edu wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7938
> 
> 
> pinskia at physics dot uc dot edu changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
> 
> 
> ------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-31 16:13 -------
> I did:
> gcj *.java --main=RMITestServer -o testsrv
> then
> ./testsrv
> but it throw an exception:
> Exception in thread "main" java.rmi.RemoteException: failed to export: class 
> RMITestServer
>    at gnu.java.rmi.server.UnicastServerRef.exportObject(java.rmi.Remote) (/home/gates/
> pinskia/linux/lib/libgcj.so.4.0.0)
>    at java.rmi.server.UnicastRemoteObject.exportObject(java.rmi.Remote) (/home/gates/
> pinskia/linux/lib/libgcj.so.4.0.0)
>    at java.rmi.server.UnicastRemoteObject.UnicastRemoteObject(int, 
> java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory) (/
> home/gates/pinskia/linux/lib/libgcj.so.4.0.0)
>    at java.rmi.server.UnicastRemoteObject.UnicastRemoteObject(int) (/home/gates/
> pinskia/linux/lib/libgcj.so.4.0.0)
>    at java.rmi.server.UnicastRemoteObject.UnicastRemoteObject() (/home/gates/pinskia/
> linux/lib/libgcj.so.4.0.0)
>    at RMITestServer.RMITestServer() (Unknown Source)
>    at RMITestServer.main(java.lang.String[]) (Unknown Source)
> 
> Was there something else I should have done also?
> 
> 
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]