473,321 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

rmic

Hi, trying to use RMI at home, but rmic is not working. I'll post the
errors below. Thing is, it works fine at work - which suggests there's
nothing wrong with my code.

I haven't got a clue what's wrong. I've downloaded jsdk1.4-2_04, and
the appropriate runtime environment. There's nothing else I need is
there? I'm confident it's an environment problem because it works fine
in other places.

Any help greatly appreciated.

What's particularly odd is the ClassNotFoundException - for an
existing class - SAXParserFactory. I don't understand what's going on
here at all.

Pete.

rmic errors below:

[ctxpjc@Pedro server]$ rmic MessageFactoryImpl
Exception in thread "main" java.lang.InternalError: unexpected
exception during
linking: java.lang.ClassNotFoundException:
javax.xml.parsers.SAXParserFactory
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError( java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.St ring)
(/usr/lib/./libgcj.so.3)
at 0x4025ad82: java.lang.ClassLoader.resolveClass0(java.lang.Clas s)
(/usr/lib/./libgcj.so.3)
at 0x4024646c: java.lang.Class.initializeClass()
(/usr/lib/./libgcj.so.3)
at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
at 0x40244d9f: java.lang.Class.forName(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x4031bbd7: gnu.java.rmi.rmic.RMIC.findClass()
(/usr/lib/./libgcj.so.3)
at 0x4031b9a9: gnu.java.rmi.rmic.RMIC.analyzeClass(java.lang.Stri ng)
(/usr/lib/./libgcj.so.3)
at 0x4031b6e5: gnu.java.rmi.rmic.RMIC.processClass(java.lang.Stri ng)
(/usr/lib/./libgcj.so.3)
at 0x4031b644: gnu.java.rmi.rmic.RMIC.run()
(/usr/lib/./libgcj.so.3)
at 0x4031b507: gnu.java.rmi.rmic.RMIC.main(java.lang.String[])
(/usr/lib/./libgcj.so.3)
at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
(/usr/lib/./libgcj.so.3)
at 0x402ad02d: gnu.gcj.runtime.FirstThread.run()
(/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread)
(/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/./libgcj.so.3)
at 0x4021c9cd: JvRunMain (/usr/lib/./libgcj.so.3)
at 0x080485a8: ?? (??:0)
at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
at 0x080484f5: ?? (??:0)
Jul 17 '05 #1
0 1974

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pepegan | last post by:
I'm a newbie in the RMI programation. I downloaded the sample code in Java tutorial in java.sun.com and tried to compiled it. First, I compiled the interface class and was going to compile the...
0
by: dklaming | last post by:
I am trying to work through some examples in CoreJava V2. The authors claim that I do not need to use rmic to generate stub classes. However, unless I use rmic then I get Unmarshalled Parameter...
6
by: ahmadraheel | last post by:
I have a distributed application requirement which should have a server listening for requests and a client sending an image and some data to the server. The server on receiving this, does some...
2
by: trispad | last post by:
Does anyone know how to get at the data within and ArrayList using RMI. I have looked at the source code for ArrayList and the Object Array elementData is a transient variable. Therefor when...
12
kirara
by: kirara | last post by:
Hello, I am new to rmi and linux enviroment, I have been trying to test this code (java) on uinx where there are three machines: -One as a Controller -an execution host - a submitter I...
10
oll3i
by: oll3i | last post by:
package hello_rmi_iiop; import java.rmi.Remote; import java.rmi.RemoteException; public interface HelloInterface extends Remote { public void sayHello( String from ) throws RemoteException;...
14
oll3i
by: oll3i | last post by:
when i try to compile my server i get the following errors D:\JAVA_P~1\SIMPLE~1>javac -classpath . PhoneDirServer.java PhoneDirServer.java:6: package PhoneDirectory does not exist import...
1
oll3i
by: oll3i | last post by:
Can i write a chat application on OpenJMS in eclipse? If yes what libs should i add to java build path? Could you also look at my other post (dont want to double) titled server compilation...
3
by: rengaraj | last post by:
Dear Experts, I am new to RMI, On my application i having 2 clients and an server. Frist client gets data from User. Second client Process the data (which was received by first client)...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.