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 "Michael Lipp (JIRA)" <je...@portals.apache.org> on 2005/06/13 11:43:53 UTC

[jira] Commented: (JS2-281) *.xml in jetspeed-security-*.jar cause problems

    [ http://issues.apache.org/jira/browse/JS2-281?page=comments#action_12313433 ] 

Michael Lipp commented on JS2-281:
----------------------------------

I just noticed that security_repository.xml *is* used at run-time. I propose moving it to META-INF/ojb/

> *.xml in jetspeed-security-*.jar cause problems
> -----------------------------------------------
>
>          Key: JS2-281
>          URL: http://issues.apache.org/jira/browse/JS2-281
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Security
>     Versions: 2.0-M3
>  Environment: JBoss
>     Reporter: Michael Lipp

>
> The component file jetspeed-security-*.jar contains in its META-INF/ directory two *.xml files. These files prevent the deployment of this Jar in JBoss in other contexts than a WAR.
> The reason is that JBoss assumes that there is a special deployer for Jars that have *.xml files in META-INF. So the default deployer for Jars skips any such Jars. This problem does not show if jakarta-security-*.jar is put in the WEB-INF/lib simply because you cannot use the JBoss deployer for Jetspeed2 anyway, you must use the Tomcat deployer. but if you try to put jetspeed-security-*.jar in e.g. a sar, the problem shows.
> As far as I have understood, the *.xml files are only significant for testing anyway. They should be put elsewhere.
> I'm aware that this is, at its root, a JBoss problem. But I won't be able to make them change this behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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