Can not access ejb in different ear

2007-04-24 Thread mahu2425
Hi there, I created an entity bean in an ejb project, packaged everything in an ear file and deployed it to my Geronimo 1.1.1 server. The entity bean works fine as long as all calls to the bean are from inside the same ejb project (let's call it ejb1.jar packaged in ear1.ear). I tried to call

Re: Can not deploy EAR in Geronimo 1.1.1

2006-10-02 Thread mahu2425
Hi Aaron, strange, I send the email just once to the mailing list ?!?! ;-) I expose the EJB as a web service, that means the jar archive for the enterprise bean additionally includes a webservices.xml file, a WSDL file and a JAX-RPC mapping file. Everything worked fine on Geronimo 1.0. I tried to

Re: Can not deploy EAR in Geronimo 1.1.1

2006-09-25 Thread mahu2425
Hi Aaron, my openejb-jar.xml (after the upgrade) looks like this: http://www.openejb.org/xml/ns/openejb-jar-2.1"; xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"; xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"; xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"; xmlns:

Creating SQL security realm fails in 1.1.1

2006-09-22 Thread mahu2425
Hi, I tried to create an SQL security realm in Geronimo 1.1.1 using the wizard, but in opposite to Geronimo 1.0 it fails. Maybe this might be a bug In the last step where I can test the new ream I'll always get the result "Login failed". The logfile (geronimo.log) says: 07:33:15,193 WARN [Se

Can not deploy EAR in Geronimo 1.1.1

2006-09-22 Thread mahu2425
Hi there, I'm trying to migrate an application from Geronimo 1.0 to Geronimo 1.1.1 (Jetty version), but I fail deploying the ear file. My application consists of a single stateless session bean, that serves as a webservice. The resulting jar file (with the ejb) is packaged in a ear file. I upd

Re: Entity bean can not remove itself

2006-07-17 Thread mahu2425
Hi David, I already filed a jira for this. The id is: GERONIMO-2166 The crash of the server occurs when calling remove(). Calling ejbRemove() ha no effect (see jira). BTW, is there a ways to reanimate the server if it starts up saying "GBean destroyed". In addition I think it's not possible to

Re: Entity bean can not remove itself

2006-07-10 Thread mahu2425
Hello Dirk, I'm not sure what you mean by "collection version of ejbRemove()". Could you please explain it a little bit more? Thank in advance, Markus > Hello, Markus > > now I get it ^^ (at least I think so) > > So, to summarize it: you work with a CMP bean that is used by various > oth

Re: Entity bean can not remove itself

2006-07-04 Thread mahu2425
Hello Dirk, in my scenario the entity bean stores some data from an ERP system. The data is required for a number of steps (function calls, data for message driven beans, etc.). After all (concurrent) tasks have been completed, the entity bean is no longer required and can remove itself. The

Creating security realm in 1.1 fails

2006-07-03 Thread mahu2425
Hi there, I played a bit around with Geronimo 1.1 (Jetty version) and it seems that it's not possible in 1.1 to create new SQL based securtiy realm using the console. I always receive an error: Error: Error: Unable to initialize LoginModule: Unable to load, instantiate, register driver null: nu

Re: Entity bean can not remove itself

2006-07-03 Thread mahu2425
Hello, has nobody an idea if this migh be a bug or if I'm doing anything wrong? I really need this feature, that an entity bean can remove itself. Could anybody help me? ;-) Best regards, Markus > Hi there, > > I have an entity bean (CMP) that uses the TimerService and includes >

How to update to 1.1

2006-06-30 Thread mahu2425
Hi there, I'm just wondering how to update my Geronimo 1.0 installation to 1.1. Is there a way to update the "binaries" a keep the configuration as it is? I tried to unzip the the 1.1 release into the same directory as the 1.0 installation and from the first view it seems that a few things like

Entity bean can not remove itself

2006-06-29 Thread mahu2425
Hi there, I have an entity bean (CMP) that uses the TimerService and includes the TimedObject interface. When the callback function ejbTimeout(Timer timer) on the entity bean is executed, the bean should remove itself. My code looks like: public void ejbTimeout(Timer timer) { ejbRemove(); } I in

Access bean from another - JNDI name

2006-05-16 Thread mahu2425
Hi there, I'm trying to access an entity bean from a stateless session bean and I'm running into a "javax.naming.NameNotFoundException" while executing the followin statement: ctx.lookup("java:/comp/env/ejb/MyBean"); ctx is an InitialContext without parameters. Both EJBs are running on the sam

Re: java.rmi.NoSuchObjectException: ...

2006-04-28 Thread mahu2425
Hi Ishwar, did you include a part in your web.xml ? It should look similar to: ejb/TimeServerEJB Session com.xzy.TimerServerEJBHome com.xzy.Timerserver should match in openejb-jar.xml If that doesn't help, could you post you deployment descriptors? Greets, Markus

Re: Re: Web Service: data types missing

2006-04-28 Thread mahu2425
Hi Aaron, no, of course it's not really necessary, but I just wanted to understand why the data types sometimes appear and sometimes not. >From my point of view I would appreciate if their never appear, because that >would make the response more readable in case of an error. ;-) Yours, Mark

Web Service: data types missing

2006-04-28 Thread mahu2425
Hi there, I worte a small EJB-based web service and deployed it on Geronimo. After extending the functionality of my web service (EJB side) I found out, that the data types of the SOAP response are no longer transmitted. Let's say in an older version of my EJB the web service response contained

Re: Can not fetch WDSL with Tomcat version

2006-04-23 Thread mahu2425
Hi Aaron, the error message im my web browser is the same, as well as the error in Geronimo log file. The URL in my browser is still converted to "http://localhost:8080/MyDemo/MyDemoWebService/?wsdl=foo"; Really strange. Btw, as I said before the service runs perfect with the Jetty version of

Can not fetch WDSL with Tomcat version

2006-04-22 Thread mahu2425
Hello, First of all: I'm quite new to Geronimo as well as to J2EE in general, so don't blame me if my question is studip. ;-) I developed a small stateless session bean and tried to make a web service out of it. The deployment to Geronimo (Tomcat version) was successful, but I was not able to