[OT] RE: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Peter Crowther
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
> I've never understood this fascination for fooling around 
> with 3rd-party
> packaged versions of Tomcat, rather than using the unadulterated
> originals directly from the Tomcat download site.  The 
> process couldn't
> be much simpler: download, unzip/untar, run.  What am I missing?

That some people trust packaged versions for their OS to install more
reliably than un-packaged versions, to have been compiled using a
consistent set of library versions, or otherwise believe them to have
been blessed by the OS maintainers.  In the case of Tomcat, I'm with
you; but that's the exception, as I know it's pure Java.  I would be
cautious of downloading an arbitrary compiled application and trying to
run it on an arbitrary Linux distro, simply because of the library
version problems that plague Linux as much as Windows.

- Peter

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



Re: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Leon Rosenberg
On 9/30/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Rob Hills [mailto:[EMAIL PROTECTED]
> > Subject: Installing Tomcat 5.5 on Fedora 4 via Yum
> >
> > However, I've so far been unsuccessful in finding any way to upgrade
> > Tomcat beyond 5.0 using Yum.  Has anyone else achieved this?
>
> I've never understood this fascination for fooling around with 3rd-party
> packaged versions of Tomcat, rather than using the unadulterated
> originals directly from the Tomcat download site.  The process couldn't
> be much simpler: download, unzip/untar, run.  What am I missing?

The fun of having your tomcat split in 6 different directories and
linked together.  More jobs for BOTHs.

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



RE: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Caldarale, Charles R
> From: Rob Hills [mailto:[EMAIL PROTECTED] 
> Subject: Installing Tomcat 5.5 on Fedora 4 via Yum
> 
> However, I've so far been unsuccessful in finding any way to upgrade 
> Tomcat beyond 5.0 using Yum.  Has anyone else achieved this?

I've never understood this fascination for fooling around with 3rd-party
packaged versions of Tomcat, rather than using the unadulterated
originals directly from the Tomcat download site.  The process couldn't
be much simpler: download, unzip/untar, run.  What am I missing?

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Rob Hills
Hi All,

I'm a relative newbie to Linux but I've successfully managed to get TC 
5.0 up and running with Sun's JDK 1.5 after much Googling.

I've also managed to do this using Yum (thanks to JPackage) so far to 
make it easier to keep things up to date.

However, I've so far been unsuccessful in finding any way to upgrade 
Tomcat beyond 5.0 using Yum.  Has anyone else achieved this?

If anyone on this list happens to know, it'd be nice to find out when TC 
5.5 will be considered stable enough to make it to the RedHat 
downloads

TIA,

Rob Hills
Western Australia

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



Installing Tomcat 5.5 & viewing site to see if works

2005-08-04 Thread Andrea Becker

Hello,

I am having problems getting Tomcat 5.5 installed.
Do you have to enter a Username & Password at the time of installation 
where it has the number 8080 listed?


Once I have java downloaded and tomcat downloaded & the Compat zip 
 
file, should the site be viewable in working fashion when I type in


http://130.71.56.123

Thanks,

Allistair Crossley wrote:


Oops! :)

http://www.adcworks.com/blog/index.php/archives/2005/08/03/load-balancing-with-tomcat-55-and-jk-12/

Cheers, Allistair.

 


-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: 04 August 2005 12:42
To: Tomcat Users List
Subject: Re: Blog: JK1.2 load balancing as solution to 100% uptime


Allistair Crossley wrote:
   


Hi Chaps,

If anyone is interested, I blogged last night on my 
 


experience setting up ...
   



 


It would be great if you provide a link to your blog :)

Regards,
Mladen.

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


   




 
---

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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

 



--

Andrea Becker

St. Olaf College ~ CEL

1520 St. Olaf Avenue

Northfield, MN  55057

Ph: (507) 646-3268

Fax: (507) 646-3626

http://www.stolaf.edu/services/cel



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



Re: MISSING jar files and empty directories after installing TOMCAT 5.5.7 Help !!!

2005-04-12 Thread Mark Thomas
Maybe http://marc.theaimsgroup.com/?l=tomcat-user&m=104978978819668&w=2
Mark
Parveen Pasha wrote:
Can someone tell me why these files are missing after
installing tomcat5.5.7?
Installed instatlled tomcat 5.5.7 from
jakarta-tomcat-5.5.7.tar.gz (downloaded from
Apache.org) and installed jdk1.5.0_02
MISSING
jasper-compiler.jar -  

jasper-runtime.jar - 
jsp-api.jar - 

naming-common.jar -  
naming-factory.jar -  
naming-factory-dbcp.jar -  
naming-java.jar -  
naming-resources.jar - 
servlet-api.jar - 
tomcat-i18n-**.jar -   
catalina.jar -  
catalina-ant.jar -  
catalina-optional.jar  
commons-modeler.jar -  
servlets-x.jar -  
tomcat-coyote.jar -  
tomcat-http.jar -  
tomcat-ajp.jar -  
tomcat-util.jar -  

EMPTY DIRECTORIES:
$CATALINA_HOME/common/classes and
$CATALINA_HOME/common/endorsed are empty
$CATALINA_HOME/server/classes,  and
$CATALINA_HOME/server/lib 
$CATALINA_BASE/shared/classes, and
$CATALINA_BASE/shared/lib.

Common - $CATALINA_HOME/commons/i18n has the
following:   tomcat-i18n-en.jar,  tomcat-i18n-es.jar, 
tomcat-i18n-fr.jar and   tomcat-i18n-ja.jar

$CATALINA_HOME/common/lib only includes the following:
commons-el.jar -  
jasper-compiler-jdt.jar


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


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


MISSING jar files and empty directories after installing TOMCAT 5.5.7 Help !!!

2005-04-12 Thread Parveen Pasha
Can someone tell me why these files are missing after
installing tomcat5.5.7?

Installed instatlled tomcat 5.5.7 from
jakarta-tomcat-5.5.7.tar.gz (downloaded from
Apache.org) and installed jdk1.5.0_02

MISSING
jasper-compiler.jar -  

jasper-runtime.jar - 
jsp-api.jar - 

naming-common.jar -  
naming-factory.jar -  
naming-factory-dbcp.jar -  
naming-java.jar -  
naming-resources.jar - 
servlet-api.jar - 
tomcat-i18n-**.jar -   
catalina.jar -  
catalina-ant.jar -  
catalina-optional.jar  
commons-modeler.jar -  
servlets-x.jar -  
tomcat-coyote.jar -  
tomcat-http.jar -  
tomcat-ajp.jar -  
tomcat-util.jar -  

EMPTY DIRECTORIES:

$CATALINA_HOME/common/classes and
$CATALINA_HOME/common/endorsed are empty
$CATALINA_HOME/server/classes,  and
$CATALINA_HOME/server/lib 
$CATALINA_BASE/shared/classes, and
$CATALINA_BASE/shared/lib.


Common - $CATALINA_HOME/commons/i18n has the
following:   tomcat-i18n-en.jar,  tomcat-i18n-es.jar, 
tomcat-i18n-fr.jar and   tomcat-i18n-ja.jar

$CATALINA_HOME/common/lib only includes the following:


commons-el.jar -  
jasper-compiler-jdt.jar



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



Re: problem with installing tomcat in linux

2005-04-11 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote:
yes i did exported those env variables.
but still i am getting the following error
Cannot find ./catalina.sh
This file is needed to run this program
Executables, including shell scripts, are only "found" if they're
in your PATH. Either add the $CATALINA_HOME/bin directory to your
PATH setting or start Tomcat directly using:
prompt> $CATALINA_HOME/bin/catalina.sh start
It would probably be useful to look at that startup script as well,
to understand the role of various environment variables...
HTH!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


Re: problem with installing tomcat in linux

2005-04-11 Thread Paul Puschmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> yes i did exported those env variables.
> but still i am getting the following error
> 
> Cannot find ./catalina.sh
> This file is needed to run this program
> 
>   I have even checked for the file permission mode.
> and also tried these commands
>#dos2unix startup.sh ...
>  Still i am not getting.
> 
can't you get a packaged version from your linux distribution?

(SuSE, Debian, ...)

Kind regards,

Paul

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (MingW32)

iEYEARECAAYFAkJaflEACgkQqErKtBWD7VTGgQCffu5VcknvuFOI2GDR6vF6ilge
3GwAoKW4iRneSxmDVzWQshgoWs5jJ14p
=BBAu
-END PGP SIGNATURE-


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



Re: problem with installing tomcat in linux

2005-04-11 Thread Shaik . ShabeenaImam
yes i did exported those env variables.
but still i am getting the following error

Cannot find ./catalina.sh
This file is needed to run this program

  I have even checked for the file permission mode.
and also tried these commands
   #dos2unix startup.sh ...
 Still i am not getting.
> hi,
>
> if errors occur when you try to start the server you have to set
> variable such as $CATALINA_HOME and $JAVA_HOME. I've do it adding in
> /etc/profile
> CATALINA_HOME=/path/to/bin
> JAVA_HOME=/path/to/jdkXX
> export CATALINA JAVA_HOME
>
> and it works 
>
>
> [EMAIL PROTECTED] wrote:
>
>>hi,
>>  I have a problem with installing tomcat in linux.
>>i am getting the following error
>>
>> The BASEDIR environment variable is not defined
>> This environment variable is needed to run this program
>>can anybody help me out.
>>   thanx in advance,
>> shabeena
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: problem with installing tomcat in linux

2005-04-11 Thread Cédric Buschini
hi,
if errors occur when you try to start the server you have to set 
variable such as $CATALINA_HOME and $JAVA_HOME. I've do it adding in 
/etc/profile
CATALINA_HOME=/path/to/bin
JAVA_HOME=/path/to/jdkXX
export CATALINA JAVA_HOME

and it works 
[EMAIL PROTECTED] wrote:
hi,
 I have a problem with installing tomcat in linux.
i am getting the following error
The BASEDIR environment variable is not defined
This environment variable is needed to run this program
can anybody help me out.
  thanx in advance,
shabeena
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

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


RE: problem with installing tomcat in linux

2005-04-11 Thread Sir John Nueva
Did you set up CATALINA_HOME pointing to the tomcat folder?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 6:30 PM
To: tomcat-user@jakarta.apache.org
Subject: problem with installing tomcat in linux


hi,
  I have a problem with installing tomcat in linux.
i am getting the following error

 The BASEDIR environment variable is not defined
 This environment variable is needed to run this program
can anybody help me out.
   thanx in advance,
 shabeena


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




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



problem with installing tomcat in linux

2005-04-11 Thread Shaik . ShabeenaImam
hi,
  I have a problem with installing tomcat in linux.
i am getting the following error

 The BASEDIR environment variable is not defined
 This environment variable is needed to run this program
can anybody help me out.
   thanx in advance,
 shabeena


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



Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-31 Thread Mladen Turk
Lakshmi Narayanan K. wrote:
Hi Mladen,
Now, my question is, can I roll out only this executable as that of
Tomcat version 5.0.28? Or do I need to roll out some other files as
well?
Sure you can. Tomcat5.exe and Tomcat5w.exe are not part of tomcat,
but rather jakarta-commons/daemon project. The name of the binaries
are just mimicking the default service name, and that is Tomcat5.
So you can even for your use case rename them to:
OvTomcatA.exe and OvTomcatAw.exe and use:
'OvTomcatA.exe //US// --JvmSs 256'
So, simply replace the binaries on deployment, or use more recent
Tomcat distributions that has the newest binaries included.
I would suggest that you do that at first place.
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Lakshmi Narayanan K.
Hi Mladen,

I visited that site and took/downloaded version "Revision 1.4" of
tomcat5.exe where the comment says "Latest Tomcat5 and Tomcat5w
binaries. Fixes the environment and JvmMs and JvmMx parsing."

Then I issued the command "tomcat5 //US//OvTomcatA --JvmSs 256"

This was able to set the registry value of JvmSs to 256 correctly.

Now, my question is, can I roll out only this executable as that of
Tomcat version 5.0.28? Or do I need to roll out some other files as
well?

Please let me know. Thank you very much once again for your time, and
eagerly awaiting your reply.

- Lakshmi Narayanan K.


On Wed, 30 Mar 2005 17:39:43 +0200, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Lakshmi Narayanan K. wrote:
> >
> > Are you doing this from the tomcat5 binary from TC 5.0.30? I ask this
> > because we have already rolled out TC 5.0.28 onto production systems,
> > and if so, I cant roll out the newer TC 5.0.30 on them. :
> >
> 
> Use that one:
> http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/procrun/bin/
> 
> Click on the tomcat5.exe and select (HEAD: download).
> 
> If it does not work, then I have no clue what might be the problem,
> and is for sure related to your OS setup, rather then tomcat5.exe.
> 
> Regards,
> Mladen

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



Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Mladen Turk
Lakshmi Narayanan K. wrote:
Are you doing this from the tomcat5 binary from TC 5.0.30? I ask this
because we have already rolled out TC 5.0.28 onto production systems,
and if so, I cant roll out the newer TC 5.0.30 on them. :
Use that one:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/procrun/bin/
Click on the tomcat5.exe and select (HEAD: download).
If it does not work, then I have no clue what might be the problem,
and is for sure related to your OS setup, rather then tomcat5.exe.
Regards,
Mladen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Lakshmi Narayanan K.
Hi Mladen,

Thank you very very much for having replied to my query.

> > If there are many developers on this list, then
> > why aren't there any replies? :(
> 
> Well, I replied to you already, and I wrote the damn thing :).
> 

Please don't mistake my statement above. I only meant that there
weren't replies on how exactly to set those values without modifying
them in the registry.

> I can easily update any of those params from command line.
> For example:
> tomcat5 //US//Tomcat5 --JvmMs 256 --JvmMx 512
> Sets the params in the registry correctly (256 and 512).

Are you doing this from the tomcat5 binary from TC 5.0.30? I ask this
because we have already rolled out TC 5.0.28 onto production systems,
and if so, I cant roll out the newer TC 5.0.30 on them. :

The Tomcat product I am bundling is being installed using the
Administrator account on the Windows box. Are you saying that it is
possible that that account didnt have the permission to set those
values in the registry?

Many thanks once again for replying... and (once again :D) eagerly
awaiting your replies...

Regards,

- Lakshmi Narayanan K.



On Wed, 30 Mar 2005 16:27:07 +0200, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Lakshmi Narayanan K. wrote:
> >
> > If there are many developers on this list, then
> > why aren't there any replies? :(
> 
> Well, I replied to you already, and I wrote the damn thing :).
> 
> >
> > So, as usual, your replies are eagerly awaited...
> >
> 
> Try to use the tomcat5.exe from 5.0.30 or better from 5.5.8.
> I have not tried the version from 5.0.28 for quite some
> time, but AFAICT they are the same.
> 
> I can easily update any of those params from command line.
> For example:
> tomcat5 //US//Tomcat5 --JvmMs 256 --JvmMx 512
> Sets the params in the registry correctly (256 and 512).
> The values passed to JVM are -Xms256m and -Xmx512m.
> 
> Only problem that can be is that the account you are using
> has no administrative privilege.
> 
> Regards,
> Mladen.

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



Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Mladen Turk
Lakshmi Narayanan K. wrote:
If there are many developers on this list, then
why aren't there any replies? :(
Well, I replied to you already, and I wrote the damn thing :).
So, as usual, your replies are eagerly awaited...
Try to use the tomcat5.exe from 5.0.30 or better from 5.5.8.
I have not tried the version from 5.0.28 for quite some
time, but AFAICT they are the same.
I can easily update any of those params from command line.
For example:
tomcat5 //US//Tomcat5 --JvmMs 256 --JvmMx 512
Sets the params in the registry correctly (256 and 512).
The values passed to JVM are -Xms256m and -Xmx512m.
Only problem that can be is that the account you are using
has no administrative privilege.
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Lakshmi Narayanan K.
Hi QM,

Thanks for your reply. If there are many developers on this list, then
why aren't there any replies? :( I've tested this problem on all my
available windows boxes, and the value always gets set to 0. Can
somebody else try this out and see if they too are getting the same
behavior?

I am really hard-pressed to find a more elegant solution (which would
be to use the tomcat5 executable provided by Tomcat) rather than
modify those registry values by hand.

So, as usual, your replies are eagerly awaited...

Warm Regards,

- Lakshmi Narayanan K.



On Wed, 30 Mar 2005 06:16:50 -0600, QM <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 30, 2005 at 10:02:50AM +0530, Lakshmi Narayanan K. wrote:
> : No replies yet??? :(
> : Is it possible that this is a possible bug in the tomcat5.exe
> : executable? Can this thread be forwarded to the other mailing list,
> : the tomcat-developers one???
> 
> Rest assured, there are several developers on this list.
> 
> If you really think you've found a bug, wrap it up in a test case and
> file a Bugzilla report.
> 
> -QM

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



Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread QM
On Wed, Mar 30, 2005 at 10:02:50AM +0530, Lakshmi Narayanan K. wrote:
: No replies yet??? :(
: Is it possible that this is a possible bug in the tomcat5.exe
: executable? Can this thread be forwarded to the other mailing list,
: the tomcat-developers one???

Rest assured, there are several developers on this list.

If you really think you've found a bug, wrap it up in a test case and
file a Bugzilla report.

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-29 Thread Lakshmi Narayanan K.
No replies yet??? :(
Is it possible that this is a possible bug in the tomcat5.exe
executable? Can this thread be forwarded to the other mailing list,
the tomcat-developers one???

Eagerly awaiting your replies...

-- 
Warm Regards,

Lakshmi Narayanan K.
" When the buying stops, the killing can too! "

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




Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-26 Thread Lakshmi Narayanan K.
Hi Mladen,

Thanks for your suggestion. I had actually tried setting the values in
the manner you have suggested, but like I had already mentioned, the
values always get set to 0 in the registry. Of course, I haven't tried
setting them individually, so I shall try that when I get back to
office, but my gut feeling is even that wont help.

Thanks once again.

Regards,

- Lakshmi Narayanan K.


On Sat, 26 Mar 2005 12:59:59 +0100, Mladen Turk <[EMAIL PROTECTED]> wrote:
> Lakshmi Narayanan K. wrote:
> > Hi Jason,
> >
> > Thanks for your suggestion. I would like to modify the registry by
> > hand as a LAST resort only. Isn't there a way to do this via the
> > tocmat5 command line tool itself? If there isn't any, then of course,
> > I would have to do it by hand by modifying the registry. Please let me
> > know.
> >
> 
> You can do that by using Tomcat5.exe:
> tomcat5 //US// --JvmSs NNN
> tomcat5 //US// --JvmMs NNN
> tomcat5 //US// --JvmMx NNN
> etc...
> (Of course you can do that all in once)
> tomcat5 //US// --JvmSs NNN --JvmMs NNN --JvmMx NNN
> 
> If your service name is different then 'tomcat5' (mening that you
> used service.bat with non-default service name),
> you can either rename the tomcat5.exe to 'your_service_name.exe'
> or use: 'tomcat5 //US//your-service_name --JvmSS NNN'
> 
> Regards,
> Mladen.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Warm Regards,

Lakshmi Narayanan K.
" When the buying stops, the killing can too! "

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



Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-26 Thread Mladen Turk
Lakshmi Narayanan K. wrote:
Hi Jason,
Thanks for your suggestion. I would like to modify the registry by
hand as a LAST resort only. Isn't there a way to do this via the
tocmat5 command line tool itself? If there isn't any, then of course,
I would have to do it by hand by modifying the registry. Please let me
know.
You can do that by using Tomcat5.exe:
tomcat5 //US// --JvmSs NNN
tomcat5 //US// --JvmMs NNN
tomcat5 //US// --JvmMx NNN
etc...
(Of course you can do that all in once)
tomcat5 //US// --JvmSs NNN --JvmMs NNN --JvmMx NNN
If your service name is different then 'tomcat5' (mening that you
used service.bat with non-default service name),
you can either rename the tomcat5.exe to 'your_service_name.exe'
or use: 'tomcat5 //US//your-service_name --JvmSS NNN'
Regards,
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-26 Thread Lakshmi Narayanan K.
Hi Jason,

Thanks for your suggestion. I would like to modify the registry by
hand as a LAST resort only. Isn't there a way to do this via the
tocmat5 command line tool itself? If there isn't any, then of course,
I would have to do it by hand by modifying the registry. Please let me
know.

Thanks and Regards,

- Lakshmi Narayanan K.


On Fri, 25 Mar 2005 20:52:40 -0600, Jason Bainbridge
<[EMAIL PROTECTED]> wrote:
> On Sat, 26 Mar 2005 07:30:23 +0530, Lakshmi Narayanan K.
> <[EMAIL PROTECTED]> wrote:
> > Hello All,
> >
> > I am currently using Tomcat 5.0.28 coupled with JK2 connector to talk
> > to Apache 2.0.48.
> >
> > I am encountering a problem similar to as reported in the following link:
> > < http://issues.apache.org/bugzilla/show_bug.cgi?id=32063 >
> >
> > I am in a position where I *CANNOT* access the GUI based Tomcat
> > configurator for setting the values of JvmMx and JvmMx. So my only
> > way out is to use the tomcat command line utility to modify the Tomcat
> > parameters.
> >
> > However, on the same lines as both Sigal and Ilona have
> > faced (in the above mentioned bugzilla link), the values of JvmMs and
> > JvmMx that get set (as shown in the registry under
> > HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
> > 2.0\OvTomcatA\Parameters\Java) are always set to 0 irrespective of whatever
> > value i set.
> 
> Why don't you just set them via regedit? I'm not in front of any of my
> wrk boxes right now and I can't be bothered remoting in to get the
> entries you need to edit but it is pretty straight forward.
> 
> --
> Jason Bainbridge
> http://kde.org - [EMAIL PROTECTED]
> Personal Site - http://jasonbainbridge.com
> 


-- 
Warm Regards,

Lakshmi Narayanan K.
" When the buying stops, the killing can too! "

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



Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-25 Thread Jason Bainbridge
On Sat, 26 Mar 2005 07:30:23 +0530, Lakshmi Narayanan K.
<[EMAIL PROTECTED]> wrote:
> Hello All,
> 
> I am currently using Tomcat 5.0.28 coupled with JK2 connector to talk
> to Apache 2.0.48.
> 
> I am encountering a problem similar to as reported in the following link:
> < http://issues.apache.org/bugzilla/show_bug.cgi?id=32063 >
> 
> I am in a position where I *CANNOT* access the GUI based Tomcat
> configurator for setting the values of JvmMx and JvmMx. So my only
> way out is to use the tomcat command line utility to modify the Tomcat
> parameters.
> 
> However, on the same lines as both Sigal and Ilona have
> faced (in the above mentioned bugzilla link), the values of JvmMs and
> JvmMx that get set (as shown in the registry under
> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
> 2.0\OvTomcatA\Parameters\Java) are always set to 0 irrespective of whatever
> value i set.

Why don't you just set them via regedit? I'm not in front of any of my
wrk boxes right now and I can't be bothered remoting in to get the
entries you need to edit but it is pretty straight forward.

-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-25 Thread Lakshmi Narayanan K.
Hello All,

I am currently using Tomcat 5.0.28 coupled with JK2 connector to talk
to Apache 2.0.48.

I am encountering a problem similar to as reported in the following link:
< http://issues.apache.org/bugzilla/show_bug.cgi?id=32063 >

I am in a position where I *CANNOT* access the GUI based Tomcat
configurator for setting the values of JvmMx and JvmMx. So my only
way out is to use the tomcat command line utility to modify the Tomcat
parameters.

However, on the same lines as both Sigal and Ilona have
faced (in the above mentioned bugzilla link), the values of JvmMs and
JvmMx that get set (as shown in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
2.0\OvTomcatA\Parameters\Java) are always set to 0 irrespective of whatever
value i set.

I even tried to manually execute the following but to no avail (I am
installing Tomcat service as OvTomcatA):
tomcat5.exe //US//OvTomcatA --JvmMs 256 --JvmMx 512

I desperately need to fix this problem. Is there any way out for me to
set these values manually using the tomcat5 command line tool??

I must say here that when trying to set via the GUI based Tomcat
configurator, the values of JvmMs and JvmMx get set as expected.

Eagerly awaiting your reply,

Warm Regards,

- Lakshmi Narayanan K.

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



RE: Installing tomcat (help)

2005-03-15 Thread Caldarale, Charles R
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Subject: Re: Installing tomcat (help)
> 
> the exe
> 
> On Tue, 2005-03-15 at 11:56, brian wrote:
> > One binary is an exe, one is tar.gz, one is a zip, another is
> > Deployer. Which one is the installation file for windows ?

Although the .exe is a true Windows installer, I much prefer using the .zip 
package, especially for the installation of a new level.  It provides the 
scripts to run from a command prompt, which I find to be much easier than 
running Tomcat as a service during the shakedown and tuning phase.  Once you're 
happy with your setup, you can use the service.bat script to create a service, 
if you wish.

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installing tomcat (help)

2005-03-15 Thread Ben Souther
the exe

On Tue, 2005-03-15 at 11:56, brian wrote:
> Below is the tomcat installation files for download and have
> pasted the contents of README packaging information.
> 
> One binary is an exe, one is tar.gz, one is a zip, another is
> Deployer. Which one is the installation file for windows ?
> 
> The .exe is the Tomcat Setup wizard. Is this the windows
> version ?
> 
> --
> 5.0.28 
>  Binary 
>   README (contains packaging information) 
>   5.0.28 exe 
>  [md5] [pgp] 
>   5.0.28 tar.gz 
>  [md5] [pgp] 
>   5.0.28 zip 
>  [md5] [pgp] 
>   5.0.28 Deployer tar.gz 
>  [md5] [pgp] 
>   5.0.28 Deployer zip 
>  [md5] [pgp] 
>   5.0.28 Embed tar.gz 
>  [md5] [pgp] 
>   5.0.28 Embed zip 
>  [md5] [pgp] 
> --
> Apache Tomcat 5.0.28
> 
> Useful references: 
> 
> Release notes, with important information about known issues 
> Changelog 
> Status 
> 
> NOTE: The tar files in this distribution use GNU tar
> extensions, and must be untarred with a GNU compatible
> version of tar. The version of tar on Solaris and Mac OS X
> will not work with these files.
> 
> Thank you for using Tomcat!. 
> -
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Installing tomcat (help)

2005-03-15 Thread brian
Below is the tomcat installation files for download and have
pasted the contents of README packaging information.

One binary is an exe, one is tar.gz, one is a zip, another is
Deployer. Which one is the installation file for windows ?

The .exe is the Tomcat Setup wizard. Is this the windows
version ?

--
5.0.28 
 Binary 
  README (contains packaging information) 
  5.0.28 exe 
 [md5] [pgp] 
  5.0.28 tar.gz 
 [md5] [pgp] 
  5.0.28 zip 
 [md5] [pgp] 
  5.0.28 Deployer tar.gz 
 [md5] [pgp] 
  5.0.28 Deployer zip 
 [md5] [pgp] 
  5.0.28 Embed tar.gz 
 [md5] [pgp] 
  5.0.28 Embed zip 
 [md5] [pgp] 
--
Apache Tomcat 5.0.28

Useful references: 

Release notes, with important information about known issues 
Changelog 
Status 

NOTE: The tar files in this distribution use GNU tar
extensions, and must be untarred with a GNU compatible
version of tar. The version of tar on Solaris and Mac OS X
will not work with these files.

Thank you for using Tomcat!. 
-


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

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



AW: installing tomcat 5.5.4 with compat patch for jsdk 1.4.1

2004-11-23 Thread Timo . Roessner
thx yoav, 

it works now, and i think it would be a good idea to add the running.txt to
the .exe again

greetz



-Ursprüngliche Nachricht-
Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 23. November 2004 16:10
An: Tomcat Users List
Betreff: RE: installing tomcat 5.5.4 with compat patch for jsdk 1.4.1



Hi,

>--- quote
--
>
>Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires
>configuration to run on J2SE 1.4.  Make sure to read the "RUNNING.txt"
>file in this directory if you are using J2SE 1.4.
>
>-- end quote
---
>
>but there is no file Running.txt in the whole archive!

What distro did you install?  The .exe I suppose?  The .zip/.tar.gz ones
have RUNNING.txt.  You can also see it right from the source at
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-5/RUNNING.txt?rev=1.9&v
iew=log among other areas.  But we should probably add it back into the
.exe at some point, you have a good point there.

>Installing the compatibility package will add the following to the
list,
>which are
>needed when running on J2SE 1.4:
>* jmx.jar (Java Management Extensions API 1.2 or later)
>* xercesImpl.jar (Xerces XML Parser, version 2.6.2 or later)
>
>-endquote-
>
>ok, so i copied the jmx.jar and the xercesimpl.jar into the directory
>%Tomcat_home%/shared/lib  and tried to start tomcat, but got the
following
>error message:

Why shared/lib? ;)  As noted in RUNNING.txt the place for the XML impl
is common/endorsed, and for the JMX jar it's the bin directory.

Yoav Shapira http://www.yoavshapira.com



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



RE: installing tomcat 5.5.4 with compat patch for jsdk 1.4.1

2004-11-23 Thread Shapira, Yoav

Hi,

>--- quote
--
>
>Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires
>configuration to run on J2SE 1.4.  Make sure to read the "RUNNING.txt"
>file in this directory if you are using J2SE 1.4.
>
>-- end quote
---
>
>but there is no file Running.txt in the whole archive!

What distro did you install?  The .exe I suppose?  The .zip/.tar.gz ones
have RUNNING.txt.  You can also see it right from the source at
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-5/RUNNING.txt?rev=1.9&v
iew=log among other areas.  But we should probably add it back into the
.exe at some point, you have a good point there.

>Installing the compatibility package will add the following to the
list,
>which are
>needed when running on J2SE 1.4:
>* jmx.jar (Java Management Extensions API 1.2 or later)
>* xercesImpl.jar (Xerces XML Parser, version 2.6.2 or later)
>
>-endquote-
>
>ok, so i copied the jmx.jar and the xercesimpl.jar into the directory
>%Tomcat_home%/shared/lib  and tried to start tomcat, but got the
following
>error message:

Why shared/lib? ;)  As noted in RUNNING.txt the place for the XML impl
is common/endorsed, and for the JMX jar it's the bin directory.

Yoav Shapira http://www.yoavshapira.com



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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



installing tomcat 5.5.4 with compat patch for jsdk 1.4.1

2004-11-23 Thread Timo . Roessner

hi, 

i am having problem installing tomcat 5.5.4, i am forced to use
jsdk 1.4.2 so i tried to install the jakarta-tomcat-5.5.4-compat patch, 
but this wont work. 
What i did: 
- i installed tomcat 5.5.4
- i followed the guidelines which were the depicted in the Release-Notes,
but:
  
  in the release note they say:
--- quote --

Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires
configuration to run on J2SE 1.4.  Make sure to read the "RUNNING.txt" 
file in this directory if you are using J2SE 1.4.

-- end quote ---

but there is no file Running.txt in the whole archive!

and then:

- quote ---

Installing the compatibility package will add the following to the list,
which are
needed when running on J2SE 1.4:
* jmx.jar (Java Management Extensions API 1.2 or later)
* xercesImpl.jar (Xerces XML Parser, version 2.6.2 or later)

-endquote-

ok, so i copied the jmx.jar and the xercesimpl.jar into the directory 
%Tomcat_home%/shared/lib  and tried to start tomcat, but got the following
error message:

This release of Apache Tomcat was packaged to run on J2SE 5.0 
or later. It can be run on earlier JVMs by downloading and 
installing a compatibility package from the Apache Tomcat 
binary download page.


why wont this work? has anybody made the same experience?

thanks for your help in advance, timo

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



Re: Installing Tomcat on MacOSX Server 10.3.5

2004-09-15 Thread Tim Funk
HTH .. http://wiki.apache.org/jakarta-tomcat/TomcatOnMacOS
-Tim
Lorenzo Medici wrote:
Hi List
I try to install tomcat (V. 4.1.24) on a macosx Server 10.3.5.
The installation seems to finish without any errors, but i'm not able to
start tomcat. I searched in the net about this topic and it seems i'm not
alone, but i did not find any solution. Can somebody help me?
Any suggestions?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Installing Tomcat on MacOSX Server 10.3.5

2004-09-15 Thread Lorenzo Medici
Hi Joel
No i didn't receive any error. I have a installation on macosx 10.3.2 (not
server) and there it runs fine.
But i encountered now that osx server contains a tomcat. (hmmm...) I will
search how to bring up and start this. When i know more i will post my
knowledge...

