You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ravikumar S (JIRA)" <ji...@apache.org> on 2012/07/24 07:42:33 UTC

[jira] [Created] (SM-2160) servicemix-jaas.xsd location is not available!

Ravikumar S created SM-2160:
-------------------------------

             Summary: servicemix-jaas.xsd location is not available!
                 Key: SM-2160
                 URL: https://issues.apache.org/jira/browse/SM-2160
             Project: ServiceMix
          Issue Type: Test
          Components: servicemix-core
         Environment: Windows 7 Professional
            Reporter: Ravikumar S
            Priority: Blocker


While implementing JAAS with service-mix, getting the below error.
"cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
I have tried accessing through browser to check the availability, and it's not available also

--
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] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Ravikumar S (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421205#comment-13421205 ] 

Ravikumar S commented on SM-2160:
---------------------------------

Hi, 
Thanks for your quick reply.
I am using Apache-Servicemix-4.4.1-Fuse-03-06 and the configuration is as follows,

<beans xmlns="http://www.springframework.org/schema/beans"       
xmlns:jaas="http://servicemix.apache.org/jaas"
xsi:schemaLocation="http://servicemix.apache.org/jaas 
           http://servicemix.apache.org/schema/servicemix-jaas.xsd">

        <jaas:config id="Example">
		<jaas:module className="com.abc.ui.security.utilities.RdbmsLoginModule" flags="required" />
	</jaas:config>
</beans>
The location which is specified in schemaLocation is not available. It's throwing the error, "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
                
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421200#comment-13421200 ] 

Freeman Fang commented on SM-2160:
----------------------------------

Hi,

You need elaborate the servicemix version and your configuration so that we can get basic idea how you use jaas.

Also we always use spring.schemas to redirect the schema to the local copy of the jar, so most likely it's just some bundles not get installed correctly if you're using smx4.


Freeman
                
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Ravikumar S (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421234#comment-13421234 ] 

Ravikumar S commented on SM-2160:
---------------------------------

Hi,

Thanks for your reply. I am using spring-dm. How can I use of configure karaf blueprint?
It would be very much helpful, if you can guide me to resolve this.

Ravi
                
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Assignee: Freeman Fang
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421306#comment-13421306 ] 

Freeman Fang commented on SM-2160:
----------------------------------

Hi,

You just use blueprint to configure your jaas realm, but you can refer this realm later on in any spring context.

Freeman
                
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Assignee: Freeman Fang
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] [Comment Edited] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Ravikumar S (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421234#comment-13421234 ] 

Ravikumar S edited comment on SM-2160 at 7/24/12 9:32 AM:
----------------------------------------------------------

Hi,

Thanks for your reply. I am using spring-dm. How can I use configure karaf blueprint?
It would be very much helpful, if you can guide me to resolve this.

Ravi
                
      was (Author: ravikumar.rs):
    Hi,

Thanks for your reply. I am using spring-dm. How can I use of configure karaf blueprint?
It would be very much helpful, if you can guide me to resolve this.

Ravi
                  
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Assignee: Freeman Fang
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] [Comment Edited] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421200#comment-13421200 ] 

Freeman Fang edited comment on SM-2160 at 7/24/12 6:12 AM:
-----------------------------------------------------------

Hi,

You need elaborate the servicemix version and your configuration so that we can get basic idea how you use jaas.

We always use spring.schemas to redirect the schema to the local copy of the jar, so most likely it's just some bundles not get installed correctly if you're using smx4.

Also the servicemix-jaas.xsd is quite old, it's from the service kernel sub-project, now it's become the Apache Karaf. So you may need use karaf-jaas.xsd [1] instead
[1]http://karaf.apache.org/xmlns/jaas/v1.0.0


Freeman
                
      was (Author: ffang):
    Hi,

You need elaborate the servicemix version and your configuration so that we can get basic idea how you use jaas.

Also we always use spring.schemas to redirect the schema to the local copy of the jar, so most likely it's just some bundles not get installed correctly if you're using smx4.


Freeman
                  
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] (SM-2160) servicemix-jaas.xsd location is not available!

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SM-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421210#comment-13421210 ] 

Freeman Fang commented on SM-2160:
----------------------------------

Hi,

In this case you really should use karaf jaas blueprint configuration, take a look at [1] to get more details.
As I mentioned servicemix-jaas.xsd is quite old, it's from the service kernel sub-project, now it's become the Apache Karaf. So you need use karaf-jaas.xsd instead.

Btw, we always encourage users to post questions on maillinglist first if you're not sure the issue is a bug or not.
[1]http://karaf.apache.org/manual/latest-2.2.x/developers-guide/security-framework.html

Freeman
                
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] [Assigned] (SM-2160) servicemix-jaas.xsd location is not available!

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

Freeman Fang reassigned SM-2160:
--------------------------------

    Assignee: Freeman Fang
    
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Assignee: Freeman Fang
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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] (SM-2160) servicemix-jaas.xsd location is not available!

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

Freeman Fang resolved SM-2160.
------------------------------

    Resolution: Not A Problem
    
> servicemix-jaas.xsd location is not available!
> ----------------------------------------------
>
>                 Key: SM-2160
>                 URL: https://issues.apache.org/jira/browse/SM-2160
>             Project: ServiceMix
>          Issue Type: Test
>          Components: servicemix-core
>         Environment: Windows 7 Professional
>            Reporter: Ravikumar S
>            Assignee: Freeman Fang
>            Priority: Blocker
>              Labels: mentor
>
> While implementing JAAS with service-mix, getting the below error.
> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaas:config'".
> I have tried accessing through browser to check the availability, and it's not available also

--
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