Re: Preload of servlet does not work with Tomcat 5.5.15

2006-04-24 Thread manivannan84
hi,
have you  enabled reload=true in context tag in conf/server.xml?
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Tom Bednarz [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 24 Apr 2006 08:19:10 +0200
Subject: Preload of servlet does not work with Tomcat 5.5.15


I have a silly problem: 
 
I defined the following in the web.xml of my web application: 
 
 servlet 
  servlet-nameMTWInit/servlet-name 
  servlet-classch.smartsol.mtweb.servlets.MTWInit/servlet-class 
  init-param 
  param-nameMailConfiguration/param-name 
  param-value/WEB-INF/config/Mail.properties/param-value 
  /init-param 
  load-on-startup1/load-on-startup 
 /servlet 
 
This servlet is NOT loaded at all. This is true for the following situations: 
 
- when running in Eclipse (with MyEclipse IDE) debugger, the breakpoints in the 
servlets init() function are NEVER hit 
- when running tomcat as service (under Windows) no log entries are written 
which means init() is never called 
 
Any idea what could be wrong?? 
 
Tom 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
 

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: Stopping of tomcat failed.

2006-04-18 Thread manivannan84
hi Yasunori,
 welcome.
 'unclosed sockets' - some client application interacting with your tomcat 
forgets to close the connection. (like browsers etc) . Or the tomcat doesnt 
close connection to the database. So, this unclosed connections results in 
'unclosed sockets'
 'hangin process' - A process which become orphon (very rare!). And joins under 
'init' process, that becomes hard to be killed. (I think there might be lots of 
nice terms to refer to these kind  processes)
 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tue, 18 Apr 2006 10:00:06 +0900
Subject: Re: Stopping of tomcat failed.


[EMAIL PROTECTED] wrote:
yes, the 'unclosed sockets', 'hanging process' and the likes are some notable 
root causes.

Sorry. I don't know about 'unclosed sockets', 'hanging process'.
Are they bugs ?
Please tell me the informations about them.


[EMAIL PROTECTED] wrote:
yes, the 'unclosed sockets', 'hanging process' and the likes are some notable 
root causes.
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 20:27:38 +0900
Subject: Re: Stopping of tomcat failed.


Thanks for your reply !

[EMAIL PROTECTED] wrote:
I understand your problem. This happens sometimes. Instead of runnign 
shutdown.sh, you can manually kill the tomcat 
instance using the following steps:

What is the cause of this problem's ?
And.
Is there any bad influences ? 
For example, garbage file or process is left, etc.


[EMAIL PROTECTED] wrote:
I understand your problem. This happens sometimes. Instead of runnign 
shutdown.sh, you can manually kill the tomcat 
instance using the following steps:
1. type this command:  ps -ax | grep 'endorse'[an ugly way of 
finding the tomcat process! ] 
   and find out its process id. (For example the Pid: 3435)
2. then kill  the pid using kill command like: kill -9 3435
(where 3435 is your tomcat instance process id.)
 
Then, telnet to the tomcat port, sure, it wont reply. This is how it can be 
shutdown indirectly.
 
(If still not working, the worst solution is to restart you machine.)
 
Good luck/
 
 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 19:48:35 +0900
Subject: Re: Stopping of tomcat failed.


[EMAIL PROTECTED] さんは書きました:
Are you running apache along with tomcat? 
(I mean apache on port 80 and tomcat on 8080) ?

I'm running apache on port 13000.
Is there a setting of port for tomcat ?

I can use web application on port 13000.
I think it means apache and tomcat are running correctly.


 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 13:05:24 +0900
Subject: Re: Stopping of tomcat failed.


Hi.

I want help about the following matter.

I got an information that :
  Apache was killed. This is the correct operation for apache.
  According to the following matter, tomcat was communicating with apache,
  and probably any web application process was executing.

Is it really ?
If there is no web application executing, the following matter never happen ?


Yasunori Taniguchi さんは書きました:
Hi.

Please help me.

I'm using apache and tomcat to use Web-based GUI tool on RHEL3.0.
The GUI tool has a shell script that starts/stops apache and tomcat.
This script with stop option displayed message [FAILED].
It means that stopping of tomcat has been failed.
But the tomcat was disappeared in the process list. And re-execution of 
stop 

was
failed as same as the execution of stop after succeeded-stop. (The messages 
output
to catalina.out is tha same.)
Then GUI tool was not used at that time.
In the script, all the messages were discarded to /dev/null, and nothing 
related
message was output to /var/log/messages or catalina.out.
So, I want to know :
1. Did tomcat stopped clearly ?
   For example, are there any possibilities that tomcat leave garbage of 
files 

?
   Restart of tomcat was succeeded. Does it mean that tomcat has stopped 
clearly ?
2. What kind of error is guessed ?

---
#!/bin/sh
#
# Startup script
#
# chkconfig: 345 80 15
# description: 
#

### BEGIN INIT INFO
# Provides:   test
# Required-Start: $network $remote_fs
# Required-Stop:
# Default-Start:  3 5
# Default-Stop:   0 1 2 6
# Description:Start the gui daemon
### END INIT INFO

# Shell functions sourced from /etc/rc.status:
#  rc_check check and set local and overall rc status
#  rc_statuscheck and set local and 

Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
Are you running apache along with tomcat? 
(I mean apache on port 80 and tomcat on 8080) ?
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 13:05:24 +0900
Subject: Re: Stopping of tomcat failed.


Hi.

I want help about the following matter.

I got an information that :
  Apache was killed. This is the correct operation for apache.
  According to the following matter, tomcat was communicating with apache,
  and probably any web application process was executing.

Is it really ?
If there is no web application executing, the following matter never happen ?


Yasunori Taniguchi さんは書きました:
Hi.

Please help me.

I'm using apache and tomcat to use Web-based GUI tool on RHEL3.0.
The GUI tool has a shell script that starts/stops apache and tomcat.
This script with stop option displayed message [FAILED].
It means that stopping of tomcat has been failed.
But the tomcat was disappeared in the process list. And re-execution of stop 
was
failed as same as the execution of stop after succeeded-stop. (The messages 
output
to catalina.out is tha same.)
Then GUI tool was not used at that time.
In the script, all the messages were discarded to /dev/null, and nothing 
related
message was output to /var/log/messages or catalina.out.
So, I want to know :
1. Did tomcat stopped clearly ?
   For example, are there any possibilities that tomcat leave garbage of files 
?
   Restart of tomcat was succeeded. Does it mean that tomcat has stopped 
clearly ?
2. What kind of error is guessed ?

---
#!/bin/sh
#
# Startup script
#
# chkconfig: 345 80 15
# description: 
#

### BEGIN INIT INFO
# Provides:   test
# Required-Start: $network $remote_fs
# Required-Stop:
# Default-Start:  3 5
# Default-Stop:   0 1 2 6
# Description:Start the gui daemon
### END INIT INFO

# Shell functions sourced from /etc/rc.status:
#  rc_check check and set local and overall rc status
#  rc_statuscheck and set local and overall rc status
#  rc_status -v ditto but be verbose in local rc status
#  rc_status -v -r  ditto and clear the local rc status
#  rc_failedset local and overall rc status to failed
#  rc_failed num  set local and overall rc status to numnum
#  rc_reset clear local rc status (overall remains)
#  rc_exit  exit appropriate to overall rc status
cd /

if [ -f /etc/rc.status ]; then
. /etc/rc.status
fi
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi

if [ -f /etc/rc.status ]; then
# First reset status of this service
rc_reset
fi

case $1 in
'start')
echo -n Starting the service 
if [ -f /etc/init.d/functions ]; then
daemon /usr/local/tomcat/bin/startup.sh
/opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2 
/dev/null
else
/usr/local/tomcat/bin/startup.sh  /dev/null
/opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2 
/dev/null
fi
if [ -f /etc/rc.status ]; then
rc_status -v
fi
if [ -f /etc/init.d/functions ]; then
touch /var/lock/subsys/test
echo
fi
;;
'stop')
echo -n Stopping service.
kill `cat /usr/local/apache/httpd.pid`
if [ -f /etc/init.d/functions ]; then
daemon /usr/local/tomcat/bin/shutdown.sh
else
/usr/local/tomcat/bin/shutdown.sh  /dev/null
fi
if [ -f /etc/rc.status ]; then
rc_status -v
fi
if [ -f /etc/init.d/functions ]; then
rm -f /var/lock/subsys/test
echo
fi
;;
'restart')
$0 stop
$0 start
if [ -f /etc/rc.status ]; then
rc_status
fi
;;
'status')
if [ -f /etc/rc.status ]; then
echo -n Checking: 
if [ -f /usr/local/apache/httpd.pid ]; then
rc_failed 0
rc_status -v
exit 0
else
rc_failed 3
rc_status -v
exit 3
fi
fi
;;
*)
echo Usage: $0 {start|stop|restart|status}
;;
esac
exit 0

Regards
Taniguchi

-- 
Open Source Software Database Prj. Middleware Platform Div.
Software Unit, Fujitsu Limited
Yasunori Taniguchi
e-mail : [EMAIL PROTECTED]

office layout was changed in 26th Sep., and phone number was changed 
phone:+81-78-304-0563 ext.:7773-5431


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




from : [EMAIL PROTECTED] (MWPF2開発)
address   : [EMAIL PROTECTED]
TEL:7773-5431 (078-304-0563)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: servlet mapping request

2006-04-17 Thread manivannan84
Could you post your web.xml here?
Also, mention the directory structure of WEB-INF/classes and application root.
 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Raymond P. Jones [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Sat, 15 Apr 2006 12:05:55 -0400
Subject: servlet mapping request


Hello Tomcat Users.
I need your help regarding servlet mappings in our WEB-INF/web.xml file running 
on an Apache webserver with a Tomcat container(most recent release) on a public 
website.  After putting our web.xml file in public\WEB-INF and asking our web 
host to restart Tomcat, our servlet mappings stilll do not work in our test web 
page.
I've searched through many books, even a Tomcat Quickstart book and they all 
say 
Tomcat has to be restarted for the servlet mappings in web.xml to work.  So we 
requested a Tomcat restart and after this, the servlet mapping we use gives a 
page not found error.  When I use /servlet/EventsServlet in a link, it 
calls 
the servlet and it works, but according to Tomcat documentation this is a 
security issue that we don't want to implement.

I'm hoping that you know what the solution(s) are and can point me in the right 
direction.
I'm appreciative for assist that you may provide.

Raymond P. Jones
Ph:  518-446-9845
E:  [EMAIL PROTECTED]

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: Setting up to use 443

2006-04-17 Thread manivannan84
Refer to this tomcat documentation page for ssl configuration: 
http://tomcat.apache.org/tomcat-4.0-doc/ssl-howto.html
Edit the server.xml accordingly. While editing the file, you have to correctly 
specify your realm. Then restart the tomcat.
 
Good luck.
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: David Shaw [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thu, 13 Apr 2006 23:54:29 +
Subject: Setting up to use 443


I have troubled setting up server.xml to use port 443 - always report that The 
page cannot be displayed in IE. 8080 and 8443 works fine though. Using the 
same setting in server.xml and just changing the port to use 8443 instead of 
443, I can access using https://localhost:8443. Any idea what I need to set in 
order to get 443 working? 
 
Thanks, 
 
David 
 
_ 
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/ 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
 

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
I understand your problem. This happens sometimes. Instead of runnign 
shutdown.sh, you can manually kill the tomcat instance using the following 
steps:
1. type this command:  ps -ax | grep 'endorse'[an ugly way of 
finding the tomcat process! ] 
   and find out its process id. (For example the Pid: 3435)
2. then kill  the pid using kill command like: kill -9 3435
(where 3435 is your tomcat instance process id.)
 
Then, telnet to the tomcat port, sure, it wont reply. This is how it can be 
shutdown indirectly.
 
(If still not working, the worst solution is to restart you machine.)
 
Good luck/
 
 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 19:48:35 +0900
Subject: Re: Stopping of tomcat failed.


[EMAIL PROTECTED] さんは書きました:
Are you running apache along with tomcat? 
(I mean apache on port 80 and tomcat on 8080) ?

I'm running apache on port 13000.
Is there a setting of port for tomcat ?

I can use web application on port 13000.
I think it means apache and tomcat are running correctly.


 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 13:05:24 +0900
Subject: Re: Stopping of tomcat failed.


Hi.

I want help about the following matter.

I got an information that :
  Apache was killed. This is the correct operation for apache.
  According to the following matter, tomcat was communicating with apache,
  and probably any web application process was executing.

Is it really ?
If there is no web application executing, the following matter never happen ?


Yasunori Taniguchi さんは書きました:
Hi.

Please help me.

I'm using apache and tomcat to use Web-based GUI tool on RHEL3.0.
The GUI tool has a shell script that starts/stops apache and tomcat.
This script with stop option displayed message [FAILED].
It means that stopping of tomcat has been failed.
But the tomcat was disappeared in the process list. And re-execution of stop 
was
failed as same as the execution of stop after succeeded-stop. (The messages 
output
to catalina.out is tha same.)
Then GUI tool was not used at that time.
In the script, all the messages were discarded to /dev/null, and nothing 
related
message was output to /var/log/messages or catalina.out.
So, I want to know :
1. Did tomcat stopped clearly ?
   For example, are there any possibilities that tomcat leave garbage of 
 files 

?
   Restart of tomcat was succeeded. Does it mean that tomcat has stopped 
clearly ?
2. What kind of error is guessed ?

---
#!/bin/sh
#
# Startup script
#
# chkconfig: 345 80 15
# description: 
#

### BEGIN INIT INFO
# Provides:   test
# Required-Start: $network $remote_fs
# Required-Stop:
# Default-Start:  3 5
# Default-Stop:   0 1 2 6
# Description:Start the gui daemon
### END INIT INFO

# Shell functions sourced from /etc/rc.status:
#  rc_check check and set local and overall rc status
#  rc_statuscheck and set local and overall rc status
#  rc_status -v ditto but be verbose in local rc status
#  rc_status -v -r  ditto and clear the local rc status
#  rc_failedset local and overall rc status to failed
#  rc_failed num  set local and overall rc status to numnum
#  rc_reset clear local rc status (overall remains)
#  rc_exit  exit appropriate to overall rc status
cd /

if [ -f /etc/rc.status ]; then
. /etc/rc.status
fi
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi

if [ -f /etc/rc.status ]; then
# First reset status of this service
rc_reset
fi

case $1 in
'start')
echo -n Starting the service 
if [ -f /etc/init.d/functions ]; then
daemon /usr/local/tomcat/bin/startup.sh
/opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2 
/dev/null
else
/usr/local/tomcat/bin/startup.sh  /dev/null
/opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2 
/dev/null
fi
if [ -f /etc/rc.status ]; then
rc_status -v
fi
if [ -f /etc/init.d/functions ]; then
touch /var/lock/subsys/test
echo
fi
;;
'stop')
echo -n Stopping service.
kill `cat /usr/local/apache/httpd.pid`
if [ -f /etc/init.d/functions ]; then
daemon /usr/local/tomcat/bin/shutdown.sh
else
/usr/local/tomcat/bin/shutdown.sh  /dev/null
fi
if [ -f /etc/rc.status ]; then
rc_status -v
fi
if [ -f /etc/init.d/functions ]; then
rm -f /var/lock/subsys/test
echo
fi
;;
'restart')
$0 stop
$0 start
if [ -f /etc/rc.status ]; then
rc_status
fi
;;
'status')
if [ -f /etc/rc.status ]; 

Re: Stopping of tomcat failed.

2006-04-17 Thread manivannan84
yes, the 'unclosed sockets', 'hanging process' and the likes are some notable 
root causes.
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 20:27:38 +0900
Subject: Re: Stopping of tomcat failed.


Thanks for your reply !

[EMAIL PROTECTED] wrote:
I understand your problem. This happens sometimes. Instead of runnign 
shutdown.sh, you can manually kill the tomcat 
instance using the following steps:

What is the cause of this problem's ?
And.
Is there any bad influences ? 
For example, garbage file or process is left, etc.


[EMAIL PROTECTED] wrote:
I understand your problem. This happens sometimes. Instead of runnign 
shutdown.sh, you can manually kill the tomcat 
instance using the following steps:
1. type this command:  ps -ax | grep 'endorse'[an ugly way of 
finding the tomcat process! ] 
   and find out its process id. (For example the Pid: 3435)
2. then kill  the pid using kill command like: kill -9 3435
(where 3435 is your tomcat instance process id.)
 
Then, telnet to the tomcat port, sure, it wont reply. This is how it can be 
shutdown indirectly.
 
(If still not working, the worst solution is to restart you machine.)
 
Good luck/
 
 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 19:48:35 +0900
Subject: Re: Stopping of tomcat failed.