Best regards
Lorenzo
 


Am 15.9.2004 11:55 Uhr schrieb "Joel" unter <[EMAIL PROTECTED]>:

> On Wed, 15 Sep 2004 11:17:09 +0200
> Lorenzo Medici <[EMAIL PROTECTED]> wrote
> 
>> Hi List
>> 
>> I try to install tomcat (V. 4.1.24) on a macosx Server 10.3.5.
>> The installation seems to finish without any errors, but i'm not able to
>> start tomcat. I searched in the net about this topic and it seems i'm not
>> alone, but i did not find any solution. Can somebody help me?
>> Any suggestions?
> 
> Get any error messages when you tried to start? Checked the logs? Have
> you done this on an earlier version of Mac OS X or with an earlier
> version of Tomcat so you could tell us what's different?

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Projektmanagement Medici AG
Maihofstrasse 63 / 6006 Luzern / Switzerland
tel: +41 414220133  fax: +41 414220131
web: www.pm-medici.ch
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


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



Re: Installing Tomcat on MacOSX Server 10.3.5

2004-09-15 Thread Joel
On Wed, 15 Sep 2004 11:17:09 +0200
Lorenzo Medici <[EMAIL PROTECTED]> wrote

> Hi List
> 
> I try to install tomcat (V. 4.1.24) on a macosx Server 10.3.5.
> The installation seems to finish without any errors, but i'm not able to
> start tomcat. I searched in the net about this topic and it seems i'm not
> alone, but i did not find any solution. Can somebody help me?
> Any suggestions?

Get any error messages when you tried to start? Checked the logs? Have
you done this on an earlier version of Mac OS X or with an earlier
version of Tomcat so you could tell us what's different?

-- 
Joel <[EMAIL PROTECTED]>


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



Installing Tomcat on MacOSX Server 10.3.5

2004-09-15 Thread Lorenzo Medici
Hi List

I try to install tomcat (V. 4.1.24) on a macosx Server 10.3.5.
The installation seems to finish without any errors, but i'm not able to
start tomcat. I searched in the net about this topic and it seems i'm not
alone, but i did not find any solution. Can somebody help me?
Any suggestions?

Best thanks 

Lorenzo


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



RE: installing tomcat 4.1.27 on linux

2004-08-13 Thread Shapira, Yoav
Hi,
You can find RPM distros for Tomcat on JPackage.com -- they do a good
job.  They use a standard Linux layout.

Or you can download the Tomcat .zip or .tar.gz distributions and unpack
them yourself.  Obviously the .exe distro is for Windows only.  These
distributions use a standard Tomcat structure.  This will result in your
getting more support on the mailing list and in general.  So both
approaches have advantages.

As others have said, Tomcat is a Java product.  The only native parts,
which are therefore different on Linux from Windows, are some of the web
server connectors e.g. mod_jk, and the daemon invocation mechanism (jsvc
on unix, procrun on windows).

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Stephen Charles Huey [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 12, 2004 6:14 PM
>To: Tomcat User
>Subject: installing tomcat 4.1.27 on linux
>
>We're moving Tomcat over to a Linux box, and we're under pressure to
get
>it done as quickly as possible and put it into production right away
>even though none of us knows Linux all that well beyond me using
Solaris
>back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
>and I don't see that available here:
>
>http://jakarta.apache.org/site/binindex.cgi
>
>However, in searching around, I found this, and I'm wondering if this
is
>the right thing for me to be using:
>
>http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1
.27-
>63.i586.html
>
>I've heard about RPM only in the last day or so when looking around for
>utilities for Linux.  I'll probably want the RPM version for Tomcat,
>right?  This page talks about RPM:
>
>http://www.rpm.org/
>
>But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
>is installing Red Hat across town and I'm just doing my homework so I'm
>ready to roll when he's done with all the things he has to do on his
>end).
>
>Thanks,
>Stephen
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: installing tomcat 4.1.27 on linux

2004-08-13 Thread Chong Yu Meng
I've written a kind of quick start guide that hopefully will be useful 
to you. You can find it here : http://cymulacrum.net. Just scroll down 
and look for the Tomcat 4 on Linux link. I'm currently updating my 
Tomcat 5 write-up with help from some volunteers. I've stopped updating 
my Tomcat 4 write-up, so if you find anything there that doesn't work, 
please post to this mailing list.

Regards,
pascal chong
Stephen Charles Huey wrote:
Sounds good to me!  Usually when we move Tomcat to a new Windows
machine, we just use that same executable zip
(jakarta-tomcat-4.1.27.exe) to install Tomcat on the new machine, and
then copy over our directories from the original machine to replace the
Tomcat directory that got created.  I know this might be a really dumb
question, but will that .exe file run and install everything on the
Linux box, or will I have to use jakarta-tomcat-4.1.27.zip and extract
everything?  It's all slowly and hazily making sense...I hope...on Red
Hat I won't have to "install" it quite as "much" as Windows which needs
to put things into the registries, etc, right?  So I just extract it and
put some kind of symbolic link to the Tomcat executable in usr/local/bin
or something like that, huh?  But will that be enough to mimic the
functionality we usually have, since typically on Windows we run it as a
service?  Sorry for my rambling...
- Original message -
From: "Robert F. Hall" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Thu, 12 Aug 2004 15:21:24 -0700
Subject: Re: installing tomcat 4.1.27 on linux
Howdy,
Tomcat is written in Java and is OS independent, you don't need a linux 
specific install.
We have the same Tomcat install running on Solaris, Linux, and Windoze.

-Robert
Stephen Charles Huey wrote:
 

We're moving Tomcat over to a Linux box, and we're under pressure to get
it done as quickly as possible and put it into production right away
even though none of us knows Linux all that well beyond me using Solaris
back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
and I don't see that available here:
http://jakarta.apache.org/site/binindex.cgi
However, in searching around, I found this, and I'm wondering if this is
the right thing for me to be using:
http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1.27-63.i586.html
I've heard about RPM only in the last day or so when looking around for
utilities for Linux.  I'll probably want the RPM version for Tomcat,
right?  This page talks about RPM:
http://www.rpm.org/
But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
is installing Red Hat across town and I'm just doing my homework so I'm
ready to roll when he's done with all the things he has to do on his
end).  

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

   


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

 


--
===
Pascal Chong
email: [EMAIL PROTECTED]
web: http://cymulacrum.net
/"\
\ / ASCII ribbon campaign
X  against HTML mail 
/ \ and postings

===

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


Re: installing tomcat 4.1.27 on linux

2004-08-12 Thread QM
On Thu, Aug 12, 2004 at 05:31:59PM -0500, Stephen Charles Huey wrote:
: But will that be enough to mimic the
: functionality we usually have, since typically on Windows we run it as a
: service?  Sorry for my rambling...

There are some none-too-subtle nuances between the platforms.

You'll have to write some sort of init script to kick off the service at
boot.  Look into commons-daemon (the Linux-native portion is called
jsvc, check the Tomcat website) or Erni (brandxdev.net) to do the trick.

Also, if this is your company's first Linux machine (and in production,
no less) you'd do well to check other things besides the Tomcat
install... =)

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: installing tomcat 4.1.27 on linux

2004-08-12 Thread Filip Hanik - Dev
only one way to find outGET TO WORK ;)


- Original Message - 
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 5:31 PM
Subject: Re: installing tomcat 4.1.27 on linux


Sounds good to me!  Usually when we move Tomcat to a new Windows
machine, we just use that same executable zip
(jakarta-tomcat-4.1.27.exe) to install Tomcat on the new machine, and
then copy over our directories from the original machine to replace the
Tomcat directory that got created.  I know this might be a really dumb
question, but will that .exe file run and install everything on the
Linux box, or will I have to use jakarta-tomcat-4.1.27.zip and extract
everything?  It's all slowly and hazily making sense...I hope...on Red
Hat I won't have to "install" it quite as "much" as Windows which needs
to put things into the registries, etc, right?  So I just extract it and
put some kind of symbolic link to the Tomcat executable in usr/local/bin
or something like that, huh?  But will that be enough to mimic the
functionality we usually have, since typically on Windows we run it as a
service?  Sorry for my rambling...


- Original message -
From: "Robert F. Hall" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Thu, 12 Aug 2004 15:21:24 -0700
Subject: Re: installing tomcat 4.1.27 on linux

Howdy,

Tomcat is written in Java and is OS independent, you don't need a linux 
specific install.
We have the same Tomcat install running on Solaris, Linux, and Windoze.

-Robert

Stephen Charles Huey wrote:

>We're moving Tomcat over to a Linux box, and we're under pressure to get
>it done as quickly as possible and put it into production right away
>even though none of us knows Linux all that well beyond me using Solaris
>back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
>and I don't see that available here:
>
>http://jakarta.apache.org/site/binindex.cgi
>
>However, in searching around, I found this, and I'm wondering if this is
>the right thing for me to be using:
>
>http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1.27-63.i586.html
>
>I've heard about RPM only in the last day or so when looking around for
>utilities for Linux.  I'll probably want the RPM version for Tomcat,
>right?  This page talks about RPM:
>
>http://www.rpm.org/
>
>But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
>is installing Red Hat across town and I'm just doing my homework so I'm
>ready to roll when he's done with all the things he has to do on his
>end).  
>
>Thanks,
>Stephen
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


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


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

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



Re: installing tomcat 4.1.27 on linux

2004-08-12 Thread QM
On Thu, Aug 12, 2004 at 05:31:59PM -0500, Stephen Charles Huey wrote:
: I know this might be a really dumb
: question, but will that .exe file run and install everything on the
: Linux box, or will I have to use jakarta-tomcat-4.1.27.zip and extract
: everything?

What about zipping up the contents of your Windows Tomcat install and
copying that over to the Linux box?

Sounds like black magic, yes; but Tomcat is all Java and so is the code
it runs.  As long as your developers haven't put anything OS-specific in
their app (say, hard directory paths or JNI) then it should work like a
charm.  Just run the ".sh" files instead of ".bat."

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: installing tomcat 4.1.27 on linux

2004-08-12 Thread Stephen Charles Huey
Sounds good to me!  Usually when we move Tomcat to a new Windows
machine, we just use that same executable zip
(jakarta-tomcat-4.1.27.exe) to install Tomcat on the new machine, and
then copy over our directories from the original machine to replace the
Tomcat directory that got created.  I know this might be a really dumb
question, but will that .exe file run and install everything on the
Linux box, or will I have to use jakarta-tomcat-4.1.27.zip and extract
everything?  It's all slowly and hazily making sense...I hope...on Red
Hat I won't have to "install" it quite as "much" as Windows which needs
to put things into the registries, etc, right?  So I just extract it and
put some kind of symbolic link to the Tomcat executable in usr/local/bin
or something like that, huh?  But will that be enough to mimic the
functionality we usually have, since typically on Windows we run it as a
service?  Sorry for my rambling...


- Original message -
From: "Robert F. Hall" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Thu, 12 Aug 2004 15:21:24 -0700
Subject: Re: installing tomcat 4.1.27 on linux

Howdy,

Tomcat is written in Java and is OS independent, you don't need a linux 
specific install.
We have the same Tomcat install running on Solaris, Linux, and Windoze.

-Robert

Stephen Charles Huey wrote:

>We're moving Tomcat over to a Linux box, and we're under pressure to get
>it done as quickly as possible and put it into production right away
>even though none of us knows Linux all that well beyond me using Solaris
>back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
>and I don't see that available here:
>
>http://jakarta.apache.org/site/binindex.cgi
>
>However, in searching around, I found this, and I'm wondering if this is
>the right thing for me to be using:
>
>http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1.27-63.i586.html
>
>I've heard about RPM only in the last day or so when looking around for
>utilities for Linux.  I'll probably want the RPM version for Tomcat,
>right?  This page talks about RPM:
>
>http://www.rpm.org/
>
>But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
>is installing Red Hat across town and I'm just doing my homework so I'm
>ready to roll when he's done with all the things he has to do on his
>end).  
>
>Thanks,
>Stephen
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


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


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



RE: installing tomcat 4.1.27 on linux

2004-08-12 Thread Mark Thomas
> -Original Message-
> From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 12, 2004 11:14 PM
> To: Tomcat User
> Subject: installing tomcat 4.1.27 on linux
> 
> We're moving Tomcat over to a Linux box, and we're under 
> pressure to get
> it done as quickly as possible and put it into production right away
> even though none of us knows Linux all that well beyond me 
> using Solaris
> back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
> and I don't see that available here:
> 
> http://jakarta.apache.org/site/binindex.cgi

If your really want 4.1.27 you want
http://archive.apache.org/dist/jakarta/tomcat-4/tomcat-4.1.27.tar.gz

Why not use 4.1.30 or even 5.0.27?

> 
> However, in searching around, I found this, and I'm wondering 
> if this is
> the right thing for me to be using:
> 
> http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-t
> omcat-4.1.27-63.i586.html
> 

AFAIK RPM is an alternative packaging format. It is the same code just packaged
differently and after install it tends to be organised on disk differently as
well.

