[jboss-user] [JCA] - Re: IBM MQ reesource adaptor queue/subscription error

2009-12-10 Thread vickyk
vrotaru wrote : Anyone has some experienece to configure the IBM MQ resource 
adapter 6.0.2.7 with JBoss 4.2.3 for queue per subscribtion MDBs. We are 
getting erros when the MDB connect to the broker. 
  | The error is in the IBM RA and the error says... it cannot print the error. 
I assume is a configuration issue but could not pinpointed it.
It would be difficult to detect the issue without the error details, you might 
need to talk to IBM support for it.
Have you looked at this wiki
http://www.jboss.org/community/wiki/UsingWebSphereMQSeriesWithJBossAsPart4


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269967#4269967

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Example File System RA

2009-12-10 Thread vickyk
kukeltje wrote : but misses a jboss-service.xm file (if it is needed, no idea 
yet). The former is not transactional. So I was wondering if someone could give 
me a quick hint on whether the JBoss example still runs (maybe slightly 
adapted) on JBoss AS 5.x (the example is seems to be deleted from the 5 docs in 
svn) or do I need to start from scratch or ... 

Why do you think that you  need jboss-service.xml file?
JBoss5 should be able to deploy the jca ra which are deployable on older 
versions, it is backward compatible and should support the older rar 
deployments too.
Go ahead and deploy the older rars in JB5, let us know if there are any issues.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269968#4269968

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: RAR classloading inversion

2009-12-10 Thread vickyk
kukeltje wrote : 
  |  Makes me wonder though what the alternative is. Tx? I do want to use 
'pooling' in my RAR.
  | 

In JBoss4.x the xsl deployer creates a set of MBeans which contains the JCA 
infrastruture MBeans(pooling/tm), the same set of MBeans can be configured 
explicitly in service( -service.xml file) also.
In older version of JBoss somewhere in JBoss3 days the datasource deployment 
was not done using -ds.xml but by deploying the service i.e -service.xml.
The -ds.xml configuration was easier than the -service.xml pattern  which would 
simply contain the mbean definitions.
It seems you wanted to deploy the RA with the corresponding -service.xml and 
not with -ds.xml pattern.
You should be able to search the entry as DEBUG 
[org.jboss.deployment.XSLSubDeployer] transformed into doc: in the JBoss4.* , 
it would contain the generated xml which would be deployed by the service 
deployer.
With JBoss5 there is no xsl transformation and you would not see the same in 
the server.log.

So with JBoss4 you have 
-ds.xml --xsl transformation-- -service.xml  4 Means per -ds.xml 
configuration

and with JBoss5 you will have
-ds.xml --- 4 Means per 
-ds.xml configuration

In Jboss4 the xsl transformation creates the contents of -service.xml which can 
been seen in server.log e.g

DEBUG [org.jboss.deployment.XSLSubDeployer] transformed into doc: server
  |  mbean code='org.jboss.resource.connectionmanager.TxConnectionManager' 
display-name='ConnectionManager for DataSource OracleDS' 
name='jboss.jca:service=LocalTxCM,name=OracleDS'
  |   attribute name='TrackConnectionByTx'true/attribute
  |   attribute name='LocalTransactions'true/attribute
  |   depends optional-attribute-name='ManagedConnectionPool'

You could also deploy the JCA infrastructure via the -service.xml and avoid xsl 
transformation, but this is difficult to manage and thus the -ds.xmll 
deployment notion was introduced.

With Jboss5 I would not recommend you to deploy the -service.xml and would 
recommend to write -ds.xml defining the connection factories as explained in 
the jca docs here 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/

And if you still want to use the -service.xml pattern which was used in Jboss3 
days(IIRC) then you should use 
org.jboss.resource.connectionmanager.TxConnectionManager entry instead of 
org.jboss.resource.connectionmanager.XATxConnectionManager

To have better understanding of what MBean should be in  the -service.xml I 
would recommend you to take a look at the xml getting generated in server.xml 
from the xsl transformation. You can search for DEBUG 
[org.jboss.deployment.XSLSubDeployer] transformed into doc:  in server.log.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269979#4269979

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: HOWTO: Pool connection management of my managed connecti

2009-12-10 Thread vickyk
Hello Christian,

groovie wrote : 
  |5000
  |15   
  | Are one of the both settings responsible for the destroy
  | of vital connections ?
  | 
Yes it is the IdleTimeoutMinutes configuration which is destroying the idle 
connections, the idle connections are the connection in a pool which are not 
being used for some time.
http://www.jboss.org/community/wiki/ConfigDataSources
check this 
idle-timeout-minutes - indicates the maximum time a connection may be idle 
before being closed. Default is 15 minutes.

Cheers,
Vicky

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4269980#4269980

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269980
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Example File System RA

2009-12-10 Thread vickyk
kukeltje wrote :  Not sure how a ds should look like if I have no service.xml 
file but do want to have pooling...
  |  

Please read this one 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html
You should understand how the -ds.xml for JCA file rar is configured, these 
contents gets embedded in the the generated xml by xsl transformation in 
Jboss4.*
!DOCTYPE connection-factories PUBLIC
  |   -//JBoss//DTD JBOSS JCA Config 1.5//EN
  |   http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd;
  | !--   
  |The non-transaction FileSystem resource adaptor service configuration
  | --
  | connection-factories
  | no-tx-connection-factory
  | jndi-nameNoTransFS/jndi-name
  | rar-namechap7-ex1.rar/rar-name
  | connection-definition
  |  org.jboss.chap7.ex1.ra.DirContextFactory
  | /connection-definition
  | config-property name=FileSystemRootDir
  |  
type=java.lang.String/tmp/db/fs_store/config-property
  | /no-tx-connection-factory
  | /connection-factories


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4270105#4270105

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270105
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: RAR classloading inversion

