[jboss-user] [JCA/JBoss] - Re: jboss 4.2.3 and WrappedConnection.checkTransactionStatus

2009-08-21 Thread jay73
Created a feature request in jboss jira. Link: https://jira.jboss.org/jira/browse/JBAS-7195 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250922#4250922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250922 ___

[jboss-user] [JCA/JBoss] - Re: jboss 4.2.3 and WrappedConnection.checkTransactionStatus

2009-08-20 Thread jay73
Sorry, the subject should have been: jboss 4.2.3 and WrappedConnection.checkTransactionStatus problem and not jboss 4.2.3 and WrappedConnection.checkTransactionStatus pro View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250786#4250786 Reply to the post : http

[jboss-user] [JCA/JBoss] - Re: datasource and singleton

2009-08-14 Thread henk53
"greiff" wrote : | to avoid expensive JNDI lookups to datasource is it possible to use the singleton pattern for datasources ? | Just wondering, are JNDI lookups really that expensive? When looking up an EJB (either programmatic, or via injection), isn't there a JNDI lookup happening all

[jboss-user] [JCA/JBoss] - Re: Messaging with IBM Websphere MQ 7 JCA Adapter - Multiple

2009-08-12 Thread igor.beslic
Hi. I've solved this myself. Solution was easy: There is no need to configure topic destination. Once connection factory is obtained use session object to create Topic. Here is code: InitialContext ic = new InitialContext(); | | ConnectionFactory cf = (javax.jms.ConnectionFactory) ic.lookup

[jboss-user] [JCA/JBoss] - Re: JCA Problem: java.lang.IllegalStateException: Trying to

2009-08-05 Thread groovie
Salut mc's, the solution is quite simple. The (logical) close operation, that issues a closeSend of the ConnectionEvent class has to attach the connection handle to the ConnectionEvent, before broadcasting this event. so: ce = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOS

[jboss-user] [JCA/JBoss] - Re: problem parsing datasources

2009-08-05 Thread PeterJ
Deja vu: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247811#4247811 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248164#4248164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248164

[jboss-user] [JCA/JBoss] - Re: IBM MQ JCA Connector - error

2009-08-05 Thread lovelyraji
[WorkManager(2)-1678] com.ibm.msg.client.jms.internal.JmsXASessionImpl A message driven bean threw a runtime exception ' Message : java.lang.IllegalStateException: Multiple message delivery between before and after delivery is not allowed for message endpoint local/heartb...@25330010@972 Class : c

[jboss-user] [JCA/JBoss] - Re: xa-datasource configuraton problem

2009-08-04 Thread rajika
hi, I removed one data source definition to isolate the problem. Now my *-xa-ds.xml looks like follows. | | | XADerbyDS | | | | false | esb | esb | | | derby/esbdb | esb | 1527 | esb |

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-31 Thread dimonv
Hi, Is anybody there? Is it now clear? anonymous wrote : No there is no way to create PoolByCri with the patch right now, if re-authentication is enabled. What do you mean "re-authentication is enabled"? How is it configured? View the original post : http://www.jboss.org/index.html?module=bb&op

[jboss-user] [JCA/JBoss] - Re: Jboss for AIX

2009-07-30 Thread logofatu
I have the same problem. With JBoss [Trinity] 4.2.0.GA running on AIX with the JVM "IBM J9 VM", version "2.4" The deployment of "jboss/server/default/deploy/uuid-key-generator.sar" fails because of java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.keygenerator

[jboss-user] [JCA/JBoss] - Re: JBoss ESB with JBoss Tools

2009-07-29 Thread anushree123
sorry.. was a genuine mistake... have posted in JBoss ESB form.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246850#4246850 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246850 __

[jboss-user] [JCA/JBoss] - Re: JBoss ESB with JBoss Tools

2009-07-29 Thread kevin.con...@jboss.com
Sorry, why are you posting this to JCA? Use the ESB user forum please. Kev View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246705#4246705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246705 __

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-21 Thread dimonv
Because of the reason you mentioned: "vickyk" wrote : | Yes putting them in a single pool will cost more when we need to retrieve it back, so efficiency would go down and hence we have sub-pools within the pool, these subpools are created based on Subject/CRI/both(Subject And CRI). Assume an

[jboss-user] [JCA/JBoss] - Re: Messaging with IBM Websphere MQ 7 JCA Adapter

