portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Lipp (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-281) *.xml in jetspeed-security-*.jar cause problems
Date Mon, 01 Aug 2005 07:24:35 GMT
    [ http://issues.apache.org/jira/browse/JS2-281?page=comments#action_12317296 ] 

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

Regrettably, it does not fix the issue as JBoss searches for *.xml files in META-INF recursively!

I think the proper view of things is that META-INF should be considered a directory under
control of the Java/J2EE specs and should therefore not be used by any other frameworks (though
it has this tempting generic name). Something like OBJ-INF or SPRING-INF should be used instead.


> *.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
>     Assignee: David Le Strat
>      Fix For: 2.0-M4

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


Mime
View raw message