Very interesting article.
The example code, doesn't run ...
I downloaded and use with Eclipse 3.3.0 and get some compiler errors about classes that not found.
For example, when try to run Test class, got Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/serialize/Serializer
SO, the Apache Xerces is not in dependency lib ... and so on.
I deploy the WAR in Apache TOmcat 5.5.17 .. and point th browser to http://localhost:8080/capserver/xxxx
and get error 404
SO, I get confused ... could you write a Tutorial instead ?
The developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this community and its apps will no longer be available. More details available on our FAQ.
Pinned topic Publish critical public warnings on the Web
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2007-08-24T19:45:39Z at 2007-08-24T19:45:39Z by SystemAdmin
Re: Publish critical public warnings on the Web2007-08-24T15:29:51ZThis is the accepted answer. This is the accepted answer.Hi again
Let's go ahead ... I'm persistent ... :-)
Today, I have more time to investigate the issues ...
First, the main class com.ibm.developerworks.cap.test.Test must have to be refactor: you must import
instead of import org.apache.abdera.protocol.client.AbderaClient; This class doesn't exist.
Second, when create the client, you must use:
Client abderaClient = new CommonsClient(abdera);
AbderaClient abderaClient = new AbderaClient(abdera);
I was reading your previous article about "Introducing the Apache Abdera project" and this changes comes from it.
At this point, the main class compiles and runs fine. So, I'll try to solve other issues ( I've) on the server side.
Re: Publish critical public warnings on the Web2007-08-24T19:45:39ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
After lunch, finally I can start the Hadoop in Linux and deploy the war in Tomcat 5.5.17.
I note that the war file lacks of :
After re-package it, the main Test class can call the application.
I got an error now at the tomcat output log:
24/08/2007 02:38:32 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo capserver.war de la aplicación web
org.apache.abdera.security.SecurityException: java.lang.RuntimeException: org.ap
ache.xml.security.signature.XMLSignatureException: object not initialized for si
gnature or verification
Original Exception was java.security.SignatureException: object not initialized
for signature or verification