Re: mod-jk stopped working

2014-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jim,

On 2/15/14, 1:22 AM, Jim Borland wrote:
 Wow!  I put my JkMounts inside the VirtualHost directives and now
 it is working again.  Thank you very much!

Sounds like the mod_jk version and/or httpd was/were upgraded and you
didn't know. That's why a working configuration suddenly stopped
working.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTAh3fAAoJEBzwKT+lPKRY9HsP/3ZR74UNFvWHnQZTAASz+cWI
0gqIdBIhoSqyounDM+f3j6A43RAYmzShe01S0IzcElFPA6Ze0libXc9cgFGz11tM
WjILttc8I7e+p/7JaZaeHB8PlcYoZhZmS87bdJHBbm0pG0vAR8/wiXypdXqSPgv3
GvBw7+HEUoQClGz8alBuxgZjnpLtg0Fc/zaOCZEXSsKafa3l3zOJdlR7ZT3tPm5e
EByBGzESbnc4Qo1EML8CH3wBPTM6B2WbkCKjm+7VUYL74md/r2RrkhCPBHhoJc68
1askvu/BkN2j4aPcABl3KO+lq91iCfZdmFvonu8BYxKzvI2RcoRtgw/vPijgRLG4
wBwST8msIM6d5az5VYJ5AQ/GmO0rebkEq94z6cPGNbdTqVjDVXPp2mktKmZS7r5z
u9NkNUWY6s8sFcUUNcDREp3vlxs6AHZvSFSd9osP6PfOatuv3ed/A8mBULbOZcDA
hgsn3/tEuAsmbhTLZ84Id3/t/KGE22oJpo7rE5uMy4xI8ndYzYdpoH4RhTKR/BMY
dw1RhRHKd/cmJzwpVBjQ2Ay+brYxfau6f/u0hqnWITxbulaaOwdfs45oT48Km4f0
XTsHZUk4+jIApPKk+8aR/POycVd1O6REgJpzRxJJ/Bp+AzAF1pF1n4ilDLpiU5OI
RFVLtiOs1tZQUrJEB2PO
=FkIJ
-END PGP SIGNATURE-

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



Re: Unable to shutdown Tomcat

2014-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Pooja,

On 2/14/14, 5:46 PM, Pooja Swamy wrote:
 Here is another thing. Everytime I start tomcat, it is not throwing
 an error. I am able to start it up multiple times. -
 
 myMac:bin test$ ./startup.sh Using CATALINA_BASE:
 /Users/test/software/runtime Using CATALINA_HOME:
 /Users/test/software/runtime Using CATALINA_TMPDIR:
 /Users/test/software/runtime/temp Using JRE_HOME: 
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 
 Using CLASSPATH: 
 /Users/test/software/runtime/bin/bootstrap.jar:/Users/test/software/runtime/bin/tomcat-juli.jar

Please
 
try running it like this, like I suggested:

/Users/test/software/runtime$ bin/startup.sh run

