Naming Exception: Name not found for local interface in 8.1

Hi,
I am trying to use local interfaces for my ejbs to call from my web application
as both are running on the same server. I am migrating from 6.1 to 8.1 and with
6.1, I was using the remote interfaces. Now, I am planning to use local interfaces
from my web application, which is deployed as part of an EAR which has my ejbs
also.
Here is my ejb-jar.xml:
<session>
     <ejb-name>TestService</ejb-name>
     <local-home>com.test.ejb.home.PrefsServiceHome</local-home>
     <local>com.test.ejb.TestService</local>
     <ejb-class>com.test.ejb.impl.PrefsServiceBean</ejb-class>
     <session-type>Stateless</session-type>
     <transaction-type>Bean</transaction-type>
     <resource-ref>
     <res-ref-name>jdbc/DataSource</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
     </resource-ref>
</session>
and my weblogic.xml looks like:
<weblogic-enterprise-bean>
<ejb-name>TestService</ejb-name>
<stateless-session-descriptor>
<pool>
     <max-beans-in-free-pool>20</max-beans-in-free-pool>
     <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/DataSource</res-ref-name>
<jndi-name>jdbc.DataSource</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>ejb.PrefsService</jndi-name>
</weblogic-enterprise-bean>
I used the following code to get home interface:
InitialContext initCtx = new InitialContext();
Object objRef=null;
objRef=initCtx.lookup("java:comp/env/ejb/TestService");
return (EJBLocalHome)(objRef);
I tried several combination for lookup.. but none of them worked. When i tried
testing this particular ejb from administration console, I got "The EJB TestService
has not been tested succesfully" message.
lookup names I used:
java:comp/env/ejb/TestService:not found
java:comp/env/ejb/TestServiceHome:not found
java:comp/env/ejb/ejb.TestServiceHome:not found
java:comp/env/ejb/ejb.TestService:not found
java:comp/env/ejb.TestServiceHome:not found
java:comp/env/ejb.TestService:not found
java:comp/env/TestServiceHome:not found
java:comp/env/TestService:not found
ejb.TestService:not found
TestService:not found
Please let me know... where I am going wrong..
Thanks
Raj

There's 2 ways to lookup local EJBs
1) Specify an ejb-link in your ejb-jar.xml. Specify an ejb-link in your
web.xml and lookup java:/comp/env/<link-name>
2) Specify a <local-jndi-name> in your weblogic-ejb-jar.xml and lookup
that name.
-- Rob
Raj wrote:
Hi,
I am trying to use local interfaces for my ejbs to call from my web application
as both are running on the same server. I am migrating from 6.1 to 8.1 and with
6.1, I was using the remote interfaces. Now, I am planning to use local interfaces
from my web application, which is deployed as part of an EAR which has my ejbs
also.
Here is my ejb-jar.xml:
<session>
     <ejb-name>TestService</ejb-name>
     <local-home>com.test.ejb.home.PrefsServiceHome</local-home>
     <local>com.test.ejb.TestService</local>
     <ejb-class>com.test.ejb.impl.PrefsServiceBean</ejb-class>
     <session-type>Stateless</session-type>
     <transaction-type>Bean</transaction-type>
     <resource-ref>
     <res-ref-name>jdbc/DataSource</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
     </resource-ref>
</session>
and my weblogic.xml looks like:
<weblogic-enterprise-bean>
<ejb-name>TestService</ejb-name>
<stateless-session-descriptor>
<pool>
     <max-beans-in-free-pool>20</max-beans-in-free-pool>
     <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/DataSource</res-ref-name>
<jndi-name>jdbc.DataSource</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>ejb.PrefsService</jndi-name>
</weblogic-enterprise-bean>
I used the following code to get home interface:
InitialContext initCtx = new InitialContext();
Object objRef=null;
objRef=initCtx.lookup("java:comp/env/ejb/TestService");
return (EJBLocalHome)(objRef);
I tried several combination for lookup.. but none of them worked. When i tried
testing this particular ejb from administration console, I got "The EJB TestService
has not been tested succesfully" message.
lookup names I used:
java:comp/env/ejb/TestService:not found
java:comp/env/ejb/TestServiceHome:not found
java:comp/env/ejb/ejb.TestServiceHome:not found
java:comp/env/ejb/ejb.TestService:not found
java:comp/env/ejb.TestServiceHome:not found
java:comp/env/ejb.TestService:not found
java:comp/env/TestServiceHome:not found
java:comp/env/TestService:not found
ejb.TestService:not found
TestService:not found
Please let me know... where I am going wrong..
Thanks
Raj

