RE: How to Configure Apache TomEE to use MySQL?

2023-03-08 Thread Shultz, Dmitry
Hi James, Have you seen this? https://tomee.apache.org/common-datasource-configurations.html Thanks, Dmitry From: James Pedersen Sent: Wednesday, March 8, 2023 4:06 PM To: users@tomee.apache.org Subject: How to Configure Apache TomEE to use MySQL? Hi, How do I configure Apache TomEE to use

RE: TomEE as JNDI server

2020-05-12 Thread Shultz, Dmitry
: Shultz, Dmitry Sent: Tuesday, May 12, 2020 11:01 AM To: users@tomee.apache.org Subject: RE: TomEE as JNDI server I may be totally wrong, but from what I see AMQ JNDI support is good for standalone app that consumes the context programmatically while PSFT supports only JNDI configuration using it's

RE: TomEE as JNDI server

2020-05-12 Thread Shultz, Dmitry
guide you in terms of treating it as a standalone Java application. Jon On Tue, May 12, 2020 at 12:15 AM Shultz, Dmitry wrote: > Hi Guys, > > We have a need to spin up the stand alone JNDI server (in order to > support some PeopleSoft/AMQ integration because AMQ does

TomEE as JNDI server

2020-05-11 Thread Shultz, Dmitry
Hi Guys, We have a need to spin up the stand alone JNDI server (in order to support some PeopleSoft/AMQ integration because AMQ doesn't have one). There are multiple TomEE's already running In our environments (and we are pretty happy with it) + operations team is comfortable with it as well,

RE: TomEE 7.0.6 + Primefaces 7.0 + Omnifaces 2.7.3

2020-02-12 Thread Shultz, Dmitry
For anybody hitting the same issue, it was resolved by adding org.omnifaces to the resources/META-INF/scan.xml Cheers, Dmitry Shultz Senior Software Developer [cid:image001.png@01D051C6.BA585530] 1540 Kalamalka Lake Rd. Vernon, BC V1T 6V2 t: 250.558.3200 (x 547) KalTire.com From: Shultz

TomEE 7.0.6 + Primefaces 7.0 + Omnifaces 2.7.3

2020-02-11 Thread Shultz, Dmitry
Hi All, I'm running service that is using Deltaspike + Primefaces in TomEE (7.0.6) quite successfully, but experiencing some issue when trying to add Omnifaces components to the page (full stacktrace below). Note, adding Omnifaces websocket (o:socket) works pretty good, but I had to register

RE: Supplying a JDBC password at run-time.

2019-12-02 Thread Shultz, Dmitry
Custom DataSourceFactory also worked for me. The trick was to create one big config string and use it in the org.apache.openejb.resource.jdbc.DataSourceFactory.create(). Something like this: JdbcDriver = org.postgresql.Driver Public class DataSourceFactory { public

RE: Supplying a JDBC password at run-time.

2019-12-02 Thread Shultz, Dmitry
Hi Randy, I'm using TomEE substitution in tomee.xml for this, here is some example: JdbcDriver = org.postgresql.Driver JdbcUrl = ${SOME_DS_URL} UserName = ${SOME_DS_USER} Password = ${SOME_DS_PASSWORD} //all other data source config

RE: Internal ActiveMQ broker without connection pooling

2019-10-31 Thread Shultz, Dmitry
I had the same problem, solved by updating client libs version to the recent version (2.10.0) and adding setEnableSharedClientID(true), for ex: private ConnectionFactory getConnectionFactory() { ActiveMQJMSConnectionFactory cf = new ActiveMQJMSConnectionFactory(

RE: How to disable default TomEE JMS and JDBC resources creation?

2019-02-21 Thread Shultz, Dmitry
there is something you could tweak to avoid the error, without going to the extreme of setting openejb.offline=true. Or if its a bug in the server, I'm happy to help fix it. Thanks Jon On Thu, Feb 21, 2019 at 3:41 AM Shultz, Dmitry wrote: > Hi All, > > My tomee.xml is deliberat

How to disable default TomEE JMS and JDBC resources creation?

2019-02-20 Thread Shultz, Dmitry
Hi All, My tomee.xml is deliberately empty, but in the log at start up TomEE is configuring Default Unmanaged JDBC and Default JMS (which I don't really need). The deployment is failing with this: java.lang.NoClassDefFoundError: org/apache/activemq/ra/ActiveMQResourceAdapter How to disable

Re: TomEE Maven Plugin: Can conf/system.properties be externalized?

2018-11-22 Thread Shultz, Dmitry
: Shultz, Dmitry Sent: 22 November 2018 17:03:36 To: users@tomee.apache.org Subject: RE: TomEE Maven Plugin: Can conf/system.properties be externalized? Thanks Romain, this is pretty cool functionality I can see the potential (for example ). Just for the sake of completeness ('also' follows after

RE: TomEE Maven Plugin: Can conf/system.properties be externalized?

2018-11-22 Thread Shultz, Dmitry
/HerokuDatabasePropertiesProviderResourceTest.java for an example of usage Le jeu. 22 nov. 2018 19:25, Shultz, Dmitry a écrit : > Hi guys, > > I'm looking at the same thing but from perspective to run TomEE image > in the K8's cluster. > The ${} replacement looks promising, especially when I found this > thre

RE: TomEE Maven Plugin: Can conf/system.properties be externalized?

2018-11-22 Thread Shultz, Dmitry
Hi guys, I'm looking at the same thing but from perspective to run TomEE image in the K8's cluster. The ${} replacement looks promising, especially when I found this thread http://tomee-openejb.979440.n4.nabble.com/how-con-figure-the-datasource-into-tomee-xml-using-docker-td4682533.html where

RE: Apache Ignite initialization before EntityManagerFactory

2018-09-28 Thread Shultz, Dmitry
(see https://rmannibucau.wordpress.com/2014/04/11/openejbtomee-custom-datasource-jta-integration/ ) 2. To ensure it works with jpa, add type=DataSource as for any default datasource - even using class-name. Le jeu. 27 sept. 2018 23:43, Shultz, Dmitry a écrit : > I figured it out when fo

RE: Apache Ignite initialization before EntityManagerFactory

2018-09-27 Thread Shultz, Dmitry
to be working now. However, I noticed the resource factory method is called twice (7.0.4) not sure how bad it is. Cheers, Dmitry -Original Message- From: Shultz, Dmitry Sent: Thursday, September 27, 2018 1:28 PM To: users@tomee.apache.org Subject: RE: Apache Ignite initialization before

RE: Apache Ignite initialization before EntityManagerFactory

2018-09-27 Thread Shultz, Dmitry
and let you start ignite from your app. Le jeu. 27 sept. 2018 21:01, Shultz, Dmitry a écrit : > Figured out some way to make sure Ignite is initialized before > EntityManagerFactory, not sure if it's the right way though. Please > let me know if I'm doing something conceptually w

RE: Apache Ignite initialization before EntityManagerFactory

2018-09-27 Thread Shultz, Dmitry
yDS ' 27-Sep-2018 18:26:50.516 WARNING [http-nio-8080-exec-4] org.apache.openejb.assembler.classic.Assembler.unusedProperty unused property 'UserName' for resource 'my-app / myDS ' 27-Sep-2018 18:26:50.516 WARNING [http-nio-8080-exec-4] org.apache.openejb.assembler.classic.Assembler.unusedProperty unused property 'Password' for resourc

Apache Ignite initialization before EntityManagerFactory

2018-09-27 Thread Shultz, Dmitry
Hi All, I'm trying to use Apache Ignite as a L2 cache in my app. Both JPA/Hibernate and Ignite are configured to work together, but I'm not sure how to make the Ignite to started before JPA/Hibernate is initialized. Right now the war deployment fails when deployer is trying to create

RE: [Tomee Maven Plugin] Unkillable Tomee...

2018-08-30 Thread Shultz, Dmitry
Hi Daniel, If it normally dies when executed from cml line it may be an IDEA <-> Windows integration bug. However, IDEA Ultimate has built-in TomEE run configuration, so no need to use Maven plugin and I found it very usefull, check if Community edition has it as well. Cheers, Dmitry

RE: [Newsletter] Re: [Newsletter] Re: Migration step of jtaManaged flag in context resources

2018-05-14 Thread Shultz, Dmitry
http://tomee.apache.org/datasource-config.html 'Alternatively, a DataSource can be declared via properties in the /conf/system.properties file or via Java VirtualMachine -D properties. ' This is what I'm planning to use (Java VirtualMachine -D properties) in a K8 cluster, should satisfy the

Microprofile & TomEE

2018-01-15 Thread Shultz, Dmitry
Hi All, I can see Tomeetribe is actively involved in the Microprofile project, that's great! There is a maven target available to generate fat jar for wildfly, but I can't find any docs of how to run it using TomEE. Does it supposed to work as it is or there is going to be some dedicated

RE: Name [comp] is not bound in this Context

2017-05-10 Thread Shultz, Dmitry
t; | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-05-10 22:55 GMT+02:00 Shultz, Dmitry <dmitry_shu...@kaltire.com>: > Romain, > > It's TomEE distri

RE: Name [comp] is not bound in this Context

2017-05-10 Thread Shultz, Dmitry
eefactory-rmannibucau.rhcloud.com> 2017-05-10 20:09 GMT+02:00 Shultz, Dmitry <dmitry_shu...@kaltire.com>: > Hi All, > > I'm getting this error dering deployment of my web app (war): > > SEVERE - Error merging Java EE JNDI entries in to war /m

Name [comp] is not bound in this Context

2017-05-10 Thread Shultz, Dmitry
Hi All, I'm getting this error dering deployment of my web app (war): SEVERE - Error merging Java EE JNDI entries in to war /my-app: Exception: null java.lang.NullPointerException at org.apache.catalina.core.NamingContextListener.createSubcontexts(NamingContextListener.java:1291)

RE: tomee:undeploy is not clean after long timeout since the last deployment

2016-07-26 Thread Shultz, Dmitry
I implemented and teste the chjange, not sure where to put it. What branch should I use to create the feature branch? -Original Message- From: Shultz, Dmitry Sent: July-25-16 1:04 PM To: users@tomee.apache.org Subject: RE: tomee:undeploy is not clean after long timeout since the last

RE: tomee:undeploy is not clean after long timeout since the last deployment

2016-07-25 Thread Shultz, Dmitry
Sure, will do the pull/request. -Original Message- From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: July-25-16 12:00 PM To: users@tomee.apache.org Subject: Re: tomee:undeploy is not clean after long timeout since the last deployment suspect it will need a try/finally on