Strange current VI`s path returned in standalone application

I know that there is a difference in the path returned when using the "Current VIs path" in the development environment and in a standalone application, but this is not what I had expected: This is the path returned from the Current VIs path in the standalone application:
C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds\rad.exe\RADHAZ-programmer\RADHAZ\rad.vi. Why is this the correct path to the VI?
If I strip this path once, and build a new path with the name of my dynamically called VI  I get: C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds\rad.exe\RADHAZ-programmer\RADHAZ\instr.vi. It starts from this path, but It won`t load some text-files located at C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds\kal-data without making changes to the instr.vi.
I tried to used the App.Dir property to find the correct top level directory, and it returns C:\LabView-programmer\RADHAZ-programmer\RADHAZ\builds as expected. But this is not the path that the dynamically called VI need.
Any suggestions is appreciated..
I searched for a detailed tutorial for setting up the build specification, but didn`t find any that helped much.
Gunnar
Solved!
Go to Solution.

HI Gunnar,
have you tried the last point of the Advanced AppBuild settings as described in the help?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Current VI's Path returns location of original source file, not running exe.

    Running LV 2010.
    I have a VI that opens a PDF style manual when the user clicks a button.  My development project is set up with a main project folder, and 3 sub folders called Source, Application and Installer.  Of course, the source code is in the Source folder.  I also have a copy of the manual in the Application folder with the app.
    When run, the VI uses the Current VI's Path object as a starting point for where the manual is located.  The Current VI's path includes the Source folder in the path it generates.  This is not a problem when running the source code, as the VI is running from that folder.  Problem is, the Source folder is also included in the generated path at run time on the target machine running the exe.  There is no Source folder on the target machine, so I'm at a loss to explain why this is happening.  It's probably a setting in my application builder, but I can't find it.  Never had this problem before.  Can anyone help?  Thanks.
    Solved!
    Go to Solution.

    Start reading here.
    LabVIEW Champion . Do more with less code and in less time .

  • Wrong "Current VI's Path" in LV 2009

    Same program built with application builder works in LabVIEW8.2.1, but does not work in LV2009.An example is included in the attachment.
    The VI "Current VI'2 Path" returns correctly in development environment:
    F:\Projekte\LabVIEW\Test_2009\EvaluateProgramPath.vi
    If run as exe built in LV2009 (and also built as installer), it returns an unusable output:
    F:\Projekte\LabVIEW\Test_2009\builds\EvaluateProgramPath.exe\EvaluateProgramPath.vi
    In LV8.2.1 and all earlier versions, the *.exe returned exactly, where the *.exe resides.
    Many of our existing LV programs depending on this VI can't be migrated to LabVIEW2009.
    Does somebody know a solution or patch without changing existing sources?
    Thanks for any tip.
    Klaus 
    Message Edited by Mezger on 08-25-2009 06:31 AM
    Solved!
    Go to Solution.
    Attachments:
    PathProblem_2009.zip ‏162 KB

    Mezger wrote:
    In LV8.x there was the path to the *.exe only, what also made sense.
    Klaus
    Maybe in a parallel dimension but NOT in any time and space that I have been in.
    I have a a re-use VI that I have been using since LV 6.0 to resolve the differences in paths between the development and exe environments. i see no difference or bug.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Need Help ::  Current row attribute value returning null

      Hi Frds,
    I am facing the problem that
    Current row attribute value returning null............ even though value is there..... plz.. he
    This is the code in PFR
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
        String  pPersonId = pageContext.getParameter("ctrlPersonId");
         String rowReference = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);
         OptionsVORowImpl curRow = (     OptionsVORowImpl) am.findRowByRef(rowReference);
        String dtlsItem =  (String)curRow.getFlexValue();   /*  this is returning null value */
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks & Regards,
    jaya
    Message was edited by: 9d452cf7-d17f-4d1e-8e0e-b22539ea8810

    Hi Jaya,
    You want to catch Flexfield values?
    Try below code for catch value.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
    OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)webBean.findChildRecursive("flexDFF"); //get the DFF bean
    OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("flexDFF0"); //get the field that applies to the attribute1 column that is being rendered
    OAMessageStyledTextBean Stylebean = (OAMessageStyledTextBean)dffbean;
    String dtlsItem  = (String)Stylebean.getText(pageContext);
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks,
    Dilip

  • Current VI's Path Constant Error 7

    im using current vi's path like the answer to question# 34 in the CLD-R sample exam, but does not work? can anyone explain...
    here is what i got, it's trying to append to the main vi itself....
    the correct vi is....
    does it have anything to do with it being a "LV 2011 ser. pack1, development system"? or is question #34 the wrong answer? Append File Path for a File in the Same Folder
    Attachments:
    cldr_sample_exam.pdf ‏1145 KB

    I'm not digging up the exam that you referenced, but if it is saying what you said it is, the exam is wrong (not a big surprise).  The Current VI's Path is the path to the VI itself.  So it would be "c:\temp\blah.vi" (just as an example).  You need to strip off the VI name in order to get its folder.  It has always been this way.
    Now in the EXE, the rules are a little different since the VI is inside of the EXE.  It gets a little more complicated.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • Xp20:current-dateTime dose not return actual time in daylight saving

    Hi,
    I have observed that xp20:current-dateTime dose not return the actual time in daylight saving. e.g. when the system time is 14:43:00 the xp20:current-dateTime function returns 15:43:00 i.e. additional 1 hour. Is this a known issue? How to prevent this from happening?
    Thanks in advance.

    Hello,
    I've the same problem. This occurs in BPEL middle tier instalation
    ( Linux x86 timezone set to Europe/Prague)
    and also in JDeveloper > Test xsl form. ( Localised Win XP SP2)
    BPEL version is 10.1.2.0.0.
    In our country we have now CEST ( Central European Summer Time) = GMT +2:00.
    xp20:current-dateTime returns for example 2006-06-27T13:10:15+01:00
    The time 13:10:15 is correct time in our timezone, but timezone +01:00 is not correct.
    Timezone should be +02:00. (?)
    When I insert this dateTime into database table, I have incorrect value there.
    Is there any way to solve this problem? ( any settings ...?)
    Regards
    Karel

  • Dynamically loading help file from standalone application

    Hello All;
    I have written into my VI an option to load a help file (.chm) from my main application using the 'Open URL in Default Browser.VI'.  When I am in Development Mode, this works perfectly.  However, after I have compiled my VIs into an executable, this no longer works (i.e. nothing loads).  I am wondering if since the CHM file is not a default LabVIEW VI/LLB if this is where my problem is?  I have attached a BMP which shouls what I am doing.
    I did manage to get the CHM file to install with my application, but as mentioned, it will not load.  I have also attached a bitmap showing my build properties for this.
    Any assistance would be greatly appreciated.  Thanks.
    DJH
    Attachments:
    Loading CHM Files.zip ‏28 KB

    The change required for path information is really not all that hard to understand. If you use something like Current VI's Path, it will return c:\folder\example.vi. When an exe is created, each VI is put into the exe which is really a type of llb file. To prove this, just change the extension to llb and you can view the contents just like like any other llb file. Then the Current VI's Path will return c:\folder\application.exe\example.vi. So, the extra strip path is required to get the folder name. Using the application property App.Kind in your program allows the same program to work in the development mode ans as an exe. It would be difficult for the app builder to automatically add a strip path because it be next to impossible to know what the purpose of the Current VI's Path function is intended by the programmer. You can also simulate the behavior of the app builder by creating an llb and testing all of your path's there before doing the build. Also, by default, the app builder does create a \Data folder but when you do the build, you can change where certain files get installed to.
    Message Edited by Dennis Knutson on 05-22-2006 08:44 AM
    Attachments:
    Strip Path.JPG ‏10 KB

  • DAQmx drivers needed to calculate statistics in a standalone application ?

    Hi!
    My standalone application analyzes measured data and saves statistics into Access database. It uses Statistics express VI, among the others. It does not use any data acquisition library. I've made an installer to install it on my customer's computer. After installation I tried to run the application but an error occured (see below).
      Well, it works now (after few hours). But my opinion is that my solution is a little bit strange: I simply installed DAQmx drivers.
    1. Is this a bug ?
    2. How to explain my customer why does he need 1GB of hardware drivers ?
    Fortunately, It was not necessary to use any special procedure tu run Database Connectivity Toolset: see this link, for example
    Best regards ,
    Ljubo.
    P.S.: Developer Suite 8.6, Win XP Pro, DAQmx 8.8, MS Office 2003.

    Hi Dennis,
    let me repeat the whole story once again:
    About
    two years ago the same problem occured (with LabView 7.0 or 8.0, I
    don't know exactly). Our local NI representative happened to be present
    and we discussed the problem but we didn't find the solution. Instead
    of using Statistics Express VI I made my own subVIs and the problem was
    solved (and forgotten).
    I've already checked my
    customer's computer this morning and everything seems to be OK. DLL
    library lvanlys.dll is installed in "data" folder. 
    To eliminate unnecessary details I've created a new project (see the attachment, please).
    I
    installed the program on my colleague's PC (my colleague never used
    LabView in his life). The result is the same. You can see the error
    report in the second attachement.
    Then I've copied lvanlys.dll
    file to all folders where programs usually search libraries: Windows,
    Windows\system, Windows\system32 and Program Files\Mean4V. But program
    can't find the library NI_AALBase.lvlib.
    Obviously,
    installation of DAQmx drivers adds something which is missing in my
    build specification. I hope someone could explain what I'm doing wrong.
    With best regards, 
    Ljubo.
    Attachments:
    Mean4values.zip ‏50 KB
    Error_missing_subvi.jpg ‏62 KB

  • Standalone application questions

    Hi,
    Question 1:
    I have a data acquisition application using Labview. Four analog channels are recorded on HDD and displayed on waveform chart continuously.
    Development application runs fine but standalone application on DELL laptop has problems: waveform does not show proper Grids; sometimes vertical and horizontal grid lines are broken. There is no problem recording data but only problem is displaying waveform.
    The same standalone application used to run without any problem but after some minor modification, it behaves strange.
    Any suggestions to fix the waveform display problems will be greatly appreciated.
    Question 2:
    �VI Property > Customize Windows Appearance > Show abort button� unchecked will disappear ABORT
    button from VI. .After standalone application compilation and installation, the ABORT button was visible. How hide the ABORT button on the standalone application.
    Question 3:
    Can I replace Labview default RUN button with custom button, I want to hide Labview default RUN button and want to make a separate RUN button. Can I access property node or local variable of that RUN button?
    Thanks in advance,
    Kishor

    About question 1.
    I had some strange behaviour with charts and transparent backgrounds.
    Perhaps it's something like this...
    About question 2.
    Perhaps you have made a build script that has the properties set. After
    changing the VI, loading the build script might overwrite the VI settings.
    About question 3.
    You should modify the VI to wait for a button to be pressed (a while, 10 MS
    wait, and a button). Let the VI start automatically (run when opened). This
    has the same effect.
    Regards,
    Wiebe.
    "Jeremy Braden" wrote in message
    news:[email protected]..
    > 1. The VI may have been corrupted after your minor changes. Do you
    > have an old copy of the good code. You can also copy the block
    > diagram of th
    e bad VI to a new VI and build an executable from the new
    > VI. Also do you see the same behavior with the classic waveform
    > chart? What happens if you build a new LV executable with dummy
    > information going to the chart?
    > 2. The tests I ran showed that you can make the abort button
    > invisible with the steps you mentioned. Do you think that you may
    > have not saved your changes?
    > 3. You cannot replace the run arrow. Atleast not from a nice
    > integrated published solution sort of way. There are no properties
    > for the run arrow.

  • How to call a servlet  by  java standalone application

    //program related to calling a servlet by java standalone application and printing the response on console
    import java.io.*;
    import java.util.*;
    import java.lang.Object;
    import java.net.*;
    public class Program
         public static void main(String s[])
         System.out.println("Hello this programm defines about how to call a servlet with a java application ");
         try{
              URL servlet = new URL("http://localhost:8080/anchor/studentform.html");
              URLConnection conn=servlet.openConnection();
              conn.setDoOutput(true);
              InputStreamReader isr=new InputStreamReader(conn.getInputStream());
              BufferedReader br = new BufferedReader(isr);
              String str =br.readLine();
              System.out.println("Source code is" +str);          
         catch(IOException e)
         System.out.println("exception is" +e);
    i am able to read only one line of the form, please help me out to read the whole form (file)

    You are only reading one line? Why aren't you reading the data in a loop? E.g. a while loop. (Keep reading till readLine returns null)
    Kaj

  • Ejb in standalone application

    hello
    does anybody know how to make a standalone application, with ejb classes as domainobjects, run?
    currently i keep on getting the same error:
    Exception in thread "main" java.lang.IllegalArgumentException: Unknown entity bean class: class be.roularta.scenario.domain.Definition, please verify
    that this class has been marked with the @Entity annotation.
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.findInternal(EntityManagerImpl.java:266)java version is 1.5.0
    can anybody help me ?

    Hi Martin,
    I am trying to do something similar and got the same exception.
    java.lang.ClassCastException
         at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
         at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
         at com.sap.ip.bi.sdk.datasource.beans.TestJ2EE.getSystems(TestJ2EE.java:124)
         at com.sap.ip.bi.sdk.datasource.beans.TestJ2EE.<init>(TestJ2EE.java:67)
         at com.sap.ip.bi.sdk.datasource.beans.TestJ2EE.main(TestJ2EE.java:146)
    The code snippet:
    Properties props = new Properties();
              props.put(Context.INITIAL_CONTEXT_FACTORY,
                        "com.sap.engine.services.jndi.InitialContextFactoryImpl");
              props.put(Context.PROVIDER_URL, "localhost:50004");
              props.put(Context.SECURITY_PRINCIPAL, "Administrator");
              props.put(Context.SECURITY_CREDENTIALS, "");
              try {
                   Context ctx = new InitialContext(props);
                   Object obj = ctx.lookup("BI_SDK_CAF");
                   IBI_CAF_Home boxHome = (IBI_CAF_Home) PortableRemoteObject.narrow(obj,
                             IBI_CAF_Home.class);
                   BI_CAF_Bean bean = (BI_CAF_Bean) boxHome.create();
              } catch (Exception e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
    I tried doing the "get client jar" and putting it in the classpath but that did not work.
    Am I missing something else?
    Regards,
    Anweas

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • Looking for a standalone application/system menu

    Most (all?)  desktop environments features some kind of application menu in the panel. But for the people running more lightweight environments (like just a tiled wm) have no reason to have an extra panel around just for the menu.
    I know about application launchers, such as launchy and gmrun, but the thing I'm looking for is something that could give me a list of all "bigger" programs installed, grouped by category. Because, simply, I can never remember all stuff I've installed over the years.
    So I'm thinking: there must be someone out there that has developed a standalone application menu?
    Either the program could just scan the "/usr/share/applications" direcotry, or one could try to extract the menu part from a panel program, such as lxpanel?

    Hey, adeskmenu seem to be exactly what I'm looking for! Thanks a lot! :-)
    (now just need to find out why the aur version crashes... no problem, though. seems to be other versions around that works)

  • Standalone application can't get JDBC data source from Weblogic 10.3

    We have the following configuration :
    A Weblogic server 10.3 (default installation).
    The server contains a JMS queue (jndi name: "DMQ") and JDBC data sources (jndi names: Oracle thin XA - "dataSource", MS SQL - "dataSource1")
    We have built wlfullclient5.jar for Java 1.5 ([http://edocs.bea.com/wls/docs103/client/jarbuilder.html#wp1078122]) (according to the docs)
    And now we use a test standalone application with the wlfullclient5.jar :
    public static void main (String[] args) throws NamingException {
    bq. Hashtable&lt;String, String&gt; env = new Hashtable&lt;String, String&gt;(); \\     env.put(Context.+INITIAL_CONTEXT_FACTORY+, "weblogic.jndi.WLInitialContextFactory"); \\     env.put(Context.+PROVIDER_URL+, "http://serv1:7001"); \\     env.put(Context.+SECURITY_CREDENTIALS+, "weblogic"); \\     env.put(Context.+SECURITY_PRINCIPAL+, "weblogic"); \\     InitialContext ic = new InitialContext(env); \\ \\ System.+out+.println("Get DMQ"); \\     ic.lookup("DMQ"); \\ System.+out+.println("Get dataSource"); \\     ic.lookup("dataSource");
    bq. System.+out+.println("Get dataSource1"); \\     ic.lookup("dataSource1"); \\ System.+out+.println("Done"); \\
    Here is the output when connected to WLS 10.3:
    bq. Get DMQ \\ Get dataSource \\ Exception in thread "Main Thread" java.lang.AssertionError: Failed to generate class for weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:790_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_) \\ Caused by: java.lang.reflect.InvocationTargetException \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:381_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:26_) \\ Caused by: java.lang.ArrayIndexOutOfBoundsException: 6 \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.ensureInitialized(Unknown Source) \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.&lt;init&gt;(Unknown Source) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_)
    But at the same time the output when connected to WLS 10.0 is :
    Get DMQ \\Get dataSource \\Get dataSource1 \\Done
    (so that the test passed)
    Could you give me a piece of advice ?
    Thanks,
    Sergey

    I hit the same problem as yours. This issue is caused by JDK version. The JDK used by Weblogic 10.3 is java 6, while your client program's jdk version is java5. So change the both of them to java 6. This issue will be fixed.
    Don't forget to rebuild the wlfullclient.jar which also should be java 6.
    Good luck!

Maybe you are looking for

  • Printer spreads in InDesign CS4 to PDF

    I have created a 12-page booklet in InDesign CS4. My printer only has CS3 and says they can't open the InDesign file I sent them, even though I sent a .inx file (made from exporting the file as cs3). I sent them a press quality pdf and they said they

  • Stop sleep mode when screen closed

    How do I stop my Macbook Pro going to sleep when I close the lid when I use an external monitor via the Miniport? Thanks Mick

  • Best replication method to move data to DW

    DB version: 10.2.0.4 We have OLTP and DW running on different Oracle databases of same version. I want to move the few tables (one-fourth of the tables in a schema) to DW periodically / realtime. I have a plan to implement the Oracle Streams. But, th

  • Bring window to the front

    Hi,   I want to bring the window to front when it is behind the window as well as when it is minmized. I have done for minimized state. But i was not able to bring the window to front when it is behind some window. Thanks & Regards, Jayagopal.

  • Application Builder (Bug)- Edit Region Comment getting ORA-01461

    When i edit a Region and saving it with a long comment (5366 chars) iam getting this error Fehler beim Verarbeiten von Zeile. ORA-01461: Ein LONG-Wert kann nur zur Einfügung in eine LONG-Spalte gebunden werden We are using Application Express 4.1.0.0