You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/05/23 16:57:07 UTC

[Bug 59619] New: Failed to read schema document 'classpath:/schema/shibboleth-2.0-services.xsd'

https://bz.apache.org/bugzilla/show_bug.cgi?id=59619

            Bug ID: 59619
           Summary: Failed to read schema document
                    'classpath:/schema/shibboleth-2.0-services.xsd'
           Product: Tomcat 7
           Version: 7.0.69
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: chilbert2206@gmail.com

http://marc.info/?t=146175486300004&r=1&w=2

Link to the discussion following this error.

Original email:

Tomcat version 7.0.69
Also happens on 7.0.68 and 7.0.67

I don’t get this error on 7.0.65

I have deployed an idp.war on tomcat
The idp.war has a service.xml file that looks like this at the beginning:


<srv:Services xmlns:srv="urn:mace:shibboleth:2.0:services"
          xmlns:attribute-afp="urn:mace:shibboleth:2.0:afp"
         
xmlns:attribute-authority="urn:mace:shibboleth:2.0:attribute:authority"
          xmlns:attribute-resolver="urn:mace:shibboleth:2.0:resolver"
          xmlns:profile="urn:mace:shibboleth:2.0:idp:profile-handler"
          xmlns:relyingParty="urn:mace:shibboleth:2.0:relying-party"
          xmlns:resource="urn:mace:shibboleth:2.0:resource"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="urn:mace:shibboleth:2.0:services
classpath:/schema/shibboleth-2.0-services.xsd
                              urn:mace:shibboleth:2.0:afp
classpath:/schema/shibboleth-2.0-afp.xsd
                              urn:mace:shibboleth:2.0:attribute:authority
classpath:/schema/shibboleth-2.0-attribute-authority.xsd
                              urn:mace:shibboleth:2.0:resolver
classpath:/schema/shibboleth-2.0-attribute-resolver.xsd
                              urn:mace:shibboleth:2.0:idp:profile-handler
classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd
                              urn:mace:shibboleth:2.0:relying-party
classpath:/schema/shibboleth-2.0-relying-party.xsd
                              urn:mace:shibboleth:2.0:resource
classpath:/schema/shibboleth-2.0-resource.xsd”>

The stack complains that it cannot find the first schemaLocation listed but if
I go to the deployed idp folder in tomcat idp/WEB-INF/lib/ there are jars
there, one of which is shibboleth-common-1.2.1.jar

Which has the path /schema/ containing all those listed schemaLocations from
the service.xml

I can move all the jars from idp/WE-INF/lib/ to tomcat7.0.69/lib/ and the
exception goes away but I haven’t had to do this prior to .67

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59619] Failed to read schema document 'classpath:/schema/shibboleth-2.0-services.xsd'

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59619

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Fixed in 7.0.x for 7.0.70 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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