Re: apache question

2011-02-02 Thread Lava Saleem
I'm using linux box that has already apache tomcat I can see there is httpd
in /etc  but I don't see apache beside apache tomcat in the /opt   I also
need to upload my html file in apache or like you said coyote
where and how to do that ?
On Wed, Feb 2, 2011 at 7:40 AM, Ognjen Blagojevic 
ognjen.d.blagoje...@gmail.com wrote:

 Hi Lava,


 On 1.2.2011 19:35, Lava Saleem wrote:

 yeah I have read what you quote before but my question is that
 I need to set apache httpd  as a proxy and I'm not sure if it buildin
 within
 the apache tomcat and what about the mod_jk do I need to download it ?


 Apache Tomcat comes packaged with HTTP server called Coyote.

 There is no need to install Apache HTTPD (in most cases).

 Regards,
 Ognjen


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: apache question

2011-02-02 Thread Lava Saleem
Hi everyone,
I'm sorry for not providing  the system informations earlier, the  linux I'm
using is centos 2.6.18 and the apache tomcat is 7.0.4 java is 1.6.0_22  I
know the difference between apache tomcat and apache httpd, I need
to configure apache httpd to server as a proxy,  I just want to know  is
apache httpd comes with apache tomcat when you download it, as I mentioned
before I see there is httpd in /etc but I don't see apache in the /opt  so
does that means I need to download apache ? and my second question is how to
upload a html ( embedded with java script )web page into apache ?
 Thanks
LS

On Wed, Feb 2, 2011 at 12:22 PM, André Warnier a...@ice-sa.com wrote:

 Lava Saleem wrote:

 I'm using linux box that has already apache tomcat I can see there is
 httpd
 in /etc  but I don't see apache beside apache tomcat in the /opt   I also
 need to upload my html file in apache or like you said coyote
 where and how to do that ?


 Lava,

 you have not told us which version of Tomcat (or Apache httpd) you are
 using, on which exact platform, with which version of Java, nor anything
 really about where these different packages come from or how or where they
 are installed.
 You also seem to be relatively confused about what Apache Tomcat and Apache
 httpd really are, and how they can communicate with eachother, or even if
 they need to communicate with eachother and why.

 There are probably 30 different types of Linux, and several hundred types
 of boxes on which to run it.  Each type of Linux installs Apache httpd and
 Apache Tomcat in different series of multiple directories on the disk.  So
 how could anyone tell you if it is normal or not that you find (or don't
 find) something in /etc or /opt ?

 If you could give us some real information for a change, including what
 exactly you are trying to achieve and for which reason, then someone here
 might be able to help you, or else direct you where you might get some real
 help.




 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: apache question

2011-02-02 Thread Lava Saleem
so that means I already have apache httpd but I need to install mod_jk
connector correct?