2009-12-10 Thread vickyk
kukeltje wrote : 
  | The docs you refer to (and later versions) are what I used. Read them from 
front to back and reverse, top-left to bottom right and reverse. These are also 
the docs that mention XATxConnectionManager class, so that is why I still 
thought it was needed. That confuses a lot, getting refered (not specifically 
by you, more in general) to use these docs but if the info in it is 'obsolete' 
(there is a JBoss 5 doc which also still has this chapter)
  | 
Yes I agree that the documents which I had pointed are obsolete, the 
XATxConnectionManager is no longer used in latest JBoss4.
And if this is present in the JBoss5 docs it needs to be corrected there !


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4270106#4270106

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270106
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: How can I get jbossts-jta-4.2.3.SP8?

2009-11-24 Thread vickyk
You should be able to get the resources from tag/branch here
http://anonsvn.jboss.org/repos/labs/labs/jbosstm/


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4267254#4267254

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: RAR classloading inversion

2009-11-17 Thread vickyk
ad-rocha wrote : I found some tips here: 
http://java.dzone.com/articles/jboss-microcontainer-classloading, but I still 
don't know how to use jboss-classloading.xml in RAR files...
  | 
Just place the jboss-classloading.xml inside the RAR/META-INF and see if the 
corresponding classloading domain as defined in the jboss-classloading.xml gets 
created.
Also the RAR deployment details via the jmx-console should point to the domain 
name as specified in the jboss-classloading.xml.

PS: I have not tried all this, let me know if you don't get things working I 
will give it a try.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266010#4266010

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Discovery of JCA ConnectionFactory without resource-ref

2009-11-17 Thread vickyk
maffeis wrote : 
  | Is there a way of making such a JNDI lookup possible from a Servlet, 
without adding a resource-ref declaration to the web.xml file?

Yes you should be able to get theJCA CF by simply looking at the JNDI.
Just define the -ds.xml and deploy it in the JBoss, later on in the servlet(or 
any web component) just make this call

  | InitialContext context = new InitialContext();
  | ConnectionFactory cf = (ConnectionFactory)context.lookup(JNDINAME);
The ConectionFactory/JNDINAME should be  defined in the -ds.xml at 
connection-definition/ jndi-name tags.
Check this for more details 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266013#4266013

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Specifying a different WorkManager for a custom resource

2009-11-17 Thread vickyk
bortx wrote :  I want my resource adapter to use a different WorkManager than 
the default jca one jboss.jca:service=WorkManager so that threading in this 
RA is independent and does not interfere with threading in other deployed 
resource adapters.
  | 
Can't do it with JBoss4.x, there is an JIRA for it which I am not able to find 
now.
Logically the specific workmanager implementation should be put in the 
jboss-ra.xml, this file is not there in Jboss4.x
I think getting it done in JBoss5 should be possible.
bortx wrote : 
  | Is there any way of doing this? May I have to deploy another instance of a 
RARDeployer with another WorkManager and associate it to my resource adapter?
  | Thanks a lot!
I don't think this would be possible and easy !


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266034#4266034

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Specifying a different WorkManager for a custom resource

2009-11-17 Thread vickyk
bortx wrote : 
  | 2.- Accesing this work manager from my resource adapter and using it to 
submit works instead of the one that is provided by jboss in the 
BootstrapContext:
  | 
Looks good as long as you are not relying on getting the WorkManger by 
javax.resource.spi.BootstrapContext::getWorkManager() 
btw, did you got a chance to test these configuration changes?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266053#4266053

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266053
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2.

2009-11-11 Thread vickyk
pwnell wrote : Surely the domain names would be different then?
yes the domain names would be different for all the EAR's but they would share 
the same parent domain which should be DefaultDomain, this is default 
behaviour.
If you are scoping the deployments then the classes from various deployments 
would not go into the common DefaultDomain, the classes can remain in the CLD 
specific to the scoped deployment and thus not visible to the other sibling 
deployments( i.e all other EAR's here).


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265019#4265019

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265019
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Datasource Failover Notification

2009-11-11 Thread vickyk
mayankmit2002 wrote : 
  | In my postgress-ds.xml, I've configured the datasource as HA-XA-datasource 
to use both servers.
  | 
The attached -ds.xml contains  incorrect configuration about ha datasource !

mayankmit2002 wrote : 
  | Problem
  | -
  | Now I want to get notified when one data base is down to intimate the 
clients that database is down.
  | 
I don't know what exactly you are trying to do here.
You can write a custom MBean which will monitor the working of the 
datasource,getting the JMX notification when the DB goes down would not be 
possible without the change in JCA code.
With Jboss5 you can probabily make the JMX notification via custom 
UrlSelectStrategy implementation.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265022#4265022

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265022
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: HA-XA-datasource + Postgres 8 how?

2009-11-11 Thread vickyk
babazs wrote : I think this issue is related to this: 
https://jira.jboss.com/jira/browse/JBAS-5472
  | 
I think it is not related to this JIRA.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265024#4265024

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265024
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: How to code JNDI lookup of JCA Resource ConnectionFactor

2009-11-11 Thread vickyk
mnenchev wrote : 
  | Why the lookup returns me object of a class that do not implement 
QueueConnectionFactory?

Did you talk to IBM support about it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265025#4265025

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: RAR classloading inversion

2009-11-11 Thread vickyk
ad-rocha wrote : 
  | But how about RAR files? is that a way to do this?
There is not direct way to do so for Jboss4.x series but you should be able to 
do it via jboss-classloading.xml in Jboss5.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265026#4265026

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: MDB reconnection issues

2009-11-11 Thread vickyk
sachten1010 wrote : 
  |  messaging issue(i already posted the same qn in the messaging forum and 
was guided here.) ?
  | 
What is the corresponding link at messaging side, this link may help us in 
getting more info from messaging side and possible issue at JCA side.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265040#4265040

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: HOWTO: Pool connection management of my managed connecti

2009-11-11 Thread vickyk
groovie wrote : I think, this is the issue of the ConnectionPool-Manager,
  | who will disables or remove the connection from the pool
  | and try to establish a new one (using my ManagedConnection)
  | 
Yes Jboss JCA code will call the ManagedConnection's 
createManagedConnection(..) and matchManagedConnection() while creating the new 
connection from the pool and retreiving the existing connection from the Pool.
You should refer to the code implementation of the jdbc ra here 
https://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265045#4265045

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265045
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: How to send jms messages from jboss to websphere

2009-11-11 Thread vickyk
mnenchev wrote : 
  | I tried this configuration wmq.jmsra.xml:
  | 
It should be -ds.xml and not the *ra.xml.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265047#4265047

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265047
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Time spent in org.jboss.resource.adapter.jdbc (locking i

2009-11-11 Thread vickyk
Can you just provide some value to the prepared-statement-cache-size  in the 
-ds.xml and then observe the profiling results?
http://www.jboss.org/community/wiki/ConfigDataSources

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4265049#4265049

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265049
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2.

2009-10-25 Thread vickyk
pwnell wrote : I *do* make use of jboss-app.xml files - in the RAR and in the 
ear. In the RAR file: 
jboss-app.xml would not be considered in RAR, can you have 
jboss-classloading.xml with the same name for domain as you have for EAR.
Check if things work then, if it does not that I can have a deep dive it this 
case.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4262005#4262005

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262005
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2.

2009-10-19 Thread vickyk
The ear should have been able to access the classes present in the RAR since 
the CL's associated with RAR/EAR deployment should look at the common 
ParentDomain( which is basically the new name for UnifiedLoaderReposity in 
JBoss5) that holds the class cache of all the classes present in non-scoped 
deployments.

Check the following MBean's displayClassInfo() operationand paste it here
JMImplementaiton:name=Default,service=LoaderRepository

You should enter the classname as 
net.za.pwnconsulting.logmon.rar.cci.data.client.LogMessage in 
displayClassInfo().


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4260990#4260990

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Oracle Failover connection url

2009-10-14 Thread vickyk
born_free_77 wrote : 
  | Any idea what I am missing, Does any one has sample ds files?
  | 
Check this
http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/testsuite/src/resources/jca/ha/test-ha-ds.xml
http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/testsuite/src/resources/jca/ha/test-ha-xa-ds.xml

Also using oracle RAC and configuring ha-datasource should be done exclusively, 
I have not seen people combining it but it looks possible.
Anyway the right connection-url for oracle-RAC should be like this 
connection-urljdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(host=host1)(port=1521))(address=(protocol=tcp)(host=host2)(port=1521)))(connect_data=(service_name=sid)(failover_mode=(type=select)(method=basic/connection-url
You can find more details here 
http://www.jboss.org/community/wiki/SetupAOracleDataSource


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4260254#4260254

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Oracle Failover connection url

2009-10-14 Thread vickyk
born_free_77 wrote : 
  | if I use 
  | 
  |   | 
connection-urljdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(h
  |   | 
ost=host1)(port=1521))(address=(protocol=tcp)(host=host2)(port=1521)))(connect_data=(service
  |   | 
_name=sid)(failover_mode=(type=select)(method=basic/connection-url
  |   | 
  | then jboss complains that url-delimiter is not povided. I did use the same 
url when using  /local-tx-datasource but this still does not gives me 
failover. 
  | 
You have not defined the delimiter and if you using this in ha datasource type 
configuration things will not move as the configuration is wrong.
Just use non ha datasource and with this url, that is the way to go and it 
seems to be working for you.

anonymous wrote : 
  | Whats the difference between  local-tx-datasource and  
ha-local-tx-datasource?
  | 
Read this 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4260300#4260300

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260300
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Bug in connection validation code

2009-10-09 Thread vickyk
Do you guys have your custom RA or you have see the issues with the RA's 
shipped with Jboss?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259526#4259526

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259526
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: DataSource Failover in Cluster JBoss

2009-10-09 Thread vickyk
NJaganMohanRao wrote : 
  | I have implemented org.jboss.resource.adapter.jdbc.ValidConnectionChecker 
but I don't find the any clue how to verify the postgres connection(valid 
connection / invalid connection).
  | 
I see the one already  there
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/vendor/PostgreSQLValidConnectionChecker.java
Why are you not using it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259528#4259528

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259528
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Example File System RA

2009-10-09 Thread vickyk
jinesh4all wrote : 
  | I am using Jboss 4.2.2 GA, can any one give me an example for FileSystem as 
Resource? I am new to Connectors.. :( 
  | 
Read this
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html
and try downloading the sample application from here
http://docs.jboss.org/jbossas/jboss4guide/r5/

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259530#4259530

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: How to code JNDI lookup of JCA Resource ConnectionFactor

2009-10-09 Thread vickyk
Can you show us the connection factory deployment descriptor file?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259532#4259532

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259532
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Basic understanding of JCA-Workflow

2009-10-09 Thread vickyk
LeoLo wrote : 
  | Or when repository.login(...) in the service-method is called?
  | 
The connection should be taken when login() is called, you can verify this by 
looking at the implementation.

LeoLo wrote : 
  | When is the connection released and returned to the pool? (When 
session-logout is called or when the transaction is committed or ... ?)
  | 

It should be when session.logou() is called, I would recommend to check the RA 
implementation from JackRabbit.

LeoLo wrote : 
  | Is it possible, that during a service-method more than one connection may 
be used?
  | 
  | Any hints and references are really appreciated.
  | 
I can't make out from the methods calls that multiple connections are being 
used in the application flow.
You can also look at the ManagedConnectionPool MBean from the jmx-console to 
see the evolution of the connections in the pool.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259536#4259536

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259536
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Exception: Unable to fill pool

2009-10-09 Thread vickyk
bravi1234 wrote : help me
You need to read this 
http://www.catb.org/~esr/faqs/smart-questions.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259537#4259537

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-10-09 Thread vickyk
henk53 wrote : 
  | 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 the time?
Yes, but you need to understand that there is a trade-off between the 
efficiency and flexibility(loosely coupling).
You should be talking at EJB forums for the EJB details, you can get more help 
there.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259539#4259539

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Bug in connection validation code

2009-10-09 Thread vickyk
bortx wrote : I have downloaded JBoss 4.2.3 sources and have detected the bug 
on JBoss JCA code. So, as there is no response from JBoss, I have fixed the bug 
by myself.
Do you see the issue with the RA that is deployed by you?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4259554#4259554

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4259554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Acessing Websphere MQ from standalone application

2009-09-11 Thread vickyk
Alphonsus wrote : 
  | I've configured WSMQ jca connection in a JBossAS and it's working allright. 
Now I'm trying to use it from a standalone application and can't figure how.
  | Can anyone please help?

Couple of ways
1) configre use-java-context true and then get the related 
ConnectionFactories from the InitialContext. i.e 
use-java-contexttrue/use-java-context 
2) Have a stateless EJB at the server side which will talk to JCA adapter 
deployed in Jboss.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254727#4254727

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Websphere MQ and ConcurrentModificationException

2009-09-11 Thread vickyk
amagno wrote : ConcurrentModificationException .
Post the complete log/error trace.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254729#4254729

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: How to post Message to IBM MQ Queue from Webservice ?( U

2009-09-11 Thread vickyk
If you say it is urgent then I would suggest you to purchase Jboss support, for 
free service you have to wait for a while.
Have you got a chance to look at this link ?
http://www.jboss.org/community/wiki/WebsphereMQIntegration

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254735#4254735

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254735
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-09-11 Thread vickyk
xa-datasource-classorg.apache.derby.jdbc.EmbeddedXADataSource/xa-datasource-class
  |   xa-datasource-property 
name=URLjdbc:derby://localhost:1527/esbdb;create=false/xa-datasource-property
The above configuration will work only if there is setURL method present in 
org.apache.derby.jdbc.EmbeddedXADataSource which is not there, check this
http://db.apache.org/derby/javadoc/publishedapi/jdbc3/org/apache/derby/jdbc/EmbeddedXADataSource.html

I don't see a way to confire a xa-datasouce after looking at this link, however 
you can configure local-tx-datasouce as explained here 
http://www.jboss.org/community/wiki/SetUpADerbyDatasource


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254738#4254738

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: JCA connection error

2009-09-11 Thread vickyk
Message : java.lang.IllegalStateException: MQJMS0006: WebSphere MQ classes for 
JMS attempts to use a data type not supported by a message or attempts to read 
data in the wrong type. 

Did you spoke to ibm support folks to figure out what the above error code 
means?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254739#4254739

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254739
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Microcontainer Users] - Issue while running DZone sample.

2009-08-28 Thread vickyk
I have getting the following exception when I am running the simple application 
as pointed here 
http://java.dzone.com/articles/a-look-inside-jboss-microconta-0

Here is the error 
Using bootstrap: 
file:/home/vicky/workspace/DZone_1_0/bootstrap/src/main/resources/META-INF/bootstrap-beans.xml
  | org.jboss.xb.binding.JBossXBException: Failed to parse source: 
file:/home/vicky/workspace/DZone_1_0/bootstrap/src/main/resources/META-INF/bootstrap-beans@94,101
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:147)
  | at 
org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:147)
  | at org.jboss.demos.bootstrap.Main.configure(Main.java:80)
  | at org.jboss.demos.bootstrap.Main.main(Main.java:45)
  | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: 
{urn:jboss:classloading:1.0}classloading not found as a child of 
{urn:jboss:bean-deployer:2.0}property in sequence: 
{urn:jboss:bean-deployer:2.0}annotation* {choice}* {wildcard}?
  | at 
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:383)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
  | at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:504)
  | at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
  | at 
