Solved

tomcat setup

Posted on 2006-06-18
5
196 Views
Last Modified: 2013-11-24
hello there,

i am trying to run a applet file in tomcat.i have my index.html file in C:\Tomcat5.0\webapps\chat and the jar files in C:\Tomcat5.0\webapps\chat\files

but when i run http://localhost:8080/chat/ i get this error

type Status report

message /chat/

description The requested resource (/chat/) is not available.

please help

cheers
zolf

0
Comment
Question by:zolf
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:runa_paathak
ID: 16932019
Is your "chat" directory in the standard webapp format? You jar files must go into chat/WEB-INF/libs folder.
0
 

Author Comment

by:zolf
ID: 16932023

what do you mean - Is your "chat" directory in the standard webapp format?
0
 
LVL 3

Accepted Solution

by:
runa_paathak earned 250 total points
ID: 16932042
If you want to access your application with this url: http://localhost:8080/chat/ chat must be a web application. It must be similar to this:

You must have a WEB-INF folder within chat folder. Within WEB-INF you must have a lib folder where you put any jar files that the app uses. All your java class files must go into WEB-INF/classes folder. Your index.html must be directly under chat folder.

Is it in this format?
0
 

Author Comment

by:zolf
ID: 16932054

yes i have all those setup.but does not work.i dont have java classes.the application reads from the jar file
0
 

Author Comment

by:zolf
ID: 16932069

thanks it worked.i had to restart the tomcat server
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
changeXy challenge 13 57
strCount chalenge 3 50
Understanding websocket example in spring 1 42
Java Server Faces parameter pass? 6 22
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now