[EMAIL PROTECTED] さんは書きました:
Are you running apache along with tomcat? 
(I mean apache on port 80 and tomcat on 8080) ?

I'm running apache on port 13000.
Is there a setting of port for tomcat ?

I can use web application on port 13000.
I think it means apache and tomcat are running correctly.


 
--
Manivannan Palanichamy
http://geocities.com/manivannan57



 
 
 
-Original Message-
From: Yasunori Taniguchi [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, 17 Apr 2006 13:05:24 +0900
Subject: Re: Stopping of tomcat failed.


Hi.

I want help about the following matter.

I got an information that :
  Apache was killed. This is the correct operation for apache.
  According to the following matter, tomcat was communicating with apache,
  and probably any web application process was executing.

Is it really ?
If there is no web application executing, the following matter never happen ?


Yasunori Taniguchi さんは書きました:
Hi.

Please help me.

I'm using apache and tomcat to use Web-based GUI tool on RHEL3.0.
The GUI tool has a shell script that starts/stops apache and tomcat.
This script with stop option displayed message [FAILED].
It means that stopping of tomcat has been failed.
But the tomcat was disappeared in the process list. And re-execution of stop 
was
failed as same as the execution of stop after succeeded-stop. (The messages 
output
to catalina.out is tha same.)
Then GUI tool was not used at that time.
In the script, all the messages were discarded to /dev/null, and nothing 
related
message was output to /var/log/messages or catalina.out.
So, I want to know :
1. Did tomcat stopped clearly ?
   For example, are there any possibilities that tomcat leave garbage of 
files 

?
   Restart of tomcat was succeeded. Does it mean that tomcat has stopped 
clearly ?
2. What kind of error is guessed ?

---
#!/bin/sh
#
# Startup script
#
# chkconfig: 345 80 15
# description: 
#

### BEGIN INIT INFO
# Provides:   test
# Required-Start: $network $remote_fs
# Required-Stop:
# Default-Start:  3 5
# Default-Stop:   0 1 2 6
# Description:Start the gui daemon
### END INIT INFO

# Shell functions sourced from /etc/rc.status:
#  rc_check check and set local and overall rc status
#  rc_statuscheck and set local and overall rc status
#  rc_status -v ditto but be verbose in local rc status
#  rc_status -v -r  ditto and clear the local rc status
#  rc_failedset local and overall rc status to failed
#  rc_failed num  set local and overall rc status to numnum
#  rc_reset clear local rc status (overall remains)
#  rc_exit  exit appropriate to overall rc status
cd /

if [ -f /etc/rc.status ]; then
. /etc/rc.status
fi
if [ -f /etc/init.d/functions ]; then
. /etc/init.d/functions
fi

if [ -f /etc/rc.status ]; then
# First reset status of this service
rc_reset
fi

case $1 in
'start')
echo -n Starting the service 
if [ -f /etc/init.d/functions ]; then
daemon /usr/local/tomcat/bin/startup.sh
/opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2 
/dev/null
else
/usr/local/tomcat/bin/startup.sh  /dev/null
/opt/FJSVihs/bin/httpd -f /usr/local/apache/conf/httpd.conf 2 
/dev/null
fi
if [ -f /etc/rc.status ]; then
  

