me that name of the virus???
It's
http:[EMAIL PROTECTED]
which does have a downloadable removal-tool.
Tom Myers
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
religious issue.
(Yes, I know we're straying from SOAP, and won't continue the
"Ed King?" thread further even to speculate that this atypical
behavior for the virus amounted to a DoS attack by an evil
Windows machine on an open-source list. no no no, it wasn't me
saying that,
chine where his email address was stored, and
(c) Norton identified it for me as w32.yaha.f@mm,
so it must have come from a Windows machine, but
http:[EMAIL PROTECTED] says
The From field is a randomly-selected email address and may not be the legitimate sender.
(Just curious.)
Tom
on't be
seen even though they are on the classpath. Life is difficult; do
you want to give these guys AllPermissions? You can't write a
distributable app that way unless everybody you distribute it to
trusts you completely...but it may be what you want, for now.
Tom Myers
--
To unsubscribe, e
> > On Mon, 3 Dec 2001, Lucas Gonze wrote:
> >
> > > Using soap-2_2/lib/soap.jar and invoking SMTP2HTTPBridge, I get the
> > following
> > > error:
> > > java -classpath C:/src/mandingo/lib/soap-2_2/lib/soap.jar
> > > org.apache.soap.server.SMTP2HTTPBridge
> > > java.lang.NoClassDefFoundError:
tllation where one
>is supposed to set the class path.
>
>Thanks,
>ashok
SOAP 2.2 seems to work fine in Tomcat 4.0.1 without touching the
catalina.bat startup file; just put your jar files, soap.jar etc. etc., into your
/common/lib
directory.
Tom Myers
x27;m just starting to transfer stuff
and I'm not nearly done.) Tomcat 4.0 really doesn't seem to want you to make
much use of the explicit classpath...
Tom Myers
At 08:44 AM 10/12/2001 -0700, Alex Kashko wrote:
>"1.3 Help! I'm getting this error: "Unable to resolve ta
hat I'm not very careful about charset;
it is specified, but not consistently. :-) )
Feedback appreciated, of course.
Tom Myers
<%@ page errorPage="error.jsp" import="java.net.*,java.io.*"
%><% // Tom Myers, [EMAIL PROTECTED] June 2001; feedback appreciated.
/* th
ry.newTransformer();
transformer.transform(new DOMSource(el), new StreamResult(out));
where "out" is a java.io.Writer --- this is clipped from a jsp page;
but only if you want to maximize portability with the option of
running an XSLT stylesheet within the transformer later on...)
Now let's see if somebody posts something better. :-)
Tom Myers
o-8859-1", must be:
>"text/xml". Response was:
>]
probably http://xml.apache.org/soap/faq/faq_chawke.html#Q4_5
Tom Myers
he call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError".
> How to resolve this problem?
>
http://xml.apache.org/soap/faq/faq_chawke.html#Q1_5
You almost certainly have another parser that's being picked up rather
than xerces.
Tom Myers
almost certainly have another parser that's being picked up rather
than xerces.
Tom Myers
icking mostly
with Apache (i.e., xerces, and for XSLT on top of that use xalan
unless you have a special reason not to.)
Tom Myers
you're using
something other than xalan, make sure the jar defines TransformerException.
Tom Myers
_SOAP_ENC,
> new QName("urn:nasdaqquotes-service", "NasdaqQuote"),
> NasdaqQuote.class, beanSer, beanSer);
(That assumes that your actual quote class is called NasdaqQuote and can be
deserialized by the BeanSerializer class, of course.) But I don't know how
this sort of issue interrelates with IBM WSTK2.3
Tom Myers
, and I keep meaning to see if this is sensitive to
the number of special chars ("<",">","&" and so forth) which get
converted; if I did this and had a performance problem, I'd try a
java.net.URLEncoder / URLDecoder pair just to see what happened.
(I'm not at all sure this addresses what you're doing, but it might.)
Tom Myers
.apache.xml.serialize.OutputFormat("xml","utf-8",true))
> .asDOMSerializer().serialize(purchaseOrder);
to see if the Element is actually there--I just don't know, from what you've said.
toString() may tell somebody, but it doesn't tell me much. (Mayb
apache.xml.serialize
>.XMLSerializer(System.out,
> new org.apache.xml.serialize.OutputFormat("xml","utf-8",true))
> .asDOMSerializer().serialize(doc);
(assuming that you're using apache, of course)? In other words, the document is
being lost, so you've just got to track it as far as it goes... :-)
Tom Myers
(Element)kids.item(0);
> // Add to first document
> Node newOneToMove = doc1.importNode(oneToMove, true);
> firstRoot.appendChild(newOneToMove);
Tom Myers
erl.jann.com/tomcat/200102/msg00485.html
suggest that maybe the requisite port number is not getting filled in;
try using TcpTunnelGui (yes, you can use it even when it's ant calling on
the deploy service...unless I just need more coffee this morning.)
Tom Myers
OAP-ENV:Client; msg=A
>'http://schemas.xmlsoap.org/soap/envelope/:Fault'
>element must contain a: 'faultcode' element.;
http://xml.apache.org/soap/faq/faq_chawke.html#Q1_1
:-)
Tom Myers
ava.lang.Object value,
> java.lang.String encodingStyleURI)
(from the javadoc)
Did you want to use more than one per parameter, or more
than one for the result? Or am I just confused as usual?
Tom Myers
to check within a jsp, say insert
Rhino Implementation:
<%
try {
out.write(new org.mozilla.javascript.Context().getImplementationVersion());
}catch(Exception ex){out.write("none ");}
%>
into cp.jsp -- it won't compile unless the class is found,
of course.
Tom Myers
f the print methods found in PrintStream.
It does not contain methods for writing raw bytes, for which a program
should use unencoded byte streams."
Tom Myers
P your "deploy.jsp" is from.
There is no NS_URI_BML_ENC anywhere in any file of SOAP 2.0, 2.1, or 2.2,
so far as I can see, but as you can see from the archives it did at
one time exist (a ref to the Bean Markup Language). Very odd. What
files do you have that contain this string, and where/when did they
arise?
Tom Myers
re\lib\ext. On other
machines, I've had to go the other way and keep jre\lib\ext completely
empty. Heads you lose, tails you lose even more. :-) )
Tom Myers
ans that Xerces 1.4.2 has dropped the framework.Version.fVersion system..so I
just downloaded Xerces 1.4.2 (source) and looked, and am not surprised because
it's still there. My suspicion is that the classpath you tried to set up is not
the one you're getting, as happens all too often to people on this list.
cat tries to do) or
at the end? If they're in front, then the crimson.jar may have taken over
and you'll be using its DocumentBuilderFactory...
Tom Myers
ck. It's easy to lose track.)
Did you try running the cp.jsp and (more relevantly, since testit.sh depends on
the command-line settings) the cp.java I sent? It does try to test precisely
this, looking for your DocumentBuilder class as loaded by XMLParserUtils...
Tom Myers
At 02:03 PM 7/23/2001 -0600, Liaw, Wan-Bih wrote:
>What is TcpTunnelGui for?
http://xml.apache.org/soap/faq/faq_chawke.html#Q2_10
Tom Myers
rvlet/rpcrouter";, false);
xmlhttp.setRequestHeader("SOAPAction", "''")
xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=iso-8859-1")
xmlhttp.Send(SOAPRequest.xml);
There are trivial differences, but I'm not sure any of them are likely to be
causing the problem, so you may have to look at your actual sending and the
actual return via TcpTunnelGui.
Tom Myers
of them (Tomcat, websphere, JRun, etc etc) messes up the classpath
in its own individual way... hope this helps.
Tom Myers
in "the
soap webapp", i.e. jakarta-tomcat/webapps/soap; the URL follows the
directory structure. I don't understand how a page not found error could
arise.
Tom Myers
into your soap webapp, and check
http://localhost:8080/soap/cp.jsp
and see if the ext-dir / classpath combination is what you
thought it was.
Classpath and so forth
Classpath (and other system properties); if you improve this
code, please tell Tom Myers <[EMAIL PROTECTED]> abou
be supplemented with just the java.class.path value.
Some people are getting hurt by the classpath values that they
think they know, that aren't quite so... the SOAP distribution
can't stop that from happening, but could make it less common.
Thoughts?
Tom Myers
package, and also the tools.jar
>of the JDK 1.2.2 to the JRun\lib\ext directory.
>5. Restart the admin server.
Of course you wouldn't do exactly this, since you're not installing cocoon. :-)
Tom Myers
d" message from Tomcat certainly makes sense if
you're looking for something that's actually somewhere else
Are you sure you put it at soap/rpcrouter?
Tom Myers
king at anyway; this will of course be slower
than the byte-array approach, but you don't have to think about the contentlength.)
Or am I missing something again?
Tom Myers
TTP POST with
some XML text underneath. There are lots of samples around; you
say "non Java", but that just rules out one of many.
Tom Myers
classpath= variable
It says other things which you've presumably got to read, but I
think the problem here is that you are running a DOM 1 parser
underneath SOAP. Hope this helps...
Tom Myers
>(b) what happens when you look at
><http://localhost:80/soap/rpcrouter>h
ath, and of course it also
uses your JAVA_HOME /jre/lib/ext
(d) what's your server classpath?
(e) what jars are in your JAVA_HOME /jre/lib/ext and especially which of
them contain the uncompressed string
org/xml/sax/helpers/AttributesImpl
(use grep, or ^F for windows)
Tom Myers
>--
ception (" Cannot create bean of class "+"sessions.DummyCart");
>}
which is from one of the Tomcat example JSPs. In this case you're getting it from
list.jsp's generated servlet, and neither SOAP 2.2 nor SOAP 2.1 load the ServiceManager
as a bean. Is it possible that you're still using the SOAP 2.0 list.jsp file here?
Or am I wildly off again?
Tom Myers
a variant on
http://xml.apache.org/soap/faq/faq_chawke.html#Q1_4 or of course #Q1_5
'cos it certainly sounds like an out-of-date parser has gotten hold of this;
getQName in that package was once called getRawName
(see http://www.megginson.com/SAX/Java/changes.html )
Or then again, it might be something totally Other.
Tom Myers
cidentally jarred it from the
wrong directory, and then
(b) drop that jar into your JAVA_HOME's jre/lib/ext directory, which makes
it about as visible as it can be. (But it can make other programs invisible
to it; this is a question of hierarchy-of-class-loaders. sigh.)
If you already tried that, um, I dunno.
Tom Myers
ToLookup", String.class,
nameToLookup, null));
That constructor, in the javadocs, is described as
Parameter(String name, Class type, Object value, String encodingStyleURI);
and the last argument doesn't actually have to be null. Does this help?
Tom Myers
e
server does not. (or maybe I'm just not seeing something, again.)
Tom Myers
docs, which was silly of me.
Much better answer:
http://xml.apache.org/soap/faq/faq_chawke.html#Q1_5
Tom Myers
vlet/rpcr" at the end of a line
instead of "servlet/rpcrouter"). Actually the error may occur
even if you have Xerces 1.4 or better (do _not_ use 1.3.1) at
the front of the classpath, but usually that has to do with
things in your lib/ext directory.
Tom Myers
l/iPlanet.html does mention
that Xerces 1.4 and later is okay. Maybe it's there...but I can't find
the string "1.3.1" in the docs. It is a frequently-asked-question
on this list, anyway.)
Tom Myers
"); with SOAP I do believe it's a FAQ, but
it's not in the FAQs I've looked at.
Tom Myers
calls on your
utility code, though, to populate the address book within the same JVM. Surely
in anything realistic you'd be using a database of some sort?
Tom Myers
es not care. Thus I have no trouble running a SOAP
service on this machine and a client on another machine connected via
ethernet...but maybe I'm just not understanding the difficulty.
Tom Myers
one copy loading
of a Singleton class, e.g. a DatabaseManager class. Here you
should move the class upwards, if necessary to jre/lib/ext.
I haven't seen this one in a SOAP context, or at least if I
saw it I didn't know that's what it was. Consider
http://members.spree.com/education/developergrp/code/dynamic.htm
---
Maybe somebody can think of a briefer, clearer way to put
that kind of issue, and put it on a FAQ...Jonathan? hmm.
I dunno.
Tom Myers
d really like to have a good conceptual model of this, presumably
starting with what McLanahan's talking about, and if somebody out
there can point to a document which describes it then (a) I'd be very
grateful, and (b) I suspect that the SOAP docs, and every other such
project where these questions come up so often, should point to that
document just as a timesaver.
Tom Myers
carried out. SOAP was okay.) Of course
your mileage may vary. :-) Aren't classpaths fun? (Are they worse than "DLL
hell?" Nah, I guess not.)
Tom Myers
be much reduced. If it's really an
AdaptiveServletLoader (I admit I'm too confused just now to tell) wouldn't
a getClassPath() be usable here? I definitely need some more coffee.
Tom Myers
T too, so far as I know, but it hasn't always worked for me)
or maybe just by dropping it into jakarta-tomcat\lib, if you're using tomcat.
Then restart your service and hope to get through to some other error message.
If this works, then please post back to the list that the troubleshooting doc
needs an amplification (I assume you wouldn't be getting this message if the
service really wasn't deployed. But maybe I'm wrong again.)
Tom Myers
d js.jar libraries to the start of the application server's
>classpath.
In other words, it's really the same classpath problem that appears in
other guises in other parts of the installation docs.
Tom Myers
ng up would run quite
well when I ran it outside of Tomcat, and that setting the system variable
javax.xml.parsers.DocumentBuilderFactory had no effect that I could discover,
and so forth and so on. Well, almost a day.) I still don't know what was
wrong. Good luck.
Tom Myers
--
ot;
xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>
or some such (with xml-soap-demo-whatever replaced by your actual urn) and either
this works better or it doesn't. If it doesn't, then I have made my 3,913th mistake
of the day, w
ve the result
from the rpcrouter and pass it back to the client browser; better, at
times, is to add a third parameter, xsl=, and use that to select
an XSLT stylesheet for serverside processing of the SOAP result. I'm
not sure how interesting this is, but the technique is not difficult.
I correct this?
Are you using "request" scope? I certainly have no problem
getting new answers from new calls with different parameters...
Tom Myers
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
onnection. I know that several schemas are referenced throughout the
>course of a soap call.
Some of the samples depend on net access, but if you're set up with
Tomcat in the basic-standard way you should have no problem. Mostly I
63 matches
Mail list logo