com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.emptyElement(XIncludeHandler.java:981)
  | at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:353)
  | at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2723)
  | at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:624)
  | at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
  | at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:486)
  | at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:810)
  | at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:740)
  | at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:110)
  | at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1135)
  | at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:536)
  | at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
  | ... 4 more
  | 

Looks like that there is mismatch of jaxb jars.
Can someone point the jar version which I need to use during runtime to run 
this application?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4252193#4252193

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4252193
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Microcontainer Users] - Re: Issue while running DZone sample.

2009-08-28 Thread vickyk
alesj wrote : Perhaps you're missing jboss-classloading.jar?
Yes, I don't have it in classpath.
I think this is the right place to build it from 
http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4252197#4252197

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4252197
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - Re: JNDI lookup from JBoss embedded MQ Provider

2009-08-26 Thread vickyk
moonbird79 wrote : 
  | +- activemq (class: org.jnp.interfaces.NamingContext)
  |   |   +- topic (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- inbound (class: org.apache.activemq.command.ActiveMQTopic)
  |   |   +- QueueConnectionFactory (class: 
org.apache.activemq.ra.ActiveMQConnectionFactory)
  | +- stationInfoQueue (class: org.apache.activemq.command.ActiveMQQueue)
  | +- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)

The following call should work 
ConnectionFactory factory = (ConnectionFactory) 
ctx.lookup(activemq/QueueConnectionFactory);

