[
https://issues.apache.org/jira/browse/TOMEE-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478489#comment-13478489
]
Borislav Kapukaranov commented on TOMEE-479:
--------------------------------------------
Indeed the snapshot works with META-INF/context.xml inside the app.
I tried configuring it outside in the /conf dir. When I requested the Servlet
it failed with the same error about the service provider.
>From the exception it looks like OpenEjb is trying to do Tomcat's work by
>reading the web.xml on its own. I'm curious is there a way to switch that off
>- a property maybe? Why the fix for META-INF/context.xml is not working in
>this case?
> Can't use custom typed resource references and factories
> --------------------------------------------------------
>
> Key: TOMEE-479
> URL: https://issues.apache.org/jira/browse/TOMEE-479
> Project: TomEE
> Issue Type: Bug
> Components: Compliance Checks
> Affects Versions: 1.5.0
> Environment: Mac OS X
> Reporter: Borislav Kapukaranov
> Attachments: catalina.out, catalina.out,
> MyApplicationContextOutside.war, MyApplication.war
>
>
> I followed a simple tutorial of how to add resource references of a custom
> type with its custom object factory in my web application.
> The tutorial is from Tomcat's documentation:
> http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#Adding_Custom_Resource_Factories
> I created my app and deployed it on a plain Tomcat and it worked just fine.
> However when I tried it on a TomEE 1.5.0 it couldn't even deploy...
> I'm attaching both the application and the catalina logs taken from TomEE.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira