Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem jca

bessel phil
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Morning

I want to create one JCA Component on JBOSS. The server Jboss AS 7.1 must link one client with an EIS by socket.
This project is
the deployment and the startup are good, the managment console obtain on the JNDI:
java:/eis/SocketAdapter with the class  socketadapter of type RAConnectionFactoryImpl.
i don't modify the standalone.xml
My files are


The client

the startup of server is good:

20:19:57,773 INFOS [org.jboss.modules] JBoss Modules version 1.1.1.GA
20:20:00,311 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
20:20:00,345 INFO  [] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
20:20:03,354 INFO  [org.xnio] XNIO Version 3.0.3.GA
20:20:03,354 INFO  [] JBAS015888: Creating http management service using socket-binding (management-http)
20:20:03,361 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
20:20:03,366 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
20:20:03,524 INFO  [] JBAS011502: Removing bootstrap log handlers
20:20:03,527 INFO  [] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
20:20:03,536 INFO  [] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
20:20:03,538 INFO  [] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
20:20:03,539 INFO  [] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
20:20:03,540 INFO  [] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
20:20:03,557 INFO  [] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
20:20:03,575 INFO  [] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.7.Final
20:20:03,591 INFO  [] (MSC service thread 1-14) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
20:20:03,636 INFO  [] (MSC service thread 1-9) JBAS011802: Starting Naming Service
20:20:03,651 INFO  [] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
20:20:03,693 INFO  [] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
20:20:03,723 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) Démarrage de Coyote HTTP/1.1 sur http--
20:20:04,070 INFO  [] (MSC service thread 1-7) JBAS010400: Bound data source [java:/MySQLDS]
20:20:06,690 INFO  [] (MSC service thread 1-15) JBoss Web Services - Stack CXF Server 4.0.2.GA
20:20:07,425 INFO  [] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory E:\cours\java\eclipsejee\jboss-as-7.1.1.Final\standalone\deployments
20:20:07,431 INFO  [] (MSC service thread 1-7) JBAS017100: Listening on /
20:20:07,431 INFO  [] (DeploymentScanner-threads - 1) JBAS015003: Found SampleConnector1.rar in deployment directory. To trigger deployment create a file called SampleConnector1.rar.dodeploy
20:20:07,431 INFO  [] (MSC service thread 1-8) JBAS017100: Listening on /
20:20:07,779 INFO  [] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.jdbc-driver.h2 (missing) dependents: [service]

20:20:07,799 INFO  [] (MSC service thread 1-12) JBAS015876: Starting deployment of "SampleConnector1.rar"
20:20:08,022 INFO  [] (MSC service thread 1-12) JBAS010406: Registered connection factory java:/eis/socketAdapter
20:20:08,096 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-12) Hibernate Validator 4.2.0.Final
20:20:08,132 INFOS [SocketResourceAdapter] (MSC service thread 1-12) Resource Adapter bootstrap!
20:20:08,133 INFO  [] (MSC service thread 1-12) IJ020002: Deployed: file:/E:/cours/java/eclipsejee/jboss-as-7.1.1.Final/standalone/deployments/SampleConnector1.rar/
20:20:08,135 INFO  [] (MSC service thread 1-9) JBAS010401: Bound JCA ConnectionFactory [java:/eis/socketAdapter]
20:20:08,135 INFO  [] (MSC service thread 1-12) JBAS015951: Admin console listening on
20:20:08,136 ERROR [] (MSC service thread 1-12) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 11422ms - Started 160 of 240 services (2 services failed or missing dependencies, 76 services are passive or on-demand)
20:20:08,247 INFO  [] (DeploymentScanner-threads - 2) JBAS018559: Deployed "SampleConnector1.rar"

the startup of client provide one exception:

INFO: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@4fed0b75, receiver=Remoting connection EJB receiver [connection=Remoting connection <33b76edf>,channel=jboss.ejb,nodename=android_iphone_]} on channel Channel ID fab96097 (outbound) of Remoting connection 79ced32d to localhost/
oct. 08, 2016 8:23:02 PM org.jboss.ejb.client.remoting.ChannelAssociation$ResponseReceiver handleMessage
WARN: Unsupported message received with header 0xffffffff
Error with context: javax.naming.NameNotFoundException: eis/socketAdapter -- service

Can you help me for this problem


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic