Re: Re: About JCA 1.5 Admin objects and JNDI

2009-07-20 Thread johnxmas
>On Jul 10, 2009, at 3:01 AM, johnxmas wrote: > >> Hi all, >> >> With JCA 1.5 was introduced the concept of Admin Objects. So now, >> you cand deploy in your resource adapter much more thant a >> ConnectionFactory; >> I used the feature to include in

About JCA 1.5 Admin objects and JNDI

2009-07-10 Thread johnxmas
Hi all, With JCA 1.5 was introduced the concept of Admin Objects. So now, you cand deploy in your resource adapter much more thant a ConnectionFactory; I used the feature to include in my deployment the InteractionSpec and ConnectionSpec. But at lookup time, it sems these objects are passed by

Re: Re: Re: J2EE Connector deployment problem

2009-07-10 Thread johnxmas
try the following code: META-INF/log4j.properties ServerInfo anything else, let us know. Jeff C In this case, I get org.apache.geronimo.kernel.config.LifecycleException: start of com.scort.demos/vscics/1.0/ear failed // Caused by: org.apache.geronimo.gbean.InvalidConfiguration

Fw: Re: Re: J2EE Connector deployment problem

2009-07-09 Thread johnxmas
After adding META-INF/log4j.properties to my geronimo-ra.xml, I get the following exception 16:25:37,156 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="com.scort.demos/vscics/1.0/ear?J2EEApplication=com.scort.demos/vscics/1.0

J2EE Connector deployment problem

2009-07-08 Thread johnxmas
Hi, I'm trying to add a GBean for log4j in a resource adapter, but I get the following error: jar:file:/D:/geronimo-tomcat6-javaee5-2.1.3/var/temp/geronimo-deploymentUtil45578.rar!/META-INF/geronimo-ra.xml:58:3: error: cvc-complex-type.2.4a: Expected element 'resourceadap...@http://geronimo.apa

Re: Re: Geronimo security question

2008-11-04 Thread johnxmas
Thanks a lot for your help Jean-Noël >johnxmas wrote: >>> shouldn't >>> >>>>> class >>> ="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/> >>> >>> >>> be &

Re: Re: Geronimo security question

2008-11-03 Thread johnxmas
;d leave out designated-run-as="true" > >thanks >david jencks > I tried with None works ! Jean-Noël >On Oct 31, 2008, at 2:59 AM, johnxmas wrote: > >> Hi David, >> >> >

Re: Re: Geronimo security question

2008-10-31 Thread johnxmas
Hi David, >Anyway I think what you need to do is: > >1. define a properties file login module based security realm, perhaps >by using the admin console. Lets say you call it my-realm >2. translate the data into property files: > >my-users.properties: >scort=scort > >my-groups.properties: >spad

Geronimo security question

2008-10-30 Thread johnxmas
Hi, I'm moving applications from Tomcat to Geronimo 2.1.3 One of these apps had security constraints. I read the documentation but, honestly, I didn't understand how I can achieve the same under Geronimo Any help would be appreciated Jean-Noël Here is the tomcat configuration - tomcat-users.

JCA Connector getConnection returning a Proxy

2008-10-14 Thread johnxmas
Hi, I'm experiencing a problem with my ResourceAdapter: the getConnection metod of my ConnectionFactory returns a Proxy instead of the expected Connection , causing a ClassCastException java.lang.ClassCastException: $Proxy33 com.scort.ctg.cics.eci.jca.EciConnectionFactory.getConnection

Deployment pb with geronimo 2.1.1

2008-07-18 Thread johnxmas
Hello, I just deployed the latest release (2.1.1). When deploying a war (that works fin with geronimo 2.0.2), I get the following exception: 10:18:35,593 ERROR [DirectoryHotDeployer] Unable to deploy: Unable to create con figuration for deployment org.apache.geronimo.common.DeploymentException:

Re: Re: JCA Connector and hidden-classes

