Error in javax.resource.cci.Connection during Compilation

Hi,
I am using NW 04 to write a par for my EP.
But I encountered the following error at the line
package com.sap.nwrig.demo;
The error is as shown :
This compilation unit indirectly references the missing type javax.resource.cci.connection (typically some required class file is referencing a type outside the classpath)
Do hope anyone could help.
Thanks.
Regards,
Mike Lee

Hi Mike,
I guess you need to add the JCA library that contains the javax.resource.cci.Connection class to the classpath of your project. Here's how to do it (assuming you're using the NetWeaver Developer Studio):
1. Right click on your project and choose Properties.
2. Choose Java Build Path from the lefthand side tree, and then choose the Libraries tab on the right.
3. Click on the Add External JARs button and browse to the following directory: <NW_Dev_Studio_inst_dir>\eclipse\plugins\com.tssap.ext.libs.j2ee_1.3\lib
4. Select connector.jar and choose Open.
This adds the library and now the referenced type should be resolved.
Regards,
Ivo

Similar Messages

  • Eclipse Error : javax.resource.cci.connection not found

    Hi,
      I am new to Eclipse development. I downloaded a Sap connector PAR project from sdn and imported it in Eclipse then i showed lots of error with portal.HTMLB, portal.connector and javax.resource.cci.connection.
      I want to know where can i find the JAR file for this import? or how to resolve this problem?
    Thank you
    arun

    Thanks Carlton and Jain,
      I searched for the JAR files in the EP60 Installation directory usr\EP60,
    .../additional-lib/connector.jar
    .../additional-lib/com/sapportals/connectorframework/framework/GenericConnector.jar
    .../additional-lib/com/sapportals/connectorframework/framework/ConnectorHelper.jar
    .../additional-lib/jta.jar
    .../portalapps/com.sap.portal.ivs.connectorservice/lib/com.sap.portal.ivs.connectorserviceapi.jar
    I could find the names in the path specified by you but they are all ZIP files. When i Unzip them i could only find .class files inside them not the JAR files.
    I resolved all the problems except Javax.cci import error.
    If you have any idea where to find them it would help me  a lot?
    Thank you
    arun

  • Missing type javax.resource.cci.connection

    Hi,
    I'm would like to use JCA framwork, but I guess I should have appropriate connection class.
    the missing class type is javax.resource.cci.connection
    Where can I find/download this class jar file?
    Any help would be appriciated
    Thanks
    Ami

    The error I get that prevent me from compiling the projects is:
    This compilation unit indirectly references the missing type javax.resource.cci.Connection (typically some required class file is referencing a type outside the classpath)
    any idea of what should I do?
    Thanks
    Ami

  • Need java file: javax.resource.cci.ConnectionSpec

    Hi,
    My application is showing classpath error:
    The project was not built since its classpath is incomplete. Cannot find the class file for javax.resource.cci.ConnectionSpec. Fix the classpath then try rebuilding this project.     
    This compilation unit indirectly references the missing type javax.resource.cci.ConnectionSpec (typically some required class file is referencing a type outside the classpath)     MDMFetcherView.java     MDMFetcher/gen_wdp/packages/com/burberry/appl/mdmfetcher     line 0
    Could you please let me know what is the problem here?

    Devashish,
    <i>I have added all the required references</i>
    Exactly what references did you add?
    By references I mean either of the following:
    1. Class-path reference (Required Library) if you are using non-DC project
    2. Public part reference (Used Public Part) if you are in DC project.
    Also it might be required to add run-time references to interface / library (see properties of WD project).
    VS

  • Javax.resource.cci interface

              Hi.
              I´m getting a bit frustrated by now. My contact at BEA wont answer my questiona...
              I am (still) trying to get my adapter to work on WL 6.1 SP1-2.
              The adapter I´m using (trying anyway) implements the javax.resource.cci interface.
              BUT, when I´m trying to reference it (the adapter) from an EJB in the ejb-jar.xml
              descriptor, I get an error message from ejbc.
              When I try to edit the descriptor from within the Admin Console, the interface
              is not available in the dropdown menu.
              So, the question I have to ask: Does WL 6.1 support the cci-interface?
              This is it, if I can´t work it out by Friday I will have to tell our customer
              that WebLogic is not the way to go. I´d hate to do that...
              regards,
              Oskar
              

              Hi Timothy.
              Thanks for answering.
              When referencing an adapter from an EJB, you are supposed to make that reference
              in ejb-jar.xml (attached). But the resource type <res-type> that is supposed to
              be used is javax.resource.cci.ConnectionFactory.
              However if you try to set that resource type in the Admin Console, that option
              is not available. It is not present in the drop-down box.
              The same thing goes for ejbc. When I try to compile with ejbc I get the following
              error:
              ejbc:
              [java] ERROR: Error processing 'ejb-jar.xml': .ejb-jar.enterprise-beans.session.resource-ref.res-type.
              must be one of the values: javax.sql.DataSource,javax.jms.QueueConnectionFactory,javax.jms.TopicConnectionFactory,java.net.URL,javax.mail.Session
              [java] ERROR: ejbc found errors
              Which seems like the same thing.
              I would much appreciate any help, my time is running out.
              Thanks
              Oskar
              "Timothy Potter" <[email protected]> wrote:
              >Dear Oskar,
              >
              >I'm sorry to hear that you are not getting the support you need. An
              >application server doesn't actually care about your client interface,
              >so yes
              >WebLogic does support CCI so to speak. The application server only cares
              >about your adapter's SPI. What is the specific error message from ejbc?
              >Also, can you attach your ejb-jar.xml file so that I can see what interface
              >you are referencing?
              >
              >Best regards,
              >
              >Timothy Potter
              >Senior Software Engineer
              >eCommerce Server Division
              >BEA Systems, Inc.
              >
              

  • Strange error caused by location of source during compilation

    I have been trying to get KVPM from AUR ( http://aur.archlinux.org/packages.php?ID=32060 ) to build but I kept getting this error during compilation (make) http://pastebin.com/6smA3iKy
    I tried all different kinds of modifications to PKGBUILD but with no success. I later realized that if I unpacked manually and tried to compile it worked, even giving a functional executable. Then I tried forcing a manual extraction of the sources in PKBUILD and I still got the same error. The only way it would compile without the error is if the sources remained outside of makepkg's default 'src' folder. Nothing else worked.
    Why is this? Is this a bug in makepkg? Is there something wrong with my installation?
    Here is the original PKBUILD: http://aur.archlinux.org/packages/kvpm/kvpm/PKGBUILD
    and the PKBUILD that worked for me: http://aur.pastebin.com/VFXr8RJB

    I have been trying to get KVPM from AUR ( http://aur.archlinux.org/packages.php?ID=32060 ) to build but I kept getting this error during compilation (make) http://pastebin.com/6smA3iKy
    I tried all different kinds of modifications to PKGBUILD but with no success. I later realized that if I unpacked manually and tried to compile it worked, even giving a functional executable. Then I tried forcing a manual extraction of the sources in PKBUILD and I still got the same error. The only way it would compile without the error is if the sources remained outside of makepkg's default 'src' folder. Nothing else worked.
    Why is this? Is this a bug in makepkg? Is there something wrong with my installation?
    Here is the original PKBUILD: http://aur.archlinux.org/packages/kvpm/kvpm/PKGBUILD
    and the PKBUILD that worked for me: http://aur.pastebin.com/VFXr8RJB

  • EIS / javax.resource.cci.Interaction

    I am trying to resolve a problem with a program written several years ago. I have narrow down the code below that is suppose to retrieve data from a database and store the values in the MappedRecord. The problem I am running into is that several of the fields are date fields and the values are being decremented by one day. This started happening several months ago. This program is running on WAS 6.1.0.25 using Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server.
    MappedRecord mrGetPropsInput = recordFactory.createMappedRecord("DocumentPropertiesRequest");
    mrGetPropsInput.put("doc_id", new Long(strDocID));
    mrGetPropsInput.put("is_lock_desired", new Boolean(true));
    MappedRecord mrGetPropsResult = (MappedRecord)interaction.execute(iSpec, mrGetPropsInput);All help and suggestions would be greatly appreciated.

    I am trying to resolve a problem with a program written several years ago. I have narrow down the code below that is suppose to retrieve data from a database and store the values in the MappedRecord. The problem I am running into is that several of the fields are date fields and the values are being decremented by one day. This started happening several months ago. This program is running on WAS 6.1.0.25 using Java SDK 1.5 SR9 Cumulative Fix for WebSphere Application Server.
    MappedRecord mrGetPropsInput = recordFactory.createMappedRecord("DocumentPropertiesRequest");
    mrGetPropsInput.put("doc_id", new Long(strDocID));
    mrGetPropsInput.put("is_lock_desired", new Boolean(true));
    MappedRecord mrGetPropsResult = (MappedRecord)interaction.execute(iSpec, mrGetPropsInput);All help and suggestions would be greatly appreciated.

  • Javax.resource.ResourceException

    Hi,
    I'm trying to import the class javax.resource.ResourceException in my program but when I compile the code I get the error "class javax.resource.ResourceException not found in import". What is the name of the jar file that contains this class and where can I download it from ?
    Many thanks
    Angela

    Oh that one!
    Thats from royalblue. You have missed one of the .jar files supplied with the API.
    Cheers

  • Javax.resource.ResourceException: Failed to start the connection

    I have created the JMS bridge in Weblogic10.0 to connect with MQ server, I am getting error when startingup the weblogic server. Below the error
    ####<28-Mar-2009 10:56:25 o'clock GMT> <Info> <MessagingBridge> <clx25ao02> <aauat100-02> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238237785804> <BEA-200042> <Bridge MQ_TO_JMS_1 failed to connect to the source destination and will try again in 20 seconds. This could be a temporary condition unless the messages repeat several times. (javax.resource.ResourceException: Failed to start the connection)>
    I deployed the JMS adaptor also in weblogic10.0.
    Could you please tell me the reason for the error?

    A problem occurred with a Messaging Bridge between two JMS topics running in two Managed
    Servers in the same domain, running on the same machine. As the Messaging Bridge was being
    started during WebLogic Server startup, it threw the following warning message. Messages
    could not be forwarded.
    Analysis revealed that the bridge failed to create the message listener because it was
    configured for durable topics and there was no JMS store available. The Bridge encountered an
    internal error when trying to log the resource exception so the customer was not able to tell
    why the bridge was failing.
    The problem was resolved by a code change to allow the bridge to throw the correct resource
    exception. Now, the correct exception is logged by the bridge.

  • Error in resource adapter cleanup.. javax.resource.ResourceException: java.

    Hi,
    I am getting the following error in my Oracle AS 10g R3 on Solaris .
    Error in resource adapter cleanup.. javax.resource.ResourceException: java.sql.SQLException: Closed Connection
    in log file:apps/oracle/oc4j_home/j2ee/homeMYAPP/log/homeMYAPP_default_group_1/oc4j/log.xml
    (Click on the log file link to download the log or view it as plain text)
    Can any one explain why this error comes.
    Regards,
    Kumar

    Hi,
    I am getting the following error in my Oracle AS 10g R3 on Solaris .
    Error in resource adapter cleanup.. javax.resource.ResourceException: java.sql.SQLException: Closed Connection
    in log file:apps/oracle/oc4j_home/j2ee/homeMYAPP/log/homeMYAPP_default_group_1/oc4j/log.xml
    (Click on the log file link to download the log or view it as plain text)
    Can any one explain why this error comes.
    Regards,
    Kumar

  • Errors encountered during compiling JMS simpleProducer Program

    Hi Friends,
    I have encountered following errors during running this program.Please tell me solution .I am using weblogic Server.Which jar files I have to set.Please reply as earlier as possible.It is urgent
    Thanks
    Bye
    C:\>cd Simple
    C:\Simple>javac SimpleProducer.java
    SimpleProducer.java:65: cannot resolve symbol
    symbol : method createConnection ()
    location: interface javax.jms.ConnectionFactory
    connection=connectionFactory.createConnection();
    ^
    SimpleProducer.java:66: cannot resolve symbol
    symbol : method createSession (boolean,int)
    location: interface javax.jms.Connection
    Session session=connection.createSession(false,Session.AUTO_ACK
    NOWLEDGE);
    ^
    SimpleProducer.java:67: cannot resolve symbol
    symbol : method createProducer (javax.jms.Destination)
    location: interface javax.jms.Session
    producer=session.createProducer(dest);
    ^
    SimpleProducer.java:72: setText(java.lang.String) in javax.jms.TextMessage canno
    t be applied to ()
    System.out.println("Sending message:"+message.setText());
    ^
    SimpleProducer.java:73: cannot resolve symbol
    symbol : method send (javax.jms.TextMessage)
    location: interface javax.jms.MessageProducer
    producer.send(message);
    ^
    SimpleProducer.java:75: cannot resolve symbol
    symbol : method send (javax.jms.Message)
    location: interface javax.jms.MessageProducer
    producer.send(session.createMessage());
    ^
    6 errors

    try to add the jms.jar with JMS interfaces

  • Datasource connection failing with error "Cannot open resource"

    Hi All,
    I have created a datsource in VA with JDBC 1.X driver type for a SQL Server.
    However, now when I try to connect to the datasource from an udf in the Message Mapping, I am getting the below error:
    Error: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "webContainer/applications/sap.com/TestDB/TestDB" in application "sap.com/TestDB"
    I checked the SAP Help link given below where it is mentioned as a solution that the datasource should be made shareable.
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/2f2c4142aef623e10000000a155106/frameset.htm
    In SAP Help, it mentions that datasource can be made shareable by modifying the deployment descriptor as mentioned in the link below. However, the datasource was configured in the VA and not deployed using archive. Hence, we do not have a deployment descriptor to modify and redeploy.
    http://help.sap.com/saphelp_nwce10/helpdata/en/e8/47591ac2e843d09a374e88b044bda9/frameset.htm
    Could you please provide pointers on how configure and make the datasource shareable.
    Thanks & Regards,
    Rosie Sasidharan.

    Hi Rosie ,
    This information is really really helpful for me  . I was trying to solve this problem from last 4 days. Today i am able to solve just because of reference given by you.
    Once again thank you very much

  • Asterisk error during compiling tith PKGBUILD

    hi,
    I have to install asterisk from AUR but giving the command makepkg (during compiling) he gives me this error...(i post the tail...)
    In file included from el.h:105,
    from readline.c:61:
    map.h:63: error: expected specifier-qualifier-list before 'el_func_t'
    map.h:77: error: expected declaration specifiers or '...' before 'el_func_t'
    readline.c: In function 'rl_initialize':
    readline.c:247: error: 'EL_NUM_FCNS' undeclared (first use in this function)
    readline.c:247: error: (Each undeclared identifier is reported only once
    readline.c:247: error: for each function it appears in.)
    readline.c:247: error: 'el_map_t' has no member named 'nfunc'
    readline.c:248: error: 'el_map_t' has no member named 'func'
    readline.c: In function 'filename_completion_function':
    readline.c:1206: warning: unused variable 'count'
    readline.c: In function 'rl_bind_key':
    readline.c:1609: error: 'ED_INSERT' undeclared (first use in this function)
    make[2]: *** [readline.o_a] Error 1
    make[1]: *** [editline/libedit.a] Error 2
    make: *** [main] Error 2
    ==> ERRORE: Compilazione interrotta. //italian *_^
    L'operazione sta per essere interrotta...
    what is the problem????
    ty for the help (and sorry for my english )

    Yes, have the same problem also here. It is strange because some people were able to compile it.
    May be, a compatibility problem with the GCC or libc version ? If I can install two versions of GCC/libc together on the same machine,  I'll try to compile it with an older GCC.

  • Javax.resource.spi.ResourceAdapterInternalException: max connections reache

    Hello,
    I am writing an application to read messages from queues.
    Everything seems to be working fine, but after a number of un-deployments and deployments I start getting the following exception and have no choice but to restart the application server.
    Any hint on what the root cause might be?
    Exception stack trace:
    2008-02-15 14:47:19,095 WARN  [org.jboss.system.ServiceController:424] Problem starting service jboss.j2ee:ear=Application-1.0.ear,jar=Application-1.0.jar,name=MDB,service=EJB3
    org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:wsmq/Q@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: max connections reached)
         at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
         at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:310)
         at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:194)
         at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:190)
         at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:156)
         at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
         at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at org.jboss.system.ServiceController.start(ServiceController.java:435)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy361.start(Unknown Source)
         at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
         at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
         at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
         at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy34.start(Unknown Source)
         at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
         at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy35.start(Unknown Source)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy10.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    Caused by: javax.resource.spi.ResourceAdapterInternalException: max connections reached
         at com.ibm.mq.connector.ResourceAdapterConnectionPool.allocateConnection(ResourceAdapterConnectionPool.java:231)
         at com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:333)
         at org.jboss.resource.deployment.RARDeployment.endpointActivation(RARDeployment.java:271)
         at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:226)
         at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
         at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:305)
         ... 101 more
    ObjectName: jboss.j2ee:ear=Application-1.0.ear,jar=Application-1.0.jar,name=MDB,service=EJB3
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:wsmq/Q@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: max connections reached)My current configuration is:
    - JBoss 4.2.2-GA (linux)
    - WS MQ 6.0.2.2 (linux)
    I have configured JBoss the following way:
    - added wmq.jmsra.rar to the $JBOSS_SERVER/deploy directory
    - added com.ibm.mqetclient.jar to the $JBOSS_SERVER/lib directory
    - created $JBOSS_SERVER/deploy/wmq.jmsra-ds.xml as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <connection-factories>
      <!-- mbeans defining JCA administered objects -->
      <mbean code="org.jboss.resource.deployment.AdminObject" name="jca.wmq:name=wsmqQ">
        <attribute name="JNDIName">wsmq/Q</attribute>
        <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='wmq.jmsra.rar'</depends>
        <attribute name="Type">javax.jms.Queue</attribute>
        <attribute name="Properties">
          baseQueueManagerName=QM1
          baseQueueName=Q
        </attribute>
      </mbean>
      <!-- JCA Connection factory definitions -->
      <tx-connection-factory>
        <jndi-name>MQCF</jndi-name>
        <xa-transaction />
        <rar-name>wmq.jmsra.rar</rar-name>
       <connection-definition>javax.jms.ConnectionFactory</connection-definition>
        <config-property name="channel" type="java.lang.String">SYSTEM.DEF.SVRCONN</config-property>
        <config-property name="hostName" type="java.lang.String">127.0.0.1</config-property>
        <config-property name="port" type="java.lang.String">1414</config-property>
        <config-property name="queueManager" type="java.lang.String">QM1</config-property>
        <config-property name="transportType" type="java.lang.String">CLIENT</config-property>
      </tx-connection-factory>My java MDB (EJB3) is:
    @MessageDriven(name = "MDB", activationConfig = {
            @ActivationConfigProperty(propertyName = "destination", propertyValue = "wsmq/Q"),
            @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
            @ActivationConfigProperty(propertyName = "transportType", propertyValue = "CLIENT"),
            @ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "true"),
            @ActivationConfigProperty(propertyName = "maxPoolDepth", propertyValue = "1") }, messageListenerInterface = MessageListener.class)
    @ResourceAdapter("wmq.jmsra.rar")
    public class MDB implements MessageListener {
        public void onMessage(Message message) {
            return;
    }Thanks in advance for any information!
    cheers!

    hi
    this is known to IBM as APAR IC54346 - fixed in pack 6.0.2.3

  • Compile error Identifying Javax.servlet

    Hi,
    I installed JDK 1.6 and Tomcat server.
    But when I use this code it shows the error
    import javax.servlet;It says package not available.
    How can I resolve this error.?
    Can anybody help me who are already using Tomcat and JSP

    sabre150 wrote:
    georgemc wrote:
    Because you've done something wrong. The compiler won't just ignore a dependency, as a jokeAs I posted earlier, the obvious problem is that one cannot just import a package, one has to import classes from that package (using * if one wants to import ALL classes in the package).I assumed he'd made a typo in his post there. Trying to import like he's actually posted, the compiler would moan about not finding the symbol servlet, rather than moan about a missing package
    Irrelevant, either way, since he's clearly been kidnapped by those aliens again

Maybe you are looking for

  • My ipad is disabled after entering wrong password

    Please help me. My ipad is disabled after entering wrong password. i actually forgot my password and in the course of trying for several times, it became disabled. Please how can i enable and unlock it. I tried connecting to iTunnes on my laptop but

  • IAS 9i R2 on Windows 2003

    Hello, I didn't try to install iAS9iR2 (9.0.2.0.1) on WIN2003, so could someone tell me is there some problem during this instalation, i meen is posible to install iAS 9.0.2.0.1 on WIN2003. I saw that mentioned iAS is not certified for WIN2003. Must

  • Cannot save the Interactive form downloaded from abap webdynpro application

    Hello Everyone, Can anyone help me here. I have created an interactive form in SFP tcode and used in abap webdynpro application. scenario is i can downloade the form,fill it, sign it,save it and submit the form. Some thing is going wrong when i try t

  • LMS 4.1 issue with collection summary board

    Hello, something strange, collection summary says 2 config archives failed but don't say succeeded, see below: Thanks,

  • How to transfer itunes to new computer?

    I have a new computer, I have downloaded itunes, I authorized my store purchases, but I can't get the stuff on my ipod to transfer to my itunes library on my new computer. What do I do?