> I've heard about RPM only in the last day or so when looking 
> around for
> utilities for Linux.  I'll probably want the RPM version for Tomcat,
> right?  This page talks about RPM:
> 
> http://www.rpm.org/
> 
> But I'm wondering if it comes with Red Hat 8 (I can't tell 
> yet--my boss
> is installing Red Hat across town and I'm just doing my 
> homework so I'm
> ready to roll when he's done with all the things he has to do on his
> end).  
> 
> Thanks,
> Stephen
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



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



Re: installing tomcat 4.1.27 on linux

2004-08-12 Thread Robert F. Hall
Howdy,
Tomcat is written in Java and is OS independent, you don't need a linux 
specific install.
We have the same Tomcat install running on Solaris, Linux, and Windoze.

-Robert
Stephen Charles Huey wrote:
We're moving Tomcat over to a Linux box, and we're under pressure to get
it done as quickly as possible and put it into production right away
even though none of us knows Linux all that well beyond me using Solaris
back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
and I don't see that available here:
http://jakarta.apache.org/site/binindex.cgi
However, in searching around, I found this, and I'm wondering if this is
the right thing for me to be using:
http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1.27-63.i586.html
I've heard about RPM only in the last day or so when looking around for
utilities for Linux.  I'll probably want the RPM version for Tomcat,
right?  This page talks about RPM:
http://www.rpm.org/
But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
is installing Red Hat across town and I'm just doing my homework so I'm
ready to roll when he's done with all the things he has to do on his
end).  

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


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


Re: installing tomcat 4.1.27 on linux

2004-08-12 Thread Filip Hanik - Dev
why use an RPM, when all you have to do is to unzip the binary distribution, and boom 
it is installed and the files are in a
controlled structure, you can add the daemon scripts yourself


Filip

- Original Message -
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 5:14 PM
Subject: installing tomcat 4.1.27 on linux


We're moving Tomcat over to a Linux box, and we're under pressure to get
it done as quickly as possible and put it into production right away
even though none of us knows Linux all that well beyond me using Solaris
back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
and I don't see that available here:

http://jakarta.apache.org/site/binindex.cgi

However, in searching around, I found this, and I'm wondering if this is
the right thing for me to be using:

http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1.27-63.i586.html

I've heard about RPM only in the last day or so when looking around for
utilities for Linux.  I'll probably want the RPM version for Tomcat,
right?  This page talks about RPM:

http://www.rpm.org/

But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
is installing Red Hat across town and I'm just doing my homework so I'm
ready to roll when he's done with all the things he has to do on his
end).

Thanks,
Stephen

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


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



installing tomcat 4.1.27 on linux

2004-08-12 Thread Stephen Charles Huey
We're moving Tomcat over to a Linux box, and we're under pressure to get
it done as quickly as possible and put it into production right away
even though none of us knows Linux all that well beyond me using Solaris
back in my school days!  So, I'm looking for Tomcat 4.1.27 for Linux,
and I don't see that available here:

http://jakarta.apache.org/site/binindex.cgi

However, in searching around, I found this, and I'm wondering if this is
the right thing for me to be using:

http://rpmfind.net/linux/RPM/suse/9.0/i386/suse/i586/jakarta-tomcat-4.1.27-63.i586.html

I've heard about RPM only in the last day or so when looking around for
utilities for Linux.  I'll probably want the RPM version for Tomcat,
right?  This page talks about RPM:

http://www.rpm.org/

But I'm wondering if it comes with Red Hat 8 (I can't tell yet--my boss
is installing Red Hat across town and I'm just doing my homework so I'm
ready to roll when he's done with all the things he has to do on his
end).  

Thanks,
Stephen

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



Re: Installing tomcat 5 on BSD 5

2004-02-13 Thread Ronald Klop
The native JDK 1.4 is doing very well (and is fast) on FreeBSD. If you have the 
time to compile it I would suggest you try that one.
I'm using it a lot, without problems.
See also the [EMAIL PROTECTED] for more info about this.

Greetings,

Ronald.

On Thu Feb 12 13:50:41 CET 2004 Thomas Cherry <[EMAIL PROTECTED]> wrote:



Do you know which versions of java are required for each of the
versions of Tomcat (3, 4, 5)? Specifically, which will run under
1.1.8? Upgrading my java is not a trivial task, I will have to compile
my own copy of jdk.
--
It is pointless to resist. - Darth Vader, Sith Lord
On Feb 12, 2004, at 7:43 AM, Arnab Chakravarty wrote:

Bad major version numbers are result of classes compiled on 2 different
version of jdk.
Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
up).
Arnab C

-Original Message-
From: Thomas Cherry [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 5:42 PM
To: Tomcat Users List
Subject: Installing tomcat 5 on BSD 5
I'm trying to install tomcat onto a new FreeBSD system but I am getting

an error when I try to start the server. After modifying
setclasspath.sh to output more information and to use classes.zip, I
ran catalina.sh and got the following output:
# ./catalina.sh run
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.18/temp
Using JAVA_HOME: /usr/local/jdk1.1.8
Using CLASSPATH:
/usr/local/jdk1.1.8/lib/classes.zip:/usr/local/jakarta-tomcat-5.0.18/
bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.18/bin/commons-logging-
api.jar
Error loading class org.apache.catalina.startup.Bootstrap: Bad major
version number
My java version is 1.1.8. Will Tomcat 5 run under this version of
java? (I'm starting to think no)
--
The ability to destroy a planet is insignificant next to the power of
the Force. -Darth Vader, Sith Lord.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Installing tomcat 5 on BSD 5

2004-02-12 Thread jerome moliere

> Bad major version numbers are result of classes compiled on 2 different
> version of jdk.
>
yes you're
> Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
> up).
>
humm I guess that freebsd doesn't have a 1.4 JVM yet...
so I'll suggest to recompile Tomcat on your machine (using the complete
package or CVS code)
HTH
Jerome
-- 
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.eyrolles.com/php.informatique/Ouvrages/ouvrage.php3?ouv_ean13=9782212111941


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



Re: Installing tomcat 5 on BSD 5

2004-02-12 Thread Thomas Cherry
Do you know which versions of java are required for each of the 
versions of Tomcat (3, 4, 5)?  Specifically, which will run under 
1.1.8?  Upgrading my java is not a trivial task, I will have to compile 
my own copy of jdk.

--
It is pointless to resist. - Darth Vader, Sith Lord
On Feb 12, 2004, at 7:43 AM, Arnab Chakravarty wrote:

Bad major version numbers are result of classes compiled on 2 different
version of jdk.
Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
up).
Arnab C

-Original Message-
From: Thomas Cherry [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 5:42 PM
To: Tomcat Users List
Subject: Installing tomcat 5 on BSD 5
I'm trying to install tomcat onto a new FreeBSD system but I am getting

an error when I try to start the server.  After modifying
setclasspath.sh to output more information and to use classes.zip, I
ran catalina.sh and got the following output:
# ./catalina.sh run
Using CATALINA_BASE:   /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_HOME:   /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.18/temp
Using JAVA_HOME:   /usr/local/jdk1.1.8
Using CLASSPATH:
/usr/local/jdk1.1.8/lib/classes.zip:/usr/local/jakarta-tomcat-5.0.18/
bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.18/bin/commons-logging-
api.jar
Error loading class org.apache.catalina.startup.Bootstrap: Bad major
version number
My java version is 1.1.8.  Will Tomcat 5 run under this version of
java? (I'm starting to think no)
--
The ability to destroy a planet is insignificant next to the power of
the Force. -Darth Vader, Sith Lord.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


RE: Installing tomcat 5 on BSD 5

2004-02-12 Thread Arnab Chakravarty
Bad major version numbers are result of classes compiled on 2 different
version of jdk.

Please upgrade you jvm and then see if it helps (preferable jdk1.4 and
up).

Arnab C


-Original Message-
From: Thomas Cherry [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 5:42 PM
To: Tomcat Users List
Subject: Installing tomcat 5 on BSD 5


I'm trying to install tomcat onto a new FreeBSD system but I am getting

an error when I try to start the server.  After modifying  
setclasspath.sh to output more information and to use classes.zip, I  
ran catalina.sh and got the following output:

# ./catalina.sh run
Using CATALINA_BASE:   /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_HOME:   /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.18/temp
Using JAVA_HOME:   /usr/local/jdk1.1.8
Using CLASSPATH:
/usr/local/jdk1.1.8/lib/classes.zip:/usr/local/jakarta-tomcat-5.0.18/ 
bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.18/bin/commons-logging- 
api.jar
Error loading class org.apache.catalina.startup.Bootstrap: Bad major  
version number

My java version is 1.1.8.  Will Tomcat 5 run under this version of  
java? (I'm starting to think no)

--
The ability to destroy a planet is insignificant next to the power of  
the Force. -Darth Vader, Sith Lord.


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


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



Installing tomcat 5 on BSD 5

2004-02-12 Thread Thomas Cherry
I'm trying to install tomcat onto a new FreeBSD system but I am getting  
an error when I try to start the server.  After modifying  
setclasspath.sh to output more information and to use classes.zip, I  
ran catalina.sh and got the following output:

# ./catalina.sh run
Using CATALINA_BASE:   /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_HOME:   /usr/local/jakarta-tomcat-5.0.18
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.18/temp
Using JAVA_HOME:   /usr/local/jdk1.1.8
Using CLASSPATH:
/usr/local/jdk1.1.8/lib/classes.zip:/usr/local/jakarta-tomcat-5.0.18/ 
bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.18/bin/commons-logging- 
api.jar
Error loading class org.apache.catalina.startup.Bootstrap: Bad major  
version number

My java version is 1.1.8.  Will Tomcat 5 run under this version of  
java? (I'm starting to think no)

--
The ability to destroy a planet is insignificant next to the power of  
the Force. -Darth Vader, Sith Lord.

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


Re: Installing Tomcat 5 from JPackage

2004-02-05 Thread David Smith
It was my impression that the Tomcat available from JPackage was built with 
JDK 1.3.  If it was built with 1.4, it wouldn't need all those 
dependencies.  I avoid it for that reason.  Once up on a time, rpms were 
available from the jakarta site.  I used them with at most one or two other 
packages to install and loved it.  Upgrading was extremely easy.  The stuff 
available from JPackage requires too many dependant packages for my taste.

--David

At 07:15 AM 2/5/2004 +0100, you wrote:
Vitor Buitoni wrote:

To be able to install tomcat rpm package, you must install a lot of other 
packages that tomcat depends on, first.
I already did this once, and for me it was very time consuming and it 
wasn't easy at all. This is because JPackager can't provide some packages 
as binary packages, because of copyright restrictions. So you have to 
download the "nosrc" rpm from jpackage, download the source code from the 
software site (e.g. java.sun.com) and build the rpm from the scratch. 
Then you can install this rpm.
The whole process might be very painful, at least for me it was, since i 
had to learn something about the rpm creation process. :-)
Yup! It is a pain
So, the REAL question is :
- Does anybody know the advantage of installing a tomcat rpm package??
You get (or should get) a neatly setup Tomcat, with all startup scripts in 
place, non-root user, etc. I know, you can do it yourself, on foot, but it 
is time consuming and error prone. Not to mention that you might forget or 
decline to do some part of setup.

I have 14 DEC Alpha systems running Tru64 UNIX and, although I can just do 
a default install to "/usr/local", I compile and package everything into 
it's own SETLD packages. It make maintainince, upgrade, installation and 
finding my way around MUCH easier.

So, when I make a package, I concentrate on that task alone and build in 
all functionality that I can into it. Imagine a user breathing down your 
neck, needing some functionality (new version of Sendmail or some such) 
and you sitting at the terminal, trying to build, install and configure 
everything. With packages, it is far less frustrating.

Nix.

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


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


Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Nikola Milutinovic
Vitor Buitoni wrote:

To be able to install tomcat rpm package, you must install a lot of 
other packages that tomcat depends on, first.
I already did this once, and for me it was very time consuming and it 
wasn't easy at all. This is because JPackager can't provide some 
packages as binary packages, because of copyright restrictions. So you 
have to download the "nosrc" rpm from jpackage, download the source code 
from the software site (e.g. java.sun.com) and build the rpm from the 
scratch. Then you can install this rpm.
The whole process might be very painful, at least for me it was, since i 
had to learn something about the rpm creation process. :-)
Yup! It is a pain
So, the REAL question is :
- Does anybody know the advantage of installing a tomcat rpm package??
You get (or should get) a neatly setup Tomcat, with all startup scripts in 
place, non-root user, etc. I know, you can do it yourself, on foot, but it is 
time consuming and error prone. Not to mention that you might forget or decline 
to do some part of setup.

I have 14 DEC Alpha systems running Tru64 UNIX and, although I can just do a 
default install to "/usr/local", I compile and package everything into it's own 
SETLD packages. It make maintainince, upgrade, installation and finding my way 
around MUCH easier.

So, when I make a package, I concentrate on that task alone and build in all 
functionality that I can into it. Imagine a user breathing down your neck, 
needing some functionality (new version of Sendmail or some such) and you 
sitting at the terminal, trying to build, install and configure everything. With 
packages, it is far less frustrating.

Nix.

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


Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Joe Tseng
What I don't understand though is why doesn't someone just use the
compiled binary from jakarta.apache.org and make an RPM out of that; that
way there would be no preexisting dependencies (unless I'm totally naive
on that point).  In any case I did get help about this topic and I came
away with the same feeling that it just may not be worth using the RPM.

However I'm afraid of configuring my httpd for mod_jk2 but I don't have
time for that right now and so that'll be a nag for another time.  Thx for
the input.


> Then i really can't see what's the point of installing the rpm.
>
> You can run tomcatd as a service without installing the rpm. You just
> have to put a script to initialize tomcat inside the /etc/init.d folder.
> We do this here and it works fine.
>
> It seems that the benefits are only a few, and not really very important.
>
> Vitor
>
> Yiannis Mavroukakis wrote:
>
>>The only advantage is that tomcat is installed as a "service" i.e.
>>you do a /sbin/service tomcat start or whatever the rpm has in mind..
>>Plus permissions and directory location.
>>But apart from that, I would personally never choose the rpm installation
>>over the tarball. The perceived benefits aren't that important for me to
>>mess around installing whatever else is required by the package
>>definition..
>>
>>Yiannis

-- 
Joe Tseng

"To announce that there must be no criticism of the President, or that we
are to stand by the President right or wrong, is not only unpatriotic and
servile, but is morally treasonable to the American public."

--President Theodore Roosevelt

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



Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Vitor Buitoni
Then i really can't see what's the point of installing the rpm.

You can run tomcatd as a service without installing the rpm. You just 
have to put a script to initialize tomcat inside the /etc/init.d folder.
We do this here and it works fine.

It seems that the benefits are only a few, and not really very important.

Vitor

Yiannis Mavroukakis wrote:

The only advantage is that tomcat is installed as a "service" i.e.
you do a /sbin/service tomcat start or whatever the rpm has in mind..
Plus permissions and directory location.
But apart from that, I would personally never choose the rpm installation 
over the tarball. The perceived benefits aren't that important for me to
mess around installing whatever else is required by the package definition..

Yiannis

-Original Message-
From: Vitor Buitoni [mailto:[EMAIL PROTECTED]
Sent: 04 February 2004 11:19
To: Tomcat Users List
Subject: Re: Installing Tomcat 5 from JPackage
To be able to install tomcat rpm package, you must install a lot of 
other packages that tomcat depends on, first.
I already did this once, and for me it was very time consuming and it 
wasn't easy at all. This is because JPackager can't provide some 
packages as binary packages, because of copyright restrictions. So you 
have to download the "nosrc" rpm from jpackage, download the source code 
from the software site (e.g. java.sun.com) and build the rpm from the 
scratch. Then you can install this rpm.
The whole process might be very painful, at least for me it was, since i 
had to learn something about the rpm creation process. :-)

So, the REAL question is :
- Does anybody know the advantage of installing a tomcat rpm package??
Joe Tseng wrote:

 

I recently installed Fedore Core 1 and was advised to install Tomcat 5
   

from JPackage using yum.  When I tried to install to do this I got an
 

error like this:

Resolving dependencies
...identicla dependency loop exceeded
package tomcat5 needs jaas (not provided)
package tomcat5 needs jaf >= 0:1.0.1 (not provided)
package tomcat5 needs javamail >= 0:1.3 (not provided)
package
[snip]
Any useful assistance in helping out a noob with installation is
   

appreciated.
 



   



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

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
 

--

*Vitor Buitoni*
/Programador - APC/
*DÍGITRO TECNOLOGIA*
*E-mail:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*Fone:* (0xx48) 281-7314 / (0xx48) 281-7000
*Fax:* (0xx48) 281-7000
*Site:* www.portaldigitro.com.br <http://www.portaldigitro.com.br>


RE: Installing Tomcat 5 from JPackage

2004-02-04 Thread Yiannis Mavroukakis

The only advantage is that tomcat is installed as a "service" i.e.
you do a /sbin/service tomcat start or whatever the rpm has in mind..
Plus permissions and directory location.
But apart from that, I would personally never choose the rpm installation 
over the tarball. The perceived benefits aren't that important for me to
mess around installing whatever else is required by the package definition..

Yiannis

-Original Message-
From: Vitor Buitoni [mailto:[EMAIL PROTECTED]
Sent: 04 February 2004 11:19
To: Tomcat Users List
Subject: Re: Installing Tomcat 5 from JPackage


To be able to install tomcat rpm package, you must install a lot of 
other packages that tomcat depends on, first.
I already did this once, and for me it was very time consuming and it 
wasn't easy at all. This is because JPackager can't provide some 
packages as binary packages, because of copyright restrictions. So you 
have to download the "nosrc" rpm from jpackage, download the source code 
from the software site (e.g. java.sun.com) and build the rpm from the 
scratch. Then you can install this rpm.
The whole process might be very painful, at least for me it was, since i 
had to learn something about the rpm creation process. :-)

So, the REAL question is :
- Does anybody know the advantage of installing a tomcat rpm package??


Joe Tseng wrote:

>I recently installed Fedore Core 1 and was advised to install Tomcat 5
>from JPackage using yum.  When I tried to install to do this I got an
>error like this:
>
>Resolving dependencies
>...identicla dependency loop exceeded
>package tomcat5 needs jaas (not provided)
>package tomcat5 needs jaf >= 0:1.0.1 (not provided)
>package tomcat5 needs javamail >= 0:1.3 (not provided)
>package
>[snip]
>
>Any useful assistance in helping out a noob with installation is
appreciated.
>
>  
>



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



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

Re: Installing Tomcat 5 from JPackage

2004-02-04 Thread Vitor Buitoni
To be able to install tomcat rpm package, you must install a lot of 
other packages that tomcat depends on, first.
I already did this once, and for me it was very time consuming and it 
wasn't easy at all. This is because JPackager can't provide some 
packages as binary packages, because of copyright restrictions. So you 
have to download the "nosrc" rpm from jpackage, download the source code 
from the software site (e.g. java.sun.com) and build the rpm from the 
scratch. Then you can install this rpm.
The whole process might be very painful, at least for me it was, since i 
had to learn something about the rpm creation process. :-)

So, the REAL question is :
- Does anybody know the advantage of installing a tomcat rpm package??
Joe Tseng wrote:

I recently installed Fedore Core 1 and was advised to install Tomcat 5
from JPackage using yum.  When I tried to install to do this I got an
error like this:
Resolving dependencies
...identicla dependency loop exceeded
package tomcat5 needs jaas (not provided)
package tomcat5 needs jaf >= 0:1.0.1 (not provided)
package tomcat5 needs javamail >= 0:1.3 (not provided)
package
[snip]
Any useful assistance in helping out a noob with installation is appreciated.

 



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


Installing Tomcat 5 from JPackage

2004-02-03 Thread Joe Tseng
I recently installed Fedore Core 1 and was advised to install Tomcat 5
from JPackage using yum.  When I tried to install to do this I got an
error like this:

Resolving dependencies
...identicla dependency loop exceeded
package tomcat5 needs jaas (not provided)
package tomcat5 needs jaf >= 0:1.0.1 (not provided)
package tomcat5 needs javamail >= 0:1.3 (not provided)
package
[snip]

Any useful assistance in helping out a noob with installation is appreciated.

-- 
Joe Tseng

"To announce that there must be no criticism of the President, or that we
are to stand by the President right or wrong, is not only unpatriotic and
servile, but is morally treasonable to the American public."

--President Theodore Roosevelt

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



installing tomcat

2004-01-16 Thread Priti Sawant
Hello
I followed the following steps to install tomcat on my machine.
1) http://jakarta.apache.org/site/binindex.cgi
2) click on 

Tomcat 5.0.16 KEYS 
   5.0.16 zip PGP MD5 (I clicked on 5.0.16) and after completion unzipped the files

3) the following folders are now installed under jakart-tomcat-5.0.16 folder

bin, common, conf, logs, server, webapps, work ; files are license, RUNNIN.txt, 
RELEASE.NOTES

i do not see the lib folder in which the "servlet.jar" exists. Infact none of the 
above folder has the .jar. Theres all servlet-default.jar under server-lib 
--folder.

Please let me know What step did i miss. I need to include "import javax.servlet.*" 
into my file. but with no lib folder it gives me an error

Thanking you

 


Sincerely, 
Priti Sawant 
(206) 852-0149 

www.geocities.com/sawantpriti
 


" It is possible to fail in many ways...while to succeed is possible only in one way. 
- Aristotle "




-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

Re: installing tomcat 5 on Linux

2004-01-08 Thread Nick
On Thu, 2004-01-08 at 05:28, Prince wrote:
> Hi
> 
> What are the steps for installing tomcat 5 on Linux
> 
> I have don ethese
> 
> Installed JDK
> untared everything from the Tomcat5 installation file to a tomcat5 directory
> 
> set the JAVA_HOME and CATALINA_HOME
> 
> when i give  the command  sh $CATALINA_HOME/bin/startup.sh
> the following messages getting
> 
> Using CATALINA_BASE:   /var/tomcat5
> Using CATALINA_HOME:   /var/tomcat5
> Using CATALINA_TMPDIR: /var/tomcat5/temp
> Using JAVA_HOME:   /usr/java/j2sdk1.4.2_03
> 
> but http://siteaddress:8080 is not giving the homepage

try http://localhost:8080

> 
> what could be the problem?
> 
> How can I run tomcat as root?

Don't! create a tomcat user/group and change the ownership of
/var/tomcat to that.

> 
> thanks in advance
> Prince
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Nick (Nix) Gray
Senior Systems Engineer
Bruzenak Inc.
(512) 331-7998

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



installing tomcat 5 on Linux

2004-01-08 Thread Prince
Hi

What are the steps for installing tomcat 5 on Linux

I have don ethese

Installed JDK
untared everything from the Tomcat5 installation file to a tomcat5 directory

set the JAVA_HOME and CATALINA_HOME

when i give  the command  sh $CATALINA_HOME/bin/startup.sh
the following messages getting

Using CATALINA_BASE:   /var/tomcat5
Using CATALINA_HOME:   /var/tomcat5
Using CATALINA_TMPDIR: /var/tomcat5/temp
Using JAVA_HOME:   /usr/java/j2sdk1.4.2_03

but http://siteaddress:8080 is not giving the homepage

what could be the problem?

How can I run tomcat as root?

thanks in advance
Prince






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



Installing Tomcat 5.0.12 from Source Error

2003-10-08 Thread Jason N Dang




Hi,

Actually, i fixed the other problem but then i ran into this problem.  Does
anyone know why there's a problem with the jakarta-tomcat-connectors?  See
build error below.

build-main:
 [echo] - Java-utils -
 [echo] -- puretls.present = ${puretls.present}
 [echo] -- jsse.present = true /usr/share/java/jsse-1.0.3/lib/jsse.jar
 [echo] -- commons-logging = true
 [echo] -- jmx = true /usr/share/java/mx4j-1.1.1/lib/mx4j-jmx.jar
 [echo] -- modeler = true /usr/share/java/commons-modeler-1.1
/commons-modeler.jar
 [echo] -- JDK14 = true
[javac] Compiling 72 source files to
/opt/tomcat/src/jakarta-tomcat-5/build/classes
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:106:
 package com.sun.net.ssl.internal.ssl does not exist
[javac] Security.addProvider (new
com.sun.net.ssl.internal.ssl.Provider());
[javac]
^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:122:
 package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.KeyManagerFactory kmf =
[javac]^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:123:
 package com.sun.net.ssl does not exist
[javac]
com.sun.net.ssl.KeyManagerFactory.getInstance(algorithm);
[javac]^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:133:
 package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.TrustManager[] tm = null;
[javac]^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:136:
 package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.TrustManagerFactory tmf =
[javac]^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:137:
 package com.sun.net.ssl does not exist
[javac]
com.sun.net.ssl.TrustManagerFactory.getInstance("SunX509");
[javac]^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:143:
 package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.SSLContext context =
[javac]^
[javac]
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:144:
 package com.sun.net.ssl does not exist
[javac]
com.sun.net.ssl.SSLContext.getInstance(protocol);
[javac]^
[javac] Note:
/opt/tomcat/src/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/threads/ThreadPool.java
 uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 8 errors

BUILD FAILED
file:/opt/tomcat/src/jakarta-tomcat-connectors/util/build.xml:67: Compile
failed; see the compiler error output for details.y


Any help is greatly appreciated,
Regards,

Jason Nhan Dang
IBM Storage Systems Technology Institute
phone: 1.408.256.7520
email:  [EMAIL PROTECTED]


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



RE: Errors installing tomcat 4.1.x on windows xp

2003-10-06 Thread Mercieca David
Nice one Tom - that did the trick - seems to be different to NT as I checked
my old box and am using the backslash there.

Thanks

David


-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2003 14:04
To: Tomcat Users List
Subject: Re: Errors installing tomcat 4.1.x on windows xp

What happens if CATALINA_HOME doesn't have the trailing slash?
The script generated CATALINA_TMPDIR has a double slash in it... Tomcat 
probably isn't generating the classpath properly.

Mercieca David wrote:
> I have been a tomcat user for a while and have no trouble installing it on
> NT machines.
> 
> However we have just moved over to Windows xp. I have just tried
installing
> version 4.1.27 and 4.1.24 and I get the error attached to this mail.
> 
> I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is
not
> happy either way.
> 
> btw..ANT version 1.5.x works fine on the same machine.
> 
> Anyone had similar issues? 
> 
> 
> C:\>cd %CATALINA_HOME%
> 
> C:\jakarta-tomcat-4.1.24>cd bin
> 
> C:\jakarta-tomcat-4.1.24\bin>catalina run
> Using CATALINA_BASE:   c:\jakarta-tomcat-4.1.24\
> Using CATALINA_HOME:   c:\jakarta-tomcat-4.1.24\
> Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp
> Using JAVA_HOME:   c:\j2sdk1.4.1
> "c:\j2sdk1.4.1\bin\java"
> Exception during startup processing
> java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
> at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
> sLoader.java:992)
> at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
> sLoader.java:857)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)
> 




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


This message and any files transmitted with it are confidential and intended solely 
for the use of 
the individual or entity to whom they are addressed.  If you have received this 
message in error 
please delete it and any files transmitted with it, after notifying [EMAIL PROTECTED]
Any opinions expressed in this message may be those of the author and not necessarily 
those of 
the company.  The company accepts no responsibility for the accuracy or completeness 
of any 
information contained herein.  This message is not intended to create legal relations 
between the 
company and the recipient.
Recipients should please note that messages sent via the Internet may be intercepted 
and that 
caution should therefore be exercised before dispatching to the company any 
confidential or 
sensitive information.

Mizuho International plc
Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090
Registered in England No. 1203696. Registered office as above. Authorised and 
regulated by the Financial 
Services Authority. A member of the London Stock Exchange. A member of Mizuho 
Financial Group headed 
by Mizuho Financial Group, Inc. 


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



Re: Errors installing tomcat 4.1.x on windows xp

2003-10-06 Thread Jon Wingfield
What happens if CATALINA_HOME doesn't have the trailing slash?
The script generated CATALINA_TMPDIR has a double slash in it... Tomcat 
probably isn't generating the classpath properly.

Mercieca David wrote:
I have been a tomcat user for a while and have no trouble installing it on
NT machines.
However we have just moved over to Windows xp. I have just tried installing
version 4.1.27 and 4.1.24 and I get the error attached to this mail.
I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is not
happy either way.
btw..ANT version 1.5.x works fine on the same machine.

Anyone had similar issues? 

C:\>cd %CATALINA_HOME%

C:\jakarta-tomcat-4.1.24>cd bin

C:\jakarta-tomcat-4.1.24\bin>catalina run
Using CATALINA_BASE:   c:\jakarta-tomcat-4.1.24\
Using CATALINA_HOME:   c:\jakarta-tomcat-4.1.24\
Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp
Using JAVA_HOME:   c:\j2sdk1.4.1
"c:\j2sdk1.4.1\bin\java"
Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:992)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:857)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)




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


Re: Errors installing tomcat 4.1.x on windows xp

2003-10-06 Thread m . das

Hi Mercieca,

I am running Tomcat 4.1.27 on XP..

Did u set JAVA_HOME before starting it..

you can also try running setClasspath.bat before starting tomcat.

And try using the cmd startup to start tomcat.

Regards
Mitul





   
   
  Mercieca David   
   
  <[EMAIL PROTECTED]  To: "'[EMAIL PROTECTED]'" <[EMAIL 
PROTECTED]> 
  uho-sc.com> cc:  
   
      Subject:  Errors installing tomcat 
4.1.x on windows xp  
  06/10/2003 13:36 
   
   
   
   
   
   
   
  Please respond to
   
  "Tomcat Users List"  
   
   
   
   
   




I have been a tomcat user for a while and have no trouble installing it on
NT machines.

However we have just moved over to Windows xp. I have just tried installing
version 4.1.27 and 4.1.24 and I get the error attached to this mail.

I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is
not
happy either way.

btw..ANT version 1.5.x works fine on the same machine.

Anyone had similar issues?


C:\>cd %CATALINA_HOME%

C:\jakarta-tomcat-4.1.24>cd bin

C:\jakarta-tomcat-4.1.24\bin>catalina run
Using CATALINA_BASE:   c:\jakarta-tomcat-4.1.24\
Using CATALINA_HOME:   c:\jakarta-tomcat-4.1.24\
Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp
Using JAVA_HOME:   c:\j2sdk1.4.1
"c:\j2sdk1.4.1\bin\java"
Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:992)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:857)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)









This message and any files transmitted with it are confidential and
intended solely for the use of
the individual or entity to whom they are addressed.  If you have received
this message in error
please delete it and any files transmitted with it, after notifying
[EMAIL PROTECTED]
Any opinions expressed in this message may be those of the author and not
necessarily those of
the company.  The company accepts no responsibility for the accuracy or
completeness of any
information contained herein.  This message is not intended to create legal
relations between the
company and the recipient.
Recipients should please note that messages sent via the Internet may be
intercepted and that
caution should therefore be exercised before dispatching to the company any
confidential or
sensitive information.

Mizuho International plc
Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090
Registered in England No. 1203696. Registered office as above. Authorised
and regulated by the Financial
Services Authority. A member of the London Stock Exchange. A member of
Mizuho Financial Group headed
by Mizuho Financial Group, Inc.






_
- End of message text 

This e-mail is intended only for the person to whom it is addressed.  If an
addressing or transmission error has misdirected this e-mail, please notify
the author by replying to this e-mail.  If you are not the intended
recipient you must not use, disclose, print or rely on this e-mail.

PricewaterhouseCoopers LLP is a limited liability partnership registered in
England with registered number OC303525.  The registered office of
PricewaterhouseCoopers LLP is 1 Embankment Place, London WC2N 6RH.  All
partners in Pri

Errors installing tomcat 4.1.x on windows xp

2003-10-06 Thread Mercieca David
I have been a tomcat user for a while and have no trouble installing it on
NT machines.

However we have just moved over to Windows xp. I have just tried installing
version 4.1.27 and 4.1.24 and I get the error attached to this mail.

I have java 1.4.1 and 1.4.2 installed and tried using both and Tomcat is not
happy either way.

btw..ANT version 1.5.x works fine on the same machine.

Anyone had similar issues? 


C:\>cd %CATALINA_HOME%

C:\jakarta-tomcat-4.1.24>cd bin

C:\jakarta-tomcat-4.1.24\bin>catalina run
Using CATALINA_BASE:   c:\jakarta-tomcat-4.1.24\
Using CATALINA_HOME:   c:\jakarta-tomcat-4.1.24\
Using CATALINA_TMPDIR: c:\jakarta-tomcat-4.1.24\\temp
Using JAVA_HOME:   c:\j2sdk1.4.1
"c:\j2sdk1.4.1\bin\java"
Exception during startup processing
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:992)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:857)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:176)









This message and any files transmitted with it are confidential and intended solely 
for the use of 
the individual or entity to whom they are addressed.  If you have received this 
message in error 
please delete it and any files transmitted with it, after notifying [EMAIL PROTECTED]
Any opinions expressed in this message may be those of the author and not necessarily 
those of 
the company.  The company accepts no responsibility for the accuracy or completeness 
of any 
information contained herein.  This message is not intended to create legal relations 
between the 
company and the recipient.
Recipients should please note that messages sent via the Internet may be intercepted 
and that 
caution should therefore be exercised before dispatching to the company any 
confidential or 
sensitive information.

Mizuho International plc
Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090
Registered in England No. 1203696. Registered office as above. Authorised and 
regulated by the Financial 
Services Authority. A member of the London Stock Exchange. A member of Mizuho 
Financial Group headed 
by Mizuho Financial Group, Inc. 



RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-10-02 Thread Dean Searle
I have found this to occur if JDK is not installed correctly. Try going to C:\Program 
Files\Java\j2re1.4.2_01\bin\client and see if there is a jvm.dll file there. If there 
is not then uninstall the JDK, delete the Java folder and reinstall. If the jvm.dll is 
there then uninstall the JDK and remove the Java folder and reinstall. Sometimes the 
dll's do not get registered correctly. Also in your Environment Variables make sure 
your path has this included: C:\j2sdk1.4.2_01\bin, well before any Tomcat path 
statements. Also make sure that the JAVA_HOME, TOMCAT_HOME and CATALINA_HOME are all 
under the system variables and not the user variables.

Keep in mind that your vesion of JDK will determine the correct syntax. 

Dean


-Original Message-
From:   Seth Rubin [mailto:[EMAIL PROTECTED]
Sent:   Thu 10/2/2003 12:06 AM
To: Tomcat Users List
Cc: 
Subject:    RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start
Am having the same problem myself on a WinXP Home box installing 4.1.27 .

I can start tomcat manually or from Start menu, but I get this in the event
log when I start it as a service:

"The LoadLibrary function failed for the following reason: The specified
module could not be found.
Could not load the Java Virtual Machine. "

I don't know why this is happening.  JAVA_HOME and CATALINA_HOME are set
correctly.  I'm using the service as configured by the installer.  Just to
be sure, I did chmod 777 on the j2sdk and jre java trees.  I'm stumped.  My
only guess is that there must be something funky with the local system
account that runs services, but I can't see what.

-- Seth


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





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



RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-10-01 Thread Seth Rubin
Am having the same problem myself on a WinXP Home box installing 4.1.27 .

I can start tomcat manually or from Start menu, but I get this in the event
log when I start it as a service:

"The LoadLibrary function failed for the following reason: The specified
module could not be found.
Could not load the Java Virtual Machine. "

I don't know why this is happening.  JAVA_HOME and CATALINA_HOME are set
correctly.  I'm using the service as configured by the installer.  Just to
be sure, I did chmod 777 on the j2sdk and jre java trees.  I'm stumped.  My
only guess is that there must be something funky with the local system
account that runs services, but I can't see what.

-- Seth


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



RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-08 Thread Goehring, Chuck Mr., RCI - San Diego
Tomcatters,

I spoke too soon on this.  Now (after rebooting) the Event Viewer shows an entry that 
the service started but I'm getting the following in stdout.log:

Bootstrap: Create Catalina server
org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
at org.apache.commons.digester.Digester.(Digester.java:352)
at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:280)
at org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:183)
at org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
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.BootstrapService.init(BootstrapService.java:231)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
... 12 more
Bootstrap: Starting service
Bootstrap: Service started

Any help would be appreciated
Chuck


-Original Message-
From: Goehring, Chuck Mr., RCI - San Diego 
Sent: Monday, September 08, 2003 11:24 AM
To: Tomcat Users List
Subject: RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't
start


To the next guy,

Found the problem here.  JAVA_HOME should be d:\j2sdk1.4.2_01 instead of what it is 
below.

Chuck

-Original Message-
From: Goehring, Chuck Mr., RCI - San Diego 
Sent: Friday, September 05, 2003 3:17 PM
To: [EMAIL PROTECTED]
Subject: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start


Tomcatters,

I'm having trouble getting tomcat installed as a Win2000 service.

Below is the command I'm using:
"%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat" 
"%JAVA_HOME%\jre\bin\server\jvm.dll" 
-Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar" 
-Djava.endorsed.dirs="%CATALINA_HOME%\bin;%CATALINA_HOME%\common\lib" 
-Dcatalina.home="%CATALINA_HOME%" -start org.apache.catalina.startup.BootstrapService 
-params start -stop org.apache.catalina.startup.BootstrapService -params stop -out 
"%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log"

It succeeds and produces registry entries that look the same as those created by the 
Tomcat installer.  When it tries to load, the following messages get logged to the 
event log:

  The LoadLibrary function failed for the following reason: The specified module could 
not be found.
  Could not load the Java Virtual Machine. 
  The Apache Tomcat service failed to start. 

There is nothing in any of tomcats logs.  The version info is as folowes:
  Win 2000 service pack 4
  Tomcat 4.1.24
  Java j2sdk1.4.2_01 (never used this new one before)

Environment(wrapped):
  CATALINA_HOME=f:\Tomcat4.1
  JAVA_HOME=d:\j2re1.4.2_01
  Path=F:\Tomcat4.1\bin;E:\perl\bin;E:\Apache2\bin;D:\j2sdk1.4.2_01\bin;C:\PROGRA~
  1\SIMSEX~1;c:\aux_bin;C:\Oracle\Ora81\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sy
  stem32\Wbem;C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BI
  N;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;"C:\
  Program Files\Symantec_Client_Security\Symantec AntiVirus"

If I start it with the startup.bat, it comes up fine.

Anyone have a suggestion?

Chuck





 

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


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


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



RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-08 Thread Goehring, Chuck Mr., RCI - San Diego
To the next guy,

Found the problem here.  JAVA_HOME should be d:\j2sdk1.4.2_01 instead of what it is 
below.

Chuck

-Original Message-
From: Goehring, Chuck Mr., RCI - San Diego 
Sent: Friday, September 05, 2003 3:17 PM
To: [EMAIL PROTECTED]
Subject: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start


Tomcatters,

I'm having trouble getting tomcat installed as a Win2000 service.

Below is the command I'm using:
"%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat" 
"%JAVA_HOME%\jre\bin\server\jvm.dll" 
-Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar" 
-Djava.endorsed.dirs="%CATALINA_HOME%\bin;%CATALINA_HOME%\common\lib" 
-Dcatalina.home="%CATALINA_HOME%" -start org.apache.catalina.startup.BootstrapService 
-params start -stop org.apache.catalina.startup.BootstrapService -params stop -out 
"%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log"

It succeeds and produces registry entries that look the same as those created by the 
Tomcat installer.  When it tries to load, the following messages get logged to the 
event log:

  The LoadLibrary function failed for the following reason: The specified module could 
not be found.
  Could not load the Java Virtual Machine. 
  The Apache Tomcat service failed to start. 

There is nothing in any of tomcats logs.  The version info is as folowes:
  Win 2000 service pack 4
  Tomcat 4.1.24
  Java j2sdk1.4.2_01 (never used this new one before)

Environment(wrapped):
  CATALINA_HOME=f:\Tomcat4.1
  JAVA_HOME=d:\j2re1.4.2_01
  Path=F:\Tomcat4.1\bin;E:\perl\bin;E:\Apache2\bin;D:\j2sdk1.4.2_01\bin;C:\PROGRA~
  1\SIMSEX~1;c:\aux_bin;C:\Oracle\Ora81\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sy
  stem32\Wbem;C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BI
  N;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;"C:\
  Program Files\Symantec_Client_Security\Symantec AntiVirus"

If I start it with the startup.bat, it comes up fine.

Anyone have a suggestion?

Chuck





 

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


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



RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-05 Thread John Corrigan
When installing as a service, the installation routine uses whatever
environment variables are set in the shell.

Once installed as a service Tomcat uses registry values, not environment
variables.

My two cents :)

-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 3:31 PM
To: Tomcat Users List
Subject: Re: Installing Tomcat 4.1.24 as a service on Win 2000 - won't
start


If you're starting things as a service, the
environment variables need to be defined at the system
level and not the user level.

HTH

/mde/
just my two cents . . . .


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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




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



Re: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-05 Thread Mark Eggers
If you're starting things as a service, the
environment variables need to be defined at the system
level and not the user level.

HTH

/mde/
just my two cents . . . .


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-05 Thread Goehring, Chuck Mr., RCI - San Diego
Tomcatters,

I'm having trouble getting tomcat installed as a Win2000 service.

Below is the command I'm using:
"%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat" 
"%JAVA_HOME%\jre\bin\server\jvm.dll" 
-Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar" 
-Djava.endorsed.dirs="%CATALINA_HOME%\bin;%CATALINA_HOME%\common\lib" 
-Dcatalina.home="%CATALINA_HOME%" -start org.apache.catalina.startup.BootstrapService 
-params start -stop org.apache.catalina.startup.BootstrapService -params stop -out 
"%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log"

It succeeds and produces registry entries that look the same as those created by the 
Tomcat installer.  When it tries to load, the following messages get logged to the 
event log:

  The LoadLibrary function failed for the following reason: The specified module could 
not be found.
  Could not load the Java Virtual Machine. 
  The Apache Tomcat service failed to start. 

There is nothing in any of tomcats logs.  The version info is as folowes:
  Win 2000 service pack 4
  Tomcat 4.1.24
  Java j2sdk1.4.2_01 (never used this new one before)

Environment(wrapped):
  CATALINA_HOME=f:\Tomcat4.1
  JAVA_HOME=d:\j2re1.4.2_01
  Path=F:\Tomcat4.1\bin;E:\perl\bin;E:\Apache2\bin;D:\j2sdk1.4.2_01\bin;C:\PROGRA~
  1\SIMSEX~1;c:\aux_bin;C:\Oracle\Ora81\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sy
  stem32\Wbem;C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BI
  N;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;"C:\
  Program Files\Symantec_Client_Security\Symantec AntiVirus"

If I start it with the startup.bat, it comes up fine.

Anyone have a suggestion?

Chuck





 

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



Re: Installing Tomcat as a Service

2003-08-21 Thread John Turner
Here you go:

Oscar's page should be all you need:

http://daydream.stanford.edu/tomcat/install_web_services.html

Check the bottom of the page for his tomcatd script.  Then use

/sbin/chkconfig --add tomcatd

to install it.

John

Stuart Stephen wrote:

I already have done the hard work of intergrating apache and tomcat together
in the desired way. I now need to install the services. Going to the RPM is
a backward step for me now. Ideally i'd like to understand how the services
are installed under the linux os now.
I'll still have to research it to get the Java applications started as
services.
-Original Message-
From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED]
Sent: 20 August 2003 15:02
To: Tomcat Users List
Subject: Re: Installing Tomcat as a Service
Hi,

Check this:

http://www.jpackage.org

They have the rpm version of tomcat, that will make all the hard work
for you.
Regards.


Manolo Ramirez T.
Stuart Stephen wrote:

Hi all,

How might I go about installing Tomcat as a service in RedHat 9.0. I've
never installed a service under linux manually before and I'm not sure
what

to do. I can't find the appropriate documentation in the manuals for
either

Tomcat or RedHat. I must be looking in the wrong places :O(

UNRELATED: Also, If I wanted to install a java program as a service, how
might I do this? Is this a similar process?
Regards,
Stuart


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




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


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


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


RE: Installing Tomcat as a Service

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
I use the following script on RedHat 7.3 (I save this as
/etc/rc.d/init.d/tomcat):

#!/bin/bash
#
# Startup script for the Tomcat Web Server
#
# chkconfig: 345 84 16
# description: Tomcat is a World Wide Web server.  It is used to serve \
#  HTML, JSP, and servlets, and CGI if needed.
# processname: java

case "$1" in
  start)
$CATALINA_HOME/bin/startup.sh
;;
  stop)
$CATALINA_HOME/bin/shutdown.sh
;;
  *)
echo $"Usage: tomcat {start|stop}"
exit 1
esac

exit 0

I then do the following with chkconfig:

chkconfig --add tomcat
chkconfig --level 345 tomcat on
chkconfig --list tomcat

If that still doesn't work, ensure that you've set CATALINA_HOME and
JAVA_HOME in /etc/profile.

Hope that helps,
Mike

-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 10:57 AM
To: Tomcat Users List
Subject: RE: Installing Tomcat as a Service


Thanks for the reply, I've tried creating a script in the /etc/init.d
directory and then running the chkconfig --add script-name and this hasn't
worked for me.

I'm getting an error saying that:
service service-name does not support chkconfig

I must still be doing something wrong?

The script has the same permissions showing in the ls -l list?

