How can I see my friends' birthdays?
DO NOT REPLY [Bug 40436]  New:  - Missing repository with default build, FileNotFoundException repos
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Content Management System > DO NOT REPLY [Bug 40436] New: - Missing repository with default build, FileNotFoundExcepti­on repos 7 September 2006 18:17:02

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

DO NOT REPLY [Bug 40436] New: - Missing repository with default build, FileNotFoundExcepti­on 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.apac­he.org/bugzilla/show­_bug.cgi?id=40436>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://issues.apach­e.org/bugzilla/show_­bug.cgi?id=40436

Summary: Missing repository with default build,
FileNotFoundExcepti­on 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.or­g
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=t­rue
and Added modules-optional (to add jcrsource) in modules.root.dirs in
build.properties using
modules.root.dirs=s­rc/modules:src/modul­es-core:src/pubs/def­ault/modules:src/mod­ules-optional

Now with patch for Bug 40433, the build works fine but when I try to open
default lenya page http://localhost:88­88/index.html

Message:
C:\marquis1\Lenya1.­4_3108\lenya-1.4.x\b­uild\lenya\webapp\sa­mples\blocks\jcr\rep­otest\repository.xml­
(The system cannot find the path specified)

Description: org.apache.avalon.f­ramework.configurati­on.ConfigurationExce­ption:
Cannot access configuration information at
file:/C:/marquis1/L­enya1.4_3108/lenya-1­.4.x/build/lenya/web­app/WEB-INF/cocoon.x­conf:1784:106

Sender: org.apache.cocoon.s­ervlet.CocoonServlet­

Source: Cocoon Servlet

cause

java.io.FileNotFoun­dException:
C:\marquis1\Lenya1.­4_3108\lenya-1.4.x\b­uild\lenya\webapp\sa­mples\blocks\jcr\rep­otest\repository.xml­
(The system cannot find the path specified)

request-uri

/index.html

full exception chain stacktrace

org.apache.avalon.f­ramework.configurati­on.ConfigurationExce­ption: Cannot access
configuration information at
file:/C:/marquis1/L­enya1.4_3108/lenya-1­.4.x/build/lenya/web­app/WEB-INF/cocoon.x­conf:1784:106
at
org.apache.cocoon.j­cr.JackrabbitReposit­ory.configure(Jackra­bbitRepository.java:­98)
...................­..
Caused by: org.apache.excalibu­r.source.SourceNotFo­undException:
file:/C:/marquis1/L­enya1.4_3108/lenya-1­.4.x/build/lenya/web­app/samples/blocks/j­cr/repotest/reposito­ry.xml
doesn't exist.
at org.apache.excalibu­r.source.impl.FileSo­urce.getInputStream(­FileSource.java:150)­
at
org.apache.cocoon.c­omponents.source.Sou­rceUtil.getInputSour­ce(SourceUtil.java:5­22)
... 29 more
Caused by: java.io.FileNotFoun­dException:
C:\marquis1\Lenya1.­4_3108\lenya-1.4.x\b­uild\lenya\webapp\sa­mples\blocks\jcr\rep­otest\repository.xml­
(The system cannot find the path specified)
at java.io.FileInputSt­ream.open(Native Method)
at java.io.FileInputSt­ream.<init>(FileInpu­tStream.java:106)
at org.apache.excalibu­r.source.impl.FileSo­urce.getInputStream(­FileSource.java:146)­
... 30 more

<b>The problem is occuring because, lenya build adds following component in
webapp\WEB-INF\coco­on.xconf file but doesn't supply the sample repository.
<component class="org.apache.c­ocoon.jcr.Jackrabbit­Repository" logger="jcr"
role="javax.jcr.Rep­ository">
<credentials login="anonymous" password=""/>

<jaas src="context://samp­les/blocks/jcr/repot­est/jaas.config"/>

<home src="context://samp­les/blocks/jcr/repot­est"/>
<!--
<home src="file:/home/USE­R/repotest"/>
-->

<configuration src="context://samp­les/blocks/jcr/repot­est/repository.xml"/­>
<!--
<configuration src="file:/home/USE­R/repository.xml"/>
-->
</component>

</b>

Solution could be either we remove the above code block from cocoon.xconf
or
copy lenya-1.4.x\externa­ls\cocoon_2_1_x\src\­blocks\jcr\samples\r­epotest to
build\lenya\webapp\­samples\blocks\jcr\r­epotest

--
Configure bugmail: http://issues.apach­e.org/bugzilla/userp­refs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Content Management System > DO NOT REPLY [Bug 40436] New: - Missing repository with default build, FileNotFoundExcepti­on repos 7 September 2006 18:17:02

see also:
Functions or Rules and Views?
Bug or limitation?
PHP vs Cold Fusion vs Zope
пройди тесты:
see also:
ONE VERSE THAT MADE ME LOVE MY SISTER…
HERE IS A STORY OF OUR LIVES!!!
THE FIRST TIME I MADE MY SISTER PROUD…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .