Feedback on TomEE 1.7.2

2015-07-08 Thread tl
We'd like to hear about anything you'd like to tell us. If you're short on ideas, here are some: - Anything you found difficult or inconvenient about using TomEE I've spend a few days trying to figure out and find documentation about how to customize (enable and handle jaxws schema validation

TomEE 1.7.2 + CXF 3

2015-07-08 Thread Felipe Jaekel
Hi, I'd like to run a webapp that uses CXF 3.1 on TomEE 1.7.2. I saw on previous messages from the list that is not possible to change CXF version from the server, but is there any workaround to use it inside WEB-INF/lib? If not, would this webapp have any relevant loss running with CXF 2.6? Th

Re: TomEE 1.7.2 + CXF 3

2015-07-08 Thread Romain Manni-Bucau
Hi Le 8 juil. 2015 05:50, "Felipe Jaekel" a écrit : > > Hi, > > I'd like to run a webapp that uses CXF 3.1 on TomEE 1.7.2. > > I saw on previous messages from the list that is not possible to change CXF > version from the server, but is there any workaround to use it inside > WEB-INF/lib? > Gene

Re: TomEE 1.7.2 + CXF 3

2015-07-08 Thread Andy Gumbrecht
You'd simply have to give it a try with 2.6, but if you're using specific features of 3.1 then it will not work. TomEE 7.x Milestone 1 is around the corner, there is actually a vote running - This vote will be cancelled due to an issue, but we will re-roll soon. Andy. On 8 July 2015 at 14:49, Fe

JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Leonardo K. Shikida
Hi is there any known bug related to this? Sometimes, my web app generates the schema sometimes not. Some sort of a heinsenbug. :-( TIA Leo

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Romain Manni-Bucau
Hi Which database? Le 8 juil. 2015 07:56, "Leonardo K. Shikida" a écrit : > Hi > > is there any known bug related to this? > > Sometimes, my web app generates the schema > > name="openjpa.jdbc.SynchronizeMappings" > value="buildSchema(ForeignKeys=true

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Leonardo K. Shikida
oracle 11 (not XE) [] Leo On Wed, Jul 8, 2015 at 12:07 PM, Romain Manni-Bucau wrote: > Hi > > Which database? > Le 8 juil. 2015 07:56, "Leonardo K. Shikida" a écrit : > > > Hi > > > > is there any known bug related to this? > > > > Sometimes, my web app generates the schema > > > >

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Romain Manni-Bucau
On the phone but can be an issue with schema selection if you have multiple schema. There is an option to force it. Le 8 juil. 2015 08:17, "Leonardo K. Shikida" a écrit : > oracle 11 (not XE) > > [] > > Leo > > On Wed, Jul 8, 2015 at 12:07 PM, Romain Manni-Bucau > > wrote: > > > Hi > > > > Whic

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Leonardo K. Shikida
Probably the same one I've saw once for dbunit, because schema and users are the same thing for oracle. I think I know what you're talking about. Gonna try that [] Leo On Wed, Jul 8, 2015 at 12:28 PM, Romain Manni-Bucau wrote: > On the phone but can be an issue with schema selection if you h

Re: Encoding issue

2015-07-08 Thread using namespace
thank everyone for answers, the issue resolution was found: String soapinString = (new String(StringEscapeUtils.unescapeHtml4(stringWriter.toString()).getBytes(StandardCharsets.ISO_8859_1), "UTF-8")).replaceAll("\\p{Cntrl}", ""); -- View this message in context: http://tomee-openejb.979440.n4.

Connection timeout

2015-07-08 Thread using namespace
I am testing a web service which I have deployed on TomEE plus 1.7.1 Inside tomee.xml there is following stateless container settings for deployment id: accessTimeout = -1 callbackThreads = 5 closeTimeout = 5 minutes garbageCollection = true idleTimeout = 0 minutes maxAge

Re: Connection timeout

2015-07-08 Thread Romain Manni-Bucau
Hi it is the http timeout then, not the stateless one. Typically in an app you have 3 layers: http -> stateless -> database all have pools to be correctly tuned Romain Manni-Bucau @rmannibucau | Blog | Github

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Leonardo K. Shikida
two things that I've noticed [1] if during the entities creation, the sequence already exists, openJPA tries to create it again and fails the whole process, so ensure that, on a schema creation failure, no generated tables or sequences are there [2] starting tomee with 2 web apps, each one using

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Mark Struberg
Hmm, never had this problem. Important for me to figure what goes wrong in your case. As you already stated: the schema is aways the user which logs in. Is there probably some login trigger which does an alter session to switch the schema after logon to oracle? And do you have enough rights and

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Leonardo K. Shikida
to not fix I mean :-) [] Leo On Wed, Jul 8, 2015 at 6:50 PM, Leonardo K. Shikida wrote: > Hi Mark > > Although I agree with you that automatic schema generation is not a good > idea in production, I also believe there's no reason to fix something that > has a bug... > > I have all the necessar

Re: JPA trying to alter table to add the single table discriminator before openJPA build the schema on tomee startup (1.6.0.2)

2015-07-08 Thread Leonardo K. Shikida
Hi Mark Although I agree with you that automatic schema generation is not a good idea in production, I also believe there's no reason to fix something that has a bug... I have all the necessary rights. That's because it worked when I started tomee one webapp at a time. It seems to me that OpenJP

Tomme message driven beans not responding to the messages

2015-07-08 Thread siva106
I am learning message driven beans. I am trying out a sample example listed on Tomee (http://tomee.apache.org/examples-trunk/simple-mdb/README.html). But my code isn't receiving any answers from ChatBean assertEquals("Hello, Test Case!", receiveText(answers)); Anyone knows where the problem is ?

Re: Tomme message driven beans not responding to the messages

2015-07-08 Thread Leonardo K. Shikida
not sure, but I think you need tomee+ and a JMS declaration in your tomee, like this http://tomee.apache.org/jms-resources-and-mdb-container.html [] Leo On Wed, Jul 8, 2015 at 5:33 PM, siva106 wrote: > I am learning message driven beans. I am trying out a sample example listed > on Tomee (htt