Hi Romain!
I am not allowed to add an issue to TomEE JIRA
(https://issues.apache.org/jira/browse/TOMEE).
Therefore I only can offer an ear file (see attachment logApp.ear) that shows
the issue.
It includes an application.xml with <initialize-in-order> tag.
I would expect that war2 (/log2) is started before war1 (/log1).
But that is not the case (catalina.log):
[…]
23.07.2013 13:19:17 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /logs1
[…]
23.07.2013 13:19:17 org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: ------------------------- localhost -> /logs2
[…]
Please create a JIRA issue. I think it would be a nice feature.
Thanks and best regards,
Thomas
Von: Romain Manni-Bucau [via OpenEJB]
[mailto:[email protected]]
Gesendet: Dienstag, 16. Juli 2013 15:30
An: Thomas Schuler
Betreff: Re: Start order of wars in an ear
Hi
That s a bug. If you have a sample showing it please attach it to a jira
and well fix it.
Le 16 juil. 2013 15:08, "tschuler" <[hidden
email]</user/SendEmail.jtp?type=node&node=4664248&i=0>> a écrit :
> Hi!
>
> We have an ear file containing a few war files.
> What we see is that wars are started depending on the context root defined
> in the application.xml.
> Is there a way to get the web applications started in another order? The
> <initialize-in-order> tag defined in application_6.xsd seems not to work.
> We use TomEE 1.6.0 snapshot.
>
> Best regards,
> Thomas
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Start-order-of-wars-in-an-ear-tp4664245.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/Start-order-of-wars-in-an-ear-tp4664245p4664248.html
To unsubscribe from Start order of wars in an ear, click
here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664245&code=dGhvbWFzLnNjaHVsZXJAb3BlbnRleHQuY29tfDQ2NjQyNDV8LTE4NTIyNTQ0OTI=>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
logApp.ear (12K)
<http://openejb.979440.n4.nabble.com/attachment/4664317/0/logApp.ear>
--
View this message in context:
http://openejb.979440.n4.nabble.com/Start-order-of-wars-in-an-ear-tp4664245p4664317.html
Sent from the OpenEJB User mailing list archive at Nabble.com.