I am unsure - think not actually - that unpack property supports placeholders, just set it on the command line using environment variables. IIRC openshift has such a support.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2016-01-28 10:35 GMT+01:00 mauro2java2011 <[email protected]>: > hi Romain . > I have pushed the tomee to openshift with modify: > > because catalina.home is=$OPENSHIFT_DATA_DIR/tomee > > i have added to system properties : > > tomee.unpack.dir = ${catalina.home}/apps > > nexr i have created tomee/apps dir into tomee and add to git . > NExt i have added the MIaee.ear to tomee/apps dir . > I have add to git the MIaee.ear > next i have commit and pushed toi openshift . > i have also restart my tomee app from web console of openshift. > > note: the MIaee.ear contain: > > MIaee-ejb.jar > MIaee-war.war > META-INF/application.xml > > the META-INF/application.xml contain: > > <?xml version="1.0" encoding="UTF-8"?> > <application version="6" xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/application_6.xsd"> > <display-name>MIaee</display-name> > <module> > <web> > <web-uri>MIaee-war.war</web-uri> > <context-root>/MIaee-war</context-root> > </web> > </module> > <module> > <ejb>MIaee-ejb.jar</ejb> > </module> > </application> > > > ........................ > > but if i go to manager , i not view the MIaee-war deployed and also if i > try > the http://maurotomee17-mauro.rhcloud.com/MIaee-war/index.jsp > <http://maurotomee17-mauro.rhcloud.com/MIaee-war/index.jsp> it not work > from browser i get : > > HTTP Status 404 - /MIaee-war/index.jsp > > type Status report > > message /MIaee-war/index.jsp > > description The requested resource is not available. > Apache Tomcat (TomEE)/7.0.55 (1.7.1) > > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Permissions-dir-tomee-apps-for-deploy-ear-into-openshift-tp4677529p4677535.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