2009-07-21 Thread amagno
I think it's because you're saying your session is transacted so it would send the messages only when a commit is issued. Try Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Hope it helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-21 Thread vickyk
"dimonv" wrote : | This can not be shown on a JDBC example because JDBC always returns a Connection of the same type. Our JCA connector creates many different connection types, and therefore multiple CRIs result for the same RA. Therefore multiple (sub)pools (one per distinct CRI) should be u

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-21 Thread dimonv
Once more regarding your quote "vickyk" wrote : ...the reauthentication would be decided at the RA level If an RA states that it support re-authentication, this does not mean per se that for a specific deployment re-authentication should be used --> this should be a deployment option, defined in

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-21 Thread dimonv
"vickyk" wrote : I don't understand this clearly, may be you can explain this with respect to the jdbc rar. This can not be shown on a JDBC example because JDBC always returns a Connection of the same type. Our JCA connector creates many different connection types, and therefore multiple CRIs r

[jboss-user] [JCA/JBoss] - Re: JBoss 4.x + LocalTxConnectionManager

2009-07-21 Thread vickyk
"wellingtonsampaio" wrote : Why LocalTxConnectionManager is not supported by JBoss 4.x? | Which ConnectionManager should i use instead? Do you use this class directly in the code, the implementation of the LocalTxConnectionManager is being provided by the TxConnectionManager in Jboss4.x serie

[jboss-user] [JCA/JBoss] - Re: Configure no-tx-datasource: not to acquire shared lock

2009-07-21 Thread vickyk
"vigneshmpn" wrote : I understand that though the read operations are not part of a transaction, the SELECT query would still acquire a shared lock on the data records read until the result is returned | I don't believe it to be the default behaviour, are you guessing this or you have test

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-21 Thread vickyk
"dimonv" wrote : | There are cases in which the same RA provides connections of the different types. If the client application calls an additional getConnection method of the RA and provides the meta-info to it, which contains e.g. the java type of connection, and then casts the returned conn

[jboss-user] [JCA/JBoss] - Re: Messaging with IBM Websphere MQ 7 JCA Adapter

2009-07-10 Thread igor.beslic
Those are instructions: JBoss: http://www.jboss.org/community/wiki/UsingWebSphereMQSeriesWithJBossASPart4 IBM: http://www.ibm.com/developerworks/websphere/library/techarticles/0710_ritchie/0710_ritchie.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=424280

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-09 Thread dimonv
"vickyk" wrote : What issue do you see here? There are cases in which the same RA provides connections of the different types. If the client application calls an additional getConnection method of the RA and provides the meta-info to it, which contains e.g. the java type of connection, and then

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-09 Thread vickyk
"dimonv" wrote : | Nevertheless I had a look into the patch suggested by Vicky and have some comments regarding org.jboss.resource.connectionmanager.JBossManagedConnectionPool. Even if an RA supports re-authentication, its connections may not be put into a OnePool per default, since their CR

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-07 Thread dimonv
I'm interesting on re-authentication as well, but my case relates to a non-JDBC RA (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155124). Nevertheless I had a look into the patch suggested by Vicky and have some comments regarding org.jboss.resource.connectionmanager.JBossManagedCo

[jboss-user] [JCA/JBoss] - Re: Problem for JNDI database connection pooling

2009-07-02 Thread Allen_Lei
"vickyk" wrote : Spend some time to view the "Connection leak" section here | http://www.jboss.org/community/wiki/FAQJBossJCA | Thanks.I have read the docs. What i mentioned above happends when i executing an operation.Before executing i monitor the ds "JBossManagedConnectionPool" MBean att

[jboss-user] [JCA/JBoss] - Re: xa-datasource for postgresql is not getting deployed in

2009-07-01 Thread preetam_pict
:) yes i should have read (though not the prayer but) the jbos user manual ! such a simple mistake ... anyways thanks for the quick reply, vicky :) ~PP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241125#4241125 Reply to the post : http://www.jboss.org

[jboss-user] [JCA/JBoss] - Re: xa-datasource for postgresql is not getting deployed in

2009-07-01 Thread vickyk
"preetam_pict" wrote : | here is my configuration of | jboss-5.1.0.GA-jdk6\server\default\deploy\jboss-ds-xa.xml | Did you say prayer before deploying ;) The file name should have -ds.xml as extension, change it to jboss-xa-ds.xml. View the original post : http://www.jboss.org/index.html

