Good morning to all.
This may not be an Axis issue - if it's not, I apologize and will send it
over the the Tomcat users list.....
I'm in the process of developing a 'proof of concept' system for integrating
some legacy systems into my companys web-enabled systems. To accomplish
this, I've written a very basic server that runs on a Linux (RedHat 9) box
and listens for RMI calls. This server simply (at least right now) accepts
a command, validates it against some internal tables, and then starts an
appropriate process on the Linux box. Very simple, and works as expected.
I can invoke this server from another Java program running on a Win2K box
without any problems. I am now trying to implement a web service under Axis
/ Tomcat that will also invoke the RMI server on the Linux box. For some
reason I am getting the following error back from the RMI server:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException:
labone.CommandLineInterfaceImpl_Stub (no security manager: RMI class loader
disabled)
This only occurs when I invoke the RMI server from my web service; I do not
get this error from my dumb little test program. I've started the RMI
server using the -Djava.security.policy= parameter (points to a local policy
file). The policy file is wide open - i.e.
grant {
permission java.security.AllPermission;
};
so I don't think this is really a security manager / policy issue.
I imagine that this is something simple that I've overlooked, either in Axis
or in Tomcat, but I can't seem to put my finger on it. Can someone point me
in the right direction?
Thanks!
Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
This transmission (and any information attached to it) may be confidential and
is intended solely for the use of the individual or entity to which it is
addressed. If you are not the intended recipient or the person responsible for
delivering the transmission to the intended recipient, be advised that you
have received this transmission in error and that any use, dissemination,
forwarding, printing, or copying of this information is strictly prohibited.
If you have received this transmission in error, please immediately notify
LabOne at the following email address: [EMAIL PROTECTED]