Hi overlay + tomee runner should just boot tomee from the webapp. It can try to create files in conf/ (can be deactivated IIRC, would need to look for the property for the detail) but it will not move jars normally
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-02 13:36 GMT+02:00 mauro2java2011 <[email protected]>: > Hi roman . I have tried the overlay . > I have modified for tomeeplus. > > Next i have from maven: > > Clean install. > > Next i have : > > 1 download a new tomcat 7.0.55 . > 2 create a new cat_base dir. > > 3 next i have registred on netbeans tge new server with cat home and cat > base value. > > 4 i have copy and pasted tge war created with maven. The overlay.war i have > pasted it into catbase/webapps dir > 5 i gave started the server. > > 6 after i go into catbase/conf dir. Now it is present tge tomee.xml > fikevabd conf.d dir with 3 file for cxf and hs > ql configuration. > > 7 if i look the webapps deployed from the panel of server tomcat into > netbeans, i view that it is present the application overlay but also tge > tomee application. Into tge catbase/work dir it is present the tomee dir. > > 8 so i you ask : the overlay is a installer if tomee ? The tomee us not > embedded into memory but it is present phisically into the tomcat7 now. > > 9 if i deploy the generated war overlay into a production server or also > into a tomcat into a cloud , it work ? > > 10 the overlay write into dir conf of tomcat, so into a tomcat in > production it have right if write into the conf dir ? > > Tank you .mauro > > 5 > Il 01/set/2014 18:50 "Romain Manni-Bucau [via TomEE & OpenEJB]" < > [email protected]> ha scritto: > >> Hmm good question, I have to admit I never tried but sounds >> reasonable, if not maybe META-INF or the ear >> >> >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >> >> >> 2014-09-01 18:38 GMT+02:00 mauro2java2011 <[hidden email] >> <http://user/SendEmail.jtp?type=node&node=4671532&i=0>>: >> >> > so if i deploy a EAR application with inside a module ejb jar and a >> module >> > war for the view, so it is legal put resources.xml into META-INF of jar >> of >> > ejb ? and so i not put resources.xml into WEB-INF of war? >> > >> > >> > >> > 2014-09-01 15:39 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] < >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4671532&i=1>>: >> > >> >> you can in resources.xml but in the deployment you use, if that's a >> >> war then in WEB-INF, if it is just a jar then META-INF is fine >> >> >> >> >> >> Romain Manni-Bucau >> >> Twitter: @rmannibucau >> >> Blog: http://rmannibucau.wordpress.com/ >> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> >> Github: https://github.com/rmannibucau >> >> >> >> >> >> 2014-09-01 15:23 GMT+02:00 mauro2java2011 <[hidden email] >> >> <http://user/SendEmail.jtp?type=node&node=4671508&i=0>>: >> >> >> >> > Hi all. it is possible declare a datasource with resources.xml into >> >> > META-INF/resoures.xml for get the entity and the persistence all >> inside >> >> a >> >> > ejb.jar ??????? >> >> > >> >> > It work ?? >> >> > So i not have to declare the datasource int oweb application . >> >> > >> >> > Nexdt the web application call the ejb deployed int othe ejb.jar . >> >> > >> >> > or i have to desclare it int oejb-jar.xml with : >> >> > >> >> > <data-source> >> >> > <name>java:module/ExampleDS</name> >> >> > <class-name>org.apache.derby.jdbc.ClientDataSource</class-name> >> >> > <server-name>localhost</server-name> >> >> > <port-number>1527</port-number> >> >> > <database-name>exampleDB</database-name> >> >> > <user>examples</user> >> >> > <password>examples</password> >> >> > <property> >> >> > <name>create</name> >> >> > <value>true</value> >> >> > </property> >> >> > <property> >> >> > <name>weblogic.TestTableName</name> >> >> > <value>SQL SELECT 1 FROM SYS.SYSTABLES</value> >> >> > </property> >> >> > </data-source> >> >> > >> >> > a example with all packaged int ejb.jar? (both datasource >> daeclaration >> >> and >> >> > persistence.xml that references it? >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > View this message in context: >> >> >> http://tomee-openejb.979440.n4.nabble.com/declare-datasource-int-omodule-ejb-tp4671504.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/declare-datasource-int-omodule-ejb-tp4671504p4671508.html >> >> To unsubscribe from declare datasource int omodule ejb, click here >> >> < >> >> . >> >> 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/declare-datasource-int-omodule-ejb-tp4671504p4671530.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/declare-datasource-int-omodule-ejb-tp4671504p4671532.html >> To unsubscribe from declare datasource int omodule ejb, click here >> <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4671504&code=bWF1cm8yamF2YTIwMTFAZ21haWwuY29tfDQ2NzE1MDR8LTExMTcxODc2MjU=> >> . >> 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/declare-datasource-int-omodule-ejb-tp4671504p4671541.html > Sent from the TomEE Users mailing list archive at Nabble.com.