What error do you get when this is called?
Does this configuration work in JBoss4.x series?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4251949#4251949

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4251949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 connection to the type it has requested 
ClassCastException occurs. 
  | 

I don't understand this clearly, may be you can explain this with respect to 
the jdbc rar.

dimonv wrote : 
  | Another example is JBoss' JMS RA; it provides a class called  
org.jboss.resource.adapter.jms.JmsConnectionRequestInfo which implements of 
javax.resource.spi.ConnectionRequestInfo. 
org.jboss.resource.adapter.jms.JmsConnectionRequestInfo defines the type of 
connection returned by RA: topic, queue or both, I assume all of these types 
can not be put into the same pool.
  | 
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).

dimonv wrote : 
  | BTW I thought that was one of the reasons for 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool.PoolByCri 
implementation.
  | 

The reason is the efficient management of the pool as per my understanding.

The JCA specs does not specify how an application server should implement 
Connection Pool, it is left to the AS vendor.
The suggested approach in the specs is explained in sec6.5.3.3 reads this 
anonymous wrote : The per-ManagedConnectionFactory instance pool may be further 
partitioned
  | based on the transaction or security context or any client-specific 
parameters (as
  | associated with the ConnectionRequestInfo). When an application server 
calls the
  | matching facility, it is recommended that the application server narrow 
down the
  | candidate set of ManagedConnection instances to a reasonable limit, and 
achieves
  | matching efficiently. For example, an application server may pass only those
  | 
Having PoolByCri/PoolBySubject/PoolBySubjectAndCri will basically improve the 
efficiency/scalable of pooling implementation.
Imagine you have thousands of connection and if these are classified in groups  
based on Subject/Cri then the searching the connection could be improved.

dimonv wrote : 
  | why do you need any additional infrastructure for the re-authentication?
  | 
To provide more flexibility as you can see from the patch where you can plug in 
the custom re-authentication mechanism via -ds.xml.

anonymous wrote : 
  | And if we use a JCA-compliant RA supporting re-authentication, who is 
responsible for supplying a re-authentication mechanism?
  | 
RA developer should implement the Reauthenication mechanism.

anonymous wrote : 
  | Even in case of JDBC no additional mechanism is not necessary in -ds.xml; 
this mechanism should be behind getConnection, as described in chap. 9.1.9 of 
JCA specification.
  | 

Is it not behind the getConnection()? It is the getConnection() call on the MCF 
which invokes the ConnectionManager which in turn talks to the 
ConnectionPoolImplementation for getting the connection.


What I understand is that you wanted to keep the SubPoolCreation even when the 
re-authentication.

The purpose of reauthentication is to avoid the searching of valid connection 
in a pool as it would improve the performance when pool size is too large.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244895#4244895

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244895
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 tested it?

vigneshmpn wrote :  But most part of our business logic run as part of 
container-managed transaction, and so we don't want the read operations to be 
part of the transaction unnecessarily.
  | 

Using no-tx-datasource inside the Container managed transaction does not make 
any sense, also setting the transaction isolation level on the no-tx-datasource 
too would not make sense.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244905#4244905

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244905
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 series?
Where exactly are you using this class?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244907#4244907

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244907
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 used. In the patch that 
you proposed all connections would have been in one pool - wheras we need a 
PoolByCri. Did I miss something in your Patch that would support a PoolByCri in 
the re-authentication case?
  | 
No there is no way to create PoolByCri with the patch right now, if 
re-authentication is enabled.
However I am not able to understand why you need subpools and re 
authentication, both of them should be mutually exclusive.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244960#4244960

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 CRIs e.g. types can differ.
  | 

What issue do you see here?

dimonv wrote : 
  | Moreover if an RA supports re-authentication, it doesn't mean automatically 
that re-authentication should be applied, I think it's the matter of -ds.xml. 
  | 

Not really IMO, the reauthentication would be decided at the RA level. The 
-ds.xml should then supply the infrastructure needed to support the 
reauthentication i.e reauthentication mechanish as in case of jdbc rar.
Logically re-authentication means a single pool.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4242541#4242541

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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()

   catch (Exception e)
  |{
  |   throw new JBossResourceException(Failed to load the 
reauthentication class  + reauthenticateClassName, e);
  |}
  |}

2) 
jesper.pedersen wrote : 
  | if the method doesn't exist on the class and so on.

It is tackled in the vendor implementation of the ReauthenticationMechansim e.g

MySqlReauthenticationMechansimImpl::reauthenticate
catch (Exception e) 
  |{
  | Throwable t = e.getCause(); 
  | if (t instanceof SQLException) {
  | throw (SQLException)e;
  | } else {
  | log.error(Unexpected error in changeUser, e); 

  | }
  |}

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4241098#4241098

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241098
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 complaint about it.
You will not be able to go ahead unless you make some AS tweaks, for the LRCO 
yes you should make oracle ds configured as xa-datasource.
Check this 
http://www.jboss.org/community/wiki/Multiple1PC

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4241102#4241102

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4241108#4241108

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241108
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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?module=bbop=viewtopicp=4241114#4241114

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241114
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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?module=bbop=viewtopicp=4241123#4241123

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241123
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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
 destination=que
  | ue/avant-ss/imports1 

I don't see any Queue bound to this name queue/avant-ss/imports1.
Can you share the MDB configurations?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4238703#4238703

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4238706#4238706

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4238432#4238432

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238432
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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) reauthentication-support 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-tx-datasource AND xa-datasource would 
have reauthentication-mechanism pointing to the appropriate reauthentication 
mechanism implementation.

