on 05-02-2006 10:35 PM
I now see this in the logviewer -
Transaction rolled back for meesage 44564b42-a8be-05fd-e100-0000a3f331a4(INBOUND) due to: local bean not found: localejbs/sap.com/com.gy.jms.RemoveSpecialCharacters/RemoveCharactersBean
However, I do see under Services => EJB Container =>sap.com/com.gy.jms.RemoveSpecialCharacters => RemoveCharactersBeans
deployed successfully
In my adapter, I have the following settings
1
Module Name -localejbs/sap.com/com.gy.jms.RemoveSpecialCharacters/RemoveCharactersBean
Local Enterprise Bean
Module Key - create
Module config
Module key - create
Parameter name - parameter
Parameter value - value
From this blog,/people/alessandro.guarneri/blog/2006/03/16/xi-mapping-module-for-afw
Hint. Remember to set up also the JNDI name in your ejb-j2ee-engine.xml, which must match the name you'll use to invoke the module from a communication channel.
I added JNDI name as RemoveCharactersBean
Any more ideas?
Appreciate any thoughts on this.
Thank you
If you added JNDI name as
>> I added JNDI name as RemoveCharactersBean
i.e. if you open ejb-j2ee-engine.xml in a text editor you should see following entry in it
<jndi-name>RemoveCharactersBean</jndi-name>
In this case you can specify the Module name as
localejbs/RemoveCharactersBean
You can check the same in JNDI registry in Visual administrator.
Rgds,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All,
I worked with my XI admin who showed me what there on VA. Under
XI0\Server X\Services\Deploy, I see
/sap.com/com.gy.jms.RemoveSpecialCharacters/RemoveCharactersBean
And I see my entry in localejbs.
Under ejb-j2ee-engine.xml, I created Cust_EJB/RemoveCharactersBean for JNDI name which shows up in JNDI Registry (VA)
In my config, I have
1 localejbs/Cust_EJB/RemoveCharactersBean Local Enterprise Bean create
And looks like Cust_EJB reads the path /sap.com/com.gy.jms.RemoveSpecialCharacters
I closely followed this example which works
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean XML2Plain
And in JNDI registry I see /AF_Modules/MessageTransformBean
Where AF_Modules, resolves the path /sap.com/..../
I'm getting this error in Message display tool...
2006-05-03 10:38:47 Error Exception caught by adapter framework: Exception thrown in method process. The transaction is marked for rollback.
2006-05-03 10:38:47 Error Delivery of the message to the application using connection AFW failed, due to: Exception thrown in method process. The transaction is marked for rollback
Have had issues with deploying EJBs and facing issues of this kind. Please let me know how did you go about resolving this.
Thank you.
> 2006-05-03 10:38:47 Error Exception caught by adapter
> framework: <b>Exception thrown in method process</b>. The
> transaction is marked for rollback.
It seems that your bean is used, but inside your been an exception is thrown.
You should add a text to the exception to see what happend in your bean.
Regards
Stefan
Just check the Spelling/Typo errors of the Module Created. Also check for , is the module is deployed correctly without any errors(While deploying)
Thanks,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>-localejbs/sap.com/com.gy.jms.RemoveSpecialCharacters/RemoveCharactersBean
you can see the path in deploy service in VA
if you add JNDI name you can try
localejbs/RemoveCharactersBean
but just have a look in VA as I said and you all know for sure or ask any java colleague to show you
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.