How to set java.naming.provider.url when multiple oc4j instances in iAS

Hi Folks,
I have problems engaging a connection to a deployed application in a 9.0.3 iAS instance. I created 2 oc4j instance within the iAs instance.
I wonder how to set up the JNDI provider url?!?
According http://download-west.oracle.com/docs/cd/A97329_01/web.902/a95879/jndi.htm
the provider url contains of ormi://host:port/application.
Unfortunatly I get a connection refused Naming Exception.
What's wrong?
Where can I look up the
java.naming.security.principal
java.naming.security.credentials
Are they set by default?
I tried the following scenario:
java.naming.provider.url=ormi://host/oc4j-instance/application/
and a user/password from principals.xml in the application/config directory, but don't have any success.
So please help me ;-).
Bye & Thx
Toby

This is correct as far as aI remember
1) java.naming.provider.url = t3://server1:port1,server2:port2
see
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/jndi/jndi.html -- Using WebLogic JNDI from a Client in a Clustered Environment

Similar Messages

  • Imqobjmgr does not recognize the value of java.naming.provider.url property

    On Windows, I am running imqobjmgr 4.3
    when I run imqobjmgr -i list.properties, I am getting the following error
    Error [A3052]: imqobjmgr does not recognize the value of java.naming.provider.url property.
    Why is that?
    classpath
    C:\Sun\SDK\imq\lib\jms.jar;C:\Sun\SDK\imq\lib\imq.jar;C:\Sun\SDK\imq\lib\fsconte
    xt.jar;.
    contents of list.properties
    # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    # Copyright 2000-2008 Sun Microsystems, Inc. All rights reserved.
    # The contents of this file are subject to the terms of either the GNU
    # General Public License Version 2 only ("GPL") or the Common Development
    # and Distribution License ("CDDL") (collectively, the "License"). You may
    # not use this file except in compliance with the License. You can obtain
    # a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
    # or mq/legal/LICENSE.txt. See the License for the specific language
    # governing permissions and limitations under the License.
    # When distributing the software, include this License Header Notice in each
    # file and include the License file at mq/legal/LICENSE.txt. Sun designates
    # this particular file as subject to the "Classpath" exception as provided by
    # Sun in the GPL Version 2 section of the License file that accompanied this
    # code. If applicable, add the following below the License Header, with the
    # fields enclosed by brackets [] replaced by your own identifying information:
    # "Portions Copyrighted [year] [name of copyright owner]"
    # Contributor(s):
    # If you wish your version of this file to be governed by only the CDDL or
    # only the GPL Version 2, indicate your decision by adding "[Contributor]
    # elects to include this software in this distribution under the [CDDL or GPL
    # Version 2] license." If you don't indicate a single choice of license, a
    # recipient has the option to distribute your version of this file under
    # either the CDDL, the GPL Version 2 or to extend the choice of license to
    # its licensees as provided above. However, if you add GPL Version 2 code
    # and therefore, elected the GPL Version 2 license, then the option applies
    # only if the new code is made subject to such option by the copyright holder.
    # @(#)list.properties     1.11 07/02/07
    # This property file will list administered objects
    # Version of command file
    # NOTE: This is not the version of the Sun Java(tm) System Message Queue product
    version=2.0
    cmdtype=list
    # If you want to only list a particular type of administered
    # object, uncomment the following line and specify the type.
    # Acceptable values for the type property are: t, q, tf, and qf,
    # where t = topic, q = queue, tf = topic connection factory, and
    # qf = queue connection factory.
    #obj.type=
    # To use the LDAP service provider implementation from
    # Sun Microsystems, uncomment the following two property lines
    # and set the url property correctly.
    objstore.attrs.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
    objstore.attrs.java.naming.provider.url=ldap://localhost:389/ou=imqobjmgr,o=sun.com
    # To use the File System service provider implementation from
    # Sun Microsystems on Solaris, uncomment the following two
    # property lines and set the url property correctly.
    # *** Note that the url syntax here is platform specific. ***
    #objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    #objstore.attrs.java.naming.provider.url=file:///home/foo/imq_admin_objects
    # To use the File System service provider implementation from
    # Sun Microsystems on Windows, uncomment the following two
    # property lines and set the url property correctly.
    # *** Note that the url syntax here is platform specific. ***
    #objstore.attrs.java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    #objstore.attrs.java.naming.provider.url=file:///C:/imq_admin_objects
    #objstore.attrs.java.naming.security.authentication=
    #objstore.attrs.java.naming.security.principal=
    #objstore.attrs.java.naming.security.credentials=

    I see you're using Sun Java System Message Queue. There's a forum specific to that product over at [http://forums.sun.com/forum.jspa?forumID=711&start=0|http://forums.sun.com/forum.jspa?forumID=711&start=0] . You could try asking there.
    Nigel

  • How to set fetchsize of sql Query when using Database Adapter.

    Hi All,
    I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
    Thanks
    Chandra

    I talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
    hth clemens

  • How to use java source in Oracle when select by sqlplus.

    How to use java source in Oracle when select by sqlplus.
    I can create java source in Oracle
    import java.util.*;
    import java.sql.*;
    import java.util.Date;
    public class TimeDate
         public static void main(String[] args)
    public String setDate(int i){
    GregorianCalendar calendar = new GregorianCalendar();
    calendar.setTime(new Date((long)i*1000));
    System.out.println("Dateline: "
    + calendar.get(Calendar.HOUR_OF_DAY) + ":"
    + calendar.get(Calendar.MINUTE) + ":"
    + calendar.get(Calendar.SECOND) + "-"
    + calendar.get(Calendar.YEAR) + "/"
    + (calendar.get(Calendar.MONTH) + 1) + "/"
    + calendar.get(Calendar.DATE));
    String n = calendar.get(Calendar.YEAR) + "/" + (calendar.get(Calendar.MONTH) + 1) + "/" + calendar.get(Calendar.DATE);
         System.out.print(n);
         return n;
    I have table name TEST
    ID DATE_IN
    1 942685200
    2 952448400
    When I write jsp I use method setDate in class TimeDate
    The result is
    ID DATE_IN
    1 1999/11/16
    2 2003/7/25
    Thanks you very much.

    It is unclear where you are having a problem.  Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
    Also be aware that you will need to sign your jar and include some new manifest entries.  Refer to the Java 7u51 documentation and blogs that discuss the changes.
    https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html

  • HT5312 How to set a rescue email address when I already have an Apple ID and I forgot my security questions

    How to set a rescue email address when I already have an Apple ID. Actually I forgot my security questions.

    You won't be able to add one until you can answer your questions, you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • How to set my own gui status when i use selection-screen

    how to set my own gui status when i use selection-screen command
    and
    how to set the names in the application tool bar when function keys are created

    Make sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
    Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
    Also check out following discussion -
    Selection Screen PF-STATUS
    Cheers,
    Sanjeev

  • How to set change number is prerequisite when change BOM?

    Dear SAP Experts,
    I have actived EC management  in BOM control data in IMG. But when i changed
    BOM ( the code  CS02 )  with change number blank, system had not given an error message. SO,how to set change number is prerequisite when change BOMs?
    Thanks...
    Regards,
    Joey.

    Just a guess: Transaction os27 and change the number range to external.
    Matthias

  • How to set the POV in WebAnalysis when data source is HFM?

    Hi Every one..
    Could any one tell how to set pov in web analysis when data base is HFM. And hoe to make the report Dynamicall (Current Pov Member like in FR). for this if use Essbase Ican get it it easiliy by using Subtitutional variable but is ti possible fo rHFM.
    Thnaks in advance
    Rao

    yeas agree with sanakar,
    this field which shankar is talking about must be entry date (if u delta timestamp is date, u will also have to mention this table field name in definition of delta), this means that this field will catch last change to the record, so that it will be delta enabled based on the latest change date. This is very important becuase if u use date like posting date to the delta then back dated posting will not captured in to the delta, as delta for this back date is already been done.
    Hope u understand this.

  • Does anyone know how to set up the wireless router when y...

    does anyone know how to set up the wireless router when you have a Vonage modem and a cable modem?  HELP!

    You mean u got 2 modems ?
    C | EH
    linksyshelp.blogspot.com

  • How to deploy oracle forms + J2EE application in single OC4J instance

    We have ORACLE forms application, which is deployed in OC4J Instance in application server.
    There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
    deployed in separate OC4J instance.
    Could you please help us how to combine this forms +J2ee application in single ear file,
    And this ear file has to be deployed in one OC4J instance.

    Maybe have a look at :
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm

  • How to set the new tab URL?

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How do I set the new tab URL? When I click on a new tab, this does not open my home page URL.
    == Firefox version
    ==
    3.6.6
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-Logitech Device Detection
    *Office Plugin for Netscape Navigator
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
    *Default Plug-in
    *Provides additional functionality on Facebook. See our web site for details.
    *Shockwave Flash 10.0 r45
    *iTunes Detector Plug-in
    *4.0.50524.0
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    *DRM Netscape Network Object
    *Npdsplay dll
    *DRM Store Netscape Plugin

    Middle-click the Home button instead.
    Or just install https://addons.mozilla.org/en-US/firefox/addon/777/

  • How to set the "Podcast Website" URL?

    I am referring to the link that appears in the bottom left corner of itunes:
    It currently links to our beta website, which is still under construction, but I want it to link to our live website. In a month or so, we'll be ready to link to the new site, but not yet!
    Here's the podcast link for reference: https://itunes.apple.com/us/podcast/dharma-ocean/id587166784?mt=2
    Any ideas on how I can set this link? Thanks in advance!

    Please always post the feed URL when you have a question as well as the iTunes Store URL. For reference, your feed is at
    http://feeds.feedburner.com/dharmaocean
    The website link is carried in the 'link' tag. You have created your feed in WordPress and Blubrry PowerPress and one or other must provide a field where you can enter the URL: it's there that you will need to change it.

  • How to set components aligned in left when we use BorderLayout

    Hello All,
    How to set the components aligned in the left when we use BorderLayout in a panel.Right now,the components are getting aligned in the center.
    Any solutions?
    Thanks in advance,
    Vijay

    By default a JPanel uses a FlowLayout when created and by default a FlowLayout uses center alignment. Read the FlowLayout API to find out how to use left alignment.
    Also each individual component has an alignmentX and alignmentY value which is set to 0.5 (center aligned). Some LayoutManagers will take this value into consideration. Read the Component API for more information.
    Also, check out this section from the Swing tutorial on "Using Layout Managers":
    http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html

  • How to set the size of applet when invoking forms through formsserver

    HI,
    I m using forms server to display my forms in browser, my
    problem is to change the size of applet at runtime so that the
    entire forms is displayed.
    right now the forms whose size is more r displayed with
    scrollbars.
    and thats giving me problem with printing.
    Sreekant

    - The HEIGHT and WIDTH parameters in the HTML file are
    responsible for the size
    of the applet area. This is documented in the Forms online
    manuals. The
    manual also states that these values are in pixels.
    Tip
    This value can be set to a percentage of the browser's available
    work space.
    This means that if the browser is resized or the DISPLAY
    resolution is changed
    the applet area will adjust to those changes.
    Example
    Instead of the following:
    WIDTH=800
    HEIGHT=600
    Change to:
    WIDTH=100%
    HEIGHT=100%
    This will make the applet use 100% of the browser's work space.
    If you
    change the values to 50%, the applet will use 50% or the
    browser's space.
    The HEIGHT and WIDTH values can be defined in your FORMSWEB.CFG
    or your own
    static html file. These values can also be added to the URL when
    using CGI.
    NOTE: THIS WILL NOT WORK IF SEPARATEFRAME=TRUE
    Regards
    Grant Ronald
    Forms Product Management

  • How to set Alias name for URL or change  URL..

    Hi:
    I am using Apache Tomcat as web server, it contains multiple web applications.
    Url for one of this application is, e.g. http://localhost:8080/myapplication. This particular url work fine.
    But i want to use only mypage word instead of all the above url.
    So how to set or map this?
    Thank You,
    Anup Desai.

    Thank you.
    I tried to set the displayname (using setPersonal function)
    Still its not working.
    I feel it is because during authentication we give the login name (which is taken as the display name).
    Is there any way to change without touching configuration level properties in exchange server 2007.
    thanks in advance

Maybe you are looking for

  • Report Performance Testing in BEX or Portal + process Chain testing

    Hi Guru, i am looking for a tool in BW where BEX reports or Portal reports can be tested. What i looking for is a possibility to log on virtual users (100.+) for a report and check how faster that report can be runned. It is a tool where i can test t

  • Playing Old Games On Intel Mac

    Hi I Was Wandering How To Play Old Mac Games Eg: Marathon As I Get The Error "You Cannot Open The Application Because Its Not Supported On This System". Is There A Emulator Or Something Ive Tryed On My Old G3 (Running OS X 10.3.9 And OS 9.2.2) And Ge

  • Sending text Attachment using UTL_SMTP

    Hi, I am using UTL_SMTP package for sending a text file thru' a mail. Our database is in a unix machine. My file is created in a folder oracle/DEV/CCare/Data which is in the root directory. In the URL argument of the procedure,which is a varchar2 typ

  • Issue when creating a new email account on Adobe BC

    Hi, I got a big issue when I tried to create a new email account for my site, which is a very email account to me, and I had been using that email address for over 10 years. Here is the issue, When I created this email account, Adobe BC keep telling

  • How can I make a graph?

    I want to give a swing application x and y parameters and it should then draw a graph for me. x and only be positiv and y can be both positiv and negativ. I only give x1, y1, x2, y2, x3, y3, etc and it should draw a graph with the given parameter. is