Question of commapi - BlackBox could not find serial port.

Hi,
I have installed jdk1.5.0_04 and commapi2.0_win32 at following directory
c:\Java\netbeans-4.1
c:\Java\jdk1.5.0_04
c:\Java\commapi
C:\Program Files\Java\jre1.5.0_04
Then I do exactly what installation instruction ask me to do
Copy win32com.dll to c:\Java\jdk1.5.0_04\bin
Copy comm.jar to c:\Java\jdk1.5.0_04\lib
Copy javax.comm.properties to c:\Java\jdk1.5.0_04\lib
However, when I run BlackBox,BlackBox still gives me a message that
says "No serial ports found!"
Can any one help me out, thanks in advance ?
Daniel

Many forum posts about installation to java 1.4. Also see:
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=453195
and
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=444673
I had success on winXP when I installed to the JRE below Program Files/java, no success when installed to c:\j2sdk etc etc.
The directions for setting the classpath seem bogus; I did not need to specify a class path. Simply went to the commapi/samples/BlackBox folder, then typed java BlackBox. It found a couple of ports. I think this means that (despite the post in the forum to the contrary) that the comm API can deal with the NT hardware abstraction layer (HAL) just fine.
I'm very new to this, hope this helps.
chris...

Similar Messages

  • I CAN NOT find serial port init.vi

    In labview8.6 , I CAN NOT find serial port init.vi.
    Other lots of icon can be found..... 

    Dennis Knutson wrote:
    for(imstuck) wrote:
    That's because it is called VISA Configure Serial Port. It is located in Instrument I/O->Visa->Visa->Visa Advanced-> Bus Interface Specific -> serial.
    And there it is. Sometimes you really gotta dig!
    You enjoy taking the long way there?
    Message Edited by Dennis Knutson on 05-20-2010 05:48 PM
     I just did a search of the palette and thats where it took me so thats what i posted to help the OP. Besides, sometimes the scenic route is nice. You pass lots of beautiful VIs on the way to your destination that you may have never known existed. And, I actually prefer the quick drop way .
    Message Edited by for(imstuck) on 05-20-2010 08:35 PM
    CLA, LabVIEW Versions 2010-2013

  • HT1750 I need some help but could not find serial no on my imac

    any one online to help

    Look under the stand or if the computer is running click the Apple Symbol in the upper left, click About this Mac and then click where it says the version of OS X 2x and it will display the serial number. You can also run System Profiler (Applications - Utilities - System Profiler) and you can find it there.
    BTW PLEASE do a Profile Update!

  • I bought Photo Shop Elements 11 at Staples and can not find serial number?

    I bought Photo Shop Elements 11 at Staples. Could not load becuse I could not find serial number? Tried getting help from on line support no luck.
    Took it back to Staples today and the manager exchanged it for another and still no serial number?  HELP!!!

    Find a serial number
    Serial number retrieval process FAQ | Point-of-sale activation products
    Mylenium

  • Everything on my macbook 5.1 was erased and then the person who erased it could not find start up disc to reinstall. i called apple and gave them the serial number and they sent me leopard os 10.5 which is what originally came with the computer. not work

    i was given a macbook 5.1 by my mom, being nice, she erased everything on it, but then could not find the original start up disc. i called apple and had the serial number and said that leopard 10.5 was the operating system that orginally came with it, so i bought it. when i got it,i turned on computer, put in dvd, and immediately shut it off, then turned it back on while pressing letter c. (they told me to do this) i can hear the disc turning but alls i get is blank screen then it shuts down, and restarts. nothing ever shows up on the screen. did i get a wrong disc? should there be something different than just the mac os x leopard 10.5 to get this computer to work again?? thanks for your help!

    It means what it says. The "computer person" formatted it wrongly/ unsuitably. it needs to be formatted again.
    Error "Case-sensitive drives not supported" or similar install error | Mac OS
    Mylenium

  • I left my iPhone in bathroom last night and it was gone this morning.  I notified the police and no one has turned it in.  How do I find it and how do I find my serial number.  I went to iTunes on my macbook but could not find a preferences or devices tab

    I left my iphone in a bathroom last night and it was gone this morning when it was unlocked.  I notified the police and no one turned it in.  How do I find where it is located?  Also, how do I find my serical number?  I went to itunes on my macbook but could not find a preferences or devices button.  Finally,  I know my password but don't know my apple id.  How do I find it?

    Answered here:
    https://discussions.apple.com/thread/6157706?tstart=0
    Don't double post.
    To locate the SN:
    http://support.apple.com/kb/ht4061

  • Could not find a valid Java virtual machine to load

    On a fresh copy of CFMX8, when I run updater 7, it responds
    'Could not find a valid Java virtual machine to load'.
    This is being installed on a Win2K3 server and this is on a
    'freshly minted' POC box solely for the purpose of
    installing/testing CFMX8 to determine how it compares to our
    CFMX6.1 environment.
    You will notice that it is NOT being installed in the default
    directory:
    JRun Version Information
    Vendor Macromedia
    Product Name JRun 4.0
    Build Number 108487
    Version Full Version
    License Type Trial License
    Serial Number JRD400-69341-58259-30688
    JRun 3.x Serial Number
    Restricted to Single IP No
    Installation Root D:\ISG\software\jrun4
    Expiration Date Mar 29, 2008
    Evaluation Days Remaining 29
    JDK path (JAVA_HOME): D:/ISG/software/jrun4/jre
    I do find it curious that I can run the Updater 6, and it
    seems to behave properly (it finds the VM). I ran it just as a
    test, then wiped everything to start over from scratch. For some
    reason do I need to direct Updater 7 to the installation that I did
    not have to do in Updater 6?
    Thank you in advance for your assistance - Jacques

    tried executing the following cmd, below is the following error:
    <<command i executed>>
    C:\Program Files\Java\jre1.5.0_09\bin>java -classpath "C:\Program Files\Java\jre1.5.0_09\lib\javaws.jar" com.sun.javaws.Main https://<IPddr>:8443/sample.jnlp
    Can you pls let me know how it can be resolved?Umm.. I am not sure, but I will start with
    a question. Why not do it this way?C:\Program Files\Java\jre1.5.0_09\bin>javaws https://<IPddr>:8443/sample.jnlp

  • HT4098 I bought my ipad in August and having signed up for a weekly payment for the Daily Mail I could not find out how to turn it off; until after to speaking ***. Northcliffe Dig  for 20+ mins I got this website Why do Itunes not put a ref on their invo

    I was prompted to join this Support Community when I raised the above question. As a new user of an ipad I subscribed to a national newspaper download and could not find anyway to cancel the subscription. I made some unsuccessful efforts to cancel and today rang the head office of the national newspapers parent body and after speaking to some ten people and some 20+minutes on the phone came away with an email address and a promise of a phone call. Both of these pointed me to the above webpage and hopefully I have now succeeded in canceling the subscription after it has been running for a good month unwanted and unused.
    Clearly I could have dealt with this quicker If I had known the route; but in the interests of being user friendly I don't understand why Itunes can't include an appropriate reference on their invoice and make it more obvious on their app in preference to concealing the process under the word features.
    It may be that I am the only one who has had this problem. It would be interesting to know whether I am the only one who has had this problem.
    I should say that my Ipad is a fantastic tool and undoubtedly there will be other issues where I need to find a solution in the future. Up to now those have been solved by looking at the User guide; but this problem related to the use of a specific app.

    If you wish to submit comments to Apple, the best way is to use their feedback pages.
    http://www.apple.com/feedback/itunesapp.html
    It's not likely that anyone from Apple will see your comments here among the thousands of other posts.
    Regards.

  • Error : ORA-06508: PL/SQL: could not find program unit being called

    Hi
    I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
    Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
    synonym and exectue option for corresponding procdure ,
    I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
    Now this package has been called from rp_execute_procedure_pr -- Here I is the code
    CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
    i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
    i_job_id IN atlas_job.job_id%TYPE,
    i_parm_value IN atlas_job_schedule.parm_value%TYPE,
    o_status_code OUT NUMBER,
    o_status_mesg OUT VARCHAR2
    IS
    -------Other old code which is not relevent for this issue ----
    --------Other old code which is not relevent for this issue ----
    ----Below code I added ----
    ELSIF l_job_id = 'CUST_EXTRACT' THEN
    EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
                   o_status_code,
    o_status_mesg ) ;
    -- o_status_code := -99999999;
    --o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
    ELSE
    o_status_code := -20300;
    o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
    END IF;
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Processing End Time (GMT): '
    EXCEPTION
    WHEN eProcError THEN
    o_status_code := SQLCODE;
    o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
    WHEN OTHERS THEN
    o_status_code := -20300;
    o_status_mesg := SUBSTR(SQLERRM, 1, 200);
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Error : '||SQLERRM||' '
    update_log_auto
    ajs_rec.atlas_job_schedule_pk,
    'Processing End Time (GMT): '
    END RP_EXECUTE_PROCEDURE_PR;
    Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
    Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
    As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
    so I created public synony amd gave execute grant to my pkg to public .
    But it repeat same error .
    I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
    I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
    NB my DB user is iATLAS and Javauser is SUDEEP
    Thanks in Advance
    Debashis Mallick

    First of all If i run the main procedure in like below in my Schema it is working fine
    begin
    -- Call the procedure
    rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
    i_job_id => :i_job_id,
    i_parm_value => :i_parm_value,
    o_status_code => :o_status_code,
    o_status_mesg => :o_status_mesg);
    end;
    So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
    Here problem is not syntax issue .
    let me give u more detail regards this issue
    1.. All objects corresponding to procedure all Valid
    2.. If I test on the proc on my schema like above code . It works fine
    3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
    4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
    I think I make it clear the issue
    Edited by: debashisora on Aug 3, 2012 5:31 AM
    Edited by: debashisora on Aug 3, 2012 5:40 AM

  • Need help in finding the root cause the error 'Could not find function:'

    Hi fokls,
    In my workflow notification , when I click on the notification to process it , it says ' 'Could not find function:' error.
    I found the this message is coming out from the Fnd_new_messages table from the message_name 'FND_FUNCTION_NOT_FOUND'.
    Here are my questions ...
    1. FND_FUNCTION_NOT_FOUND - Is it a oracle Seeded message ?
    2. If so the error I am getting is a oracle product Bug ?
    And In between , I am getting this error for few transaction only. ( out of 100 , i am getting this error at the rate of 5 per 100 ... or less)
    3 .If its a oracle product bug then , how is 95 out of 100 transaction are succssfully wokring ?
    4. If is a custom bug , how it os not though for some other 95 transaction ?
    5. Can I expect it as Data issue ? If so what kind of data issue.
    Folks , any kind of info will be really , realy helpful for me ... please let me know your inputs for me.
    Thansk to all in advance
    Raghu

    In the error message 'Could not find function:' after colon what function name it is giving.
    'FND_FUNCTION_NOT_FOUND' is a seeded message only.
    As you are saying the error was throwing only for 5% or less notifications, is the error throwing for same kind of notifications? I mean the item type and message are same for these erroneous notifications?
    It can be that some function in particular type of workflow is error-ed out does not exists, when responding to those kind of notifications it might be throwing error.
    Please check that.
    Edited by: sarojak on Nov 12, 2010 6:16 AM

  • Could not find any content hosted eligible apps

    Hi....
    my X-code version is 5.0, IOS version is 7.0
    I created test user and test products in in app purchase option under my application in itunes connect. I want to display content for each test products when user buy my free products. For displaying content i followed the below process:
    Creating App Store Hosted Content:
               In order to have the App Store host your content, the content must first be put in a package.
    Notes:
               Before starting the steps below, login to iTunes Connect, create a "Free Subscription" in-app purchase, and select "Yes" for
    "Hosting Content with Apple" for that purchase.
    Creating Xcode In-App Purchase Content projects :
    1).Created a .txt file and .jpeg file
    2).Start by selecting File > New Project from the menu, and choosing In-App Purchase Content:
    3).Enter the Product Name and Company Identifier such that the Bundle Identifier matches the Product ID you entered in iTunes Connect for this product.
    4).Now you will have a blank In-App Purchase Content project. You can right-click and Add Files... or drag them into the Project Navigator. Ensure that the ContentVersion is correct (it should start at 1.0, but if you later choose to update your content, remember to increment it).
    This window shows Xcode with the content files included in the project and the plist entries visible in the main window:
    5).Once you have added all your content files you can save this project and edit it again later, or begin the upload process.
    Uploading .PKG Files :
    6).The easiest way to upload content packages is with the Xcode Archive Tool. Choose Product > Archive from the menu to begin:
    The content package will then appear in the archive  in new window. Notice the archive type and icon show this is an In-App Purchase Content Archive. Click Validate... to check our content package for errors without actually preforming the upload.
    7).Login with your iTunes Connect credentials:
     At step 7 when i go for validate the archive I'm getting the below error
    "Could not find any content hosted eligible apps"
    Please guide me why am getting the above error

    You are better of asking questions like this in the developer forums : https://devforums.apple.com/index.jspa

  • Could not find a client that is able to lunch the selection

    Hi
    I am new in j2ee. I am using eclipse 3.1 with tomcat 5.0.28 and jboss 3.2.3. I am trying to do application with bmp_ejb. I think my problem is in deploying. My ejb has got a entitybean(ViewVivendasBean) and two interfaces (ViewViviendasLocal and ViewViviendasHome). To deploy I have changed some files.
    In tomcat the file web.xml, I have appended this:
    <resource-ref>
         <description> Tabla de conexiones para aae
         </description>
         <res-ref-name>
              jdbc/XXXX
         </res-ref-name>
         <res-type>
              javax.sql.Datasource
         </res-type>          
         <res-auth>
              Container
         </res-auth>
    </resource-ref>In the file server.xml, I've appended
      <Context>
           <Resource name = "jdbc/XXXX" auth = "Container"
                       type = "javax.sql.DataSource"/>
         <ResourceParams name = "jdbc/XXXX">
              <parameter>
                   <name>username</name>
                   <value>USER</value>
              </parameter>>
              <parameter>
                   <name>password</name>
                   <value>11111</value>
              </parameter>
              <parameter>
                   <name>driverClassPath</name>
                   <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
              </parameter>
              <parameter>
                   <name>url</name>
                   <value>jdbc:microsoft:sqlserver://yyyy.com:1433/web</value>
              </parameter>
              <parameter>
                   <name>maxActive</name>
                   <value>20</value>
              </parameter>
              <parameter>
                   <name>maxIdle</name>
                   <value>5</value>
              </parameter>
         </ResourceParams>     
      </Context>In the file ejb-jar.xml, I've appended
    <ejb-jar>
             <description>Implementa ViewViviendas</description>
             <display-name>ViewViviendasEJB </display-name>
             <enterprise-beans>
         <entity>
              <description>Version 0.1</description>
              <display-name></display-name>
              <ejb-name>ViewViviendasBean</ejb-name>
              <home>ejb.ViewViviendasHome</home>
              <remote>ejb.ViewViviendasLocal</remote>
              <ejb-class>ejb.ViewViviendasBean</ejb-class>
              <persistence-type>Bean</persistence-type>
              <prim-key-class>java.lang.String</prim-key-class>
               <reentrant>False</reentrant>
             </entity>
         </enterprise-beans>
         <assembly-descriptor>
                  <container-transaction>
              <method>
                   <ejbname>ViewViviendasBean</ejb-name>
                   <method-name>"*"</method-name></method>
                  <trans-attribute>Required</trans-attribute>
                  </container-transaction>
           </assembly-descriptor>          
    </ejb-jar>After I create a file in format html "index.html" to test. And gime this error "Could not find a client that is able to lunch the selection"
    Perhaps , Do I have got to deploy also this file index.html?.
    Any Idea?
    thanks in advanced

    Hi
    A question. The deploy is right?
    thank you

  • Could not find main class. Program will now exit. *SIGH*.....

    At first I thought it was just my own programs that I created with netbeans that had this problem; however, even the demo programs under the sdk folder give me this problem when i try to run them. Virtual Machine Loader will just come up with pop up saying "Could not find the main class. Program will not exit"
    I am a fairly competent programmer, not new to java. But I am new to guis in java, and using netbeans to create them. The program I am creating gives me this error with javaw and with java it will tell me NoClassDef for grouplayout. I checked the manifest file it looks alright:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-Class: desktopapplication2.DesktopApplication2
    Class-Path: lib/appframework-1.0.3.jar lib/swing-worker-1.1.jar lib/swing-layout-1.0.1.jar lib/ant-swing.jar lib/SwingSet2.jar lib/swing-layout-1.0.3.jar
    X-COMMENT: Main-Class will be added automatically by build
    }(brackets not included)
    I am sort of lost.... Do I need to install ant separately?
    I feel like there may be some classpath issues?
    I have java 1.6 update 4 and netbeans 6.0
    I am completely lost I have been working on fixing this for the past 2 or 3 days now, and reading up all the information.
    Note: This is just a standard desktop application.
    Also I just thought of something. If I have install the development kit do I also need to install the framework or whatever for 6.0 separately? Meaning installing the latest version of jvm. Sorry if this isn't clear i forgot what it is called.
    Sorry if this sounds like a beginner question or something, but I am going crazy. If i am having this much trouble running my own program i really hope distributing files won't be this much of a nightmare....

    Please become familar with resources at the NetBeans site. There are tutorials and FAQs that cover usage of NB, and how to do things like you're asking.
    See my reply in this thread for more information
    http://forum.java.sun.com/thread.jspa?threadID=5270931&tstart=0

  • Could not find prepared statement with handle %.

    Greetings. I've seen several posts for this error on the web, but no clear cut answers. I captured the code below in profiler, with the intention of replaying in mgmt studio.
    However, the attempt end in the following error: "Could not find prepared statement with handle 612."
    declare @p1 int
    set @p1=612
    declare @p2 int
    set @p2=0
    declare @p7 int
    set @p7=0
    exec sp_cursorprepexec @p1 output,@p2 output,N'@P0 int,@P1 int,@P2 int,@P3 int,@P4 bit',N'EXEC dbo.mySproc @P0,@P1,@P2,@P3,@P4 ',4112,8193,@p7 output,219717,95,NULL,1,0
    select @p1, @p2, @p7
    Something noteworthy is that my sproc only has 5 input parameters, but this makes it look like it has many more.
    How do I manipulate the code enough to make it work in mgmt studio? Thanks!
    TIA, ChrisRDBA

    In profiler you would normally see RPC:Starting and RPC:Completed. The statement shown in RPC staring is what you need to pick because as Erland explained, completed would show "funky" behavior.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Could not find Factory: javax.faces.context.FacesContextFactory

    I'm trying to start a new JSF with facelets app from scratch using JSF 1.2.06 on Tomcat 6.0.10 but I can't even get the app to start.
    I get this when I try to start the app:
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         javax.faces.FactoryFinder.getFactory(FactoryFinder.java:263)
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:699)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:59)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I've seen a few contradictory pieces of advice on how to resolve but none seem very promising.
    What are the basic requirements for a JSF 1.2 application, especially regarding entries required in web.xml and faces-config.xml? I don't see this clearly documented anywhere on Sun's JSF site.
    Thanks!

    I think I found the reason for this problem.
    I should have also mentioned that my app contained a welcome page (index.jsp) that contained only a forward to my Facelet-based home page via:
    <jsp:forward page="pages/stm/StmHome.jsf" />
    My home page was named: StmHome.xhtml
    I mapped the FacesServlet to handle all requests with a *.jsf extension
    But I set the javax.faces.DEFAULT_SUFFIX context parameter to: .xhtml
    When I changed the value for the forward tag in the index.jsp to "StmHome.xhtml" the app started ok and the home page displayed without error.
    So it looks like this problem was caused by a mismatch between the value I set for the javax.faces.DEFAULT_SUFFIX context parameter and the value I set for the URL pattern in the FacesServlet mapping, correct ?
    Which brings me to my next question: should the values for the javax.faces.DEFAULT_SUFFIX and the FacesServlet URL pattern always match?
    Thanks!

Maybe you are looking for

  • What's the best external drive to use with Final Cut Pro?

    I'm looking for a drive to mainly back up my final cut pro work, possibly do a little editing on, what's best? I have a G5 desktop.

  • Can't rename Layers in Flash CS4

    When I double click on a layer name the editable text field appears for a fraction of a second, then disappears. The only way around this is to right click and change the name in Properties... which isn't very convenient esp. since "Properties" is at

  • How do I save in the original format

    I recorded a cover band and my camcorder split the video into several 2GB .MTS clips.  The bigger point is that there is LOTS of dead time, breaks, etc.  I'd like to know how to 1) edit an original 2GB MTS file, remove the dead spots and replace the

  • What is Time Machine really Backing Up?

    I have two internal HD's one 750gig that has Leopard on it, & a second HD that is 500gigs. I have Time Machine backing up everything. I have noticed this for some time now, & have watched it very carefully what is new on my system this month, beside

  • RAW import Sony ILCA-77M2 funktioniert in Lightroom 5 nicht. Wer kann helfen?

    RAW import Sony ILCA-77M2 funktioniert in Lightroom 5 nicht. Wer kann helfen?