NameNotFound exception

I am using weblogic 4.5. My application deployment descriptor shows like this:
SessionDescriptor
beanHomeName com.mortgagefamily.web.projects.loanstatus.businessservices.RequestDoradoLoanStatusHome
My client code is like this:
Context ctx = getInitialContext();
RequestDoradoLoanStatusHome home = (RequestDoradoLoanStatusHome)
ctx.lookup("com.mortgagefamily.web.projects.loanstatus.businessservices.RequestDoradoLoanStatusHome");
But when I try to run my client to find the bean with the given JNDI name I get
the following error.
dammala(ldevapp01)> java DoradoLoanStatusClient
Started client application
got context
javax.naming.NameNotFoundException: 'com.mortgagefamily.web.projects.loanstatus.
businessservices.RequestDoradoLoanStatusHome'; Remaining Name: 'loanstatus.busin
essservices.RequestDoradoLoanStatusHome'
at java.lang.Throwable.fillInStackTrace(Native Method)
at weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44
at weblogic.jndi.WLContext_WLStub.lookup(WLContext_WLStub.java:192)
at weblogic.jndi.toolkit.WLContextStub.lookup(Compiled Code)
at javax.naming.InitialContext.lookup(InitialContext.java:280)
at DoradoLoanStatusClient.main(Compiled Code)

Goutam Mukherjee <> writes:
The issue you are seeing has to do with client initialization - which is a big and hairy topic I won't bore you with. The simplest way to get this working is to use the J2EE appliction client which will ensure proper initialization - including the comp entries.
weblogic.j2eeclient.Main
You will need a generated client jar as well I believe.
andy
Hi,
we need to write a context propagation code. I tried the same using the example from - http://e-docs.bea.com/wls/docs90/programming/context.html#1058673. I have written the web service and it is getting the jndi for java:comp/WorkContextMap OK from it's own initial context. However, when I am writing a standalone java client to use WorkContextMap from the client side by getting a initial context to the weblogic 9.2 server by setting the initial context factory and the provider url, it does not work. I also tried by using only "WorkContextMap" in place of "java:comp/WorkContextMap". but that does not work either. How can this be fixed?
Just to test, I also tried to doa look up of "java:comp/UserTransaction" from the standalone client and it did not work either. I tried with different types of the jndi string - like with and without java:comp.
Here is the client code snippet -
               Hashtable env = new Hashtable() ;
               env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
               env.put(Context.PROVIDER_URL, "t3://172.20.8.211:7001");
               InitialContext ctx = new InitialContext(env) ;
               logger.info("in testEchoService...InitialContext=" + ctx) ;
               WorkContextMap map = (WorkContextMap) ctx.lookup("java:comp/WorkContextMap") ;
               logger.info("in testEchoService...map=" + map) ;
Appreciate your help,
Thanks.

