You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Amir Tahvildaran (JIRA)" <je...@portals.apache.org> on 2010/01/08 22:39:54 UTC

[jira] Created: (JS2-1095) simplest portal documentation broken

simplest portal documentation broken
------------------------------------

                 Key: JS2-1095
                 URL: https://issues.apache.org/jira/browse/JS2-1095
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Site Documentation
    Affects Versions: 2.2.0
            Reporter: Amir Tahvildaran


http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html

Following the deployment for the simplest portal doesn't work.  It gives the error:

DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
     Location: line 2

changing line 2 of portlet.xml to:
    <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
                                 http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">

works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Reopened: (JS2-1095) simplest portal documentation broken

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko reopened JS2-1095:
-----------------------------


Hi Amir,

I have no idea on the release schedule, but you can see the roadmap in David's blog article: http://davidseantaylor.blogspot.com/.
And, regarding the pages folder, I didn't realize that the default pages folder had been changed since 2.2.0. I've just confirmed that the pages folder was created in $CATALINA_HOME/pages/. So, I'm reopening this issue for this problem.

Thank you very much for pointing out this.

Regards,

Woonsan

> simplest portal documentation broken
> ------------------------------------
>
>                 Key: JS2-1095
>                 URL: https://issues.apache.org/jira/browse/JS2-1095
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Site Documentation
>    Affects Versions: 2.2.0
>            Reporter: Amir Tahvildaran
>
> http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html
> Following the deployment for the simplest portal doesn't work.  It gives the error:
> DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
>      Location: line 2
> changing line 2 of portlet.xml to:
>     <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
>                                  http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
> works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (JS2-1095) simplest portal documentation broken

Posted by "Amir Tahvildaran (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799523#action_12799523 ] 

Amir Tahvildaran commented on JS2-1095:
---------------------------------------

And it seems the place for psml files is different, just "$CATALINA_HOME/pages", not $CATALINA_HOME/webapps/jetspeed/WEB-INF/pages

-Amir

> simplest portal documentation broken
> ------------------------------------
>
>                 Key: JS2-1095
>                 URL: https://issues.apache.org/jira/browse/JS2-1095
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Site Documentation
>    Affects Versions: 2.2.0
>            Reporter: Amir Tahvildaran
>
> http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html
> Following the deployment for the simplest portal doesn't work.  It gives the error:
> DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
>      Location: line 2
> changing line 2 of portlet.xml to:
>     <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
>                                  http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
> works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (JS2-1095) simplest portal documentation broken

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799597#action_12799597 ] 

Woonsan Ko commented on JS2-1095:
---------------------------------

Hi Amir,

Regarding the namespace issue in the portlet descriptor, it is not required any more to put namespace uri in the portlet descriptor from the next release, 2.2.1. This problem has been improved by the issue, https://issues.apache.org/jira/browse/JS2-1061.
It will be enough to put "version" attribute without namespace uri for convenience. So, I think the documentation could be kept as it is.

By the way, did you set another pages folder during installation? I think the default location is $CATALINA_HOME/webapps/jetspeed/WEB-INF/pages.
If it is the case, I think we need to mention the location as a default one.

-Woonsan

> simplest portal documentation broken
> ------------------------------------
>
>                 Key: JS2-1095
>                 URL: https://issues.apache.org/jira/browse/JS2-1095
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Site Documentation
>    Affects Versions: 2.2.0
>            Reporter: Amir Tahvildaran
>
> http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html
> Following the deployment for the simplest portal doesn't work.  It gives the error:
> DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
>      Location: line 2
> changing line 2 of portlet.xml to:
>     <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
>                                  http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
> works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (JS2-1095) simplest portal documentation broken

Posted by "Amir Tahvildaran (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amir Tahvildaran resolved JS2-1095.
-----------------------------------

    Resolution: Not A Problem

Thanks Woonsan.

I'll update to 2.2.1 ASAP.  How can I learn about the release schedule/road map?  (Or can you tell me when 2.2.1 is GA?)

Regarding the pages folder:
I wasn't feeling adventurous for this first installation so I didn't intentionally change any defaults (followed http://portals.apache.org/jetspeed-2/getting-started-installer.html) I can double check this next install.  I'm marking this as resolved, I'll reopen it if, when I reinstall 2.2.1, I find the pages directory defaults to $CATALINA_HOME, yes?

Thanks again,
Amir

> simplest portal documentation broken
> ------------------------------------
>
>                 Key: JS2-1095
>                 URL: https://issues.apache.org/jira/browse/JS2-1095
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Site Documentation
>    Affects Versions: 2.2.0
>            Reporter: Amir Tahvildaran
>
> http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html
> Following the deployment for the simplest portal doesn't work.  It gives the error:
> DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
>      Location: line 2
> changing line 2 of portlet.xml to:
>     <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
>                                  http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
> works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (JS2-1095) simplest portal documentation broken

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko resolved JS2-1095.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1

Fixed the portal pages directory path with the default installation options.
Thank you, Amir, for pointing out this problem.

Woonsan

> simplest portal documentation broken
> ------------------------------------
>
>                 Key: JS2-1095
>                 URL: https://issues.apache.org/jira/browse/JS2-1095
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Site Documentation
>    Affects Versions: 2.2.0
>            Reporter: Amir Tahvildaran
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html
> Following the deployment for the simplest portal doesn't work.  It gives the error:
> DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
>      Location: line 2
> changing line 2 of portlet.xml to:
>     <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
>                                  http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
> works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (JS2-1095) simplest portal documentation broken

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko reassigned JS2-1095:
-------------------------------

    Assignee: Woonsan Ko

> simplest portal documentation broken
> ------------------------------------
>
>                 Key: JS2-1095
>                 URL: https://issues.apache.org/jira/browse/JS2-1095
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Site Documentation
>    Affects Versions: 2.2.0
>            Reporter: Amir Tahvildaran
>            Assignee: Woonsan Ko
>
> http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html
> Following the deployment for the simplest portal doesn't work.  It gives the error:
> DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app>,<{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app> 
>      Location: line 2
> changing line 2 of portlet.xml to:
>     <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" 
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>              xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
>                                  http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
> works, although I'm not sure about the versions "1_0" or "2_0".  Seems like either would work from the error message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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