look at :
https://github.com/openshift/openshift-tomcat-quickstart/blob/master/diy/tomcat/conf/server.xml
i wold install tomee on openshift.
i have serched the follwing quickstart fir tomcat7 plain.
how i have to modify the tomee/serve.xml ?
I have to addalso a connector fot jms / that use the port 16........ don't
remember what it is....
the default server.xml of tomee it is:
<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.tomee.catalina.ServerListener" />
<Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener
className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
</Server>
how modify it for openshit?
---------------------------------------------------------------
how retrove the value of
$OPENSHIFT_DATA_DIR value it a readable wiht jva :
String directoryforUpload= System.getProoperties("OPENSHIFT_DATA_DIR");
for uoplad fiel in way persistent.
help me please
--
View this message in context:
http://openejb.979440.n4.nabble.com/help-me-modifi-tomee-server-xml-for-install-on-openshift-tp4661046.html
Sent from the OpenEJB User mailing list archive at Nabble.com.