2008-07-16 Thread johnxmas
l on the log level.... Thanks Jean-Noël >On Jul 9, 2008, at 2:44 AM, johnxmas wrote: > >> Kevan, >> >> I corrected my geronimo.bat, by suppressing the quotes as you >> stated, and, >> yes, it succeeded: the commons-logging.jar used is the one from my >

Re: Re: JCA Connector and hidden-classes

2008-07-09 Thread johnxmas
:/geronimo-tomcat6-jee5-2.0.2/lib/log4j-1.2.14.jar shows that my applications log4j.jar is not used. So, my local log4j.xml is ignored and I get a default "INFO" trace level instead of the ones I specified Jean-Noël > >On Jul 8, 2008, at 9:24 AM, johnxmas wrote: > &

Re: Re: JCA Connector and hidden-classes

2008-07-08 Thread johnxmas
I hope it's not 1.0 :-) (I'd >>> recommend 2.1) >>> >>> I'm not sure why this isn't working yet. Is there any chance you >>> could lend me your connector or a test case? The environment element >>> of the geronimo plan might be enoug

Re: Re: JCA Connector and hidden-classes

2008-04-23 Thread johnxmas
arta or something that you don't want to >hide :-) > >Let us know if there are additional problems > >thanks >david jencks > >On Apr 22, 2008, at 7:50 AM, johnxmas wrote: > >> Hello, >> >> I created my own JCA connector. Wanting to use my own versi

JCA Connector and hidden-classes

2008-04-22 Thread johnxmas
Hello, I created my own JCA connector. Wanting to use my own version of commons-logging and log4j, I have embedded in thre RAR the two corresponding jars and, in geronimo-ra.xml, added the following lines org.apache.commons.logging,org.apache.log4 But, when I deploy the adapter

Re: Re: JNDI Question

2006-03-16 Thread johnxmas
David, This time, it did work. Thank's a lot for your dedication. I was not familiar with and (I don't use them with JBoss, WebLo or WebSphere), and I really messed a lot. Thanks again, Jean-Noel >On Mar 15, 2006, at 12:55 AM, johnxmas wrote: > >>> On Mar 14, 2

Re: Re: JNDI Question

2006-03-15 Thread johnxmas
>On Mar 14, 2006, at 7:58 AM, johnxmas wrote: > >> Hi List, >> >> I have a Resource Adapter (both inbound and outbound) and an >> MDB. When the MBD is called, it tries to use the oubound part of >> the RA, looking up >> for the ConnectionFactory, the I

JNDI Question

2006-03-14 Thread johnxmas
Hi List, I have a Resource Adapter (both inbound and outbound) and an MDB. When the MBD is called, it tries to use the oubound part of the RA, looking up for the ConnectionFactory, the InteractionSpec and the ConnectionSpec (the two laters having been deployead as admin objects) My questions:

Re: Re: Yet another ActivationSpec NotFound Problem

2006-03-14 Thread johnxmas
David, >> >> a) first, my ResourceAdapter is started >> b) then, my MDB is deployed. EndpointActivation() is called on the >> RA and it starts >> a Work to handle the EIS messages (This work implements a >> ServerSocket) >> >> All is right. But... >> >> c) On the console appears the message

Re: Re: Yet another ActivationSpec NotFound Problem

2006-03-13 Thread johnxmas
David, First of all, thanks for your patience and your help. I found my problem: it was a typo in ra.xml and MessageLisener was not the same in ra.xml and ejb-jar.xml ! Shame on me ! Alas, things continue not to function. a) first, my ResourceAdapter is started b) then, my MDB is deployed. En

Re: Re: Re: Yet another ActivationSpec NotFound Problem

2006-03-09 Thread johnxmas
; >ParentID="ScortJcaAdapter15" >or >U can try configID for geronimo-ra.xml ><. configId="myGroupId/myJCAAdapter/1.0/car"> >and the ear should include the following import > > myGroupId > car > myJCAAdapter > 1.0 > > >myGroupID

