[ 
https://issues.apache.org/jira/browse/MTOMCAT-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153007#comment-14153007
 ] 

Pasi Niemi commented on MTOMCAT-283:
------------------------------------

Background to this issue is that we are deploying tomcats as executable jars 
and developers are using the maven plugin to do local testing. We assumed that 
the functionality in both would be the same and since tomcat-users.xml worked 
in the maven run plugin, we thought the same should work in the executable jar.

So steps to reproduce would be:
1. make a tomcat executable jar with a war that has a requirement for a role
2. include said role and a user on tomcat-users.xml and provide that on the 
classpath (either in the jar or externally)
3. Try to login with the credentials in tomcata-users.xml

We will propose a patch to make the two different functionalities more in line 
with eachother - ok?

> Tomcat7Runner does not use tomcat-users.xml when used without a server.xml
> --------------------------------------------------------------------------
>
>                 Key: MTOMCAT-283
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-283
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.2
>         Environment: any
>            Reporter: Pasi Niemi
>            Assignee: Olivier Lamy (*$^¨%`£)
>
> Tomcat7Runner does not use a tomcat-users.xml even though one is extracted 
> into the conf directory from the executable jar file. Also the exec-war-only 
> mojo lacks the configuration for the file, even though the same configuration 
> exists for RunWarMojo.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to