Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 77817 invoked by uid 500); 27 Sep 2002 13:41:16 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 77800 invoked from network); 27 Sep 2002 13:41:15 -0000 Message-ID: <000b01c2662b$ee075500$a3bc178b@mhpa5vec> From: "Johannes Wechsler" To: Subject: java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader Date: Fri, 27 Sep 2002 15:43:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I want to use a webservice to start a Phython script, but always get the following exception: java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader (...) at TestClasses2.TestAction.notifyActionItem(TestAction.java:1301) The Interface "IScriptService" is in the same directory and package as the class TestAction out of which I call the webservice. That's definitly not the problem. The exception in the method notifyActionItem() occurs only if I call the method out of a cocoon action. If I call the method out of the main() method of the class TestAction, everything works properly and the Python script is performed. This is the code of the method notifyActionItem(). The exception occurs in the line that starts with "IScriptService...": try { IScriptservice myScriptService = ScriptserviceHelper.bind(); myScriptService.fire("c:\\ActionItemSystem\\newActionItem.py", null); } catch(Exception e) { e.printStackTrace();} Can anyone help me? I don't know what's the cause for my problem. Regards, Johannes --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: