Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can't create DeliveryBean when call bpel from jsp

589557Nov 9 2007 — edited Dec 22 2007
Can't create DeliveryBean when call bpel from jsp

/*** code ********************************/
Properties props = new java.util.Properties();
java.net.URL url = ClassLoader.getSystemResource("context.properties");
props.load(url.openStream());
Locator locator = new Locator(domain, "bpel", props);
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
NormalizedMessage nm = new NormalizedMessage();
String convId = GUIDGenerator.generateGUID();
nm.setProperty(NormalizedMessage.CONVERSATION_ID, convId);
nm.addPart("payload", xml);
NormalizedMessage res = deliveryService.request(processID,operationName, nm);
/*** code ********************************/

This code works well in java , but when I use it in jsp on tomcat server,
the following exception ocured:


Can not create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: Name ejb is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279) at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53) at workflow.bpel.BpelProcessHelper.invokeSyncBpel(BpelProcessHelper.java:54) at


Will anyone to tell me where "ejb/collaxa/system/DeliveryBean" bean is?
Which jar file is this class in ?

Thanks

Comments

Satishbabu Gunukula
See links

http://www.ardentperf.com/2007/02/28/rac-listener-best-practices/
http://cs.felk.cvut.cz/10gr2/install.102/b25414/rac_cfg.htm#i1033049

Hope this should help.

Regards
Click here to see [Connect by nocycle query gives wrong results|http://www.oracleracexpert.com/2009/08/connect-by-nocycle-query-wrong-results.html]
Click here to learn [Upgrade 8i to 10g|http://www.oracleracexpert.com/2009/08/upgrade-oracle-8i-to-10g.html]
http://www.oracleracexpert.com
RTunitn
Satishbabu Gunukula wrote:
See links

http://www.ardentperf.com/2007/02/28/rac-listener-best-practices/
http://cs.felk.cvut.cz/10gr2/install.102/b25414/rac_cfg.htm#i1033049

Hope this should help.

Regards
Click here to see [Connect by nocycle query gives wrong results|http://www.oracleracexpert.com/2009/08/connect-by-nocycle-query-wrong-results.html]
Click here to learn [Upgrade 8i to 10g|http://www.oracleracexpert.com/2009/08/upgrade-oracle-8i-to-10g.html]
http://www.oracleracexpert.com
Thank you Satishbabu,
but your link points to 10.2 installation.

On 10.2 and also on 11.1 I've been able to create two different listener, listening on different ports and make two databases register with only one listener:

listener_a, port 1521 -> db A register with it
listener_b port 1522 -> db B register with it

So, I can define firewall ACL to grant access on listener_a (db A) and/or listener_b (db B).

On RAC 11.2 things are quite different: clients access the db through scan listener:

sqlplus scott/tiger@cluster-scan:1521/servicename

For a brief explanation see:
http://www.oracle.com/technology/products/database/clustering/pdf/scan.pdf
http://download.oracle.com/docs/cd/E11882_01/rac.112/e10717/intro.htm#BABDIHAD

It seem that I could not add different scan listener on different port on the same subnet, so I can't define any acl.
A client that have access to port 1521 could specify the servicename of db_a or db_b...

I tried also to modify the standard scan listener to add a second port, but it's not supported.

Regards
R.
RTunitn
Solved.
See

http://sites.google.com/site/connectassysdba/oracle-rac-11-2-multiple-listener

Cheers
Roberto
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 19 2008
Added on Nov 9 2007
1 comment
888 views