Re: how setup landing page in tomcat

2006-04-11 Thread manivannan84
You can map the url to a servlet.
Or you can use and index.jsp or index.html to redirect to wherever you want. 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57
 
 
 
-Original Message-
From: Bryan [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Mon, 10 Apr 2006 07:37:57 -0700 (PDT)
Subject: how setup landing page in tomcat



Hi
I am new to Tomcat 5 config. I have a webapp running on tomcat, and to 
get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and 
I want to change the settings so that when you type http://this.com, 
you get to the right subdirectory. I know how to do this in IIS, but have 
not figured out how on Tomcat, and I've definitely looked.
Let me know if you how. thanks.


-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: Tomcat index page

2006-04-11 Thread manivannan84
Change your config file to adjust the ports.
Edit Tomcat-Home/conf/server.xml file and change the Http, Https ports 
accordingly. 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57
 
 
 
-Original Message-
From: Sandeep N [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tue, 11 Apr 2006 14:33:06 -0700 (PDT)
Subject: Tomcat index page


Hi,

When I access a site https://www.xyz.com, it takes me to 
https://www.xyz.com:80/index.jsp 
whereas when I provide https://www.xyz.com/index.jsp it takes me to the 
expected 
location. Where is this 80 getting added from? Https, by default, should take 
me 
to port 443 and not 80. We have a firewall configuration which will 
automatically forwards the request from 443 to 8443. 

Any ideas?

Sandeep.




-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: Tomcat 3.2.1 + JDK 1.4

2006-04-10 Thread manivannan84
1. Check out the keystore files.
2. Verify connectors.
  Better upgrade your tomcat to recent one. (1.4.x or 1.5.x)
 
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57
 
 
 
-Original Message-
From: Sandeep N [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Sun, 9 Apr 2006 19:27:56 -0700 (PDT)
Subject: Tomcat 3.2.1 + JDK 1.4


  I am getting error messages on the console when a https page is  invoked. The 
error messages starts coming on the console immediately  when the certificate 
dialog appears.If we do not respond to the  certificate dialog box, error 
messages will continue to appear on the  console and finally causing stack 
overflow.  Following are the error messages appearing on the console:
Ctx(  ): 400 R( /) null
  2006-04-07 04:54:40 - Ctx(  ): IOException in: R( /) Connection closed by 
remote host
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current state 
= 
FLUSHED, new state = CODING
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current state 
= 
FLUSHED, new state = CODING
  2006-04-07 04:54:40 - Ctx(  ): IllegalStateException in: R( /) Current state 
= 
FLUSHED, new state = CODING
  .
  .
  .
  2006-04-07 04:54:53 - Ctx(  ): IllegalStateException in: R( /) Current state 
= 
FLUSHED, new state = CODING
  2006-04-07 04:54:53 - Ctx(  ): Exception in: R( /) - 
java.lang.StackOverflowError   
at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66)
   at java.security.AccessController.doPrivileged(Native Method)   at 
java.io.PrintWriter.init(PrintWriter.java:72)
   at java.io.PrintWriter.init(PrintWriter.java:57)
   at 
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:268)
   at org.apache.tomcat.core.Handler.service(Handler.java:286)
   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
   at org.apache.tomcat.core.Handler.service(Handler.java:311)
   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
  
Please advise.
  
  
  Thanks
  Sandeep.

  

-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.


Re: Jars not being loaded from WEB-INF/lib

2006-04-10 Thread manivannan84
 
 Have you restarted your tomcat, after placing the jar's inside WEB-INF/lib?
 Try setting relaod=true in your context declaration (conf/server.xml)
 
--
Manivannan Palanichamy
http://geocities.com/manivannan57
 
 
 
-Original Message-
From: Barbara Geller [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Sat, 08 Apr 2006 22:41:46 +
Subject: Jars not being loaded from WEB-INF/lib


Moved from Tomcat 5.0 to 5.5, as I upgraded from NetBeans 4.1 to 5.0. With 
Tomcat 5.0 I have several jar files in my WEB-INF/lib that worked perfectly. 
With Tomcat 5.5 the jar files are not being loaded. If I copy them to 
CATALINA_HOME/common/lib then it works. 
 
Any idea what changed? I really do not want to keep my jar files in common/lib. 
 
Thanks, 
 
Barbara 

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.