Re: TomEE installation errors

2013-09-17 Thread mathiver
Hi all, I deployed it on a Tomcat 7 instance, but now I get the following error. Any idea what could be wrong here? Sep 17, 2013 11:19:32 AM org.apache.openejb.assembler.classic.Assembler createRecipe INFO: Creating Resource(id=My DataSource) Sep 17, 2013 11:19:32 AM

Re: TomEE installation errors

2013-09-17 Thread Romain Manni-Bucau
Hi means you don't have tomcat-jdbc or it is in your app too. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/9/17 mathiver mathi...@gmail.com: Hi all, I deployed it

Re: TomEE installation errors

2013-09-17 Thread Romain Manni-Bucau
Hi it is in tomcat itself, if not you use a too old tomcat version i think. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/9/17 mathiver mathi...@gmail.com: Hi Romain,

Re: TomEE installation errors

2013-09-17 Thread mathiver
Hi, Ok, so now I don't get any errors in the logs anymore, but the screen still says Connection exception - The application is waiting for the server. Any ideas what could still be wrong? Thanks, Mathias -- View this message in context:

Re: TomEE installation errors

2013-09-17 Thread Romain Manni-Bucau
Hi if you speak about the tomee gui it was broken if not used from localhost i think. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/9/17 mathiver mathi...@gmail.com:

Re: TomEE installation errors

2013-09-17 Thread Thiago Veronezi
Can you check the browser console and see you you have any logged exception there? Whats you browser? []s, Thiago. On Tue, Sep 17, 2013 at 8:09 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Hi if you speak about the tomee gui it was broken if not used from localhost i think. Romain

Re: TomEE installation errors

2013-09-17 Thread mathiver
Hi, I cannot use it from localhost, since I don't have direct GUI access to the server, so I'm going to www.servername.com/tomee (where www.servername.com is the server address). I'm using Firefox as browser on Linux. Best, Mathias -- View this message in context:

Re: TomEE installation errors

2013-09-17 Thread Thiago Veronezi
I've checked with trunk and it seems to work. As Romain said, it looks like it was broken for locations other than localhost. Can you test it with the trunk version just to check if it works now?

Re: Failure running webapp in root context with TomEE 1.5.2

2013-09-17 Thread Romain Manni-Bucau
Hi not fully sure but maybe have a look to https://issues.apache.org/jira/browse/TOMEE-902, globally the part related was rewritten and I'm not sure you can backport a single commit but you can surely backport more or less the OpenEJBContextConfig class directly. Romain Manni-Bucau Twitter:

Re: TomEE installation errors

2013-09-17 Thread mathiver
Hi Thiago, Where can I find a snapshot version of the drop-in war? Thanks, Mathias -- View this message in context: http://openejb.979440.n4.nabble.com/TomEE-installation-errors-tp4665081p4665102.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: TomEE installation errors

2013-09-17 Thread Romain Manni-Bucau
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-webapp/1.6.0-SNAPSHOT/ for the web profile version and https://repository.apache.org/content/groups/snapshots/org/apache/openejb/tomee-plus-webapp/1.6.0-SNAPSHOT/ for the plus version Romain Manni-Bucau Twitter:

Re: TomEE installation errors

2013-09-17 Thread Thiago Veronezi
I guess it is a real bug. I will verify it. On Tue, Sep 17, 2013 at 11:56 AM, mathiver mathi...@gmail.com wrote: Still the same problem with the snapshot version: no errors in the log, but a connection exception when I go to the URL in the browser... More ideas? -- View this message in

org.apache.openjpa.persistence.PersistenceException: null

2013-09-17 Thread Leonardo K. Shikida
Hi I have an tomee 1.5.2 + that runs perfectly on linux, but when I try to run from windows, it gives me the following error message (see stacktrace) My doubts are - what does it mean :-) - why only in windows - is there any way to deal with this? My feeling it that it's somehow related to the

scope for jms resource into cdi

2013-09-17 Thread mauro2java2011
I would use cdi method producer for get JmsFactory and Queque , connection and Session. I use method @Produces and dispose . I have write the application jmd S and deployed at tomee remote. Now into another tomcat wirh a jsf application i would send a message at tomee remote. I have write a

bootstrap openwebbeans into java se application

2013-09-17 Thread mauro2java2011
How i can bootstrap oopenwebbeans into a java se application.? I have searched but not found examples of owb. I have read that into owb for se applic i have 3 scopes. Singleton Application Dependent I ask : but what it is the difference from singleton and application scope It sound the

Re: TomEE installation errors

2013-09-17 Thread Thiago Veronezi
I think there is a firewall configuration somewhere that is crashing the application. I've managed to reproduce your issue in an amazon ec2 box ( https://dl.dropboxusercontent.com/u/1459144/tomee-list/tomee-remote-00.png). Currently the GUI uses websockets. Regular http connections and websockets

Re: bootstrap openwebbeans into java se application

2013-09-17 Thread David Blevins
Hi Mauro These examples use CDI in JavaSE via the Embedded EJBContainer API which actually works for CDI as well -- in our integration at least. - http://tomee.apache.org/examples-trunk/cdi-basic/README.html Here's a CDI / Java SE example that uses @ApplicationScoped -

Re: org.apache.openjpa.persistence.PersistenceException: null

2013-09-17 Thread Leonardo K. Shikida
So just answering myself (openJPA list brought the solution) It seems that if I use IBM JVM (J9) in both windows and linux, it works. If I use oracle's, then I get the error. My persistence.xml does not have property name=openjpa.RuntimeUnenhancedClasses value=unsupported/ And I get the

Re: what signify the code above????? the method bind (inject, this);????

2013-09-17 Thread David Blevins
On Sep 10, 2013, at 9:55 AM, mauro2java2011 mauro2java2...@gmail.com wrote: this signify the object current. But the first parameter inject it is the operation to make? exist other value for the first parameter into the method bind ??? This is effectively a workaround. Dependency

Re: Failure to start TomEE with JMS Resources

2013-09-17 Thread David Blevins
Hi Houston! Looks like the answer might be quite simple and something we could perhaps add a check for -- some validation perhaps. There appears to be a newline in your datasource declaration: Resource id=MyDS type=javax.sql.DataSource JtaManaged = false JdbcDriver =

Re: org.apache.openjpa.persistence.PersistenceException: null

2013-09-17 Thread Romain Manni-Bucau
Hi Note: In tomee on trunk if you list your classes in persistence-unit it is automatically done if the persistence.xml is in meta-inf/persistence.xml Le 18 sept. 2013 04:40, Leonardo K. Shikida shik...@gmail.com a écrit : So just answering myself (openJPA list brought the solution) It seems

Re: bootstrap openwebbeans into java se application

2013-09-17 Thread mauro2java2011
But i serch for a boot like the following sample example from weld with obeserve event or weld class http:// http://antoniogoncalves.org/2011/01/12/bootstrapping-cdi-in-several-environments/ For use owb into a java se application not for test. -- View this message in context:

Re: bootstrap openwebbeans into java se application

2013-09-17 Thread mauro2java2011
http:// http://antoniogoncalves.org/2011/01/12/bootstrapping-cdi-in-several-environments/ http:// http://antoniogoncalves.org/2011/01/12/bootstrapping-cdi-in-several-environments/ Go at section java se -- View this message in context: