This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Urgent need help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Urgent need help" Watch "Urgent need help" New topic

Urgent need help

bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
After installing and running cocoon. I installed Cocoon 1.8, and I don't know why it's not working. Could somoene tell me what's wrong. This is what I get below:
Cocoon Build System
Building with classpath .\lib\ant.jar;c:\jdk1.3.1\lib\tools.jar;.\lib\xerces_1_0
Starting Ant...
Buildfile: build.xml
Project base dir set to: C:\webapp\cocoon\Cocoon
Executing Target: init
------------------- Cocoon 1.7.4 [1999-2000] ----------------
Executing Target: prepare
Created dir: C:\webapp\cocoon\Cocoon\build
Executing Target: prepare-projectx
Executing Target: prepare-xt
Executing Target: prepare-ecma
Executing Target: prepare-ldap
Copying 5 files to C:\webapp\cocoon\Cocoon\build\src
Executing Target: prepare-doclet
Copying 1 files to C:\webapp\cocoon\Cocoon\build\src
Executing Target: prepare-src
Created dir: C:\webapp\cocoon\Cocoon\build\classes
Copying 112 files to C:\webapp\cocoon\Cocoon\build\src
Executing Target: compile
Compiling 106 source files to C:\webapp\cocoon\Cocoon\build\classes
Note: 6 files use or override a deprecated API. Recompile with "-deprecation" f
or details.
1 warning
Copying 12 support files to C:\webapp\cocoon\Cocoon\build\classes
Executing Target: package
Building jar: C:\webapp\cocoon\Cocoon\build\cocoon.jar
Completed in 7 seconds

Unable to open resource:
at org.apache.cocoon.Cocoon.init(
at com.newatlanta.servletexec.ServletExec.CallServletInit(
at com.newatlanta.servletexec.ApplServletContext.CreateServlet(
at com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(
at com.newatlanta.servletexec.ApplServletContext.getServlet(
at com.newatlanta.servletexec.SERequestDispatcher.forward(
at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(
at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(
at com.newatlanta.servletexec.ServletExec.ProcessRequest(

bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
I found the solution. You have to hard code the path of the propertie file (c: ...) and set the correct classpath to the .jar files in your web server.
I agree. Here's the link:
subject: Urgent need help
It's not a secret anymore!