jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaushal Zagade <zag...@gmail.com>
Subject testing Cactus and JSF - updated question with more information about the problem
Date Mon, 20 Dec 2004 18:20:06 GMT
hi,

i am having a problem running the program from the HTTPCient tutorial
on the cactus website at this link:

http://jakarta.apache.org/commons/httpclient/3.0/tutorial.html

i have downloaded the commons-logging-api.jar and the
commons-httpclient-3.0.alpha2.jar and put them in the lib directory
and the classpath of my java project as mentioned.

it is giving me this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/codec/DecoderException
at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:216)
at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88)
at test.HTTPClientTutorial.main(HTTPClientTutorial.java:18)

=========
the log file systemerr.log shows this message:

[12/17/04 11:02:04:967 PST] 00000040 SystemErr     R
org.xml.sax.SAXException: FWK005 parse may not be called while
parsing.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at com.ibm.wsspi.PluginParser.parsePlugin(PluginParser.java:379)
	at com.ibm.wsspi.RegistryLoader.parseRegistry(RegistryLoader.java:224)
	at com.ibm.wsspi.RegistryLoader.loadRegistry(RegistryLoader.java:79)
	at com.ibm.ws.console.core.action.LogonAction.execute(LogonAction.java:126)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
	at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
	at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
	at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
	at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
	at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

=========

i have not changed the code even a single bit.

kaushal

Mime
View raw message