Re: Cant invite EJB from another Tomcat

2014-10-29 Thread sapozal
to be honest- those projects are linked to our inner projects, will be not simple to disconnect it. But I posted a client code, server could be any ejb that you want- just call it MyEjb. I am pretty sure this is a reproducable problem, however it is always a possibility that I am wrong and everythi

Re: Cant invite EJB from another Tomcat

2014-10-29 Thread sapozal
Ok. It seems to me that I figured out the scope of the problem. When you are running an EJB client as a part of web application from normal, non-Tomee tomcat, you need some j2ee jar, open-ejbclient is not enough since it is not including all javax.ejb.* classes. However javaee-api-6.0-6-tomcat.jar

Re: Cant invite EJB from another Tomcat

2014-10-29 Thread sapozal
You right. Here is the content of DoGet of my Servlet Properties p = new Properties(); p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory"); p.put("java.naming.provider.url", "http://127.0.0.1:8080/tomee/ejb";); /

Re: Cant invite EJB from another Tomcat

2014-10-29 Thread sapozal
Hi. No, no such issues inside of tomcat logs. Looks like a critical showstopper bug... -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Cant-invite-EJB-from-another-Tomcat-tp4672650p4672653.html Sent from the TomEE Dev mailing list archive at Nabble.com.

Cant invite EJB from another Tomcat

2014-10-29 Thread sapozal
I arrive to the conclusion that Tomee have a very serious problem in EJB container. I created a simple EJB, deployed into Tomee I created a very simple EJB client inside of DoGet of very simple Servlet and inserted this Servlet into another Tomcat thats what I get on invocation java.lang.NoClassDe

Invocation of EJB method of Tomee from grails app

2014-10-27 Thread sapozal
hello all. I have 1.One EJB running under Tomee 2.One Grails app running usual Tomcat which is actually an EJB client when trying to invoke the server method from EJB I got INFO: RemoteInitialContextCreated{providerUri=http://127.0.0.1:8080/tomee/ejb} 2014-10-27 19:00:41,064 [http-apr-8081-exec-6

Re: Cant deploy Grails war to Tomee

2014-10-27 Thread sapozal
Thanks for the help. Do you know how could I change the bean validation at Grails app?? I dont see there any setting for that.. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Cant-deploy-Grails-war-to-Tomee-tp4672631p4672639.html Sent from the TomEE Dev mailing list

Cant deploy Grails war to Tomee

2014-10-27 Thread sapozal
Hello all. I have war of Grails 2.4.0 project. I have created him by command "war -Dgrails.project.war.osgi.headers=false" Now I am trying to upload it to Tomee and got this org.apache.openejb.OpenEJBException: Creating application failed: C:\Users\apache-tomee-plus-1.7.1\webapps\TestGrails: jav

Re: Cant obtain the DataSource via Context JNDI

2014-10-26 Thread sapozal
thank you very much, it worked -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Cant-obtain-the-DataSource-via-Context-JNDI-tp4672626p4672628.html Sent from the TomEE Dev mailing list archive at Nabble.com.

Cant obtain the DataSource via Context JNDI

2014-10-26 Thread sapozal
Hello all. I am new at Tomee. Tried to make some simple movements in our prototype dev. I created a Resource which connect Tomee to Postgres # PostgreSQL example # # This connector will not work until you download the driver at: # http://jdbc.postgresql.org/download.html Jd