Context.xml supports tomcat resources. Tomee imports them...but honestly i wouldnt rely on them for tomee (you can find discussions in forums), it is not that powerful as tomee.xml Le 20 déc. 2013 22:17, "Trevor Stevens" <tstev...@me.com> a écrit :
> I don't get a stacktrace for this so sadly I can't share that. However, I > think that this may not actually be an issue. Looks like the issues I > brought up earlier about the classloading might have been causing me to > think the context.xml was at fault. I was able to load the overridden > context from the configuration directory of a TomEE 1.6.0 so everything > might be ok. I am only currently using the context for Environment entries > and some Tomcat related config so no datasources/resources which should > make it easy for me to test and verify this. > > On a side note you mentioned context.xml not fully supported but resources > should be. What did you mean by that? Can I override the resources.xml of a > war without adding configuration to tomee.xml in a similar way to the > context override? > > > Trevor Stevens > tstev...@me.com > > > On Dec 20, 2013, at 3:55 PM, Romain Manni-Bucau <rmannibu...@gmail.com> > wrote: > > > Maybe share your stack. > > > > Context.xml is not fully supported iirc. Resources should be but i dont > > recall if env entries are. > > Le 20 déc. 2013 19:30, "Trevor Stevens" <tstev...@me.com> a écrit : > > > >> I have Environment entries in the context and some appear to be missing > or > >> using the wrong files entires. I need to investigate more to since the > >> errors stop me from deploying successfully because of this so I am not > 100% > >> sure exactly what is going on. I do have entries for the same JNDI path > in > >> both because I was expecting only one to be used like with Tomcat. > >> > >> Trevor Stevens > >> tstev...@me.com > >> > >> > >> On Dec 20, 2013, at 12:28 PM, Romain Manni-Bucau <rmannibu...@gmail.com > > > >> wrote: > >> > >>> Which setting is ignored? > >>> Le 20 déc. 2013 17:46, "Romain Manni-Bucau" <rmannibu...@gmail.com> a > >>> écrit : > >>> > >>>> Hi > >>>> > >>>> Do you deploy an ear? > >>>> Romain Manni-Bucau > >>>> Twitter: @rmannibucau > >>>> Blog: http://rmannibucau.wordpress.com/ > >>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau > >>>> Github: https://github.com/rmannibucau > >>>> > >>>> > >>>> > >>>> 2013/12/20 Trevor Stevens <tstev...@me.com>: > >>>>> I am trying to override the context.xml packaged inside a war and it > >>>> appears that Tomcat is picking up on the override but TomEE is not. > Any > >>>> idea what is going on here? > >>>>> > >>>>> org.apache.catalina.startup.HostConfig.deployDescriptor Deploying > >>>> configuration descriptor > >>>> > >> > /Users/tstevens/Desktop/apache-tomee-plus-1.6.1-SNAPSHOT/conf/Catalina/localhost/test.xml > >>>>> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps using > >>>> context file > >>>> > >> > /Users/tstevens/Desktop/apache-tomee-plus-1.6.1-SNAPSHOT/webapps/test/META-INF/context.xml > >>>>> > >>>>> Trevor Stevens > >>>>> tstev...@me.com > >>>>> > >>>>> > >>>> > >> > >> > >