[jboss-user] [JCA/JBoss] - Re: Trying to use a connection factory that has been shut do

2009-07-01 Thread vickyk
"rajwants2jboss" wrote : | My question is that, why is jboss redeploying my datasource in the middle of execution? | Some one had fingered the -ds.xml in your production box ;) Does this happen frequently or it had only once? View the original post : http://www.jboss.org/index.html?modul

[jboss-user] [JCA/JBoss] - Re: Problem for JNDI database connection pooling

2009-07-01 Thread vickyk
Spend some time to view the "Connection leak" section here http://www.jboss.org/community/wiki/FAQJBossJCA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241108#4241108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=424

[jboss-user] [JCA/JBoss] - Re: Support for CICS + local-tx-datasource

2009-07-01 Thread vickyk
"panisson" wrote : Will the CICS transaction be used in a LastResourceOptimization, or I must transform the local-tx-datasource in a xa-datasource in order to use the CICS transaction globally? | You can have multiple single phase participants in the the global transaction, the TM will compl

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-07-01 Thread vickyk
Jesper,I am not sure which additional checks you are asking for,these checks are already there 1) "jesper.pedersen" wrote : if the user has specified an incorrect class name, the driver hasn't been deployed to the lib/ directory, | BaseWrapperManagedConnectionFactory::loadReauthClass()

[jboss-user] [JCA/JBoss] - Re: JBoss + Oracle InstantClient 10g - works for Tomcat, not

2009-06-29 Thread PeterJ
You java.library.path is not set correctly. As it is currently set, it will pick up ocijdbc10.dll but none of the DLLs on which it depends. Please read my previous reply again. If you do not pass java.library.path to JBoss AS, it too will use PATH. You will have to edit run.bat because that is

[jboss-user] [JCA/JBoss] - Re: JBoss + Oracle InstantClient 10g - works for Tomcat, not

2009-06-29 Thread pbdavey
I only added C:\Users\Phillip.OFFICE\dev\instantclient_10_2\ to java.library.path. I'm a concerned that something like dependencywalker won't show me what I need to know since Tomcat runs fine, so I believe my environment is fine, it's just something about JBoss' configuration that is messing i

[jboss-user] [JCA/JBoss] - Re: JBoss + Oracle InstantClient 10g - works for Tomcat, not

