>Hi Jonathan,
>
>thanks for the hint. I have made the mistake to put the needde jars (soap,
>xerces etc) in the
>JRE lib/ext directory. I did it because I was to lazy changing the
>CLASSPATH, so no wonder after I thought
>about it, that this does not work. Now it works fine.

Easily done and easy to miss - I had to remind myself when I started using a 
class that I had added to one classpth but not the other!

>But what I still don't understand is, why can't I just give the directory
>with the jars files to the CLASSPATH,


It can be annoying but you do seem to have to explicitly name each jar file 
rather than giving a directory that they all reside in.  This is probaly a 
java issue.  Usually with jar files - if you add them all to a directory 
that would be the "ext" directory associated with the jvm,  and thus if you 
did add jar files to the classpath they would be in dedicated folders 
associated with each ones application maybe.

Good to hear you have it working!


Jonathan

>instead I have to put everey single jar-file on to it. Is this normal for
>Java? All classpaths, before I customized them, never had a directly
>jar-file, but only directories. When I also do it that way, java doesn't
>find the classes :-(
>So I did it the long way and put an entry for each jar on the CLASSPATH
>
>bye
>Malte
>
>-----Ursprüngliche Nachricht-----
>Von: Jonathan Roberts [mailto:[EMAIL PROTECTED]]
>Gesendet: Freitag, 27. September 2002 14:07
>An: [EMAIL PROTECTED]
>Betreff: Re: another Starter's Question
>
>
>
>
>If the xml works on your machine.
>
>1. check that all the jar files can be found and are stated in the
>classpath.
>
>2. check that any objects you have created can be found in the classpath.
>
>
>Regards
>
>
> >Hi everyone,
> >
> >I got trouble deploying my services on soap with the XML-File.
> >It is not the xml-file itself, because on my own computer everything is
> >working fine. When I try to deploy it on another mashine I get following
> >Exception:
> >Exception in thread "main" java.lang.SecurityException: sealing violation
> >         at java.net.URLClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.access$100(Unknown Source)
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         at java.lang.ClassLoader.defineClass0(Native Method)
> >         at java.lang.ClassLoader.defineClass(Unknown Source)
> >         at java.security.SecureClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.access$100(Unknown Source)
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         at
> >org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Docume
>n
> >tBuilderFactoryImpl.java:91)
> >         at
> >org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(XMLParserUtils.jav
>a
> >:138)
> >         at org.apache.soap.rpc.Call.<init>(Call.java:87)
> >         at org.apache.soap.rpc.Call.<init>(Call.java:100)
> >         at org.apache.soap.rpc.Call.<init>(Call.java:94)
> >         at
> >org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClient.jav
>a
> >:81)
> >         at
> >org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:
>2
> >16)
> >
> >Obvieously there is something wrong with the installation of soap on this
> >computer
> >Tomcat 4.1 is used on it.
> >The advised tests in the startup-tutorial using an internetbrowser are
> >working fine.
> >
> >Can anybody give me a hint where to look for?
> >
> >Thanks
> >
> >Malte
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to