Missing of any of the configuration would cause *misbehavior* of the JCA 
pooling mechanism.
We should have a way to pass the reatuthentication details to the MCF e.g 
mcf.setReauthenticationTrue(true);
Should we not have reauthentication related API as a part of the MCF ?

For other RA's to support re-authentication what they need is 
1) Enable the reauthentication-support in the 
vendor-specificRA.rar/META-INF/ra.xml

AND 

2) provide connection-property for CF which will tell the MCF to use the 
reauthentication.





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4237580#4237580

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4237607#4237607

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4237608#4237608

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4237613#4237613

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4074452#4074452


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4233647#4233647

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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.

Some more forum post which might help you goes here
http://www.jboss.org/index.html?module=bbop=viewtopicp=4168739#4168739
http://www.jboss.org/index.html?module=bbop=viewtopicp=4050388#4050388

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231183#4231183

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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/index.html?module=bbop=viewtopicp=4230976#4230976

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4230651#4230651

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Jboss 5.0.1 ha-local-tx-datasource

2009-05-06 Thread vickyk
maliksaheb wrote : Hi 
  | 
  | According to the last message posted here, does it mean that to define 
failover capabilities, ha--datasource is not needed in JBoss 5?
Yes, check the corresponding test case related -ds.xml configuration files here
https://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/resources/jca/ha/

Here is the corresponding -ds.xml files from older Jboss configuration

http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/testsuite/src/resources/jca/ha

You will notice that there is change from ha-local-tx-datasource to 
local-tx-datasource in the configuration.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4229248#4229248

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4229248
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: How to change datasource properties using java client co

2009-05-06 Thread vickyk
chetanchatwani wrote : Hi ,
  | Can someone help for same with required pointers to documents sample code 
if possible?
  | 
Check this
http://www.jboss.org/index.html?module=bbop=viewtopicp=4129581#4129581

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4229249#4229249

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4229249
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: jboss5.0.1 multiple XA datasources: autocommit?

2009-05-06 Thread vickyk
javatwo wrote : 
  | My question is: set automcommit=1, for performing a number of entity 
updates, are they in one transaction?  
  | 
  | for autocommit, mysql will commit each update immediately.
  | 
  | If new-connection-sqlset autocommit=1/new-connection-sql
  | is removed from datasource configuration, we will get the following error:
  | 
The xa transaction ignore the autocommit setting on the connection, I did some 
tests few day back which confirmed the same.

javatwo wrote : 
  | MysqlXAException: XAER_OUTSIDE: Some work is done outside global transaction
  | 

Can you simulate this error with plain jsp code? I would like to see it at my 
end.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4229253#4229253

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4229253
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-04-15 Thread vickyk
Check this 

https://jira.jboss.org/jira/browse/JBAS-1429


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225607#4225607

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: JBoss Connection Pooling Problem With Unisys DMS-II JDBC

2009-04-15 Thread vickyk
acastanheira2001 wrote : 
  | My theory is: JBoss is not managing correctly connection pooling with 
DMS-II Jdbc Driver. Every time a connection is requested JBoss establish it 
with DMS-II Database and do not release it after use. When the number of 
requests reaches its maximum value new connections are refused and the old 
connection are not release for reuse. 
  | 
  | I am use JBOSS 4.2.0-GA-SP2 , JDK 1.5.0.15 .
  | 
  | Can anybody help me???
  | 
  | Thanks 
  | 
  | Andre

I bet that your application is not releasing the connection back to the pool, 
you ready for the bet ;)
Use listInUseConnections() operation of the CacheConnectionMBean to determine 
which part of the code is causing the connections to leak
For more details refer this
http://www.jboss.org/community/docs/DOC-9255


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225611#4225611

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ClassNotFoundException: org.jboss.resource.deployers.man

2009-04-15 Thread vickyk
Rhodan wrote : Hello 
  | we are using jboss 5.0.1 inside an rcp plugin. 
  | 

What is rcp pluging?
How are you using it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225614#4225614

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Configuration of data source

2009-04-15 Thread vickyk
You are messing up the things IMO.
Why do you want to keep the DefaultDS as the jndi name for the mysql datasource 
which you are configuring?
Creating the MySql DB should be simple thing, just refer this 
http://www.jboss.org/community/docs/DOC-12244



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225618#4225618

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: java.lang.NoClassDefFoundError: net/sf/hibernate/Hiberna

2009-04-15 Thread vickyk
Why are non-jca things being discussed here?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225619#4225619

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ConnectionCount and InUseConnectionCount behavior

2009-03-09 Thread vickyk
jguser wrote : 
  | We have a average of a 16.88 of difference between de ConnectionCount and 
InUseConnectionCount
  | 
What does 16.88 mean here ?

jguser wrote : 
  | Anyone can tell me wich is the behavior of the connection pool?? When he 
creates new connection that re don't realy needs?
  | 
  | Thanks
When IdleRemover is called, the PoolFiller thread will clean the idle 
connection which are below the min-pool-size and also recreate them.
So during the IdleRemover kicking the connections would be created which might 
not really used.
You can have a look at the strict-min-pool parameter for the Jboss5  here
http://www.jboss.org/community/docs/DOC-9349

If you can provide the clearer details I can assist you more ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216352#4216352

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: DataSource with Dynamic IP

2009-03-09 Thread vickyk
You should provide the details properly if you want to get free help ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216355#4216355

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Jboss 5.0.1 ha-local-tx-datasource

2009-03-09 Thread vickyk
Yes, there is an issue of ha datasource getting deployed, I need to dig more 
here.
I will look over this during the weekend.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216361#4216361

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Datasource with ha-xa-datasource is not deployed under

2009-03-09 Thread vickyk
Keep watching here
http://www.jboss.org/index.html?module=bbop=viewtopict=151588

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216362#4216362

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216362
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: MySQL Datasource on JBoss

