473,387 Members | 3,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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,shutdown.bat -MSDOS files).

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


with regards,
shailesh
Sep 3 '07 #1
6 2672
Nepomuk
3,112 Expert 2GB
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,shutdown.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
Sep 3 '07 #2
already bind exception


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

with regards,
shailesh
Sep 3 '07 #3
Nepomuk
3,112 Expert 2GB
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 AlreadyBoundException.
Did you try creating a link instead? And do you get the same Exception, when starting Tomcat from the bin directory?

Greetings,
Nepomuk
Sep 3 '07 #4
yes,
i have tried like this

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



with regards
shailesh
Sep 3 '07 #5
Nepomuk
3,112 Expert 2GB
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\Tomcat 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
Sep 3 '07 #6
it is working perfectly now.
problem is probably due to the presence of two tomcat folders

thanx

with regards,
shailesh
Sep 3 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Steve Adams | last post by:
Hi, I have a JSP application on Tomcat that performs XSL transformations on an XML file using the xtags-1.0 taglib. Basically, I have an 'edit' page that displays a table of entities from my XML...
5
by: nmac | last post by:
Hi all, hopefully someone can offer some sagely advice regarding Production use of Jakarta's Tomcat. First, some brief background. My company have a servlet application that connects to a MySQL...
7
by: Alexandr Molochnikov | last post by:
Hello, I've spent a few days trying to get Apache and Tomcat work together via JK module. First I followed the following HOWTO link: http://www.johnturner.com/howto/winxp-howto.html and...
5
by: Tom Martin | last post by:
I'm a Java Web developer NEWBIE that has inherited a website that fails every 2 hours due to poor connection pooling between Tomcat 4.0.6 and mySQL. In efforts to resolve this problem, I've...
0
by: Shireesha | last post by:
Hi all, I am new to this group and wish clear some doubts regarding tomcat server and database connection pooling (Java language). Our group has developed a application using Tomcat 4.x. We need...
0
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat...
0
by: AlexTengco | last post by:
Hi All, I'm not sure if this is the right group to ask this question, but I'll give it a try. I'm currently developing a dotnet web app. Using custom authentication like this: ...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
3
by: Yash | last post by:
Hi all, I found that while we are updating our application, the application is not known to tomcat, untill it is completed. So tomcat sends 503 page as resource not found. I want to know is...
2
by: gamiravi.d | last post by:
Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.