You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/09/07 16:42:22 UTC

DO NOT REPLY [Bug 40437] New: - Missing registered namespace uri for http://apache.org/cocoon/lenya/page-envelope/1.0

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=40437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40437

           Summary: Missing registered namespace uri for
                    http://apache.org/cocoon/lenya/page-envelope/1.0
           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


The Import usecase doesn't work because of missing namespace uri for
http://apache.org/cocoon/lenya/page-envelope/1.0

http://apache.org/cocoon/lenya/page-envelope/1.0: is not a registered namespace uri.

org.apache.cocoon.ProcessingException: Error calling continuation at
file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecases.js:263:-1
at <map:call> -
file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecase.xmap:97:39
at <map:mount> -
file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/lenya/usecase.xmap:56:128
at <map:mount> -
file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/global-sitemap.xmap:309:105
at <map:mount> -
file:/C:/marquis1/Lenya1.4_3108/lenya-1.4.x/build/lenya/webapp/sitemap.xmap:668:106

cause: javax.jcr.NamespaceException:
http://apache.org/cocoon/lenya/page-envelope/1.0: is not a registered namespace uri.

javax.jcr.NamespaceException: http://apache.org/cocoon/lenya/page-envelope/1.0:
is not a registered namespace uri.
	at
org.apache.jackrabbit.core.NamespaceRegistryImpl.getPrefix(NamespaceRegistryImpl.java:312)
	at
org.apache.jackrabbit.core.LocalNamespaceMappings.getPrefix(LocalNamespaceMappings.java:206)
	at org.apache.jackrabbit.core.SessionImpl.getNamespacePrefix(SessionImpl.java:1218)
	at
org.apache.lenya.cms.jcr.LenyaJCRSourceFactory.createFileNode(LenyaJCRSourceFactory.java:29)
	at
org.apache.cocoon.jcr.source.JCRNodeSource.getOutputStream(JCRNodeSource.java:387)
	at org.apache.lenya.cms.cocoon.source.SourceUtil.copy(SourceUtil.java:74)
	at org.apache.lenya.cms.cocoon.source.SourceUtil.copy(SourceUtil.java:116)
	at org.apache.lenya.cms.cocoon.source.SourceUtil.copy(SourceUtil.java:135)
	at org.apache.lenya.cms.jcr.usecases.Import.doExecute(Import.java:91)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40437] - Missing registered namespace uri for http://apache.org/cocoon/lenya/page-envelope/1.0

Posted by bu...@apache.org.
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=40437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40437





------- Additional Comments From midha.rakesh@gmail.com  2006-09-08 07:32 -------

This is happening because component configuration for LenyaRepository is missing
in cocoon.xconf. 
    <component class="org.apache.lenya.cms.jcr.LenyaRepository" logger="jcr"
role="javax.jcr.Repository">
      <credentials login="anonymous" password=""/>
      <jaas src="context://jcr-repository/jaas.config"/>
      <home src="context://jcr-repository/repository"/>
      <configuration src="context://jcr-repository/repository.xml"/>
      
      <namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/>
      <namespace prefix="dcterms" uri="http://purl.org/dc/terms/"/>
      <namespace prefix="lenya"
uri="http://apache.org/cocoon/lenya/page-envelope/1.0"/>
    </component>

I tried to check this and I feel this is happening because of Revision 381340 on
lenya/trunk/src/targets/test-build.xml. 
Which says "
Set patch.webapp property to 'false' before starting tests. This way, the
property is handled correctly even if the webapp and test targets are executed
subsequently in the same process."

se should set  <property name="patch.webapp" value="true"/> by default in
test--build.xml

What are your views on this? 

Also have a look at Bug 40436 which is happening for the same reason.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40437] - [jcr] Missing registered namespace uri for http://apache.org/cocoon/lenya/page-envelope/1.0

Posted by bu...@apache.org.
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=40437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40437


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.4                         |Trunk




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40437] - [jcr] Missing registered namespace uri for http://apache.org/cocoon/lenya/page-envelope/1.0

Posted by bu...@apache.org.
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=40437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40437


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.4.1                       |2.0.1




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40437] - [jcr] Missing registered namespace uri for http://apache.org/cocoon/lenya/page-envelope/1.0

Posted by bu...@apache.org.
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=40437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40437


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Missing registered namespace|[jcr] Missing registered
                   |uri for                     |namespace uri for
                   |http://apache.org/cocoon/len|http://apache.org/cocoon/len
                   |ya/page-envelope/1.0        |ya/page-envelope/1.0




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 40437] - Missing registered namespace uri for http://apache.org/cocoon/lenya/page-envelope/1.0

Posted by bu...@apache.org.
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=40437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40437


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.4                         |1.4.1




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org