2009-02-26 Thread vickyk
jotnarta wrote : 
  |   Exception thrown java.sql.SQLException: Table not found in statement 
[select * from questions]   
  | 
Are you sure that there exists a table by name questions?

anonymous wrote :  and where can i find the log for JBoss server???
Why don't you check the faq's ??? 
check at $JBOSS_HOME/server//log/ location for the server log.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213336#4213336

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: MySQL Datasource on JBoss

2009-02-26 Thread vickyk
Ok, configure the sql client with the same details as you have in -ds.xml file 
and see if you can execute the same query through it, you can use squirrel as 
client.
Another thing which you can try is to have a simple jdbc program and check if 
the same statement works Or not.
What errors do you see in the server.log?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213343#4213343

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213343
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ACCESS REMOTE QUEUE IN WEBSPHERE APPLICATION SERVER

2009-02-25 Thread vickyk
pargs54 wrote : Hi,
  |   My query is my MDB in jboss has to access the queues in websphere 
application server and process the messages, can anyone help me on this. i 
posted this query in JBOSS Messaging but i was suggested to post it here. can 
anyone help on this.
Does websphere uses websphere MQ as the messaging system by default, if it is 
so then you can try this process
http://www.jboss.org/community/docs/DOC-12535

If websphere messaging system does not have the required ra then you can opt 
for longer approach.You can follow these steps
1) Push the messages from websphere to the Jboss after they are read in 
websphere MDB that listens to websphere messaging system.
3) Configure the MDB to listen to the Jboss messaging sytsem which would be 
created/populated in step [1] 

Also have a look at this link
http://www.jboss.org/community/docs/DOC-10054


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4212961#4212961

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212961
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Performance Cost of valid-connection-checker-class-name

2009-02-25 Thread vickyk
vaerssv wrote : 
  | so i'm wondering if there is a way to limit the number of checks ? not 
removing them completely, but specifying that we want a maximum of one hit 
every 10 seconds for exemple, not just before every querry... ?
  | many tanks
What is the rational of doing such changes, can you explain this in detail?
Yes making the changes in custom implementation of ConnectionChecker will help 
here but I wanted you to understand clearly about the benefit that would you 
get by implementing it.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4212966#4212966

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-25 Thread vickyk
Read this
http://www.catb.org/~esr/faqs/smart-questions.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4212967#4212967

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-25 Thread vickyk
ryandavid wrote : 
  | The other messages are deleted from the queue but their texts aren't 
printed out.
  | 
Strange!!! You should talk to people in ejb forums about it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4212968#4212968

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Rar deployment inside ear fails with deployment exceptio

2009-02-25 Thread vickyk
ewinston wrote : 
  | The ra.rar just contains the ra.xml and the manifest Class-Path refers to 
lib/logic.jar.  The ejb.jar also uses lib/logic.jar, and the definition of the 
MDB is within this jar.  I sorted out the deployment issues around ordering, so 
I know the deployment order is not a problem.
  | 

You don't need to define the Class-Path entry in the manifest of the ra.rar, 
you can rely on the library-directory feature of javaee5 from Jboss, check 
attribute name=EnablelibDirectoryByDefaulttrue/attribute from 
the$JBOSS_HOME/server/default/deploy/ear-deployer.xml

Where is MDB packaged, is it is in ejb.jar Or logic.jar?
How did you sort out the deployment ordering issue?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213214#4213214

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213214
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-20 Thread vickyk
ryandavid wrote : 
  | I think that wiki page of Sun Adapter should be updated

Yes, please update the wiki after you have tested the stuff thoroughly. 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211740#4211740

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem in data source binding while server start

2009-02-19 Thread vickyk
jars will be deployer before the datasource(-ds.xml), so if there are some 
classes that are getting initialized and require the datasource it will fail  
because the -ds.xml are not deployed untill the .jar's are deployed.
You should look for the strict deployment as explained over here
https://jira.jboss.org/jira/browse/JBAS-2904

Also make sure that the jboss jca MBeans are getting created after the server 
booting is over, you should look at the jboss.jca:* MBeans through the 
jmx-console.
You should be able to see the set of Mbeans related to the the configured 
datasource, I don't see any issue with the data source files.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211374#4211374

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211374
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-19 Thread vickyk
anonymous wrote : Caused by: javax.resource.ResourceException: invalid 
arguments in call
Some ConnectionProperties seems to be missing/wrong in the configuration file, 
this is my guess right now ;)
Are you using the same rar file that is attached at the following location or 
you have been trying to deploy some newer version of rar ?
http://www.jboss.org/community/docs/DOC-9035


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211377#4211377

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211377
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: MESSAGE DRIVEN BEAN USING mail-ra.rar STOPS WORKING

2009-02-19 Thread vickyk
Did you hear anything about this from the EJB3 forums?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211380#4211380

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211380
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-19 Thread vickyk
Caused by: oracle.jms.AQjmsException: invalid arguments in call
  | at 
oracle.jms.AQjmsDBConnMgr.checkForSecurityException(AQjmsDBConnMgr.java:926)
  | at oracle.jms.AQjmsDBConnMgr.getConnection(AQjmsDBConnMgr.java:605)
  | at oracle.jms.AQjmsDBConnMgr.init(AQjmsDBConnMgr.java:172)
  | at oracle.jms.AQjmsConnection.init(AQjmsConnection.java:163)
  | at 
oracle.jms.AQjmsQueueConnectionFactory.createQueueConnection(AQjmsQueueConnectionFactory.java:22
  | 9)
Some thing seems to be wrong over here, I think enabling the log info at the 
oracle related classes will help.
I have not tried it before but you can give it a try.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211390#4211390

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211390
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem in data source binding while server start

