Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread wlad
Romain Manni-Bucau wrote > tomee-admin is the needed role so: > > > > would work Thanks a lot. Good to know I can see JNDI names of deployed beans. -- View this message in context: http://openejb.979440.n4.nabble.com/JNDI-LOOKUP-error-Cannot-open-input-stream-to-server-tp4665304p4665379.h

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread Romain Manni-Bucau
tomee-admin is the needed role so: would work *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibu

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread wlad
Romain Manni-Bucau wrote > Did you sign in? > > depending the version you can need to activate tomee user in > tomcat-users.xml -folder conf of tomee) Thanks for these tips, it is explained in "tomcat-users.xml" how to register a user, but I need advice. This is sample (wrapped in comments) user

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread Romain Manni-Bucau
Did you sign in? depending the version you can need to activate tomee user in tomcat-users.xml -folder conf of tomee) *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://f

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread wlad
Romain Manni-Bucau wrote > did you try http://localhost:8080/tomee/? Yes, I did, and I am getting just blank white page with black header at the top of the page. Header that has caption (links) "Apache TomEE" and "Home" on the left corner, and "Sign In" link on the right corner. -- View this m

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread wlad
I have finally(!!!) made this example run. Server wasn't deploying jars from its webapps folder because in server settings, selected option was "Use workspace metadata (does not modify Tomcat installation)". After selecting option "Use Tomcat installation (takes control of Tomcat installation)" th

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-30 Thread Romain Manni-Bucau
Hi did you try http://localhost:8080/tomee/? *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau*

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-29 Thread Romain Manni-Bucau
Hi put jars in tomee/apps (folder to create) and wars in tomee/webapps *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-29 Thread wlad
Wanting to see if some other examples work, I have deployed/added to Tomee one simple exercise that is of Dynamic Web Project type ( this one ), and this example works fine. It's simple example that demonstrates adding cookies to response headers, just simple servlet tha

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-29 Thread wlad
Romain Manni-Bucau wrote > To compile versions can be different but not at runtime. Hi I have copied "openejb-client-4.5.2.jar" from tomee's lib folder and put it in runtime-libs folder of my project so it uses same version. Still same. I can see that in apache-tomee-webprofile-1.5.2/webapps folde

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-28 Thread Romain Manni-Bucau
Hi To compile versions can be different but not at runtime. Le 29 sept. 2013 08:18, "wlad" a écrit : > Romain Manni-Bucau wrote > > Im pretty sure you have an environment issues since we use since the > first > > release of tomee ejbd to be certified. Maybe start from an empty/clean > > environm

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-28 Thread wlad
Romain Manni-Bucau wrote > Im pretty sure you have an environment issues since we use since the first > release of tomee ejbd to be certified. Maybe start from an empty/clean > environment. OK, I have unistalled Eclipse IDE I had (Indigo version), and installed newest Eclipse IDE for Java EE Devel

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
Romain Manni-Bucau wrote > Maybe start from an empty/clean environment. Yes, it sounds like only solution. I will remove current Eclipse IDE, and install fresh one, and try everything from beginning. I will post the results here. Thanks for help. -- View this message in context: http://open

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread Romain Manni-Bucau
Im pretty sure you have an environment issues since we use since the first release of tomee ejbd to be certified. Maybe start from an empty/clean environment. Le 27 sept. 2013 18:35, "wlad" a écrit : > This is what I've just tried(update from openejb-client-4.5.0 to > openejb-client-4.5.2): > > -

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
This is what I've just tried(update from openejb-client-4.5.0 to openejb-client-4.5.2): - copy ...tomee-1.5.2/lib/openejb-client-4.5.2.jar - paste in runtime-libs folder of my example - removed openejb-client-4.5.0.jar that was there Eclipse recognized openejb-client-4.5.2.jar under runtime-libs.

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
Romain Manni-Bucau wrote > Your script was referring 1.5.2, are you sure you updated it to use 1.5.0 I am using tomee 1.5.2. I have only tried to run this example with 1.5.0, but didn't help, so I've switched back to 1.5.2. Romain Manni-Bucau wrote > (or update openejb-client to 4.5.2)? (May s

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread Romain Manni-Bucau
Your script was referring 1.5.2, are you sure you updated it to use 1.5.0 (or update openejb-client to 4.5.2)? *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linked

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
You made it, nice to see it running. I'm still struggling with it, still getting error: Buildfile: /home/vladimir/workspace/MBS-Vezbe/Vezbe03/build.xml runClient1: [java] Sep 27, 2013 4:34:26 PM org.apache.openejb.client.EventLogger log [java] INFO: RemoteInitialContextCreated{providerU

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread Romain Manni-Bucau
Hi tested on trunk (I don't have 1.5 anymore locally and not the time to setup it through ant): ┌( rmannibucau @ ubuntu )─( 1.7.0_40 -:- 3.1.0 ) └( /tmp/Vezbe03 )·> ant runClient1 Buildfile: /tmp/Vezbe03/build.xml runClient1: [java] Sep 27, 2013 3:45:02 PM org.apache.openejb.client.EventLog

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
I did use tomee 1.5.2 at first, but then when you mentioned version aligning I tried with 1.5.0, but nothing. -- View this message in context: http://openejb.979440.n4.nabble.com/JNDI-LOOKUP-error-Cannot-open-input-stream-to-server-tp4665304p4665320.html Sent from the OpenEJB User mailing list

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread Romain Manni-Bucau
i thought you used tomee 1.5.2 *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/9/27 wla

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
Romain Manni-Bucau wrote > the client version is different from the server one it seems. Please align > it I have downloaded another Tomcat/EE version: "apache-tomee-plus-1.5.0" and set it up with Eclipse. But still, I am not able to run this example. Log message I am getting now is: Buildfile: /

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread Romain Manni-Bucau
the client version is different from the server one it seems. Please align it *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: h

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-27 Thread wlad
Romain Manni-Bucau wrote > is your client using the same version as the server? It's a simple client, just plain "public static void main" method, that should demonstrate using of JNDI service for EJB bean lookup, and calling bean method. Here is the zipped eclipse project, so you can try to run

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-26 Thread Romain Manni-Bucau
HI is your client using the same version as the server? *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rma

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-26 Thread wlad
Romain Manni-Bucau wrote > Are you sure it is tomee which runs on port 8080? I have downloaded and set up "apache-tomee-webprofile-1.5.2" in Eclipse (setting done following this tutorial, but using TomEE, not Tomca

Re: JNDI_LOOKUP error=Cannot open input stream to server

2013-09-26 Thread Romain Manni-Bucau
Hi Are you sure it is tomee which runs on port 8080? Le 26 sept. 2013 22:45, "wlad" a écrit : > I'm new to JEE. I use Eclipse IDE, OpenEJB as persistence provider, TomEE > app > server. TomEE runs fine with Eclipse (http://localhost:8080/). > > I have simple example (that is valid), but can't ma

JNDI_LOOKUP error=Cannot open input stream to server

2013-09-26 Thread wlad
I'm new to JEE. I use Eclipse IDE, OpenEJB as persistence provider, TomEE app server. TomEE runs fine with Eclipse (http://localhost:8080/). I have simple example (that is valid), but can't make it run. The log message I'm getting is: http://127.0.0.1:8080/tomee/ejb} [java] Sep 26, 2013 9:5