On Wed, Feb 2, 2011 at 1:19 PM, Dave Evans dsevan...@gmail.com wrote:

 In centos the file /etc/httpd/conf/httpd.conf should be the
 configuration for the Apache HTTP Server. For information on that
 configuration please write to the apache users list. One quick tip,
 assuming you have no virtual hosts set up, the DocumentRoot directive
 will tell you where to put your html files.

 To pass java server requests to Tomcat you can install mod_jk. You
 should be able to find an rpm to do this for you. Once it is
 installed, you'll need to use JkMount directives in the httpd.conf
 file to tell Apache Http Server which requests to pass to Tomcat, for
 instance:
 JkMount /*.jsp ajp13 # pass jsp file requests
 JkMount /*.do ajp13 # pass struts app requests
 JkMount /manager/* ajp13 # pass manager app requests

 The ajp13 token above is the name of a worker configured in your
 {tomcat root}/conf/workers.properties file.

 This will help I hope:
 http://tomcat.apache.org/connectors-doc/generic_howto/quick.html

 Dave

 On Wed, Feb 2, 2011 at 11:00 AM, Lava Saleem lnsal...@ualr.edu wrote:
  Hi everyone,
  I'm sorry for not providing  the system informations earlier, the  linux
 I'm
  using is centos 2.6.18 and the apache tomcat is 7.0.4 java is 1.6.0_22  I
  know the difference between apache tomcat and apache httpd, I need
  to configure apache httpd to server as a proxy,  I just want to know  is
  apache httpd comes with apache tomcat when you download it, as I
 mentioned
  before I see there is httpd in /etc but I don't see apache in the /opt
  so
  does that means I need to download apache ? and my second question is how
 to
  upload a html ( embedded with java script )web page into apache ?
   Thanks
  LS
 
  On Wed, Feb 2, 2011 at 12:22 PM, André Warnier a...@ice-sa.com wrote:
 
  Lava Saleem wrote:
 
  I'm using linux box that has already apache tomcat I can see there is
  httpd
  in /etc  but I don't see apache beside apache tomcat in the /opt   I
 also
  need to upload my html file in apache or like you said coyote
  where and how to do that ?
 
 
  Lava,
 
  you have not told us which version of Tomcat (or Apache httpd) you are
  using, on which exact platform, with which version of Java, nor anything
  really about where these different packages come from or how or where
 they
  are installed.
  You also seem to be relatively confused about what Apache Tomcat and
 Apache
  httpd really are, and how they can communicate with eachother, or even
 if
  they need to communicate with eachother and why.
 
  There are probably 30 different types of Linux, and several hundred
 types
  of boxes on which to run it.  Each type of Linux installs Apache httpd
 and
  Apache Tomcat in different series of multiple directories on the disk.
  So
  how could anyone tell you if it is normal or not that you find (or don't
  find) something in /etc or /opt ?
 
  If you could give us some real information for a change, including what
  exactly you are trying to achieve and for which reason, then someone
 here
  might be able to help you, or else direct you where you might get some
 real
  help.
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




apache question

2011-02-01 Thread Lava Saleem
Hi,
I have a simple question regarding apache, I found out that I need to use
apache httpd with tomcat, I have already installed tomcat apache  in my
server my question is does  tomcat comes already with buildin  apache
httpd ? and what about mod_jk do I need to download it ?


Thanks
LS


Re: apache question

2011-02-01 Thread Lava Saleem
Hi Chuck,
yeah I have read what you quote before but my question is that
I need to set apache httpd  as a proxy and I'm not sure if it buildin within
the apache tomcat and what about the mod_jk do I need to download it ?

On Tue, Feb 1, 2011 at 12:04 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Lava Saleem [mailto:lnsal...@ualr.edu]
  Subject: apache question

  I have a simple question regarding apache

 Apache is a software organization.  To quote from the home page: The ASF
 is made up of nearly 100 top level projects that cover a wide range of
 technologies. Chances are if you are looking for a rewarding experience in
 Open Source, you are going to find it here.

  I found out that I need to use apache httpd with tomcat

 Why do you think that?

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




reverse proxy rule configuration

2011-01-13 Thread Lava Saleem
Hi everyone,
I have a web page  html embedded with java script  deployed in the apache,
this webpage is suppose to retrieve data from different server, for some
reason this is not happening cause Iam violating java script same origin
policy and I have been told that what I need to do is set up a reverse proxy
rule to avoid that, I have read the following website and to be honest I'm a
bit confused about configuring a rule ? I'm not quite sure if this is the
right thing to do to avoid violating same origin policy, I know both boxes
(apache and the other server) are in the same domain, if you have further
information please send me your feedback
 http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html


Thank you

Lava


Re: reverse proxy rule configuration

2011-01-13 Thread Lava Saleem
Chris,
Thanks for the feedback, what I have is a apache tomcat that is set to
default I haven't changed any configuration,I have uploaded  html webpage
that has embedded java script, the web page suppose to send json data to
another server and return json data back, the problem is the other server is
not responding, somebody told me to set up a reverse proxy rule in the
tomcat apache to avoid the same origin policy violation, to be honest I
don't know how to set up reverse proxy rule and I'm not sure if that will
solve the same origin policy issue, do you  think that will solve it?


On Thu, Jan 13, 2011 at 11:43 AM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Lava,

 On 1/13/2011 11:32 AM, Lava Saleem wrote:
  I have read the following website and to be honest I'm a bit confused
  about configuring a rule?

 One opint of confusion may be that the configuration for a reverse proxy
 must be at the /web server/ level, and not in Tomcat. The configuration
 examples shown in the document you're reading are for Apache httpd (the
 web server) not for Apache Tomcat (the application server).

 Are you running Apache httpd? If not, you're reading the wrong HOWTO.

  I'm not quite sure if this is the
  right thing to do to avoid violating same origin policy

 One could argue that subverting the same-origin policy isn't a good
 thing to do :)

  I know both boxes (apache and the other server) are in the same
  domain, if you have further information please send me your feedback
  http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html

 Some examples of your environment would make it easier to understand
 what you're trying to do, and help us help you.

 Thanks,
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk0vK6oACgkQ9CaO5/Lv0PCZfACdGDqS4IpEMimj2hNn6Q5Y8N3x
 HhoAoKZ3OKr63B2XssBehkPSF94Le/zm
 =6WUi
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: HTTP status 404

2010-12-09 Thread Lava Saleem
Hello everyone,
Thanks for the replies I really appreciate your feedback

I have the structure as the following
webapps
|
filename
|- filename.htm
*|-*WEB-INF
|- web.xml
|-META-INF
|-context.xml

after having this structure,I use the following command

CATALINA_BASE/webapps/filename/ jar -cvf filename.war *.*

then I deploy the file in the tomcat manager and I have the following error

HTTP status 404
description the requested resource (/filename/)is not available

I assumed that I don't need the  java classes and lib in the WEB-INF  since
I'm only having single html file with java script, Do you think I need any ?
if so how do I know which files I need ?

 I also extracted the filename.war just to see whats in there and I see only
the filename.htm and the META-INF  there is no WEB-INF it is disappearing

Thanks
Lava

On Wed, Dec 8, 2010 at 4:35 PM, André Warnier a...@ice-sa.com wrote:

  Lava Saleem wrote:

 Hi everyone,
 I have  a single page html file with java script embadded in it, I have
 created a war file for it and deployed it successfully but when I click on
 the page I get the below error, the structure of my war file is the
 following

 webapp -- filename -- WEB-INF-- filename.htm  + web.xml + META-INF
 +  classes + lib

 I did not modify the web.xml since I don't need the servlets do I need to
 modify anything?

 HTTP status 404
 description the requested resource (/filename/)is not available


 Hi.
 Except the 404 error which your are getting, not much above makes any sense
 at all.

 So it is better to forget all that, and start new.
 You really have to learn to walk before you can run.

 First, consider the directory structure of a standard Tomcat installation :

 (CATALINA_HOME)
 (=CATALINA_BASE)
  |
  |- bin (tomcat programs and scripts)
  |- conf (configuration files)
  |- lib (global library files)
  |- logs (logfiles)
  |- webapps (* web applications *)
|- ROOT  (the special, top-level, default web application)
|- app1 (a web application)
|- app2 (another web application)
|- ...
|- lastapp (another web application)

 In the above, (CATALINA_HOME) represents the top directory of your Tomcat
 installation, the one under which the rest of Tomcat is found.
 For example, on your system it may be C:\tomcat or C:\program
 files\Apache Software Foundation\tomcat6.0 or /usr/share/tomcat6 or
 /usr/local/tomcat6 or whatever.

 The webapps sub-directory is what is important for you now.  That is
 where you will put web applications, composed of static html pages (with
 or without javascript in them), JSP pages (special html pages with embedded
 Java code), java servlets (compiled java applications), etc..

 The ROOT web application is special.  It is the default application.
 When you use a URL like : http://yourserver.yourcompany.com/abc.html
 Tomcat is going to look for abc.html under the webapps/ROOT directory.

 The other subdirectories under webapps are each one separate web
 application.
 To access for example the application named app1, you will have to use a
 URL starting with http://yourserver.yourcompany.com/app1/;
 For example, if you place a html page named xyz.html in the subdirectory
 (CATALINA_HOME)/webapps/app1, then the URL to call it up will be
 http://yourserver.yourcompany.com/app1/xyz.html

 Under such a web application directory like ../webapps/app1, there is also
 a structure.
 It looks like this :

 (CATALINA_HOME)
 (=CATALINA_BASE)
  |- webapps (* dir, top of all web applications *)
|
|- app1 (dir, contains the web application named app1)
- public files (html etc..)
- WEB-INF (directory)
 |- files (private)
 |- web.xml (configuration file for the application)
 |- classes (dir.)
   |- compiled java classes, like servlets
 |- lib (dir)
   |- java libraries for this webapp
- META-INF (dir.)
 |- context.xml (more settings for the application)

 Basically everything under app1 is optional.  Tomcat will supply a
 default if needed.
 Of course, you will want at least one file under there, to make the execise
 meaningful.

 What is in the sub-directories WEB-INF and META-INF, can never be obtained
 directly by a browser. Tomcat will not allow it.
 So if you enter the following URL in the browser :
 http://yourserver.yourcompany.com/app1/WEB-INF/something
 Tomcat will respond with an error, even if something exists.


 But to start, I suggest that you just
 - stop tomcat
 - create a new sub-directory under ../webapps/, for example myapp.
 - under that subdirectory, place a file called myfile.html
 - verify that the ownership and permissions of these files are such that
 the Tomcat user can read them
 - start Tomcat
 - in the browser, enter

Re: HTTP status 404

2010-12-09 Thread Lava Saleem
Hi Mark,
I have changed my web.xml file to the one you send me and added the
welcome-file-list so I will not need to navigate to
localhost:8080/filename/filename.htm, I changed the index.htm to
filename.htmthen I navigated to  localhost:8080/filename and it didn't
work , I also copied the filename.war file to the webapps and nothing
changed

 however after changing the web.xml file when I navigate to
localhost:8080/filename/filename.htm   the filename pops up, on the manager
side its says running but the session stays zero  so to be honest I'm kinda
confuse is it working now ?if I changed the web.xml shouldn't be working on
localhost:8080/filename/ ?

Thanks
Lava

On Thu, Dec 9, 2010 at 1:15 PM, Mark Eggers its_toas...@yahoo.com wrote:

 In the absence of a web.xml file with the following:

welcome-file-list
welcome-filefilename.htm/welcome-file
/welcome-file-list

 You will have to navigate to:

 localhost:8080/filename/filename.htm

 In another message I posted a minimal web.xml file. Change index.html to
 filename.htm (if this is what you want your welcome file to be). Then
 navigating
 to:

 localhost:8080/filename/

 will work.

 If you want to create a war file, do the following:

 1. Change to the directory filename
 2. jar cf ../filename.war .
 3. cd ..
 4. jar tf filename.war (should give you the complete structure)

 One way to use the war file:

 1. Copy filename.war to $CATALINA_HOME/webapps

 If running, the default configuration of Tomcat will explode the war file
 and
 you will see a filename directory in $CATALINA_HOME/webapps along with
 filename.war. If you look inside that directory, you will see your web
 application structure.

 . . . . . just my two cents.

 /mde/

 - Original Message 
 From: Lava Saleem lnsal...@ualr.edu
 To: users users@tomcat.apache.org
 Sent: Thu, December 9, 2010 9:10:13 AM
 Subject: Re: HTTP status 404

  Hello everyone,
 Thanks for the replies I really appreciate your feedback

 I have the structure as the following
 webapps
 |
 filename
|- filename.htm
 *|-*WEB-INF
|- web.xml
|-META-INF
|-context.xml

 after having this structure,I use the following command

 CATALINA_BASE/webapps/filename/ jar -cvf filename.war *.*

 then I deploy the file in the tomcat manager and I have the following error

 HTTP status 404
 description the requested resource (/filename/)is not available

 I assumed that I don't need the  java classes and lib in the WEB-INF  since
 I'm only having single html file with java script, Do you think I need any
 ?
 if so how do I know which files I need ?

 I also extracted the filename.war just to see whats in there and I see only
 the filename.htm and the META-INF  there is no WEB-INF it is disappearing

 Thanks
 Lava

 On Wed, Dec 8, 2010 at 4:35 PM, André Warnier a...@ice-sa.com wrote:

   Lava Saleem wrote:
 
  Hi everyone,
  I have  a single page html file with java script embadded in it, I have
  created a war file for it and deployed it successfully but when I click
 on
  the page I get the below error, the structure of my war file is the
  following
 
  webapp -- filename -- WEB-INF-- filename.htm  + web.xml + META-INF
  +  classes + lib
 
  I did not modify the web.xml since I don't need the servlets do I need
 to
  modify anything?
 
  HTTP status 404
  description the requested resource (/filename/)is not available
 
 
  Hi.
  Except the 404 error which your are getting, not much above makes any
 sense
  at all.
 
  So it is better to forget all that, and start new.
  You really have to learn to walk before you can run.
 
  First, consider the directory structure of a standard Tomcat installation
 :
 
  (CATALINA_HOME)
  (=CATALINA_BASE)
   |
   |- bin (tomcat programs and scripts)
   |- conf (configuration files)
   |- lib (global library files)
   |- logs (logfiles)
   |- webapps (* web applications *)
 |- ROOT  (the special, top-level, default web application)
 |- app1 (a web application)
 |- app2 (another web application)
 |- ...
 |- lastapp (another web application)
 
  In the above, (CATALINA_HOME) represents the top directory of your
 Tomcat
  installation, the one under which the rest of Tomcat is found.
  For example, on your system it may be C:\tomcat or C:\program
  files\Apache Software Foundation\tomcat6.0 or /usr/share/tomcat6 or
  /usr/local/tomcat6 or whatever.
 
  The webapps sub-directory is what is important for you now.  That is
  where you will put web applications, composed of static html pages
 (with
  or without javascript in them), JSP pages (special html pages with
 embedded
  Java code), java servlets (compiled java applications), etc..
 
  The ROOT web application is special.  It is the default application.
  When you use a URL like : http://yourserver.yourcompany.com/abc.html
  Tomcat is going to look for abc.html under the webapps/ROOT directory

HTTP status 404

2010-12-08 Thread Lava Saleem
Hi everyone,
I have  a single page html file with java script embadded in it, I have
created a war file for it and deployed it successfully but when I click on
the page I get the below error, the structure of my war file is the
following

webapp -- filename -- WEB-INF-- filename.htm  + web.xml + META-INF
+  classes + lib

I did not modify the web.xml since I don't need the servlets do I need to
modify anything?

HTTP status 404
description the requested resource (/filename/)is not available

Thanks for the feedback
Lava


Re: HTTP status 404

2010-12-08 Thread Lava Saleem
Hi Chris
Thanks for the reply

Didn't you ask this same question the day before yesterday? Have you
read all the replies and questions?

No this one is a different question  yes I have read the replies and went
through the documentation

What does all that mean? Are those file paths? Are they descriptions of
how you have concatenated files together? It doesn't make any sense to me.

yes those are the folder path as you may see, I have  filename.htm with
web.xml with META-INF with classes with lib in a folder called WEB-INF  this
folder  is in a folder called filename, filename is in the webapp folder.

What URL did you request? What resource did you expect it to serve?
yes I have the url and I can't think of any resources needed thats why Iam
asking the question


Thanks

Lava

On Wed, Dec 8, 2010 at 2:47 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Lava,

 Didn't you ask this same question the day before yesterday? Have you
 read all the replies and questions?

 On 12/8/2010 2:39 PM, Lava Saleem wrote:
  I have  a single page html file with java script embadded in it, I have
  created a war file for it and deployed it successfully but when I click
 on
  the page I get the below error, the structure of my war file is the
  following
 
  webapp -- filename -- WEB-INF-- filename.htm  + web.xml + META-INF
  +  classes + lib

 What does all that mean? Are those file paths? Are they descriptions of
 how you have concatenated files together? It doesn't make any sense to me.

  I did not modify the web.xml since I don't need the servlets do I need to
  modify anything?

 Maybe.

  HTTP status 404
  description the requested resource (/filename/)is not available

 What URL did you request? What resource did you expect it to serve?

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkz/4L4ACgkQ9CaO5/Lv0PAScgCePUhYj8pYL/9Vb3eNZDHncVa3
 GAsAoLvpcJjFYd1vb6ufehd41FgB084q
 =SFt0
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




--


war file question

2010-12-06 Thread Lava Saleem
Hi Everyone,
I have an html file with java script embedded in it, I want to employ this
web page in the apache tomcat, can you please give me hints on how to
transfer this file into war file, I have the file in the right directory
inside the WEB-INF but it is not working, do I need to convert this file
into JSP then to war file ? I'm getting the following message

FAIL - Application at context path /handshake_testing could not be started

Thank you in advance for the feedback



Lava


Re: war file question

2010-12-06 Thread Lava Saleem
Hi Martin,
Thanks for the reply  I did what you told me I moved the html file into
$TOMCAT_HOME/webapps/filenameand changed to *.jsp but it didn't work I
got the following message

FAIL - File uploaded handshake_testing.jsp must be a .war

Lava

On Mon, Dec 6, 2010 at 10:36 AM, Martin Gainty mgai...@hotmail.com wrote:


 most containers will not look for jsp in WEB-INF but in webapp base folder
 e.g. $TOMCAT_HOME/webapps/WebAppFolderName
 to remedy mv/rename the html files from WEB-INF over to WebAppFolderName
 and be sure to mv/rename *.html to *.jsp

 Shalom,
 Martin

 
  Hi Everyone,
  I have an html file with java script embedded in it, I want to employ
 this
  web page in the apache tomcat, can you please give me hints on how to
  transfer this file into war file, I have the file in the right directory
  inside the WEB-INF but it is not working, do I need to convert this file
  into JSP then to war file ? I'm getting the following message
 
  FAIL - Application at context path /handshake_testing could not be
 started
 
  Thank you in advance for the feedback
 
 
 
  Lava





-- 
Lava Saleem
Ph.D Candidate
Systems Engineering Dept. ETAS 357
University of Arkansas at Little Rock
2801 S University Avenue
Little Rock, AR 72204
Tel: (501) 920 6261
Email: lnsal...@ualr.edu


Re: war file question

2010-12-06 Thread Lava Saleem
Hi
Thanks for the replies
Pid thanks for the link but I have looked into before sending the email and
it is very general and not very useful, as I'm a beginner user for tomcat.
Check I was deploying the  file with jsp extension  and I got this
message on the top of the tomcat webpage. Now I have my html file in the
WEB-INF  I changed the extension to war but that didn't work as it didn't
work if I left it as html extension. it is very simple file with few lines
of java script.
Thanks



On Mon, Dec 6, 2010 at 12:45 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Lava Saleem [mailto:lnsal...@ualr.edu]
  Subject: Re: war file question

  Hi Martin,
  Thanks for the reply

 Which, unfortunately, was largely irrelevant, and contained a serious flaw.

  I did what you told me I moved the html file into
  $TOMCAT_HOME/webapps/filename and changed to *.jsp

 Moving the file is correct, but don't change the extension - leave it as
 .html; it's not a JSP.

  FAIL - File uploaded handshake_testing.jsp must be a .war

 The above is not a Tomcat message, although it may come from some auxiliary
 app deployed under Tomcat.  Exactly what were you doing when you got the
 message?

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Lava Saleem
Ph.D Candidate
Systems Engineering Dept. ETAS 357
University of Arkansas at Little Rock
2801 S University Avenue
Little Rock, AR 72204
Tel: (501) 920 6261
Email: lnsal...@ualr.edu


Re: Can't access tomcat manager

2010-12-02 Thread Lava Saleem
Hi everyone,
Thanks for the replies yeah I have checked the tomcat user xml file and
there are no missing  comments  brackets  or anything so is there any other
reason for this to happen ? do  I need to modify anything else ?

Thank you
Lava
On Thu, Dec 2, 2010 at 3:52 AM, Pid p...@pidster.com wrote:

 On 12/1/10 10:05 PM, Lava Saleem wrote:
  Hi,
  I have installed apache tomcat 7.0.4  on a centos linux box,

 7.0.5 has just been released.


 p




--


Re: Can't access tomcat manager

2010-12-02 Thread Lava Saleem
Thanks everyone for the replies,  it is working now it was a port problem.


Lava

On Thu, Dec 2, 2010 at 2:56 PM, André Warnier a...@ice-sa.com wrote:

 Lava Saleem wrote:

 Hi everyone,
 Thanks for the replies yeah I have checked the tomcat user xml file and
 there are no missing  comments  brackets  or anything so is there any
 other
 reason for this to happen ? do  I need to modify anything else ?

 Unfortunately now, as someone alredy pointed out, we have run out of
 probabilities.
 But wait, David is restarting from the beginning, so maybe we get to make a
 second bet.



 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Lava Saleem
Ph.D Candidate
Systems Engineering Dept. ETAS 357
University of Arkansas at Little Rock
2801 S University Avenue
Little Rock, AR 72204
Tel: (501) 920 6261
Email: lnsal...@ualr.edu


Can't access tomcat manager

2010-12-01 Thread Lava Saleem
Hi,
I have installed apache tomcat 7.0.4  on a centos linux box,  I have
modified the tomcat-users.xml file as shown below and restarted it, my
tomcat  still can't get an access to the manager,  I deleted the other users
and just put mine in the xml file but this didn't really helped. I'm new to
this system can anybody send me a feedback?
Thank you inadvance

tomcat-users
role rolename=tomcat/
role rolename=role1/
role rolenmae=manager-gui/
user username=tomcat password=tomcat role=tomcat/
user username=both  password=tomcat role=tomcat,role1/
user username=role1 password=tomcat  role=role1/
user username=lnsaleem password=lnsaleem role=manager-gui/
/tomcat-users

Lava