Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Plz Help(Reg. TomCat Installation)

 
Greenhorn
Posts: 19
  • 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.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • 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)
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using startUp.bat
 
sudhir harsha
Greenhorn
Posts: 19
  • 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
  • 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
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • 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
 
Ranch Hand
Posts: 156
  • 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 ]
 
Ranch Hand
Posts: 70
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad I could help.

Ice
 
knowledge is the difference between drudgery and strategic action -- tiny ad
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!