Lookups for BC4J

Anybody know how to implement lookups as can be easily done with Designer. Lookups appear as a link (or a button) in an Edit form to retrieve values for a field. The link opens another window that allows you to query the appropriate lookup table and paste back the selected value.
I know that it can be implemented by hand, just wondering whether there's something more automatic.

And from an application, I use comboboxcontrol. You define the lookup DataItemName key, the lookup value DataItemName that matches your target, and the DataItemName of the target.
If you want to just display it and not have the user be able to change it, make the combobox setEnabled(false). ( I think )

Similar Messages

  • Problem in Jndi lookup for  ITaskService

    HI,
    I am trying to initiate oracle bpm Human task programatically by using Java remotely.
    for this I am using following JNDI lookup for ITaskService.
    Hashtable ht = new
                  Hashtable<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>();
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_INITIAL_CONTEXT_FACTORY, 
                     "weblogic.jndi.WLInitialContextFactory");
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://localhost:7001");
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "username"); 
              ht.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "password");
              Context ctx  = new InitialContext(ht);
    ITaskService taskService = (ITaskQueryService)ctx.lookup("ejb/bpel/services/workflow/TaskServiceBean");
    taskService.initiateTask(task);
    It the right approach or not.
    Please help.

    To access human workflow api remotely try using the following code :
    Map properties = new HashMap();
      properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://localhost:8001");
      properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "welcome1");
      properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "weblogic");
    IWorkflowServiceClient wfSvcClient =
      WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT, properties, null);
      //Get the task query service
      ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
      //Login as weblogic
      IWorkflowContext ctx = querySvc.authenticate("weblogic","welcome1".toCharArray(),null);
    after getting the workflow context, you can call any method like query task list. perform actions etc. just see the api doc.
    Regards,
    Anshul

  • Message-Mapping: Use same RFC lookup for different target fields

    Hello,
    I need to apply an RFC Lookup which delivers a boolean flag back (true or false). This RFC lookup should be used for different target fields.
    Is there a way to execute the RFC lookup just once and then store the result in an internediate variable that I can use for all futher checks for different target fields?
    If this is not possible and I have to apply the RFC lookup for all necessary target fields is it then executed for each target field ? This is exactly what I want to avoid in order not to slow down performance.
    The input parameter (=source field value) would be the same.
    Thank you for your advice!

    Exactly.
    Here is a UDF example I have that you could adapt to your needs.
    Set
    public String setCounter(String a,String b,Container container){
    /* Store values in global datacontainer
    a: mapping value and return valueparameter
    b: name for stored value parameter
    GlobalContainer myGlobalContainer;
    myGlobalContainer = container.getGlobalContainer();
    myGlobalContainer.setParameter(b.toUpperCase(), a);
    return a;
    Get
    public String getCounter(String a,Container container){
       //write your code here
    GlobalContainer gc = container.getGlobalContainer();
    if (gc.getParameter(a) != null) {
      return String.valueOf(gc.getParameter(a));
    } else {
    return "1";

  • Problems with JNDI lookup for java:comp/env/ejb

    Hi all,
    I'm using OC4J 9.0.3 and I have problems when looking up for the local
    EJB context.
    I have a SLSB which refers to another SLSB via a JNDI mapping like
    shown below. Both services are deployed within one EAR file.
    (snippets of ejb-jar.xml and orion-ejb-jar.xml)
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>ServiceABean</ejb-name>
    <home>com.coi.ServiceAHome</home>
    <remote>com.coi.ServiceA</remote>
    <ejb-class>com.coi.ServiceABean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-ref>
    <ejb-ref-name>ejb/some/sub/packages/ServiceB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.coi.ServiceBHome</home>
    <remote>com.coi.ServiceB</remote>
    </ejb-ref>
    </session>
    </enterprise-beans>
    </ejb-jar>
    <orion-ejb-jar>
    <enterprise-beans>
    <session-deployment location="global/some/sub/packages/ServiceA" name="ServiceABean">
    <ejb-ref-mapping name="ejb/some/sub/packages/ServiceB" location="global/some/sub/packages/ServiceB" />
    </session-deployment>
    </enterprise-beans>
    </orion-ejb-jar>
    The ApplicationInitialContextFactory will be used (prepared by the container),
    so the lookup for ServiceB within a method of ServiceA should work as follows:
    public class ServiceABean implements SessionBean
    public void someMethod()
    InitialContext con = new InitialContext(); // will be of class ApplicationContext
    Context localEjbContext = (Context)con.lookup( "java:comp/env/ejb" );
    ServiceBHome serviceBHome = (ServiceBHome) PortableRemoteObject.narrow(
    localEjbContext.lookup( "some/sub/packages/ServiceB" ),
    ServiceBHome.class );
    The problem is now, that the lookup for "java:comp/env/ejb" doesn't work
    and throws a NameNotFoundException.
    To figure out what's actually happening during lookup I debugged a little bit and
    tried a few things:
    1. A lookup for "java:comp" works fine. It returns an instance of class FlatMapContext
    which consists of a hash map which itself contains an entry for "env".
    2. So a lookup for "env" on that FlatMapContext also works and returns an instance of SubContext.
    3. A lookup for "ejb" using this SubContext causes a NameNotFoundException
    with message "java:comp/env/ejb not found".
    4. A lookup like con.lookup( "java:comp/env" ) throws also a NameNotFoundException
    with message "java:comp/env not found (not inside a J2EE module, for instance a Web-App,
    EJB, or Application-Client)".
    Does anyone know something about this?
    Regards
    --thomas

    Hi Debu,
    Great! 9.0.4 will be released in june/july this year, right? Sorry for my ironical reaction, but does that mean, that I don't have any chance to get my whole stuff running in 9.0.3? I cannot believe that. Isn't there a wordaround I could apply? A setting or whatever to substitute the daft FlatCtx by something else that is implemented according to the spec?
    Regards
    --thomas

  • Lookup for value while mapping

    Hi ,
    I have a situation in hand and i am looking for a performance effective solution .May be anyone can help me.
    I have a PO where i have to map it to a xml . at the item level i have to fetch a field from the SAP Backend and then populate the XML with that value.
    I can write a lookup for that field using the JCO lookup.
    but this code will execute for each line item . right !!!.
    Can i do this in one call and get the field data for all the line items and then split it according to each occurance of line item
    Regards
    Nikhil

    Nikhil,
    This can be done but with some changes in the RFC.
    1. Make changes in the RFC such that it can handle multiple records and send the response in multipkle records . ( The RFC code should contain TABLE to handle this ).
    2. Write an Advanced user Defined Function that will take all the input fields as the input, call the RFC and get the response values. Stored them in an array declared in the Java Section ( from Sp 14 onwards, there is a java section that allows you to declare Global Variables and use them anywehere in your mapping ).
    3. This user defined function should be called at the mapping of the root nodes.
    4. Now , write another UDF , that will read the values out of the global variable array using a global counter , map it to the target and increment the same.
    Regards
    Bhavesh

  • Using predefined JDBC database connection in runtime for BC4J

    I've created an aplication using BC4J context, however I want to have several distinct users acessing this aplication, so I create the connection to the database using stantart JDBC 2.0, and now I want my application to use this connection instead of the one defined for BC4J.
    The database user owner of the objects must be locked.
    Is this possible?
    Many thanks.
    Nuno

    In Forms I used the following code to change the user at runtime. I created 3 char fields 'u','p' and 'c' for username, password and connect string respectively.
    declare
    uname varchar2(10);
    begin
    uname := get_application_property(username);
    -- To display your current username
    message(uname);
    pause;
    logout;
    logon(:u,:p&#0124; &#0124;'@'&#0124; &#0124;:c);
    end;
    Have a nice day,
    Abhijith Unnikannan,
    Oracle Support Services

  • LOOKUP for accounts in %ACCOUNT_SET%

    Hye.  I try to do a easy scriptlogic  but I get error.
    I have an input report witth  3 accounts (5700,5710,5720) as lines and 2009.JUN and 2009.JUL as columns.
    I introduce data in month 2009.JUL in input report  and I use LOOKUP in a Script Logic Default in order to get the data  of 2009.JUN for each account from other cube "FINANCE".
    The default code is:
    *LOOKUP FINANCE
         *DIM ACCOUNT="%ACCOUNT_SET%"
         *DIM CATEGORY="BUDGET"
         *DIM JUN:TIME="2009.JUN"
    *ENDLOOKUP
    *XDIM_MEMBERSET ACCOUNT=5700, 5710, 5720
    *WHEN CATEGORY
            *IS  BUDGET
                   *REC(EXPRESSION=LOOKUP(JUN), TIME=2009.JUN, ACCOUNT)
             *ENDWHEN
    *ENDWHEN
    *COMMIT
    I want to make a LOOKUP for each account (5700, 5710, 5720) to Cube FINANCE but  when I push "Send Data" I get the next error: "Error running default logic (Member "5700,5710,5720" not exist"".
    I think that the LOOKUP considers that  DIM ACCOUNT is "5700,5710,5720" all together,  so I get an errror.
    How can I do it?

    Thanks Seldon but It doesn´t  work.
    I validate default script with your code  and I get an error:  Multi LOOKUP in the same cube not allowed.
    I use the next code and when i push sendata in my report, I get an error : Error running default logic (Member "%ACCT%" not exist.
    *LOOKUP FINANCE
    *DIM ACCOUNT="%ACCT%"
    *DIM CATEGORY="BUDGET"
    *DIM JUN:TIME="2009.JUN";
    *ENDLOOKUP
    *XDIM_MEMBERSET ACCOUNT=5700, 5710, 5720
    *FOR %ACCT%=5700,5710,5720
    *WHEN CATEGORY
    *IS BUDGET
    *REC(EXPRESSION=LOOKUP(JUN), TIME=2009.JUN)
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    *NEXT

  • Prob in IR :Internal error during bean lookup for bean RepObjectAccessBean

    Hi,
        I am facing the problem in IR .
    <b>Internal error during bean lookup for bean RepObjectAccessBean</b>
    is the Error window I am getting frequently, After getting this error, It is no allowing to open any of the IR Objects.
    Thanks in advance,
    Dhanabal T

    Hi Dhanabal,
    i got the same error. But it is clear.
    Please chek once ur configuration part. The error is in configuration part only.
    once check all the steps in ur configuration part.
    REgards,
    chandra.

  • Lookup for local interfaces.

    Isn't lookup for local interfaces allowed from web client. I have defined a
    ejb-reference for the bean in my web.xml. When I do a lookup as
    TestBeanLocalHome home = (TestBeanLocalHome)
    ic.lookup("java:comp/env/ejb/TestBeanLocal");
    This statement result in an error
    javax.naming.NameNotFoundException: Unable to resolve
    comp/env/ejb/TestSLSBeanLocal/ Resolved: 'comp/env/ejb'
    Unresolved:'TestBeanLocal' ; remaining name ''
    at
    weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingN
    ode.java:887)
    at
    weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:219)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:183)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:339)
    at
    weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWr
    apper.java:36)
    at
    weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:124
    at javax.naming.InitialContext.lookup(InitialContext.java:345)
    at jsp_servlet.__client._jspService(__client.java:108)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    The same thing works when lookup is done for remote interface.
    Regards,
    Rupesh.

    You need to use "ejb-local-ref" to refer to local interfaces. I meant
    "ejb-local-ref" element was not available in web.xml in Servlet 2.2. They
    were added in Servlet 2.3 specification. So unless your app server is
    Servlet 2.3 compliant it does not need to support references to local
    interfaces in web components (servlets or jsps). Weblogic 6.1 did not seem
    to support them last time I tried.
    -- Anand
    "Rupesh" <[email protected]> wrote in message
    news:[email protected]...
    what do u mean by local interface in web component? its ejb's local
    interfaces and lookups are any way being
    done using ejb-ref and ref mapping are given in weblogic.xml.
    Where does Servlet spec come into the picture?
    Do you mean to say that you can not lookup for local home from a jsp in
    WL6.1?
    Regards,
    Rupesh.
    Anand Byrappagari <[email protected]> wrote in message
    news:[email protected]...
    Are you using Weblogic 6.1? Then local interfaces in web components arenot
    supported. Local interfaces were added only in Servlet 2.3 I think.Weblogic
    6.1 is not completely compliant with Servlet 2.3.
    -- Anand
    "Rupesh" <[email protected]> wrote in message
    news:[email protected]...
    Isn't lookup for local interfaces allowed from web client. I have
    defined
    a
    ejb-reference for the bean in my web.xml. When I do a lookup as
    TestBeanLocalHome home = (TestBeanLocalHome)
    ic.lookup("java:comp/env/ejb/TestBeanLocal");
    This statement result in an error
    javax.naming.NameNotFoundException: Unable to resolve
    comp/env/ejb/TestSLSBeanLocal/ Resolved: 'comp/env/ejb'
    Unresolved:'TestBeanLocal' ; remaining name ''
    at
    weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingN
    ode.java:887)
    at
    weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:219)
    atweblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:183)
    atweblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    atweblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    atweblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
    atweblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:339)
    at
    weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWr
    apper.java:36)
    at
    weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:124
    at javax.naming.InitialContext.lookup(InitialContext.java:345)
    at jsp_servlet.__client._jspService(__client.java:108)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    The same thing works when lookup is done for remote interface.
    Regards,
    Rupesh.

  • Lookup for 2 domanins in ESB DVM in Oracle BPEL

    Hi
    I need lookup in one DVM but the in condition should be 2 Domains. I explain me:
    I've a DVM like that:
    | VALUE | FATHER | CHILD |
    |     1     |     SI     |     NO     |
    |     2     |     NO     |     NO     |
    |     3     |     SI     |     SI     |
    Then I need lookup for the FATHER and CHILD values to obtain the VALUE.
    Someone Know how can I do??
    Thanks and regards.

    Try here.
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/med_dvm.htm
    Thanks,
    Vijay

  • JNDI Lookup for JMS Topic issue.......!

    Hi,
              Our application is deployed on two nodes (MS1 and MS2 in a cluster) and I created JMSServer on MS1, JMS ConnectionFactory and Distributed Topic are targeted on both MS1 and MS2 i.e on entire cluster.
              We have the JMS Code in postStart() method of starup class which extends ApplicationLifecycleListener which would create the JMS Subcriber and set the message listener on to it.
              code snippet:
                   System.out.println("createSubscriber called");
                   subSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
                   // Lookup for the Topic
                   Topic cadTopic = (Topic) ctx.lookup("JMSTopicLog4j");
                   System.out.println("Topic is: " + cadTopic.getTopicName());
                   // Create JMS Subscriber.
                   cadSubscriber = subSession.createSubscriber(cadTopic);
                   // Set the listener to Subscriber.
                   cadSubscriber.setMessageListener(new CADMessageListener());
                   topicConnection.start();
              When I start the cluster (managed Servers MS1 and MS2) for the first time and deploy the application on them (entire cluster) it works well i.e. message listener is active and able to receive messages published by publisher but when I try to stop and start MS2 it gives the following exception during server startup
              javax.naming.NameNotFoundException: Unable to resolve 'JMSTopicLog4j'. Resolved ''
              javax.naming.NameNotFoundException: Unable to resolve 'JMSTopicLog4j'. Resolved ''; remaining name 'JMSTopicLog4j'
              at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1123)
              at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:250)
              at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
              at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:204)
              at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:267)
              at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:362)
              Note: I thought my application context is getting started before JNDI tree is loaded but I could see that it is able to lookup the ConnectionFactory and throws the given exception when it comes to lookup code of JMS Topic.
              is there any configuration issue or am I missing something? Please help me in this regard.
              Thanks in advance.
              Kris.

    Very interesting, I mean in the sense that we have the same setup, but instead of topic we are using the queues.
              And our problem is exactly the same,deployment works but after restart same javax.naming.NameNotFoundException happens on server 2.

  • JNDI lookup for UserTransaction

              Hi all,
              in Weblogic, in a typical scenario, do a client provide exactly
              one JNDI lookup for the UserTransaction object (interface) or do
              the client have to provide a JNDI lookup for each transaction?
              In some EJB implementations, a JNDI lookup for UserTransaction
              returns always the same reference. For example, in JOnAS, you can
              have one static reference which is set when the client starts.
              Then, more threads can simultaneously use the same static
              UserTransaction reference without any conflict, since the
              implementation of UserTransaction recognizes, which thread invoked
              a particular method.
              In other words, can I make an assumption that two different JNDI
              lookups for UserTransaction returns different references or not?
              Thanks a lot,
              Marek Prochazka
              Distributed Systems Research Group
              Department of Software Engineering
              Charles University, Faculty of Mathematics and Physics
              Malostranske namesti 25, 118 00 Prague 1, Czech Republic
              phone: +420-2-2191 4236
              http://nenya.ms.mff.cuni.cz/thegroup/
              

    Actually, UserTransaction is a singleton and it's not a transaction. It's just
              very mis-named.
              It should be called UserTransactionManager or UserInterfaceToJTA.
              The actual transaction is javax.transaction.Transaction.
              -- Rob
              Cameron Purdy wrote:
              > Within a transaction, it is different instances? For example, if you call
              > it two times one right after another?
              >
              > A transaction is a unit of work. I understand why the transaction object
              > changes from transaction to transaction, since a single transaction object
              > (UserTransaction) represents exactly one transaction. Why would it be a
              > singleton? It is not a transaction manager.
              >
              > Peace,
              >
              > --
              > Cameron Purdy
              > Tangosol, Inc.
              > http://www.tangosol.com
              > +1.617.623.5782
              > WebLogic Consulting Available
              >
              > "Sarita" <[email protected]> wrote in message
              > news:[email protected]...
              > >
              > > Hi Priscilla--
              > >
              > > This is not the behavior that I'm seeing, and I'm perplexed.
              > > Every time I request a UserTransaction from JNDI, I receive a
              > > a different instance. Should the value immediately returned by JNDI be
              > the singleton
              > > instance? If not, then how do I retrieve the singleton instance?
              > >
              > > I would like a session bean to start a transaction, and then call a method
              > on another
              > > session bean (which should operate under the same transaction). How does
              > the second
              > > session bean grab the correct transaction object? Is that possible?
              > >
              > > Thanks In Advance,
              > > Sarita
              > >
              > > "Priscilla Fung" <[email protected]> wrote:
              > > >
              > > >Hi Marek,
              > > >
              > > >In Weblogic 6.0, JNDI lookup of UserTransaction returns a reference to
              > the
              > > >singleton
              > > >Transaction Manager instance, which is thread-safe and can be used from
              > > >multiple
              > > >threads for transaction demarcations etc.
              > > >
              > > >-- Priscilla Fung, BEA Systems, Inc.
              > > >
              > > >"Marek Prochazka" <[email protected]> wrote:
              > > >>
              > > >>Hi all,
              > > >>
              > > >>in Weblogic, in a typical scenario, do a client provide exactly
              > > >>one JNDI lookup for the UserTransaction object (interface) or do
              > > >>the client have to provide a JNDI lookup for each transaction?
              > > >>
              > > >>In some EJB implementations, a JNDI lookup for UserTransaction
              > > >>returns always the same reference. For example, in JOnAS, you can
              > > >>have one static reference which is set when the client starts.
              > > >>Then, more threads can simultaneously use the same static
              > > >>UserTransaction reference without any conflict, since the
              > > >>implementation of UserTransaction recognizes, which thread invoked
              > > >>a particular method.
              > > >>
              > > >>In other words, can I make an assumption that two different JNDI
              > > >>lookups for UserTransaction returns different references or not?
              > > >>
              > > >>Thanks a lot,
              > > >>Marek Prochazka
              > > >>--------------------------------------------------------------
              > > >> Distributed Systems Research Group
              > > >> Department of Software Engineering
              > > >> Charles University, Faculty of Mathematics and Physics
              > > >> Malostranske namesti 25, 118 00 Prague 1, Czech Republic
              > > >> phone: +420-2-2191 4236
              > > >> http://nenya.ms.mff.cuni.cz/thegroup/
              > > >>--------------------------------------------------------------
              > > >>
              > > >
              > >
              

  • Error configuring 8i for BC4J support

    I'm trying to set up my 8i database for BC4J/JBO support and I am receiving error messages. My OS is Win 2000, Oracle DB is 8.1.6 and I have JDeveloper 3.0 and 3.1 installed.
    Below is the command sequence I'm using and error message I am getting. Obviously, something is not set up correctly but I have no clue as to what it might be.
    All suggestions gratefully accepted:
    =====
    1) This seems to work
    C:\Program Files\Oracle\JDeveloper 3.0\bin>setjboenv "c:\Program Files\Oracle\JDeveloper 3.0" 8i
    Setting JDeveloper runtime environment to "c:\Program Files\Oracle\JDeveloper 3.0"
    Setting JDK version 1.1 in "c:\Program Files\Oracle\JDeveloper 3.0\java"
    Setting JBO runtime environment (Deployment is 8i)
    =====
    2) This fails:
    C:\Program Files\Oracle\JDeveloper 3.1\bin>setjboenv "c:\Program Files\Oracle\JDeveloper 3.1" 8i
    Setting JDeveloper 1.2 runtime environment to "c:\Program Files\Oracle\JDeveloper 3.1"
    Files\Oracle\JDeveloper was unexpected at this time.
    =====
    3) In 3.0, fails with "can't find class" message:
    C:\Program Files\Oracle\JDeveloper 3.0\lib>loadjava -u bc4j/bc4j@localhost:1521:v8i -thin -v -r -grant SYS,PUBLIC xmlparserv2.jar
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    Can't find class oracle/aurora/server/tools/loadjava/LoadJavaMain
    =======
    TIA
    Jeremy Russell
    null

    Blaise, thanks for the response. In my haste (and perhaps cos I was in the middle of a BC4J training class) I didn't explain the problem clearly in the topic, but you're correct and I want to deploy EJB objects to my 8.1.6 database.
    Here's the result of your suggestion:
    =====
    C:\>cd c:\program files\oracle\jdeveloper 3.1\bin
    C:\Program Files\Oracle\JDeveloper 3.1\bin>.\setjboenv "C:\Program Files\Oracle\JDeveloper 3.1" 8i
    C:\Program Files\Oracle\JDeveloper 3.1\bin>call "C:\Program Files\Oracle\JDeveloper 3.1\bin\setvars" "C:\Program Files\Oracle\JDeveloper 3.1"
    Setting JDeveloper 1.2 runtime environment to "C:\Program Files\Oracle\JDeveloper 3.1"
    Setting JDK version 1.2 in "C:\Program Files\Oracle\JDeveloper 3.1\java1.2"
    Setting JBO runtime environment (Deployment is 8i with ORACLE)
    The input line is too long.
    The syntax of the command is incorrect.
    =====
    so basically, I think I might need to deinstall JDev 3.1 and reinstall in a directory with a shorter path name.
    What do you think?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Blaise (JDeveloper team):
    Jeremy,
    First, you only need to load the JBO archives into your 8i database if you want to deploy your BC4J application module to the database as an EJB or CORBA object. Otherwise you don't need to do anything special to your database to make it work with a BC4J application.
    Second, if you have an 8.1.6 database, and you do want to deploy your application module to the database, you can only do so with JDeveloper 3.1 (for JDeveloper 3.0 you must deploy to 8.1.5).
    I'm not sure why your second setjboenv is not working. Perhaps your path is set up in such a way that you are not calling the local copy of setjboenv.bat. To make sure, you could do .\setjboenv instead of just setjboenv.
    Blaise<HR></BLOCKQUOTE>
    null

  • JNDI lookup for weblogic.management.MBeanHome

    Tried to do JNDI lookup for MBeanHome. It could resolve
    weblogic.management, but not MBeanHome.
    Any idea? Thank you
    T. Pei
    PS
    The statement and the error message:
    MBeanHome mBeanHome = (MBeanHome) initialContext.lookup
    ("weblogic.management.MBeanHome.JNDI_NAME.MyServer");
    javax.naming.NameNotFoundException:
    Unable to resolve weblogic.management.MBeanHome.JNDI_NAME.MyServer
    Resolved: 'weblogic.management'
    Unresolved:'MBeanHome' ; remaining name 'JNDI_NAME.MyServer'

    I answered this in my last post, but to clarify your attempt below.
    you can access MBeanHome through JNDI in any of three ways that I
    currently know...
    MBeanHome mBeanHome =
    (MBeanHome)ctx.lookup("weblogic.management.adminhome");
    MBeanHome mBeanHome =
    (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    MBeanHome mBeanHome =
    (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME+"."+yourservername);
    typically yourservername = "myserver"
    when I print MBeanHome.ADMIN_JNDI_NAME I get
    "weblogic.management.adminhome"
    when I print MBeanHome.JNDI_NAME I get
    "weblogic.management.home"
    so using MBeanHome.JNDI_NAME+"."+yourservername is the same as
    "weblogic.management.home.myserver", if the server you are trying to access
    is called myserver.
    may be more information than you want.
    "T. Pei" <[email protected]> wrote in message
    news:3a7a1562$[email protected]..
    >
    Tried to do JNDI lookup for MBeanHome. It could resolve
    weblogic.management, but not MBeanHome.
    Any idea? Thank you
    T. Pei
    PS
    The statement and the error message:
    MBeanHome mBeanHome = (MBeanHome) initialContext.lookup
    ("weblogic.management.MBeanHome.JNDI_NAME.MyServer");
    javax.naming.NameNotFoundException:
    Unable to resolve weblogic.management.MBeanHome.JNDI_NAME.MyServer
    Resolved: 'weblogic.management'
    Unresolved:'MBeanHome' ; remaining name 'JNDI_NAME.MyServer'

  • [svn:fx-trunk] 13366: Ensuring that AFEFontManager, if it is available, overrides the lookup for embedded fonts for all supported font types, including TTF, when embedding legacy DefineFont3 fonts.

    Revision: 13366
    Revision: 13366
    Author:   [email protected]
    Date:     2010-01-07 22:15:50 -0800 (Thu, 07 Jan 2010)
    Log Message:
    Ensuring that AFEFontManager, if it is available, overrides the lookup for embedded fonts for all supported font types, including TTF, when embedding legacy DefineFont3 fonts. BatikFontManager will remain a backup in the event that AFEFontManager is not found though BatikFontManager;s support is limited to TTF for legacy DefineFont3 fonts.
    QE notes: Remember that bitmap comparisons could change slightly
    Doc notes: N/A
    Bugs: N/A
    Reviewer: For Gaurav
    Tests run: checkintests, QE had run local tests
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/flex-config.xml

    I got again a total system freeze today when I wanted to launch firefox using only the openbox menu, without wbar running.
    So I decided to try now the 'nouveau.noaccel=1' kernel command line parameter, and to use again wbar for my frequently used applis.
    In the Xorg log, the differences are:
    without 'nouveau.noaccel=1'
    [ 30.761] (II) UnloadModule: "nv"
    [ 30.761] (II) Unloading nv
    [ 30.761] (--) Depth 24 pixmap format is 32 bpp
    [ 30.762] (II) NOUVEAU(0): Opened GPU channel 0
    [ 30.765] (II) NOUVEAU(0): [DRI2] Setup complete
    [ 30.765] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
    [ 30.765] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
    [ 30.776] (II) EXA(0): Driver allocated offscreen pixmaps
    [ 30.777] (II) EXA(0): Driver registered support for the following operations:
    [ 30.777] (II) Solid
    [ 30.777] (II) Copy
    [ 30.777] (II) Composite (RENDER acceleration)
    [ 30.777] (II) UploadToScreen
    [ 30.777] (II) DownloadFromScreen
    [ 30.777] (==) NOUVEAU(0): Backing store disabled
    [ 30.777] (==) NOUVEAU(0): Silken mouse enabled
    with 'nouveau.noaccel=1'
    [ 1191.621] (II) UnloadModule: "nv"
    [ 1191.621] (II) Unloading nv
    [ 1191.621] (--) Depth 24 pixmap format is 32 bpp
    [ 1191.621] (EE) NOUVEAU(0): Error creating GPU channel: -19
    [ 1191.621] (EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
    [ 1191.621] (==) NOUVEAU(0): Backing store disabled
    [ 1191.621] (==) NOUVEAU(0): Silken mouse enabled
    [ 1191.621] (==) NOUVEAU(0): DPMS enabled
    So now 3D acceleration is disabled.
    I will see now if the system is stable enough for my daily usage and gives satisfactory performances.
    I am almost sure that the mesa nouveau dri driver is the cause of the freezes.
    Last edited by berbae (2013-03-27 10:07:42)

Maybe you are looking for

  • Questions regarding aggregates on cubes

    Can someone please answer the following questions. 1. How do I check whether someone is re-bilding aggregates on a cube? 2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours? 3. What does it mean when someone switches

  • MacBook Pro not going to sleep

    This just started, but it seems the MBP does not really go to sleep.  This happens when I shut the lid or do so in the Apple menu.  The screen blanks, but the machine is still on and seems to get very hot while just sitting there.  The MBP is usually

  • How to autoupdate firefox from a specific share folder insted of going directly to FF website

    How to autoupdate firefox from a specific share folder insted of going directly to FF website

  • Apple you have to explain this please.

    This makes no sense. TC is forever making huge backups, 3.5 - 4 gb backups when the only thing open is mail. I have excluded everything but Documents, Mail, iCal, Music, Pictures and Movies. Those are the only things to backup. So today. I took some

  • Equal length, faux columns in the CS4 thrColHybHdr template

    In this CS4 template ( three colum hybrid with header - footer,  sidebar columns in em [or fixed] center column width in % capped with full span header and footer), I am trying to accomplish the look of equal column lenth (ie,the faux column techniqu