What needs to be in my jndi.properties file to get oracle accessed by a jndi client

I am trying to write a connection pool class that use jndi
to locate the data base. I use "bindds" bind my OracleDataSource
object with the name of 'test/jdbc/test'. I should then be able to do a lookup like: OracleDataSource ods =
(OracleDataSource) ctx.lookup (test/jdbc/test)
All Oracle code examples use (Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
Is this correct? And what other things should be in my jndi.properties file to access the naming service with comes with
Oracle (Jserver)? For example to I need to include a Context.PROVIDER_URL value. I would think Oracle would have some
standard way of accessing its own Naming service. Thanks David

This implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
ODP.NET needs to be installed on the client. OraOps9.dll is part of ODP.NET, not the Oracle Client.
Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
If an application is built with 10g ODP.NET, it can be run with 9.2 ODP.NET as long as you do not use any 10g APIs. The new features in 10g ODP.NET are included in the doc and the ODP.NET FAQ for your reference.

Similar Messages

  • JNDI Properties file

    Hi,
    Im having trouble setting up my first J2EE EJB and client program. I have managed to pinpoint the problem to be with the selection of the JNDI service provider (keep getting a NoInitialContextException).
    Both client and EJB are on the same machine, and Im using Sun's app server v8 . Could someone tell me what I should have in the jndi.properties file, and where this file should be put. I have tried hard-coding the details into the program, but w/o success.
    I assume that using the jndi.properties file will assign a provider globally across all applications in this server - is this true?
    Thanks.

    I read somewhere that the standard j2ee.jar file (which I have in my classpath) contains a default jndi.properties file to allow basic JNDI access.
    If this is true, then the problem is not with these properties. Heres what I have:
    I compiled the classes using javac, no problems (j2ee.jar is in the classpath).
    I am trying to run the client using java -classpath ClientApp.jar FirstClient, where ClientApp.jar is the stubs/skeletons produced at deployment. This method keeps throwing a NoInitialContextException.: need to specify class name . . .
    I also tried using appclient, but that threw even more errors (not entirely sure whats going on here).
    I have checked over my code, and as far as I can see the problem is not in there - Im sure its something to do with the classpath or something - is there a classpath I should be adding to get the client working?
    Why is J2EE so hard to learn? I find myself struggling more with footery errors than I do actuially reading and learning about how to use it.
    Thanks.

  • I have an iphone 4 and it will not boot. I've done everything except downgrade the firmware to 6.1.3 or 6.1.4... is this what needs to happen and if so can I please get a link to do so? thanks

    I have an iphone 4 and it will not boot. I've done everything except downgrade the firmware to 6.1.3 or 6.1.4... is this what needs to happen and if so can I please get a link to do so? thanks

    Hi JACOBfromINSIDEaLION,
    If you are unable to get your iPhone to restore, you will want to perform a restore from recovery mode, as explained in the following article:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • I got ZipException to read Jndi.Properties file

    hello friends,
    here i got ZipException to get Jndi.Properties file.
    i place Jndi.Properties file in my directory and i set classpath to weblogic.jar&Jndi.Properties file.
    but i didn't get InitialContext obj.though i got zipException.
    jvm displays Jndi.Properties file is not read.

    To try out I pasted the code given by u in my application as a demo
         private static Connection connect() throws Exception{
         InputStream in = QueryTest.class.getResourceAsStream("JDBC.properties");
              Properties props = new Properties();
              props.load(in);
              //in.close();
              String driver = props.getProperty("JDBC.driver");
              System.out.println(driver);
              String url = props.getProperty("JDBC.url");
              System.out.println(url);
              String user = props.getProperty("JDBC.user");
              System.out.println(user);
              String pwd = props.getProperty("JDBC.password");
              System.out.println(pwd);
              in.close();
              Class.forName(driver);
              return DriverManager.getConnection(url, user, pwd);
         public static void main(String[] args) throws Exception{
              Connection con = connect();
              //Put your code here
    JDBC.properties file is
         url = jdbc:mysql://localhost:3306/mysql
              user= root
                   password =password
                   driver=com.mysql.jdbc.Driver
    And the error messages are
    null
    null
    null
    null
    Exception in thread "main" java.lang.NullPointerException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at Generic.QueryTest.connect(QuerryTest.java:28)
         at Generic.QueryTest.main(QuerryTest.java:35)

  • I need to import data from a CSV file to an Oracle table

    I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.
    As an example, my target database is HH910TS2, server is ADDb0001, my dB login is em/em, the Oracle table is AE1 and the CSV file is AECSV.
    Any ideas / help ?

    And just for clarity, it's good to get your head around some basic concepts...
    user635625 wrote:
    I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.SQL Developer is a GUI front end that submits code to the database and displays the results. It does not have any code of it's own (although it may have some "commands" that are SQL Developer specific)
    SQL*Plus is another front end (character based rather than GUI) that submits code to the database and displays the results. It also does not have code of it's own although there are SQL*Plus commands for use only in the SQL*Plus environment.
    The "code" that you are referring to is either SQL or PL/SQL, so you shouldn't limit yourself to thinking it has to be for SQL Developer or SQL*Plus. There are many front end tools that can all deal with the same SQL and/or PL/SQL code. Focus on the SQL and/or PL/SQL side of your coding and don't concern yourself with limitations of what tool you are using. We often see people on here who don't recognise these differences and then ask why their code isn't working when they've put SQL*Plus commands inside their PL/SQL code. ;)

  • Need to Put Some data in Properties File and Access it

    HI Friends,
    I want to store the data (servername,User id ) in Archana.properties file from WebDYnpro Application
    Pls let e know where to place the properties file and also let me know how to access the properties file from WD application and Modify it.
    I have tried placing in: src/mimes, Configuration etc...but i am unale to access it.
    Also If i access the properties file and update it, do i again need to deploy the WD application.
    Kindly let me know if there are any better methods to store key value pairs from the application.
    Regards,
    Archana

    HI,
    The better approch will be to store the .properties file into a known folder manually created in the server  where the Application is deployed?
    That means where?
    Itried placing my .prpoerties file at several places in my Project(Not server)- Mimes, Configuration, Packages.
    I tried the same kind of  code u specifed.
    But the file.exists returns false, though there is a file in the location.
    When i am trying with javaproject, it works but in webdynpro project, its says file not found
    Below is the code:
    package com.sap.demo.casestudy.wd;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Properties;
    public class ReadWriteArc {
    @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              WriteProperty("Key3", "Value3");
              String value=ReaddProperty("key2");
         public static void WriteProperty(String key,String value) {
              try {
                        Properties pro = new Properties();
                        File f = new File("C:/Users/i067753/workspace/720/workspaceSetUp.jdi/LocalDevelopment/DCs/demo.sap.com/casestudy/_comp/src/configuration/Archana.Properties");
                        //File f = new File("C:/Users/i067753/workspace/720/workspaceSetUp.jdi/LocalDevelopment/DCs/demo.sap.com/casestudy/_comp/src/mimes/Components/com.sap.demo.casestudy.wd.comp.webdynproappln.WebDynproAppln/Archana.Properties");
                        //File f = new File("C:/Users/i067753/workspace/720/workspaceSetUp.jdi/LocalDevelopment/DCs/demo.sap.com/casestudy/_comp/src/packages/com/sap/demo/casestudy/wd/Archana.Properties");
                        if (!f.exists()) {
                             System.out.println("File not found!");
                        } else {
                             FileInputStream in = new FileInputStream(f);
                             pro.load(in);
                             pro.setProperty(key, value);
                             pro.store(new FileOutputStream("Properties"), null);
                             System.out.println("Operation completly successfuly!");
               catch (IOException e) {
                   System.out.println(e.getMessage());
         public static String ReaddProperty(String key) {
              try {
                   String valuemessage=null;
                        Properties pro = new Properties();
                        File f = new File("C:/Users/i067753/workspace/720/workspaceSetUp.jdi/LocalDevelopment/DCs/demo.sap.com/casestudy/_comp/src/configuration/Archana.Properties");
                        //File f = new File("C:/Users/i067753/workspace/720/workspaceSetUp.jdi/LocalDevelopment/DCs/demo.sap.com/casestudy/_comp/src/mimes/Components/com.sap.demo.casestudy.wd.comp.webdynproappln.WebDynproAppln/Archana.Properties");
                        //File f = new File("C:/Users/i067753/workspace/720/workspaceSetUp.jdi/LocalDevelopment/DCs/demo.sap.com/casestudy/_comp/src/packages/com/sap/demo/casestudy/wd/Archana.Properties");
                        if (!f.exists()) {
                             System.out.println("File not found!");
                        } else {
                             FileInputStream in = new FileInputStream(f);
                             pro.load(in);
                              valuemessage = pro.getProperty(key);
                             System.out.println("Read completly successfuly! and the value is "+valuemessage);
                        return valuemessage;
               catch (IOException e) {
                   System.out.println(e.getMessage());
               return null;
    And from WD Application i called the class as:
    ReadWriteArc.WriteProperty(engname, reserveEngine1);
    Pls suggest if am making any mistake here
    U say Server, how can i do that?
    Regards,
    Archana:)

  • How we write into properties file using get class method

    Hi
    I want to set some value into properties file using given code
    can any one please tell me how i can do this.
    property file
    setting.properties
    Name     =     abc
    and code I use is
    java.io.InputStream oInputStream = this.getClass().getResourceAsStream("Setting.properties");
                   Properties obj = new Properties();
                   obj.load(oInputStream);
                   String myName = obj.getProperty("Name");
                   System.out.println("myName :"+myName);
                   obj.setProperty("Name","def");
                   FileOutputStream oOutput= new FileOutputStream("Setting.properties");
                   obj.store(oOutput, "");
    thanks.

    You can't.
    If you have properties that change dynamically, you should not be using a properties file that sits in the classpath, you should be using Preferences, or a properties file that sits in some application or possibly even user directory, but not one in the classpath. The proper way to do this, would be to have a properties file in your jar (or otherwise in your classpath) that contains the defaults, and another one outside of the classpath in one of the twwo above mentioned areas, then, you read the default one only if the other doesn't exist, or you read the default one first, then read the other overwriting the values from the defaults.
    Don't forget to save the properties again (right after loading if you loaded, or always load, the defaults) after every change.

  • HT1725 i recently downloaded an album from itunes but 5 of the songs won't completely play through when i try to listen to them. i don't know if the song files are damaged or what but what action should i take to repair the files or get my money back?

    i recently downloaded an album from itunes and from what it appeared, everything completely downloaded, but 5 of the songs won't completely play through when i want to listen to them. i don't know if the song files are damaged or what. what actions should i take to either repair the files or get my money back from itunes?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the corrupt tracks from the music section of your iTunes library, close & then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unchecked.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the "Report a problem" links in your account history, or via Contact Support.
    See also:
    HT5085 - iTunes in the Cloud and iTunes Match Availability
    HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • What is the best source to learn and advice to get Oracle 12c (OCA) certificate???

    Hi there,
    I hope all are running good.
    Actually, I'm a new in a Oracle career but I know all concepts of Databases and SQL.
    I'm planning to take a Oracle 12c (1Z0-061) (SQL Fundamentals) exam to achieve 12c OCA certificate but I'm bit confused in what source is best to learn it by self and what are tips to pass those all exam to lead me OCA certificate. Please, kindly provide your valuable opinions. Look forward to hearing your replies.
    Thanks

    The Oracle Press exam guide for 1Z0-061 is written, though of course there is all sorts of production stuff still to go. The 1Z0-062 guide (a lot longer!) is done except for the last two chapters. So both should be out in the near future. I know this because my buddy Roopesh is writing 1Z0-061, and I'm writing 1Z0-062. Bob Bryla's 1Z0-063 guide is bit later, the exam isn't in beta yet.
    As Philippe says, the OCA is not simple this time. Of course I can't reveal the exam content, but I think I can say that Oracle Uni is raising the standard with 12c .
    John Watson
    Oracle Certified Master DBA

  • JNDI properties not hard coded

    I'd like to sustain the portability of my web application so I don't want to hard code JNDI factory driver or provider URL into my application not even inside jndi.properties file. What are the solutions for not hard coding this information inside web application? Context init properties?

    That was my first approach and that's the solution if I need these parameters inside e.g. Servlet. But now I have one JavaBean functioning as ConnectionFactory that shares connection with all other Servlets and JSP-s but problem is that I don't know how to access the ServletContext of my application (for reading init parameters) from JavaBean (I don't want each time I need to use connection to send the same parameters). So, question is how to access the application init parameters from JavaBean?

  • Application specific key-value pairs in jndi.properties

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

    We have a similar problem.
    We would like to configure our PROVIDER_URL for a specific web application - not
    for the entire server. Since the URL should be different in development, test
    and production environments, we would prefer to just set it in the deployment
    descriptor. And we have a lot of code that just uses
    ctx = new InitialContext();
    when looking up EJBs, queues etc.
    Actually, to take the problem one step further, it should be expected that later
    we will have EJB's deployed on different machines/clusters - so we will actually
    need specific urls for each EJB.
    Is there a good way to do this? Or will we have to custom-develop our own jndi
    configuration standard using application parameters to set which JNDI provider
    each EJB should be looked up with?
    Alternativaely, can we "import" the JNDI trees of the app server in the JNDI tree
    of the web servers?
    So, how should we go about this?
    Robert Patrick <[email protected]> wrote:
    Vasim wrote:
    Hi Robert,
    You are right. But The object "myVar" which I am trying to look upis not in
    the JNDI tree nor am I interesed in binding it . But my requirementis that
    I have one application specific variable which I am trying to lookup and I
    dont want to have a separare config file for this..and hence the question..So, put the properties you want in the jndi.properties file and load
    the properties
    file from your code by doing something like this:
    Properties props = new Properties();
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    if (cl == null)
    cl = System.getSystemClassLoader();
    InputStream is = cl.getResourceAsStream("jndi.properties");
    props.load(is);
    Personally, I would not use this file and would create an application-specific
    file
    or, as Daniel suggested, define your properties as a System property
    and use
    System.getProperty("myVar").
    btw, is jndi.properties only for those objects which are bound to jnditree?
    jndi.properties is only used for creating the JNDI InitialContext. The
    whole idea
    of this file is that in remote client code (without the jndi.properties
    file), you
    need to do something like this to tell the JNDI classes how to connect
    to the JNDI
    provider:
    Properties props = new Properties();
    props.put(Context.PROVIDER_URL, "t3://myservername:7001");
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    InitialContext ctx = new InitialContext(props);
    but inside the server, you only need to do this because the server is
    the provider
    and already knows how to connect to itself:
    InitialContext ctx = new InitialContext();
    Therefore, the jndi.properties file allows you to externalize this property-setting
    code that sets up the properties to be passed to the InitialContext constructor
    so
    that the remote client code can now look exactly like the code inside
    the server.
    The InitialContext constructor will look for this jndi.properties file
    in your
    classpath and load it to get the necessary configuration information
    to determine
    how to connect to the JNDI provider.
    Hope this helps,
    Robert

  • Unable to access  Remote EJB with jndi.properties in classpath

    Hi
    I'm trying to use remote interfaces with my adf web layer.
    Created remote datacontrol for my model part and my model EAR is deployed in another Oracle App Server instance(S1).
    My web layer is deployed in another Oracle App Server(S2). My page def uses the remote interfaces.
    Following are the files which are needed to have ejb ref entry.
    ---- orion-web.xml ----
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"
    schema-major-version="10" schema-minor-version="0"
    servlet-webdir="/servlet/" >
    <ejb-ref-mapping name="MySessionEJB" location="MySessionEJB"
    remote-server-ref="true"
    jndi-properties-file="jndi.properties"></ejb-ref-mapping>
    </orion-web-app>
    --- web.xml ---
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.USE_APPLICATION_VIEW_CACHE</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>com.home.view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>PCF</filter-name>
    <filter-class>oracle.webcache.adf.filter.FacesPageCachingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>PCF</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>AFCStatsServlet</servlet-name>
    <servlet-class>oracle.webcache.adf.servlet.AFCStatsServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
    <jsp-config/>
    <ejb-ref>
    <ejb-ref-name>MySessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <remote>com.home.model.MySessionEJBRemote</remote>
    <ejb-link>MySessionEJB</ejb-link>
    </ejb-ref>
    </web-app>
    and this jndi.properties file in placed in the WEB-INF/classes folder.
    java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory
    java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=welcome123
    java.naming.provider.url=opmn:ormi://S1:6003:Test_Instance/test-ejb
    The same web application if I run it in Jdeveloper its able to open the welcome.jspx which calls the remote EJB method on load. But when I deploy it Oracle Server 10.1.3.1.0 the error "500 Internal Server Error" shows up and in log file following exception can be found
    avax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg
    =JBO-29000: Unexpected exception caught: javax.naming.NameNotFoundException, msg=MySessionEJB not found
    Seems like the jndi properties is ignored during the Context creation for lookup.
    Please advice where I'm missing the configuration.

    http://docs.sun.com/source/819-0079/dgjndi.html

  • Jndi.properties in the class path

    Hi,
    i deployed a webservice to the embedded oc4j in JDEV(10.1.3).
    Form this webservice an external oc4j (9.0.4) is looked up.
    First problem:
    I have some problems to initial the InitialContext. It seems to me that the jndi.properties file is not found.
    I think its perhaps a classloader problem.
    Second problem:
    If i hardcode the props, the extarnal oc4j is connected, but the lookup hangs up.
    May be it a the different versions are the problem.
    Any help appriciated.
    Thanks and regads
    Chris

    Ok. I finally i found a solution for the second problem, after i could take a look into the logs of the external oc4j.
    Thanks to heimberger and his blog.
    In 10.1.3 there where some changes to ormi (new protocol version 1.3). For a communication between 10.1.3 and older versions of oc4j a patch is needed. Its metalink 4676768. The older version must be able to negotiate the version of ormi.
    Hope that will do the job.
    But i still can not make the 10.1.3 embedded oc4j take the jndi.properties from the application classpath.
    I wonder if nobody has had the same problem.
    Regards
    Chris

  • Jndi.properties usage

    Hi,
    I've developed an EJB application and a WAR to access it with JBoss which uses the jndi.properties to lookup the "java.naming.provider.url". Everything works fine for now but I don't like including the jndi.properties file inside the War.
    For ease of use I'd like to have as an extra deployment step so you deploy both the WAR and the jndi.properties file so I can change what server it looks at for the EJBs.
    I'm sure this is simple to do through an XML file but I can't seem to find much online about how to go about it.
    Could someone point me in the right direction?
    Cheers,
    Joe.

    Sorry, that was badly worded.
    Basically I want to be able to do something similar to this deployment:
    jboss/server/<instance>/deploy/myWebApp.war
    jboss/server/<instance>/deploy/jndi.properties (for webapp)
    So I can change the server listed in the jndi.properties easily.
    What I have proposed above is obviously wrong as only XML and compressed files can exist in the deploy directory. This leads me to believe that there is an XML solution similar to the way DataSources can be deployed in the JBoss deploy directory.
    At the moment I'm thinking about putting a homemade XML file somewhere are reading it off disk with the jndi information. I want to know if there is a more standard way of doing this.
    Thanks for your response,
    Joe.

  • Sample weblogic jndi.properties for 7.0...

    I am looking for 2 things:
    1. what weblogic jars are required on the client to make a jndi lookup ?
    ( jndi specific jars )
    2. A sample jndi.properties file for weblogic.
    Thanks
    -- padhu

    I use the following properties to connect to the jndi tree.
            env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
            env.put("java.naming.provider.url", "iiop://localhost:18002");But!
    I don't see any of my jcd's when I walk this tree.
    Can anyone tell me why? I'm expecting to see a list of jcds.
    When I look into the sun-ejb-jar.xml file, I see that I should be able to lookup the deployed service with the following name;
    ic.lookup("java:comp/env/ejb/local/stc/testHarness3Deployment1/deployedServices/CMap1_Collaboration_11")Are my assumptions correct, or is my jndi knowledge faulty?

Maybe you are looking for

  • Notification Creation through another Notification

    Hi, While creating a Notification with reference Notification, is there a way to have some fields initial. I have one requirement that I need to create a new notification with respect to a certain completed Notification (Reference Notification at the

  • How to properly configure a home network using both Mac and PC computers

    Is there a book or set of guidelines that can tell me how to properly configure (exact specifications) my computers in a home network? Here is what I am trying to do and using: 1) Three computers: iMac (late 06 ver), Macbook (newest version), Dell la

  • Unable to right click a link and open in a New Window

    Hello, I've been having problems with FF when I right click a link on any site, and I want to "Open Link in New Window", but it never happens. Then I tried to right click the same link and I "Open Link in New Tab", which works. What happened? Did the

  • 20" w/ fx 5200 PC--resolution problem

    Im trying connect my 20" ACD to a PC with a Geforce fx 5200, but when the computer boots up the resolution is very low. It only allows 4-bit color and the lowest resolution. I cant change the options under control panel--displays--settings. Is the mo

  • Where does iDVD store my ingested video?

    I tried to do a One Step DVD, and I think ran out of storage as it was encoding. Now my hard drive is full. Where can I find the file of the ingested video so I can trash it? Thanks, Bart Garton