Re: Re: Yet another ActivationSpec NotFound Problem

2006-03-09 Thread johnxmas
>On Mar 8, 2006, at 7:48 AM, johnxmas wrote: > >> Hi, >> >> I deploy an Inbound Resource Adapter at server level (and, no I >> don't want to include it in my ear). This RA >> have all is classes in a jar (including the infamous >> ActivationSpec :

Yet another ActivationSpec NotFound Problem

2006-03-08 Thread johnxmas
Hi, I deploy an Inbound Resource Adapter at server level (and, no I don't want to include it in my ear). This RA have all is classes in a jar (including the infamous ActivationSpec :-D) I deploy an EAR with a message-driven bean. And bingo, at deployment time [> ] 93% 2

Mdb Deployment problem

2006-02-17 Thread johnxmas
>    Aaron>       >On 2/8/06, johnxmas <[EMAIL PROTECTED]> wrote:>> When deploying an EAR containing an MDB, listening to an inbound Resource Adapter,>> I get the following exception>>>> org.apache.geronimo.common.DeploymentException: Unable to initial

Re: Re: MDB deployment problem

2006-02-09 Thread johnxmas
ar.xml >and see if that changes things. > Regarding this option, I really want to deploy the Adapter at server level Jean-Noël >Thanks, > Aaron > >On 2/8/06, johnxmas <[EMAIL PROTECTED]> wrote: >> When deploying an EAR containing an MDB, listening to an inbound R

MDB deployment problem

2006-02-08 Thread johnxmas
When deploying an EAR containing an MDB, listening to an inbound Resource Adapter, I get the following exception org.apache.geronimo.common.DeploymentException: Unable to initialize EJBContaine r GBean: ejbNameInboundCustListMdb at org.openejb.deployment.MdbBuilder.createBean(MdbBuilder.

Re: Re: Re: ActivationSpec problem (ClassCastException)

2006-01-26 Thread johnxmas
>Can you file a JIRA issue for this? > >Thanks, >Aaron > Done https://issues.apache.org/jira/browse/GERONIMO-1546 Thanks for your help Jean-Noël >On 1/23/06, johnxmas <[EMAIL PROTECTED]> wrote: >> &g

Re: Re: ActivationSpec problem (ClassCastException)

2006-01-23 Thread johnxmas
, you can only use a String setter with Geronimo and that you can only implement ONE setter in the ActivationSpec, which is really ennoying Jean-Noel >On Jan 19, 2006, at 1:01 AM, johnxmas wrote: > >> Hi Aaron, >> >> a) I tried with just one setter and getter >

Re: Re: Re: ActivationSpec problem (ClassCastException)

2006-01-19 Thread johnxmas
ng primitives or something? > >Thanks, >Aaron > >On 1/18/06, johnxmas <[EMAIL PROTECTED]> wrote: >> Hi, >> >> id is String >> >> As regards port, it's an int. But the ActivationSpec implements three setters >> (each required due to WebLog

Re: ActivationSpec problem (ClassCastException)

2006-01-18 Thread johnxmas
- with an Integer parameter - with a String parameter Jean-Noël >Hmm... It looks like we're trying to set the wrong data type on the >properties. Can you check the data types of the "port" and "id" >properties? > >Thanks, >Aaron > >On 1/1

ActivationSpec problem (ClassCastException)

2006-01-17 Thread johnxmas
I've written an InboundResourceAdapter. When deploying my MessageDrivenBean, with the following descriptor http://www.openejb.org/xml/ns/openejb-jar"; xmlns:naming="http://geronimo.apache.org/xml/ns/naming"; xmlns:security="http://geronimo.apache.org/xml/ns/security"; xmlns:sys="http:

geronimo-ra.xml question

2006-01-17 Thread johnxmas
I've written my on ResourceAdapter Must I set a parentId in geronimo-ra.xml ? And if yes, which one ? Thanks