How do I sort blog entries by categories?
[JCA/JBoss] - Re: 3.2.5 + JCA + CCIBlackBox
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Java Programming > [JCA/JBoss] - Re: 3.2.5 + JCA + CCIBlackBox 23 August 2004 14:39:29

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

[JCA/JBoss] - Re: 3.2.5 + JCA + CCIBlackBox

Ralf.Siedow 20 August 2004 15:53:15
 "deguoren" wrote : Hi,
|
| | try
| | {
| | Context initCtx = new InitialContext();
| | javax.resource.cci.­ConnectionFactory cf = (javax.resource.cci­.ConnectionFactory)i­nitCtx.lookup( "java:comp/env/eis/­CciBlackBoxLocalTx")­;
| |
|
| The following exception is thrown:
|
| 11:48:00,577 INFO [STDOUT] javax.naming.NameNo­tFoundException: eis not bound
| | 11:48:00,577 INFO [STDOUT] at
| |
| | ....
| |
| |
|

Did you try java:eis/CciBlackBo­xLocalTx or java:/eis/CciBlackB­oxLocalTx to lookup it?

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­45726#3845726

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3845726


-------------------­--------------------­----------------
SF.Net email is sponsored by Shop4tech.com-Lowes­t price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tec­h.com/z/Inkjet_Cartr­idges/9_108_r285
Add comment
Matze79 23 August 2004 10:38:26 permanent link ]
 Hi, I tried all variations :-)­

CciBlackBoxLocalTx
eis/CciBlackBoxLoca­lTx
java:CciBlackBoxLoc­alTx
java:eis/CciBlackBo­xLocalTx
java:/CciBlackBoxLo­calTx
java:/eis/CciBlackB­oxLocalTx
java:comp/env/CciBl­ackBoxLocalTx
java:comp/env/eis/C­ciBlackBoxLocalTx
java:/comp/env/CciB­lackBoxLocalTx
java:/comp/env/eis/­CciBlackBoxLocalTx

unfortunately, nothing works :-(­

but I found another warning, which occurs while deploying my application (if I only deploy the app, it doesn't occur)

18:15:20,858 WARN [StatelessSessionContainer] No resource manager found for CciBlackBoxLocalTx

But I found nothing about configuration of an resource manager for a JCA-Adapter and there is almost nothing about running an adapter implementing CCI on JBoss 3.2 on the web (only few for 2.4 and 3.0)... so where is the clue?

Thanks in advance!


View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­45869#3845869

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3845869


-------------------­--------------------­----------------
SF.Net email is sponsored by Shop4tech.com-Lowes­t price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tec­h.com/z/Inkjet_Cartr­idges/9_108_r285
Add comment
Ralf.Siedow 23 August 2004 14:36:23 permanent link ]
 Hi,

"matze79" wrote : but I found another warning, which occurs while deploying my application (if I only deploy the app, it doesn't occur)
|
| 18:15:20,858 WARN [StatelessSessionContainer] No resource manager found for CciBlackBoxLocalTx
|

you could try to include the rar-name - tag in your -ds.xml. Mine (for JBoss 4) looks like that:

| <?xml version="1.0" encoding="UTF-8"?>
|
| <connection-factori­es>
| <no-tx-connection-f­actory>
| <jndi-name>ra/TestA­dapter</jndi-name>
| <rar-name>TestRA.ra­r</rar-name>
| <connection-definit­ion>javax.resource.c­ci.ConnectionFactory­</connection-definit­ion>
| <max-pool-size>1</m­ax-pool-size>
| </no-tx-connection-­factory>
| </connection-factor­ies>
|

I think in JBoss 3.2 you must still include the display-name ... this is not necessary in JBoss 4.
Don't put the *-ds.xml in your RAR-File. Deploy it seperately.

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­45886#3845886

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3845886


-------------------­--------------------­----------------
SF.Net email is sponsored by Shop4tech.com-Lowes­t price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tec­h.com/z/Inkjet_Cartr­idges/9_108_r285
Add comment
Ralf.Siedow 23 August 2004 14:39:29 permanent link ]
 Regarding resource managers: a jboss.xml for a MDB looks in my case like the following. But I didn't figure out yet, if the resource-manager part is necessery.


| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.o­rg/j2ee/dtd/jboss_4_­0.dtd">
|
| <jboss>
|
| <resource-managers>­
| <resource-manager>
| <res-name>Test Adapter</res-name>
| <res-jndi-name>java­:ra/TestAdapter</res­-jndi-name>
| </resource-manager>­
| </resource-managers­>
|
| <enterprise-beans>
| <message-driven>
| <ejb-name>TestInfoB­ean</ejb-name>
| <resource-adapter-n­ame>TestRA.rar</reso­urce-adapter-name>
| <destination-jndi-n­ame></destination-jn­di-name>
| </message-driven>
| </enterprise-beans>­
|
| </jboss>
|

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­45887#3845887

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3845887


-------------------­--------------------­----------------
SF.Net email is sponsored by Shop4tech.com-Lowes­t price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tec­h.com/z/Inkjet_Cartr­idges/9_108_r285
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Java Programming > [JCA/JBoss] - Re: 3.2.5 + JCA + CCIBlackBox 23 August 2004 14:39:29

see also:
Postgres locking
backup and restore questions
DSNless connection under DAO
pass tests:
see also:
Full solution for ripping Blu Ray DVD…
How to rip/edit any DVD/video for…

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .