Re: Tomcat 5.5 war takes 4 to 7 minutes to deploy

2008-09-27 Thread Jq


 I have not had first-hand experience with other virtualization products
 except for VMWare's workstation and player (host/guest setup) so I can't
 tell whether this is a problem specifically with Virtuozzo or would be a
 problem with any virtualized environment.
 

VMWare products are solid. We use ESX for mission critical applications.
Between two HP DL385's we have 2 Win2K3 servers running domino and IIS,
we also have 8 linux machines running tomcat and cron jobs. All of these
are up 100% of the time without any trouble.



Re: Tomcat 6 Memory problem

2008-09-07 Thread Jq
top - console command that shows a constantly updated list of all the
processes and how many resources they are consuming. you can also kill
processes from inside this app. see screen scrape below.


On Sun, 2008-09-07 at 10:21 +0200, Johnny Kewl wrote:

 do you have anything like the task manager in linux 
 that windows has...


top - 20:06:31 up  8:04,  3 users,  load average: 0.02, 0.06, 0.02
Tasks: 165 total,   1 running, 164 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.2%us,  0.3%sy,  0.0%ni, 98.5%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   1026560k total,   914004k used,   112556k free,65556k buffers
Swap:  2031608k total,   60k used,  2031548k free,   510136k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
COMMAND 
  
 2835 root  20   0  292m  23m 9.9m S  2.0  2.4   9:47.50
Xorg
  
 3518 me   20   0 99200  25m  13m S  0.3  2.6   0:13.63
gnome-terminal  
  
11612 me   20   0  2492 1060  800 R  0.3  0.1   0:00.02
top 
  
1 root  20   0  1948  744  536 S  0.0  0.1   0:01.10
init
  
2 root  15  -5 000 S  0.0  0.0   0:00.00
kthreadd
  
3 root  RT  -5 000 S  0.0  0.0   0:00.00
migration/0 
  
4 root  15  -5 000 S  0.0  0.0   0:00.33
ksoftirqd/0 
  
5 root  RT  -5 000 S  0.0  0.0   0:00.00
watchdog/0  
  
6 root  RT  -5 000 S  0.0  0.0   0:00.00
migration/1 
  
7 root  15  -5 000 S  0.0  0.0   0:00.21
ksoftirqd/1 
  
8 root  RT  -5 000 S  0.0  0.0   0:00.00
watchdog/1  
  
9 root  15  -5 000 S  0.0  0.0   0:00.11
events/0
  
   10 root  15  -5 000 S  0.0  0.0   0:00.08
events/1
  
   11 root  15  -5 000 S  0.0  0.0   0:00.00
khelper 
  
   62 root  15  -5 000 S  0.0  0.0   0:00.00
kblockd/0   
  
   63 root  15  -5 000 S  0.0  0.0   0:00.00
kblockd/1   
  
   65 root  15  -5 000 S  0.0  0.0   0:00.10
kacpid  
  
   66 root  15  -5 000 S  0.0  0.0   0:01.31
kacpi_notify
  
  176 root  15  -5 000 S  0.0  0.0   0:00.00
cqueue  
  
  178 root  15  -5 000 S  0.0  0.0   0:00.00
ksuspend_usbd   
  
  183 root  15  -5 000 S  0.0  0.0   0:00.00
khubd   
  
  186 root  15  -5 000 S  0.0  0.0   0:00.05
kseriod 
  
  230 root  20   0 000 S  0.0  0.0   0:00.00
pdflush 
  
  231 root  20   0 000 S  0.0  0.0   0:00.29
pdflush 
  
  232 root  15  -5 000 S  0.0  0.0   0:00.22
kswapd0 
  
  275 root  15  -5 000 S  0.0  0.0   0:00.00
aio/0   
  
  276 root  15  -5 000 S  0.0  0.0   0:00.00
aio/1   
  
  440 root  15  -5 000 S  0.0  0.0   0:00.00
kpsmoused   
  
  481 root  15  -5 000 S  0.0  0.0   0:00.00
ata/0   

Re: jsp compile question

2008-07-30 Thread Jq
 Jq... what IDE are you using ?
 On Netbeans its like this...
 

I actually tried that even though for this project there is no IDE
involved. It is a manually deployed suite developed by a third party. I
have to compile in as close to the production environment as possible.
So far I have not been able to duplicate the failure in compiling with
any tools. Netbeans gives no errors.