Similar Messages

  • Struts javax.naming.NameNotFoundException: name not found

    Hi.
    I'm developing a my first struts web application an I'm getting: javax.naming.NameNotFoundException: control_seguros not found
    This is my META -INF/context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/control_seguros">
    <Resource auth="Container" driverClassName="org.postgresql.Driver" name="jdbc/control_seguros" password="seguros" type="javax.sql.DataSource" url="jdbc:postgresql://localhost/control_seguros" username="seguros"/>
    </Context>
    web.xml
    <resource-ref>
    <description>Conexión Base de Datos</description>
    <res-ref-name>jdbc/control_seguros</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    action code
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    // Look up our data source
    DataSource ds = (DataSource) envCtx.lookup("jdbc/control_seguros");
    // Allocate and use a connection from the pool
    Connection conn = ds.getConnection();
    conn.close();
    How can i solve this? I'm using Glassfish v3 prelude. One more thing: i'm not sure if it's relevant, but i create meta-inf folder and content.xml manually. I'd like to know how the application determinates that the database connection settings are in this xml.

    1. To use local interfaces in Glassfish your client & bean must be in same EAR or EJB module.
    2. @Sateless(name=) it's only the name of bean and in fact the bean interface is stored under different name then processPayment, it can be something like
    packege.className.
    3. I assume that you can't use EJB annotation is servlet.
    4. If indeed you need to use lookup, you need perform following steps (only in Glassfish context).
    a) if you are in same EAR as servlet use in web.xml resource ref like in following eg.
        <ejb-local-ref>
            <ejb-ref-name>Custom name, this name you will use in WAR</ejb-ref-name> <!---->
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home/> <!-- Beans are homeles ->
            <local>eu.softper.aleksandra.ewidencje.book.BookLocal</local> <!-- Your's bean local interface -->
            <ejb-link>Your bean name - here</ejb-link>
        </ejb-local-ref>b)if outside EAR you need to use server specific deployment, if server allows to pass local ref outside application. Glassfish does not.

  • Receiver determination not found for one interface

    Hi,
    I am receiving the message via SOAP and then sending to SAP as IDOC.
    The communication is party o partyless communication.
    I have configured 2 receiver determination for the same sender and receiver but with 2 different interfaces.
    When i test the scenario via SOAP tool only one gets  executed and the second one neither throws an error nor getting executed.
    I think i have a error in the configuration that i did for the 2nd interface since i am using the 1st receiver determination which has been created already ?
    but in the Quick Test tool and Test tool in ID both the receiver determination is working fine.please provide the inputs
    Thanks in advance,
    Rgds,
    Vasanth.

    Hi All,
    Thanks for all of your replies.
    I have activated all the objects and checked it again once.
    As i said earlier the sender and receiver are same and that's why i have been pushed to create 2 receiver determinations for the same file(not IDOC as i said above) to be dropped in to two different locations.
    Also the configuration is party in sender to partyless in receiver.
    To give a clear explantion:
    All the objetcs are activated and works fine when i test in the test tool in ID by specifying the inetrface and namespace.
    Sender1 - Int1 - sap1.com - SA - RD - ID - RA -Receiver1  = working fine when tested by ID test tool
    Sender1 - Int2 - sap2.com -SA- RD - ID - RA Receiver2  = working fine  when tested by ID test tool
    RD = Receiver determination / SA = Sender Agreement
    It is not working when i send the same file thru SOAP client tool and only one receiver determination is working and another is not.
    Any idea ?
    Thanks,
    RGds,
    Vasanth.
    Message was edited by:
            Vasanthakumar Balasubramani
    Message was edited by:
            Vasanthakumar Balasubramani

  • Transaction name not found

    Hello,
    I have a question about the message "NAME NOT FOUND" on the transaction tab in SOLAR01 and SOLAR02.
    Right now the system role points to our dev box and the blueprint was loaded into the blueprint area via a third party tool - intellicorp. The transactions loaded fine. However the name does not appear in the transaction fiedl for the transaction name. We get NAME NOT FOUND for the most part. To get the name for the transactions it apears we have to connect each transaction one at a  time to the dev box and which automatically pulls the name in.
    Is there a way to pull the name in by doing it for the entire project?
    regards
    dan

    Daniel - "Name not found" is typically a result of not having a Sandbox attached to Solution Manager while initially scoping your project. The Transactions Tab does not have a SBX from which to pull the Transaction name.
    Once the SBX is connected to Solution Manager, try following the menupath Environment >> Update System Component Texts from either SOLAR01 or SOLAR02.
    A background job will run which should update the names of the transactions. Again, you must have a SBX/DEV system connected for this to work.
    Hope this helps.
    Brad

  • Reg: Exception (ALT NOT FOUND) in the fun.module CS_BOM_EXPL_MAT_V2

    Hi Experts,
    I called the fun. module CS_BOM_EXPL_MAT_V2 in SE38.
    While executing the function module, it is giving output for some types of material like (TP0331-).
    But it is raising the exception ALT NOT FOUND for some types of material like 'TB1000-'
    But for all types of material, it is giving correct output in SE37.
    I gave the input parameter's,
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
    EXPORTING
       CAPID                       = 'PP01'
       DATUV                       = sy-datum
       EMENG                       = '1'
       MKTLS                       = 'X'
       MEHRS                       = 'X'
       MTNRV                       = 'TB1000-'
       STLAL                       = '1'
       STLAN                       = '1'
       SVWVO                       = 'X'
       WERKS                       = '0010'
       VRSVO                       = 'X'
      TABLES
        stb                         = it_stpox
    EXCEPTIONS
       ALT_NOT_FOUND               = 1
       CALL_INVALID                = 2
       MATERIAL_NOT_FOUND          = 3
       MISSING_AUTHORIZATION       = 4
       NO_BOM_FOUND                = 5
       NO_PLANT_DATA               = 6
       NO_SUITABLE_BOM_FOUND       = 7
       CONVERSION_ERROR            = 8
       OTHERS                      = 9
    Can you please suggest me, why for the particular types of material, these function module is executing correctly in SE37 not in SE38.
    Whether i need to give some more inputs in SE38.
    Please guide me,
    Thanks in advance,
    Vijay.R

    hi,
    i have done the code like this,
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
    EXPORTING
    CAPID = 'PP01'
    DATUV = sy-datum
    EMENG = '1'
    MKTLS = 'X'
    MEHRS = 'X'
    MTNRV = 'TB1000-'
    STLAL = '01'  """" i have changed the value as 01 instead of 1.
    STLAN = '1'
    SVWVO = 'X'
    WERKS = '0010'
    VRSVO = 'X'
    TABLES
    stb = it_stpox
    EXCEPTIONS
    ALT_NOT_FOUND = 1
    CALL_INVALID = 2
    MATERIAL_NOT_FOUND = 3
    MISSING_AUTHORIZATION = 4
    NO_BOM_FOUND = 5
    NO_PLANT_DATA = 6
    NO_SUITABLE_BOM_FOUND = 7
    CONVERSION_ERROR = 8
    OTHERS = 9
    it is a small problem..
    whether u need any more information..
    please let me know.. still it is not working means,
    paste your code.. i will check
    regards
    vijay

  • Renderer not found for renderable class Exception

    Hi,
    I'm getting this exception on a handheld device with OS Windows Mobile 5 and browser PIE.  I've also tried to change the protocol between the server and client by adding the ?sap-wd-client=HtmlClient parameter to the end of my URL, however, it doesn't render my pull down selections properly.  any suggestions?
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Renderer not found for the renderable class com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.HorizontalGutterAdapter
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.sendHtml(PieClient.java:929)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.fillDynamicTemplateContext(PieClient.java:386)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.sendResponse(PieClient.java:1067)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.retrieveData(PieClient.java:224)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:752)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: com.sap.tc.webdynpro.clientserver.renderer.RendererNotFoundException: Renderer not found for the renderable class com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.HorizontalGutterAdapter
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.RenderManager.getRendererClass(RenderManager.java:119)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.createRenderer(AbstractRenderManager.java:287)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.getRenderer(AbstractRenderManager.java:271)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.getRenderer(AbstractRenderManager.java:254)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:334)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:328)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:247)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:200)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.GridLayoutRenderer.render(GridLayoutRenderer.java:71)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:339)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:104)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.ScrollContainerRenderer.render(ScrollContainerRenderer.java:51)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:339)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.pie.UiWindowRenderer.render(UiWindowRenderer.java:26)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:339)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:118)
         at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.PieClient.sendHtml(PieClient.java:921)
         ... 31 more

    I know of the protocols to set by the client for the server to render applications: WmlClient, PieClient, Pie03Client, Nokia08Client, XmlClient, HtmlClient.    What would the parameter be for standard IE 6.0 or 7.0 browsers?

  • SetID not found for name='BUSINESS_UNIT', value='' with record 'BI_DISC_SUR

    Hi
    While entering identifier in Discount/Sub charge page it giving following error:
    SetID not found for name='BUSINESS_UNIT', value='' with record 'BI_DISC_SUR', tree ''. (2,214) FUNCLIB_CA.RENEWAL.FieldFormula Name:SelectDiscountSurcharge PCPC:12887 Statement:186
    Called from:CA_RNW_CYCLE_PNG.GBL.CA_RNW_LN_REDUC.DISC_SUR_ID.FieldChange Statement:9
    The PeopleCode built-in function GetSetID has been called with parameters that were
    not found in the table set definitions.
    Review the table set control tables and the PeopleCode and correct whichever is wrong.
    Please help me to solve this issue.
    Thanks
    Mani

    did you check if your business unit (setcontrolvalue) is setup with record group BI_04, and it has a default setid associated.

  • Field not found for column exception

    Hi,
    I have a MBO using SAP RFC so i made changes on RFC added a newfield. Then i recreated MBO but im getting ":Field not found for column " Runtime exception. Anyone has faced some problem ?
    Thanks in Advance.

    Thanks guys!
    I wasn't able to restart the relay server, because I think I have insufficient rights, but I told the admin to do so.
    My MBOs contain new attributes and when I click on "Preview" to check the connection it works fetching the data. Anyway, I will not have to time to fix this issue now. I guess restarting the relay server makes most sense to me.

  • [JCA] ManagedConnectionFactory not found for jndiName SNMPConnectionFactory

    I tried to deploy and use my JCA Adapter in weblogic (6.1 and 8 versions).
    final Context context = getNamingContext();
    Object object = context.lookup(SNMPConnectionFactory.class.getName());
    if (object instanceof Reference)
    object = NamingManager.getObjectInstance(object, null, context,
    null);
    But always have error:
    There was 1 error:
    1) testJNDIConnection(com.mediation.snmpcisco.SNMPTest)javax.resource.spi.ApplicationServerInternalException: Managed Connection Factory not found for jndiName com.mediation.jca.snmp.SNMPConnectionFactory
         at weblogic.connector.common.internal.ConnectionPoolManager.createConnectionFactory(ConnectionPoolManager.java:123)
         at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:28)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
         at com.mediation.snmpcisco.SNMPTest.testJNDIConnection(SNMPTest.java:88)
         at com.mediation.snmpcisco.SNMPTest.main(SNMPTest.java:50)ra.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
    <connector>
         <display-name>SNMP JCA Adapter</display-name>
         <description>...</description>
         <vendor-name>...</vendor-name>
         <spec-version>1.0</spec-version>
         <eis-type>SNMP</eis-type>
         <version>1.0</version>
         <resourceadapter>
              <managedconnectionfactory-class>com.mediation.jca.snmp.SNMPManagedConnectionFactory</managedconnectionfactory-class>
              <connectionfactory-interface>com.mediation.jca.snmp.SNMPConnectionFactory</connectionfactory-interface>
              <connectionfactory-impl-class>com.mediation.jca.snmp.SNMPConnectionFactoryImpl</connectionfactory-impl-class>
              <connection-interface>com.mediation.jca.snmp.SNMPConnection</connection-interface>
              <connection-impl-class>com.mediation.jca.snmp.SNMPConnectionImpl</connection-impl-class>
         </resourceadapter>
    </connector>weblogic-ra.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-connection-factory-dd>
         <connection-factory-name>com.mediation.jca.snmp.SNMPManagedConnectionFactory</connection-factory-name>
         <jndi-name>com.mediation.jca.snmp.SNMPConnectionFactory</jndi-name>
         <pool-params>
              <initial-capacity>0</initial-capacity>
              <max-capacity>1</max-capacity>
              <capacity-increment>1</capacity-increment>
              <shrinking-enabled>false</shrinking-enabled>
              <shrink-period-minutes>200</shrink-period-minutes>
         </pool-params>
         <logging-enabled>true</logging-enabled>
         <log-filename>nc-jca-snmp</log-filename>
         <security-principal-map/>
    </weblogic-connection-factory-dd>Where is error? ConnectionFactory Reference normally stored in JNDI. But lookup provides exception :(

    I tried to deploy and use my JCA Adapter in weblogic (6.1 and 8 versions).
    final Context context = getNamingContext();
    Object object = context.lookup(SNMPConnectionFactory.class.getName());
    if (object instanceof Reference)
    object = NamingManager.getObjectInstance(object, null, context,
    null);
    But always have error:
    There was 1 error:
    1) testJNDIConnection(com.mediation.snmpcisco.SNMPTest)javax.resource.spi.ApplicationServerInternalException: Managed Connection Factory not found for jndiName com.mediation.jca.snmp.SNMPConnectionFactory
         at weblogic.connector.common.internal.ConnectionPoolManager.createConnectionFactory(ConnectionPoolManager.java:123)
         at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:28)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
         at com.mediation.snmpcisco.SNMPTest.testJNDIConnection(SNMPTest.java:88)
         at com.mediation.snmpcisco.SNMPTest.main(SNMPTest.java:50)ra.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
    <connector>
         <display-name>SNMP JCA Adapter</display-name>
         <description>...</description>
         <vendor-name>...</vendor-name>
         <spec-version>1.0</spec-version>
         <eis-type>SNMP</eis-type>
         <version>1.0</version>
         <resourceadapter>
              <managedconnectionfactory-class>com.mediation.jca.snmp.SNMPManagedConnectionFactory</managedconnectionfactory-class>
              <connectionfactory-interface>com.mediation.jca.snmp.SNMPConnectionFactory</connectionfactory-interface>
              <connectionfactory-impl-class>com.mediation.jca.snmp.SNMPConnectionFactoryImpl</connectionfactory-impl-class>
              <connection-interface>com.mediation.jca.snmp.SNMPConnection</connection-interface>
              <connection-impl-class>com.mediation.jca.snmp.SNMPConnectionImpl</connection-impl-class>
         </resourceadapter>
    </connector>weblogic-ra.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-connection-factory-dd>
         <connection-factory-name>com.mediation.jca.snmp.SNMPManagedConnectionFactory</connection-factory-name>
         <jndi-name>com.mediation.jca.snmp.SNMPConnectionFactory</jndi-name>
         <pool-params>
              <initial-capacity>0</initial-capacity>
              <max-capacity>1</max-capacity>
              <capacity-increment>1</capacity-increment>
              <shrinking-enabled>false</shrinking-enabled>
              <shrink-period-minutes>200</shrink-period-minutes>
         </pool-params>
         <logging-enabled>true</logging-enabled>
         <log-filename>nc-jca-snmp</log-filename>
         <security-principal-map/>
    </weblogic-connection-factory-dd>Where is error? ConnectionFactory Reference normally stored in JNDI. But lookup provides exception :(

  • "XML File not found for the Container DataBindings.cpx" error after deploy

    Hello,
    I have a problem with my JSP-Javaproject. Local works all fine but when i deploy my project to a Oracle Aplication Server i allway get this XML-File-Not-found exception:
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container DataBindings.cpx
    In my EAR-File the DataBindings.cpx is at:
    \WEB-INF\classes\
    My JSP-File:
    <jbo:ApplicationModule id="AippackageModule" definition="DataBindings.DataModule" releasemode="Stateful" />
    My web.xml:
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>DataBindings</param-value>
    </context-param>
    My DataBindings.cpx:
    <?xml version='1.0' encoding='windows-1252' ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application" id="DataBindings"
    Package="" ClientType="Generic">
    <pageMap>
    </pageMap>
    <pageDefinitionUsages>
    <page id="eonerrorPageDef"
    path="de.avacon.ahb.system.tools.pageDefs.eonerrorPageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    <BC4JDataControl Configuration="AppModuleLocal"
    Package="model.data"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="DataModule">
    <Parameters/>
    </BC4JDataControl>
    </dataControlUsages>
    </Application>
    What can i do?
    Thanks, steve

    Adding the dependency in the ViewController fixed this for me.
    I'm using two AppModules in the controller and the second one wasn't being picked up.
    I was able to fix this by:
    Go to the Project Properties, select Dependencies, edit the Dependent Projects and Archives, find the model that's failing and add a tick in the Build Output box.
    The model should now be picked up in the ViewController's DataBindings.cpx source file, though I did have to restart JDev for this to be picked up.
    HTH
    Phil

  • AIP-50143:  Transaction Instance Not found for Transaction Id

    Hey Guys,
    We have configured a Custom Document Exchange over Generic protocol to transfer a file.
    1. Internal delivery channel is 'SFTP' - Picks file
    2. External delivery channel is 'SFTP' - Puts file
    3. Exchange protocol - Custom document over generic
    4. Translation enabled - False (Currently its turned off, but the file is xml so we may want to turn it on)
    5. Validation enabled - False
    We are encountering below error in B2B while processing. Can someone please help with this.
    Thanks,
    Phani
    010.02.05 at 18:41:41:672: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:setDocumentPlugin PickReqRev 1.0
    2010.02.05 at 18:41:41:672: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:setDocumentPlugin info : Cremul version D96A
    2010.02.05 at 18:41:41:672: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:setDocumentPlugin info : EDIPHARM version 1.0
    2010.02.05 at 18:41:41:672: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:setDocumentPlugin info : PickReqRev version 1.0
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:setExchangePlugin Generic version 1.0
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:setExchangePlugin info : Genericversion 1.0
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage translated payload =
    oracle.tip.adapter.b2b.message.MessageStorage@140fee
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage msg.isSignalMsg() = false
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Call Outgoing Response Processor
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Response:Response:outgoingResponse Enter
    2010.02.05 at 18:41:41:673: Thread-26: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Response:Response:outgoingResponse Update the Request-Response Table Row for RefertoRequestMessageID with message state Processing Outgoing Response
    2010.02.05 at 18:41:41:676: Thread-26: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.02.05 at 18:41:41:677: Thread-26: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessTransactionInstance
    2010.02.05 at 18:41:41:693: Thread-26: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessTransactionInstance
    2010.02.05 at 18:41:41:694: Thread-26: B2B - (ERROR) Error -: AIP-50143: Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.collaboration.B2BWFEventManager.handleException(B2BWFEventManager.java:478)
         at oracle.tip.adapter.b2b.collaboration.CollabCatalogAccessor.getTransactionInstance(CollabCatalogAccessor.java:364)
         at oracle.tip.adapter.b2b.collaboration.CollabCatalogAccessor.setTransactionState(CollabCatalogAccessor.java:283)
         at oracle.tip.adapter.b2b.collaboration.CollaborationManager.setTransactionState(CollaborationManager.java:871)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateReqRespState(DbAccess.java:3249)
         at oracle.tip.adapter.b2b.msgproc.Response.outgoingResponse(Response.java:905)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1170)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.sftp.SFTPProcessor.processMessage(SFTPProcessor.java:188)
         at oracle.tip.transport.basic.sftp.SFTPMonitor.processMessage(SFTPMonitor.java:351)
         at oracle.tip.transport.basic.sftp.SFTPMonitor.run(SFTPMonitor.java:304)
    2010.02.05 at 18:41:42:001: Thread-26: B2B - (DEBUG) Engine:notifyApp Enter
    2010.02.05 at 18:41:42:014: Thread-26: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>0A140A0E126A1276F45000001AD6B570</b2bMessageId>
    <errorCode>AIP-50014</errorCode>
    <errorText>General Error</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (fcgemappdev04)
    Description: General Error
    StackTrace:
    Error -:  AIP-50014:  General Error: Error -:  AIP-50025:  Repository error : Error -:  AIP-50025:  Repository error : Error -:  AIP-50143:  Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1213)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.sftp.SFTPProcessor.processMessage(SFTPProcessor.java:188)
         at oracle.tip.transport.basic.sftp.SFTPMonitor.processMessage(SFTPMonitor.java:351)
         at oracle.tip.transport.basic.sftp.SFTPMonitor.run(SFTPMonitor.java:304)
    Caused by: Error -:  AIP-50025:  Repository error : Error -:  AIP-50025:  Repository error : Error -:  AIP-50143:  Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateReqRespState(DbAccess.java:3252)
         at oracle.tip.adapter.b2b.msgproc.Response.outgoingResponse(Response.java:905)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1170)
         ... 4 more
    Caused by: Error -:  AIP-50025:  Repository error : Error -:  AIP-50143:  Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.collaboration.CollaborationManager.setTransactionState(CollaborationManager.java:874)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateReqRespState(DbAccess.java:3249)
         ... 6 more
    Caused by: Error -:  AIP-50143:  Transaction Instance Not found for Transaction Id "null"
         at oracle.tip.adapter.b2b.collaboration.B2BWFEventManager.handleException(B2BWFEventManager.java:478)
         at oracle.tip.adapter.b2b.collaboration.CollabCatalogAccessor.getTransactionInstance(CollabCatalogAccessor.java:364)
         at oracle.tip.adapter.b2b.collaboration.CollabCatalogAccessor.setTransactionState(CollabCatalogAccessor.java:283)
         at oracle.tip.adapter.b2b.collaboration.CollaborationManager.setTransactionState(CollaborationManager.java:871)
         ... 7 more
      ]]>

    Hi Phani,
    What is the naming convention you are using at IDC? If you are sending the response to your TP, then make sure to send ReplyToMsgId as part of file name. If it is not a response, then send MessageType as 1 as part of file name.
    For file naming convention required, please refer -
    http://www.oracle.com/technology/products/integration/b2b/pdf/B2B_TN_010_Transport_File_FTP_Internal.pdf
    Regards,
    Anuj

  • Message-driven bean destination name not found error

    Hi,
    I am getting this error when I attempt to deploy the Warehouse message-driven bean example/tutorial. I followed the steps in the JMS Queue Simple Sample Application included with the server to set up the queue and queue factory, but I don't think the app. is even getting that far. I can not figure out why I'm get this error. I have looked at everything I can think of, but I'm obviously missing something. Here is the error from the server log.
    INFO ( 2252): JMS5015: Install JMS resources ...
    INFO ( 2252): JMS5002: Binding [< JMS Destination: jms/WarehouseQueue, javax.jms.Queue, [ imqDestinationName=WarehouseQueue ] >]
    INFO ( 2252): JMS5002: Binding [< JMS Connection Factory: jms/WarehouseQueueConnectionFactory, javax.jms.QueueConnectionFactory, [ imqBrokerHostName=localhost , imqBrokerHostPort=7676 ] >]
    INFO ( 2252): HTTP3072: HTTP listener http-listener-1 [http://ibankdev2:80] ready to accept requests
    INFO ( 2252): CORE3274: successful server startup
    INFO ( 2252): CORE5053: Application onReady complete.
    INFO ( 2252): MDB00044: Deploying message-driven bean [MDBApp:Warehouse], consuming from [jms/Warehouse]
    SEVERE ( 2252): MDB00015: [MDBApp:Warehouse]: Message-driven bean destination name [jms/Warehouse] not found
    SEVERE ( 2252): javax.naming.NameNotFoundException
    javax.naming.NameNotFoundException: Warehouse not found
    at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:185)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:157)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:161)
    at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:78)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProviderImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:375)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
    at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:96)
    at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:237)
    at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:279)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lookup(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:138)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sun.ejb.containers.MessageBeanHelperBase.setup(MessageBeanHelperBase.java:317)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:206)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:173)
    at com.iplanet.ias.server.AbstractLoader.loadEjbs(AbstractLoader.java:345)
    at com.iplanet.ias.server.ApplicationLoader.load(ApplicationLoader.java:81)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:134)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:110)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:294)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:424)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:408)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:291)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:99)
    at com.iplanet.ias.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    SEVERE ( 2252): MDB00030: [MDBApp:Warehouse]: Exception in setting up message-driven bean container: [MDBApp:Warehouse: Message-driven bean destination jms/Warehouse not found]
    SEVERE ( 2252): MDB00017: [Warehouse]: Exception in creating message-driven bean container: [javax.jms.JMSException: MDBApp:Warehouse: Message-driven bean destination jms/Warehouse not found]
    SEVERE ( 2252): javax.jms.JMSException
    javax.jms.JMSException: MDBApp:Warehouse: Message-driven bean destination jms/Warehouse not found
    at com.sun.ejb.containers.MessageBeanHelperBase.setup(MessageBeanHelperBase.java:340)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:206)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:173)
    at com.iplanet.ias.server.AbstractLoader.loadEjbs(AbstractLoader.java:345)
    at com.iplanet.ias.server.ApplicationLoader.load(ApplicationLoader.java:81)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:134)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:110)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:294)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:424)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:408)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:291)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:99)
    at com.iplanet.ias.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    SEVERE ( 2252): EJB5090: Exception in creating EJB container [javax.jms.JMSException: MDBApp:Warehouse: Message-driven bean destination jms/Warehouse not found]
    SEVERE ( 2252): appId=MDBApp moduleName=EJBModule_Warehouse_jar ejbName=Warehouse
    SEVERE ( 2252): LDR5004: UnExpected error occured while creating ejb container
    javax.jms.JMSException: MDBApp:Warehouse: Message-driven bean destination jms/Warehouse not found
    at com.sun.ejb.containers.MessageBeanHelperBase.setup(MessageBeanHelperBase.java:340)
    at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:206)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:173)
    at com.iplanet.ias.server.AbstractLoader.loadEjbs(AbstractLoader.java:345)
    at com.iplanet.ias.server.ApplicationLoader.load(ApplicationLoader.java:81)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:134)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:110)
    at com.iplanet.ias.server.ApplicationManager.applicationDeployed(ApplicationManager.java:294)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:424)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:408)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:291)
    at com.iplanet.ias.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:99)
    at com.iplanet.ias.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    WARNING ( 2252): CORE5021: Application NOT loaded: [MDBApp]
    WARNING ( 2252): ADM5603:Event listener error [Error while deploying application [MDBApp]. Please refer to the server log for more details. ]
    My bean name is Warehouse, jms/Warehouse is the JNDI and is mapped to MDBPack.WarehouseBean.class. MDBPack is in the classpath on the server. I guessed that the physical destination name was WarehouseQueue, but using Warehouse produced the same result. Please let me know if there is anything I could be missing. TIA
    --Michelle                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    You have not created the jms destination queue object
    jms/Warehouse
    Your server logs says it cannot find the destination queue object.It has got nothing to do with jndi name of your bean
    Create jms destination queue object using
    asadmin>create-jms-resource instance <instance_name> resourcetype javax.jms.Queue --property imqDestinationName=<NAme>  jms/Warehouse
    Then use list-jms-resources <instance_name> to
    find if jms/Warehouse destionation queue object has been created.
    Get back in case of any issues

  • Javax.naming.NameNotFoundException: SessionEJBBean not found

    Please help I am getting error: javax.naming.NameNotFoundException: SessionEJBBean not found.
    I am using JDeveloper 10g as editor.
    The embedded server is running, SessionEJBBean is also there. I have restarted the computer, changed 'SessionEJB' from 'SessionEJBBean'. Yet No success. This is what I get.:
    javax.naming.NameNotFoundException: SessionEJBBean not found
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at friends.SessionEJBClient.main(SessionEJBClient.java:11)
    Process exited with exit code 0.
    SessionEJBClient.java
    package friends;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class SessionEJBClient {
    public static void main(String [] args) {
    try {
    final Context context = getInitialContext();
    SessionEJB sessionEJB = (SessionEJB)context.lookup("SessionEJBBean");
    } catch (Exception ex) {
    ex.printStackTrace();
    private static Context getInitialContext() throws NamingException {
    // Get InitialContext for Embedded OC4J
    // The embedded server must be running for lookups to succeed.
    return new InitialContext();
    }Thank you.

    Thanks Karma-9 for your reply. My issue has got resolved as I followed this link:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/ejb_30.htm
    However I have now new problem in hand, when I am trying to insert data in database
    using JSP. I am having problem with request.getParameter(). It is not
    recognised by JSP. A red underline is being shown below
    request.getParameter(). One more thing, in JSP page, if I take cursor over
    'request' in request.getParameter, it shows, 'Name request not found'. When
    I take cursor over 'getParameter' in request.getParameter, it shows, 'Method
    getParameter (java.lang.String) not found in<unknown>'.
    This is my code:
    MyPage.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="java.sql.*, javax.naming.Context,
    javax.naming.InitialContext, javax.naming.NamingException,
    friendspackage.*, java.text.*, java.util.*"%>
    <%!
    public void jspInit () {
    String name, city;
    name = request.getParameter("name");
    city = request.getParameter("city");
    try {
    final Context context = getInitialContext();
    SessionFriends sessionFriends =
    (SessionFriends)context.lookup("SessionFriends");
    sessionFriends.addFriends("name","city");
    //System.out.println( "Success" );
    } catch (Exception ex) {
    ex.printStackTrace();
    private static Context getInitialContext() throws NamingException {
    // Get InitialContext for Embedded OC4J
    // The embedded server must be running for lookups to succeed.
    return new InitialContext();
    %>MyPage.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=windows-1252"></meta>
    <title>My Friends</title>
    </head>
    <body>
    <form name="MyFriends" action="MyFriends.jsp" method="post">
    Name:
    <input type="text" name="name">
    City:
    <input type="text" name="city">
    <input type="submit" value="Submit">
    </form>
    </body>
    </html>Please let me know if I have to make any changes in web.xml which is:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    </web-app>Thank you again.
    Anurag

  • Javax.naming.NameNotFoundException: UserBeanRef not found

    Can someone help me out ?
    I am still new using Sun Application Server provided with J2EE 1.4 SDK and accessing Oracle.
    I am getting "javax.naming.NameNotFoundException: UserBeanRef not found"
    This is taken from the ejb-jar.xml of my enterpise bean jar file
    <ejb-local-ref>
    <ejb-ref-name>UserBeanRef</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>LocalUserHome</local-home>
    <local>LocalUser</local>
    <ejb-link>UserBean</ejb-link>
    </ejb-local-ref>
    ... and this is the code I am using to invoke (trying actually) the bean
    InitialContext ic = new InitialContext();
    Object o = ic.lookup("UserBeanRef");
    LocalUserHome home = (LocalUserHome) o;
    user = home.findByPrimaryKey(username);
    I can't understand what's wrong with this ?? any suggestions please

    use the following code for the lookup:
    Object o = ic.lookup("java:comp/env/UserBeanRef");

  • [unixODBC][Driver Manager]Data source name not found, and no default driver

    Hi,
    I'm running
    Red Hat Linux 5, MySQL and BOXI 3.1
    I try and schedule a report in the CMC and the report fails with the error
    A database error occured. The database error text is: {Driver Manager} Data source name not found, and no default driver specified. (WIS 10901)
    I've went through the steps in the Bus Obj's Documentation outlining how to install the unixODBC (though this doco was for R2 - I'm not certain whether this install is needed for 3.1).  
    Error WIS 10901 details
    Database error: . Contact your administrator or database supplier+
    for more information. (WIS 10901)
                  The database that provides the data to this document has generated an error.
    Cause
                  Details about the error are provided in the section of the message indicated
                  +by the field code: .
                  Contact your BusinessObjects administrator with the error message
    Action
                  information or consult the documentation provided by the supplier of the
                  database.
    Any pointers suggestions on how to set up correctly the unixODBC will be looked into.
    Thanks for taking the time to view this post.
    Cheers

    Hi again Aravind,
    I hope you're not beginning to wish you had never answered that first question from me since it seems as if I'm now backing up the truck with regard to the entire question. If I'm asking too much from you let me know I don't wanna overstep the line with repect to what should and shouln't be asked in these forums'
    anyway I looked in that env.sh script. It was huge (pity I can't attach the file, I've appended it but it makes these threads somewhat lengthy)
    DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
        export DEFAULT_ODBCFILE
        +ODBC_HOME="$odbc"+
        export ODBC_HOME
    also
      # setup the mysql env variables
        if [ -d "$BOBJEDIR"/mysql ]; then
                # mysql env variables
    set up the odbc symlink to work around:*
    The DataDirect SQL Server ODBC driver on UNIX will not function properly under a*
    locale other than "en_US" due to strong dependencies on their locale files.*
                MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
                export MYSQL_UNIX_PORT
        We want to be able to source the config file multiple times.
    fi
    if [ -d "$BOBJEDIR"/tomcat ]; then
    set the JAVA_OPTS for tomcat
    I see what you were referring to earlier with
    if [ -d "$ODBC_HOME/locale" ]; then
          the javascript files are kept here
    The machine name
    The user name
    MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`The default registry
          if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
            ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
          fi
        fi
    Again cheers for your help in this matter.
    #!/bin/sh
    BOBJEDIR="/home/eberwick/BO_3_1/bobje/"
    export BOBJEDIR
    BODIR="`dirname $BOBJEDIR`/"
    export BODIR
    DEFAULTFILE="$
    check for existence of u flag, if it is there, turn it off.
    Set a flag so we don't source the environment more than once
    webi config file
    ccm.config"
    if [ -f "$DEFAULTFILE" ]; then
        . "$DEFAULTFILE"
    fi
    . "${BOBJEDIR?}setup/modify_ko_locale.sh"
    SOFTWARE=`uname -s`
    OBJECT_MODEL=`grep Platform $BODIR/setup/ProductID.txt | awk '{print $4;}'`
    [ -z "$OBJECT_MODEL" ] && OBJECT_MODEL=32
    SOFTWAREPATH=`grep SoftwarePath $BODIR/setup/ProductID.txt | awk '{print $3;}'`
    U_FLAG=0
    if [ X"$SOFTWARE" = "XHP-UX" ]; then
    unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
    raise the ulimits to max allowed
    undo that bug workaround from above
    figure out what architecture we're on
    now that we're localized, deal with unknown architecture
    we include English, as localization may have failed
    set the JDK variable
        if [ x`echo $- | grep "u"` != "x" ]; then
            set +u
            U_FLAG=1
        fi
    fi
    if [ x"$BOBJE_ENV_SOURCED" = x ]; then
        if [ -f "$setup/boconfig.cfg" ]; then
        HKEY_LOCAL_MACHINE="$setup/boconfig.cfg"
            export HKEY_LOCAL_MACHINE
        fi
        BOBJE_ENV_SOURCED="true"
        export BOBJE_ENV_SOURCED
        BOBJEVERSION="12.0"
        export BOBJEVERSION
        LANGWAS="$LANG"
        unset LANG
        LC_ALLWAS="$LC_ALL"
        unset LC_ALL
        ulimit -Sn `ulimit -Hn` # max file descriptors
        ulimit -S -c `ulimit -H -c` # max core file size
        ulimit -S -d `ulimit -H -d` # max data segment size
        ulimit -S -f `ulimit -H -f` # max file size
        ulimit -S -s `ulimit -H -s` # max stack
        ulimit -S -t `ulimit -H -t` # max CPU time
        LANG="$LANGWAS"; export LANG
        unset LANGWAS
        LC_ALL="$LC_ALLWAS"; export LC_ALL
        unset LC_ALLWAS
        case X"$SOFTWARE" in
            XLinux) SOFTWARELC="linux"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12" ;;
            XAIX)   SOFTWARELC="aix"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX=".12.0${SHAREDLIBSUFFIX?}"; CB1SYMLINKLIBSUFFIX=".12${SHAREDLIBSUFFIX?}";;
            XSunOS) SOFTWARELC="solaris"; SHAREDLIBSUFFIX=".so"; CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0"; CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
            XHP-UX)
                    SOFTWARELC="hpux";
                    if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
                            SHAREDLIBSUFFIX=".so";
                    else
                            SHAREDLIBSUFFIX=".sl";
                    fi
                    CB1LIBSUFFIX="${SHAREDLIBSUFFIX?}.12.0";
                    CB1SYMLINKLIBSUFFIX="${SHAREDLIBSUFFIX?}.12";;
        esac
        export SOFTWAREPATH
        export SOFTWARE
        export SHAREDLIBSUFFIX
        export CB1LIBSUFFIX
        export CB1SYMLINKLIBSUFFIX
        if [ "$SOFTWAREPATH" = "" ]; then
            echo "$UNKNOWNPLATFORM (unknown platform): $SOFTWARE"
            exit 1
        fi
        if [ -d "$BOBJEDIR"/jdk ]; then
          JAVA_HOME="$jdk"
          export JAVA_HOME
        fi
          JAVA_OPTS="-d$OBJECT_MODEL -Dbobj.enterprise.home=$
    fi
    setting AAHOME here so when CAD starts the value is set
    enterprise120 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=false"
          if [ "$SOFTWARE" = "AIX" -o "$SOFTWARE" = "SunOS" -o "$SOFTWARE" = "Linux" -o "$SOFTWARE" = "HP-UX" ]; then
            JAVA_OPTS="$JAVA_OPTS -Xmx1024m -XX:MaxPermSize=256m"
          fi
          export JAVA_OPTS
        if [ -d "$Dashboard_Analytics_120" ]; then
            AAHOME="$Dashboard_Analytics_120"
            export AAHOME
        fi
        WCSDIR="$enterprise120/$SOFTWAREPATH/wcs/"
        export WCSDIR
        WCSBINDIR="$bin/"
        export WCSBINDIR
        WCSCOMPONENTDIR="$components/"
        export WCSCOMPONENTDIR
        BINDIR="$enterprise120/$SOFTWAREPATH/"
        export BINDIR
        LIBDIR="$enterprise120/$SOFTWAREPATH/"
        export LIBDIR
        PLUGINDIR="$enterprise120/packages/"
        export PLUGINDIR
        PLUGINDIST="$enterprise120/$SOFTWAREPATH/plugins/"
        export PLUGINDIST
        LOGDIR="$append the new valuelogging/"
        export LOGDIR
        if [ x"$BOE_LOGGER_ENVIRONMENT" = x ]; then
            BOE_LOGGER_ENVIRONMENT="-loggingPath $LOGDIR"
        else
            BOE_LOGGER_ENVIRONMENT="$BOE_LOGGER_ENVIRONMENT -loggingPath $LOGDIR"
        fi
        export BOE_LOGGER_ENVIRONMENT
        SCRIPTDIR="$enterprise120/generic/"
        export SCRIPTDIR
        JAVASCRIPTDIR="$setup/jscripts/"
        export JAVASCRIPTDIR
        MACHINENAME=`uname -n`
        export MACHINENAME
        removeUTF8SpecificsForKorean
        STRIPPEDMACHINENAME=`hostname | sed -e 's/\..*//'`
        export STRIPPEDMACHINENAME
        if [ x"$BOBJEUSERNAME" = x ]; then
          BOBJEUSERNAME=`id | sed -e "s|).\$||" -e "s|^.(||" `
          export BOBJEUSERNAME
        fi
        restoreUTF8SpecificsForKorean
        DEFAULT_REGFILE="$BOBJEDIR"setup/.defaultreg
        export DEFAULT_REGFILE
        REGFILE="$BOBJEDIR"data/.bobj
        export REGFILE
        BOE_REGISTRYHOME="$REGFILE/registry"
        export BOE_REGISTRYHOME
        DEFAULT_ODBCFILE="$BOBJEDIR"defaultodbc.ini
        export DEFAULT_ODBCFILE
        ODBC_HOME="$odbc"
        export ODBC_HOME
    the PID file location
        PIDDIR="$BOBJEDIR"serverpids
        export PIDDIR
        SQLRULEDIRECTORY="$LIBDIR"
        export SQLRULEDIRECTORY
        PATH="$BINDIR:$crpe/xvfb:$PATH"
        export PATH
        CRPEPATH="$enterprise120/$SOFTWAREPATH/crpe/"
        export CRPEPATH
        MWHOME="$mw/"
        export MWHOME
        BOBJEXVFBPATH="$xvfb/"
        export BOBJEXVFBPATH
        MWUSER_DIRECTORY="$once the crpe is in, we should exit if this file doesn't exist.
    Uncomment this to turn off Xvfb security and allow connections from
    everyone. 
    MW_XVFB_AC="1"
    export MW_XVFB_AC
    Use a seperate .Xauthority file.  Comment out this line if you want
    to use the user's .Xauthority file for storing the Xvfb authentication
    tokens.
    registry/"
        export MWUSER_DIRECTORY
        MWRT_MODE="professional"
        export MWRT_MODE
        MWREGISTRY=":$MWUSER_DIRECTORY/hklm_$
    Mainwin can deadlock unless this is set
    Prevents Mainwin from popping up dialogs in some situations, causing a deadlock
    variables merged from RAS
    XVFB Manager
    Environment Variables:
          MW_XVFB_EXE         = Name of the Xvfb exe.
                                Default is 'Xvfb'.
          MW_XVFB_DAEMON      = Name of the XvfbDaemon exe.
                                Default is 'XvfbDaemon'.
          MW_XVFB_DAEMON_PORT = Port number that Xvfb Daemon will listen too.
                                Default is 5222.
          MW_XVFB_DAEMON_HOST = Host on which the XvfbDeamon is running.
                                Default is Local host.
          MW_XVFB_DAEMON_XVFB = Number of Xvfb to run.
                                Default is '5'.
          MW_XVFB_DAEMON_DISPLAY = Starting display number for Xvfb.
                                Default is '1'.
          MW_XVFB_DAEMON_PROFILE = Path to the Security Profile for Xvfb.
                                Default is 'SecurityProfile'.
          MW_XVFB_DAEMON_TRACE = Set to turn on tracing information.
                                Default is undefined.
          MW_XVFB_DAEMON_DIE  = Turn off the exit code if no more connections.
                                Default is undefined.
          MW_XVFB_FONT = Locations from which to load font
    By this symbol being defined, the checking for a current set display is disabled.
    Set to turn on tracing info when defined.  Default is undefined.
    MW_XVFB_DAEMON_TRACE=defined
    export MW_XVFB_DAEMON_TRACE
    RAS Home
    .bin"
        export MWREGISTRY
        MWCORE_PRIVATE_DATA="$MWUSER_DIRECTORY/core_data"
        export MWCORE_PRIVATE_DATA
        if [ -f "$MWHOME"setmwruntime ]; then
            . "$MWHOME"setmwruntime
        fi
        MWNT_OLE_DOCS=true
        export MWNT_OLE_DOCS
        MWPRINTER_DPI=600
        export MWPRINTER_DPI
        MWVISUAL_CLASS="TrueColor"
        export MWVISUAL_CLASS
        if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
            MWTHREAD_STACK="200000"
        else
            MWTHREAD_STACK="FA000"
        fi
        export MWTHREAD_STACK
        MWFONT_DIR_PATH="$fonts/"
        export MWFONT_DIR_PATH
        MW_XVFB_DAEMON_FONT="$misc/"
        export MW_XVFB_DAEMON_FONT
        XAUTHORITY="$xvfb/.Xauthority"
        export XAUTHORITY
        MWDEBUG_LEVEL=0
        export MWDEBUG_LEVEL
        MWINVISIBLE_DISPLAY=1
        export MWINVISIBLE_DISPLAY
       MWNO_SIGCHLD_IGNORE=1
       export MWNO_SIGCHLD_IGNORE
       MWLOOK=motif
       export MWLOOK
            MW_XVFB_DAEMON_PROFILE="$BOBJEXVFBPATH/SecurityPolicy"
            export MW_XVFB_DAEMON_PROFILE
            MW_XVFB_DAEMON_IGNORE_DISPLAY="true"
            export MW_XVFB_DAEMON_IGNORE_DISPLAY
            if [ "$SOFTWARE" = "HP-UX" ]; then
                MW_XVFB_DAEMON_XVFB=10
            else
                MW_XVFB_DAEMON_XVFB=5
            fi
            export MW_XVFB_DAEMON_XVFB
            MWNO_FILE_LOCKING=true
            export MWNO_FILE_LOCKING
            MWNO_SIGNAL_CATCHING=true
            export MWNO_SIGNAL_CATCHING
        RASHOME="$enterprise120/$SOFTWAREPATH/ras/"
        export RASHOME
        LIBRARYPATH="$LIBDIR:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:$enterprise120/$SOFTWAREPATH/crpe:$:$PLUGINDIST/desktop/CrystalEnterprise.Report:$enterprise120/$SOFTWAREPATH/ras:$
    May optionally be set to MALLOCMULTIHEAP=heaps:n[,considersize]
    where n is scaled to the number of CPUs (usually 2x).
    Setting to MALLOCMULTIHEAP=1 enables system defaults.
    setting MALLOCMULTIHEAP to 'considersize' fixes an AIX memory leak and significantly reduces the memory footprint.
    env variable to fix the default cpu affinity
    env variable to fix dlopen/dlclose behaviour to be more like ELF-based systems
    aix thread stack overflow guarding : won't catch if overflow is more than 4k, but better than nothing
    aix specific ulimit changes
    unset the LANG so that we don't get the localized version of 'unlimited' if the localized system messages are installed.
    undo that bug workaround from above
    set the aix thread scope to system (1:1)
    better core naming for aix 5
    Check if memory windows is enabled in the kernal parameters
    We will support memory windows, either through the "BOE120_HP_MEMWIN_ID" environment variable,
    or through the "BusinessObjectsEnterprise120" memory window key in /etc/services.window
    Use memory windows if available on HP-UX.
    For both HPUX Itanium and PA-RISC
    Reduce the number of arenas from 8 (default) to 1 (min) which solves memory blowup issue.
    Enable the thread local cache to compensate.
    http://www.docs.hp.com/en/B2355-60130/malloc.3C.html
    mysql/lib"
        if [ "$SOFTWARE" = "AIX" ]; then
            LIBPATH="$LIBRARYPATH:$LIBPATH"
            export LIBPATH
            if [ x"$MALLOCMULTIHEAP" = x ]; then
                CRConfig env variable for DCP
                MALLOCMULTIHEAP="considersize"
                export MALLOCMULTIHEAP
            fi
            RT_GRQ=ON
            export RT_GRQ
            LDR_CNTRL=IGNOREUNLOAD
            export LDR_CNTRL
            AIXTHREAD_GUARDPAGES=1
            export AIXTHREAD_GUARDPAGES
            LANGWAS="$LANG"
            unset LANG
            LC_ALLWAS="$LC_ALL"
            unset LC_ALL
            ulimit -S -m `ulimit -H -m` # max memory
            LANG="$LANGWAS"; export LANG
            unset LANGWAS
            LC_ALL="$LC_ALLWAS"; export LC_ALL
            unset LC_ALLWAS
            AIXTHREAD_SCOPE="S"
            export AIXTHREAD_SCOPE
            Version=`uname -v`
            Release=`uname -r`
            if [ "$Version" -gt 4 ]; then
                CORE_NAMING=ON
                export CORE_NAMING
            fi
            AIXTHREAD_MUTEX_DEBUG=OFF
            export AIXTHREAD_MUTEX_DEBUG
            AIXTHREAD_COND_DEBUG=OFF
            export AIXTHREAD_COND_DEBUG
            AIXTHREAD_RWLOCK_DEBUG=OFF
            export AIXTHREAD_RWLOCK_DEBUG
        elif [ "$SOFTWARE" = "HP-UX" ]; then
            if [ "$SOFTWAREPATH" = "hpux_ia64" ]; then
                SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/IA64W.0/server"
            else
                SHLIB_PATH="$LIBRARYPATH:$SHLIB_PATH:$JAVA_HOME/jre/lib/PA_RISC2.0/server"
            fi
            export SHLIB_PATH
            MAX_MEM_WINDOW=`/usr/sbin/kctune | grep max_mem_window | awk '{print $2}'`
            if [[ "$MAX_MEM_WINDOW" != "0" ]]; then
                if [[ "$BOE120_HP_MEMWIN_ID" = "" && -r "/etc/services.window" && -x "/usr/bin/getmemwindow" ]]; then
                  BOE120_HP_MEMWIN_ID="`/usr/bin/getmemwindow BusinessObjectsEnterprise120`"
                  export BOE120_HP_MEMWIN_ID
                fi
                if [[ -x "/usr/bin/setmemwindow" ]]; then
                    if [[ "$BOE120_HP_MEMWIN_ID" != "" ]]; then
                        CE_CMDLINE_PREFIX="/usr/bin/setmemwindow -f -i $BOE120_HP_MEMWIN_ID "
                    fi
                fi
                export CE_CMDLINE_PREFIX
            fi
            export MARENA_OPTS=1:8
            export MCACHE_OPTS=100:8:0
        elif [ "$SOFTWARE" = "Linux" ]; then
            LD_LIBRARY_PATH="$LIBRARYPATH:$perl/lib/5.8.0/i386-linux-thread-multi/CORE:$LD_LIBRARY_PATH"
            export LD_LIBRARY_PATH
        else
            LD_LIBRARY_PATH="$LIBRARYPATH:$LD_LIBRARY_PATH"
            export LD_LIBRARY_PATH
        fi
        CRCONFIGFILE="$java/CRConfig.xml"
        if [ -f "$CRCONFIGFILE" ]; then
          CRConfig11="$CRCONFIGFILE"   
          export CRConfig11
        fi
        if [ -d "$ODBC_HOME/locale" ]; then
    set up the odbc symlink to work around:
    The DataDirect SQL Server ODBC driver on UNIX will not function properly under a
    locale other than "en_US" due to strong dependencies on their locale files.
          MYLOCALE=`locale | grep LC_MESSAGES | sed -e 's|LC_MESSAGES="||g' -e 's|"$||g'`
          if [ ! -d "$ODBC_HOME/locale/$MYLOCALE" ]; then
            ln -s "$ODBC_HOME/locale/en_US" "$ODBC_HOME/locale/$MYLOCALE"
          fi
        fi
    This was originally called TMPDIR, but now MainWin supports MW_TMPDIR, so we export MW_TMPDIR
    ADAPT00506764 tracks the original issue with TMPDIR/Essbase Connectivity
    MySQL now sets its TMPDIR in mysqlstartup.sh
    set the tmp dir locally, if the value is not already set.
        if [ x"$MW_TMPDIR" = x ]; then
          if [ ! -d "$BOBJEDIR"/tmp ]; then
            mkdir -p "$BOBJEDIR"/tmp
          fi
          MW_TMPDIR="$BOBJEDIR"/tmp
          export MW_TMPDIR
        fi
    Comment this out to turn off custom Solaris memory allocator
        if [ "$SOFTWAREPATH" = "solaris_sparc" ]; then
            LD_PRELOAD="libhoard.so.1"
            export LD_PRELOAD
    Need to set up 64-bit specific library path so that 64-bit processes will
    preload the 64-bit version of the memory allocator, and not the 32-bit version
            LD_LIBRARY_PATH_64="$enterprise120/solaris_sparcv9"
            export LD_LIBRARY_PATH_64
        fi
    setup the mysql env variables
        if [ -d "$BOBJEDIR"/mysql ]; then
    mysql env variables
                MYSQL_UNIX_PORT="$BOBJEDIR"mysql/mysql.sock
                export MYSQL_UNIX_PORT
        fi
    call env.sh from sub-directories (presumably from add-on installs)
        for dir in "${BOBJEDIR?}/setup"/*
        do
            if [ -r "${dir?}/env.sh" ]; then
                . "${dir?}/env.sh"
            fi
        done
    fi
    if [ X"$SOFTWARE" = "XHP-UX" ]; then
    check for existence of u_flag, if it is, turn it back on.
        if [ "$U_FLAG" = 1 ]; then
            set -u
        fi
    fi

Maybe you are looking for