Re: Recommended Java 8 settings

2016-07-28 Thread Howard W. Smith, Jr.
My responses below/inline, On Thu, Jul 28, 2016 at 10:23 AM, Felipe Jaekel wrote: > I used to run TomEE 1.7.2 with java 7 and the following config: > -Xms1G > -Xmx3G (server has 4G) > -XX:MaxPermSize=1G > -XX:+UseTLAB > -XX:+UseConcMarkSweepGC > -XX:+CMSIncrementalMode >

Re: Getting JForums install to see a MariaDB datasource

2016-07-28 Thread paulhr
java:openejb/Resource/usqueForumsDS worked. Thanks. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Getting-JForums-install-to-see-a-MariaDB-datasource-tp4679530p4679537.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Recommended Java 8 settings

2016-07-28 Thread Steve Goldsmith
I'm not sure I'd mess with the GC settings, but you can add remote JMX monitoring. This is that I use in prod (using catalina.sh) for TomEE 7: export JAVA_HOME=/opt/jdk1.8.0 export CATALINA_HOME=/opt/tomcat export CATALINA_OPTS="-Xmx2g -Dfile.encoding=UTF-8 -Djava.awt.headless=true

Re: Getting JForums install to see a MariaDB datasource

2016-07-28 Thread Romain Manni-Bucau
java:openejb/Resource/${resourceid} and openejb:Resource/${resourceid} seems to work Romain Manni-Bucau @rmannibucau | Blog | Old Wordpress Blog | Github

Re: Getting JForums install to see a MariaDB datasource

2016-07-28 Thread paulhr
JForums install does not like any of the options listed. java:global/usqueForumsDS gives the below error. Name "usqueForumsDS" not found. openejb:Resource/jdbc/usqueForumsDS gives the below error. Name "Resource/jdbc/usqueForumsDS" not found. -- View this message in context:

Re: Recommended Java 8 settings

2016-07-28 Thread Romain Manni-Bucau
Hi Felipe, sure others will have idea on that but I would suggest you to choose based on figures extracted from scenarii runs representing your application use cases instead of trying to find a good absolute default. Romain Manni-Bucau @rmannibucau | Blog

Recommended Java 8 settings

2016-07-28 Thread Felipe Jaekel
Hi, I used to run TomEE 1.7.2 with java 7 and the following config: -Xms1G -Xmx3G (server has 4G) -XX:MaxPermSize=1G -XX:+UseTLAB -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSClassUnloadingEnabled I upgraded to Java 8 to use TomEE 7.0.x, so I decided to try different settings: -Xmx3G

Re: Getting JForums install to see a MariaDB datasource

2016-07-28 Thread Romain Manni-Bucau
2016-07-28 14:59 GMT+02:00 paulhr : > Am I correct in assuming that if the conf/tomee.xml file has a datasource > defined that a WAR should see the datasource? Or do I need to another > artifact or configuration somewhere else? > > yep it works > I am trying to

Getting JForums install to see a MariaDB datasource

2016-07-28 Thread paulhr
Am I correct in assuming that if the conf/tomee.xml file has a datasource defined that a WAR should see the datasource? Or do I need to another artifact or configuration somewhere else? I am trying to install JForums. I have defined the DataSource but the pre-Install check complains that is can

Re: secure the tomee/ejb path

2016-07-28 Thread Romain Manni-Bucau
Well this is not "trivial" since normally you don't do it so no worries org.apache.openejb.client.ConnectionManager.registerFactory("http", new MyConnectionFactory()); org.apache.openejb.client.ConnectionManager.registerFactory("https", new MyConnectionFactory()); Once at startup (= before any

Re: secure the tomee/ejb path

2016-07-28 Thread ict
forgive my inexperience , how do you extend and record the client-side class? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/secure-the-tomee-ejb-path-tp4679509p4679528.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: warning during datasource configuration - SOLVED

2016-07-28 Thread Romain Manni-Bucau
You can use the other one: ยป ./bin/tomee.sh setters -c 'org.apache.tomee.jdbc.TomEEDataSourceCreator$TomEEDataSource' - AbandonWhenPercentageFull - AccessToUnderlyingConnectionAllowed - AlternateUsernameAllowed - CommitOnReturn - ConnectionProperties - DataSource - DataSourceJNDI - DbProperties -

Re: warning during datasource configuration - SOLVED

2016-07-28 Thread Edoardo Panfili
Il 27/07/16 16:54, Romain Manni-Bucau ha scritto: 2016-07-27 16:51 GMT+02:00 Edoardo Panfili : Il 27/07/16 07:19, Romain Manni-Bucau ha scritto: Yes, (tomee/openejb is the same project): you got the replaced instance so lookup happens too late to get tomcat instance. Very