Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-13 Thread splazit
I have exact same issue. My ear structure is as follow: ear - lib/ - all the common jar for web1, web2 and ejb - web1.war - web2.war - ejb.jar So in my war files, I don't have any jars in there and I place all the jars in the ear/lib level. When I started the tomee 1.5.2, I got

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-13 Thread m1000
Well this is awkward. A Simple HelloWorld example works, and further testing show that I can reference other objects in my ear/lib/pc.jar but not my data model. Right now I am doubts than this would even work in glassfish, but I will try it. Thanks to everyone that answered, I'll need to find out

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-13 Thread splazit
This sounds interesting then. I will try to narrow down my app then. If this is in fact the error, I think tomee team should fix this issue so it can output a more meaningful exception. -- View this message in context:

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-13 Thread Romain Manni-Bucau
what's the exception you should get? *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/5/13

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-13 Thread m1000
In my case, there was an exception that I didn't see when I looked at the stacktrace, but it was there: Caused by: java.lang.IllegalStateException: Application is not launched. at org.jdesktop.application.Application.checkApplicationLaunched(Application.java:692) at

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-13 Thread Romain Manni-Bucau
hmm, without more details can't say which part swallowed it can you provide us a sample showing it? *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn:

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-11 Thread m1000
sthg ? Currently I'm trying to deploy my ear in TomEE which I started manually; But I'm fighting over access to the http://localhost:8080/manager app, and it doesn't work. I modified tomcat-users.xml but all I get is a help configuration page... tomee/apps ? I don't see this in my installation.

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-11 Thread m1000
I've managed to get access to the manager; But it won't deploy .ear files, only war files ??? -- View this message in context: http://openejb.979440.n4.nabble.com/ear-lib-not-seen-I-m-getting-a-class-not-found-error-tp4662819p4662832.html Sent from the OpenEJB User mailing list archive at

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-11 Thread m1000
I've added the Deployments dir in tomee.xml - it wasn't there. My app deploy under tomee/apps/ (I had to create that directory) But its the same result. Do I need to do something like having a class-path in my manifest ? Should I create a fake war to make it work ? EAR STRUCTURE:

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-11 Thread m1000
I will try that in a little while. Its just that this ear package was working under Glassfish. So its frustrating to have it not working under TomEE, especially if I have to mess around with the structure and become TomEE specific... As for adding my libs to the tomee lib directory, I'll try

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-11 Thread Chris.Christo
What does your application.xml and your manifest file look like? What Romain was asking for earlier when he said 'sthg' (i.e 'something') was if you can provide something that we can run, i.e can you host something on github (maybe your tomee setup with the ear inside apps) so we can clone it

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-11 Thread m1000
I'll be away from the computer for a while but I don't think that I have anything in those files. I will also try a hello world minimal sample for testing. Thanks On 2013-05-11 6:40 PM, Chris.Christo [via OpenEJB] ml-node+s979440n4662836...@n4.nabble.com wrote: What does your application.xml

ear/lib not seen ? I'm getting a class not found error...

2013-05-10 Thread m1000
Hi, I'm a new user of Tomee (1.5.2). I am also kind of a newbie to J2EE. Still what I got was working under Glassfish. Now I am trying to get it working under Tomee... My EJB Timer successfully work on calling my method, but I get a Class not found exception when that code try to access classes

Re: ear/lib not seen ? I'm getting a class not found error...

2013-05-10 Thread John D. Ament
CAn you post the stacktrace? On Fri, May 10, 2013 at 5:30 PM, m1000 martinmil...@gmail.com wrote: Hi, I'm a new user of Tomee (1.5.2). I am also kind of a newbie to J2EE. Still what I got was working under Glassfish. Now I am trying to get it working under Tomee... My EJB Timer