Trouble with deploying a standlone Java app/client that calls an EJB

Hey guys,
I am well aware that there are many topics that are quite similar to this topic that I am posting but the fact of the matter is I have failed to procure a satisfactory answer.
So a bit of background about the environment I am using. I am using Netbeans 5.5 development build, today's version, JDK 6 Build 77, and Sun Application Server 8.2 to create, run and learn J2EE 1.4 based apps following the Sun J2EE 1.4 tutorial pdf and the Netbeans 4.1 tutorial pdf which I realize is a bit outdated but it gets the job done for the most part.
I have satisfactorily created and built the Converter application as described in the above mentioned tutorial pdfs. For memory refreshment purposes, it is the simple session bean example where it is stateless and remote and has 2 business methods:
dollarToYen(BigDecimal dollar)
yenToEuro(BigDecimal yen)So I have this EJB being called, for learning purposes, by both a JSP and a Servlet as well as a standalone Java client. Now since the development machine is where I am deploying and running the enterprise application, everything works without a hitch. Once I have the Application server up and running I am able to access and execute the EJB's methods through JSP and Servlet even from remote machines on my home LAN. I realize that since the JSP and Servlet are in the same application context as that of the EJB I am not requiring the client jar which is where my confusion starts coming in. I know I need the client jar when I try to run the standalone java client from a different machine because it simply cannot access the EJB I have written.
Now I found this link below and I read it and sorta understand it. I also found that under C:\AppServer\domains\domain1\applications\j2eeapps\ConverterApp I see a file called ConverterAppClient.jar. Is this the so called client jar? If so how do I go about using it?
Before I end my rather long post, let me detail the steps I used to create the standlone Java client. I selected java application in the new menu of Netbeans and gave it the name ConverterClient and the IDE then proceeded to create a main class for me with a main method where I stuck in the following code:
try
            Context c = new InitialContext();
            Object remote = c.lookup("ejb/ConverterBean");
            ConverterRemoteHome rv = (ConverterRemoteHome) PortableRemoteObject.narrow(remote, ConverterRemoteHome.class);
            ConverterRemote converter = rv.create();
            BigDecimal param = new BigDecimal(100);
            System.out.println(param + " Dollars are  " + converter.dollarToYen(param) + " Yen.");
            System.out.println(param + " Yen are " + converter.yenToEuro(param) + " Euro.");
        catch (RemoteException ex)
            ex.printStackTrace();
        catch (ClassCastException ex)
            ex.printStackTrace();
        catch (NamingException ex)
            ex.printStackTrace();
        catch (CreateException ex)
            ex.printStackTrace();
    }and that code works when I call it from the same machine that the Application Server is running with the EJB deployed. I also added in the classpath of the client application, the j2ee.jar and the other appserv-rt.jar as well. Have I missed anything?
I even tried using the deploytool but to no avail as all it generated for me was the same jar file that I found underneath the Application server application directory as I mentioned earlier.
If anyone is willing to help me, I will upload my Netbeans project files and all you have to do is open it through Netbeans 5.5 to recreate the exact scenario I am talking about.
Thanks in advance. I apologize for the rather long post but I thought it would be best to provide as much details as was possible.
Cheers,
Surya

hI,
Pls, I'm happy to know u r using application server. I have just started reading enterprise bean.
But I could not set the path and some other configurations for it to start working.
Pls, I would be most grateful, if u could put me through on how to configure application server.
Right now, I'm in the state of dilemma due to the insufficient knowledge in it.
My email is [email protected]
Remain blessed

