Search:

Type: Posts; User: wdh

Page 1 of 2 1 2

Search: Search took 0.62 seconds.

  1. Re: glassfish error - process already using port 4848

    That also returns blank, so does typing sudo before it. I have done a lot of searching for that error message, i have tried changing the port number to something other than 4848.
    The other problem...
  2. Re: glassfish error - process already using port 4848

    unfortunately that returns nothing as well. I have read it could return this error if the hostname does not resolve to an IP . . . .
    Not sure how to check this though.
  3. Re: glassfish error - process already using port 4848

    Sorry that was a typo. It still returns nothing.
  4. Re: glassfish error - process already using port 4848

    I play around with a few netstat commands. Apparently this should show processes using a particular port
    netstat -an | grep ':4048'
    I tried this and it returned nothing. I am using a mac by the...
  5. glassfish error - process already using port 4848

    I am trying to set glassfish up to create some java servlets.
    I can navigate to the correct folder and if i enter asadmin everything is fine.
    When i enter start-domain i get this error:
    asadmin>...
  6. Replies
    5
    Views
    354

    [SOLVED] Re: Multiple questions - Java beans

    Problem is sorted now. I was changing the colour but not repainting the component. I have added the extra line and it is fine now.
    Thanks for the help!
  7. Replies
    5
    Views
    354

    [SOLVED] Re: Multiple questions - Java beans

    Ok this is my new circleComponent. I think it is working to some extent. When i drag it onto my frame the colour changes. But still when i press the JButton it does not change.



    package...
  8. Replies
    5
    Views
    354

    [SOLVED] Multiple questions - Java beans

    I have a few questions, i am sure they all have simple answers but i just cant seem to get them working right now.
    First problem. I have a circle class, i then have a CircleBeanComponent that i add...
  9. Replies
    0
    Views
    1,092

    [SOLVED] Database authorisation problems

    Ok this problem has confused me, i will outline what the program does first before i tell you the issue i am having.
    I have set up HSQLDB i have created a program which reads from my...
  10. Replies
    11
    Views
    818

    Re: jdbc and HSQL database

    It is a file, Yes i have also tried jbdc.url=jdbc:hsqldb:file:myHSQLDB
    But this comes up with the same result. I have also tried using a full pathname but again this returns the same result. My...
  11. Replies
    11
    Views
    818

    Re: jdbc and HSQL database

    I still have no luck with establishing a connection.
    All files are layed out below, I am following Horstmann's example to establish a connection.
    database.properties

    ...
  12. Replies
    11
    Views
    818

    Re: jdbc and HSQL database

    Thank you, I think I may have spotted my mistake after looking through that link. I will update here tomorrow when I have chance to edit and test the new code.
  13. Replies
    11
    Views
    818

    Re: jdbc and HSQL database

    I have used what you suggested, when trying to connect to the database however, i get this error.


    Exception in thread "main" java.sql.SQLException: The url cannot be null
    at...
  14. Replies
    11
    Views
    818

    Re: jdbc and HSQL database

    jbdc.url=
    jbdc.username=
    jbdc.password=
    jbdc.driver=

    I am creating the .properties file with the details to access the database, i am just not to sure what should be in the url and driver...
  15. Replies
    11
    Views
    818

    jdbc and HSQL database

    I am trying to connect to HSQL database using jdbc
    I want to create a properties file with url, username, password and driver.
    I am not sure what to put for the url and driver though, is it just...
  16. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Sorted! seems so simple now, i now re set the iterator and it runs back through the list until sorted.
    Thanks for all the help Norm.
  17. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    I had another look, ive found circular linked lists which points the last node to the first so it keeps running through, that would help me to keep running through the list but in my head i imagine...
  18. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Sorry, dont understand what you are saying . . .
  19. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Currently its the same as below. If the current date is before previous then sorted = false. It still only runs through the list once though, im not sure how to get it to run through until all...
  20. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Im still not sure how to get this to loop through again. I set the boolean sorted to false if the if statement comparing the dates is true. I also have to set the boolean sorted to true at some point...
  21. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Ive added a temporary assignment to hold the previous element, and them im setting that element at the current index. Ive updated my code at the top of this page, the output shows that its working...
  22. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Thank you, that makes it clearer. So im setting the previous index to the correct date, but them im setting the current index to the same as the previous.
  23. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    in orderSort()
    date - is the previous date in the list
    dateCheck - is the current date in the list
    so dateCheck should be the date the iterator is currently on and it checks to see if it is...
  24. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    Sorry its a bit of a mess, i usually seperate them into seperate files. It compiles and runs in the same way as before though.



    import java.text.ParseException;
    import...
  25. Thread: Sorting LinkedList

    by wdh
    Replies
    28
    Views
    1,501

    [SOLVED] Re: Sorting LinkedList

    I realised i hadnt assigned anything to the boolean sorted so it would never break and print the assignmentList. Changed that now and the printed assignmentList is very wrong. I just have two of...
Results 1 to 25 of 43
Page 1 of 2 1 2