Duke Dollars for DrClap

It is mostly thanks to reading DrClap's responses in the archives that I got my serial port problem resolved so here are 10 Duke Dollars for him.
Just leave a message and I'll award them to you. Thanks for your past responses.
see: http://forum.java.sun.com/thread.jsp?forum=4&thread=174689

You're welcome.

Similar Messages

  • Duke Dollars for the first to implement the JOSRTS Tech Test

    See http://www.josrts.org/cgi-bin/ikonboard/ikonboard.cgi?act=ST;f=6;t=124
    If the offered Duke Dollars aren't showing up, it's because I haven't figured out yet how to attach them to the post. Give me some time, it's the first time I've offered them. :-)

    The following errors were found:
    The board administrator requires that all members log
    in before viewing the boardSorry, that's just the way the board is set up. Feel free to create a login and lurk around.
    For those of you unfamiliar with JOSRTS (http://www.josrts.org), it is an attempt by the community to create a Real Time Strategy game in Java. This challenge is meant for members of the project, but if anyone would like to join the project, feel free.

  • Increased Duke Dollars for an old thread without reply

    Hi All,
    Wonder anyone experienced a similar problem and solved it.
    I have a stand-alone application that talks to EJBs. It has been running well either from another machine or the same machine with WebSphere server for WebSphere 3.5. After we upgrade to WebSphere 4.0. I can still run it from another machine with properties: (tmx-huri is the machine hosting WebSphere)
    providerURL=iiop://tmx-huri:900/
    ctxFactory=com.ibm.websphere.naming.WsnInitialContextFactory
    and add the following jar files into the classpath from WebSphere 4.0: ejs.jar (this is from 3.5 because 4.0 does not have it), websphere.jar, ns.jar, util.jar, ras.jar, ujc.jar.
    But if I copy all the same files to tmx-huri itself and just change providerURL to:
    providerURL=iiop://localhost:900/
    It will show message saying 'Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory'
    If I use
    ctxFactory=com.ibm.ejs.ns.jndi.CNInitialContextFactory
    instead, it always throughs NamingException saying cannot find the bean.
    I appreciate any comment and suggestions.
    PC
    The basic code is shown here:
    Properties namingProps = new Properties();
    namingProps.put(javax.naming.Context.PROVIDER_URL, providerURL);
    namingProps.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,initialContextFactory);
    // Create an Initial Context.
    try {
    initContext = new InitialContext(namingProps);
    catch (javax.naming.NamingException e) {
    System.err.println ("EJBHomeFactory:constructor() Could not retrieve initial context - all EJB lookups will fail. Exception: "+e.getMessage());
    where providerURL and initialContextFactory can be retrieved from a property file.
    To lookup EJB:
    Object home = initContext.lookup(beanName);

    An interesting situation. I use to work with WAS 3.5 ages ago (2 years?) and remember coding stuff as you have done with the properties for the initial context factory. I then went and played with Oracle 9iAS for a while and am back with WebSphere for the last 6 months or so in WAS 4. I had forgotten how I use to do things in 3.5 and the way we are doing stuff here in version 4, is simply
    Context entityContext = new InitialContext(System.getProperties());
    Object obj = entityContext.lookup("java:comp/env/ejb/myBean"); Then we do the narrow.... blah blah blah.
    The point being that we are not worrying about copying any jars from anywhere. We are unit testing inside Websphere Studio Application Developer, and then deploying into WAS V4 and it all just goes.
    Maybe give that a try and let the websphere environment provide you its defaults.
    Cheers,
    Peter.

  • Next/previous links?  Duke dollars...

    I am offering Duke Dollars for help in creating next/previous links here:
    http://forum.java.sun.com/thread.jsp?forum=45&thread=183010
    I was told that I should ask here as there may be more help here...

    Actually I think that respondant was suggesting that you search the JDBC forum - they had already posted some information in here.

  • Who has the most duke dollars?

    Is there a place in the JDC where you find find a list of who had the most duke dollars? I think they had this a long time ago, but I'm not sure what happend to it.
    Thanks,
    Strider

    http://developer.java.sun.com/developer/community/dd.jshtml#winners
    (Do I get any duke dollars for this?)

  • I'm trying to make i(to the power of n) over n.quickanswer=MANY duke dollar

    I will pay many duke dollars for a quick answer to this.
    i(to the power of)n
    the full equation is r=---
    n
    heres what i did:
    class Project
         public static void main(String[] arguments) {
              int P = 0;
              int r = 0;
              int n = 0;
              int t = 0;
              int i = 0     
              int interest = i public static double exp(n) / n;
              system.out.print("The Interest rate is" + interest);
              int rate = 1 + r public static double exp(1/n) h;//the effective rate
              system.out.println("The effective rate is" + rate);
         int A = P (1 + i public static double exp(n) /n) public static double exp(n*t);
    The program isn't finished i have to get this far without errors

    one last thing. could you just go over this briefly and quickly?
    class Project { 
         public static void main(String[] arguments) {
              int P = 0;
              int r = 0;
              int n = 0;
              int t = 0;
              int i = 0;     
              //these values are put in by you, the user.
              int interest = Math.pow(i, n) / n;
    system.out.print("The Interest rate is" + interest);
              int rate = Math.pow((1 + r), 1/n) ;//the effective rate
    system.out.println("The effective rate is" + rate);
              int A = P * Math.pow( (1 + Math.pow(i, n) / n), n * t); system.out.print("The total holdings (A) is" + A);
              int e = Math.pow(1 + (1 / n), n);     system.out.print("The return (e) is" + e);
              int time = P Math.pow(1 + r, t);
    system.out.print("The time needed to double?");
    system.out.print("The time needed for this principal is" + time);

  • InetAddress Timeout (Duke Dollars Available)

    Hi people, am making a program that needs to change IP Addresses to domain names, in most cases this code works fine
    InetAddress temp = InetAddress.getByName(ipAddress);
                    try {
                        domainName= temp.getHostName();
                    catch(UnknownHostException ex)
                    { System.out.println("Could not find "+domainName);
                }However, many of the ip addresses will not find a domain name. it will take 5 seconds to discover this where as it will take no time at all to discover a correct domain name if one can be found. is there any way that i can timeout this action if it takes over 20 milliseconds to find a name.
    Thank you for your help.
    code to correct this will lead to ten duke dollars.

    for a java help forum, why does nobody want to be at
    all helpful, i am really stuck and would be really
    greatful of some helpUm, hardly any time has passed yet. Don't start copping an attitude just yet...
    But as alluded to, the duke dollars are utterly worthless. If I wanted 10 more dukes to add to my pile, I could (but wouldn't) just create another login ID, post a fake "question", answer myself with this ID, and award them to "myself".
    Do you actually have a question, other than "will someone do my work/thinking for me"?

  • Test topic for duke dollars test case

    Have had issues reported regarding not being able to assign duke dollars. This is a test to see if there's an issue or not. -- DanG

    it should look like:
    Forum Home > New To Java Technology
    Topic: test to assign Duke dollars
           Duke Dollars
           If you'd like, assign Duke Dollars to this topic to encourange
           others to answer your question. [More Info]  at the top of this thread.

  • Using WAIT to repeatedly check a file !!Duke dollars!!

    I have created this method, it is supposed to read a text file when a button is pressed after i have allocated an amount of time to check the text file. the text file must be checked every 2mins or so to see if there have been any changes!
    i have some code here but 'wait(10000)' doesnt seem to have any effect!
    can anybody help
    theres 15 duke dollars in it for the best solution
    cheers everyone
    private void polling()
    try {
    wait(10000);
    } catch (Exception e){
    try {
    Stack male = new Stack();
              Stack female = new Stack();
              File esbian = new File("02May2002_Test_Facts.txt");
              FileReader ond = new FileReader(esbian);
              BufferedReader hecker = new BufferedReader(ond);
    int ef;
    String incident = "INCIDENT" ;
              while (true)
                   String lum = new String();
                   String umber = "";
                   String olyfeck = hecker.readLine();
                   if (olyfeck == null)
                        break;
                   StringTokenizer tarman = new StringTokenizer(olyfeck);
                   while (tarman.hasMoreTokens())
    umber = tarman.nextToken();
                        for( ef=0; ef < 1; ef++)
    umber = umber.replace('\u0028' , '\u0020');
    umber = umber.replace('\u0029' , '\u0020');
                        umber = umber.trim().toUpperCase();
    if (umber.equals("INCIDENT" ) || umber.equals("EVENT") ||umber.equals("ALARM") || umber.equals("FAULTRECORD") || umber.equals("INTERPRETEDFAULTRECORD"))
    lum = umber;
                             agentout.append("subscription succeeded: " + umber + "\r\n");
              hecker.close();
    catch(IOException efe)
         System.err.println("ERROR: " + efe) ;
    } // end of method polling

    I have created this method, it is supposed to read a text file when a button is pressed after i have allocated an amount of time to check the text file. the text file must be checked every 2mins or so to see if there have been any changes!
    i have some code here but 'wait(10000)' doesnt seem to have any effect!
    can anybody help
    theres 15 duke dollars in it for the best solution
    cheers everyone
    private void polling()
    try {
    wait(10000);
    } catch (Exception e){
    try {
    Stack male = new Stack();
              Stack female = new Stack();
              File esbian = new File("02May2002_Test_Facts.txt");
              FileReader ond = new FileReader(esbian);
              BufferedReader hecker = new BufferedReader(ond);
    int ef;
    String incident = "INCIDENT" ;
              while (true)
                   String lum = new String();
                   String umber = "";
                   String olyfeck = hecker.readLine();
                   if (olyfeck == null)
                        break;
                   StringTokenizer tarman = new StringTokenizer(olyfeck);
                   while (tarman.hasMoreTokens())
    umber = tarman.nextToken();
                        for( ef=0; ef < 1; ef++)
    umber = umber.replace('\u0028' , '\u0020');
    umber = umber.replace('\u0029' , '\u0020');
                        umber = umber.trim().toUpperCase();
    if (umber.equals("INCIDENT" ) || umber.equals("EVENT") ||umber.equals("ALARM") || umber.equals("FAULTRECORD") || umber.equals("INTERPRETEDFAULTRECORD"))
    lum = umber;
                             agentout.append("subscription succeeded: " + umber + "\r\n");
              hecker.close();
    catch(IOException efe)
         System.err.println("ERROR: " + efe) ;
    } // end of method polling

  • I wanna assign you ALL my Duke Dollars....

    ...for a new question i have BUT b4 I can do that I need to retrive back the duke dollars from my earlier messages that haven't been answered and have my dollars gathering dust...how on earth do i do that?

    Silkm I have no issues with assigning you all my dukes from all those earlier questions...just go there, type anything and I will assign them to you if u can solve my query...
    It's gotta do with setting the classpath...and yes, i have already been thru google and forums here...
    This is what i do:
    - Start>Control Panel>System>Advanced>Environment Variables
    - Click on Path in the System Variables section
    - Click Edit and add C:\Program Files\Java\j2re1.4.1_01\bin AFTER %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Common Files\Adaptec Shared\System;
    - Next I go to DOS and get my C prompt to C:\Program Files\Java\j2re1.4.1_01\bin
    - I type javac helloworld.java and ENTER
    - I get "javac is not recognised as an internal or external command, operable program or batch file"
    So then I go back to Start>Control Panel>System>Advanced>Environment Variables
    - This time I click on New in the "User Variables for Gaurav" section(that's me) - after all i am logged in as Gaurav on my XP machine!
    - I type Path in Variable Name and C:\Program Files\Java\j2re1.4.1_01\bin in Variable Value
    - Save
    - goto DOS
    - type helloworld.java and get "javac is not recognised as an internal or external command, operable program or batch file"
    BTW i have installed j2re-1_4_1_01-windows-i586 on a XP machine
    HELP!

  • Where's my monthly duke dollars?

    according to the faq "Duke dollars: JDC members acquire Duke Dollars upon registration, then again on a monthly basis. "
    I dont know enough to earn dukes (yet)... so i count on getting this... otherwise i will have to continue being cheap! I dont like being miserly with my dukes : (
    PS While i have your attention, Christmas is coming - so can i make a request for "lots" of dukes?? ; )

    they are hiding under the Chrismas Tree.

  • SDN Forum points vs Sun Forum Duke Dollars

    I believe that a points system is a great way to encourage participation by the community in problem solving.
    With the points system in SDN, however, there is room for abuse, for example, by having people you know award points to you on threads.
    I personally like the points reward system (Duke Dollars) on Sun's Developer Forums. In this scheme, you work with credits. Every user is given a certain amount of points (Duke Dollars) when they join. When you post a question, you can assign a number of Duke Dollars up front from your available credit as a reward to entice responses. You can also accumulate more Dollars by answering threads which have Dollars assigned.
    Every month, Sun gives a gift to the user who has accumulated the most points.
    I'm not sure that this solves the problem of users not assigning points for valid help, but, because users are working with limited credit, it does force them to be careful when assigning points, and prevents abuse as that mentioned above.
    I would like to hear what other people think about this scheme. Perhaps there are aspects I have not considered.
    Regards,
    Martin

    Would a moderator make it more positive? 
    Actually Craig went into each of the forums and published a "rules of engagement".  Maybe that kind of a "sticky note" post would be the place to remind people about the inappropriateness of redundant questions (across various forums) and the confusion and poor sporting behavior associated with "copied" answers.  I can ping Craig with that suggestion to add text if you think it makes sense to "remind" people in each of the respective forums.
    Or..to be a little more provocative, we could suggest that community members who have a good track record of participation, collaboration, and exemplary attitude be given the moderator rights in forums where the activity volume might be too overwhelming for an SAP moderator alone to manage and given the rights to move content to a more appropriate thread.
    This is what I meant about "self-policing".  Also, perhaps the moderators (internal as well as SAP) could identify themselves in a sticky post and invite participants in those designated threads to track "abuses" or issues, thus identifying them and hopefully resolving them publically.
    Strange, it reminds me that in old, Puritanical, America, of the 17th century community culprits were subjected to a public dunking or stocks when they broke the law.  The purpose being that public condemnation sent a clear message to other "would be" misbehavers.... and thus deterred further bad conduct.
    While a rather radical and unpleasant method it was an open way of dealing with abuses to the system.
    Perhaps others can offer less extreme and more effective suggestions here
    Marilyn

  • Duke Dollars give away

    Hi
    I have some duke dollars which i have assigned to a post, but no one seems to answer me the question properly, So i am asking people to quickly push some valid answers for this and claim their worthy duke dollars.
    To claim the duke dollars kindly go to this thread and answer it
    9 duke dollars are available
    http://forums.java.sun.com/thread.jsp?forum=45&thread=133596
    Thanks
    Swaraj

    The duke dollars are over.
    Thanks
    Swaraj

  • "My Duke Dollars"

    Go to your "My Duke Dollars" and click on the link to "Duke Dollars Rewards Program Account Summary".

    And??What does it give you because for me it gives memy
    'profile management'?No. I get my list of dukes spent, gained, totaland
    recent activity.I too. Sometimes. Other times, I get a 404 or a
    log-in and my profile.Do you remember all the shenanigans with your user profile. How you had to confirm something or whatnot a couple of years ago so they could "centralize" and "streamline" the one Sun account login thingy?
    That worked out well didn't it. Much better now.
    Vote "Don't touch it!" in Sun's feedback poll http://forum.java.sun.com/thread.jspa?threadID=710736&tstart=0 Sun should fix the bugs in the forum software before fiddling around with the GUI.

  • What is Duke Dollars

    i am a new user to java forum,i want to know about the Duke Dollars

    The FAQ there is a little out of date.
    They don't give away prizes anymore like it says (I have heard from of at least one person who got something)
    Since that time Duke dollars have become a bit of a joke.
    Too many people were "cheating" with dukes - just creating throwaway names, and awarding themselves duke dollars.
    You used to be able to see how many duke dollars a person had - which was a small indication of the "expertise" of the person. That was removed in one of the forum "upgrades"
    So now you can't even use them for that. You can still issue them if you want to. It probably won't affect the answers though.

Maybe you are looking for

  • Should I be worri

    BG: I, too, fell to the headphone jack problem, so I sent in my Zen Micro to Creative (US). Anyway, I obtained an RMA on Sep. 20th, and for some reason, I did not send it out until Oct. 2th. According to the UPS Tracking information, my Micro was del

  • Play count sync

    I have my iPod set to "Manually manage music and videos" but still whenever I plug it into my computer, it syncs the play count of songs on my iPod, to the songs on my iTunes. How do I make that stop? This is a big deal to me because I mostly just li

  • Finder not picking up external HD

    I have an external HD that have connected to the mac before in fact I believe it is in OX forma, but regardless when I connect the drive I can see if it disk utility but I can select it. It doesn't show up in finder but I do get a message saying that

  • Help with Smart Collections

    I have constructed a Smart Collection I use to begin my workflow. I bring my just downloaded photos into the collection.  Tis is my frist selection. I will eather pick or reject the photo. No other rating or lable is used, only pick or reject. Proble

  • I have a file that will not let me access it and I can not make myself the owner even though I created it

    I am trying to do something and whenever I try to run it it tells me "The file "start.command" could not be executed because you do not have appropriate access privileges." and if I go to the info about the file and try to make myself an owner it wil