QAIX > Content Management System > DO NOT REPLY [Bug 40436] New: - Missing repository with default build, FileNotFoundException repos 7 September 2006 18:17:02
Recent blog posts:
PS3 firmware update adds full… Eric Lempel, Sony's Director of PlayStation Network Operations, has posted on the official PlayStation 3…
Nintendo makes $6 profit on… According to Macquarie Securities analyst David Gibson, Nintendo makes $6 USD operating profit on each…
Maintenance in winter Skin for winter very easy to do, if does not supplement the moisture in time, like persimmons, flat and…
'Jasper' Xbox 360s finally… 'Jasper' Xbox 360s finally available According to a flooding of posts over at xbox-scene, it appears…
How to transfer Napster music… Music purchased from Napster is under DRM protection, which stops customers from playing the downloaded…
The song my brother taught me Don't let your heart be hardened Don't let your love grow cold May it always stay so childlike May it…
My brother taught me this… God grant me the serenity to accept the things I cannot change; courage to change the things I can;…
DO NOT REPLY [Bug 40436] New: - Missing repository with default build, FileNotFoundException repos
Guest 7 September 2006 18:17:02
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40436>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
Summary: Missing repository with default build, FileNotFoundException repository.xml Product: Lenya Version: 1.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Repository Integration AssignedTo: dev@lenya.apache.org ReportedBy: midha.rakesh@gmail.com BugsThisDependsOn: 40433
To build lenya with jcr I activated jcr block in cocoon_2_1_x/blocks.properties using include.block.jcr=true and Added modules-optional (to add jcrsource) in modules.root.dirs in build.properties using modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:src/modules-optional
Now with patch for Bug 40433, the build works fine but when I try to open default lenya page http://localhost:8888/index.html
Message: C:\marquis1\Lenya1.4_3108\lenya-1.4.x\build\lenya\webapp\samples\blocks\jcr\repotest\repository.xml (The system cannot find the path specified)
Description: org.apache.avalon.framework.configuration.ConfigurationException: Cannot access configuration information at file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/WEB-INF/cocoon.xconf:1784:106
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
java.io.FileNotFoundException: C:\marquis1\Lenya1.4_3108\lenya-1.4.x\build\lenya\webapp\samples\blocks\jcr\repotest\repository.xml (The system cannot find the path specified)
request-uri
/index.html
full exception chain stacktrace
org.apache.avalon.framework.configuration.ConfigurationException: Cannot access configuration information at file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/WEB-INF/cocoon.xconf:1784:106 at org.apache.cocoon.jcr.JackrabbitRepository.configure(JackrabbitRepository.java:98) ..................... Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/samples/blocks/jcr/repotest/repository.xml doesn't exist. at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150) at org.apache.cocoon.components.source.SourceUtil.getInputSource(SourceUtil.java:522) ... 29 more Caused by: java.io.FileNotFoundException: C:\marquis1\Lenya1.4_3108\lenya-1.4.x\build\lenya\webapp\samples\blocks\jcr\repotest\repository.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146) ... 30 more
<b>The problem is occuring because, lenya build adds following component in webapp\WEB-INF\cocoon.xconf file but doesn't supply the sample repository. <component class="org.apache.cocoon.jcr.JackrabbitRepository" logger="jcr" role="javax.jcr.Repository"> <credentials login="anonymous" password=""/>
Solution could be either we remove the above code block from cocoon.xconf or copy lenya-1.4.x\externals\cocoon_2_1_x\src\blocks\jcr\samples\repotest to build\lenya\webapp\samples\blocks\jcr\repotest
QAIX > Content Management System > DO NOT REPLY [Bug 40436] New: - Missing repository with default build, FileNotFoundException repos 7 September 2006 18:17:02