Similar Messages

  • Exception NameNotFound Exception

    HiWhen i run the clint i get this exception javax.naming.NameNotFoundException:'JNDInameofclient';remaining name 'JNDInameofclient' at weblogic.rmi.extensions.AbstractRequest.sendreceive(Abstractrequest.java:76)I am using WEBLOGIC 5.1 on win98Please help me to figure this out

    Are searching ejbhome?
    If yes, check your jndi-name of deployed ejb. It should match exactly.
    This is Namenotfound exception. It's just that name is matching within your
    context.
    sandip <[email protected]> wrote in message
    news:3a8924e9$[email protected]..
    HiWhen i run the clint i get this exceptionjavax.naming.NameNotFoundException:'JNDInameofclient';remaining name
    'JNDInameofclient' at
    weblogic.rmi.extensions.AbstractRequest.sendreceive(Abstractrequest.java:76)
    I am using WEBLOGIC 5.1 on win98Please help me to figure this out

  • Help please - JNDI NameNotFound exception

    I am running Sun's Java Application Server 8.1 PE
    <br><br>
    When I deploy my application, it gives me a NameNotFoundException: No object bound to name java:comp/env/jdbc/test:
    <br>
    [#|2005-04-06T12:58:26.300-0500|SEVERE|sun-appserver-pe8.0.0_01|org.springframework.web.context.ContextLoader|_ThreadID=13;|Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'targetDataSource' defined in ServletContext resource [WEB-INF/applicationContext-jdbc.xml]: Initialization of bean failed; nested exception is javax.naming.NameNotFoundException: No object bound to name java:comp/env/jdbc/test
    javax.naming.NameNotFoundException: No object bound to name java:comp/env/jdbc/test
         at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:665)
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:108)
    <br><br>
    I verified (using the Sun App Server Admin console) that the connection pool I have set up can be pinged, and I verified through the Sun Java Studio Creator application that the JNDI name associated with the JDBC connection is indeed jdbc/test.
    <br><br>
    Can anyone see what it is I may be doing wrong? If I add a JDBC Resource with a JNDI name of jdbc/test, then shouldn't the app server be able to find it at java:comp/env/jdbc/test?
    <br><br>
    Thanks!

    Probably, you need to configure the <resource-ref> tag in your deployment descriptors. :-)

  • NameNotFound exception by using javax.jts.UserTransaction

    Hello:
              I am working on using jts for the transaction access to a Oracle 7.3
              database.
              In the property file of my application, I used
              weblogic.jdbc.connectionPool.oraclePool=\
              url=jdbc:oracle:thin:@10.10.0.201:1521:orcl,\
              driver=oracle.jdbc.driver.OracleDriver,\
              loginDelaySecs=1,\
              initialCapacity=4,\
              maxCapacity=10,\
              capacityIncrement=2,\
              allowShrinking=true,\
              shrinkPeriodMins=15,\
              refreshMinutes=10,\
              testTable=dual,\
              props=user=joe;password=tiger
              weblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=guest
              weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              In my servlet, I used
              Context ctx = null;
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
              env.put(Context.PROVIDER_URL, "t3://127.0.0.1:8080");
              env.put(Context.SECURITY_PRINCIPAL, "system");
              env.put(Context.SECURITY_CREDENTIALS, "Administrator");
              ctx = new InitialContext(env);
              UserTransaction tx = (UserTransaction)
              ctx.lookup("javax.jts.UserTransaction");
              When I access the servlet, the following exception were thrown.
              javax.naming.NameNotFoundException: 'javax.jts.UserTransaction';
              remaining name 'jts.UserTransaction' at
              weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java,
              Compiled Code)at
              weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)at
              weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)at
              javax.naming.InitialContext.lookup(InitialContext.java:349) at
              jtsdemo.SelectAccessor.accessDatabase(SelectAccessor.java:20)at
              jtsdemo.SelectJTS.doPost(SelectJTS.java:29) at
              jtsdemo.SelectJTS.doGet(SelectJTS.java:12)
              When I open the weblogic console, in directory Naming, I could not find
              javax.jts.UserTransaction entry. However there is weblogic.jdbc.jts
              entry which is generated by the following line, which I put into the
              properties file.
              weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              Thank you for any thoughts.
              MSU
              [att1.html]
              

    Hello:
              Thank Kumar for a reply.
              I checked the document and able to follow it and use
              javax.sql.DataSource to get a jts connection and select from database.
              In the properties file of the weblogic application server,
              weblogic.jdbc.TXDataSource.jtsOraclePool=oraclePool
              Some questions follow.
              In this way, I could not get a handle to UserTransaction. I am
              wondering in case of database insertion, does this connection
              automatically commit for each execUpdate(), if I do not call
              conn.setAutoCommit(false)?
              If a programmer has to manage the transaction on the Connection,
              what is the advantage to use jts connection pool? Does this performed
              faster or internally it behaves the same?
              Look forward to any insight.
              MSU
              Kumar Allamraju wrote:
              > Michelle,
              >
              > see the correct usage here:
              > http://www.weblogic.com/docs50/classdocs/DataSource.html#998209
              >
              > -Kumar
              >
              > Michelle Sue wrote:
              >
              >> Hello, Kumar:
              >> Thank you for the information given.
              >> Now what I did is
              >> Properties p = new Properties();
              >> p.put(Context.INITIAL_CONTEXT_FACTORY,
              >> "weblogic.jndi.WLInitialContextFactory");
              >> Context ctx = new InitialContext(p);
              >> UserTransaction tx = (UserTransaction)
              >> ctx.lookup("javax.transaction.UserTransaction");
              >> try {
              >> tx.begin();
              >> Driver myDriver = (Driver)
              >> Class.forName("weblogic.jdbc.jts.Driver").newInstance();
              >> Properties props = new Properties();
              >> props.put("connectionPoolID", "oraclePool");
              >> conn = myDriver.connect("jdbc:weblogic:jts", props);
              >> Statement stmt = conn.createStatement();
              >>
              >> The new error is
              >> JTS JDBC Driver being called without a pool name
              >> at
              >> weblogic.jdbcbase.jts.Connection.openConnectionIfNecessary(Connection.java:569)
              >>
              >> at weblogic.jdbcbase.jts.Connection.createStatement
              >>
              >> I guess something wrong with the props.put("connectionPoolID",
              >> "oraclePool");
              >> In the properties file, it seems to me that the only line related to
              >> jts is
              >>
              >> weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.oraclePool=oraclePool
              >> oraclePool was also defined in this properties file as a
              >> weblogic.jdbc.connectionPool
              >>
              >> MSU
              >>
              >>
              >> Kumar Allamraju wrote:
              >>
              >> > Hi Michelle,
              >> >
              >> > The use of javax.jts.UserTransaction is deprecated in EJB 1.1
              >> > The correct package name is javax.transaction.UserTransaction.
              >> >
              >> > Remeber you shouldn't make any t3 connections from the server side
              >> > class.
              >> >
              >> > you can directly say context c = new InitialContext( )
              >> > Pls refer one of our examples directory.
              >> > for e.g weblogic/examples/ejb/basic/beanManaged/Servlet.java
              >> >
              >> > Hope this helps
              >> > -Kumar
              >> >
              >> >
              >> >
              >> > Michelle Sue wrote:
              >> >
              >> >> Hello:
              >> >> I am working on using jts for the transaction access to a
              >> >> Oracle 7.3 database.
              >> >> In the property file of my application, I used
              >> >>
              >> >> weblogic.jdbc.connectionPool.oraclePool=\
              >> >> url=jdbc:oracle:thin:@10.10.0.201:1521:orcl,\
              >> >> driver=oracle.jdbc.driver.OracleDriver,\
              >> >> loginDelaySecs=1,\
              >> >> initialCapacity=4,\
              >> >> maxCapacity=10,\
              >> >> capacityIncrement=2,\
              >> >> allowShrinking=true,\
              >> >> shrinkPeriodMins=15,\
              >> >> refreshMinutes=10,\
              >> >> testTable=dual,\
              >> >> props=user=joe;password=tiger
              >> >>
              >> >> eblogic.allow.reserve.weblogic.jdbc.connectionPool.oraclePool=guest
              >> >>
              >> >> weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              >> >>
              >> >>
              >> >> In my servlet, I used
              >> >> Context ctx = null;
              >> >> Hashtable env = new Hashtable();
              >> >>
              >> >> env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
              >> >>
              >> >> env.put(Context.PROVIDER_URL, "t3://127.0.0.1:8080");
              >> >> env.put(Context.SECURITY_PRINCIPAL, "system");
              >> >> env.put(Context.SECURITY_CREDENTIALS, "Administrator");
              >> >> ctx = new InitialContext(env);
              >> >> UserTransaction tx = (UserTransaction)
              >> >> ctx.lookup("javax.jts.UserTransaction");
              >> >>
              >> >> When I access the servlet, the following exception were thrown.
              >> >>
              >> >> javax.naming.NameNotFoundException: 'javax.jts.UserTransaction';
              >> >> remaining name 'jts.UserTransaction' at
              >> >> weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java,
              >> >> Compiled Code)at
              >> >> weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)at
              >> >> weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)at
              >> >> javax.naming.InitialContext.lookup(InitialContext.java:349) at
              >> >> jtsdemo.SelectAccessor.accessDatabase(SelectAccessor.java:20)at
              >> >> jtsdemo.SelectJTS.doPost(SelectJTS.java:29) at
              >> >> jtsdemo.SelectJTS.doGet(SelectJTS.java:12)
              >> >>
              >> >> When I open the weblogic console, in directory Naming, I could
              >> >> not find javax.jts.UserTransaction entry. However there is
              >> >> weblogic.jdbc.jts entry which is generated by the following line,
              >> >> which I put into the properties file.
              >> >> weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.jtsPool=oraclePool
              >> >>
              >> >> Thank you for any thoughts.
              >> >>
              >> >> MSU
              >> >>
              >> >>
              >> >
              [att1.html]
              

  • NameNotFound exception for java:comp/WorkContextMap

    Hi,
    we need to write a context propagation code. I tried the same using the example from - http://e-docs.bea.com/wls/docs90/programming/context.html#1058673. I have written the web service and it is getting the jndi for java:comp/WorkContextMap OK from it's own initial context. However, when I am writing a standalone java client to use WorkContextMap from the client side by getting a initial context to the weblogic 9.2 server by setting the initial context factory and the provider url, it does not work. I also tried by using only "WorkContextMap" in place of "java:comp/WorkContextMap". but that does not work either. How can this be fixed?
    Just to test, I also tried to doa look up of "java:comp/UserTransaction" from the standalone client and it did not work either. I tried with different types of the jndi string - like with and without java:comp.
    Here is the client code snippet -
                   Hashtable env = new Hashtable() ;
                   env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
                   env.put(Context.PROVIDER_URL, "t3://172.20.8.211:7001");
                   InitialContext ctx = new InitialContext(env) ;
                   logger.info("in testEchoService...InitialContext=" + ctx) ;
                   WorkContextMap map = (WorkContextMap) ctx.lookup("java:comp/WorkContextMap") ;
                   logger.info("in testEchoService...map=" + map) ;
    Appreciate your help,
    Thanks.

    Goutam Mukherjee <> writes:
    The issue you are seeing has to do with client initialization - which is a big and hairy topic I won't bore you with. The simplest way to get this working is to use the J2EE appliction client which will ensure proper initialization - including the comp entries.
    weblogic.j2eeclient.Main
    You will need a generated client jar as well I believe.
    andy
    Hi,
    we need to write a context propagation code. I tried the same using the example from - http://e-docs.bea.com/wls/docs90/programming/context.html#1058673. I have written the web service and it is getting the jndi for java:comp/WorkContextMap OK from it's own initial context. However, when I am writing a standalone java client to use WorkContextMap from the client side by getting a initial context to the weblogic 9.2 server by setting the initial context factory and the provider url, it does not work. I also tried by using only "WorkContextMap" in place of "java:comp/WorkContextMap". but that does not work either. How can this be fixed?
    Just to test, I also tried to doa look up of "java:comp/UserTransaction" from the standalone client and it did not work either. I tried with different types of the jndi string - like with and without java:comp.
    Here is the client code snippet -
                   Hashtable env = new Hashtable() ;
                   env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
                   env.put(Context.PROVIDER_URL, "t3://172.20.8.211:7001");
                   InitialContext ctx = new InitialContext(env) ;
                   logger.info("in testEchoService...InitialContext=" + ctx) ;
                   WorkContextMap map = (WorkContextMap) ctx.lookup("java:comp/WorkContextMap") ;
                   logger.info("in testEchoService...map=" + map) ;
    Appreciate your help,
    Thanks.

  • NameNotFound exceotion

    i am just copying exmaple from i have done as given in book
    but getting error while running client
    i used same ejb-jar and weblogic-jar.xml which is given in the book
    they have not use ejb-local-ref in xml file and use simple ejb name
    'FinancialNeedCalculator' and i am getting same error NameNotFound 'FinancialNeedCalculator' my aplication is StandAlone
    so help me

    Hi Dear,
    Basically NameNotFound Exception is comes due to deployment problem. There may be some problem in the DD so that your bean can not able to deploy.
    Please see your DD carefully and check at the time of server up that your bean is depoyed successfully or not.
    Regards

  • How to use JNDI lookup from a JSP

    Hello,
    I know I should not be doing this (writing the lookup code in a JSP) but have to do it for some reasons.
    I am using this code in my JSP:
    try
         Context ctx = new InitialContext();
         dataSource = (DataSource)ctx.lookup("jdbc/mybillingora");
         conn = dataSource.getConnection();
         statement = conn.createStatement();
    catch(Exception excep)
    Is this code enough for a JNDI look up?? When I use this code, I get an exception:
    "javax.naming.NameNotFound exception:jdbc/mybillingora"
    Do I need to do something else??
    Why do we use :
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "<some_context_factory>");
    env.put(Context.PROVIDER_URL, PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, JNDI_USER);
    env.put(Context.SECURITY_CREDENTIALS, JNDI_PWD);
    InitialContext = new InitialDirContext(env);
    where JNDI_USER is the userid If ACL is configured at the JNDI server
    where JNDI_PWD is the password If ACL is configured at the JNDI server
    Context.INITIAL_CONTEXT_FACTORY is the initial Context factory and depends on ur JNDI service provider.
    PROVIDER_URL is the url of the JNDI server containing protocol/ip/port
    do i need to use this??
    would appreciate your help on this....
    Thanks

    If Tomcat is your servlet/JSP engine, they have a nice bit about how to do it:
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    MOD

  • How to consume Stateless session bean (ejb3.0)

    Hi,
    Using SAP NWDS, and Java EE 5 engine, I created an EJB 3.0 project (using the wizard) that includes my bean, local and remote classes with the correponding annotation.
    Now I have headhackes trying to consume (at least to call a methode from my bean).
    Here is the framework:
    Ejb project includes: myClassBean, myClassLocal (interface), myClassRemote(interface).
    In another java project, I try to use my bean method like this:
    InitialContext ctx = new InitialContext();
    myClassRemote classRemote= (myClassRemote) ctx.lookup("sap.com/<name of the ear>/myClassBean");
    ResultSet rs = classRemote.getMyMethod("param");
    Thus this implementation do not work. The nasted exception is NameNotFound exception during the look up.
    I readt a lot of document on the sdn and sap portal but all describe the creation of ejb and not really their consumption.
    Can you help?
    Thanks in advance,
    Marc

    Hi Marc,
    Hope <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/605ff5f2-e589-2910-3ead-e558376e6f3d">this</a> answers your questions!
    Cheers,
    Vladimir

  • Getting error while calling ejb business methods from servlet

    Hi
    Iam getting error when i try to call a ejb method from servlet.Error is
    "com.netscape.server.eb.UncheckedException: unchecked exception nested exception is:java.lang.NullPointerException".
    I build the application and deployed it successfully.Iam using IAS 6.O with windows NT 4.0.
    This is just a method which takes values from database and return as an array of bean to servlet.
    Any help on this.Thanks Shank

    Hi
    I was using the session bean.Your suggestion helped me a lot.Perfect.
    I debug my program and found that from ejbCreate()exception is getting.
    I was getting the datasource object thro ejb create() initialisation.
    Somehow the look up jndi which i mentioned was not interpretting from ejb-jar.xml ias-ejb-jar.xml and datasource ref .Due to this iam getting jndi Namenotfound exception which in turns to null pointer as datasource is getting null.
    when i hardcoded in the ejb the the jndi name for datasource it is working fine.Bit worried all the existing ejbs working with the xml referenced datasource and jndi,but when i added a new ejb with same properties it is failing to get the jndi name.
    Piece of code from ias-ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <jndi-name>jdbc/nb/myData</jndi-name>
    </resource-ref>
    Piece of code from ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
    </resource-ref>
    Thanks a lot meka

  • How to use JNDI look up from a JSP

    Hello,
    I know I should not be doing this (writing the lookup code in a JSP) but have to do it for some reasons.
    I am using this code in my JSP:
    try
         Context ctx = new InitialContext();
         dataSource = (DataSource)ctx.lookup("jdbc/mybillingora");
         conn = dataSource.getConnection();
         statement = conn.createStatement();
    catch(Exception excep)
    Is this code enough for a JNDI look up?? When I use this code, I get an exception:
    "javax.naming.NameNotFound exception:jdbc/mybillingora"
    Do I need to do something else??
    Why do we use :
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "<some_context_factory>");
    env.put(Context.PROVIDER_URL, PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, JNDI_USER);
    env.put(Context.SECURITY_CREDENTIALS, JNDI_PWD);
    InitialContext = new InitialDirContext(env);
    where JNDI_USER is the userid If ACL is configured at the JNDI server
    where JNDI_PWD is the password If ACL is configured at the JNDI server
    Context.INITIAL_CONTEXT_FACTORY is the initial Context factory and depends on ur JNDI service provider.
    PROVIDER_URL is the url of the JNDI server containing protocol/ip/port
    do i need to use this??
    would appreciate your help on this....
    Thanks

    I am working on a pretty similar problem and posted my problem minute ago.
    Include JNDI.jar from <Oracle_HOME>\jlib. (This is what I found in Oracle docs).
    I presume you are also trying to create the Datasource using Datasource interface via JNDI rather than using Driver Manager.
    Thanks
    Mei

  • JNDI lookup in iPlanet and specifying it in IAB

    Hi,
    I an trying to port a entiry bean deployed in WebLogic written in J2EE
    standards with no reference to weblogic apis. I open the JAR in IAB and it
    generates all the required XML and stubs correctly. In meta editor all the
    CMP properties are OK except JNDL name. So, I specified JNDI name as the
    same used in weblogic using EJB ref tab of meta-editor . I am trying to
    lookup using a servlet (developed in iPlanet) to look it up using the
    specified name. But I'm always getting a error NameNotFound Exception. JNDI
    name is also coming in XML
    Can anybody help me out in this ?
    --thanks
    Dipan

    you should be using:
    java:comp/env/<ejb-ref-name>
    you should have this tag (embedded under <ejb-ref>) in your ias-web.xml
    and web.xml DD files
    -geoff.
    "Dipan Talukdar" <[email protected]> wrote in message
    news:9p0068$[email protected]..
    Hi,
    I an trying to port a entiry bean deployed in WebLogic written in J2EE
    standards with no reference to weblogic apis. I open the JAR in IAB and it
    generates all the required XML and stubs correctly. In meta editor all the
    CMP properties are OK except JNDL name. So, I specified JNDI name as the
    same used in weblogic using EJB ref tab of meta-editor . I am trying to
    lookup using a servlet (developed in iPlanet) to look it up using the
    specified name. But I'm always getting a error NameNotFound Exception.JNDI
    name is also coming in XML
    Can anybody help me out in this ?
    --thanks
    Dipan

  • Two EJB's, separate JARS?

    Hi,
    I have a MDB, consuming messages from a Q, a Java Bean and a Stateless Session Bean.
    The MDB has a message sent to it, consumes the message, calls the Bean and the bean then passes the Remote interface of the EJB back to the MDB.
    I have packaged and deployed this like so:
    first jar: MDB and Java Bean;
    second jar: Session EJB.
    I call the session ejb from the Bean like so:
    Context ctx = getInitialContext();
    Object objRef = ctx.lookup("java:comp/env/IntellectSessionRemote");I get this error, caught from the NamingException thrown in the above code:
    Javax.Naming.NameNotFound Exception: Unable to resolve comp/env/IntellectSessionRemote/ Resolved: comp/env Unresolved: IntellectSessionRemote ; remaining name ' ' in ejb
    Any ideas/help??/
    I am deploying on Weblogic 6.1, in development mode.
    Cheers
    T

    Hi again,
    I am confused still about a couple of things:
    1) Should I be deploying the EJB's in seperate JAR's?
    2) It is my Bean class, not MDB, that is doing the
    Object objRef = ctx.lookup("java:comp/env/ejb/IntellectSessionRemote");lookup, therefore why do i put the reference to the jndi name of the Session EJB in the deplotment descriptor of the MDB?
    I tried putting the ejb-ref tag in the ejb-jar.xml file and now get the following error when the server starts:
    In ejb-jar.xml the EJB 'consumer' contains an invalid eb-link in ejb-ref 'ejb/IntellectSession'. No ejb with ejb-name 'IntellectSession' could be found.Any ideas on this one????
    Cheers
    T

  • Unable to receive Queue Message Unable to create Queue in MDM 2.0.1

    Hi All,
    I am getting below exception when i am trying to read JMSQueue from weblogic server to MDM 2.0.1
    Steps i configured as below:
    Created XAI JNDI server : XAI JNDI Server(Demo), Provider URL(http://localhost:7001), Initial Connection Factory(weblogic.jndi.WLInitialContextFactory)
    created XAI JMS Connection:XAI JMS Connection(DemoConn), XAI JNDI Server(Demo), JNDI Connection Factory(weblogic.jms.XAConnectionFactory)
    created XAI JMS Queue: XAI Queue Name(DemoQueue), Queue Name(TestQueue), XAI JNDI Server(Demo)
    created XAI Receiver DemoRx mapped with XAI Class JMSRCVR and with above configurations
    MPL is creating intial context factory for jndi server properly and intializing queues properly.
    But getting namenotfound exception at Receiver DemoRx
    [Thu May 26 15:01:46 IST 2011] Receiver DemoRx - Read interval is 10 seconds.
    [Thu May 26 15:01:47 IST 2011] Receiver "DemoRx" initialization failed:Unable to receive Queue MessageUnable to create Queue: javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '']; remaining name 'TestQueue'
    com.splwg.mpl.receiving.ReceiverInitException: Unable to receive Queue MessageUnable to create Queue: javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TestQueue'. Resolved '']; remaining name 'TestQueue'
         at com.splwg.mpl.jms.queue.JMSReceiver.prepareConnection(JMSReceiver.java:394)
         at com.splwg.mpl.jms.queue.JMSReceiver.init(JMSReceiver.java:266)
         at com.splwg.mpl.receiving.AsyncReceiverManager$1.call(AsyncReceiverManager.java:232)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    Please help me in this regard
    Thanks in advance,
    sukumar

    Hi Suraj,
    I would prefer to discuss the problems in the forum. There are maybe other that have the same problem and they could then participate from the discussion.
    No back to your problem:
    As fare as I know there is no build in function to read directly from file system.
    MPL is no longer supported in this product and this was the only module for reading the file system.
    You have to develop an application to fetch the files form the file system or you must use an Enterprise Service Bus
    like OSB or ServiceMix.
    To enable the system for the IMD import you have to publish a Business Object or Script via XAI Inbound service.
    The recommended way is to use the D1-IMDSeeder BO.
    There is a chapter in the MDM Configuration Guide, explaining how to setup the XAI Inbound service.
    There is also a service script available. The advantage of the service script is, that you can import IMDs for more than on device (D1-IMDEvtUpl and DM-IMDEvtUpl). The DM-IMDEvtUpl is eventually only in the demo database available.
    The disadvantage of the IMDSeeder is, that you have to setup a lot of configurations in the system. There is another thread in the forum explaining the setup.
    My preferred way is to use the D1-InitialLoadIMDScalar or D1-InitialLoadIMDInterval BO but you have to do a lot of things by your own.
    /Markus

  • AD Connector 11.1.1.5 having a issue

    Hi,
    I am trying to configure AD connector it is giving following error. My environment is:-
    OIM 11.1.15 BP02.
    AD Connector - 11.1.1.5.
    When I installed it was success full when I am trying to provision any user it gives below error.
    ]] Root cause of ServletException.
    javax.servlet.jsp.JspException: Can't insert page '/layouts/tjspClassicLayout.jsp' : Software caused connection abort: socket write error
         at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
         at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
         at jsp_servlet._pages.__taskdetailspage._jsp__tag0(__taskdetailspage.java:111)
         at jsp_servlet._pages.__taskdetailspage._jspService(__taskdetailspage.java:76)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
         at org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
         at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)
         at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
         at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:108)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:106)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:89)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:156)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    Then I thought lets uninstall it and install below version. When I am uninstalling it is giving me below error.
    Connected to the Database
    log4j:WARN No appenders could be found for logger (org.springframework.jndi.Jndi
    Template).
    log4j:WARN Please initialize the log4j system properly.
    oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTa
    rgetException
    at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
    at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
    at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at oracle.iam.connectormgmt.uninstall.UninstallUtility.setOIMClient(Unin
    stallUtility.java:148)
    at oracle.iam.connectormgmt.uninstall.UninstallUtility.<init>(UninstallU
    tility.java:129)
    at oracle.iam.connectormgmt.uninstall.ConnectorUninstall.main(ConnectorU
    ninstall.java:71)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:193)
    ... 7 more
    Caused by: oracle.iam.platform.utils.NoSuchServiceException: javax.naming.NameNo
    tFoundException: While trying to lookup 'ejb.stateless.ClientLoginSessionService
    #oracle.iam.platformservice.api.ClientLoginSessionServiceRemote' didn't find sub
    context 'stateless'. Resolved 'ejb' [Root exception is javax.naming.NameNotFound
    Exception: While trying to lookup 'ejb.stateless.ClientLoginSessionService#oracl
    e.iam.platformservice.api.ClientLoginSessionServiceRemote' didn't find subcontex
    t 'stateless'. Resolved 'ejb']; remaining name 'stateless/ClientLoginSessionServ
    ice#oracle/iam/platformservice/api/ClientLoginSessionServiceRemote'
    at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.<ini
    t>(Unknown Source)
    ... 12 more
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.state
    less.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSession
    ServiceRemote' didn't find subcontext 'stateless'. Resolved 'ejb' [Root exceptio
    n is javax.naming.NameNotFoundException: While trying to lookup 'ejb.stateless.C
    lientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServic
    eRemote' didn't find subcontext 'stateless'. Resolved 'ejb']; remaining name 'st
    ateless/ClientLoginSessionService#oracle/iam/platformservice/api/ClientLoginSess
    ionServiceRemote'
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef
    .java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef
    .java:259)
    at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown So
    urce)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java
    :132)
    at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
    at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
    at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155)
    ... 13 more
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'ejb.state
    less.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSession
    ServiceRemote' didn't find subcontext 'stateless'. Resolved 'ejb'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
    ava:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20
    6)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
    4)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef
    .java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.jav
    a:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Connector 'ActiveDirectory 11.1.1.5.0' will be un-installed
    Do you want to continue with the connector un-install y:
    Please suggest me what is the best we can do here. My aim is to make AD connector running. Thanks in advance.

    Thanks for Reply.
    Nexaweb jar is already there. I have just restarted it, then I am getting below error.
    [2012-05-03T09:47:26.772-04:00] [oim_server1] [ERROR] [] [ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: c89f2f619bd734b5:-598c5fd7:13712de5b00:-8000-0000000000000390,0] [APP: oim#11.1.1.3.0] oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user[[
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
         at oracle.iam.connectors.icfcommon.ConnectorFactory.createConnectorFacade(ConnectorFactory.java:150)
         at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.init(ICProvisioningManager.java:133)
         at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.init(ICProvisioningManager.java:141)
         at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.createObject(ICProvisioningManager.java:253)
         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:597)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADIDCCREATEOBJECT.CREATEOBJECT(adpADIDCCREATEOBJECT.java:109)
         at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpADIDCCREATEOBJECT.implementation(adpADIDCCREATEOBJECT.java:54)
         at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
         at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
         at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2917)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:547)
         at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
         at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
         at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(tcProvisioningOperationsBean.java:4042)
         at Thor.API.Operations.tcProvisioningOperationsIntfEJB.retryTasksx(Unknown Source)
         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:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy356.retryTasksx(Unknown Source)
         at Thor.API.Operations.tcProvisioningOperationsIntfEJB_4xftoh_tcProvisioningOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at Thor.API.Operations.tcProvisioningOperationsIntfEJB_4xftoh_tcProvisioningOperationsIntfRemoteImpl.retryTasksx(Unknown Source)
         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:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy172.retryTasksx(Unknown Source)
         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:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy346.retryTasksx(Unknown Source)
         at Thor.API.Operations.tcProvisioningOperationsIntfDelegate.retryTasks(Unknown Source)
         at com.thortech.xl.webclient.actions.ResourceProfileProvisioningTasksAction.retryTasks(ResourceProfileProvisioningTasksAction.java:702)
         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:597)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
         at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)
         at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)
         at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)
         at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
         at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)
         at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
         at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:108)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:106)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:89)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:156)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Any idea, how to update Connector key.

  • Got javax.transaction.HeuristicMixedException  when calling EJB business methods

              I have developed two EJBs. One is a stateless session bean,
              called InventorySessionBean(JNDI name: Inventory); the other one
              is a CMP Entity Bean called InventoryBean(JNDI name:
              InventoryBean). The InventoryBean represents the business object
              of Inventory. InventoryBean is declared CMT and all methods in
              the beans have attribute "Required". The InventorySessionBean is a session facade
              which encapsulate the business methods of
              InventoryBean. InventorySessionBean is declared CMT and all
              methods in the bean have attribute"RequiresNew" The backend
              database is Ingres.
              I have setup JDBC connection pool, Datasource and Tx Datasource.
              There is a client program which invokes InventorySessionBean to get business data
              from database.
              Actually the InventorySessionBean invokes InventoryBean entity bean to get data
              from database.
              After I starting up the weblogic server, I ran the client program to get data,
              everything works fine.
              After a period of time (about 50 minutes ) from starting the WLS server, I reran
              the client program.
              I got following exceptions:
              Exception while commiting Tx : Name=[EJB com.memec.na.mppl.businessobjects.inventory.InventorySessionBean.getPriceAndAvailability(java.lang.String,ja
              va.lang.String,java.lang.String,java.lang.String)],Xid=4:916d7da2142a593c(2094524),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
              since begin=3,seconds left=119,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=committed,assigned=leiWLS),SCInfo
              [leiwang+leiWLS]=(state=committed),properties=({weblogic.transaction.name=[EJBcom.memec.na.mppl.businessobjects.inventory.InventorySessionBean.getPriceAndAvailability(java.lang.String,java.lang.String,java.lang.String,java.lang.String)],
              weblogic.jdbc=t3://10.1.129.124:7001}),OwnerTransactionManage
              r=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=leiWLS+10.1.129.124:7001+leiwang+,
              Resources={})],CoordinatorURL=leiWLS+10.1.129.124:7001+leiwa
              ng+); nested exception is:
              javax.transaction.HeuristicMixedException: (weblogic.jdbc.jts.Connection,
              HeuristicHazard, (javax.transaction.xa.XAException: Error dequeueing
              message for statement connection # 23 type S))
              java.rmi.RemoteException: Exception while commiting Tx : Name=[EJB com.memec.na.mppl.businessobjects.inventory.InventorySessionBean.getPriceAndAvailab
              ility(java.lang.String,java.lang.String,java.lang.String,java.lang.String)],Xid=4:916d7da2142a593c(2094524),Status=Committed,HeuristicErrorCode=XA_HEU
              RHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=3,seconds left=119,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=committe
              d,assigned=leiWLS),SCInfo[leiwang+leiWLS]=(state=committed),properties=({weblogic.transaction.name=[EJB
              com.memec.na.mppl.businessobjects.inventory.In
              ventorySessionBean.getPriceAndAvailability(java.lang.String,java.lang.String,java.lang.String,java.lang.String)],
              weblogic.jdbc=t3://10.1.129.124:7001
              }),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=leiWLS+10.1.129.124:7001+leiwang+,
              Resources={})],CoordinatorURL=leiWL
              S+10.1.129.124:7001+leiwang+); nested exception is:
              javax.transaction.HeuristicMixedException: (weblogic.jdbc.jts.Connection,
              HeuristicHazard, (javax.transaction.xa.XAException: Error dequeueing
              message for statement connection # 23 type S))
              javax.transaction.HeuristicMixedException: (weblogic.jdbc.jts.Connection, HeuristicHazard,
              (javax.transaction.xa.XAException: Error dequeueing message
              for statement connection # 23 type S))
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:190)
              at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:231)
              at com.memec.na.mppl.businessobjects.inventory.InventorySessionBean_9wgxw_EOImpl.getPriceAndAvailability(InventorySessionBean_9wgxw_EOImpl.jav
              a:224)
              at com.memec.na.mppl.processors.Outbound3A2Processor.getData(Outbound3A2Processor.java:202)
              Stop the WLS server and restart it again. Everything works well.
              Any comments to this problem would be really appreciated. Thanks.
              

    Hi
    I was using the session bean.Your suggestion helped me a lot.Perfect.
    I debug my program and found that from ejbCreate()exception is getting.
    I was getting the datasource object thro ejb create() initialisation.
    Somehow the look up jndi which i mentioned was not interpretting from ejb-jar.xml ias-ejb-jar.xml and datasource ref .Due to this iam getting jndi Namenotfound exception which in turns to null pointer as datasource is getting null.
    when i hardcoded in the ejb the the jndi name for datasource it is working fine.Bit worried all the existing ejbs working with the xml referenced datasource and jndi,but when i added a new ejb with same properties it is failing to get the jndi name.
    Piece of code from ias-ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <jndi-name>jdbc/nb/myData</jndi-name>
    </resource-ref>
    Piece of code from ejb-jar.xml
    <resource-ref>
              <res-ref-name>myDataSource</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
    </resource-ref>
    Thanks a lot meka

Maybe you are looking for

  • Adobe flashplayer is not working or showing in ad-ons list

    I have, I think , the latest version of FireFox & the latest Flashplayer. I cannot get Flashplayer to work. It was working before, but then it stopped working. when I uninstalled FireFox plus all of my bookmarks, personal info, etc because I couldn't

  • Print out error

    Hi All, When i take Invoice print out, it shows Currency like 12.123,00 in stead of 12,123.00. My user settings is also 12,123.00.System also shows the same in VF01 &VF02. But when i take the Print out,it shows 12.123,00 Anybody can give me idea to g

  • WRT54G installation frustrations

    I cannot get this router to work, ipconfig shows correct ip #'s and I cloned the mac address as sharkbyte recommended and did the power re-boot. still unable to connect to internet.  My ISP Comcast Cable says that my modem is working, it is an older

  • Reuse_alv_grid_display enable the row  in newly entered row

    Hello gurus, there is custom program where they have used the REUSE_ALV_GRID_DISPLAY,in this i have added one custom button by clicking on it, in the output a new row should be entered so that the user can enter new record and able to save , in my ca

  • Sending variables between swfs

    I'm loading one swf into another and trying to send a variable to the loaded swf. I'm using the code at the bottom to load the swf and send the variable. In the loaded swf I'm using: [Bindable] public var myName:String Then in a function: myName = Ap