aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Plz Help(Reg. TomCat Installation) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Plz Help(Reg. TomCat Installation)" Watch "Plz Help(Reg. TomCat Installation)" New topic
Author

Plz Help(Reg. TomCat Installation)

sudhir harsha
Greenhorn

Joined: Jan 23, 2006
Posts: 19
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

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)


[My Blog]
All roads lead to JavaRanch
Shobhana Sundar
Greenhorn

Joined: Jul 13, 2005
Posts: 17
Try using startUp.bat
sudhir harsha
Greenhorn

Joined: Jan 23, 2006
Posts: 19
Hi,
I tried invoking "startup.bat", but it's showing "the directory name is invalid".
Plz suggest.

Thanks,
Sudhir
sudhir harsha
Greenhorn

Joined: Jan 23, 2006
Posts: 19
Hi,
Some one please reply. I'm waiting for solution.

Thanks,
Sudhir
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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

Joined: Nov 16, 2005
Posts: 156
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 ]

Excuse me while I kiss the sky (Jimi Hendrix)
Ice Penov
Ranch Hand

Joined: Apr 19, 2005
Posts: 70
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.


In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
sudhir harsha
Greenhorn

Joined: Jan 23, 2006
Posts: 19
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

Joined: Apr 19, 2005
Posts: 70
Glad I could help.

Ice
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Plz Help(Reg. TomCat Installation)
 
Similar Threads
URGENT! - Fresh to Tomcat ...help please!
Is it possible, More than one tomcat running in the one system?
When tomcat starts...
Deploying a WAR file on MAC OS X Leopard
The connection was refused when attempting to contact localhost:8080