Re: your current Geronimo evaluation

2009-03-10 Thread Jaikiran
djencks wrote: Anyway, I think you should try out the servers you think are interesting and see which one(s) fit your requirements and style of work. This is not really the place to discuss the advantages or disadvantages of JBoss. You can easily deploy simple apps on any app

Re: jndi datasource access problem

2009-03-10 Thread Rex Wang
can you show us the deployment plan and deployment descriptor of your application using the datasource? Rex. 2009/3/4 David Jencks david_jen...@yahoo.com On Mar 3, 2009, at 12:50 AM, Jack Cai wrote: 2009/3/3 Kaupo kpar...@gmail.com Jack Cai wrote: Are you runing this piece of

Re: JNDI in Geronimo 2

2009-03-10 Thread Rex Wang
Tang, I believe Russell use a remote client, but not a application client. to Russell, try ejbd://localhost:4201 Rex. 2009/3/10 Ying Tang yingtang1...@gmail.com Hi Russell, I suggest you use JDK 1.5 instead of 1.6. It is also recommended that Eclipse and Geronimo use the same Java

Re: JNDI in Geronimo 2

2009-03-10 Thread Ying Tang
Yes, should be ejbd://localhost:4201. The same as the example in the dochttp://cwiki.apache.org/confluence/display/GMOxDOC22/Deploying+and+running+EJB+application+clients . 2009/3/10 Rex Wang rwo...@gmail.com Tang, I believe Russell use a remote client, but not a application client. to

Re: Newbie problem with Geronimo 2.1.3

2009-03-10 Thread Ricardo Peironcely
Thanks David. I've erased the modules form geronimo-application.xml and the project runs without problems. 2009/3/5 David Jencks david_jen...@yahoo.com On Mar 5, 2009, at 8:24 AM, Ricardo Peironcely wrote: I've found my error, but i don't know how to solve it. I'm working with eclipse

Re: jar.xml files

2009-03-10 Thread Kevan Miller
On Mar 10, 2009, at 12:12 AM, Russell Collins wrote: I am having an issue with the ejb-jar.xml and openejb-jar.xml files. When I don’t add anything to these files, they have no errors. However, when I add an element (in this case enterprise- beans) I get the following errors:

CMP exception: Attempt to cast instance xxx [java.lang.String] to PersistenceCapable failed. Ensure that it has been enhanced.

2009-03-10 Thread Phili
Hi i've been playing around with a test project consisting of a cmp entity bean and a simple 1-method-webservice trying to persist on instance of that entity. deployment of the classes went well but i couldnt get an entity-instance persisted. the entity class look something like this

Re: your current Geronimo evaluation

2009-03-10 Thread Aldian_00
Ok Thank you very much everyone for the reply. I would still have a tough question to ask you: About Geronimo's load balancing / failover capacities. Is it only based on apache's ones, or is there a functionality specific to Geronimo about this? I am asking this because it seems that apache's

RE: JNDI in Geronimo 2

2009-03-10 Thread Russell Collins
Thank you Wang and Tang. Here are the things that I have done. * Changed the JDK to version 1.5.0_6 * Updated all of my classes to use this version of Java * Changed the provider url to ejbd://localhost:4201 I get the error java.lang.RuntimeException: Invalid

RE: jar.xml files

2009-03-10 Thread Russell Collins
Here is what my ejb-jar.xml file looks like ?xml version=1.0 encoding=UTF-8? ejb-jar xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:ejb=http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

Re: Gbean to install plugin from remote repository?

2009-03-10 Thread David Jencks
On Mar 9, 2009, at 7:34 PM, James D Carroll wrote: I really hate hijack the OP, but in truth none of the scenarios you mentioned are what I'd like to be able to do: My group creates products that other areas of the company may or may not find useful. Vacation tracker, time sheets,

Re: your current Geronimo evaluation

2009-03-10 Thread Xasima Xirohata
Sorry, and we will need to use back-end type load-balancing is it on the topic of Group Communication Management System, means 1) load balancing to propagate requests to the certain instance of Network Management System (equipment) 2) automatic determining of inclusion / exclusion certain

Re: JNDI in Geronimo 2

2009-03-10 Thread Rex Wang
Russell, could you provide the whole exception strack? I can not got your problem. here is my code: public class Client { public static void main(String[] args) throws Exception { try { Properties p = new Properties();

Re: JNDI in Geronimo 2

2009-03-10 Thread Rex Wang
BTW you should add repository\org\apache\openejb\openejb-client\3.0\openejb-client-3.0.jar to your client's build path. Rex 2009/3/11 Rex Wang rwo...@gmail.com Russell, could you provide the whole exception strack? I can not got your problem. here is my code: public class Client {

Recording resource consumption

2009-03-10 Thread James D Carroll
I've looked at the monitoring stuff in general and it seems to be geared more towards a real time view of what going on. That's fine, but I was wondering if there is a feature in Geronimo that would log resource consumption over a period time for a particular instance. Bottomline, I need to be

Re: Recording resource consumption

2009-03-10 Thread David Jencks
On Mar 10, 2009, at 8:30 PM, James D Carroll wrote: I've looked at the monitoring stuff in general and it seems to be geared more towards a real time view of what going on. That's fine, but I was wondering if there is a feature in Geronimo that would log resource consumption over a period