@mauro2java2011 As Romain said this doesn't really have anything to do with tomee. Regarding your first question, from that doc you linked to i doubt you will be able to stop it hibernating by sending a request to itself. I think what you are trying to do would be more easily accomplished using cron and curl.
Brent On Mar 29, 2015 6:12 PM, "Romain Manni-Bucau" <[email protected]> wrote: > Depends your cartridge. Several breaks this. Anyway it is an OpenShift > issue IMO. > Le 29 mars 2015 17:08, "mauro2java2011" <[email protected]> a > écrit > : > > > Read at : > > > > > > > https://help.openshift.com/hc/en-us/articles/202398160-What-does-it-mean-when-my-application-is-Idled- > > > > But when my tomee receive a request it empl8y many time for responde . > > Il 29/mar/2015 16:25 "Romain Manni-Bucau [via TomEE & OpenEJB]" < > > [email protected]> ha scritto: > > > > > Hi > > > > > > Yes it is but where are you blocked? Did you identify why it freezes? > > > > > > @Scheduled should be straight forward to do it > > > Le 29 mars 2015 14:27, "mauro2java2011" <[hidden email] > > > <http:///user/SendEmail.jtp?type=node&node=4674208&i=0>> a écrit : > > > > > > > Hi all. i have deployed a tomee 1.7.1 plus on openshift. > > > > > > > > If this app on openshift not get any request, after some time is > > > freeze. > > > > > > > > So the first request that my openshift app receive reactive my tomee. > > > > > > > > But the process is long times. > > > > And the First request at my web app take long time to respond and > many > > > > times > > > > i get error. > > > > after some minutes it is reactive. > > > > > > > > So i ask : it is possible write a ejb timer to deploy with a web > > > > application on openshift that send a request each 4 - 6 houres at > the > > > > himself or a a simple rest web service for avoid the freeze ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > View this message in context: > > > > http://tomee-openejb.979440.n4.nabble.com/ejbtimer-tp4674207.html > > > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > > > > > > > > > ------------------------------ > > > If you reply to this email, your message will be added to the > discussion > > > below: > > > > > > http://tomee-openejb.979440.n4.nabble.com/ejbtimer-tp4674207p4674208.html > > > To unsubscribe from ejbtimer, click here > > > < > > > http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4674207&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzQyMDd8LTExMTcxODc2MjU= > > > > > > . > > > NAML > > > < > > > http://tomee-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 > > > > > > > > > > > > > > > > -- > > View this message in context: > > > http://tomee-openejb.979440.n4.nabble.com/ejbtimer-tp4674207p4674210.html > > Sent from the TomEE Users mailing list archive at Nabble.com. >