2009-06-26 Thread PeterJ
What did you set java.library.path to? It has to be set to the full PATH because only java.library.path will be checked for DLLs and the DLLs on which they rely. If you don't want to add everything that is in PATH to java.library.path you can use the Dependency Walker (http://www.dependencywalk

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-06-25 Thread jesper.pedersen
Vicky, I looked over our patch - if you could update it in the area where error conditions happens - f.ex. F.ex. if the user has specified an incorrect class name, the driver hasn't been deployed to the lib/ directory, if the method doesn't exist on the class and so on. Lets focus on getting th

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-22 Thread jaikiran
"kennardconsulting" wrote : | Your example uses the attribute JNDIname, but the queue name is still just DLQ... | | | | ...it is the queue name I wanted to be heirarchical. I thought by putting it under a heirarchy with the app name I could avoid naming conflicts in future? I am pr

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-19 Thread kennardconsulting
jaikiran, Your example uses the attribute JNDIname, but the queue name is still just DLQ... ...it is the queue name I wanted to be heirarchical. I thought by putting it under a heirarchy with the app name I could avoid naming conflicts in future? I am probably mistaken, however this worked i

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-19 Thread vickyk
Also did you confirm from the JNDI view if the Queues are bound to JNDI properly, I don't think so. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238706#4238706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238706 __

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-19 Thread vickyk
"kennardconsulting" wrote : The JBoss Messaging guys (you have them to blame for this :) suggested I refer this issue to you. | Let us get back to the same forum entry and pick some info from there, I see activations...@1030063(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@e0863a des

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-19 Thread jaikiran
I just tried this with the default DLQ configuration that comes with JBoss: | jaikiran/DLQ | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | And it worked fine for me. The server started up with this log: 13:21:49,353 INFO [QueueService]

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-19 Thread jaikiran
And please also post the exact queue configuration file contents. The first post contains a combination of JBoss MQ and JBoss Messaging queue configurations. Just want to make sure we are discussing about the correct file. View the original post : http://www.jboss.org/index.html?module=bb&op=v

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-19 Thread jaikiran
"kennardconsulting" wrote : if I declare a heirarchical JNDI queue in my destinations-service.xml it shouldn't fail just because I don't also deploy an app that depends on it. | You mean, if you create a queue with that "hierarchical" JNDI name and don't deploy any applications which use thi

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-18 Thread kennardconsulting
jaikiran, Thank you for staying with me. Your patience is most appreciated. Unfortunately what you suggested did not work. Even if it had, I'm not sure it would have been a good idea because jboss.xml is app-specific whereas destinations-service.xml is 'JBoss wide': if I declare a heirarchical

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-06-18 Thread vickyk
Adrian, Any review comments on the changes I have attached to the related JIRA? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238432#4238432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238432 ___

[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-16 Thread jaikiran
18:31:23,437 WARN [JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.J | msactivations...@1030063(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@e0863a destination=que | ue/avant-ss/imports1 destinationType=javax.jms.Queue tx=true durable=false reconnect=

[jboss-user] [JCA/JBoss] - Re: Error while closing connection from a pool

2009-06-15 Thread rohit.macherla
Hello vickyk and jboss-user-1234, Thanks for the suggestion. I have rechecked the code and found out that I overlooked commenting one piece of code. Finally, closing the wrapped connection is working. Closing the underlying connection is closing the actual connection. Thanks. View the origi

[jboss-user] [JCA/JBoss] - Re: RAR configuration best practice

2009-06-15 Thread cpslo1999
Thank you for the pointer. I had looked at that example, and while it is very useful in showing how all the pieces fit together, there isn't much in the way of connection properties. It really only has the target directory. I still have that information in my ra.xml file, and logically I'm start

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-15 Thread mdesignz
Hello, Yes it was the newline handling. A tag has to be contained on a single line or else this problem comes up. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237627#4237627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JCA/JBoss] - Re: RAR configuration best practice

2009-06-15 Thread vickyk
Have you referred to this wiki, it explains how to write an inbound ra? http://www.jboss.org/community/wiki/JBossJCAMessageInflowExample View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237613#4237613 Reply to the post : http://www.jboss.org/index.html?module=

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-15 Thread vickyk
"jaikiran" wrote : | Looks like there's some (unintentional) change in newline handling of property values, in -ds.xml, in AS-5.x Yes I remember one of the users reporting it before. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237608#4237608 Reply to th

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-15 Thread vickyk
Where is the -ds.xml file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237607#4237607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237607 ___ jboss-user mailing list jbos

[jboss-user] [JCA/JBoss] - Re: Changinh connection state in CMP EJB

2009-06-15 Thread vickyk
The required changes are attached here https://jira.jboss.org/jira/browse/JBAS-1429 The reauthenitication mechanism with jdbc ra will work when 1) tag is enabled in ra.xml at jboss-local-jdbc.rar/META-INF/ra.xml AND jboss-xa-jdbc.rar/META-INF/ra.xml AND 2) The -ds.xml corresponding to the local

[jboss-user] [JCA/JBoss] - Re: Error while closing connection from a pool

2009-06-13 Thread jboss-user-1234
Never close underlying connection. Always close Wrapped Connection. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237442#4237442 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237442

[jboss-user] [JCA/JBoss] - Re: JCA build error

2009-06-12 Thread ruperty
Thanks, look like it was something in my classpath. Rupert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237322#4237322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237322 ___

[jboss-user] [JCA/JBoss] - Re: JCA build error

2009-06-11 Thread cpslo1999
Check your JAVA_HOME variable. Ant relies on this to find the compiler. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237028#4237028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237028 ___

[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread tapina
Fair enough (although that's not an option for me on this large multi-team project...) Doesn't change my original question though which was relating to autocommit status changes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236997#4236997 Reply to the pos

[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread jesper.pedersen
tapina, its https://jira.jboss.org/jira/browse/JBAS-4871. Please, update. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236989#4236989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236989

[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread tapina
Pretty sure there's an error in BaseWrapperManagedConnection.cleanup: | if (jdbcTransactionIsolation != transactionIsolation) | { | try | { |con.setTransactionIsolation(jdbcTransactionIsolation); |jdbcTransactio

[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread tapina
Actually I'm not sure it would. The physical and logical connections are both in the same autocommit state (FALSE) at the time of the set transaction isolation call. Inbetween, the logical connection had autocommit TRUE but this was not applied to the physical connection at the time because no

[jboss-user] [JCA/JBoss] - Re:

2009-06-09 Thread spotlight2001
thanks for the info of the valve and the link. The valve shutdown seems to "solve" the problem. No complaints so far. You rock! I inherited the application. Stone age Hibernate2 + Threadlocal. Additional JDBC queries are wrapped in finally blocks. No money for a rewrite of course :-) View the o

[jboss-user] [JCA/JBoss] - Re:

2009-06-09 Thread andy.mil...@jboss.com
"jaikiran" wrote : I guess the "Thread Local Pattern" in this FAQ http://www.jboss.org/community/wiki/WhatDoesTheMessageDoYourOwnHousekeepingMean Thanks Jaikiran! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236422#4236422 Reply to the post : http://www.j

[jboss-user] [JCA/JBoss] - Re:

2009-06-09 Thread jaikiran
I guess the "Thread Local Pattern" in this FAQ http://www.jboss.org/community/wiki/WhatDoesTheMessageDoYourOwnHousekeepingMean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236417#4236417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[jboss-user] [JCA/JBoss] - Re:

2009-06-09 Thread andy.mil...@jboss.com
"adr...@jboss.org" wrote : Read the FAQ. What you are doing is an anti-pattern and will cause connection leaks. Could you point me to the specific FAQ you are referring to? I see the same problem in the Apache Day Trader application (IBM wrote it). I may have to fix the application, but I'm n

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-06-08 Thread cpslo1999
I posted in both places since I had read a message on that board that said a different poster's question belonged on this board since it was dealing with the connection-factories. For the archives: I was able to get it to work once I moved the mbean description into its own file and out of the

[jboss-user] [JCA/JBoss] - Re: Problem with RA & inbound transaction -> MDB -> CMPs

2009-06-08 Thread adr...@jboss.org
You should be able to test your guess by adding a BMP entity bean to your transaction and seeing what TransactionManager.getTransaction() is when ejbStore() is invoked at the end of the transaction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236027#423602

[jboss-user] [JCA/JBoss] - Re: Problem with RA & inbound transaction -> MDB -> CMPs

2009-06-08 Thread adr...@jboss.org
"matterbury" wrote : | So, my questions are: is there any other reason the update could fail? how might I track down what's going wrong (I have turned on arjuna's DEBUG but it doesn't give enough detail for this)? | | FWIW, the actual exception is: | | | 2009-05-19 09:50:42,557 DEB

[jboss-user] [JCA/JBoss] - Re: Obtaining an independent transaction for auditing

2009-06-08 Thread adr...@jboss.org
no-tx-datasource View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236020#4236020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236020 ___ jboss-user mailing list jboss-user@lis

[jboss-user] [JCA/JBoss] - Re: Problem with Xa transactions in Oracle, Can anyone help

2009-06-08 Thread adr...@jboss.org
There is very little change between 4.0 and 4.2.x/5.x for Oracle XA except that the transaction manager in the later versions always pads the XIDs so there is no longer a configuration for that. I'd suggest you use the example in the Oracle docs on how to create an XA connection by hand. This wil

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-06-08 Thread adr...@jboss.org
Use the JBoss Messaging Forum/FAQ for this question. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236015#4236015 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236015 ___ jb

[jboss-user] [JCA/JBoss] - Re:

2009-06-08 Thread adr...@jboss.org
Read the FAQ. What you are doing is an anti-pattern and will cause connection leaks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236014#4236014 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236014 _

[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-08 Thread adr...@jboss.org
I assume by "transaction level" you mean the transaction isolation level. I know in the past Oracle had problems with changing the transaction isolation level. It only allowed it if you hadn't executed any other queries. That's probably changed since I last looked at it, which was a while ago?

[jboss-user] [JCA/JBoss] - Re: java.sql.SQLException: Connection handle has been closed

2009-06-08 Thread adr...@jboss.org
Read the FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236006#4236006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236006 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JCA/JBoss] - Re: MySql XA Datasource with JBoss 5.1.GA

2009-06-08 Thread jaikiran
See if this helps http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149998#4208077 anonymous wrote : that works fine under JBoss 4.2.3.GA Looks like there's some (unintentional) change in newline handling of property values, in -ds.xml, in AS-5.x View the original post : http://www.jbo

[jboss-user] [JCA/JBoss] - Re: re-authentication and pooling

2009-06-04 Thread jesper.pedersen
Only if you want to discuss and help with the implementation of the functionality - otherwise just keep an eye on the JIRA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235488#4235488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[jboss-user] [JCA/JBoss] - Re: re-authentication and pooling

2009-06-03 Thread dimonv
Hi Jesper, Do you mean I have to create a new topic in the "Design of JCA" forum? Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235037#4235037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235037 ___

[jboss-user] [JCA/JBoss] - Re:

2009-06-02 Thread ahameed
Hi I commented the CachedConnectionValve at end of the server.xml file. Also commented the CachedConnectionManager in META-INF/jboss-service.xml. The "Connection is not associated with a managed connection" is gone and application is running fine. By the way, this warning appears when there a

[jboss-user] [JCA/JBoss] - Re:

2009-06-02 Thread spotlight2001
on prod are more users. I tried JMeter but couldnt reproduce the error. My next steps: 1) old jboss ALSO has the same INTERCEPTOR in config. I will download the source and compare whether the old jboss also has the "close connection for you" inside. 2) Maybe its some autocommit issue. I will c

[jboss-user] [JCA/JBoss] - Re:

2009-05-29 Thread ahameed
Hi I am facing similar kind of a problem. Same exception, not reproducible on development machine. Using JBoss 4.3.0.GA. Please do share if you find any solution to this. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234137#4234137 Reply to the pos

[jboss-user] [JCA/JBoss] - Re: No valid JNDI Binding

2009-05-27 Thread PeterJ
See if this helps: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232520#4232520 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233664#4233664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233664 __

[jboss-user] [JCA/JBoss] - Re: No valid JNDI Binding

2009-05-27 Thread vickyk
"jvermast" wrote : | Is there any way to force Jboss to bind jdbc/expertDB to jdbc/expertDB? What are you trying to archive by doing so? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4074452#4074452 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JCA/JBoss] - Re: No valid JNDI Binding

2009-05-27 Thread jvermast
I think I may have found the issue further up in my server log: [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=/jdbc/expertDB' to JNDI name 'java:/jdbc/expertDB' Is there any way to force Jboss to bind jdbc/expertDB to jdbc/expertDB? It seems to be

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-05-26 Thread cpslo1999
You're right. That got rid of my error. Now my jms-ds.xml looks like this: | | | | ...as provided in JBoss distro... | | | | DFMJMSProvider | | | org.jboss.jms.jndi.JNDIProviderAdapter | | | | XAConnectionFactory | | XAConnectio

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-05-26 Thread PeterJ
This error: java.lang.IllegalStateException: jboss.messaging:name=JMSProvider,service=JMSProviderLoader is already installed. means that there is already an mbean by that name - which there is - the first entry in the jms-ds.xml file. To get rid of the error, use a different mbean name. There

[jboss-user] [JCA/JBoss] - Re: Configuring Local and Remote JMS

2009-05-26 Thread cpslo1999
Correction on the previous post: The Exception occurs whether my app has been deployed or not. My MDB's annotations look like this: | @MessageDriven(activationConfig = { | @ActivationConfigProperty( | propertyName = "destinationType", | propertyVal

[jboss-user] [JCA/JBoss] - Re: Problem with Xa datasources

2009-05-23 Thread andresramilo
at es.comunitel.tele2.portability.ejb.session.EventManagerBean.createEvents(EventManagerBean.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccesso

[jboss-user] [JCA/JBoss] - Re: Howto use custom jdbc driver with OracleXADatasource?

2009-05-18 Thread jeff.zhang
I guess your configuration is not correct. Maybe you use custom driver URL but using oracle template ds.xml. >From your error msg: anonymous wrote : | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sq | l.SQLException: Invalid Oracle URL sp

[jboss-user] [JCA/JBoss] - Re: Connect JBOSS with SAP (JCo)

2009-05-18 Thread jeff.zhang
http://www.techjava.de/projects/sap-bapi-jca-adapter/ maybe helpful View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231583#4231583 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231583 __

[jboss-user] [JCA/JBoss] - Re: RA deployment with native libraries

2009-05-15 Thread EricHardesty
anonymous wrote : Were you able to deploy the RAR in the Jboss4.* Or you are deploying this for the first time directly on the JBoss5? First attempt at using JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231405#4231405 Reply to the post : http://www

[jboss-user] [JCA/JBoss] - Re: Connect JBOSS with SAP (JCo)

2009-05-14 Thread vickyk
The Tomcat does not know how to deploy the RAR. With Jboss you will need to follow this 1) Get the appropriate RAR for the SAP, I don't see you are doing this. 2) Configure the -ds.xml file which will define the connection-factory in case you have outbound RAR deployed which seems to be your need

[jboss-user] [JCA/JBoss] - Re: Howto use custom jdbc driver with OracleXADatasource?

2009-05-13 Thread vickyk
"ethridgt" wrote : Our driver has a custom url format that it expects to see. In the acceptsURL method it will return false if it doesn't see that format. Attach the -ds.xml and the source code of the custom implementation of the XA you have. View the original post : http://www.jboss.org/inde

[jboss-user] [JCA/JBoss] - Re: RA deployment with native libraries

2009-05-12 Thread vickyk
"EricHardesty" wrote : | Do I need to configure something else to get this to occur? Can't find much information/documentation about RAR deployment in JBoss. | Eric Were you able to deploy the RAR in the Jboss4.* Or you are deploying this for the first time directly on the JBoss5? View

[jboss-user] [JCA/JBoss] - Re: MDB with Oracle AQ via Sun Adapter

2009-05-12 Thread kr8670
Hi, Well, the version of oracleaq.rar is as checked out from cvs, cvs log shows: | revision 1.1.1.1 | date: 2007/02/22 10:40:10; author: sauvage; state: Exp; lines: +0 -0 | Oracle AQ JMS Resource Adapter based on Generic JMS RA 1.7 | The ra.xml inside tells me:1.8 If you are referri

[jboss-user] [JCA/JBoss] - Re: RA deployment with native libraries

2009-05-11 Thread EricHardesty
anonymous wrote : | What files? | A Resource Adapter consists of jar files, META-INF/ra.xml plus it can optionally contain "native" libraries/files that are to be deployed by the J2 EE deployer. This seems to be the JCADeployer in JBoss' case which is supposed to deploy the files to a di

[jboss-user] [JCA/JBoss] - Re: RA deployment with native libraries

2009-05-11 Thread PeterJ
anonymous wrote : I'm not looking at having the JVM load that libraries. The JVM is responsible for loading *.so files. The Java language provides methods that Java code can use to identify the *.so, but it is the JVM that loads it. The java.library.path is used for System.loadLibrary(), while

[jboss-user] [JCA/JBoss] - Re: RA deployment with native libraries

2009-05-11 Thread EricHardesty
I'm not looking at having the JVM load that libraries. The code I have, which supports updating of the libraries for a newer version, without redeploying the RAR. I copy the physical location of the file to another location so that versioning can be done. Can you tell me where the files are l

[jboss-user] [JCA/JBoss] - Re: RA deployment with native libraries

2009-05-11 Thread PeterJ
To get the JVM to load a .so file, you need to set the java.library.path sysmet property. You look in run.sh for an example - that script sets java.library.path based on whether or not JBoss Native is installed (though if I recall correctly it does s incorrectly, dropping the existing LD_LIBRARY

[jboss-user] [JCA/JBoss] - Re: Change *-ds.xml file at runtime without reloading the DS

2009-05-11 Thread xmedeko
I use JBoss 5.0.1 unfortunatelly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230115#4230115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230115 ___ jboss-user mailing li

[jboss-user] [JCA/JBoss] - Re: Change *-ds.xml file at runtime without reloading the DS

2009-05-11 Thread PeterJ
Which version of JBoss AS are you using? If 4.0.x or 4.2.x, then look at the URLs attribute in the last MBean in the file server/xxx/conf/jboss-service.xml. Any additional directories added are read only during app server startup (only the first directory is monitored by the hot deployer). If y

[jboss-user] [JCA/JBoss] - Re: re-authentication and pooling

2009-05-11 Thread jesper.pedersen
I have created https://jira.jboss.org/jira/browse/JBJCA-94 as a placeholder for reauthentication support for the JBJCA project. If you want to discuss the design and implementation of the functionality feel free to drop by the JCA developer forum. Patches is of course most welcomed :) View the

[jboss-user] [JCA/JBoss] - Re: Change *-ds.xml file at runtime without reloading the DS

2009-05-11 Thread xmedeko
Hmm, this is not such a big issue to turn off the hot deployer. Some cold deploy directory would be cool for such kind of problems :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229954#4229954 Reply to the post : http://www.jboss.org/index.html?module=bb

  1   2   3   4   5   6   7   8   9   10   >