facebook

Jboss startup problem in MyEclipse

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #302732 Reply

    sherryhe
    Member

    Hi,

    I am new to Java and MyEclipse so please bear with me if I am asking silly questions… I am having a weird problem every time I start Jboss from MyEclipse — it always open up the debug perspective, shows Integer.class file and point to the line ” throw new NumberFormatException(“null”); ” in function public static int parseInt(String s, int radix), and the jboss startup process is suspended here. I am using jdk1.5.0_14 and jboss-4.2.2.GA. MyEclipse version is 6.0.1 GA. Can anyone try to figure out what would be going wrong and help me please? Please let me know what else information you need. Thanks so much.

    #302750 Reply

    support-joy
    Member

    sherryhe,

    Can you try the following steps to test whether JBoss is running correctly in your system:
    1) Create a Web Project.
    2) Right click on the project and run in JBoss server.
    3) open browser and access the project.

    If you get the message “This is my JSP Page” page, JBoss is running correctly in your system and there is some problem with your code. Please correct your code and run JBoss.

    Please let me know.

    #302759 Reply

    sherryhe
    Member

    Joy,

    Thank you for your help. I followed your instructions and tried it out. I can get the message “This is my JSP Page”. I have several web projects in my workspace, when I right click any of them and run in JBoss server, the JBoss seems run fine. But when I click the icon on the top that says Run/Stop/Restart MyEclipse Servers and choose JBoss 4.x->Start, I always get that error. Also when I go to the directory where my JBoss is installed and start JBoss from there, it also runs fine. So it’s just starting up JBoss by clicking the icon doesn’t work. I agree with you that probably there is some problem in my code, but do you have any ideas why other JBoss startup methods work (no error message shown) but only clicking the icon shows that error?

    Thanks

    #302777 Reply

    support-joy
    Member

    sherryhe,

    Can you run the JBoss from the icon after clearing the .log file and observe if there are any errors logged. Log file is available at “~\[your workspace dir]\.metadata\.log”.
    Can you also check by switching to a new workspace and run JBoss from top icon.
    Please let me know.

    #302791 Reply

    sherryhe
    Member

    Joy,

    This is what happen when I run JBoss from the top icon after cleaning .log file: after I click the icon, the debug perspective show up as before, and I click resume button, the startup process resumed, and at some point the same error show again, and I just resume it again, and JBoss startup “sucessfully”. Nothing logged in the .log file.

    When I switch to a new workspace and run JBoss from top icon, everything is fine. No debug perspective shown and also no error in the .log file

    Thanks

    #302815 Reply

    support-joy
    Member

    sherryhe,

    I think your old workspace is corrupted.
    Good to hear that on switching to a new workspace you no longer face this issue.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Jboss startup problem in MyEclipse

You must be logged in to post in the forum log in