hi

2013-05-14 Thread Asare Samuel



http://www.scriptureunion.org.pl/likeit.php?euxgfqzzwu792mg































































































































s_asare
Asare Samuel

A really grand passion is comparatively rare nowadays. It is the privilege of 
people who have nothing to do. That is the one use of the idle classes in the 
country. -- Oscar Wilde (A Woman of No Importance)
%  

Re: hi..all..plase tell me about tomcat7.0 with JOTM

2012-01-27 Thread André Warnier

이재만 wrote:

hi, all
 
is possible tomcat7.0 with JOTM combination ?

please tell me about it.
 
if it's impossible please let me know another way..
 


http://www.lmgtfy.com/?q=jotm+and+tomcat

?


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



hi

2012-01-19 Thread lukky 410
hi


RE: hi

2011-12-05 Thread Ilya Kazakevich
Don't use it. Why build applications on a platform you have doubts
about? I think you should build all of your applications using snobol.
See http://en.wikipedia.org/wiki/SNOBOL for websites.
I do prefer Ook, but not sure if there are good web frameworks for it:
http://www.dangermouse.net/esoteric/ook.html


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



Re: hi

2011-12-05 Thread srilaxmi deevela
no,but i want to practice those examples

On Sat, Dec 3, 2011 at 5:12 AM, Pid p...@pidster.com wrote:

 On 02/12/2011 18:03, srilaxmi deevela wrote:
  hi , am going to execute the web application based on structs,what are
 the
  basic procedurefor deploy the web application


 Is this for a homework assignment?


 p


  On Fri, Dec 2, 2011 at 11:30 PM, srilaxmi deevela 
 deevelasrila...@gmail.com
  wrote:
 
  where is the download option there, i didnt get that
 
  On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
  ilya.kazakev...@jetbrains.com wrote:
 
  http://tomcat.apache.org/download-55.cgi
 
 
  Ilya Kazakevich,
  Developer
  JetBrains Inc
  http://www.jetbrains.com
  Develop with pleasure!
 
  -Original Message-
  From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
  Sent: Friday, December 02, 2011 9:56 PM
  To: users@tomcat.apache.org
  Subject: hi
 
  please send me the tomcat5.5 software link,i traid but setup file is
 not
  visible there
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 
 


 --

 [key:62590808]




hi

2011-12-02 Thread srilaxmi deevela
please send me the tomcat5.5 software link,i traid but setup file is not
visible there


RE: hi

2011-12-02 Thread Ilya Kazakevich
http://tomcat.apache.org/download-55.cgi 


Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
Develop with pleasure!

-Original Message-
From: srilaxmi deevela [mailto:deevelasrila...@gmail.com] 
Sent: Friday, December 02, 2011 9:56 PM
To: users@tomcat.apache.org
Subject: hi

please send me the tomcat5.5 software link,i traid but setup file is not
visible there


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



Re: hi

2011-12-02 Thread srilaxmi deevela
thanq

On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
ilya.kazakev...@jetbrains.com wrote:

 http://tomcat.apache.org/download-55.cgi


 Ilya Kazakevich,
 Developer
 JetBrains Inc
 http://www.jetbrains.com
 Develop with pleasure!

 -Original Message-
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
 Sent: Friday, December 02, 2011 9:56 PM
 To: users@tomcat.apache.org
 Subject: hi

 please send me the tomcat5.5 software link,i traid but setup file is not
 visible there


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




Re: hi

2011-12-02 Thread srilaxmi deevela
where is the download option there, i didnt get that

On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
ilya.kazakev...@jetbrains.com wrote:

 http://tomcat.apache.org/download-55.cgi


 Ilya Kazakevich,
 Developer
 JetBrains Inc
 http://www.jetbrains.com
 Develop with pleasure!

 -Original Message-
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
 Sent: Friday, December 02, 2011 9:56 PM
 To: users@tomcat.apache.org
 Subject: hi

 please send me the tomcat5.5 software link,i traid but setup file is not
 visible there


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




RE: hi

2011-12-02 Thread Ilya Kazakevich
Navigate to Windows Service Installer link and click it. 


Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
Develop with pleasure!

-Original Message-
From: srilaxmi deevela [mailto:deevelasrila...@gmail.com] 
Sent: Friday, December 02, 2011 10:00 PM
To: Tomcat Users List
Subject: Re: hi

where is the download option there, i didnt get that

On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
ilya.kazakev...@jetbrains.com wrote:

 http://tomcat.apache.org/download-55.cgi


 Ilya Kazakevich,
 Developer
 JetBrains Inc
 http://www.jetbrains.com
 Develop with pleasure!

 -Original Message-
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
 Sent: Friday, December 02, 2011 9:56 PM
 To: users@tomcat.apache.org
 Subject: hi

 please send me the tomcat5.5 software link,i traid but setup file is not
 visible there


 -
 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



Re: hi

2011-12-02 Thread srilaxmi deevela
hi , am going to execute the web application based on structs,what are the
basic procedurefor deploy the web application


On Fri, Dec 2, 2011 at 11:30 PM, srilaxmi deevela deevelasrila...@gmail.com
 wrote:

 where is the download option there, i didnt get that

 On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
 ilya.kazakev...@jetbrains.com wrote:

 http://tomcat.apache.org/download-55.cgi


 Ilya Kazakevich,
 Developer
 JetBrains Inc
 http://www.jetbrains.com
 Develop with pleasure!

 -Original Message-
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
 Sent: Friday, December 02, 2011 9:56 PM
 To: users@tomcat.apache.org
 Subject: hi

 please send me the tomcat5.5 software link,i traid but setup file is not
 visible there


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





hi

2011-12-02 Thread srilaxmi deevela
Hi,
iam going to install the tomcat5.5,but there is no setup file, how can i
install it?


Re: hi

2011-12-02 Thread srilaxmi deevela
tanq, i got it

On Fri, Dec 2, 2011 at 11:32 PM, Ilya Kazakevich 
ilya.kazakev...@jetbrains.com wrote:

 Navigate to Windows Service Installer link and click it.


 Ilya Kazakevich,
 Developer
 JetBrains Inc
 http://www.jetbrains.com
 Develop with pleasure!

 -Original Message-
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
 Sent: Friday, December 02, 2011 10:00 PM
 To: Tomcat Users List
 Subject: Re: hi

 where is the download option there, i didnt get that

 On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
 ilya.kazakev...@jetbrains.com wrote:

  http://tomcat.apache.org/download-55.cgi
 
 
  Ilya Kazakevich,
  Developer
  JetBrains Inc
  http://www.jetbrains.com
  Develop with pleasure!
 
  -Original Message-
  From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
  Sent: Friday, December 02, 2011 9:56 PM
  To: users@tomcat.apache.org
  Subject: hi
 
  please send me the tomcat5.5 software link,i traid but setup file is not
  visible there
 
 
  -
  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




hi

2011-12-02 Thread srilaxmi deevela
Hi,
i havesome doubts on web applications in java, is there any   websites like
users@tomcat.apache.org


hi

2011-12-02 Thread srilaxmi deevela
hi,
please anyone send me the structs 1.x version software link


Re: hi

2011-12-02 Thread André Warnier

srilaxmi deevela wrote:

Hi,
i havesome doubts on web applications in java, is there any   websites like
users@tomcat.apache.org


this is going to be a hard case..


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



RE: hi

2011-12-02 Thread Thom Hehl
Don't use it. Why build applications on a platform you have doubts
about? I think you should build all of your applications using snobol.
See http://en.wikipedia.org/wiki/SNOBOL for websites.

-Original Message-
From: srilaxmi deevela [mailto:deevelasrila...@gmail.com] 
Sent: Friday, December 02, 2011 2:14 PM
To: Tomcat Users List
Subject: hi

Hi,
i havesome doubts on web applications in java, is there any   websites
like
users@tomcat.apache.org

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



Re: hi

2011-12-02 Thread srilaxmi deevela
where is the link

On Sat, Dec 3, 2011 at 12:47 AM, André Warnier a...@ice-sa.com wrote:

 srilaxmi deevela wrote:

 Hi,
 i havesome doubts on web applications in java, is there any   websites
 like
 users@tomcat.apache.org

  this is going to be a hard case..



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




RE: hi

2011-12-02 Thread Caldarale, Charles R
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com] 
 Subject: hi

 please anyone send me the structs 1.x version software link

If you're going to program computers, you need to do your own homework.  (And 
at least learn how to spell struts.)  Perhaps you've heard of Google?

Before you do _anything_ else, read this:

http://www.catb.org/~esr/faqs/smart-questions.html

 - 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



hi

2011-12-02 Thread srilaxmi deevela
i installed tomcat5.5 and jdk1.5
i want to deploy the structs appliction? i have one apllication,but i dont
know how to  run the application?


Re: hi

2011-12-02 Thread Rhino


 There's an amazing new tool, just released to the world, that will 
help you out. It's called a search engine. One very exciting search 
engine is Google. Those of us who have used it like to say Google is 
your friend because we use it look for things that we want to know.


May I suggest you explore Google? The URL is http://google.com.

--
Rhino

On 2011-12-02 14:21, srilaxmi deevela wrote:

where is the link

On Sat, Dec 3, 2011 at 12:47 AM, André Warniera...@ice-sa.com  wrote:


srilaxmi deevela wrote:


Hi,
i havesome doubts on web applications in java, is there any   websites
like
users@tomcat.apache.org

  this is going to be a hard case..



--**--**-
To unsubscribe, e-mail: 
users-unsubscribe@tomcat.**apache.orgusers-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



Re: hi

2011-12-02 Thread André Warnier

srilaxmi deevela wrote:

i installed tomcat5.5 and jdk1.5


Ok, that was good practice.
Now remove them both, and install java 1.7 and Tomcat 7.0, which are the 
current versions.

i want to deploy the structs appliction? 


The real name is probably Struts, right ?

i have one apllication,but i dont

know how to  run the application?



Then maybe start here : http://www.lmgtfy.com/?q=struts+tutorial


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



Re: hi

2011-12-02 Thread Pid
On 02/12/2011 18:03, srilaxmi deevela wrote:
 hi , am going to execute the web application based on structs,what are the
 basic procedurefor deploy the web application


Is this for a homework assignment?


p


 On Fri, Dec 2, 2011 at 11:30 PM, srilaxmi deevela deevelasrila...@gmail.com
 wrote:
 
 where is the download option there, i didnt get that

 On Fri, Dec 2, 2011 at 11:27 PM, Ilya Kazakevich 
 ilya.kazakev...@jetbrains.com wrote:

 http://tomcat.apache.org/download-55.cgi


 Ilya Kazakevich,
 Developer
 JetBrains Inc
 http://www.jetbrains.com
 Develop with pleasure!

 -Original Message-
 From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
 Sent: Friday, December 02, 2011 9:56 PM
 To: users@tomcat.apache.org
 Subject: hi

 please send me the tomcat5.5 software link,i traid but setup file is not
 visible there


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



 


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


RE: hi

2011-12-02 Thread Martin Gainty

you either need to tell us what a 'structs' application is

OR

go back to your school in india and learn how STRUTS Applications are built and 
deployed on a web container

Viel Gluck__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.

  Date: Sat, 3 Dec 2011 01:01:01 +0530
 Subject: hi
 From: deevelasrila...@gmail.com
 To: users@tomcat.apache.org
 
 i installed tomcat5.5 and jdk1.5
 i want to deploy the structs appliction? i have one apllication,but i dont
 know how to  run the application?
  

Re: hi

2011-12-02 Thread Srinivas Chejerla
for example, if i have a struts project with context-folder name
strutsproj as shown

strutsproj
   WEB-INF
  classes
  web.xml
  struts-config.xml
   index.jsp


i would run this like bellow

open browser and type -   http://localhost:8080/strutsproj/index.jsp; in
url, this would get index page

feel free to post back your success ...


On Sat, Dec 3, 2011 at 1:01 AM, srilaxmi deevela
deevelasrila...@gmail.comwrote:

 i installed tomcat5.5 and jdk1.5
 i want to deploy the structs appliction? i have one apllication,but i dont
 know how to  run the application?




-- 
Thanks,
Srinivas.


Re: hi

2011-12-02 Thread Srinivas Chejerla
-- in-addition to above post: i was assuming tomcat is running on 8080 port

On Sat, Dec 3, 2011 at 1:01 AM, srilaxmi deevela
deevelasrila...@gmail.comwrote:

 i installed tomcat5.5 and jdk1.5
 i want to deploy the structs appliction? i have one apllication,but i dont
 know how to  run the application?




-- 
Thanks,
Srinivas.


hi

2011-02-16 Thread Anup Niroula
Hi,

How can i configure my localhost:8080 tomcat so that the site could be
accessible through ip address by other computers in the network.


Sincerely,
Anup


Re: hi

2011-02-16 Thread Ozgur Ozdemircili
Well,

Actually tomcat comes configured on port 8080. You just need to start it and
make sure you dont have any firewall in your server blocking this port.
Thats it.


Best!
Özgür Özdemircili
http://www.acikkod.org
Code so clean you could eat off it


On Wed, Feb 16, 2011 at 7:42 PM, Anup Niroula anup.niro...@gmail.comwrote:

 Hi,

 How can i configure my localhost:8080 tomcat so that the site could be
 accessible through ip address by other computers in the network.


 Sincerely,
 Anup



RE: hi

2011-02-16 Thread Caldarale, Charles R
 From: Anup Niroula [mailto:anup.niro...@gmail.com] 
 Subject: hi

 How can i configure my localhost:8080 tomcat so that the site could be
 accessible through ip address by other computers in the network.

Assuming there are no firewalls in the way, you already have.  The other 
computers would access your site via:

http://your_ip_address:8080

Nothing else is needed.

 - 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



Re: hi

2011-02-16 Thread Anup Niroula
Hi,

Thanx for the reply.
Is there any way i can provide domain namewww.abc.cominstead of ip address
to be accessed with in network. ?

Sincerely,
Anup



On Wed, Feb 16, 2011 at 12:48 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Anup Niroula [mailto:anup.niro...@gmail.com]
  Subject: hi

  How can i configure my localhost:8080 tomcat so that the site could be
  accessible through ip address by other computers in the network.

 Assuming there are no firewalls in the way, you already have.  The other
 computers would access your site via:

 http://your_ip_address:8080

 Nothing else is needed.

  - 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




Re: hi

2011-02-16 Thread David kerber

On 2/16/2011 2:04 PM, Anup Niroula wrote:

Hi,

Thanx for the reply.
Is there any way i can provide domain namewww.abc.cominstead of ip address
to be accessed with in network. ?


If your internal dns server will resolve it to the correct ip address, 
it will work.






Sincerely,
Anup



On Wed, Feb 16, 2011 at 12:48 PM, Caldarale, Charles R
chuck.caldar...@unisys.com  wrote:


From: Anup Niroula [mailto:anup.niro...@gmail.com]
Subject: hi



How can i configure my localhost:8080 tomcat so that the site could be
accessible through ip address by other computers in the network.


Assuming there are no firewalls in the way, you already have.  The other
computers would access your site via:

http://your_ip_address:8080

Nothing else is needed.

  - 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







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



Re: hi

2011-02-16 Thread Anup Niroula
Hi, could you please explain me in detail. How can i provide a domain name
for my website like www.lsctesting.com using tomcat 7 to be accessed  in
the network.

Sincerely,
Anup

On Wed, Feb 16, 2011 at 1:07 PM, David kerber dcker...@verizon.net wrote:

 On 2/16/2011 2:04 PM, Anup Niroula wrote:

 Hi,

 Thanx for the reply.
 Is there any way i can provide domain namewww.abc.cominstead of ip
 address
 to be accessed with in network. ?


 If your internal dns server will resolve it to the correct ip address, it
 will work.





 Sincerely,
 Anup



 On Wed, Feb 16, 2011 at 12:48 PM, Caldarale, Charles R
 chuck.caldar...@unisys.com  wrote:

  From: Anup Niroula [mailto:anup.niro...@gmail.com]
 Subject: hi


  How can i configure my localhost:8080 tomcat so that the site could be
 accessible through ip address by other computers in the network.


 Assuming there are no firewalls in the way, you already have.  The other
 computers would access your site via:

 http://your_ip_address:8080

 Nothing else is needed.

  - 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





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




RE: hi

2011-02-16 Thread Caldarale, Charles R
 From: Anup Niroula [mailto:anup.niro...@gmail.com] 
 Subject: Re: hi

 Hi, could you please explain me in detail. How can i provide a 
 domain name for my website like www.lsctesting.com using tomcat
 7 to be accessed in the network.

This has nothing to do with Tomcat.  Contact your network administrator.

 - 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



The request sent by the client was syntactically incorrect ().Hi,

2010-10-18 Thread sachin_nabble


-- 
View this message in context: 
http://old.nabble.com/The-request-sent-by-the-client-was-syntactically-incorrect-%28%29.Hi%2C-tp29990181p29990181.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Hi guys ... What is Translation time and request time.

2010-09-15 Thread Pankaj D
What are these is JSP ...?

Translation time : is it the Time of translation or Time required for
translation ..?
Request time : Is it time of request or what ...?


Re: Hi guys ... What is Translation time and request time.

2010-09-15 Thread Antonio Petrelli
2010/9/15 Pankaj D pankaj66...@gmail.com:
 What are these is JSP ...?

 Translation time : is it the Time of translation or Time required for
 translation ..?
 Request time : Is it time of request or what ...?

This is homework right?

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



Re: Hi guys ... What is Translation time and request time.

2010-09-15 Thread Pankaj D
NO ...  m a newbie  to java  just having a discussion with a friend ...

On Wed, Sep 15, 2010 at 10:06 PM, Antonio Petrelli 
antonio.petre...@gmail.com wrote:

 2010/9/15 Pankaj D pankaj66...@gmail.com:
  What are these is JSP ...?
 
  Translation time : is it the Time of translation or Time required for
  translation ..?
  Request time : Is it time of request or what ...?

 This is homework right?

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




Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Antonio Petrelli
DYH

2010/9/15 Pankaj D pankaj66...@gmail.com:
 HI if someone can answer this query what is hash code in java ...is it some
 sort of memory location or address ...?

 Regards
 Pankaj


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



RE: Hi guys ... What is Translation time and request time.

2010-09-15 Thread Caldarale, Charles R
 From: Pankaj D [mailto:pankaj66...@gmail.com] 
 Subject: Re: Hi guys ... What is Translation time and request time.

 NO ...  m a newbie  to java  just having a discussion with a friend ...

http://lmgtfy.com/?q=java+tutorial

 - 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



Re: Hi guys ... What is Translation time and request time.

2010-09-15 Thread Antonio Petrelli
2010/9/15 Pankaj D pankaj66...@gmail.com:
 NO ...  m a newbie  to java  just having a discussion with a friend ...

This is not a Java generic mailing list, here we discuss of problems
about *Tomcat*, nothing else.
Contact your local JUG, that may help you to find a tutorial, or
simply google it.

Don't ask random questions here, they make us nervous...

Antonio

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



Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Pankaj D
What is DYH

On Wed, Sep 15, 2010 at 10:09 PM, Antonio Petrelli 
antonio.petre...@gmail.com wrote:

 DYH

 2010/9/15 Pankaj D pankaj66...@gmail.com:
  HI if someone can answer this query what is hash code in java ...is it
 some
  sort of memory location or address ...?
 
  Regards
  Pankaj
 

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




Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread ramzi khlil
HashCode is a value computed in such way to be unique as possible to improve
performance while retrieving object in HashedCollections.
If for example you have a HashMap, and didn't overrride hashCode() method
all your objects will be in the same bucket resulting a slow execution while
retrieving an object.
But if you do provide an efficient implementation of hashCode() method your
objects will be stored across many buckets and you look up for one of them,
the api does calculate the hashCode of your object and then it selects the
right bucket. After that we go through the bucket to find the needed object.

On Wed, Sep 15, 2010 at 12:35 PM, Pankaj D pankaj66...@gmail.com wrote:

 HI if someone can answer this query what is hash code in java ...is it some
 sort of memory location or address ...?

 Regards
 Pankaj



Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Antonio Petrelli
2010/9/15 Pankaj D pankaj66...@gmail.com:
 What is DYH

Following Chuck's idea...
http://lmgtfy.com/?q=dyh

Antonio

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



Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Laird Nelson
On Wed, Sep 15, 2010 at 12:42 PM, Pankaj D pankaj66...@gmail.com wrote:

 What is DYH


Do Your Homework.

Best,
Laird


Re: Hi guys ... What is Translation time and request time.

2010-09-15 Thread Pankaj D
OK thankyou 

On Wed, Sep 15, 2010 at 10:11 PM, Antonio Petrelli 
antonio.petre...@gmail.com wrote:

 2010/9/15 Pankaj D pankaj66...@gmail.com:
  NO ...  m a newbie  to java  just having a discussion with a friend
 ...

 This is not a Java generic mailing list, here we discuss of problems
 about *Tomcat*, nothing else.
 Contact your local JUG, that may help you to find a tutorial, or
 simply google it.

 Don't ask random questions here, they make us nervous...

 Antonio

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




Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Pankaj D
Thanks dude  .. .this is what i was looking for 

On Wed, Sep 15, 2010 at 10:13 PM, ramzi khlil ramzi.atv...@gmail.comwrote:

 HashCode is a value computed in such way to be unique as possible to
 improve
 performance while retrieving object in HashedCollections.
 If for example you have a HashMap, and didn't overrride hashCode() method
 all your objects will be in the same bucket resulting a slow execution
 while
 retrieving an object.
 But if you do provide an efficient implementation of hashCode() method your
 objects will be stored across many buckets and you look up for one of them,
 the api does calculate the hashCode of your object and then it selects the
 right bucket. After that we go through the bucket to find the needed
 object.

 On Wed, Sep 15, 2010 at 12:35 PM, Pankaj D pankaj66...@gmail.com wrote:

  HI if someone can answer this query what is hash code in java ...is it
 some
  sort of memory location or address ...?
 
  Regards
  Pankaj
 



Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Leon Rosenberg
On Wed, Sep 15, 2010 at 6:44 PM, Antonio Petrelli
antonio.petre...@gmail.com wrote:
 2010/9/15 Pankaj D pankaj66...@gmail.com:
 What is DYH

 Following Chuck's idea...
 http://lmgtfy.com/?q=dyh


so DYH is Doğan Yayın Holding in Turkey...
:-)

 Antonio

 -
 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



Re: Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Mark Thomas
On 15/09/2010 17:44, Antonio Petrelli wrote:
 2010/9/15 Pankaj D pankaj66...@gmail.com:
 What is DYH
 
 Following Chuck's idea...
 http://lmgtfy.com/?q=dyh

And while you are at it, I'd read these too:
http://catb.org/~esr/faqs/smart-questions.html
http://slash7.com/2006/12/22/vampires/

Mark

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



Re: [OT] Hi Guys ... can some one tell what is hashcode in java

2010-09-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ramzi,

On 9/15/2010 12:43 PM, ramzi khlil wrote:
 HashCode is a value computed in such way to be unique as possible to improve
 performance while retrieving object in HashedCollections.

What are HashedCollections?

 If for example you have a HashMap, and didn't overrride hashCode() method
 all your objects will be in the same bucket resulting a slow execution while
 retrieving an object.

Wow. That is so wrong.

 But if you do provide an efficient implementation of hashCode() method your
 objects will be stored across many buckets

This is also not correct.

 and you look up for one of them,
 the api does calculate the hashCode of your object and then it selects the
 right bucket.

Actually, it calls the hashCode method on the object that requires it.
The API performs no calculations. (Technically speaking, the API doesn't
do anything but exist, but let's not pick nits).

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

iEYEARECAAYFAkyRQ78ACgkQ9CaO5/Lv0PDpkACcDvP2LPw13oXupFptDFRikrDm
YNEAn39YX7/mkXsAu/fOSWsAETNYxAsZ
=igRA
-END PGP SIGNATURE-

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



Regarding thread hi-jacking

2010-04-08 Thread Cin Lung
Dear all tomcat mailing list dev and users
 
I apologize for accidentally hi-jacking a user email by using reply button.
I did not realize that it is not allowed. So, please forgive me. I did that
just out of convinience and I think I replaced the subject as well.
 
I learn new rule today. Please be patient with me and I will submit my
question again using new thread.
 
Thanks
Rendra
 


RE: Regarding thread hi-jacking

2010-04-08 Thread Caldarale, Charles R
 From: Cin Lung [mailto:cinl...@gmail.com]
 Subject: Regarding thread hi-jacking
 Importance: High
 
 I learn new rule today. Please be patient with me and I will submit my
 question again using new thread.

And stop setting high importance as well, please.

 - 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



RE: Regarding thread hi-jacking

2010-04-08 Thread Cin Lung
And that too. 

-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Thursday, April 08, 2010 7:25 PM
To: Tomcat Users List
Subject: RE: Regarding thread hi-jacking

 From: Cin Lung [mailto:cinl...@gmail.com]
 Subject: Regarding thread hi-jacking
 Importance: High
 
 I learn new rule today. Please be patient with me and I will submit my 
 question again using new thread.

And stop setting high importance as well, please.

 - 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


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



Hi

2010-02-02 Thread Mohd Ismail
Question:  How to host more then one website on Tomcat 5.5 web server?


Re: Hi

2010-02-02 Thread Mark Thomas
On 03/02/2010 05:08, Mohd Ismail wrote:
 Question:  How to host more then one website on Tomcat 5.5 web server?
 

http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html

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



hi

2009-02-04 Thread Kusuma Pabba

unsubscribe me from this list

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



Re: hi

2009-02-04 Thread Mihamina Rakotomandimby (R12y)

Kusuma Pabba wrote:

unsubscribe me from this list


Do it yourself ;-)


--
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby

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



Re: hi

2009-02-04 Thread André Warnier

Kusuma Pabba wrote:

unsubscribe me from this list



follow the arrow : --!
 !
 !
 \/


-
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



Re: Hi..

2008-05-09 Thread Antonio Petrelli
2008/5/9 Ch Praveena [EMAIL PROTECTED]:
  Can anyone send me any sample source code(war file) that implements
 session for a very important testing purpose of clustering.

http://thedailywtf.com/Articles/plz-email-me-teh-codez.aspx

Antonio

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



Hi..

2008-05-08 Thread Ch Praveena
Hi all,

  Can anyone send me any sample source code(war file) that implements
session for a very important testing purpose of clustering.

-- 


-Coolest Regards,

Praveena Chalamcharla,
Securview


Re: Hi

2008-01-16 Thread ben short
Sounds like your code might have a memory leak.

The best thing todo is to profile the application and see where all
the memory is being used.

On Jan 16, 2008 8:52 AM, Katama Reddy [EMAIL PROTECTED] wrote:
 Hi,

 I was facing an issue in one of the web application which was deployed in
 Apache Tomcat server. The issue was getting out of memory error after 2-3
 months of deployment and happening frequently(after every 2-3 months). It
 would be great if some one suggest the reasons for occurring this issue.
 The application was build on JSF(MyFaces implementation), Spring and
 Hibernate technologies.

 Thanks
 Katama Reddy Chinnapapi Reddy Gari
 Tata Consultancy Services
 Mailto: [EMAIL PROTECTED]
 Website: http://www.tcs.com
 
 Experience certainty.   IT Services
 Business Solutions
 Outsourcing
 
 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain
 confidential or privileged information. If you are
 not the intended recipient, any dissemination, use,
 review, distribution, printing or copying of the
 information contained in this e-mail message
 and/or attachments to it are strictly prohibited. If
 you have received this communication in error,
 please notify us by reply e-mail or telephone and
 immediately and permanently delete the message
 and any attachments. Thank you




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



Hi

2008-01-16 Thread Katama Reddy
Hi,

I was facing an issue in one of the web application which was deployed in 
Apache Tomcat server. The issue was getting out of memory error after 2-3 
months of deployment and happening frequently(after every 2-3 months). It 
would be great if some one suggest the reasons for occurring this issue. 
The application was build on JSF(MyFaces implementation), Spring and 
Hibernate technologies.

Thanks
Katama Reddy Chinnapapi Reddy Gari
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: hi

2007-11-13 Thread inampudi sai
HI,

follow the steps

1) First of all install j2sdk1.5 or higher version.
2) check whether jre1.5.x is installed in the same folder of j2sdk folder.
3) then install tomcat5.5 as you wish,while installing it will check
the path of your jre1.5.x folder,if not set the path.
Thats all


-- 
saibabu.inampudi

-
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: hi

2007-11-13 Thread David Smith
Have you taken a look at 
http://tomcat.apache.org/tomcat-5.5-doc/setup.html ?


nirmala wrote:
hi 
I want installation procedure for apache tomcat5.5


DISCLAIMER: This e-mail and any attachments are intended only for the 
individual or company to which it is addressed and may contain information 
which is privileged, proprietary, confidential and prohibited from disclosure 
or unauthorized use under applicable law. If you are not the intended recipient 
of this e-mail, you are hereby notified that any use, dissemination, or copying 
of this e-mail or the information contained in this e-mail is strictly 
prohibited by the sender. If you have received this transmission in error, 
please return the material received to the sender and delete all copies from 
your system.

  



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



hi

2007-11-12 Thread nirmala
hi 

 I want installation procedure for apache tomcat 5.5

DISCLAIMER: This e-mail and any attachments are intended only for the 
individual or company to which it is addressed and may contain information 
which is privileged, proprietary, confidential and prohibited from disclosure 
or unauthorized use under applicable law. If you are not the intended recipient 
of this e-mail, you are hereby notified that any use, dissemination, or copying 
of this e-mail or the information contained in this e-mail is strictly 
prohibited by the sender. If you have received this transmission in error, 
please return the material received to the sender and delete all copies from 
your system.


hi

2007-11-12 Thread nirmala
hi 
I want installation procedure for apache tomcat5.5

DISCLAIMER: This e-mail and any attachments are intended only for the 
individual or company to which it is addressed and may contain information 
which is privileged, proprietary, confidential and prohibited from disclosure 
or unauthorized use under applicable law. If you are not the intended recipient 
of this e-mail, you are hereby notified that any use, dissemination, or copying 
of this e-mail or the information contained in this e-mail is strictly 
prohibited by the sender. If you have received this transmission in error, 
please return the material received to the sender and delete all copies from 
your system.


Re: hi,problem when shutdown tomcat!

2007-06-13 Thread Jon Wingfield
The trace is probably in the catalina.out log file (at least that's
where it goes for us running tc5.0.30)

Peter wrote:
 hi all;
 I just found out that in linux
 under the /proc generate a fold 26337
 does it the place which the information stores?
 any idea?
 thanks

 On 6/13/07, Peter [EMAIL PROTECTED] wrote:

 hi all;
 i try to use SIGQUIT but can not see the stack trace.

 [EMAIL PROTECTED] root]# ps -ef|grep tomcat
 root 26337 1 5 09:45 pts/0 00:00:11
 /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
 Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
 Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
 Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
 :/opt/tomcat/bin/bootstrap.ja
 root 26427 26172 0 09:49 pts/0 00:00:00 grep tomcat

 [EMAIL PROTECTED] root]# kill -SIGQUIT 26337
 [EMAIL PROTECTED] root]# kill -3 26337
 [EMAIL PROTECTED] root]#

 does anyone has idea why?
 some artical said that if JVM set -Xrs,it will ignore the OS signal
 like
 SIGQUIT
 Does anyone know how can i see the stack trace in this situation?
 i use Tomcat 5.5.20 in linux , java, 1.5.0_10

 thanks





 On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:
 
  Good question. I don't know. The last time I used JBuilder was way
 back
  in 2000.
  The Borland site suggests an OptimizeIt profiler is present in
 JBuilder
  for the Developer and Enterprise editions:
  http://info.borland.com/techpubs/jbuilder/
 
  Jon
 
  Peter wrote:
   thank you for ideas
  
   i current using JBuider2006, what profiler can used in JBuider2006?
  
   thanks
   peter
  
   On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:
  
   Chuck answered a similar query recently:
   http://marc.info/?l=tomcat-userm=118113828210257w=2
  
   Your servlets are serving long-running requests (or are in infinite
   loops, dead-locked etc) when you are trying to shutdown tomcat.
   The first thing I'd do in this situation is SIGQUIT tomcat to get a
   stackdump of the running threads.
   With that you can usually determine the changes you need to do to
  your
   servlets, if required.
   If the stackdump isn't a help I'd attach a profiler to see where
 your
   servlets are spending the time. I like the one bundled with
 netbeans.
   I'm sure others on the list have their own favourites.
  
   Jon
  
   Peter wrote:
hi all;
when i shutdown tomcat, i found following message in the
  catalina.out;
   
   
2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper
 unload
* Waiting for 6 instance(s) to be deallocated*
2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper
 unload
* Waiting for 333 instance(s) to be deallocated*
   
anyone has a idea about the about messages, does it means that
  there
is dead
lock in the program?
or some connection are not closed?
   
thank you for ideas!
peter
   
  
  
  
  
 -
   To start a new topic, e-mail: users@tomcat.apache.org
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 





-
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: hi,problem when shutdown tomcat!

2007-06-13 Thread Peter

i found that.
thanks a lot





On 6/13/07, Jon Wingfield [EMAIL PROTECTED] wrote:


The trace is probably in the catalina.out log file (at least that's
where it goes for us running tc5.0.30)

Peter wrote:
 hi all;
 I just found out that in linux
 under the /proc generate a fold 26337
 does it the place which the information stores?
 any idea?
 thanks

 On 6/13/07, Peter [EMAIL PROTECTED] wrote:

 hi all;
 i try to use SIGQUIT but can not see the stack trace.

 [EMAIL PROTECTED] root]# ps -ef|grep tomcat
 root 26337 1 5 09:45 pts/0 00:00:11
 /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
 Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
 Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
 Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
 :/opt/tomcat/bin/bootstrap.ja
 root 26427 26172 0 09:49 pts/0 00:00:00 grep tomcat

 [EMAIL PROTECTED] root]# kill -SIGQUIT 26337
 [EMAIL PROTECTED] root]# kill -3 26337
 [EMAIL PROTECTED] root]#

 does anyone has idea why?
 some artical said that if JVM set -Xrs,it will ignore the OS signal
 like
 SIGQUIT
 Does anyone know how can i see the stack trace in this situation?
 i use Tomcat 5.5.20 in linux , java, 1.5.0_10

 thanks





 On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:
 
  Good question. I don't know. The last time I used JBuilder was way
 back
  in 2000.
  The Borland site suggests an OptimizeIt profiler is present in
 JBuilder
  for the Developer and Enterprise editions:
  http://info.borland.com/techpubs/jbuilder/
 
  Jon
 
  Peter wrote:
   thank you for ideas
  
   i current using JBuider2006, what profiler can used in JBuider2006?
  
   thanks
   peter
  
   On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:
  
   Chuck answered a similar query recently:
   http://marc.info/?l=tomcat-userm=118113828210257w=2
  
   Your servlets are serving long-running requests (or are in
infinite
   loops, dead-locked etc) when you are trying to shutdown tomcat.
   The first thing I'd do in this situation is SIGQUIT tomcat to get
a
   stackdump of the running threads.
   With that you can usually determine the changes you need to do to
  your
   servlets, if required.
   If the stackdump isn't a help I'd attach a profiler to see where
 your
   servlets are spending the time. I like the one bundled with
 netbeans.
   I'm sure others on the list have their own favourites.
  
   Jon
  
   Peter wrote:
hi all;
when i shutdown tomcat, i found following message in the
  catalina.out;
   
   
2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper
 unload
* Waiting for 6 instance(s) to be deallocated*
2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper
 unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper
 unload
* Waiting for 333 instance(s) to be deallocated*
   
anyone has a idea about the about messages, does it means that
  there
is dead
lock in the program?
or some connection are not closed?
   
thank you for ideas!
peter
   
  
  
  
  
 -
   To start a new topic, e-mail: users@tomcat.apache.org
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 





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




hi,problem when shutdown tomcat!

2007-06-12 Thread Peter

hi all;
when i shutdown tomcat, i found following message in the catalina.out;


2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
* Waiting for 6 instance(s) to be deallocated*
2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
* Waiting for 333 instance(s) to be deallocated*

anyone has a idea about the about messages, does it means that there is dead
lock in the program?
or some connection are not closed?

thank you for ideas!
peter


Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Jon Wingfield

Chuck answered a similar query recently:
http://marc.info/?l=tomcat-userm=118113828210257w=2

Your servlets are serving long-running requests (or are in infinite 
loops, dead-locked etc) when you are trying to shutdown tomcat.
The first thing I'd do in this situation is SIGQUIT tomcat to get a 
stackdump of the running threads.
With that you can usually determine the changes you need to do to your 
servlets, if required.
If the stackdump isn't a help I'd attach a profiler to see where your 
servlets are spending the time. I like the one bundled with netbeans. 
I'm sure others on the list have their own favourites.


Jon

Peter wrote:

hi all;
when i shutdown tomcat, i found following message in the catalina.out;


2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
* Waiting for 6 instance(s) to be deallocated*
2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
*Waiting for 6 instance(s) to be deallocated
*2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
*Waiting for 333 instance(s) to be deallocated*
2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
* Waiting for 333 instance(s) to be deallocated*

anyone has a idea about the about messages, does it means that there 
is dead

lock in the program?
or some connection are not closed?

thank you for ideas!
peter





-
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: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter

thank you for ideas

i current using JBuider2006, what profiler can used in JBuider2006?

thanks
peter

On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:


Chuck answered a similar query recently:
http://marc.info/?l=tomcat-userm=118113828210257w=2

Your servlets are serving long-running requests (or are in infinite
loops, dead-locked etc) when you are trying to shutdown tomcat.
The first thing I'd do in this situation is SIGQUIT tomcat to get a
stackdump of the running threads.
With that you can usually determine the changes you need to do to your
servlets, if required.
If the stackdump isn't a help I'd attach a profiler to see where your
servlets are spending the time. I like the one bundled with netbeans.
I'm sure others on the list have their own favourites.

Jon

Peter wrote:
 hi all;
 when i shutdown tomcat, i found following message in the catalina.out;


 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
 * Waiting for 6 instance(s) to be deallocated*
 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 6 instance(s) to be deallocated
 *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 6 instance(s) to be deallocated
 *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 333 instance(s) to be deallocated*
 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 333 instance(s) to be deallocated*
 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
 * Waiting for 333 instance(s) to be deallocated*

 anyone has a idea about the about messages, does it means that there
 is dead
 lock in the program?
 or some connection are not closed?

 thank you for ideas!
 peter




-
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: hi,problem when shutdown tomcat!

2007-06-12 Thread Jon Wingfield
Good question. I don't know. The last time I used JBuilder was way back 
in 2000.
The Borland site suggests an OptimizeIt profiler is present in JBuilder 
for the Developer and Enterprise editions:

http://info.borland.com/techpubs/jbuilder/

Jon

Peter wrote:

thank you for ideas

i current using JBuider2006, what profiler can used in JBuider2006?

thanks
peter

On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:


Chuck answered a similar query recently:
http://marc.info/?l=tomcat-userm=118113828210257w=2

Your servlets are serving long-running requests (or are in infinite
loops, dead-locked etc) when you are trying to shutdown tomcat.
The first thing I'd do in this situation is SIGQUIT tomcat to get a
stackdump of the running threads.
With that you can usually determine the changes you need to do to your
servlets, if required.
If the stackdump isn't a help I'd attach a profiler to see where your
servlets are spending the time. I like the one bundled with netbeans.
I'm sure others on the list have their own favourites.

Jon

Peter wrote:
 hi all;
 when i shutdown tomcat, i found following message in the catalina.out;


 2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
 * Waiting for 6 instance(s) to be deallocated*
 2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 6 instance(s) to be deallocated
 *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 6 instance(s) to be deallocated
 *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 333 instance(s) to be deallocated*
 2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
 *Waiting for 333 instance(s) to be deallocated*
 2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
 * Waiting for 333 instance(s) to be deallocated*

 anyone has a idea about the about messages, does it means that there
 is dead
 lock in the program?
 or some connection are not closed?

 thank you for ideas!
 peter




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








-
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: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter

hi all;
i try to use SIGQUIT but can not see the stack trace.

[EMAIL PROTECTED] root]# ps -ef|grep tomcat
root 26337 1  5 09:45 pts/000:00:11
/usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
:/opt/tomcat/bin/bootstrap.ja
root 26427 26172  0 09:49 pts/000:00:00 grep tomcat

[EMAIL PROTECTED] root]# kill -SIGQUIT 26337
[EMAIL PROTECTED] root]# kill -3 26337
[EMAIL PROTECTED] root]#

does anyone has idea why?
some artical said that if JVM set -Xrs,it will ignore the OS signal like
SIGQUIT
Does anyone know how can i see the stack trace in this situation?
i use Tomcat 5.5.20 in  linux , java, 1.5.0_10

thanks





On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:


Good question. I don't know. The last time I used JBuilder was way back
in 2000.
The Borland site suggests an OptimizeIt profiler is present in JBuilder
for the Developer and Enterprise editions:
http://info.borland.com/techpubs/jbuilder/

Jon

Peter wrote:
 thank you for ideas

 i current using JBuider2006, what profiler can used in JBuider2006?

 thanks
 peter

 On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:

 Chuck answered a similar query recently:
 http://marc.info/?l=tomcat-userm=118113828210257w=2

 Your servlets are serving long-running requests (or are in infinite
 loops, dead-locked etc) when you are trying to shutdown tomcat.
 The first thing I'd do in this situation is SIGQUIT tomcat to get a
 stackdump of the running threads.
 With that you can usually determine the changes you need to do to your
 servlets, if required.
 If the stackdump isn't a help I'd attach a profiler to see where your
 servlets are spending the time. I like the one bundled with netbeans.
 I'm sure others on the list have their own favourites.

 Jon

 Peter wrote:
  hi all;
  when i shutdown tomcat, i found following message in the catalina.out
;
 
 
  2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
  * Waiting for 6 instance(s) to be deallocated*
  2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
  *Waiting for 6 instance(s) to be deallocated
  *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
  *Waiting for 6 instance(s) to be deallocated
  *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
  *Waiting for 333 instance(s) to be deallocated*
  2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
  *Waiting for 333 instance(s) to be deallocated*
  2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
  * Waiting for 333 instance(s) to be deallocated*
 
  anyone has a idea about the about messages, does it means that there
  is dead
  lock in the program?
  or some connection are not closed?
 
  thank you for ideas!
  peter
 



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






-
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: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter

hi all;
I just found out that in linux
under the /proc generate a fold 26337
does it the place which the information stores?
any idea?
thanks

On 6/13/07, Peter [EMAIL PROTECTED] wrote:


hi all;
i try to use SIGQUIT but can not see the stack trace.

[EMAIL PROTECTED] root]# ps -ef|grep tomcat
root 26337 1  5 09:45 pts/000:00:11
/usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -
Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
:/opt/tomcat/bin/bootstrap.ja
root 26427 26172  0 09:49 pts/000:00:00 grep tomcat

[EMAIL PROTECTED] root]# kill -SIGQUIT 26337
[EMAIL PROTECTED] root]# kill -3 26337
[EMAIL PROTECTED] root]#

does anyone has idea why?
some artical said that if JVM set -Xrs,it will ignore the OS signal like
SIGQUIT
Does anyone know how can i see the stack trace in this situation?
i use Tomcat 5.5.20 in  linux , java, 1.5.0_10

thanks





On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:

 Good question. I don't know. The last time I used JBuilder was way back
 in 2000.
 The Borland site suggests an OptimizeIt profiler is present in JBuilder
 for the Developer and Enterprise editions:
 http://info.borland.com/techpubs/jbuilder/

 Jon

 Peter wrote:
  thank you for ideas
 
  i current using JBuider2006, what profiler can used in JBuider2006?
 
  thanks
  peter
 
  On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote:
 
  Chuck answered a similar query recently:
  http://marc.info/?l=tomcat-userm=118113828210257w=2
 
  Your servlets are serving long-running requests (or are in infinite
  loops, dead-locked etc) when you are trying to shutdown tomcat.
  The first thing I'd do in this situation is SIGQUIT tomcat to get a
  stackdump of the running threads.
  With that you can usually determine the changes you need to do to
 your
  servlets, if required.
  If the stackdump isn't a help I'd attach a profiler to see where your
  servlets are spending the time. I like the one bundled with netbeans.
  I'm sure others on the list have their own favourites.
 
  Jon
 
  Peter wrote:
   hi all;
   when i shutdown tomcat, i found following message in the
 catalina.out;
  
  
   2007-6-12 18:18:44 org.apache.catalina.core.StandardWrapper unload
   * Waiting for 6 instance(s) to be deallocated*
   2007-6-12 18:18:45 org.apache.catalina.core.StandardWrapper unload
   *Waiting for 6 instance(s) to be deallocated
   *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
   *Waiting for 6 instance(s) to be deallocated
   *2007-6-12 18:18:46 org.apache.catalina.core.StandardWrapper unload
   *Waiting for 333 instance(s) to be deallocated*
   2007-6-12 18:18:47 org.apache.catalina.core.StandardWrapper unload
   *Waiting for 333 instance(s) to be deallocated*
   2007-6-12 18:18:48 org.apache.catalina.core.StandardWrapper unload
   * Waiting for 333 instance(s) to be deallocated*
  
   anyone has a idea about the about messages, does it means that
 there
   is dead
   lock in the program?
   or some connection are not closed?
  
   thank you for ideas!
   peter
  
 
 
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



 -
 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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-22 Thread David Delbecq
En l'instant précis du 22/05/07 05:21, Peter s'exprimait en ces termes:
 hi all;
 only get problem when put 0 into the list, put 1 or any number is ok, put
 new Integer(0) is ok as well;
Ide not recompiling or tomcat not reloading class, while you think you
are running the 0 case, you are in fact running the 1 case. did you try
successfully storing 3 then switch back to 0. If It does not compile at
0, your test case will still show 3.

 i think it may be a bug.
 does anyone has a idea?
 regards


 On 5/21/07, Peter [EMAIL PROTECTED] wrote:

 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0); put 0 into it
 alist.get(0); get 1 as result.

 it occurs when i using JBuilder2006 to complie it and run under tomcat
 5.5.20.
 i choose Jbuilder 2006 builder property: language features ( java 2 SDK
 V5.0 generic enable) ; target VM java 2 SDK V5.0 and later

 but if i choose target VM target VM java 2 SDK V1.4 and later it
 works fine, put 0 get 0.
 and if i donot run under the tomcat it still fine

 so i create another small project, in a jsp only doing List alist =new
 ArrayList();
 alist.add(0); alist.get(0);
 and it works fine as well under the same tomcat.


 i wonder what happens here?
 my project using many other jar file , i wonder if there is something
 wrong there.
 does anyone has a idea?

 thanks in advanced!







-
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: Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-22 Thread David Short
Do a clean and build in your IDE.  Run the test case in the IDE if possible.


-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 22, 2007 2:35 AM
To: Tomcat Users List
Subject: [Norton AntiSpam] Re: hi,wired problem? add 0 into alist but get 1
as a result!

En l'instant précis du 22/05/07 05:21, Peter s'exprimait en ces termes:
 hi all;
 only get problem when put 0 into the list, put 1 or any number is ok, 
 put new Integer(0) is ok as well;
Ide not recompiling or tomcat not reloading class, while you think you are
running the 0 case, you are in fact running the 1 case. did you try
successfully storing 3 then switch back to 0. If It does not compile at 0,
your test case will still show 3.

 i think it may be a bug.
 does anyone has a idea?
 regards


 On 5/21/07, Peter [EMAIL PROTECTED] wrote:

 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0); put 0 into it
 alist.get(0); get 1 as result.

 it occurs when i using JBuilder2006 to complie it and run under 
 tomcat 5.5.20.
 i choose Jbuilder 2006 builder property: language features ( java 2 
 SDK V5.0 generic enable) ; target VM java 2 SDK V5.0 and later

 but if i choose target VM target VM java 2 SDK V1.4 and later it 
 works fine, put 0 get 0.
 and if i donot run under the tomcat it still fine

 so i create another small project, in a jsp only doing List alist 
 =new ArrayList(); alist.add(0); alist.get(0); and it works fine as 
 well under the same tomcat.


 i wonder what happens here?
 my project using many other jar file , i wonder if there is something 
 wrong there.
 does anyone has a idea?

 thanks in advanced!







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



-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Leon Rosenberg

On 5/21/07, Peter [EMAIL PROTECTED] wrote:

hi all,

I have come into a very wired problem.

here it is.
my project using JBuilder 2006 and tomcat 5.5.20.
when i put a 0 into a list and get 1 as a result.
simple code for testing!

List alist =new ArrayList();
alist.add(0);  put 0 into it
alist.get(0);   get 1 as result.

it occurs when i using JBuilder2006 to complie it and run under tomcat
5.5.20.
i choose Jbuilder 2006 builder property: language features ( java 2
SDK V5.0generic enable) ; target VM  java 2 SDK
V5.0 and later


hmm, do you use this code in a jsp? Could you possible check the
source code generated by tomcat for this jsp and inspect it / send it
to us? Sounds like your jsp compiler is buggy.

regards
Leon



 but if i choose target VM   target VM  java 2 SDK V1.4 and later   it works
fine, put 0 get 0.
and if i donot run under the tomcat it still fine

so i create another small  project, in a jsp only doing  List alist =new
ArrayList();
alist.add(0);  alist.get(0);
and it works fine as well under the same tomcat.


i wonder what happens here?
 my project using many other jar file , i wonder if there is  something
wrong there.
does anyone has a idea?

thanks in advanced!



-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Delbecq
Never heard of such problem. Check your code. Either you add 1 to list,
not 0, either you badly display result, either it's not the same list.
Peter a écrit :
 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0); put 0 into it
 alist.get(0); get 1 as result.

 it occurs when i using JBuilder2006 to complie it and run under tomcat
 5.5.20.
 i choose Jbuilder 2006 builder property: language features ( java 2
 SDK V5.0generic enable) ; target VM java 2 SDK
 V5.0 and later

 but if i choose target VM target VM java 2 SDK V1.4 and later it works
 fine, put 0 get 0.
 and if i donot run under the tomcat it still fine

 so i create another small project, in a jsp only doing List alist =new
 ArrayList();
 alist.add(0); alist.get(0);
 and it works fine as well under the same tomcat.


 i wonder what happens here?
 my project using many other jar file , i wonder if there is something
 wrong there.
 does anyone has a idea?

 thanks in advanced!


-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter

hi all
i put it in the jsp, and here is the code generate by  tomcat
i did not see if there is any wrong there.

package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;

public final class jsp1_jsp extends org.apache.jasper.runtime.HttpJspBase
   implements org.apache.jasper.runtime.JspSourceDependent {

 private static java.util.List _jspx_dependants;

 public Object getDependants() {
   return _jspx_dependants;
 }

 public void _jspService(HttpServletRequest request, HttpServletResponse
response)
   throws java.io.IOException, ServletException {

   JspFactory _jspxFactory = null;
   PageContext pageContext = null;
   HttpSession session = null;
   ServletContext application = null;
   ServletConfig config = null;
   JspWriter out = null;
   Object page = this;
   JspWriter _jspx_out = null;
   PageContext _jspx_page_context = null;


   try {
 _jspxFactory = JspFactory.getDefaultFactory();
 response.setContentType(text/html; charset=GB2312);
 pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
 _jspx_page_context = pageContext;
 application = pageContext.getServletContext();
 config = pageContext.getServletConfig();
 session = pageContext.getSession();
 out = pageContext.getOut();
 _jspx_out = out;

 out.write(\r\n);
 out.write(\r\n);
 out.write(\r\n);
 out.write(\r\n);
 out.write(html\r\n);
 out.write(head\r\n);
 out.write(title\r\n);
 out.write(jsp1\r\n);
 out.write(/title\r\n);
 out.write(/head\r\n);
 out.write(body bgcolor=\#ff\\r\n);
 out.write(h1\r\n);
 out.write(JBuilder Generated JSP\r\n);

List alist =new ArrayList();
alist.add(0);
out.print(alist.get(0));
//Gentest gt=new Gentest();
//gt.addalist();
//gt.addlist();

 out.write(\r\n);
 out.write(/h1\r\n);
 out.write(form method=\post\ action=\jsp1.jsp\\r\n);
 out.write(brbr\r\n);
 out.write(input type=\submit\ name=\Submit\
value=\Submit\\r\n);
 out.write(input type=\reset\ value=\Reset\\r\n);
 out.write(/form\r\n);
 out.write(/body\r\n);
 out.write(/html\r\n);
   } catch (Throwable t) {
 if (!(t instanceof SkipPageException)){
   out = _jspx_out;
   if (out != null  out.getBufferSize() != 0)
 out.clearBuffer();
   if (_jspx_page_context != null)
_jspx_page_context.handlePageException(t);
 }
   } finally {
 if (_jspxFactory != null)
_jspxFactory.releasePageContext(_jspx_page_context);
   }
 }
}


On 5/21/07, Leon Rosenberg [EMAIL PROTECTED] wrote:


On 5/21/07, Peter [EMAIL PROTECTED] wrote:
 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0);  put 0 into it
 alist.get(0);   get 1 as result.

 it occurs when i using JBuilder2006 to complie it and run under tomcat
 5.5.20.
 i choose Jbuilder 2006 builder property: language features ( java 2
 SDK V5.0generic enable) ; target VM  java 2 SDK
 V5.0 and later

hmm, do you use this code in a jsp? Could you possible check the
source code generated by tomcat for this jsp and inspect it / send it
to us? Sounds like your jsp compiler is buggy.

regards
Leon


  but if i choose target VM   target VM  java 2 SDK V1.4 and later   it
works
 fine, put 0 get 0.
 and if i donot run under the tomcat it still fine

 so i create another small  project, in a jsp only doing  List alist =new
 ArrayList();
 alist.add(0);  alist.get(0);
 and it works fine as well under the same tomcat.


 i wonder what happens here?
  my project using many other jar file , i wonder if there is  something
 wrong there.
 does anyone has a idea?

 thanks in advanced!


-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter

in the mail before, i put 0 in a list and get 1 as result.



On 5/21/07, Leon Rosenberg [EMAIL PROTECTED] wrote:


On 5/21/07, Peter [EMAIL PROTECTED] wrote:
 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0);  put 0 into it
 alist.get(0);   get 1 as result.

 it occurs when i using JBuilder2006 to complie it and run under tomcat
 5.5.20.
 i choose Jbuilder 2006 builder property: language features ( java 2
 SDK V5.0generic enable) ; target VM  java 2 SDK
 V5.0 and later

hmm, do you use this code in a jsp? Could you possible check the
source code generated by tomcat for this jsp and inspect it / send it
to us? Sounds like your jsp compiler is buggy.

regards
Leon


  but if i choose target VM   target VM  java 2 SDK V1.4 and later   it
works
 fine, put 0 get 0.
 and if i donot run under the tomcat it still fine

 so i create another small  project, in a jsp only doing  List alist =new
 ArrayList();
 alist.add(0);  alist.get(0);
 and it works fine as well under the same tomcat.


 i wonder what happens here?
  my project using many other jar file , i wonder if there is  something
 wrong there.
 does anyone has a idea?

 thanks in advanced!


-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter

thanks

i am sure that i put 0 in to a list and i am not badly display result and it
is the same list
and it is only occur in this project.
thanks for any idea


On 5/21/07, David Delbecq [EMAIL PROTECTED] wrote:


Never heard of such problem. Check your code. Either you add 1 to list,
not 0, either you badly display result, either it's not the same list.
Peter a écrit :
 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0); put 0 into it
 alist.get(0); get 1 as result.

 it occurs when i using JBuilder2006 to complie it and run under tomcat
 5.5.20.
 i choose Jbuilder 2006 builder property: language features ( java 2
 SDK V5.0generic enable) ; target VM java 2 SDK
 V5.0 and later

 but if i choose target VM target VM java 2 SDK V1.4 and later it works
 fine, put 0 get 0.
 and if i donot run under the tomcat it still fine

 so i create another small project, in a jsp only doing List alist =new
 ArrayList();
 alist.add(0); alist.get(0);
 and it works fine as well under the same tomcat.


 i wonder what happens here?
 my project using many other jar file , i wonder if there is something
 wrong there.
 does anyone has a idea?

 thanks in advanced!


-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter

hi all
i try to do like

List alist =new ArrayList();
alist.add(0L);
alist.get(0);
and it is fine. donot know why?



On 5/21/07, Peter [EMAIL PROTECTED] wrote:


hi all,

I have come into a very wired problem.

here it is.
my project using JBuilder 2006 and tomcat 5.5.20.
when i put a 0 into a list and get 1 as a result.
simple code for testing!

List alist =new ArrayList();
alist.add(0);  put 0 into it
alist.get(0);   get 1 as result.

it occurs when i using JBuilder2006 to complie it and run under tomcat
5.5.20.
i choose Jbuilder 2006 builder property: language features ( java 2 SDK
V5.0 generic enable) ; target VM  java 2 SDK V5.0 and later

 but if i choose target VM   target VM  java 2 SDK V1.4 and later   it
works fine, put 0 get 0.
and if i donot run under the tomcat it still fine

so i create another small  project, in a jsp only doing  List alist =new
ArrayList();
alist.add(0);  alist.get(0);
and it works fine as well under the same tomcat.


i wonder what happens here?
 my project using many other jar file , i wonder if there is  something
wrong there.
does anyone has a idea?

thanks in advanced!






RE: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Short
Try creating your List like this and see what happens.

Listint alist =new ArrayListint(); 

-Original Message-
From: Peter [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 2:29 AM
To: Tomcat Users List
Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result!

thanks

i am sure that i put 0 in to a list and i am not badly display result and it
is the same list and it is only occur in this project.
thanks for any idea


On 5/21/07, David Delbecq [EMAIL PROTECTED] wrote:

 Never heard of such problem. Check your code. Either you add 1 to 
 list, not 0, either you badly display result, either it's not the same
list.
 Peter a écrit :
  hi all,
 
  I have come into a very wired problem.
 
  here it is.
  my project using JBuilder 2006 and tomcat 5.5.20.
  when i put a 0 into a list and get 1 as a result.
  simple code for testing!
 
  List alist =new ArrayList();
  alist.add(0); put 0 into it
  alist.get(0); get 1 as result.
 
  it occurs when i using JBuilder2006 to complie it and run under 
  tomcat 5.5.20.
  i choose Jbuilder 2006 builder property: language features ( java 2 
  SDK V5.0generic enable) ; target VM java 2 SDK V5.0 and later
 
  but if i choose target VM target VM java 2 SDK V1.4 and later it 
  works fine, put 0 get 0.
  and if i donot run under the tomcat it still fine
 
  so i create another small project, in a jsp only doing List alist 
  =new ArrayList(); alist.add(0); alist.get(0); and it works fine as 
  well under the same tomcat.
 
 
  i wonder what happens here?
  my project using many other jar file , i wonder if there is 
  something wrong there.
  does anyone has a idea?
 
  thanks in advanced!
 

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





-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Felix Schumacher
Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter:
 hi all,
 
 I have come into a very wired problem.
 
 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!
 
 List alist =new ArrayList();
 alist.add(0);  put 0 into it
 alist.get(0);   get 1 as result.
Have you tried to put an Object into ArrayList? 
Like
alist.add(Integer.valueOf(0));
System.out.println((Integer)alist.get(0));

I don't think it is possible to store an int into an ArrayList.

Bye
 Felix


-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Short
Try creating your List like this and see what happens.

Listint alist =new ArrayListint(); 

-Original Message-
From: Peter [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 2:29 AM
To: Tomcat Users List
Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result!

thanks

i am sure that i put 0 in to a list and i am not badly display result and it
is the same list and it is only occur in this project.
thanks for any idea


On 5/21/07, David Delbecq [EMAIL PROTECTED] wrote:

 Never heard of such problem. Check your code. Either you add 1 to 
 list, not 0, either you badly display result, either it's not the same
list.
 Peter a écrit :
  hi all,
 
  I have come into a very wired problem.
 
  here it is.
  my project using JBuilder 2006 and tomcat 5.5.20.
  when i put a 0 into a list and get 1 as a result.
  simple code for testing!
 
  List alist =new ArrayList();
  alist.add(0); put 0 into it
  alist.get(0); get 1 as result.
 
  it occurs when i using JBuilder2006 to complie it and run under 
  tomcat 5.5.20.
  i choose Jbuilder 2006 builder property: language features ( java 2 
  SDK V5.0generic enable) ; target VM java 2 SDK V5.0 and later
 
  but if i choose target VM target VM java 2 SDK V1.4 and later it 
  works fine, put 0 get 0.
  and if i donot run under the tomcat it still fine
 
  so i create another small project, in a jsp only doing List alist 
  =new ArrayList(); alist.add(0); alist.get(0); and it works fine as 
  well under the same tomcat.
 
 
  i wonder what happens here?
  my project using many other jar file , i wonder if there is 
  something wrong there.
  does anyone has a idea?
 
  thanks in advanced!
 

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





-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Leon Rosenberg

On 5/21/07, David Short [EMAIL PROTECTED] wrote:

Try creating your List like this and see what happens.

Listint alist =new ArrayListint();


and you get this compiled?



-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, May 21, 2007 2:29 AM
To: Tomcat Users List
Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result!

thanks

i am sure that i put 0 in to a list and i am not badly display result and it
is the same list and it is only occur in this project.
thanks for any idea


On 5/21/07, David Delbecq [EMAIL PROTECTED] wrote:

 Never heard of such problem. Check your code. Either you add 1 to
 list, not 0, either you badly display result, either it's not the same
list.
 Peter a écrit :
  hi all,
 
  I have come into a very wired problem.
 
  here it is.
  my project using JBuilder 2006 and tomcat 5.5.20.
  when i put a 0 into a list and get 1 as a result.
  simple code for testing!
 
  List alist =new ArrayList();
  alist.add(0); put 0 into it
  alist.get(0); get 1 as result.
 
  it occurs when i using JBuilder2006 to complie it and run under
  tomcat 5.5.20.
  i choose Jbuilder 2006 builder property: language features ( java 2
  SDK V5.0generic enable) ; target VM java 2 SDK V5.0 and later
 
  but if i choose target VM target VM java 2 SDK V1.4 and later it
  works fine, put 0 get 0.
  and if i donot run under the tomcat it still fine
 
  so i create another small project, in a jsp only doing List alist
  =new ArrayList(); alist.add(0); alist.get(0); and it works fine as
  well under the same tomcat.
 
 
  i wonder what happens here?
  my project using many other jar file , i wonder if there is
  something wrong there.
  does anyone has a idea?
 
  thanks in advanced!
 

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





-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Leon Rosenberg

On 5/21/07, Felix Schumacher [EMAIL PROTECTED] wrote:

Have you tried to put an Object into ArrayList?
Like
alist.add(Integer.valueOf(0));
System.out.println((Integer)alist.get(0));

I don't think it is possible to store an int into an ArrayList.


Autoboxing is the magic word here. The compiler generates
alist.add(new Integer(0)); if it sees alias.add(0);
regards
Leon



Bye
 Felix




-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Pid

David Short wrote:

Try creating your List like this and see what happens.

Listint alist =new ArrayListint(); 


Won't work, you can't use primitives, instead do:

 ListInteger alist = new ArrayListInteger();




-Original Message-
From: Peter [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 2:29 AM

To: Tomcat Users List
Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result!

thanks

i am sure that i put 0 in to a list and i am not badly display result and it
is the same list and it is only occur in this project.
thanks for any idea


On 5/21/07, David Delbecq [EMAIL PROTECTED] wrote:
Never heard of such problem. Check your code. Either you add 1 to 
list, not 0, either you badly display result, either it's not the same

list.

Peter a écrit :

hi all,

I have come into a very wired problem.

here it is.
my project using JBuilder 2006 and tomcat 5.5.20.
when i put a 0 into a list and get 1 as a result.
simple code for testing!

List alist =new ArrayList();
alist.add(0); put 0 into it
alist.get(0); get 1 as result.

it occurs when i using JBuilder2006 to complie it and run under 
tomcat 5.5.20.
i choose Jbuilder 2006 builder property: language features ( java 2 
SDK V5.0generic enable) ; target VM java 2 SDK V5.0 and later


but if i choose target VM target VM java 2 SDK V1.4 and later it 
works fine, put 0 get 0.

and if i donot run under the tomcat it still fine

so i create another small project, in a jsp only doing List alist 
=new ArrayList(); alist.add(0); alist.get(0); and it works fine as 
well under the same tomcat.



i wonder what happens here?
my project using many other jar file , i wonder if there is 
something wrong there.

does anyone has a idea?

thanks in advanced!


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

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






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







smime.p7s
Description: S/MIME Cryptographic Signature


RE: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread David Short
Yes.  It declares that the List is going to hold integers.  See
http://www.onjava.com/lpt/a/6014. 

-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 21, 2007 1:10 PM
To: Tomcat Users List
Subject: Re: hi,wired problem? add 0 into alist but get 1 as a result!

On 5/21/07, Felix Schumacher [EMAIL PROTECTED] wrote:
 Have you tried to put an Object into ArrayList?
 Like
 alist.add(Integer.valueOf(0));
 System.out.println((Integer)alist.get(0));

 I don't think it is possible to store an int into an ArrayList.

Autoboxing is the magic word here. The compiler generates alist.add(new
Integer(0)); if it sees alias.add(0); regards Leon


 Bye
  Felix



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



-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Felix,

Felix Schumacher wrote:
 Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter:
 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0);  put 0 into it
 alist.get(0);   get 1 as result.
 Have you tried to put an Object into ArrayList? 
 Like
 alist.add(Integer.valueOf(0));
 System.out.println((Integer)alist.get(0));
 
 I don't think it is possible to store an int into an ArrayList.

Generics + autoboxing ought to allow you to put ints into an ArrayList
(at least syntactically, though it's really just syntactic sugar).

- -chris

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

iD8DBQFGUhdv9CaO5/Lv0PARAmKMAJ9DjxpSf4zZmIdM+WQx8+q0fSRf7ACgjTAl
MBXxUu/ld4Aanpt9gQ8IXGg=
=38QU
-END PGP SIGNATURE-

-
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: [OT] hi, [weird] problem? add 0 into [a list] but get 1 as a result!

2007-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter,

Peter wrote:
 I have come into a very [weird] problem.

[snip]

 List alist =new ArrayList();
 alist.add(0);  put 0 into it
 alist.get(0);   get 1 as result.
 
 it occurs when i using JBuilder2006 to complie it and run under tomcat
 5.5.20.

Are you sure that JBuilder is compiling your class? I've seen IDEs fail
to compile source and leave you with an old version of the binary with
little indication.

If your class isn't compiling properly, maybe it's running something you
wrote in the past. Can you verify that the class file isn't an old one?

- -chris

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

iD8DBQFGUhgP9CaO5/Lv0PARAp01AJ4ycdAbxtZbbUtULcnDMWc+2ikvRwCeP+UE
q1WjP3e/cO270YyiQdPeWvo=
=YNCb
-END PGP SIGNATURE-

-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter

hi all
thanks for the reply;
things getting a litter  clear.
when i remove the jar file 'antlr-2.7.5H3.jar' , it work fine, put 0 in and
get 0 out.
but when i put the jar file back, it still put 0 in and get 1 out.

the jar is in the \tomcat\webapps\'myproject'\WEB-INF\lib\

it seems like the there is something wrong in the jar file.this jar is
shipped with hibernate. And i try the newest jar file from the newest
hiberbate,but it is still has the same problem.

does anyone has a idea?

the test code in a jsp file in my project:

java.util.List alist =new java.util.ArrayListInteger();
alist.add(0);
out.print(alist.get(0));

Regards

On 5/22/07, Christopher Schultz [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Felix,

Felix Schumacher wrote:
 Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter:
 hi all,

 I have come into a very wired problem.

 here it is.
 my project using JBuilder 2006 and tomcat 5.5.20.
 when i put a 0 into a list and get 1 as a result.
 simple code for testing!

 List alist =new ArrayList();
 alist.add(0);  put 0 into it
 alist.get(0);   get 1 as result.
 Have you tried to put an Object into ArrayList?
 Like
 alist.add(Integer.valueOf(0));
 System.out.println((Integer)alist.get(0));

 I don't think it is possible to store an int into an ArrayList.

Generics + autoboxing ought to allow you to put ints into an ArrayList
(at least syntactically, though it's really just syntactic sugar).

- -chris

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

iD8DBQFGUhdv9CaO5/Lv0PARAmKMAJ9DjxpSf4zZmIdM+WQx8+q0fSRf7ACgjTAl
MBXxUu/ld4Aanpt9gQ8IXGg=
=38QU
-END PGP SIGNATURE-

-
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: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter

hi all;
only get problem when put 0 into the list, put 1 or any number is ok, put
new Integer(0) is ok as well;

i think it may be a bug.
does anyone has a idea?
regards


On 5/21/07, Peter [EMAIL PROTECTED] wrote:


hi all,

I have come into a very wired problem.

here it is.
my project using JBuilder 2006 and tomcat 5.5.20.
when i put a 0 into a list and get 1 as a result.
simple code for testing!

List alist =new ArrayList();
alist.add(0);  put 0 into it
alist.get(0);   get 1 as result.

it occurs when i using JBuilder2006 to complie it and run under tomcat
5.5.20.
i choose Jbuilder 2006 builder property: language features ( java 2 SDK
V5.0 generic enable) ; target VM  java 2 SDK V5.0 and later

 but if i choose target VM   target VM  java 2 SDK V1.4 and later   it
works fine, put 0 get 0.
and if i donot run under the tomcat it still fine

so i create another small  project, in a jsp only doing  List alist =new
ArrayList();
alist.add(0);  alist.get(0);
and it works fine as well under the same tomcat.


i wonder what happens here?
 my project using many other jar file , i wonder if there is  something
wrong there.
does anyone has a idea?

thanks in advanced!






hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-20 Thread Peter

hi all,

I have come into a very wired problem.

here it is.
my project using JBuilder 2006 and tomcat 5.5.20.
when i put a 0 into a list and get 1 as a result.
simple code for testing!

List alist =new ArrayList();
alist.add(0);  put 0 into it
alist.get(0);   get 1 as result.

it occurs when i using JBuilder2006 to complie it and run under tomcat
5.5.20.
i choose Jbuilder 2006 builder property: language features ( java 2
SDK V5.0generic enable) ; target VM  java 2 SDK
V5.0 and later

but if i choose target VM   target VM  java 2 SDK V1.4 and later   it works
fine, put 0 get 0.
and if i donot run under the tomcat it still fine

so i create another small  project, in a jsp only doing  List alist =new
ArrayList();
alist.add(0);  alist.get(0);
and it works fine as well under the same tomcat.


i wonder what happens here?
my project using many other jar file , i wonder if there is  something
wrong there.
does anyone has a idea?

thanks in advanced!


Hi

2006-10-27 Thread adeyemi adesina
Hello Users,
 
 I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed the
'Tomcat Manager' page several times before, but I am having a problem
accessing it now. 
 
Could someone tell me what to do to resolve this error message.
 
An early response will be appreciated.
 
Kind Regards,
'Yemi.


Re: Hi

2006-10-27 Thread Li

check log message ...

On 10/27/06, adeyemi adesina [EMAIL PROTECTED] wrote:


Hello Users,

I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed the
'Tomcat Manager' page several times before, but I am having a problem
accessing it now.

Could someone tell me what to do to resolve this error message.

An early response will be appreciated.

Kind Regards,
'Yemi.





--
When we invent time, we invent death.


Re: Hi

2006-10-27 Thread Stephan Schöffel

make sure tomcat is started


adeyemi adesina wrote:


Hello Users,

I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed the
'Tomcat Manager' page several times before, but I am having a problem
accessing it now. 


Could someone tell me what to do to resolve this error message.

An early response will be appreciated.

Kind Regards,
'Yemi.

 




-
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: Hi

2006-10-27 Thread adeyemi adesina
The problem persists despite the fact that the Apache Tomcat service is
running.

Attached are the contents of my log files that have sizes greater than
zero (0) kb. It seems port number 80 is in use. How do I assign another
port number to Tomcat 5.5?

Thanks.

-Original Message-
From: Li [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 27, 2006 1:46 PM
To: Tomcat Users List
Subject: Re: Hi

check log message ...

On 10/27/06, adeyemi adesina [EMAIL PROTECTED]
wrote:

 Hello Users,

 I got an error message The page cannot be found. when I tried to
 access the 'Tomcat Manager' page by Clicking Start-All Programs-
 Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed
the
 'Tomcat Manager' page several times before, but I am having a problem
 accessing it now.

 Could someone tell me what to do to resolve this error message.

 An early response will be appreciated.

 Kind Regards,
 'Yemi.




-- 
When we invent time, we invent death.

-
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: Hi

2006-10-27 Thread adeyemi adesina
The problem persists despite the fact that the Apache Tomcat service is
running.

Attached are the contents of my log files that have sizes greater than
zero (0) kb. It seems port number 80 is in use. How do I assign another
port number to Tomcat 5.5?

Thanks.

-Original Message-
From: Stephan Schöffel [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 27, 2006 2:04 PM
To: Tomcat Users List
Subject: Re: Hi

make sure tomcat is started


adeyemi adesina wrote:

Hello Users,
 
 I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed
the
'Tomcat Manager' page several times before, but I am having a problem
accessing it now. 
 
Could someone tell me what to do to resolve this error message.
 
An early response will be appreciated.
 
Kind Regards,
'Yemi.

  



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

-
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: Hi

2006-10-27 Thread Stephan Schöffel

in server.xml look for this line:

Connector port=80 maxHttpHeaderSize=8192 maxThreads=150 
minSpareThreads=25 maxSpareThreads=75 enableLookups=false 
redirectPort=8443 acceptCount=100 connectionTimeout=2 
disableUploadTimeout=true/


and change port then point to the tomcat start page via your browser using:
localhost:port (eg localhost:8123)

adeyemi adesina wrote:


The problem persists despite the fact that the Apache Tomcat service is
running.

Attached are the contents of my log files that have sizes greater than
zero (0) kb. It seems port number 80 is in use. How do I assign another
port number to Tomcat 5.5?

Thanks.

-Original Message-
From: Stephan Schöffel [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 27, 2006 2:04 PM

To: Tomcat Users List
Subject: Re: Hi

make sure tomcat is started


adeyemi adesina wrote:

 


Hello Users,

I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed
   


the
 


'Tomcat Manager' page several times before, but I am having a problem
accessing it now. 


Could someone tell me what to do to resolve this error message.

An early response will be appreciated.

Kind Regards,
'Yemi.



   




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

 




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




-
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: Hi

2006-10-27 Thread adeyemi adesina
Changing the port-number from 80 works! 

Thanks so much. 

-Original Message-
From: Stephan Schöffel [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 27, 2006 3:00 PM
To: Tomcat Users List
Subject: Re: Hi

in server.xml look for this line:

Connector port=80 maxHttpHeaderSize=8192 maxThreads=150 
minSpareThreads=25 maxSpareThreads=75 enableLookups=false 
redirectPort=8443 acceptCount=100 connectionTimeout=2 
disableUploadTimeout=true/

and change port then point to the tomcat start page via your browser
using:
localhost:port (eg localhost:8123)

adeyemi adesina wrote:

The problem persists despite the fact that the Apache Tomcat service is
running.

Attached are the contents of my log files that have sizes greater than
zero (0) kb. It seems port number 80 is in use. How do I assign another
port number to Tomcat 5.5?

Thanks.

-Original Message-
From: Stephan Schöffel [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 27, 2006 2:04 PM
To: Tomcat Users List
Subject: Re: Hi

make sure tomcat is started


adeyemi adesina wrote:

  

Hello Users,

I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed


the
  

'Tomcat Manager' page several times before, but I am having a problem
accessing it now. 

Could someone tell me what to do to resolve this error message.

An early response will be appreciated.

Kind Regards,
'Yemi.

 





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

  

---
-

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



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


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



  1   2   >