Edit JNDI properties in Oracle9i Jdeveloper

Hi All,
When create a client for EJB in Oracle9i JDeveloper Version 9.0.3, adds in code in each client created to set the JNDI properties. I want to know from where and how does the OC4J server read these JNDI parameters from. Is there any file like "jndi.properties" from where the server reads the parameters.. ???. Is it possible to edit these sever settings(regarding JNDI parameters). If yes please let me know as to how this could be achived.
Thanks in advance,
Reshma

Hi All,
When create a client for EJB in Oracle9i JDeveloper Version 9.0.3, adds in code in each client created to set the JNDI properties. I want to know from where and how does the OC4J server read these JNDI parameters from. Is there any file like "jndi.properties" from where the server reads the parameters.. ???. Is it possible to edit these sever settings(regarding JNDI parameters). If yes please let me know as to how this could be achived.Inside the server they are set automatically. If you want to override them, you have it do it programatically when you create the initial context.
Rob

Similar Messages

  • How to edit breadcrumb properties like " " symbol in JDeveloper.

    Hi, the problem is that I can not edit certain properties breadcrumb, like spaces or ">" symbol. I have change the css style to my own style. When I use oracle style it's work.
    For example.
    1) Html generated with oracle style.
    P1 > P2
    2) Html generated with my own css.
    P1P2
    As can you see, the line "  >  " have dissapear. Are there some template or file to define this line?, what I need to do to place this line?.
    I 'm lost.
    Thank you.
    ADF Business Components     10.1.3.41.57
    BPEL Designer     10.1.3.3.0 (Build 070615.0525)
    CVS Version     Internal to Oracle JDeveloper (client-only)
    Java(TM) Platform     1.5.0_06
    Oracle IDE     10.1.3.41.57
    Struts Modeler Version     10.1.3.41.57
    UML Modelers Version     10.1.3.41.57
    Versioning Support     10.1.3.41.57
    Message was edited by:
    pakitwo

    I found the answer:
    Write in your own .css file:
    "af|menuPath::separator-icon {content:" > ";}"
    and breadcrumb will get this value

  • Problem with the JNDI properties while executing a client test

    Hello Everybody,
    I'm trying to learn Jdeveloper, and I have followed the tutoriel " Learn Oracle Fronn Oracle" Volum 2, so i am trying to create a simple oriented bean message with EJB 3.0, and a client test to deliver a message, and the problem is that i can't display my message in the Embedded OC4J WINDOW.
    This is the errors displayed:
    Line:-----
    D:\jdevstudio10132\jdk\bin\javaw.exe -client -classpath D:\jdevstudio10132\EJB30MDB\SimpleMDB\classes;D:\jdevstudio10132\j2ee\home\lib\ejb30.jar;D:\jdevstudio10132\j2ee\home\lib\activation.jar;D:\jdevstudio10132\j2ee\home\lib\ejb.jar;D:\jdevstudio10132\j2ee\home\lib\jms.jar;D:\jdevstudio10132\j2ee\home\lib\jta.jar;D:\jdevstudio10132\j2ee\home\lib\mail.jar;D:\jdevstudio10132\j2ee\home\lib\servlet.jar;D:\jdevstudio10132\rdbms\jlib\aqapi.jar;D:\jdevstudio10132\toplink\jlib\toplink-essentials.jar;D:\jdevstudio10132\j2ee\home\oc4j.jar;D:\jdevstudio10132\j2ee\home\oc4jclient.jar;D:\jdevstudio10132\j2ee\home\lib\javax77.jar -Dhttp.proxyHost=10.0.0.99 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|127.0.0.1|doi-sonia -Dhttps.proxyHost=10.0.0.99 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=localhost|127.0.0.1|doi-sonia oracle.mdb.jmsclient.TestJMSClient
    Looking up TCF
    javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at com.evermind.naming.FilterContext.lookup(FilterContext.java:126)
         at com.evermind.server.ApplicationClientContext.lookup(ApplicationClientContext.java:63)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at oracle.mdb.jmsclient.TestJMSClient.main(TestJMSClient.java:20)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 5 more
    Process exited with exit code 0.
    Line:-----
    and and there is the TestJMSClient code:
    Line:-----
    package oracle.mdb.jmsclient;
    import javax.jms.Connection;
    import javax.jms.ConnectionFactory;
    import javax.jms.Destination;
    import javax.jms.Message;
    import javax.jms.MessageProducer;
    import javax.jms.Session;
    import javax.jms.Topic;
    import javax.naming.InitialContext;
    public class TestJMSClient {
    public static void main(String[] args) {
    try {
    System.out.println("Looking up TCF");
    ConnectionFactory connectionFactory =
    (ConnectionFactory) new InitialContext()
    .lookup("jms/TopicConnectionFactory");
    Connection connection = connectionFactory.createConnection();
    connection.start();
    System.out.println("Starting Topic Session");
    Session topicSession = connection.createSession(false,
    Session.AUTO_ACKNOWLEDGE);
    Destination topic = (Destination)new InitialContext().lookup("jms/demoTopic");
    MessageProducer publisher = topicSession.createProducer(topic);
    Message message = topicSession.createMessage();
    message.setJMSType("theMessage");
    message.setLongProperty("time", System.currentTimeMillis());
    message.setStringProperty("subject", "Test EJB 3.0 MDB");
    message.setStringProperty("message",
    "Test message Send to first EJB 3.0 MDB");
    publisher.send(message);
    System.out
    .println("Message Sent to JMS Topic, Check Server Console to See whether MDB got activated!");
    publisher.close();
    topicSession.close();
    connection.close();
    }catch (Throwable ex) {
    ex.printStackTrace();
    Line:-----
    I am not sure if the JNDI properties should have a correct configuration to make this application work:
    Line:-----
    java.naming.factory.initial=oracle.j2ee.naming.ApplicationClientInitialContextFactory
    java.naming.provider.url=ormi://localhost:23891/current-workspace-app
    java.naming.security.principal=oc4jconn
    java.naming.security.credentials=welcome
    Line:-----
    Above, it's the code given by the tutoriel, i change welcome by my pass word, but the problem still existing.
    Any idea or help would be greatful
    Thanks

    I use Oracle Jdeveloper 10.1.3.2.0 , Oracle 10g(10.2) Express Edition and PL/SQL Developer V: 7.1.0.13337, XP as OS .
    this is my netstat-a cmd, i expect you can answer, if you want any information about my system, ask me and i will answer you, thanks a lot:
    Connexions actives
    Proto Adresse locale Adresse distante Etat
    TCP est-tatia:epmap est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:microsoft-ds est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1053 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1110 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1521 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:8888 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:9127 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:19780 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:23791 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:23943 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:netbios-ssn est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1056 est-tatia.ABL.local:1521 ESTABLISHED
    TCP est-tatia:1059 10.0.0.101:13000 ESTABLISHED
    TCP est-tatia:1387 10.0.0.101:epmap TIME_WAIT
    TCP est-tatia:1388 10.0.0.101:1026 TIME_WAIT
    TCP est-tatia:1390 10.0.0.101:epmap TIME_WAIT
    TCP est-tatia:1391 10.0.0.101:1026 TIME_WAIT
    TCP est-tatia:1521 est-tatia.ABL.local:1056 ESTABLISHED
    TCP est-tatia:1038 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1044 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1132 localhost:1521 ESTABLISHED
    TCP est-tatia:1137 localhost:1138 ESTABLISHED
    TCP est-tatia:1138 localhost:1137 ESTABLISHED
    TCP est-tatia:1139 localhost:1140 ESTABLISHED
    TCP est-tatia:1140 localhost:1139 ESTABLISHED
    TCP est-tatia:1385 localhost:1386 ESTABLISHED
    TCP est-tatia:1386 localhost:1385 ESTABLISHED
    TCP est-tatia:1389 localhost:23791 ESTABLISHED
    TCP est-tatia:1521 localhost:1132 ESTABLISHED
    TCP est-tatia:8080 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:23791 localhost:1389 ESTABLISHED
    TCP est-tatia:30523 est-tatia.ABL.local:0 LISTENING
    UDP est-tatia:microsoft-ds *:*
    UDP est-tatia:isakmp *:*
    UDP est-tatia:1025 *:*
    UDP est-tatia:1026 *:*
    UDP est-tatia:1151 *:*
    UDP est-tatia:4500 *:*
    UDP est-tatia:15000 *:*
    UDP est-tatia:15001 *:*
    UDP est-tatia:ntp *:*
    UDP est-tatia:netbios-ns *:*
    UDP est-tatia:netbios-dgm *:*
    UDP est-tatia:1900 *:*
    UDP est-tatia:ntp *:*
    UDP est-tatia:1027 *:*
    UDP est-tatia:1048 *:*
    UDP est-tatia:1287 *:*
    UDP est-tatia:1289 *:*
    UDP est-tatia:1900 *:*
    **************************************************************************

  • 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

  • Error: jndi.properties (No such file or directory)

    Hi,
    I created my EJB and a desktop application in the NetBeans.
    I load my EJB on GlassFish
    I still load my appCliente on NetBeans, nice it works.
    But when I try to run my appClient just clicking on its icon in
    its directory it doesn't work.
    The message is jndi.properties (No such file or directory), but
    the file is there.
    My peace code:
    Properties props = new Properties();
    try{
    props.load(new FileInputStream("jndi.properties"));
    TesteEJBRemote t = (TesteEJBRemote) new InitialContext(props).lookup("Teste");
    jTextField2.setText(t.getMessage() + t.toString());
    }catch (IOException ex) {                                       
    //atxErros.setText(ex.getMessage());
    Logger.getLogger(frmFrame.class.getName()).log(Level.SEVERE, null, ex);
    jTextField2.setText(ex.getMessage());
    } catch (NamingException ex) {                                       
    //atxErros.setText(this.atxErros + " " + ex.getMessage());
    Logger.getLogger(frmFrame.class.getName()).log(Level.SEVERE, null, ex);
    What shoud I do?

    I've looked into Oracle Database 10g Express Edition (Universal), a .deb file, found no occi.h but did find lots of .so files (linux shared libraries). I'll try and adapt my code and Netbeans/g++ to that and see if it works...
    I can't really install it since my 4GB computer is x64 and my i386 "only" has 186RAM... Enterprise Linux Release 5 Media Pack for x86 64 (64 bit) is 5.1GB+updates (~5GB each)... Not gonna waste my time installing that just for a project.
    I sense i'm missing something obvious... although there's nothing obvious about *.oracle.com... information company they say? ;)

  • Cannot edit folder properties more than once???

    If I edit a folder property so that the links opens in the same folder area, it gives me the following error if I try to edit the properties again.
    An Unhandled Exception has occurred. ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    And for the same folder I get the following error if I click to preview it while editing.
    Error: Call to utl_http failed (WWS-32136)
    ORA-1: User-Defined Exception (WWC-36000)
    If anyone has a workaround for these errors, it will be appreciated.
    -Viral

    Hi ell_ell_tee,
    I just checked it works fine for me. I used this page actually. Have you checked to see if it is just the particular website that you were looking at? It could be an isolated incident.
    You could also try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    Hopefully this helps!

  • How to edit hyperlink properties in Acrobat Pro 9?

    I'm trying to edit a PDF document (generated from Windows Word) on my Mac with Acrobat Pro 9.
    What I want to do is make the borders invisible, because in Mac Preview the hyperlinks appear with ugly boxes around them. Apparently when no borderWidth property is set, Acrobat Reader defaults to a value of 0, but Preview defaults to a value of 1.
    I selected Tools > Advanced Editing > Link tool and can see all the hyperlink boxes.
    But I can't find a way to edit their properties.
    I tried double-clicking on the rectangles, which is what it says to do in the manual, but nothing happens.
    I tried control-click on a rectangle and a dialog pops up. I select properties from the dialog, but no properties appear.
    Anybody know how to get this to work?
    Thanks,
    doug

    Wow GQDiaz,
    What a wonderful gift you have given us! You have saved me hours of shuffling pages one by one between large cumbersome document scans.
    Your script works like a dream. Thank you for this gift.
    With kind regards,
    jaxios

  • How to view database table in oracle9i Jdeveloper

    Hi,
    how to view database table in oracle9i jdeveloper,any manual setting .please help me.
    thanks
    saran.

    In Jdeveloper go to View-->Connection Nevigator. there you will see all kind of connctions. Expand Database and check if your DB connection is present there. If not, you need to create using right clicking on Database and choose New Database Connecton. Here few screens will be there where you need to put the TNS entries of your database.
    Once DB connection is created, you can expand the connection by clicking on + icon and you can see different available schema objects. Again you need to expand Tables and you can look for specific table in there.
    Hope this clears your doubts.
    Thanks,
    Mukesh Uchaniya

  • Queries related to Bi Beans using Oracle9i JDeveloper

    Queries related to Bi Beans using Oracle9i JDeveloper [5.0.581]
    1. Is Asymmetric Report feature is available in Oracle
    JDeveloper(BIBEANS)?
    2. Is Write Back feature is available in Oracle9i JDeveloper
    using BiBeans?
    3. Is it possible to use HotSpots feature in Oracle9i JDeveloper
    (BIBEANS) ?
    4. Is it possible to use On the Fly Aggregation feature in
    Oracle9i JDeveloper(BIBEANS) ? or We need to use Meterialized
    Views or Summary Tables for Aggregation ?
    5. Is any documents/steps available for JDeveloper Reports Web
    Publishing and JDeveloper Report Integration with portal ?
    6. Is any document/information available on JAVA OLAP API for
    Report customization.
    7. Is it possible to insert a ROW/Column dynamically in a
    Report ?
    10.Is it possible to generate Arabic Reports(with Numeric Data
    in English and Dimesions(labels) in Arabic).pl provide some
    doccuments on this topic.
    11.In Formating option there are 13 types of currencies
    provided.but there is no 'Rs'(Rupees) and 'Kd'(KuwaitiDinar).is
    it possible to attain?
         If yes,can i get any examples and related documentation
    on the above features ?
    Thanks for time and help
    Regards
    Raja

    The user that owns the cubes and dimensions must have the role OLAP_USER so that the OLAP API can view the required information which is actually stored in a series of tables owned by the user OLAPSYS. This schema is usually referred to as the CWM catalog. I think the OLAP documentation explains the views that are part of this schema.
    At risk of being rude - why are you creating a relational model? It is much easier to store your model within an 10g R2 Analytic Workspace. This is much more performant and provides greater functionality compared to ROLAP solution.
    Watch out for Enterprise Manager (OEM) when deleting cubes and dimensions. I have had some very bad experiences with OEM not removing all the elements of a dimension or cube from the CWM catalog, even though the nodes in the OEM navigator tree do not show any dimensions or cubes.
    Then when you try to connect to an OLAP schema with BI Beans you got some very serious java exception errors relating to corrupt metadata. At this point you have to use the OLAP PL/SQL packages to clean up the CWM catalog to remove all the invalid dimensions and cubes. It is not that difficult to do just takes a bit of time.
    Hope this helps
    Keith

  • How to edit the properties.

    I installed a tool in LiveCycle called "LiveCycle Workbench". I dont know how to edit the properties of Reader Extensions server and deselect [CommentsOnline] through Workbench. Please kindly advice me in detail with examples or samples.
    Thanks,
    Prabudass

    This is the Help topic for the Apply Usage Rights operation that the Reader Extensions service provides:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000949.html
    If you are new to LiveCycle, you should work through this tutorial to learn the basics:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000405.html
    Scott

  • Can you edit file properties using Labview?

    Except for the file attributes like 'read-only' and 'hidden', Windows 2000 & XP also have file properties like 'keywords', 'comments' and 'description'.
    Is there any way that I can edit these properties in Labview?

    RichElswick wrote:
    nope, we never got that far and I am no longer on that project.
    And it would be a bitch to implement. Basically those properties are implement using propertysheet handlers. That are shell extensions that can be installed in Windows and in the registry added to one or more file types. On loading the property dialog the shell (basically only an Explorer thing) sees that for that specific file type there are property sheet handlers registered and then loads them as an extra property sheet into the dialog.
    There is no common API to retrieve and lets forget about changing the information those property sheet handlers deal with programmatically. And every property sheet handler retrieves the actual properties according to his own private information, such as image properties in JPG files but possible also extra information in the meta data of a file on advanced files systems such as NTFS (the security property sheet for instance).
    So you would have to create a Windows dialog, load the according property sheet handlers into it and then have the user deal with that interactively. I doubt that this is what you want.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • 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

  • Application specific key-value pair 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

    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

  • 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.

  • Bulk Edit Image Properties

    I'm creating a site with numerous slideshows (sometimes with 50 pictures or more) and it's looking like the only way to enter the image properties is to click on each thumbnail image to bring it up at the top and then right click on it and go to image properties.
    Please someone tell me there's a better, more efficient way to do this!
    Thanks

    mykellysue, I think you may have misunderstood the original post and Sachin's reply. The original post was about setting the properties of an image (referring to alternate text and/or tooltip text). Those properties are normally set by right clicking on an image, selecting "Edit Image Properties" and entering the values. In this case the customer had many images. In that case you can select multiple images in the Assets panel and set their properties all at once.
    As far as how to use a Composition widget, a composition widget is made up of a set of related containers. A trigger container (which you click on or mouse over) and a target container (which appears in response to interaction with the trigger.
    For the most part you can put anything you want in the trigger container or the target container and you can add or remove pairs of containers to/from most Composition widgets.
    Some of the Composition widgets in the Widget Library panel contain sample content. Ultimately these are just samples. You can select and delete the sample content and drag in whatever is needed for your design.
    There are tutorials and videos available at muse.adobe.com.

Maybe you are looking for

  • Want to upgrade from Tiger to Leopard and have questions...

    I recently purchased an Airport extreme after my previous router/wifi unit went up in smoke. Had to use the PC with XP to set it up as the iMac has 10.4.11 and I supposedly need 10.5.x to setup the airport with the iMac. From reading the upgrade spec

  • Include .PDF file in JSP

    Am I able to include .pdf file in a .jsp page? If it is yes, how to do it?

  • Access Point Coverage Area

    Hi I want buy an Access point which cover 300 Meter coverage Area. Have any data sheet or link where I can found which AP coverage how many Area, Like 1042 Access Point cover how many Feet Space. Please Help. Regards Iqbal

  • Can I print mailing labels with a "The ____ Family" as the name?

    I know how to print mailing labels from my contacts, but I would like to be able to print the labels showing only the last name of the person inserted into "The ___ Family" in life of the full name.  Like The Smith Family rather than Bill Smith.  I w

  • Will new photos run in a slideshow displayed while shooting tethered?

    basically the title says it all.  I understand this functionality was included in Lightroom 4, but was dropped in the initial release of Lightroom 5.   Did it make it back in during subsequent patches?