Re: What a wonderfull world ..

2006-12-31 Thread Bob Hall
And thanks to George Weiss  Bob Thiele for writing it and
and to Louis 'Satchmo' Armstrong for performing it.

http://solosong.net/wonderful.html

-Bob

- Original Message 
From: Almir Kazazic [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, December 30, 2006 11:16:04 AM
Subject: Re: What a wonderfull world ..

thanks

On 12/30/06, Vijay Hatewar [EMAIL PROTECTED] wrote:
 WHAT A WONDERFUL WORLD

  I see trees of green, red roses too
  I see them bloom for me and you
  And I think to myself, what a wonderful world

  I see skies of blue and clouds of white
  The bright blessed day, the dark sacred night
  And I think to myself, what a wonderful world

  The colours of the rainbow, so pretty in the sky
  Are also on the faces of people going by
  I see friends shakin' hands, sayin' How do you do?
  They're really saying I love you

  I hear babies cryin', I watch them grow
  They'll learn much more than I'll ever know
  And I think to myself, what a wonderful world
  Yes, I think to myself, what a wonderful world

  Oh yeah

  Happy new Year .. Enjoy life ..Love thyself and others


 Thanks  Regards,

  Vijay G Hatewar
 |Member of Technical Staff - TQE|Persistent Systems Pvt, Ltd., Pune.|
 |Ph: +91 .20 .3023.5331| Mobile: +91.9890678168| @:
 [EMAIL PROTECTED]| mailto:[EMAIL PROTECTED]


 DISCLAIMER
 ==
 This e-mail may contain privileged and confidential information which is the 
 property of Persistent Systems Pvt. Ltd. It is intended only for the use of 
 the individual or entity to which it is addressed. If you are not the 
 intended recipient, you are not authorized to read, retain, copy, print, 
 distribute or use this message. If you have received this communication in 
 error, please notify the sender and delete all copies of this message. 
 Persistent Systems Pvt. Ltd. does not accept any liability for virus infected 
 mails.



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





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-
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: controling resource and cpu hogging

2006-12-31 Thread Caldarale, Charles R
 From: hanasaki [mailto:[EMAIL PROTECTED] 
 Subject: controling resource and cpu hogging
 
 How can misbehaving deployed WAR's be identified and
 1. killed off (maybe an issue if they hold onto threads
 or instance references when undeploy or stop is called)

You can try a profiler or thread dump to determine where each thread is
executing, but that's not a particularly easy or efficient way of
identifying the problem.  You can also use the built-in manager app to
see if threads are active in any given application.

 2. be controlled (ie: throttle/cap a specific domain
 and/or WAR deployment in CPU consumption).

I'm not aware of anything currently in Tomcat or the JVM that will let
you do this easily.  However, JSR 284 (Resource Consumption Management
API - http://jcp.org/en/jsr/detail?id=284) has recently been approved,
which should address the issue.  No idea when anyone will actually
implement it.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Not quite a tomcat question

2006-12-31 Thread Leon Rosenberg

Despitie writing in the db would clearly be the better idea, I'd
suggest that you create a unique id (its easy using 30 random digits
or something) and put the users data in a large hashmap along with a
timestamp of the creation and the users data. You can include this id
into the confirmation link (if you carry about security than
md5-hashcoded with a secret and/or timestamp).
The hashmap is held in application scope or in a static variable
somewhere or in a singleton class. Whenever the user clicks the
confirmation link you can lookup his data in the hashmap.
To prevent the map from getting VERY large you can scan it every hour
and check whether the confirmation is expired (that's why the
timestamp should be included).
You can further make a context listener and dump the hashmap contents
to a file upon shutdown, and load from file when starting.

Of course the access to the map should be synchronized.

regards
Leon


On 12/31/06, EDMOND KEMOKAI [EMAIL PROTECTED] wrote:

Happy New Year All.

Does anyone use sessions to temporarily hold confirmation codes for user
registrations? I have a setup where when the user registers a random
confirmation code is generated and appended to a url which is emailed to the
user. The user's registration data is stored in a session with the
confirmation code as the key. When they click the confirmation link, the
code is used to retrieve the registration information and the registration
is done. Some users are having trouble because it seems they're encountering
invalidated sessions. I know if  the registrations is done in one browser
and the link (outlook will open IE) opens up a different browser that would
lead to the creation of a different session which obviously wouldn't have
the registration data. I have seen implementations that enter the
confirmation directly into the database but I don't want to do that since it
would mean writing more code to check who's account is activated and who's
hasn't, and also might lead to garbage in the database of users who never
activated their accounts...Any suggestions?

--
talk trash and carry a small stick.
PAUL KRUGMAN (NYT)




-
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: controling resource and cpu hogging

2006-12-31 Thread Caldarale, Charles R
 From: Caldarale, Charles R 
 Subject: RE: controling resource and cpu hogging
 
  2. be controlled (ie: throttle/cap a specific domain
  and/or WAR deployment in CPU consumption).
 
 I'm not aware of anything currently in Tomcat or the JVM that 
 will let you do this easily.

You can, of course, run each suspect app in a separate instance of
Tomcat.  This will likely complicate your life more than it's worth,
however.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to set tomcat service as automatic?

2006-12-31 Thread kkus

I installed 5.5.20 as service and can start it from its configuration page.
From there I set it up as automatic startup type. Then after I reboot PC and
it still shows me startup type as manual. That isn't what I intend. 

1. How can I make tomcat service loaded automatically every time PC is
started? 
2. Why can't I find a service called tomcat5 under Windows service
list(Control panel - Administrator tool - service)? Is tomcat service a REAL
windows service?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/How-to-set-tomcat-service-as-automatic--tf2902088.html#a8108019
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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: How to set tomcat service as automatic?

2006-12-31 Thread David Kerber

kkus wrote:


I installed 5.5.20 as service and can start it from its configuration page.

From there I set it up as automatic startup type. Then after I reboot PC and
it still shows me startup type as manual. That isn't what I intend. 


1. How can I make tomcat service loaded automatically every time PC is
started? 
2. Why can't I find a service called tomcat5 under Windows service

list(Control panel - Administrator tool - service)? Is tomcat service a REAL
windows service?

Thanks!
 


Look under A for Apache tomcat.




-
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: How to set tomcat service as automatic?

2006-12-31 Thread Caldarale, Charles R
 From: kkus [mailto:[EMAIL PROTECTED] 
 Subject: How to set tomcat service as automatic?
 
 I installed 5.5.20 as service and can start it from its 
 configuration page.
 From there I set it up as automatic startup type. Then after 
 I reboot PC and it still shows me startup type as manual.

That does seem to be broken, as does switching it back to manual, at
least on XP Home (haven't tried it on XP Pro or other versions).
Changing it from Control Panel - Administratrive Tools - Services does
work o.k.

 2. Why can't I find a service called tomcat5 under Windows service
 list(Control panel - Administrator tool - service)? Is tomcat 
 service a REAL windows service?

It's definitely a real Windows service.  The display name (as shown by
the Services tool) is Apache Tomcat, not Tomcat5, which is the
service name.  If you can't find it in the regular Services menu, the
service install may not have completed properly.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: run service in jdk 6

2006-12-31 Thread Nikola Milutinovic
Hi.

Just installed JDK 6 and Tomcat 6.0. JDK is installed under REGULAR path: 
C:\Program Files\Java\jre1.6.0. Runs fine.

Let me just say that I have always installed JDK on Windows under expected 
path, in Program Files. Both ZIP and service versions ran with no problem. This 
was true of 5. and 5.5 versions.

Nix.




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-
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: run service in jdk 6

2006-12-31 Thread kkus

I figured out the problem.  I set JAVA_HOME under user variable rather than
system variable. Now I don't have any  problem with it in windows expected
path (with space in program files). Thanks!


Nikola Milutinovic-2 wrote:
 
 Hi.
 
 Just installed JDK 6 and Tomcat 6.0. JDK is installed under REGULAR path:
 C:\Program Files\Java\jre1.6.0. Runs fine.
 
 Let me just say that I have always installed JDK on Windows under expected
 path, in Program Files. Both ZIP and service versions ran with no problem.
 This was true of 5. and 5.5 versions.
 
 Nix.
 
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/run-service-in-jdk-6-tf2897742.html#a8108406
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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: How to set tomcat service as automatic?

2006-12-31 Thread kkus

It works now with setting it from windows services list. My version is XP SP2
Pro which had the same issue from configuration page. Now it is fine.
Thanks!


Caldarale, Charles R wrote:
 
 From: kkus [mailto:[EMAIL PROTECTED] 
 Subject: How to set tomcat service as automatic?
 
 I installed 5.5.20 as service and can start it from its 
 configuration page.
 From there I set it up as automatic startup type. Then after 
 I reboot PC and it still shows me startup type as manual.
 
 That does seem to be broken, as does switching it back to manual, at
 least on XP Home (haven't tried it on XP Pro or other versions).
 Changing it from Control Panel - Administratrive Tools - Services does
 work o.k.
 
 2. Why can't I find a service called tomcat5 under Windows service
 list(Control panel - Administrator tool - service)? Is tomcat 
 service a REAL windows service?
 
 It's definitely a real Windows service.  The display name (as shown by
 the Services tool) is Apache Tomcat, not Tomcat5, which is the
 service name.  If you can't find it in the regular Services menu, the
 service install may not have completed properly.
 
  - 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 start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-set-tomcat-service-as-automatic--tf2902088.html#a8108466
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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: What a wonderfull world ..

2006-12-31 Thread Mark Thomas
Bill Barker wrote:
 Frack, after all Chuck started it.  Get a life, and let these two little 
 kiddies get on with their mud fight.  Just do what I do and block both of 
 them :).

Who started what is a debate that could go on for eternity. The
archives are there for anyone who wants to keep score.

Blocking people is tempting but too indiscriminate for my taste. What
would be nice is a e-mail filter that filters out the flames, leaving
only the relevant content ;)

 This is the second time I have had to ask you to apologise to Chuck.
 You ignored my request the last time, I do not expect to be ignored a
 second time.

 Mark
 [EMAIL PROTECTED]
 
 This sort of gross over-reaction is a sure sign that you should pass this 
 title on to someone else.  Remember that this isn't a cathedral, it's a 
 bazaar.

I love this analogy. It works on so many different levels.

I didn't mean to suggest everyone on this list should be on best
(cathedral) behaviour rather that, even in a bazaar, there are limits.
The odd flame war/skirmish over a technical issue is to be expected
but hijacking a thread for a personal attack is, in my view, going too
far.

In hindsight my response was more than a tad authoritarian - not a
good thing and a great example of why counting to ten before you reply
to an irritating e-mail is a good idea. Whilst the tone of my email
could certainly have been improved, and I apologise that it wasn't, I
stand by the substance that an apology is required.

Mark

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



TOMCAT 1.4

2006-12-31 Thread tuosu

hello,
My O.S == sun solaris 8.0, running tomcat 1.4.2
I have every thing configured as documented.
When i do a ps -ae, i don't see process associated with TOMCAT/.
I also don't see httpd
on web-page when i click admin manager or manager i get error 404 or 405
please help.
-- 
View this message in context: 
http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8111813
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: TOMCAT 1.4

2006-12-31 Thread Li

httpd is normally not for tomcat but for your webserver like apache ... and
you get 404 or 405 is because your app is not deployed. Check whether your
tomcat has been installed properly  try to run startup.sh to see if
there is any error

On 1/1/07, tuosu [EMAIL PROTECTED] wrote:



hello,
My O.S == sun solaris 8.0, running tomcat 1.4.2
I have every thing configured as documented.
When i do a ps -ae, i don't see process associated with TOMCAT/.
I also don't see httpd
on web-page when i click admin manager or manager i get error 404 or 405
please help.
--
View this message in context:
http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8111813
Sent from the Tomcat - User mailing list archive at Nabble.com.


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





--
When we invent time, we invent death.


RE: TOMCAT 1.4

2006-12-31 Thread Caldarale, Charles R
 From: tuosu [mailto:[EMAIL PROTECTED] 
 Subject: TOMCAT 1.4
 
 My O.S == sun solaris 8.0, running tomcat 1.4.2

It's highly unlikely you have Tomcat 1.4.2; the oldest level in the
archives is 3.0, and that's almost seven years old.  The 1.4.2 probably
refers to the level of Java (JRE) you have installed.

You probably need to download and install Tomcat from here:
http://tomcat.apache.org/download-55.cgi

Since you are most likely running version 1.4.2 of the JVM, you'll also
need the JDK 1.4 Compatibility Package, from the same download page.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to set up a special folder to list all files under it?

2006-12-31 Thread kkus

My current setting is redirect default request (localhost:8080) to my app by
adding a refresh meta in index.html under Root. Now I need add a specific
folder which will let user to browse all files under it without
authentication. This folder can be under my app folder or root folder (I
don't care under which context it is, just make sure user can access and
browse files under it). I am with 5.5.20 service of XP Pro SP2 box. Can
anyone give me some hints? Thanks!
-- 
View this message in context: 
http://www.nabble.com/How-to-set-up-a-special-folder-to-list-all-files-under-it--tf2903441.html#a8112028
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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: How to set up a special folder to list all files under it?

2006-12-31 Thread Caldarale, Charles R
 From: kkus [mailto:[EMAIL PROTECTED] 
 Subject: How to set up a special folder to list all files under it?
 
 Now I need add a specific folder which will let user to browse
 all files under it without authentication.

I haven't personally tried the following, so take it with a grain of
salt.  Also, others might know an easier way to accomplish what you
want.

Delivery of static content and directory listings is under control of
the default servlet, as defined in the conf/web.xml file.  By default,
this has the listings param set to false, to disable ad hoc browsing.  I
think you could copy the config for the default servlet, change
servlet-name from default to something appropriate for your purpose,
set the listings param to true, and add a servlet mapping for this
renamed default to use a url-pattern pointing to the directory you
want to store your public files in.  You would want to put this
redefined servlet definition and mapping in the WEB-INF/web.xml of the
webapp that will hold the public directory.

 - 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 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] What a wonderfull world ..

2006-12-31 Thread Caldarale, Charles R
 From: Vijay Hatewar [mailto:[EMAIL PROTECTED] 
 Subject: RE: What a wonderfull world ..
 
 I am very sorry if I had cause any inconvenience to all you , 
 I posted this mail to [EMAIL PROTECTED] list accidentally
 and had no intension whatsoever to make you feel irritated . 

No apology necessary - it was a heart-warming gesture.  Let's hope there
are many more of them this year.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: TOMCAT 1.4

2006-12-31 Thread tuosu

Hello Charles,
Honored to see your post, since i have seen your wonderful, worthful posts.
Thanks for all your info.
It was a typo - it should have been - 4.1.34
.profile = 
CATALINA_HOME=/tomcat-4.1.34

I am running solaris -8, 
postgresql-8.1.5-sol8-sparc-local
j2sdk-1_4_2_13-solaris-sparc
j2re-1_4_2_13-solaris-sparc
J2SE_Solaris_8_Recommended patches
rrdtool-1.0.49-sol8-sparc-local   and
opennms-1.2.8-sol8-sparc-local

The question i have is - when i do ps -ae, i don't see tomcat as a deamon
process.
How can i make tomcat a process.
If tomcat cannot be a process then how do i verify if tomcat is working or
not.

When i enter the following:
./catalina.sh run
Using CATALINA_BASE:   /tomcat-4.1.34
Using CATALINA_HOME:   /tomcat-4.1.34
Using CATALINA_TMPDIR: /tomcat-4.1.34/temp
Using CATALINA_OUT:/tomcat-4.1.34/logs/catalina.out
Using JAVA_HOME:   /usr/java
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
Catalina.start: LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1324)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:531)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2268)
at org.apache.catalina.startup.Catalina.start(Catalina.java:457)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
Catalina.stop: LifecycleException:  This server has not yet been started
LifecycleException:  This server has not yet been started
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2235)
at org.apache.catalina.startup.Catalina.start(Catalina.java:489)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)

I have no clue on this error message.

Thanks in advance




Caldarale, Charles R wrote:
 
 From: tuosu [mailto:[EMAIL PROTECTED] 
 Subject: TOMCAT 1.4
 
 My O.S == sun solaris 8.0, running tomcat 1.4.2
 
 It's highly unlikely you have Tomcat 1.4.2; the oldest level in the
 archives is 3.0, and that's almost seven years old.  The 1.4.2 probably
 refers to the level of Java (JRE) you have installed.
 
 You probably need to download and install Tomcat from here:
 http://tomcat.apache.org/download-55.cgi
 
 Since you are most likely running version 1.4.2 of the JVM, you'll also
 need the JDK 1.4 Compatibility Package, from the same download page.
 
  - 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 start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/TOMCAT-1.4-tf2903356.html#a8112283
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: TOMCAT 1.4

2006-12-31 Thread David Smith
Tomcat is typically installed as a service using commons-daemon from 
http://jakarta.apache.org/commons/daemon.  As  a result, it's process 
name in any install I've done is jsvc.  You might also see it as java if 
you start it using a shell script directly.  Individual netstat commands 
change from os to os, but in Mandriva Linux, executing netstat -tlnp as 
root will list all the listening TCP ports and the process names.  
Something similar might help you identify both your tomcat process when 
running and what's listening on port 8080.


--David

tuosu wrote:

Hello Charles,
Honored to see your post, since i have seen your wonderful, worthful posts.
Thanks for all your info.
It was a typo - it should have been - 4.1.34
.profile = 
CATALINA_HOME=/tomcat-4.1.34


I am running solaris -8, 
postgresql-8.1.5-sol8-sparc-local

j2sdk-1_4_2_13-solaris-sparc
j2re-1_4_2_13-solaris-sparc
J2SE_Solaris_8_Recommended patches
rrdtool-1.0.49-sol8-sparc-local   and
opennms-1.2.8-sol8-sparc-local

The question i have is - when i do ps -ae, i don't see tomcat as a deamon
process.
How can i make tomcat a process.
If tomcat cannot be a process then how do i verify if tomcat is working or
not.

When i enter the following:
./catalina.sh run
Using CATALINA_BASE:   /tomcat-4.1.34
Using CATALINA_HOME:   /tomcat-4.1.34
Using CATALINA_TMPDIR: /tomcat-4.1.34/temp
Using CATALINA_OUT:/tomcat-4.1.34/logs/catalina.out
Using JAVA_HOME:   /usr/java
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
Catalina.start: LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1324)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:531)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2268)
at org.apache.catalina.startup.Catalina.start(Catalina.java:457)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
Catalina.stop: LifecycleException:  This server has not yet been started
LifecycleException:  This server has not yet been started
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2235)
at org.apache.catalina.startup.Catalina.start(Catalina.java:489)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)

I have no clue on this error message.

Thanks in advance




Caldarale, Charles R wrote:
  
From: tuosu [mailto:[EMAIL PROTECTED] 
Subject: TOMCAT 1.4


My O.S == sun solaris 8.0, running tomcat 1.4.2
  

It's highly unlikely you have Tomcat 1.4.2; the oldest level in the
archives is 3.0, and that's almost seven years old.  The 1.4.2 probably
refers to the level of Java (JRE) you have installed.

You probably need to download and install Tomcat from here:
http://tomcat.apache.org/download-55.cgi

Since you are most likely running version 1.4.2 of the JVM, you'll also
need the JDK 1.4 Compatibility Package, from the same download page.

 - 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 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]