| Summary | CORBA process within Tomcat can not get "RootPOA" object. |
|---|---|
| Article Number | 15420 |
| Environment | Orbix 5.x Orbix 6.x |
| Question/Problem Description | CORBA process within Tomcat can not get "RootPOA" object. How to initialize an Orbix ORB properly inside a Servlet of a JSP? |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | Orbix ORB initialization requires different parameters to be passed during the ORB.init() call. Some of these arguments are passed as properties, while others are passed as a string array. In a strait java program, these arguments are passed thorough the command line as the main "args". However, since this can not be done in case of servlets or JSPs, it is the programmer's responsibility to pass the appropriate values of these arguments, either by hardcoding them in the code, or by reading these parameters through JAVA properties. Bellow is an example how to pass such arguments directly inside the code:
|
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 06 September 2011 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 23 June 2012 |
| First Published date: | 10 September 2011 |
#KnowledgeDocs
#Orbix




