tomcat server-startup & shutdown

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shaileshkumar
    New Member
    • Aug 2007
    • 36

    #1

    tomcat server-startup & shutdown

    iam able to startup & shutdown tomcat server from the bin directory.
    But when i have copied the same files on to the desktop,iam unable to do so.

    my operating system is xp.
    (i have copied startup.bat,shu tdown.bat -MSDOS files).

    What additional path settings i have to do?.
    please help.


    with regards,
    shailesh
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Originally posted by shaileshkumar
    iam able to startup & shutdown tomcat server from the bin directory.
    But when i have copied the same files on to the desktop,iam unable to do so.

    my operating system is xp.
    (i have copied startup.bat,shu tdown.bat -MSDOS files).

    What additional path settings i have to do?.
    My guess would be, that in the bat-files you will find relative paths. Open them with an editor (e.g. notepad) and check if you see absolute or relative paths. If they're relative, change them to absolute paths. Then you should be able to move them anywhere.

    By the way, this is not the best solution - the best way to do it would be to just create links to those files, which are in your bin directory (right click on desktop -> new -> Link (or whatever the second option is called), then chose the files). That should work without having to change any paths.

    Greetings,
    Nepomuk

    Comment

    • shaileshkumar
      New Member
      • Aug 2007
      • 36

      #3
      already bind exception


      hi,
      iam able to do startup & shutdown but iam getting already bind exception
      on the tomcat console

      with regards,
      shailesh

      Comment

      • Nepomuk
        Recognized Expert Specialist
        • Aug 2007
        • 3111

        #4
        Originally posted by shaileshkumar
        already bind exception


        hi,
        iam able to do startup & shutdown but iam getting already bind exception
        on the tomcat console

        with regards,
        shailesh
        You mean an AlreadyBoundExc eption.
        Did you try creating a link instead? And do you get the same Exception, when starting Tomcat from the bin directory?

        Greetings,
        Nepomuk

        Comment

        • shaileshkumar
          New Member
          • Aug 2007
          • 36

          #5
          yes,
          i have tried like this

          on desktop->right click->shortcut...... ..............



          with regards
          shailesh

          Comment

          • Nepomuk
            Recognized Expert Specialist
            • Aug 2007
            • 3111

            #6
            Originally posted by shaileshkumar
            yes,
            i have tried like this

            on desktop->right click->shortcut...... ..............

            with regards
            shailesh
            So, your shortcut points to "C:\Program Files\Apache Software Foundation\Tomc at x.x\bin\startup .bat" or whatever the path is and the file is called?
            And do you only get the Exception when starting it with the shortcut or do you also get it when starting tomcat with the bat-file in the bin-directory you mentioned earlier?

            Greetings,
            Nepomuk

            Comment

            • shaileshkumar
              New Member
              • Aug 2007
              • 36

              #7
              it is working perfectly now.
              problem is probably due to the presence of two tomcat folders

              thanx

              with regards,
              shailesh

              Comment

              Working...