File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Plz Help(Reg. TomCat Installation)

 
sudhir harsha
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Group Members,

I'm new to this group and SCWCD even. I bought HF book. I downloaded "jakarta-tomcat-5.0.30.exe" and installed in my M/C, in E: drive. Thats all I did.
Then I tried to develop the "Beer-v1" web application(chapter 3). I tried to run cd bin/startUp.sh,
but it's asking for the "program u want to open startUp.sh".
Is it due to the location of installation I changed(E drive)?? Any environment variables to be set? Or anything else to be done? Plz suggest.

with Thanks and Regards,
Sudhir.
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that startUp.sh is for Unix systems.
Check out the book for Windows starting procedure.
(I don't own the book so I can't help more)
 
Shobhana Sundar
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using startUp.bat
 
sudhir harsha
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried invoking "startup.bat", but it's showing "the directory name is invalid".
Plz suggest.

Thanks,
Sudhir
 
sudhir harsha
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Some one please reply. I'm waiting for solution.

Thanks,
Sudhir
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The information you give us is too vague. If this is some Tomcat problem, you could try the Apache/Tomcat forum.

And also please read this :
http://faq.javaranch.com/view?PatienceIsAVirtue
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sudhir,

After installing Tomcat do U have a tomcat or apache icon in the system tray??

If not then check the Windows Start menu for apache or tomcat and use the appropriate option to start tomcat if it is not running.

Once it is running you will need to go to http://localhost or localhost:8080 or any other port which U might have setup tomcat on.

try going to http://localhost now itself and see if any page comes up.
[ March 01, 2006: Message edited by: Liyaquat Ali ]
 
Ice Penov
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you haven't already solved your problem, here's something you might wanna try :

1A. Set CATALINA_HOME variable to point to your Tomcat installation directory.
The startup scripts(startup.bar or startup.sh) are using that directory.

OR

you might wanna try:

1B. go to E:/Tomcat(version number here)/bin using Command Prompt. Then you execute :

>java -jar bootstrap.jar

2. After that open your browser and type http://localhost:8080 or http://localhost

If you wanna change your port number you should use Tomcat/conf/server.xml

Hope that helped.
 
sudhir harsha
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ice Penov,
It's working. Thanks a lot.
Hi Satou kurinosuke,
I'm sorry for inconvenience. This will not repeat again frm my side.
 
Ice Penov
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad I could help.

Ice
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic