You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Erlend Garåsen (JIRA)" <ji...@apache.org> on 2012/04/23 17:11:34 UTC

[jira] [Created] (CONNECTORS-467) MCF version 0.5 does not run on Resin

Erlend Garåsen created CONNECTORS-467:
-----------------------------------------

             Summary: MCF version 0.5 does not run on Resin
                 Key: CONNECTORS-467
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
             Project: ManifoldCF
          Issue Type: Bug
          Components: Framework core
    Affects Versions: ManifoldCF 0.5
            Reporter: Erlend Garåsen
            Assignee: Erlend Garåsen
             Fix For: ManifoldCF 0.6


Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml

It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CONNECTORS-467) MCF version 0.5 does not run on Resin

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260385#comment-13260385 ] 

Karl Wright commented on CONNECTORS-467:
----------------------------------------

You would only need to open a vote thread if you are removing an option or destroying backwards compatibility.  So please just go ahead with (2).

                
> MCF version 0.5 does not run on Resin
> -------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright updated CONNECTORS-467:
-----------------------------------

    Attachment: CONNECTORS-467.patch
    
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>         Attachments: CONNECTORS-467.patch
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Erlend Garåsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261687#comment-13261687 ] 

Erlend Garåsen commented on CONNECTORS-467:
-------------------------------------------

It seems that we need to go for the first option instead in order to keep JSP 1.x compatibility. Since the tag libraries in JSTL 1.2 have new URIs (e.g. http://java.sun.com/jsp/jstl/core), web containers will probably assume the new URIs unless the old ones are specified.

I have placed the <taglib> directives inside a <jsp-config> directive and tested MCF on Resin 4.0.19, Tomcat 7.0.6 and Jetty 7.5.4 without any problems. If there are no comments, I will commit my changes tomorrow.
                
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright resolved CONNECTORS-467.
------------------------------------

    Resolution: Fixed
    
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
>            Reporter: Erlend Garåsen
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5.1, ManifoldCF 0.6
>
>         Attachments: CONNECTORS-467.patch
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright updated CONNECTORS-467:
-----------------------------------

             Priority: Critical  (was: Major)
    Affects Version/s: ManifoldCF 0.6
        Fix Version/s: ManifoldCF 0.5.1
             Assignee: Karl Wright  (was: Erlend Garåsen)

Triaging this for the 0.5.1 release.

                
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
>            Reporter: Erlend Garåsen
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5.1, ManifoldCF 0.6
>
>         Attachments: CONNECTORS-467.patch
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Erlend Garåsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erlend Garåsen resolved CONNECTORS-467.
---------------------------------------

    Resolution: Fixed

r1330696.
                
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CONNECTORS-467) MCF version 0.5 does not run on Resin

Posted by "Erlend Garåsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260373#comment-13260373 ] 

Erlend Garåsen commented on CONNECTORS-467:
-------------------------------------------

bq. Alternatively, if there is a way to do the same thing without wrecking JSP 1.x compatibility, then we can just fix this.

JSP 1.2 TLD files, to which the path is referenced in our web.xml, should be upward compatible. There should be no need to change them in order to be compatible with JSP 2.0. Some web containers, such as Resin, complains because we are now pointing to an XSD which does not have any reference to a taglib alement:
{code}
http://java.sun.com/xml.ns/javaee/web-app_2_5.xsd" version="2.5">
{code}

We have two options:
1. Place the taglib directives inside a <jsp-config> directive.

2. Just remove the taglibs directives. JSP containers should automatically look for TLD files in all subfolders of <app>/WEB-INF which is the case for MCF (they are placed inside the subfolder "jsp").

I think we should go for the last option. I can try to deploy the application on both Resin and Tomcat in order to test whether it works as expected. Do you think we should open a vote thread for these two options mentioned above?


                
> MCF version 0.5 does not run on Resin
> -------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Erlend Garåsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erlend Garåsen updated CONNECTORS-467:
--------------------------------------

    Summary: Remove outdated taglib directives in web.xml  (was: MCF version 0.5 does not run on Resin)
    
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CONNECTORS-467) MCF version 0.5 does not run on Resin

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259667#comment-13259667 ] 

Karl Wright commented on CONNECTORS-467:
----------------------------------------

If this is a jsp 1.x vs jsp 2.0 issue, I think we'd better get buy-in from the community before making this change.  We will also need to update or create a document describing the webapp compatibility of the ManifoldCF web applications.

Alternatively, if there is a way to do the same thing without wrecking JSP 1.x compatibility, then we can just fix this.

If there is no backward-compatible fix that you can find, can you open a [VOTE] thread in connectors-dev so we can have a show of hands on whether we should move from JSP 1.x to JSP 2.0 application servers?  Thanks!


                
> MCF version 0.5 does not run on Resin
> -------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Reopened] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright reopened CONNECTORS-467:
------------------------------------

    
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
>            Reporter: Erlend Garåsen
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5.1, ManifoldCF 0.6
>
>         Attachments: CONNECTORS-467.patch
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263531#comment-13263531 ] 

Karl Wright commented on CONNECTORS-467:
----------------------------------------

Attached the patch, since the community will want it for the 0.5 release.


                
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 0.6
>
>         Attachments: CONNECTORS-467.patch
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CONNECTORS-467) Remove outdated taglib directives in web.xml

Posted by "Karl Wright (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273862#comment-13273862 ] 

Karl Wright commented on CONNECTORS-467:
----------------------------------------

r1337451 on release branch.

                
> Remove outdated taglib directives in web.xml
> --------------------------------------------
>
>                 Key: CONNECTORS-467
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-467
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
>            Reporter: Erlend Garåsen
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5.1, ManifoldCF 0.6
>
>         Attachments: CONNECTORS-467.patch
>
>
> Resin does not accept the web.xml file which belongs to the web-crawler-ui application and returns 500 Server error after deployment. Resin complains about an unexpected <taglib>-tag. The taglib directive is not longer needed in JSP 2.0 which we're now using. Some information about how we can configure MCF properly for JSP 2.0:
> http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml
> It's probably possible to place the taglib directives inside a <jsp-config> directive as a quick fix as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira