owned by root

2009-06-29 Thread Melanie Pfefer

Hi

Any idea what makes web applications owned by root even though tomcat runs as a 
non-root user? (I have mod_jk installed and apache running as root)

Thank you,





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



invalid certificate

2009-05-06 Thread Melanie Pfefer

Hi,

I generated a new certificate according to 
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

First step:
keytool -genkey -alias tomcat -keyalg RSA -keystore /usr/local/tomcat/.keystore

Second step:

in servers.xml:

Connector protocol=org.apache.coyote.http11.Http11Protocol
   port=8443 minSpareThreads=5 maxSpareThreads=75
   enableLookups=true disableUploadTimeout=true
   acceptCount=100  maxThreads=200
   scheme=https secure=true SSLEnabled=true
   keystoreFile=/usr/local/tomcat/.keystore keystorePass=password
   clientAuth=false sslProtocol=TLS/


I am getting an error that the certificate is not valid when I access the https 
URL:

The error message is: uses an invalid security certificate


When I list the certificate:

Valid from: Wed May 06 11:52:13 MEST 2009 until: Tue Aug 04 11:52:13 MEST 2009

Can you please shed some light on this?

thanks





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



RE: invalid certificate

2009-05-06 Thread Melanie Pfefer

Hi Antonio,

So you mean this error cannot be fixed?
All self-signed certificates have this problem when a browser accesses the page 
using ssl?

thanks

--- On Wed, 6/5/09, Antonio Vidal Ferrer antonio.vi...@globalia-sistemas.com 
wrote:

 From: Antonio Vidal Ferrer antonio.vi...@globalia-sistemas.com
 Subject: RE: invalid certificate
 To: 'Tomcat Users List' users@tomcat.apache.org
 Date: Wednesday, 6 May, 2009, 1:37 PM
 Melanie:
 
 Your certificate is invalid, as your navigator does not
 know the Certificate Authority who issued your server
 certificate (In this case, you). It's not related to
 expiration dates. You can find nice guides (using openssl
 :(  ) here: http://www.tc.umn.edu/~brams006/selfsign.html  and
 here: http://marc.info/?l=tomcat-userm=106293430225790w=2
 that can help you to understand the process, and of course
 with the problem you are having
 
 Best,
 
 Toni
 
 
 
 
 
 -Original Message-
 From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
 
 Sent: miércoles, 06 de mayo de 2009 12:04
 To: users@tomcat.apache.org
 Subject: invalid certificate
 
 
 Hi,
 
 I generated a new certificate according to 
 http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
 
 First step:
 keytool -genkey -alias tomcat -keyalg RSA -keystore
 /usr/local/tomcat/.keystore
 
 Second step:
 
 in servers.xml:
 
 Connector
 protocol=org.apache.coyote.http11.Http11Protocol
            port=8443
 minSpareThreads=5 maxSpareThreads=75
        
    enableLookups=true
 disableUploadTimeout=true
        
    acceptCount=100  maxThreads=200
        
    scheme=https secure=true
 SSLEnabled=true
        
    keystoreFile=/usr/local/tomcat/.keystore
 keystorePass=password
        
    clientAuth=false sslProtocol=TLS/
 
 
 I am getting an error that the certificate is not valid
 when I access the https URL:
 
 The error message is: uses an invalid security certificate
 
 
 When I list the certificate:
 
 Valid from: Wed May 06 11:52:13 MEST 2009 until: Tue Aug 04
 11:52:13 MEST 2009
 
 Can you please shed some light on this?
 
 thanks
 
 
 
       
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 




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



redirection

2009-03-31 Thread Melanie Pfefer

Hello

I have a tomcat server running on port 8080.

users need to create a dns alias which is on port 80. redirection cannot be 
done on DNS level of course.

do you have any idea how to achieve this in tomcat. For example:

http://siroe redirects to http://machineX:8080 that is a tomcat application?

thank you




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



environment variable

2008-10-20 Thread Melanie Pfefer
Hello

I got this error in tomcat:

Cannot run program htmldoc: error=2, No such file or directory

Is it a good practice to include this command in PATH and put the variable PATH 
in startup.sh script?

I am usin tomcat 6 with solaris 10

thank you

Send instant messages to your online friends http://uk.messenger.yahoo.com

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



Re: environment variable

2008-10-20 Thread Melanie Pfefer
Hi Andre,

yes I put this executable file under bin/ directory. I did not come with tomcat.

I am using the command in a java code. tomcat gives this error in catalina.out

java.io.IOException: Cannot run program htmldoc: error=2, No such file or 
directory

I thought this can be fixed in startup.sh (+ restart tomcat). What do you think?

thanks




--- On Mon, 20/10/08, André Warnier [EMAIL PROTECTED] wrote:

 From: André Warnier [EMAIL PROTECTED]
 Subject: Re: environment variable
 To: Tomcat Users List users@tomcat.apache.org
 Date: Monday, 20 October, 2008, 4:38 PM
 Melanie Pfefer wrote:
  Hello
  
  I got this error in tomcat:
  
  Cannot run program htmldoc: error=2, No
 such file or directory
  
  Is it a good practice to include this command in PATH
 and put the variable PATH in startup.sh script?
  
  I am usin tomcat 6 with solaris 10
  
 Hi Melanie.
 The htmldoc program is not a part of Tomcat.
 It may be one of your Tomcat applications that calls it (or
 tries to).
 Where exactly in Tomcat do you get this error ?
 (a log file, which one, can you copy the error section ?)
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]

