| Summary: | Add turbine-pool.jar to Cocoon CLASSPATH | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | kosmos <kosmos> |
| Component: | Individual Port(s) | Assignee: | Jun Kuriyama <kuriyama> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports->kuriyama Over to maintainer State Changed From-To: open->closed Committed, thanks |
Installation of Cocoon 1.8 causes the following error when the test page Cocoon.xml is called up: ------------------------------------ Cocoon 1.8 Publishing Engine could not be initialized. java.lang.RuntimeException: Error creating org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes can be found in +the classpath (org/apache/turbine/services/resources/TurbineResourceService) ------------------------------------ Fix: 1. Add turbine-pool.jar to the list of jarfiles listed in LIBS= varable in the Makefile, so it installs in /usr/local/share/java/classes 2. Add following line to pkg-message under item two: (Add following lines into jserv.properties.) "wrapper.classpath=/usr/local/share/java/classes/turbine-pool.jar" 3. Add an entry for turbine-pool.jar in pkg-plist How-To-Repeat: 1. Install Cocoon 2. With a web browser, address the Cocoon diagnostic test page (http://localhost/Cocoon.xml)