Thanks.

RHEL4 / Tomcat 5.5 / Classic VM (build 1.4.2, J2RE 1.4.2 IBM build
cxia32142-20080515 (SR11)




jsp compile question

2008-07-29 Thread Jq
How can I simulate the way tomcat builds a jsp file?

I need to debug a .jsp that fails to build when requested.

Thanks.



Re: jsp compile question

2008-07-29 Thread Jq
That would be great. I'll have to find where this is set up on the
target site.

Thanks.


Re: Tomcat Hosting

2008-07-27 Thread Jq
On Sun, 2008-07-27 at 19:12 -0700, Kerry Jacabson wrote:
 Having been burnt a number of times,

Is Rackspace one of those that burnt you? 

I have a customer that is satisfied with the hosting service. They may
have a weak spot in acquiring certificates.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat got killed after logout

2008-07-25 Thread Jq
I added this to my /etc/rc.local. /opt/tomcat is a symbolic link to the
latest tomcat server.

#Start tomcat
export JAVA_HOME=/usr/java/latest/jre
export JRE_HOME=/usr/java/latest/jre
export LANG=en_US.iso885915
JAVA_OPTS=-Djava.security.auth.login.config=/opt/tomcat/conf/jaas.conf
cd /opt/tomcat/bin
./startup.sh

HTH

On Fri, 2008-07-25 at 18:36 +, ktou Ho wrote:
 Hi,
 I write a bootup script to start tomcat in the boot-up time. For debugging 
 purpose, I use it to start the tomcat in command line also. 
  
 The problem is:  If I logout the shell that I used to start the tomcat, the 
 tomcat exit also with the following message:
  
 Jul 24, 2008 6:32:09 AM org.apache.coyote.http11.Http11Protocol pause
 INFO: Pausing Coyote HTTP/1.1 on http-5888
 Jul 24, 2008 6:32:10 AM org.apache.catalina.core.StandardService stop
 INFO: Stopping service Catalina
  
 Thanks in advance
 Elwin
  
 Env:
 ===
 Apache Tomcat Version 6.0.16
 CentOS release 4.4 (Final)
  jdk1.6.0_06
  
 
 
 Part of  init script is :
 ===
 'start')
 # Start daemon
  
 if test -x $TOMCAT_BIN/catalina.sh
 then
 action $Starting Java services:  exec 
 ${CATALINA_HOME}/bin/catalina.sh jpda start /dev/null 21
  
 else
   echo Can't execute $CATALINA_HOME/bin/catalina.sh
 fi
 ;;
 ===
 _
 Time for vacation? WIN what you need- enter now!
 http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Question HTTP Status 408

2008-07-24 Thread Jq
I am getting an error since upgrading my production server to 6.0.16. 

Error message:
408 The time allowed for the login prosess has been exceeded  

1. This is only happening with mobile devices (Blackberry  Symbol
Windows mobile 5)

2. The production server was working at 6.0.13. The development server
had exhibited this error but I thought it was due to a slower system.

3. Login actually completes and server log shows messages in the
application.

4. It does it with jdbc and jaas realms but not UserDataBase realm. It
was working with the others before.


Is there a configuration setting that relates to this?

Is this a know bug and if so is there a patch available?

Regards.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Solved: Question HTTP Status 408

2008-07-24 Thread Jq
It was a weird one. My index.jsp. It was taking too long to complete
filling in a select from database values. 

After I streamlined the select process the page was loaded in enough
time. 

Funny that it would masquerade as a login error.


On Thu, 2008-07-24 at 15:08 -0500, Jq wrote:

 I am getting an error since upgrading my production server to 6.0.16. 
 
 Error message:
 408 The time allowed for the login prosess has been exceeded  
 
 1. This is only happening with mobile devices (Blackberry  Symbol
 Windows mobile 5)
 
 2. The production server was working at 6.0.13. The development server
 had exhibited this error but I thought it was due to a slower system.
 
 3. Login actually completes and server log shows messages in the
 application.
 
 4. It does it with jdbc and jaas realms but not UserDataBase realm. It
 was working with the others before.
 
 
 Is there a configuration setting that relates to this?
 
 Is this a know bug and if so is there a patch available?
 
 Regards.
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]