2009-02-19 Thread vickyk
Hello Sunil,

vickyk wrote : jars will be deployer before the datasource(-ds.xml)
  | 
I am wrong here ;(
The default setting are like this 
descriptors
  |  value 
value=250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,650:.ear,800:.bsh/
  |   /descriptors
Let us perform some of the troubleshooting activities.
Let us deploy the -ds.xml file only first and test if you are able to get this 
deployed properly, you should verify the deployment of the -ds.xml file through 
a simple jsp page.
This test will confirm if the -ds.xml file is getting deployed properly without 
deploying the jar.
Also let me know what this jar is doing, is this jar an EJB application?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211398#4211398

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-19 Thread vickyk
ryandavid wrote : 
  | I debugged the aqapi.jar class file and I discovered that it is called the 
method createConnection (the first method that doesn't take user/password 
parameters) of AQjmsQueueConnectionFactory class.
  | 
  | So the problem should be in classes of sun adapter.

The jca ConnectionManager should  call createManagedConnection(...) on 
MCF(ManagedConnectionFactory) with Subject and CRI as parameter
http://72.5.124.55/j2ee/apidocs-1_5-fr/javax/resource/spi/ManagedConnectionFactory.html#createManagedConnection(javax.security.auth.Subject,%20javax.resource.spi.ConnectionRequestInfo)

The MCF's createManagedConnection(..) should retrieve  the connection 
properties ie UserName/Password from the CRI(ConnectionRequestInfo) object.

I hope this helps you to dig the details further ;)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211407#4211407

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211407
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-19 Thread vickyk
ryandavid wrote : Indeed I have arrived to method createManagedConection as 
you wrote.
  | 
  | So, the username/password that I configured into the oracleaq-ds.xml file 
it should be found in ConnectionRequestInfo object ?
Ideally yes, have a look at the CRI implementation of jms ra for Jboss here 
http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/connector/src/main/org/jboss/resource/adapter/jms/JmsConnectionRequestInfo.java

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211534#4211534

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211534
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-19 Thread vickyk
ryandavid wrote : 
  | Anyway the other strange behaviour is that I cannot put the credentials 
into the oracleaq-ds.xml
What do you mean by this, I am unable to understand?
It is already placed in -ds.xml
anonymous wrote : config-property name=username 
type=java.lang.StringSCOTT/config-property
  | config-property name=password 
type=java.lang.String2brpq8n3/config-property

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211537#4211537

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem in data source binding while server start

2009-02-19 Thread vickyk
su...@jboss.org wrote : 
  | scheduler-service.xml looks for the Alerter class.
  | 
Can I see the contents of the scheduler-service.xml file?
I don't understand how this issue is related to the jca forums now ;(

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211539#4211539

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem in data source binding while server start

2009-02-19 Thread vickyk
Since the -ds.xml file gets converted into set of MBeans and it seems that the 
deployment of those generated MBeans and scheculer-service.xml are clashing.
why to make things complex?
You can encapsulate the scheduler service in the sar and later add this sar 
with the -ds.xml inside the EAR and use the strict deployment.
Another option I can think of defining the  tag with dependeny on the jboss.jca 
MBean in the schedular-services.xml.
To confirm the accurate working of things enable the trace logs for the 
deployers and verify the stuff ;)
I am sure the options that I have mentioned will work.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4211686#4211686

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Arjuna warnings

2009-02-11 Thread vickyk
Post this in an appropriate forums which is
http://www.jboss.org/index.html?module=bbop=viewforumf=240

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4209353#4209353

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4209353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re:

2009-02-08 Thread vickyk
http://www.jboss.org/community/docs/DOC-12685

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4208051#4208051

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4208051
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Deployment of a RAR in an EAR with an EJB-JAR

2009-02-05 Thread vickyk
You need to define the strict deployment as described here 
https://jira.jboss.org/jira/browse/JBAS-2904
This will deploy the jee modules in the order they have been defined in the 
application.xml and jboss-app.xml.
Another option would be to rely on the dependencies feature of services in the 
jboss which is explained over here
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#ch2.servicedep.fig

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4207226#4207226

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-03 Thread vickyk
rohit.macherla wrote :  the wrapped connection is open and the underlying 
connection is closed. 
  | 
Can you simulate this behaviour through a simple jsp page, you can attach the 
jsp and I can have look at it?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4206486#4206486

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206486
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: RA failing to invoke MDB method (on 5.0.0, worked on 4.2

2009-02-03 Thread vickyk
Can you post the stuff at EJB forums?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4206521#4206521

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206521
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Jboss4.2.2 hang up after tx rollback

2009-02-03 Thread vickyk
This does not appear to me as the JCA related issue, try posting at the EJB 
forums.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4206489#4206489

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206489
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-01-26 Thread vickyk
anonymous wrote : But in the next invocations of the :
  | ds.getConnection()
  | I receive the following statements: 

This is not clear, what exactly you are doing after closing the wrapped 
connection?
Can you explain the code in detail, I don't want to guess/assume things here?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4204622#4204622

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4204622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Can I disable CachedConnectionManagerMBean

2009-01-26 Thread vickyk
I should be able to help you more if I can see the code that simulated the 
issue.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4204624#4204624

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4204624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: TxConnectionManager error IllegalMonitorStateException

2009-01-26 Thread vickyk
anonymous wrote : Note that we are using trans atrribute NOT_SUPPORTED because 
we want the procedure to control the transaction. 
Actually the transaction can never be controlled by the procedure as they are 
either controlled through the connection objects or by container. 

You could be hitting this jira
https://jira.jboss.org/jira/browse/JBAS-5801
Can you port the application to the Jboss4.3 series and see if you still hit 
the same error?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4204626#4204626

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4204626
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   4   5   >