Re: Exception on http://openejb.apache.org/hello-world.html

2012-01-18 Thread Romain Manni-Bucau
hi, is it a type the space between the . and the class name? shouldnt it be: java -cp e:\openejb-3.1.4\lib\openejb-**client-3.1.4.jar:e:\openejb-3. 1.4\lib\javaee-api-5.0-3.jar:. org.acme.HelloClient - Romain 2012/1/18 Gurminderpal > Hello there, >I have gone through you

Re: Exception handling in web services

2010-10-20 Thread dblevins
comet wrote: > > I constantly get a parser error message when propagating exception in > webservices. The webservice in general works fine. But not able to handle > the excpetions properly. I have annotated my exception with @WebFault and > here's the class. > > package com.viewlocity.ebiz.viss

Re: EXCEPTION

2010-01-15 Thread Jonathan Gallimore
It looks likes we're trying to search for a descriptor to determine a module type when deploying your app. It looks like you're running in an OSGi container from the osgi> prompt. It may be a case of we're finding a jar in an OSGi bundle, trying to determine its type, and not being able to open it

RE: EXCEPTION

2010-01-15 Thread Vikrant Yagnick
We usually face this problem when the openejb.home and openejb.base point to the wrong directory. What is happening is, that OpenEJB wants to find ejb-jar and web.xml but cannot find them. You can try setting these environment variables manually on the java command line and see if that works. (

Re: EXCEPTION

2010-01-15 Thread Stephen Connolly
some variable is null when it shouldn't be ;-) 2010/1/14 Alistair Lenhard : > Hi, > > can anyone tell me what is going on here? > Alistair > > osgi> Apache OpenEJB 3.1.2    build: 20091010-03:11 > http://openejb.apache.org/ > INFO - openejb.home = D:\eclipse-jee-galileo-SR1-win32\eclipse > INFO -

Re: exception in OpenEJB eclipse plugin

2009-11-18 Thread Jonathan Gallimore
I'll get that on there. I'll also see if we can handle this case in the plugin better, so we give people a better idea of what the problem is. On Wed, Nov 18, 2009 at 6:56 AM, Jacek Laskowski wrote: > On Wed, Nov 18, 2009 at 6:10 AM, is_maximum wrote: > > > Today I tried to change the JDK from 1

Re: exception in OpenEJB eclipse plugin

2009-11-17 Thread Jacek Laskowski
On Wed, Nov 18, 2009 at 6:10 AM, is_maximum wrote: > Today I tried to change the JDK from 1.5.09 to 1.6 and it worked! and then I > found out the JDK was set as Java home for Eclipse so I change it back to > 1.5 but with JRE home and now it works I guess it should go to the FAQ so others won't f

Re: exception in OpenEJB eclipse plugin

2009-11-17 Thread is_maximum
Hi Jonathan I am using Eclipse Galileo build 20090621-0832 I've just downloaded OpenEJB 3.1.1 and extract it without any modification Today I tried to change the JDK from 1.5.09 to 1.6 and it worked! and then I found out the JDK was set as Java home for Eclipse so I change it back to 1.5 but wit

Re: exception in OpenEJB eclipse plugin

2009-11-16 Thread Jonathan Gallimore
Thanks for the log. I've been having a look but I can't reproduce the error here. What version of Eclipse are you using (I'm using 3.5 Galileo at the moment)? Is your copy of OpenEJB modified at all - are you using different libraries or a different config file, or is it an unmodified 3.1.1? Than

Re: exception in OpenEJB eclipse plugin

2009-11-15 Thread is_maximum
Hi Jonathan I can start it up from command line and I was able to deploy my application externally as well but in Eclipse it doesn't work here is the log of OpenEJB http://old.nabble.com/file/p26367255/openejb.log openejb.log Thanks Jonathan Gallimore-2 wrote: > > It should definitely work

Re: exception in OpenEJB eclipse plugin

2009-11-15 Thread Jonathan Gallimore
It should definitely work without having an application deployed. Does it start ok if you start it manually from the command line? Looks like you're using OpenEJB 3.1.1 - I have 3.1.2 here, but I'll try it with the same version that you have. >From your stack trace, it looks like something is try

Re: exception in OpenEJB eclipse plugin

2009-11-15 Thread is_maximum
I'll try to start it with a basic ejb module but I was expected the server can start up with no application Jonathan Gallimore-2 wrote: > > Hi Mohammad, > > I'm not sure what's going on here - if you export your EJB module to an > EJB > JAR in Eclipse, and drop it in the apps folder of your Op

Re: exception in OpenEJB eclipse plugin

2009-11-15 Thread is_maximum
Hi Jonathan I update my Eclipse to use OpenEJB plugin and this exception occurs when I start the server with no application to be deployed and starting server fails!! I went follow the instruction in a demo video you provide, this exception is when still no application is selected Jonathan Gall

Re: exception in OpenEJB eclipse plugin

2009-11-15 Thread Jonathan Gallimore
Hi Mohammad, I'm not sure what's going on here - if you export your EJB module to an EJB JAR in Eclipse, and drop it in the apps folder of your OpenEJB standalone server does it start ok? Are you able to setup a basic project that reproduces the problem that I might be able to have a look at? Jo

Re: exception in OpenEJB eclipse plugin

2009-11-13 Thread is_maximum
Hi David, I still get this error! I set the JDK in eclipse.ini but it didn't work. the class javax.ejb.EJBHome is in a jar file named javaee5 or something like that in "lib" directory of OpenEJB but it seems this plugin can't load it! is_maximum wrote: > > Yes it's Sun's JDK version 1.5.09 >

Re: exception in OpenEJB eclipse plugin

2009-11-12 Thread is_maximum
Yes it's Sun's JDK version 1.5.09 David Blevins wrote: > > Do you know if that is the Sun or IBM (or some other) JDK? > > -David > > On Nov 12, 2009, at 10:54 AM, is_maximum wrote: > >> >> Well it's JDK 1.5.09 >> >> I'm not sure but I think this is because in Eclipse the jre has been >> se

Re: exception in OpenEJB eclipse plugin

2009-11-12 Thread David Blevins
Do you know if that is the Sun or IBM (or some other) JDK? -David On Nov 12, 2009, at 10:54 AM, is_maximum wrote: Well it's JDK 1.5.09 I'm not sure but I think this is because in Eclipse the jre has been set and I have to change to use JDK. Now I'm at home and tomorrow I will test it

Re: exception in OpenEJB eclipse plugin

2009-11-12 Thread is_maximum
Well it's JDK 1.5.09 I'm not sure but I think this is because in Eclipse the jre has been set and I have to change to use JDK. Now I'm at home and tomorrow I will test it David Blevins wrote: > > That's very strange. Can you post your java vendor and version? > > -David > > On Nov 12, 200

Re: exception in OpenEJB eclipse plugin

2009-11-12 Thread David Blevins
That's very strange. Can you post your java vendor and version? -David On Nov 12, 2009, at 4:40 AM, is_maximum wrote: Hi I get following error when starting the server : Apache OpenEJB 3.1.1build: 20090530-06:18 http://openejb.apache.org/ org.apache.openejb.OpenEJBException: java.lang

Re: Exception logged as DEBUG??

2009-02-12 Thread David Blevins
Hi Thomas, System exceptions from business methods should reach the client where they can be handled and logged and therefore are logged on the server's log file as debug. If the exception is getting swallowed before reaching the client, than that would be a definite issue. We are seein

Re: Exception while testing MDB

2009-01-19 Thread David Blevins
On Jan 14, 2009, at 2:52 AM, marekd wrote: Could it be the same problem as this one: https://issues.apache.org/activemq/browse/AMQ-1824 (see next to last comment) ? Seems very likely. I'd recommend upgrading the ActiveMQ version to try it out, but unfortunately they repackaged their code b

Re: Exception in Transaction does not show the original Cause

2008-12-28 Thread David Blevins
On Dec 22, 2008, at 12:34 AM, Maxime Thieu wrote: Hello, I am using OpenEJB3.1 in Tomcat with JPA and Hibernate 3.3 as provider. It works well, but when an persistence exception occurs (originaly thrown by Hibernate, for exemple, Constraint violation), the visible Exception is : javax

Re: Exception while using embedded openejb for testing in eclipse

2007-11-09 Thread Newgro
Hi David, ok. I got it exactly the way you did. My fault was that i added only some libs to my eclispe-build-path geronimo-annotation_1.0_spec-1.1.jar geronimo-ejb_3.0_spec-1.0.jar geronimo-jta_1.1_spec-1.1.jar log4j-1.2.12.jar openejb-client-3.0-beta-1.jar openejb-core-3.0-beta-1.jar openejb-ejb

Re: Exception while using embedded openejb for testing in eclipse

2007-11-07 Thread David Blevins
On Nov 6, 2007, at 9:37 PM, David Blevins wrote: Hi Per, It isn't clear what's causing the issue based on the stack trace (NoClassDefFoundErrors usually require some debugging). I'm going to try and convert one of our examples into an eclipse project and see if I can't get something work

Re: Exception while using embedded openejb for testing in eclipse

2007-11-06 Thread David Blevins
Hi Per, It isn't clear what's causing the issue based on the stack trace (NoClassDefFoundErrors usually require some debugging). I'm going to try and convert one of our examples into an eclipse project and see if I can't get something working. I'll post the workspace when I'm done. If y

Re: Exception: NullPointerException

2007-10-11 Thread Mohammad Nour El-Din
On 10/11/07, Martin Vysny <[EMAIL PROTECTED]> wrote: > > > On Wed, 2007-10-10 at 22:28 +0200, Mohammad Nour El-Din wrote: > > Hi Martin... > > > > Thanks for your comments and your patch I will review when I have time > and > > apply it if applicable. Just as a friendly note, these kinds of notes i

Re: Exception: NullPointerException

2007-10-11 Thread David Blevins
Martin Vysny-2 wrote: > > Hi guys, > I tried to deploy an EJB2.1 project in OpenEJB, (btw EJB2.0 descriptor > is rejected by OpenEJB: validation error - the > element in is rejected), > but I get this error: > Hi Martin. This is a known issue and defnitely will be fixed. Essentially that

Re: Exception: NullPointerException

2007-10-11 Thread Martin Vysny
On Wed, 2007-10-10 at 22:28 +0200, Mohammad Nour El-Din wrote: > Hi Martin... > > Thanks for your comments and your patch I will review when I have time and > apply it if applicable. Just as a friendly note, these kinds of notes it is > better to be sent on the development list so it can get bett

Re: Exception: NullPointerException

2007-10-10 Thread Mohammad Nour El-Din
Hi Martin... Thanks for your comments and your patch I will review when I have time and apply it if applicable. Just as a friendly note, these kinds of notes it is better to be sent on the development list so it can get better noticed :). I hope you wont stop finding issues and fixing them for Ope

Re: Exception: NullPointerException

2007-10-10 Thread Martin Vysny
On Wed, 2007-10-10 at 10:04 +0200, Martin Vysny wrote: > On Wed, 2007-10-10 at 09:05 +0200, Martin Vysny wrote: > > Hi guys, > > I tried to deploy an EJB2.1 project in OpenEJB, (btw EJB2.0 descriptor > > is rejected by OpenEJB: validation error - the > > element in is rejected), > > but I get

Re: Exception: NullPointerException

2007-10-10 Thread Martin Vysny
On Wed, 2007-10-10 at 09:05 +0200, Martin Vysny wrote: > Hi guys, > I tried to deploy an EJB2.1 project in OpenEJB, (btw EJB2.0 descriptor > is rejected by OpenEJB: validation error - the > element in is rejected), > but I get this error: > > ERROR - FATAL ERROR: Unknown error in Assembler.