Send instant messages to your online friends http://uk.messenger.yahoo.com

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



mod_jk and url rewriting+forwarding

2008-04-01 Thread Melanie Pfefer
hi,

I want to forward
http://proxy/gqaf:soi:PAR:TRE:001 (proxy is an
apache) to
http://backend:8080/gqaf-web/gqaf:soi:PAR:TRE:001
(backend:8080 is a tomcat server)

I downloaded mod_jk and modified httpd.conf:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile
/usr/local/apache224/conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /*TRE* MyWorker



and created workers.properties:

workers.java_home=/usr/local/java/jdk1.6.0_03/
ps=/
worker.list=MyWorker

worker.MyWorker.port=8080
worker.MyWorker.host=backend
worker.MyWorker.type=ajp13


From logs:

[Tue Apr 01 21:33:48.890 2008] [27044:1] [debug]
ajp_send_request::jk_ajp_common.c (1395): (MyWorker)
request body to send 0 - request body to resend 0
[Tue Apr 01 21:34:08.897 2008] [27044:1] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1004): (MyWorker) can't receive the response message
from tomcat, tomcat (172.21.26.218:8080) has forced a
connection close for socket 19
[Tue Apr 01 21:34:08.897 2008] [27044:1] [error]
ajp_get_reply::jk_ajp_common.c (1766): (MyWorker)
Tomcat is down or refused connection. No response has
been sent to the client (yet)
[Tue Apr 01 21:34:08.897 2008] [27044:1] [info]
ajp_service::jk_ajp_common.c (2186): (MyWorker)
sending request to tomcat failed (recoverable), 
(attempt=2)
[Tue Apr 01 21:34:08.897 2008] [27044:1] [error]
ajp_service::jk_ajp_common.c (2204): (MyWorker)
Connecting to tomcat failed. Tomcat is probably not
started or is listening on the wrong port
[Tue Apr 01 21:34:08.897 2008] [27044:1] [debug]
ajp_reset_endpoint::jk_ajp_common.c (691): (MyWorker)
resetting endpoint with sd = 4294967295 (socket
shutdown)
[Tue Apr 01 21:34:08.897 2008] [27044:1] [debug]
ajp_done::jk_ajp_common.c (2522): recycling connection
pool slot=0 for worker MyWorker
[Tue Apr 01 21:34:08.897 2008] [27044:1] [info]
jk_handler::mod_jk.c (2364): Service error=0 for
worker=MyWorker


I checked tomcat and it is up.

Any idea?
thanks


  __
Sent from Yahoo! Mail.
A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html

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



deploying war files

2008-03-29 Thread Melanie Pfefer
how to deploy war files in tomcat? What should I enter
to these parameters? I dont have the xml file. I have
only the war file. Should I create first a new
directory?


Context Path (optional): 
XML Configuration file URL: 
WAR or Directory URL:


thanks


  __
Sent from Yahoo! Mail.
A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html

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



url redirection

2008-03-27 Thread Melanie Pfefer
Hi,

I have 2 web apps deployed on 2 tomcat servers. How to
redirect urls that contains ‘jar’ string from one app
to another?

http://zeus:8085/web/sec:jar:001
to
http://zeus:8086/src/web:sec:jar:001

thanks


  __
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html

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



Re: RES: url redirection

2008-03-27 Thread Melanie Pfefer
Hi,

thanks for your reply. what I want is to redirect 

http://zeus:8085/web/sec:jar:001

to


http://zeus:8086/src/web:sec:jar:001

The first one is on apache
the 2nd one is on tomcat

thanks again
--- Milanez, Marcus [EMAIL PROTECTED]
wrote:

 Hi,
 
 I'm not completely sure about what you want, but you
 can redirect urls according to a given pattern
 between tomcat instances using jakarta connectors. 
 Is that what you want? You can have further info
 here http://tomcat.apache.org/connectors-doc/
 
 Yours,
 
 Marcus
 
 -Mensagem original-
 De: Melanie Pfefer
 [mailto:[EMAIL PROTECTED] 
 Enviada em: quinta-feira, 27 de março de 2008 07:32
 Para: users@tomcat.apache.org
 Assunto: url redirection
 
 Hi,
 
 I have 2 web apps deployed on 2 tomcat servers. How
 to redirect urls that contains 'jar' string from one
 app to another?
 
 http://zeus:8085/web/sec:jar:001
 to
 http://zeus:8086/src/web:sec:jar:001
 
 thanks
 
 
  

__
 Sent from Yahoo! Mail.
 More Ways to Keep in Touch.
 http://uk.docs.yahoo.com/nowyoucan.html
 

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

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



  ___ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

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



Re: RES: url redirection

2008-03-27 Thread Melanie Pfefer
Hello
Actually I was able to define a rewrite rule in
apache:

RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1
[R=301,L]

now
http://zeus/web:jar:001
redirects to
http://zeus:8086/src/web:jar:001

But if I tried to change the flag to P (proxy) in
httpd.conf
the apache error file gives:
[Thu Mar 27 17:18:58 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/src, referer:
http://zeus/web:jar:001

the tomcat gives:

Your request is: http://zeus:8086/src/web:jar:001
Patj info is: web:jar:001
Session (1A578677550D1A75793540B152A8D6B6) has been
added to the list of valid Sessions
MY path info in treeview is: web:jar:001


I suspect I should something on tomcat to all this
operation. right?

I am using Solaris 10 - apache 2.2.4 and tomcat 6


--- ChrisS [EMAIL PROTECTED] wrote:

 Melanie are you using FreeBSD or OpenBSD? I am going
 back a bit but I 
 remember using Zeus on OpenBSD.
 
 The way I set up clustering recently was through a
 workers.properties file 
 which I stored in the apache/conf subdirectory. To
 start with you have to 
 make sure all the prerequisites are in place. If you
 are using a version of 
 Apache that supports it you need to DSO the mod_jk
 module into this (if you 
 haven't done this already) with 
 ./configure
 --with-apxs=/usr/local/apache/bin/apxs. This won't
 work unless 
 you have mod_ssl installed !make sure the version
 you have supports it!. For 
 example if you are using an APACI version, you may
 face problems. If you do 
 have mod_ssl installed and are witnessing problems
 note the error whilst 
 trying to launch Apache. I witnessed numerous errors
 whilst trying to build 
 1.3.39, 1.3.4, 2.0.x 2.2.x this way.
 
 - Original Message - 
 From: Melanie Pfefer [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Thursday, March 27, 2008 12:31 PM
 Subject: Re: RES: url redirection
 
 
  Hi,
 
  thanks for your reply. what I want is to redirect
 
  http://zeus:8085/web/sec:jar:001
 
  to
 
 
  http://zeus:8086/src/web:sec:jar:001
 
  The first one is on apache
  the 2nd one is on tomcat
 
  thanks again
  --- Milanez, Marcus [EMAIL PROTECTED]
  wrote:
 
  Hi,
 
  I'm not completely sure about what you want, but
 you
  can redirect urls according to a given pattern
  between tomcat instances using jakarta
 connectors.
  Is that what you want? You can have further info
  here http://tomcat.apache.org/connectors-doc/
 
  Yours,
 
  Marcus
 
  -Mensagem original-
  De: Melanie Pfefer
  [mailto:[EMAIL PROTECTED]
  Enviada em: quinta-feira, 27 de março de 2008
 07:32
  Para: users@tomcat.apache.org
  Assunto: url redirection
 
  Hi,
 
  I have 2 web apps deployed on 2 tomcat servers.
 How
  to redirect urls that contains 'jar' string from
 one
  app to another?
 
  http://zeus:8085/web/sec:jar:001
  to
  http://zeus:8086/src/web:sec:jar:001
 
  thanks
 
 
 
 
 

__
  Sent from Yahoo! Mail.
  More Ways to Keep in Touch.
  http://uk.docs.yahoo.com/nowyoucan.html
 
 
 

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

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

___
  Yahoo! For Good helps you make a difference
 
  http://uk.promotions.yahoo.com/forgood/
 
 

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

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



  __
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html

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



Re: RES: url redirection

2008-03-27 Thread Melanie Pfefer
all I want is to redirect from apache to tomcat. That
I was able to do using rewrite rule
however, I want the redirection to be transparent (no
changes in url) so i thought of using P flag.

if ur method can do this please share how to do it.
thanks
--- ChrisS [EMAIL PROTECTED] wrote:

 I worked with Solaris 10's apache and found that I
 had to download the 
 apache source code eventually and rebuild it myself.
 I found a few bugs in 
 2.2.8's configure scripts, what I am using now but I
 got it to work, if you 
 are up for it I could help out!
 
 I never used the P proxy flag in httpd.conf, I used
 jk_mod.1.2.6 (but this 
 is jk_mod.1.2.7 really) then to get apache to
 communicate with the tomcat 
 nodes I set up a worker file included it in
 httpd.conf, that with the jk_mod 
 included in httpd's module section and I was
 accessing Tomcat through two 
 worker ports set up in apache. Is this what you are
 trying to do?
 Chris S
 
 - Original Message - 
 From: Melanie Pfefer [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Thursday, March 27, 2008 4:23 PM
 Subject: Re: RES: url redirection
 
 
  Hello
  Actually I was able to define a rewrite rule in
  apache:
 
  RewriteRule ^/(.*web:jar.*)
 http://zeus:8086/src/$1
  [R=301,L]
 
  now
  http://zeus/web:jar:001
  redirects to
  http://zeus:8086/src/web:jar:001
 
  But if I tried to change the flag to P (proxy) in
  httpd.conf
  the apache error file gives:
  [Thu Mar 27 17:18:58 2008] [error] [client
  172.21.194.71] File does not exist:
  /usr/local/apache2/htdocs/src, referer:
  http://zeus/web:jar:001
 
  the tomcat gives:
 
  Your request is:
 http://zeus:8086/src/web:jar:001
  Patj info is: web:jar:001
  Session (1A578677550D1A75793540B152A8D6B6) has
 been
  added to the list of valid Sessions
  MY path info in treeview is: web:jar:001
 
 
  I suspect I should something on tomcat to all this
  operation. right?
 
  I am using Solaris 10 - apache 2.2.4 and tomcat 6
 
 
  --- ChrisS [EMAIL PROTECTED]
 wrote:
 
  Melanie are you using FreeBSD or OpenBSD? I am
 going
  back a bit but I
  remember using Zeus on OpenBSD.
 
  The way I set up clustering recently was through
 a
  workers.properties file
  which I stored in the apache/conf subdirectory.
 To
  start with you have to
  make sure all the prerequisites are in place. If
 you
  are using a version of
  Apache that supports it you need to DSO the
 mod_jk
  module into this (if you
  haven't done this already) with
  ./configure
  --with-apxs=/usr/local/apache/bin/apxs. This
 won't
  work unless
  you have mod_ssl installed !make sure the version
  you have supports it!. For
  example if you are using an APACI version, you
 may
  face problems. If you do
  have mod_ssl installed and are witnessing
 problems
  note the error whilst
  trying to launch Apache. I witnessed numerous
 errors
  whilst trying to build
  1.3.39, 1.3.4, 2.0.x 2.2.x this way.
 
  - Original Message - 
  From: Melanie Pfefer
 [EMAIL PROTECTED]
  To: Tomcat Users List users@tomcat.apache.org
  Sent: Thursday, March 27, 2008 12:31 PM
  Subject: Re: RES: url redirection
 
 
   Hi,
  
   thanks for your reply. what I want is to
 redirect
  
   http://zeus:8085/web/sec:jar:001
  
   to
  
  
   http://zeus:8086/src/web:sec:jar:001
  
   The first one is on apache
   the 2nd one is on tomcat
  
   thanks again
   --- Milanez, Marcus
 [EMAIL PROTECTED]
   wrote:
  
   Hi,
  
   I'm not completely sure about what you want,
 but
  you
   can redirect urls according to a given pattern
   between tomcat instances using jakarta
  connectors.
   Is that what you want? You can have further
 info
   here http://tomcat.apache.org/connectors-doc/
  
   Yours,
  
   Marcus
  
   -Mensagem original-
   De: Melanie Pfefer
   [mailto:[EMAIL PROTECTED]
   Enviada em: quinta-feira, 27 de março de 2008
  07:32
   Para: users@tomcat.apache.org
   Assunto: url redirection
  
   Hi,
  
   I have 2 web apps deployed on 2 tomcat
 servers.
  How
   to redirect urls that contains 'jar' string
 from
  one
   app to another?
  
   http://zeus:8085/web/sec:jar:001
   to
   http://zeus:8086/src/web:sec:jar:001
  
   thanks
  
  
  
  
  
 
 

__
   Sent from Yahoo! Mail.
   More Ways to Keep in Touch.
   http://uk.docs.yahoo.com/nowyoucan.html
  
  
  
 
 

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

-
   To start a new topic, e-mail:
 
=== message truncated ===



  __
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html

port redirection

2008-02-28 Thread Melanie Pfefer
Hello

a servlet is running on port 9000 while apache in
running on port 80.

Is there a way to change this behavior so that users
who type
http://server1/OpenObject?doc=ERW

will receive the same content of
http://server1:9000/OpenObject?doc=ERW but the URL
does not change (stays
http://server1/OpenObject?doc=ERW)


The change is needed in the servlet or the apache?

thanks




  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/

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



tomcat6 installation

2008-01-09 Thread Melanie Pfefer
Hello,

I am trying to install tomcat6 on Solaris 8. I
downloaded apache-tomcat-6.0.14-src.tar and untarred
the archive to /usr/local/tomcat6/ 

I also changed the ownership to a normal user and
modified the files under bin/ to executables.

If I ran ./startup.sh:

Neither the JAVA_HOME nor the JRE_HOME environment
variable is defined
At least one of these environment variable is needed
to run this program

I defined these variables. The next error is:

bash-2.03# ./startup.sh
Using CATALINA_BASE:   /usr/local/tomcat6/
Using CATALINA_HOME:   /usr/local/tomcat6/
Using CATALINA_TMPDIR: /usr/local/tomcat6/
Using JRE_HOME:  
/usr/local/java/j2sdk1.4.2_08/jre/
touch: /usr/local/tomcat6/logs/catalina.out cannot
create
./catalina.sh: /usr/local/tomcat6/logs/catalina.out:
cannot create

So I created manually logs folder. The next error is
displayed under logs/catalina.out:

bash$ more catalina.out
Exception in thread main
java.lang.NoClassDefFoundError: org/apache/catalina/s
tartup/Bootstrap


could you please advise?

thanks


  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

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



Re: tomcat6 installation

2008-01-09 Thread Melanie Pfefer
Hello and thanks for the reply,

I downloaded the binaries apache-tomcat-6.0.14.tar.gz


export JAVA_HOME=/usr/local/java/j2sdk1.4.2_08/
export JRE_HOME=/usr/local/java/j2sdk1.4.2_08/jre/


the tomcat is still not starting:

bash-2.03# more catalina.out
Exception in thread main
java.lang.UnsupportedClassVersionError:
org/apache/catalina/startup/Bootstrap (Unsupported
major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


could you please advise?



thanks again
--- David Delbecq [EMAIL PROTECTED] wrote:

 En l'instant précis du 09/01/08 11:16, Melanie
 Pfefer s'exprimait en ces 
 termes:
  Hello,
 
  I am trying to install tomcat6 on Solaris 8. I
  downloaded apache-tomcat-6.0.14-src.tar and
 untarred
  the archive to /usr/local/tomcat6/ 

 
  bash$ more catalina.out
  Exception in thread main
  java.lang.NoClassDefFoundError:
 org/apache/catalina/s
  tartup/Bootstrap
 
 
  could you please advise?
 
  thanks
 
 

 Sure, the -src file is the *source* file of
 tomcat, those need you to 
 compile it and probably run a dist making script
 included in folder. If 
 you just want to install tomcat, download the binary
 packages.
 
 
 
 -- 
 http://www.devlog.be (a belgian developer's logs)
 
 
 

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



  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com


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



RE: tomcat6 installation

2008-01-09 Thread Melanie Pfefer
thanks a lot. I appreciate your help.

1- how to change the http port number?
2- how to allow a non-root user to start tomcat? Is it
only though file ownership modification (chown -R
/usr/local/tomcat6)?

thanks again.


--- Peter Crowther [EMAIL PROTECTED]
wrote:

  From: Melanie Pfefer
 [mailto:[EMAIL PROTECTED]
  Exception in thread main
  java.lang.UnsupportedClassVersionError:
  org/apache/catalina/startup/Bootstrap (Unsupported
  major.minor version 49.0)
 
 Make sure you have at least JDK1.5 installed, and
 that your JAVA_HOME is pointing to that JDK.  It
 looks like you're trying to run Tomcat on a 1.4 JDK.
 
 - Peter
 

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



  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com


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