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 ?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
2 replies Latest Post - 2007-08-24T19:45:39Z by SystemAdmin
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:51Z in response to SystemAdminHi 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:39Z in response to SystemAdminWell
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