-Original Message-
From: Paul Yunusov [mailto:[EMAIL PROTECTED]
Sent: 20 August 2003 13:24
To: Tomcat Users List
Subject: Re: Installing Tomcat as a Service


On August 20, 2003 04:19 am, Stuart Stephen wrote:
> Hi all,
>
> How might I go about installing Tomcat as a service in RedHat 9.0. I've
> never installed a service under linux manually before and I'm not sure
what
> to do. I can't find the appropriate documentation in the manuals for
either
> Tomcat or RedHat. I must be looking in the wrong places :O(
>
> UNRELATED: Also, If I wanted to install a java program as a service, how
> might I do this? Is this a similar process?
>
> Regards,
> Stuart

man chkconfig
man serviceconf
man init

For a Java program, write a wrapper shell script like Tomcat authors did
with
catalina.sh.

Paul


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




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






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



Re: Installing Tomcat as a Service

2003-08-20 Thread Paul Yunusov
On August 20, 2003 10:56 am, Stuart Stephen wrote:
> Thanks for the reply, I've tried creating a script in the /etc/init.d
> directory and then running the chkconfig --add script-name and this hasn't
> worked for me.
>
> I'm getting an error saying that:
> service service-name does not support chkconfig
>
> I must still be doing something wrong?
>
> The script has the same permissions showing in the ls -l list?
>

It's not about permissions, it's about the format of the script. From the 
chkconfig man page:
-
RUNLEVEL FILES
   Each  service which should be manageable by chkconfig needs two or more 
commented lines added to its init.d
   script. The first line tells chkconfig what runlevels the service 
should be started in by default, as  well
   as  the start and stop priority levels. If the service should not, by 
default, be started in any runlevels,
   a - should be used in place of the runlevels list.  The second line 
contains a description for the service,
   and may be extended across multiple lines with backslash continuation.

   For example, random.init has these three lines:
   # chkconfig: 2345 20 80
   # description: Saves and restores system entropy pool for \
   #  higher quality random number generation.
   This says that the random script should be started in levels 2, 3, 4, 
and 5, that its start priority should
   be 20, and that its stop priority should be 80.  You should be able to  
figure  out  what  the  description
   says; the \ causes the line to be continued.  The extra space in front 
of the line is ignored.
-

Make sure your script has this line and ALL three numbers are present (read 
above to figure out what they are):
# chkconfig: 2345 20 80


Paul


> -Original Message-
> From: Paul Yunusov [mailto:[EMAIL PROTECTED]
> Sent: 20 August 2003 13:24
> To: Tomcat Users List
> Subject: Re: Installing Tomcat as a Service
>
> On August 20, 2003 04:19 am, Stuart Stephen wrote:
> > Hi all,
> >
> > How might I go about installing Tomcat as a service in RedHat 9.0. I've
> > never installed a service under linux manually before and I'm not sure
>
> what
>
> > to do. I can't find the appropriate documentation in the manuals for
>
> either
>
> > Tomcat or RedHat. I must be looking in the wrong places :O(
> >
> > UNRELATED: Also, If I wanted to install a java program as a service, how
> > might I do this? Is this a similar process?
> >
> > Regards,
> > Stuart
>
> man chkconfig
> man serviceconf
> man init
>
> For a Java program, write a wrapper shell script like Tomcat authors did
> with
> catalina.sh.
>
> Paul
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Installing Tomcat as a Service

2003-08-20 Thread Steph Richardson

Sounds like your problem can be easily solved by reading the manpage, as the previous 
email from Paul suggests.
man chkconfig
will tell you exactly why "service service-name does not support chkconfig"

The whole point of chkconfig is to manage the installing of the service for you ( e.g. 
symlinks to init.d/yourscript from different
run levels)
You need specially formatted comments in your scripts, starting with something like "# 
chkconfig : 2345 80 20" - the manpage has an
example.






> -Original Message-
> From: Stuart Stephen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 20, 2003 10:57 AM
> To: Tomcat Users List
> Subject: RE: Installing Tomcat as a Service
>
>
> Thanks for the reply, I've tried creating a script in the /etc/init.d
> directory and then running the chkconfig --add script-name and this hasn't
> worked for me.
>
> I'm getting an error saying that:
> service service-name does not support chkconfig
>
> I must still be doing something wrong?
>
> The script has the same permissions showing in the ls -l list?
>
> -Original Message-
> From: Paul Yunusov [mailto:[EMAIL PROTECTED]
> Sent: 20 August 2003 13:24
> To: Tomcat Users List
> Subject: Re: Installing Tomcat as a Service
>
>
> On August 20, 2003 04:19 am, Stuart Stephen wrote:
> > Hi all,
> >
> > How might I go about installing Tomcat as a service in RedHat 9.0. I've
> > never installed a service under linux manually before and I'm not sure
> what
> > to do. I can't find the appropriate documentation in the manuals for
> either
> > Tomcat or RedHat. I must be looking in the wrong places :O(
> >
> > UNRELATED: Also, If I wanted to install a java program as a service, how
> > might I do this? Is this a similar process?
> >
> > Regards,
> > Stuart
>
> man chkconfig
> man serviceconf
> man init
>
> For a Java program, write a wrapper shell script like Tomcat authors did
> with
> catalina.sh.
>
> Paul
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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



RE: Installing Tomcat as a Service

2003-08-20 Thread Steph Richardson
Sounds like your problem can be easily solved by reading the manpage, as the previous 
email from Paul suggests.
man chkconfig
will tell you exactly why "service service-name does not support chkconfig"
you need specially formatted comments starting with something like "# chkconfig : 2345 
80 20"




> -Original Message-
> From: Stuart Stephen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 20, 2003 10:57 AM
> To: Tomcat Users List
> Subject: RE: Installing Tomcat as a Service
> 
> 
> Thanks for the reply, I've tried creating a script in the /etc/init.d
> directory and then running the chkconfig --add script-name and this hasn't
> worked for me.
> 
> I'm getting an error saying that:
> service service-name does not support chkconfig
> 
> I must still be doing something wrong?
> 
> The script has the same permissions showing in the ls -l list?
> 
> -Original Message-
> From: Paul Yunusov [mailto:[EMAIL PROTECTED]
> Sent: 20 August 2003 13:24
> To: Tomcat Users List
> Subject: Re: Installing Tomcat as a Service
> 
> 
> On August 20, 2003 04:19 am, Stuart Stephen wrote:
> > Hi all,
> >
> > How might I go about installing Tomcat as a service in RedHat 9.0. I've
> > never installed a service under linux manually before and I'm not sure
> what
> > to do. I can't find the appropriate documentation in the manuals for
> either
> > Tomcat or RedHat. I must be looking in the wrong places :O(
> >
> > UNRELATED: Also, If I wanted to install a java program as a service, how
> > might I do this? Is this a similar process?
> >
> > Regards,
> > Stuart
> 
> man chkconfig
> man serviceconf
> man init
> 
> For a Java program, write a wrapper shell script like Tomcat authors did
> with
> catalina.sh.
> 
> Paul
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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



RE: Installing Tomcat as a Service

2003-08-20 Thread James Harman
Stuart,

You basically need to write a wrapper .sh script to
tart tomcat and put it into the init.d directory. The
init.d directory varies with the linux distro but
common places a /etc/init.d and /etc/rc.d/init.d. 
Then you need to create sym links to start/stop it on
the various run levels.  I refer you to your
documention on services under RedHat.

I believe that somebody mentioned that there is a
catalin.sh script that works as a service, so you may
not need to write one.

In most of the RedHat distros that I have used, there
is a script in the init.d directory named httpd that
takes care of stopping and starting apache as a
service.

I would look at the other scripts in init.d for
information on how to write one.

James

--- Stuart Stephen <[EMAIL PROTECTED]> wrote:
> I already have done the hard work of intergrating
> apache and tomcat together
> in the desired way. I now need to install the
> services. Going to the RPM is
> a backward step for me now. Ideally i'd like to
> understand how the services
> are installed under the linux os now.
> 
> I'll still have to research it to get the Java
> applications started as
> services.
> 
> -Original Message-
> From: Manolo Ramirez T.
> [mailto:[EMAIL PROTECTED]
> Sent: 20 August 2003 15:02
> To: Tomcat Users List
> Subject: Re: Installing Tomcat as a Service
> 
> 
> Hi,
> 
> Check this:
> 
> http://www.jpackage.org
> 
> They have the rpm version of tomcat, that will make
> all the hard work
> for you.
> 
> Regards.
> 
> ____
> Manolo Ramirez T.
> 
> Stuart Stephen wrote:
> > Hi all,
> >
> > How might I go about installing Tomcat as a
> service in RedHat 9.0. I've
> > never installed a service under linux manually
> before and I'm not sure
> what
> > to do. I can't find the appropriate documentation
> in the manuals for
> either
> > Tomcat or RedHat. I must be looking in the wrong
> places :O(
> >
> > UNRELATED: Also, If I wanted to install a java
> program as a service, how
> > might I do this? Is this a similar process?
> >
> > Regards,
> > Stuart
> >
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=
Choose the Sprite when the Coke is placed before you...

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



RE: Installing Tomcat as a Service

2003-08-20 Thread Stuart Stephen
Thanks for the reply, I've tried creating a script in the /etc/init.d
directory and then running the chkconfig --add script-name and this hasn't
worked for me.

I'm getting an error saying that:
service service-name does not support chkconfig

I must still be doing something wrong?

The script has the same permissions showing in the ls -l list?

-Original Message-
From: Paul Yunusov [mailto:[EMAIL PROTECTED]
Sent: 20 August 2003 13:24
To: Tomcat Users List
Subject: Re: Installing Tomcat as a Service


On August 20, 2003 04:19 am, Stuart Stephen wrote:
> Hi all,
>
> How might I go about installing Tomcat as a service in RedHat 9.0. I've
> never installed a service under linux manually before and I'm not sure
what
> to do. I can't find the appropriate documentation in the manuals for
either
> Tomcat or RedHat. I must be looking in the wrong places :O(
>
> UNRELATED: Also, If I wanted to install a java program as a service, how
> might I do this? Is this a similar process?
>
> Regards,
> Stuart

man chkconfig
man serviceconf
man init

For a Java program, write a wrapper shell script like Tomcat authors did
with
catalina.sh.

Paul


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




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



RE: Installing Tomcat as a Service

2003-08-20 Thread Stuart Stephen
I already have done the hard work of intergrating apache and tomcat together
in the desired way. I now need to install the services. Going to the RPM is
a backward step for me now. Ideally i'd like to understand how the services
are installed under the linux os now.

I'll still have to research it to get the Java applications started as
services.

-Original Message-
From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED]
Sent: 20 August 2003 15:02
To: Tomcat Users List
Subject: Re: Installing Tomcat as a Service


Hi,

Check this:

http://www.jpackage.org

They have the rpm version of tomcat, that will make all the hard work
for you.

Regards.


Manolo Ramirez T.

Stuart Stephen wrote:
> Hi all,
>
> How might I go about installing Tomcat as a service in RedHat 9.0. I've
> never installed a service under linux manually before and I'm not sure
what
> to do. I can't find the appropriate documentation in the manuals for
either
> Tomcat or RedHat. I must be looking in the wrong places :O(
>
> UNRELATED: Also, If I wanted to install a java program as a service, how
> might I do this? Is this a similar process?
>
> Regards,
> Stuart
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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




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



Re: Installing Tomcat as a Service

2003-08-20 Thread Manolo Ramirez T.
Hi,

Check this:

http://www.jpackage.org

They have the rpm version of tomcat, that will make all the hard work 
for you.

Regards.


Manolo Ramirez T.
Stuart Stephen wrote:
Hi all,

How might I go about installing Tomcat as a service in RedHat 9.0. I've
never installed a service under linux manually before and I'm not sure what
to do. I can't find the appropriate documentation in the manuals for either
Tomcat or RedHat. I must be looking in the wrong places :O(
UNRELATED: Also, If I wanted to install a java program as a service, how
might I do this? Is this a similar process?
Regards,
Stuart


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




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


Re: Installing Tomcat as a Service

2003-08-20 Thread Paul Yunusov
On August 20, 2003 04:19 am, Stuart Stephen wrote:
> Hi all,
>
> How might I go about installing Tomcat as a service in RedHat 9.0. I've
> never installed a service under linux manually before and I'm not sure what
> to do. I can't find the appropriate documentation in the manuals for either
> Tomcat or RedHat. I must be looking in the wrong places :O(
>
> UNRELATED: Also, If I wanted to install a java program as a service, how
> might I do this? Is this a similar process?
>
> Regards,
> Stuart

man chkconfig
man serviceconf
man init

For a Java program, write a wrapper shell script like Tomcat authors did with 
catalina.sh.

Paul


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



Installing Tomcat as a Service

2003-08-20 Thread Stuart Stephen
Hi all,

How might I go about installing Tomcat as a service in RedHat 9.0. I've
never installed a service under linux manually before and I'm not sure what
to do. I can't find the appropriate documentation in the manuals for either
Tomcat or RedHat. I must be looking in the wrong places :O(

UNRELATED: Also, If I wanted to install a java program as a service, how
might I do this? Is this a similar process?

Regards,
Stuart



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



Problem installing tomcat

2003-08-05 Thread batristain
Greetings,
I'm trying to install tomcat 4.1 on a redhat linux 8.1 box.  I'm having trouble
b/c I need to install a couple of programs first like
xerces-j-1.3.0-1.noarch.rpm but I can't install that until I get the jdk 1.2 kit
on the machine.  I've found the tar ball of the kit but it doesn't work even
when I followed instructions on how to set the varibles from redhat.  I'm hoping
to find an rpm but I haven't been able to - any suggestions?

Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156

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



Re: Installing Tomcat on solaris

2003-06-11 Thread Yoav Shapira
Howdy,
What errors are in the tomcat logs?

Yoav Shapira

--- Ozge Gundogdu <[EMAIL PROTECTED]> wrote:
> 
> 
> 
>  Hi;
>  I have been trying to install tomcat 4.0.4 on solaris 5.7. and set the
>  environment variables
>  JAVA_HOME=/usr/java1.2
>  CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.6
>  then I run tomcat with this command,
>  ./startup.sh
>  It gives normal response like that
>  
>  Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.6
>  Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.6
>  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.6/temp
>  Using JAVA_HOME: /usr/java1.2
>  
>  But when I did ps , I cannot see any instances of java running. and when I
>  run http://localhost:8080 it gives "page cannot be displayed " error.
>  
>  Thaks for your response!
>  
>  Ozge Gundogdu
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Yoav Shapira
[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



RE: Installing Tomcat on solaris

2003-06-11 Thread Wilson, Allen
Ozge

This happens if you do not start Tomcat as root. Tomcat will look like
it start if done by any other user but actually it did not start

Allen

-Original Message-
From: Ozge Gundogdu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2003 2:17 PM
To: Tomcat Users List
Subject: Installing Tomcat on solaris





Hi;
I have been trying to install tomcat 4.0.4 on solaris 5.7. and
set the
environment variables
JAVA_HOME=/usr/java1.2
CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.6
then I run tomcat with this command,
./startup.sh
It gives normal response like that

Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.6
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.6
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.6/temp
Using JAVA_HOME: /usr/java1.2

But when I did ps , I cannot see any instances of java running.
and when I
run http://localhost:8080 it gives "page cannot be displayed "
error.

Thaks for your response!

Ozge Gundogdu



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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

Installing Tomcat on solaris

2003-06-11 Thread Ozge Gundogdu



 Hi;
 I have been trying to install tomcat 4.0.4 on solaris 5.7. and set the
 environment variables
 JAVA_HOME=/usr/java1.2
 CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.6
 then I run tomcat with this command,
 ./startup.sh
 It gives normal response like that
 
 Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.0.6
 Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0.6
 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.6/temp
 Using JAVA_HOME: /usr/java1.2
 
 But when I did ps , I cannot see any instances of java running. and when I
 run http://localhost:8080 it gives "page cannot be displayed " error.
 
 Thaks for your response!
 
 Ozge Gundogdu



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



Re: installing Tomcat without being root

2003-06-03 Thread John Turner
On Mon, 2 Jun 2003 15:38:08 +0200, <[EMAIL PROTECTED]> wrote:

On Mon, 2 Jun 2003 09:44:07 +0200, <[EMAIL PROTECTED]> wrote:

Only root can bind a process to port 80.
Well, i dont see the point here (cause i'm a newbie), but i would like to
get this result:
1)An user contact www.myhost.com
2) the resolver asks to the DNS for that name, and the DNS answers with 
the
pair IP:PORT (ie www.myhost.com:8080)
It doesn't work like that.  DNS knows nothing about port numbers.  HTTP = 
80, HTTPS = 443, that's a browser thing, not a server thing.  If a user 
types "http://your.host.com"; in their browser, the browser is going to 
contact port 80...plain and simple and there's no changing it.

You'll need one of the following:  1) proxy, 2) port forwarding (like a 
proxy but could be done with something like SSH), 3) URL forwarding service 
(like zoneedit.com), or 4) a redirect like you've mentioned.

Ports under 1024 are reserved for security reasons.  Very good security 
reasons, and chances are the only people you will find who will disagree 
with the restrictions on ports less than 1024 will be newbies (also for 
good reason).

For example, how would you like it if just any user on a server could run a 
mail daemon on port 25?  Port 110, sniffing POP3 passwords from other 
users?  Etc. etc. ad nauseam.

In this way my TomCat, running at 8080, will be contacted at each 
request.
The actual solution (crappy) is to have an index.php file in my home
directory which redirect to www.myhost.com:8080.
If the former solution could be done, my question would be: how to do 
that ?
You'll need to use some sort of port forwarder or proxy.  Apache can do the 
proxying, but you'll need to be root to configure it and test the 
configuration (in which case the whole thing is moot because then you could 
start Tomcat as root on port 80), or you'll need to use something like SSH 
or iptables/ipchains (or some other package) to do the forwarding for you.  
Either way, you still need to be root.

You could just use an external forwarding service...zoneedit.com has one.

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: installing Tomcat without being root

2003-06-03 Thread Jason Bainbridge
On Mon, 2 Jun 2003 21:38, [EMAIL PROTECTED] wrote:
> > On Mon, 2 Jun 2003 09:44:07 +0200, <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > > thanks to your advice i had been able to install tomcat and run all my
> > > servlets, but I have still 2 problems:
> > >
> > > 1) Having   installed TomCat standalone as a non-root user, TomCat is
> > > reachable only at port 8080, while the DNS is set for the port 80,
> > > ie www.myhost.com:8080 works, but www.myhost.com dont. What should i do
> > > is
> > > this case?

You just need to use a port redirect service, as I have a dynamic IP I use a 
dynamic port redirection service, of which there are many, I use 
http://dyns.cx

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

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



Re: installing Tomcat without being root

2003-06-03 Thread kurtc
> On Mon, 2 Jun 2003 09:44:07 +0200, <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > thanks to your advice i had been able to install tomcat and run all my
> > servlets, but I have still 2 problems:
> >
> > 1) Having   installed TomCat standalone as a non-root user, TomCat is
> > reachable only at port 8080, while the DNS is set for the port 80,
> > ie www.myhost.com:8080 works, but www.myhost.com dont. What should i do
> > is
> > this case?
>
> Only root can bind a process to port 80.

Well, i dont see the point here (cause i'm a newbie), but i would like to
get this result:
1)An user contact www.myhost.com
2) the resolver asks to the DNS for that name, and the DNS answers with the
pair IP:PORT (ie www.myhost.com:8080)

In this way my TomCat, running at 8080, will be contacted at each request.
The actual solution (crappy) is to have an index.php file in my home
directory which redirect to www.myhost.com:8080.
If the former solution could be done, my question would be: how to do that ?

 > > 2) the Host inside (the Engine tag) has still the name "localhost", and
> > not
> > the name it should have www.myhost.com. It works all fine, either
> > browsing
> > the my site remotely and locally. I read through the documentation, and
i
> > did not find what is the difference between having it set to "localhost"
> > or
> > to the right host name ("www.myhost.com"). Any hint?
>
> The name is the name of the virtual host that Tomcat will respond to.  If
> it is "localhost" and Tomcat receives a request for "my.domain.com", then
> Tomcat will not serve it, or will serve it using the default Host and
> Context, which may or may not be what you want.  If you want Tomcat to
> respond to requests for "my.domain.com", then set up a Host container and
> use "my.domain.com" for the name parameter, just as it is done for
> "localhost".

Ok, so it is working in both cases because of the default host
configuration.

Many thanks!
Alex


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



Re: installing Tomcat without being root

2003-06-02 Thread John Turner
On Mon, 2 Jun 2003 09:44:07 +0200, <[EMAIL PROTECTED]> wrote:

Hello,
thanks to your advice i had been able to install tomcat and run all my
servlets, but I have still 2 problems:
1) Having   installed TomCat standalone as a non-root user, TomCat is
reachable only at port 8080, while the DNS is set for the port 80,
ie www.myhost.com:8080 works, but www.myhost.com dont. What should i do 
is
this case?
Only root can bind a process to port 80.

2) the Host inside (the Engine tag) has still the name "localhost", and 
not
the name it should have www.myhost.com. It works all fine, either 
browsing
the my site remotely and locally. I read through the documentation, and i
did not find what is the difference between having it set to "localhost" 
or
to the right host name ("www.myhost.com"). Any hint?
The name is the name of the virtual host that Tomcat will respond to.  If 
it is "localhost" and Tomcat receives a request for "my.domain.com", then 
Tomcat will not serve it, or will serve it using the default Host and 
Context, which may or may not be what you want.  If you want Tomcat to 
respond to requests for "my.domain.com", then set up a Host container and 
use "my.domain.com" for the name parameter, just as it is done for 
"localhost".

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: installing Tomcat without being root

2003-06-02 Thread kurtc
Hello,
thanks to your advice i had been able to install tomcat and run all my
servlets, but I have still 2 problems:

1) Having   installed TomCat standalone as a non-root user, TomCat is
reachable only at port 8080, while the DNS is set for the port 80,
ie www.myhost.com:8080 works, but www.myhost.com dont. What should i do is
this case?

2) the Host inside (the Engine tag) has still the name "localhost", and not
the name it should have www.myhost.com. It works all fine, either browsing
the my site remotely and locally. I read through the documentation, and i
did not find what is the difference between having it set to "localhost" or
to the right host name ("www.myhost.com"). Any hint?

Many thanks,
Alex

-Messaggio Originale-
Da: "Scott Reynolds" <[EMAIL PROTECTED]>
A: "Tomcat Users List" <[EMAIL PROTECTED]>
Data invio: domenica 1 giugno 2003 8.11
Oggetto: Re: installing Tomcat without being root


> Just download the .tar.gz (or the .zip) package, untar it into your home
> directory, and run it from there, giving you complete control.  As long as
you
> stick with the default port of 8080, you don't need any special privilages
to
> run it--That's what I do.
>
> Scott Reynolds
>
> --- [EMAIL PROTECTED] wrote:
> > Hello,
> > i would like to install TomCat 4.1.24 on a Linux server, and i'm not a
root
> > user.
> > Actually, the server administrator installed for me TomCat (from .rpm)
as
> > root user,
> > and then gave me the password for the user "tomcat4", but that is not
> > usefull at all, since
> > i need a complete control of the config files of tomcat, and i cannot
> > neither start it.
> > Now i would like to uninstall the current TomCat, and reinstalling it in
the
> > way i have complete control over TomCat.
> >
> > Which steps must i tell to the admin to follow, for installing correctly
> > TomCat for me?
> >
> > Greetings,
> > Alex
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: installing Tomcat without being root

2003-06-01 Thread kurtc
Ok, thanks. I wonder if this is possible to do also with the .rpm (instead
of .tar.gz)

Thanks in advance,
Alex

-Messaggio Originale-
Da: "Scott Reynolds" <[EMAIL PROTECTED]>
A: "Tomcat Users List" <[EMAIL PROTECTED]>
Data invio: domenica 1 giugno 2003 8.11
Oggetto: Re: installing Tomcat without being root


> Just download the .tar.gz (or the .zip) package, untar it into your home
> directory, and run it from there, giving you complete control.  As long as
you
> stick with the default port of 8080, you don't need any special privilages
to
> run it--That's what I do.
>
> Scott Reynolds
>
> --- [EMAIL PROTECTED] wrote:
> > Hello,
> > i would like to install TomCat 4.1.24 on a Linux server, and i'm not a
root
> > user.
> > Actually, the server administrator installed for me TomCat (from .rpm)
as
> > root user,
> > and then gave me the password for the user "tomcat4", but that is not
> > usefull at all, since
> > i need a complete control of the config files of tomcat, and i cannot
> > neither start it.
> > Now i would like to uninstall the current TomCat, and reinstalling it in
the
> > way i have complete control over TomCat.
> >
> > Which steps must i tell to the admin to follow, for installing correctly
> > TomCat for me?
> >
> > Greetings,
> > Alex
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



Re: installing Tomcat without being root

2003-06-01 Thread Scott Reynolds
Just download the .tar.gz (or the .zip) package, untar it into your home
directory, and run it from there, giving you complete control.  As long as you
stick with the default port of 8080, you don't need any special privilages to
run it--That's what I do.

Scott Reynolds

--- [EMAIL PROTECTED] wrote:
> Hello,
> i would like to install TomCat 4.1.24 on a Linux server, and i'm not a root
> user.
> Actually, the server administrator installed for me TomCat (from .rpm) as
> root user,
> and then gave me the password for the user "tomcat4", but that is not
> usefull at all, since
> i need a complete control of the config files of tomcat, and i cannot
> neither start it.
> Now i would like to uninstall the current TomCat, and reinstalling it in the
> way i have complete control over TomCat.
> 
> Which steps must i tell to the admin to follow, for installing correctly
> TomCat for me?
> 
> Greetings,
> Alex
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



Re: installing Tomcat without being root

2003-05-31 Thread kurtc
sudo means becoming root? err, that, not, is *not* possible :D

-Messaggio Originale-
Da: "electroteque" <[EMAIL PROTECTED]>
A: "Tomcat Users List" <[EMAIL PROTECTED]>
Data invio: sabato 31 maggio 2003 12.32
Oggetto: RE: installing Tomcat without being root


> i suggest get sudo access thats all i can say :|
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 31, 2003 6:16 PM
> To: [EMAIL PROTECTED]
> Subject: installing Tomcat without being root
>
>
> Hello,
> i would like to install TomCat 4.1.24 on a Linux server, and i'm not a
root
> user.
> Actually, the server administrator installed for me TomCat (from .rpm) as
> root user,
> and then gave me the password for the user "tomcat4", but that is not
> usefull at all, since
> i need a complete control of the config files of tomcat, and i cannot
> neither start it.
> Now i would like to uninstall the current TomCat, and reinstalling it in
the
> way i have complete control over TomCat.
>
> Which steps must i tell to the admin to follow, for installing correctly
> TomCat for me?
>
> Greetings,
> Alex
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



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



RE: installing Tomcat without being root

2003-05-31 Thread electroteque
i suggest get sudo access thats all i can say :|

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 6:16 PM
To: [EMAIL PROTECTED]
Subject: installing Tomcat without being root


Hello,
i would like to install TomCat 4.1.24 on a Linux server, and i'm not a root
user.
Actually, the server administrator installed for me TomCat (from .rpm) as
root user,
and then gave me the password for the user "tomcat4", but that is not
usefull at all, since
i need a complete control of the config files of tomcat, and i cannot
neither start it.
Now i would like to uninstall the current TomCat, and reinstalling it in the
way i have complete control over TomCat.

Which steps must i tell to the admin to follow, for installing correctly
TomCat for me?

Greetings,
Alex



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


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



installing Tomcat without being root

2003-05-31 Thread kurtc
Hello,
i would like to install TomCat 4.1.24 on a Linux server, and i'm not a root
user.
Actually, the server administrator installed for me TomCat (from .rpm) as
root user,
and then gave me the password for the user "tomcat4", but that is not
usefull at all, since
i need a complete control of the config files of tomcat, and i cannot
neither start it.
Now i would like to uninstall the current TomCat, and reinstalling it in the
way i have complete control over TomCat.

Which steps must i tell to the admin to follow, for installing correctly
TomCat for me?

Greetings,
Alex



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



Re: Installing Tomcat as a server on IIS

2003-03-12 Thread Konrad Rusz
Hello Herbert.

Which version of Tomcat have You installed Your W2K Advanced Server on. If
You have version 4.1.18 of Tomcat it should work smoothly (because service
'Apache Tomcat 4.1' is installing atomatically :-), but if You use older
version than 4.1.18 You must add service yourself. In version 4.1.12 I had
no problems with it. Maybe try to use one of those versions if You are not
using now.

Best regards,
Konrad Rusz



- Original Message -
From: "Herb Stelzer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Barbara Mayza" <[EMAIL PROTECTED]>; "Derek Moyer"
<[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 10:10 PM
Subject: Installing Tomcat as a server on IIS


To whom this may concern,

I am attempting to install Tomcat as a service on a Windows 2000 advanced
server. We have successfully created the service but when attempting to
start the service an error is thrown, ?

Could Not start the Spellchecker(our name for the Service) service on Local
Computer.

Error 1067: The process terminated unexpectedly.

We are using java sdk 1.2.2.

Below is the text written to the jvm.stderr file in the logs folder under
the jakarta folder.

Your help is greatly appreciated.

Herbert F. Stelzer III
Sungard Pentamation


java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:103)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:242)
at java.net.URLClassLoader.access$1(URLClassLoader.java:210)
at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:308)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:168)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
Exception in thread "main"


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



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



Installing Tomcat as a server on IIS

2003-03-12 Thread Herb Stelzer
To whom this may concern,

I am attempting to install Tomcat as a service on a Windows 2000 advanced server. We 
have successfully created the service but when attempting to start the service an 
error is thrown, ―

Could Not start the Spellchecker(our name for the Service) service on Local Computer.

Error 1067: The process terminated unexpectedly. 

We are using java sdk 1.2.2.

Below is the text written to the jvm.stderr file in the logs folder under the jakarta 
folder. 

Your help is greatly appreciated. 

Herbert F. Stelzer III
Sungard Pentamation


java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:103)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:242)
at java.net.URLClassLoader.access$1(URLClassLoader.java:210)
at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:308)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:168)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
Exception in thread "main" 


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



  1   2   3   4   >