Similar Messages

  • Problems with WLST embedded in java app.

    Hi,
    I have a problem with the WLST embedded in a java app.
    I want to programatically create or reconfigure a domain from a java application. Following is a simple example of what I want to do.
    import weblogic.management.scripting.utils.WLSTInterpreter;
    public class DomainTester {
      static WLSTInterpreter interpreter = new WLSTInterpreter();
      private void processDomain() {
        if(domainExists()) {
          System.out.println("Should now UPDATE the domain");
        } else {
          System.out.println("Should now CREATE the domain");
      private boolean domainExists() {
        try {
          interpreter.exec("readDomain('d:/myDomains/newDomain')");
          return true;
        }catch(Exception e) {
          return false;
    }The output of this should be one of two possibles.
    1. If the domain exists already it should output
    "Should now UPDATE the domain"
    2. If the domain does not exist it should output
    "Should now CREATE the domain"
    However, if the domain does not exist the output is always :
    Error: readDomain() failed. Do dumpStack() to see details.
    Should now UPDATE the domain
    It never returns false from the domainExists() method therefor always states that the exec() worked.
    It seams that the exec() method does not throw ANY exceptions from the WLST commands. The catch clause is never executed and the return value from domainExists() is always true.
    None of the VERY limited number of examples using embedded WLST in java has exception or error handling in so I need to know what is the policy to detect failures in a WLST command executed in java??? i.e. How does my java application know when a command succeeds or not??
    Regards
    Steve

    Hi,
    I did some creative wrapping for the WLSTInterpreter and I now have very good programatic access to the WLST python commands.
    I will put this on dev2dev somewhere and release it into the open source community.
    Don't know the best place to put it yet, so if anybody sees this and has any good ideas please feel free to pass them on.
    Here is the wrapper class. It can be used as a direct replacement for the weblogic WLSTInterpreter. As I can't overload the actual exec() calls because I want to return a String from this call I created an exec1(String command) that will return a String and throw my WLSTException which is a RuntimeException which you can handle if you like.
    It sets up stderr and stdout streams to interpret the results both from the Python interpreter level and at the JVM level where dumpStack() just seem to do a printStackTrace(). It also calls the dumpStack() command should the result contain this in its text. If either an exception is thrown from the lower level interpreter or dumpStack() is in the response I throw my WLSTException containing this information.
    package eu.medsea.WLST;
    import java.io.ByteArrayOutputStream;
    import java.io.PrintStream;
    import weblogic.management.scripting.utils.WLSTInterpreter;
    public class WLSTInterpreterWrapper extends WLSTInterpreter {
         // For interpreter stdErr and stdOut
         private ByteArrayOutputStream baosErr = new ByteArrayOutputStream();
         private ByteArrayOutputStream baosOut = new ByteArrayOutputStream();
         private PrintStream stdErr = new PrintStream(baosErr);
         private PrintStream stdOut = new PrintStream(baosOut);
         // For redirecting JVM stderr/stdout when calling dumpStack()
         static PrintStream errSaveStream = System.err;
         static PrintStream outSaveStream = System.out;
         public WLSTInterpreterWrapper() {
              setErr(stdErr);
              setOut(stdOut);
         // Wrapper function for the WLSTInterpreter.exec()
         // This will throw an Exception if a failure or exception occures in
         // The WLST command or if the response containes the dumpStack() command
         public String exec1(String command) {
              String output = null;
              try {
                   output = exec2(command);
              }catch(Exception e) {
                   try {
                        synchronized(this) {
                             stdErr.flush();
                             baosErr.reset();
                             e.printStackTrace(stdErr);
                             output = baosErr.toString();
                             baosErr.reset();
                   }catch(Exception ex) {
                        output = null;
                   if(output == null) {
                        throw new WLSTException(e);
                   if(!output.contains(" dumpStack() ")) {
                        // A real exception any way
                        throw new WLSTException(output);
              if (output.length() != 0) {
                   if(output.contains(" dumpStack() ")) {
                        // redirect the JVM stderr for the durration of this next call
                        synchronized(this) {
                             System.setErr(stdErr);
                             System.setOut(stdOut);
                             String _return = exec2("dumpStack()");
                             System.setErr(errSaveStream);
                             System.setOut(outSaveStream);
                             throw new WLSTException(_return);
              return stripCRLF(output);
         private String exec2(String command) {
              // Call down to the interpreter exec method
              exec(command);
              String err = baosErr.toString();
              String out = baosOut.toString();
              if(err.length() == 0 && out.length() == 0) {
                   return "";
              baosErr.reset();
              baosOut.reset();
              StringBuffer buf = new StringBuffer("");
              if (err.length() != 0) {
                   buf.append(err);
              if (out.length() != 0) {
                   buf.append(out);
              return buf.toString();
         // Utility to remove the end of line sequences from the result if any.
         // Many of the response are terminated with either \r or \n or both and
         // some responses can contain more than one of them i.e. \n\r\n
         private String stripCRLF(String line) {
              if(line == null || line.length() == 0) {
                   return line;
              int offset = line.length();          
              while(true && offset > 0) {
                   char c = line.charAt(offset-1);
                   // Check other EOL terminators here
                   if(c == '\r' || c == '\n') {
                        offset--;
                   } else {
                        break;
              return line.substring(0, offset);
    }Next here is the WLSTException class
    package eu.medsea.WLST;
    public class WLSTException extends RuntimeException {
         private static final long serialVersionUID = 1102103857178387601L;
         public WLSTException() {
              super();
         public WLSTException(String message) {
              super(message);
         public WLSTException(Throwable t) {
              super(t);
         public WLSTException(String s, Throwable t) {
              super(s, t);
    }And here is the start of a wrapper class for so that you can use the WLST commands directly. I will flesh this out later with proper var arg capabilities as well as create a whole Exception hierarchy that better suites the calls.
    package eu.medsea.WLST;
    // Provides methods for the WLSTInterpreter
    // just to make life a little easier.
    // Also provides access to the more generic exec(...) call
    public class WLSTCommands {
         public void cd(String path) {
              exec("cd('" + path + "')");
         public void edit() {
              exec("edit()");
         public void startEdit() {
              exec("startEdit()");
         public void save() {
              exec("save()");
         public void activate() {
              exec("activate(block='true')");
         public void updateDomain() {
              exec("updateDomain()");
         public String state(String serverName) {
              return exec("state('" + serverName + "')");
         public String ls(String dir) {
              return exec("ls('" + dir + "')");
         // The generic wrapper for the interpreter exec() call
         public String exec(String command) {
              return interpreter.exec1(command);
         private WLSTInterpreterWrapper interpreter = new WLSTInterpreterWrapper();
    }Lastly here is some example code using these classes:
    its using both the exec(...) and cd(...) wrapper commands from the WLSTCommand.class shown above.
        String machineName = ...; // get name from somewhere
        try {
         exec("machine=create('" + machineName + "','Machine')");
         cd("/Machines/" + machineName + "/NodeManager/" + machineName);
         exec("set('ListenAddress','10.42.60.232')");
         exec("set('ListenPort', 5557)");
        }catch(WLSTException e) {
            // Possibly the machine object already exists so
            // lets just try to look it up.
         exec("machine=lookup('" + machineName + "','Machine')");
    ...After this call a machine object is setup that can be allocated later like so:
         exec("set('Machine',machine)");Regards
    Steve

  • Trouble with OS X 10.3 apps?

    Hello. I have an iBook G4 running 10.3. I am having trouble with the applications that are part of the OS X system. I first noticed this with iPhoto because I use it a lot. When I click the icon the program launches but will not start (proper term?) No page is displayed but I have to force quit the program. Several of the apps do this. It just came back from the computer doctor (authorized service person) and is worse. It has been upgraded, archived and installed, erased and installed. At first the apps would work after a reinstall until I shut it down. I just deleted several gigs of previous system files that were eating my hard drive space. I do have applecare and have spent quite a bit of time with tech support. I am wondering if my install disks are corrupted? Has anyone else had a similar problem?

    I would suggest you try to repair permission (application / utilities / disk utility),; and then check you have the correct fonts installed in the right places - there are some documents on these forums that go through which fonts are needed (sorry, I dont know off hand where there are- try the 10.3 discussion area or FAQs)
    Try those 2 things and come back and tell us if you still have the problem!
    Good luck!

  • Trouble with submit button working for some clients

    I have an interactive order form on-line http://www.naspairshow.com/seating%20form. pdf and most people aren't having a problem with it. A few say it goes nowhere when they push the email button. I've suggested they save it as a renamed pdf and they say it won't let them do anything but print it. At this point I'm having them give me the info over the phone, but what needs to be done on their end or mine to make it work?
    Operating System: Windows XP Adobe pro 7

    Graffiti is pointing out one of the major problems of using e-mail submission (Adobe says little about this major drawback - same type of problems as often found with HTML forms, but for a different reason). To use e-mail with PDF forms, the client generally has to have a MAPI e-mail client that they can use. Many folks do not have such and that is the hang up. You have 3 choices in that case. 1. As Graffiti mentions you can activate Reader Rights to allow them to save the file with data and e-mail it to you (a manual process and limited to 500 in the use aspect). 2. You can set up a web script on a server that the clients submit to (the best way). 3. You can set the form to submit HTML data and submit to a cgimail or formmail script on a server (many servers have this option available). You can even go as far as saying there is a forth option to convince the customers to activate a MAPI client on their machine - probably a bad idea.

  • Having trouble with ios 5. Any developers here that can help?

    I bought an Ipad 2 from a developer.  Having trouble with itunes and ios 5.  Any developers here?

    I bought an Ipad 2 from a developer.  Having trouble with itunes and ios 5.  Any developers here?

  • How do I run java app when user calls a number?

    Hi all
    Is it possible to run a java app everytime a user calls a number? It has to run before the call is placed. The app will do its job and then place the call using PlatformRequest().
    Thanks
    hsogra

    Hi,
    I believe in general this is not possible.
    J2ME was designed in such a way that J2ME apps don't have permission to interrupt the normal functions of the phone (making/receiving calls, sending/receiving SMS).

  • Adding C# Soap Header to a client that calls BT2010 Orchestration published as a WCF Web Service

    I've added code from this reference to my orchestration (that is published as a WCF webservice):
    Accessing SOAP Headers in Orchestrations.
    I have a C# client that I was previously using before I was using any of the SOAP Headers.  I've been looking at dozens of blogs, and find the answers to anything related to SOAP Headers most confusing (and often specific to unique cases). 
    I'm using BT2010.  How can I add username, password, and a custom header called "ApplicationID" to my existing C# program and pass it to the orchestration/web service?
    Thanks,
    Neal

    Neal,
    The BizTalk WCF Service Publishing Wizard does not include custom SOAP header definitions in the generated metadata. To publish metadata for WCF services using custom SOAP headers, you should manually create a Web Services Description Language (WSDL) file.
    You can use the externalMetadataLocation attribute of the
    <serviceMetadata> element in the Web.config file that the wizard generates to specify the location of the WSDL file. The WSDL file is returned to the user in response to WSDL and metadata exchange (MEX) requests instead of the auto-generated WSDL.
    The following XML data shows an example of a part of the WSDL file defining custom SOAP headers:
    <wsdl:operation name="Request">
    <soap12:operation soapAction="http://Microsoft.Samples.BizTalk.NetTcpAdapter/OrderProcess/IOrderProcess/Request" style="document" />
    <wsdl:input name="Order">
    <soap12:header message="i0:Order_Headers" part="SalesAgent" use="literal" />
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output name="OrderConfirmation">
    <soap12:header message="i0:OrderConfirmation_Headers" part="PaymentAgent" use="literal" />
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    Refer:
    SOAP Headers with Published WCF Services
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Error with Sql Server and Java App

    Hi i have a java based multithread application which comunicate with SQL SERVER via DSN bridge , some time my application crashes with this error any idea what its happend and how to remove it .
    Thanks
    ************* Exception ********************************8
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F87EEB
    Function=RtlEnterCriticalSection+0xB
    Library=F:\WINNT\system32\ntdll.dll
    Current Java thread:
    at sun.jdbc.odbc.JdbcOdbc.numResultCols(Native Method)
    at sun.jdbc.odbc.JdbcOdbc.SQLNumResultCols(JdbcOdbc.java:4625)
    at sun.jdbc.odbc.JdbcOdbcStatement.getColumnCount(JdbcOdbcStatement.java:1235)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:352)
    - locked <04DC3EE0> (a sun.jdbc.odbc.JdbcOdbcStatement)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
    at advcomm.advrad.DBParams.Ltht(Unknown Source)
    at advcomm.advrad.DBParams.BDhb(Unknown Source)
    at advcomm.advrad.DlkhlHz.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00406000 F:\j2sdk1.4.1_03\bin\java.exe
    0x77F80000 - 0x77FFC000 F:\WINNT\system32\ntdll.dll
    0x7C2D0000 - 0x7C335000 F:\WINNT\system32\ADVAPI32.dll
    0x7C570000 - 0x7C623000 F:\WINNT\system32\KERNEL32.dll
    0x77D30000 - 0x77DA8000 F:\WINNT\system32\RPCRT4.dll
    0x78000000 - 0x78045000 F:\WINNT\system32\MSVCRT.dll
    0x75030000 - 0x75044000 F:\WINNT\system32\WS2_32.DLL
    0x75020000 - 0x75028000 F:\WINNT\system32\WS2HELP.DLL
    0x6D340000 - 0x6D46B000 F:\j2sdk1.4.1_03\jre\bin\client\jvm.dll
    0x77E10000 - 0x77E79000 F:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000 F:\WINNT\system32\GDI32.dll
    0x77570000 - 0x775A0000 F:\WINNT\system32\WINMM.dll
    0x6D1E0000 - 0x6D1E7000 F:\j2sdk1.4.1_03\jre\bin\hpi.dll
    0x6D310000 - 0x6D31E000 F:\j2sdk1.4.1_03\jre\bin\verify.dll
    0x6D220000 - 0x6D239000 F:\j2sdk1.4.1_03\jre\bin\java.dll
    0x6D330000 - 0x6D33D000 F:\j2sdk1.4.1_03\jre\bin\zip.dll
    0x6D260000 - 0x6D26B000 F:\j2sdk1.4.1_03\jre\bin\JdbcOdbc.dll
    0x1F7A0000 - 0x1F7DA000 F:\WINNT\system32\ODBC32.dll
    0x71710000 - 0x71794000 F:\WINNT\system32\COMCTL32.dll
    0x7CF30000 - 0x7D175000 F:\WINNT\system32\SHELL32.dll
    0x70A70000 - 0x70AD6000 F:\WINNT\system32\SHLWAPI.dll
    0x76B30000 - 0x76B6E000 F:\WINNT\system32\comdlg32.dll
    0x1F840000 - 0x1F857000 F:\WINNT\system32\odbcint.dll
    0x1F9C0000 - 0x1FA27000 F:\WINNT\System32\SQLSRV32.dll
    0x41090000 - 0x410BD000 F:\WINNT\System32\SQLUNIRL.dll
    0x77800000 - 0x7781E000 F:\WINNT\System32\WINSPOOL.DRV
    0x76620000 - 0x76631000 F:\WINNT\system32\MPR.DLL
    0x77820000 - 0x77827000 F:\WINNT\system32\VERSION.dll
    0x759B0000 - 0x759B6000 F:\WINNT\system32\LZ32.DLL
    0x779B0000 - 0x77A4B000 F:\WINNT\system32\OLEAUT32.dll
    0x7CE20000 - 0x7CF0F000 F:\WINNT\system32\ole32.dll
    0x7CDC0000 - 0x7CE13000 F:\WINNT\System32\NETAPI32.dll
    0x77980000 - 0x779A4000 F:\WINNT\System32\DNSAPI.dll
    0x75050000 - 0x75058000 F:\WINNT\System32\WSOCK32.dll
    0x751C0000 - 0x751C6000 F:\WINNT\System32\NETRAP.dll
    0x77BF0000 - 0x77C01000 F:\WINNT\System32\NTDSAPI.dll
    0x77950000 - 0x7797B000 F:\WINNT\system32\WLDAP32.DLL
    0x7C340000 - 0x7C34F000 F:\WINNT\System32\SECUR32.DLL
    0x75150000 - 0x75160000 F:\WINNT\System32\SAMLIB.dll
    0x769A0000 - 0x769A7000 F:\WINNT\system32\NDDEAPI.DLL
    0x1FA30000 - 0x1FA46000 F:\WINNT\System32\sqlsrv32.rll
    0x1F7F0000 - 0x1F80A000 F:\WINNT\system32\odbccp32.dll
    0x74CB0000 - 0x74CCA000 F:\WINNT\system32\DBNETLIB.DLL
    0x75500000 - 0x75504000 F:\WINNT\system32\security.dll
    0x782D0000 - 0x782F2000 F:\WINNT\system32\msv1_0.dll
    0x7C740000 - 0x7C7CC000 F:\WINNT\system32\CRYPT32.dll
    0x77430000 - 0x77441000 F:\WINNT\system32\MSASN1.dll
    0x77340000 - 0x77353000 F:\WINNT\system32\iphlpapi.dll
    0x77520000 - 0x77525000 F:\WINNT\system32\ICMP.DLL
    0x77320000 - 0x77337000 F:\WINNT\system32\MPRAPI.DLL
    0x773B0000 - 0x773DF000 F:\WINNT\system32\ACTIVEDS.DLL
    0x77380000 - 0x773A3000 F:\WINNT\system32\ADSLDPC.DLL
    0x77830000 - 0x7783E000 F:\WINNT\system32\RTUTILS.DLL
    0x77880000 - 0x7790E000 F:\WINNT\system32\SETUPAPI.DLL
    0x7C0F0000 - 0x7C154000 F:\WINNT\system32\USERENV.DLL
    0x774E0000 - 0x77514000 F:\WINNT\system32\RASAPI32.DLL
    0x774C0000 - 0x774D1000 F:\WINNT\system32\rasman.dll
    0x77530000 - 0x77552000 F:\WINNT\system32\TAPI32.dll
    0x77360000 - 0x77379000 F:\WINNT\system32\DHCPCSVC.DLL
    0x74CD0000 - 0x74CD8000 F:\WINNT\system32\DBmsLPCn.dll
    0x0B990000 - 0x0B9E6000 F:\WINNT\system32\MSVCR71.dll
    0x6D2E0000 - 0x6D2EE000 F:\j2sdk1.4.1_03\jre\bin\net.dll
    0x782C0000 - 0x782CC000 F:\WINNT\System32\rnr20.dll
    0x777E0000 - 0x777E8000 F:\WINNT\System32\winrnr.dll
    0x777F0000 - 0x777F5000 F:\WINNT\system32\rasadhlp.dll
    0x74FD0000 - 0x74FEE000 F:\WINNT\system32\msafd.dll
    0x75010000 - 0x75017000 F:\WINNT\System32\wshtcpip.dll
    0x77920000 - 0x77943000 F:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000 F:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000 F:\WINNT\system32\PSAPI.DLL
    Local Time = Wed Mar 08 17:24:41 2006
    Elapsed Time = 9294
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
    #

    I'm having the same problem.
    One potential solutions is to use a custom SQL server JDBC driver instead of going through the ODBC bridge. This will minimize dependencies and should also improved performance. Hope this helps.
    - Joe

  • I'm having trouble with Creative Cloud's desktop app, when I launch it it loads but it's just a blank window, can you help?

    I'm trying to attach a screenshot but apparently that's against Adobe's guidelines.
    I've uninstalled and reinstalled a few times today, even redownloaded the .exe from adobe. All with the same effect.
    Everytime CC loads with a blank window and the only thing I can interact with is the gear icon for Help, Pin Notification, and to Quit.

    Hi Catherine,
    Please refer to the threads below where this issue has been addressed:
    New Creative Cloud App unusable: it's blank!
    creative cloud is blank window why?
    Re: Creative Cloud app opening blank
    Regards,
    Sheena

  • Trouble with deploying Win 8.1 and Office 2013 to Surface Pro 2

    Setup; Win2012R2, WDS 6.3.9600.16384, MDT 2013 (6.2.5019.0), Surface Pro 2 128GB, MS USB Ethernet adapter
    Issue 1: the TFTP transfer of the PE image is Extremely slow. 10 Mbps. Have tried to adjust Maximum Block Size without any improvement.
    Issue 2: When I try to deploy both Windows 8.1 and Office 2013 the TS fails. It will not (start) installing the Application - the log confirms that it starts the script, but ends up with ZTI Heartbeat forever.
    If I install Windows first and after the OS installation connect to the MDT server and start a TS With just Office 2013 it works without problem.
    The disturbing part here is that if I use the same TS With both OS and Office on a Hyper-V Virtual machine it works...
    Have anyone seen this before?

    Hi,
    I test in my environment, and Windows would finish the index, the CPU usage keeps in 29%, which my RAM is 8G.
    Can you tell us how you let the Windows Index run?
    Alex Zhao
    TechNet Community Support

  • Having trouble with a push to phone app?

    If you have ever seen this error messages "The requested URL '/CGI/Execute' was not found on the RomPager server." you are not alone.  I had this problem recently writing a python script to push a simple raw file to a phone and in my searching I have seen postings that were very similar but almost none of them had successful responses.
    One of the main problems here is that the error message is fairly misleading.  The root cause is how your XML needs to be written when being sent to the phone and the content-type header being used.  I stumbled across this when examining a successful request from a simple HTML app and when compared to my unsuccessful python script post.
    You need the content-type header to look like this: 'Content-Type':'application/x-www-form-urlencoded'.
    the next part is the XML message you are pushing needs to look like this or some variation depending on the command needing to be sent: 'XML=<CiscoIPPhoneExecute><ExecuteItem Priority="0" URL="Analog1.raw"/></CiscoIPPhoneExecute>'
    Please let me know if this works for you or if you have run into anything different.  Thanks.

    If the db is huge, you may want to copy it, and delete all but a few hundred rows.
    Then you can play with the copy till you get the query doing what you want.
    You might try changing this section
    "tblQAMonitorTrack"."CSR_ID"="tblCSR"."CSRID") INNER JOIN "SMG_APPS"."dbo"."tblFM_BeginEndDates" "tblFM_BeginEndDates" ON ("tblQAMonitorTrack"."FiscalYear"="tblFM_BeginEndDates"."fiscalyear") AND ("tblQAMonitorTrack"."FW_Month"="tblFM_BeginEndDates"."fiscal_month")) INNER JOIN "SMG_APPS"."dbo"."tblMonitorsPerFM" "tblMonitorsPerFM" ON
    To left outer joins.
    Also, just create a connection to the tblMonitorsPerFM all by itself, run a query and see if you get multiple results directly from the DB...

  • Trouble with deploying models in NI Veristand to real-time target

    Hi All,
      I desperately need some help with some application i’m working on. I’m trying to read some accelerometer measurements into NI Veristand but coming up with an error all the time during the deployment stage to the real target which i have atttached. I can’t quite figure out what to do about it. I’m using a real-time device with a PXI-4461 module. I have checked that i can read all sensor measurements in MAX as attached. The error message is as follows:
      Initializing deployment...
    Waiting for the target to report its state...
    Initiating FTP connection...
    System Definition File -> Acquisition.in4
    Restarting system...
    Restarting target into run mode...
    The target encountered an error and reset. Verify that the system definition file and the target resources are valid. You must deploy a new system definition file or reboot the controller to correct this problem.
      Error -200757 occurred at DAQmx Start Task.vi:1
      Possible reason(s):
    Measurements: Sample Timing Type is set to On Demand which is not supported for analog input on this device.
    Set Sample Timing Type to Sample Clock. You can achieve this whlie setting related properties through DAQmx VIs or functions for configuring timing.
    Task Name: Dev6_AI

    Duplicate Post.

  • Having trouble with deploying real time 8.0 vi's

    Having trouble deploying a simple vi to my field point platform.  I am using  FP OS v10.4 and labview rt v8.0.  MAX tells me software installations to the target are good and communication in MAX is good.  I can make a windows VI to read a channel on  my field point and it works well. if I duplicate this VI in real time and try to deploy it to the field point unit, it goes well until it starts to download the "FP read" vi and then the download fails.  I have plenty of memory on the fieldpoint unit for this vi - it consists of a FP channel constant, FP read, numeric constant (for data type to FP read), a numeric indicator, a while loop, millisecond multiple vi (loop timing), and stop control.
    I am stumped - any help would be great.
    Kirk

    Kirk - what controller are you using?  Double check that the
    controller has the following listed under Remote Systems >> (your
    controller name) >> Software:
    LabVIEW Real-Time 8.0
    NI-VISA
    FieldPoint VI Manager
    FieldPoint Drivers 5.0
    sebk1 - The Fieldpoint Read VI includes error handling, if an error
    occurs it takes time to generate and propagate the error.  Check
    to see if your data is out of range for the channel.  If that is
    not the case, I suggest trying an example VI that includes a FP Read VI
    such as Analog Input found at: C:\Program Files\National
    Instruments\LabVIEW 8.0\examples\FieldPoint\Getting Started\Analog
    Input.vi if you installed to the default directory.  I'd be
    interested to hear the results of your tests.
    Regards,
    Micaela N
    National Instruments

  • Problem with opening browser from Java app.

    Hi guys, I'm not sure if this is the right place to post this, so please excuse me if I'm wrong. I'm trying to open an html page (it's a help file) from a Java application. I'm currently using java.awt.Desktop.     browse(URI uri); which gets the job done, as long as I don't pass any parameters to the page. (e.g. http://www.site.com/site.html?param1=1). Doing that gives me an IOException. Is there a way to do this without using the JNLP API?

    This is the file path copied directly from the browser's address bar:
    file:///home/riaan/EMCHelp/Help.html?page=WorkFlowActivityCategory.html"{code}
    Which causes the app to throw an exception, but when I change it to:
    {code}file:///home/riaan/EMCHelp/Help.html{code}
    it opens Help.html in the browser.  That's why I thought that it might be the query that's a problem.  Perhaps it's a simple issue of not escaping a character or something that I failed to see.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Troubles with newer releases of Java

    At home, I am running Windows XP and at school I am using a Windows 98 SE computer to do my Java work on. On both computers they have the 1.40_01 SDK installed and I'm using jEdit on both of the computers. For some reason, I can compile .java files, but I can't run anything. I keep getting errors with the main method, but the method is correct. I also cannot view applets through the browser. Most of my project in in Swing, so creating a html file for viewing the applet isn't a problem.
    Any Suggestions?

    You say you can compile right?
    But when you run your compiled program, you "keep getting errors with the main method",
    but then you go on to say, "but the method is correct". That's a bit confusing.
    I think if you want any help, you're gonna have to post those errors, even if those errors are in error!
    Seriously though, I do nearly the same thing it sounds like you do, I have all my programs, etc... on one zip disk, and use it between different machines and operating systems to program, including XP. I've been doing this for about a year now without any problem. I'm pretty sure you've got an error in the program somewhere. You should post the code and errors, otherwise it's pretty hard for people to try to help you.
    Oh, wait a sec, if you're 1000% sure your code is ok, but you get errors when you run it, maybe your classpath is wrong. I bet that's it. The error you're getting may even suggest that.

Maybe you are looking for

  • Itunes Videos Home Page completly black

    Hello, I'm currently using Itunes 6.0.3 for Windows on two different computers (WinXP) and on both I've got the same issue: the 'Videos' home page does not show anything. Nothing, it's just a big black square. Is anyone else experiencing the same?  

  • Oracle soa installation 11.1.1.4.0

    hello sir 1.I recently installed the oracle SOA 11.1.1.4.0 version, everything i did as manual i got from internet. but soa server is not running it showing some error like soa server not existed . canl u people plz reply to this query.... Is there a

  • CC log  for user that used the application

    Hello GRC gurus , I would like to know if there is a possibility to check users last log on in Compliance Calibrator . We have people that are doing simulations over Informer tab--> risk analysis --> user level and we would like to have a log . Thank

  • Whats the difference....auto/pre pay?

    wife has been with verizon since it began....verizon took over company she had service with.. ok now then..2 smartphones ..... 2yr agreement+1gb shared data plan 150.00 plus taxes.........now pre-pay =no agreement.....4gb EACH PHONE for $140.00.....

  • Pentax *ist DL2 RAW Support

    Hi, I really really want to use Aperture, but Mac OS lacks support for my camera's RAW format. I have a Pentax *ist DL2, not a particularly new model, but the only DSLR I have, and thanks to my collection of Pentax lenses, im unlikely to change anyti