Please note that the run argument */is completely essential/*. you
should have at least 2KiB worth of logs spewing out that you can paste
back to the list.

Honestly, this is becoming tiresome trying to extract information from
you to try to help.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTAh8LAAoJEBzwKT+lPKRYAyAQAIQGVWP1XtLDB+r+6uRiZfSX
tc8Yd2PGh9UjAv7ARKP6gJeRvERwI4A8gsRXriOJqJ9dDQ3jRNCYDvxweYogi5jN
2pbm3dryxtAkMPDcB+i5w/xpyuKX80jF1xeCG/3lRqZeDC7vjwAUfyiCOHSvwSxq
m15FiCORjimuHmomGArD259XnDIEebH/bZ5QDLpWZBLfdagPikdwgXPj4ns13Yzn
M0hXV4wZk8Av2OdsQENqHedWzbHiIN+gHix/vVCgK+JU6PVkK8e0Uq2BtdiDAE/+
yb9NbZT1zfNZM0WbAj3iNNZ4l9eL0CNeVBOAEMXerdrYWKdFHKuv4dOsSpZPbgUj
Tv43cUeC8v2qdTlIKf7G/+X0npnCRKqqX6fst9ISuR7TKTg/iM/bp1blW6yR+X12
EIpJIifFG4ffACns9XaimkEd6ZGLc8HmwTEz+J6CFc7Paa51RAMC5hkrpRFJ02dA
9o2BToFSPKTHCbhFZR3yL4Xli8enW2h6EdjFT4FIs9SVtktejU3/71E4YkJLQiuK
pAWx0sHBKtbyWw1ndvydS2/uXnkZocr7zq5Ug+B+tSXvgwu41js5GHngWhAXLh5K
QQD4sYODQ84bSdrRsx7ATvOGL5/Nxp6qzli8AyfC8aCzeG3wZh4eVDSMZY1dZc8J
M5EuDZrCGiYD2gnkN++z
=L5CI
-END PGP SIGNATURE-

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



Re: Unable to shutdown Tomcat

2014-02-17 Thread André Warnier

Pooja,

*STOP*.  *PAUSE*.  Please.

Stop changing the configurations and the servers, and take some time to do things 
systematically, step by step, and answer the questions without changing the data in the 
meantime, and without overwhelming us with confusing answers.


Suggestion :

1) choose one server and one configuration, and stick to it, no matter what happens, until 
we tell you otherwise.


2) when asked to do something or to answer a question, do it, post your message to the 
list, and do nothing else until you get the next response.

In particular, do not change the configuration or make another test in the 
meantime.
This is confusing for everyone.  We don't know what you are answering to 
anymore.

3) after you have chosen one server and one configuration :
- if needed, stop Tomcat by whatever means you can (reboot the system, if you 
have to)
- find and delete *all* the tomcat logs
- copy and paste the content of the Tomcat server.xml file here, in-between the BEGIN 
and END tags :


BEGIN

END

(remove any confidential parts, like passwords, hostnames, and *remove all XML 
comments*)

4) start tomcat, using startup.sh.  Do this only *one* time, not many times.

then cut and paste the screen output of that command here, between BEGIN and END

BEGIN

END

5) enter this command :
netstat -t -pan | grep LISTEN

then cut and paste the response lines here, between BEGIN and END

BEGIN

END

6) enter this command :
ps -ef | grep 'tomcat'

then copy and paste the response lines here, between BEGIN and END

BEGIN

END


7) find the tomcat logfiles. They should all be brand-new, since you have deleted them 
before starting tomcat. (You did, didn't you ?).

Find the one which contains a message like : INFO: Starting service Catalina
in the first 10-20 lines.
Copy and paste that whole file here, between BEGIN and END :

BEGIN

END


The above will tell us, once and for all, if your tomcat is running or not, and on what 
ports it is - or should be - listening.



8) then, *do not* change anything or do anything until someone comments or asks 
for more.

Note that in all the above, it says copy and paste, not attach.



Pooja Swamy wrote:

I changed my port to 1800.

1. I got it from another server that is also running the same version.

...

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



Re: Eclipse: Server Tomcat v7.0 Server at localhost failed to start.

2014-02-17 Thread Dave Kennedy
Hi Martin,
Even though $CATALINA_HOME/lib is on the project Java Build Path
I needed to add
  servlet-api.jar
  jsp-api.jar
  el-api.jar
to the 'Eclipse Tomcat Server' Launch Configuration | Classpath | Bootstrap
Entries
to run the app

Dave


On Sat, Feb 15, 2014 at 5:45 PM, Martin Gainty mgai...@hotmail.com wrote:




  Date: Fri, 14 Feb 2014 14:19:04 -0800
  Subject: Re: Eclipse: Server Tomcat v7.0 Server at localhost failed to
 start.
  From: davek1...@gmail.com
  To: users@tomcat.apache.org
 
  OK I added servlet-api.jar and jsp-api.jar to the
  Launch Configuration | Classpath | Bootstrap Entries
 
  and get the following error report:
  HTTP Status 500 - java.lang.NoClassDefFoundError: javax/el/ELResolver
 
 
  HTTP Status 500 - java.lang.NoClassDefFoundError: javax/el/ELResolver

 MGDave
 MGcan you confirm el-api.jar is located in lib folder of $CATALINA_HOME ?
 MG$CATALINA_HOME/lib/el-api.jar
 MGMartin-
  --
 
  *note* *The full stack trace of the root cause is available in the Apache
  Tomcat/7.0.50 logs.*
  --
  Apache Tomcat/7.0.50