Re: tomcat mod_jk error log

2007-11-18 Thread lanes

Hi Rainer,

my os is Red Hat Linux v7.3 2.96-112.

this my workers.properties =
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/java/j2sdk1.4.1_02
ps=/
worker.list=ajp12, ajp13
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1 
worker.ajp13.socket_timeout=300
worker.ajp13.reply_timeout=6 
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr


below is my apache conf file to load mod_jk =
LoadModulejk_module  modules/mod_jk.so
JkWorkersFile /usr/local/tomcat/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevelinfo
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
Alias /testPortal /usr/local/tomcat/webapps/testPortal
JkMount /*.jsp ajp13
JkMount /*/servlet/ ajp13


My tomcat version is 4.1.12

Thank you very much.

Regards,
Martin




Rainer Jung-3 wrote:
> 
> Hi,
> 
> we can't identify your problem without knowing your configuration.
> 
> Please give us
> 
> - your operating system
> - your Tomcat connector configuration for the connector you talk to via
> mod_jk
> - your workers.properties
> - your httpd JK-directives
> - your Tomcat-version and mod_jk-version
> 
> You can furthermore improve the chance of finding your problem by
> running your test case when having "JkLogLevel debug" and posting
> the full jk log file in addition.
> 
> I would guess, the problem could have to do with a firewall dropping
> idle connections between Apache and Tomcat? If so, look at the Timeouts
> documentation page of mod_jk.
> 
> Regards,
> 
> Rainer
> 
> 
> Marthen LT schrieb:
>> hi all,
>> 
>> i have a live production server running tomcat & apache under linux.
>> but recently my cpu usage is being consumed by the mod_jk log file.
>> it keep logging and saying below warning/error messages:
>> 
>> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (819)]: ERROR: can't
>> receive the response message from tomcat, network problems or tomcat
>> is down. err=-1
>> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (717)]: Error
>> ajp13:cping: awaited reply cpong, not received
>> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (1026)]: Error sending
>> request try another pooled connection
>> 
>> what is happening?
>> i try to restart my tomcat also didn't give me a solution.
>> 
>> any help will be appreciated.
>> thank you.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/tomcat-mod_jk-error-log-tf4825734.html#a13829109
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Running tomcat as a service on 64 bit windows

2007-11-18 Thread Asawari

Hi ,

I want to run tomcat as a service on 64 bit windows XP.

I followed the following link
http://blog.granilus.com/2007/06/running-tomcat-as-64-bit-windows.html

I downloaded the tomcat binaries and renamed them appropriately.

My service gets installed, however when i try to start the service it does
not get started.

Can anyone tell me why this is happening..

Thanks!

-- 
View this message in context: 
http://www.nabble.com/Running-tomcat-as-a-service-on-64-bit-windows-tf4833862.html#a13829107
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



[server.xml]Is there a file that defines the server.xml of tomcat?

2007-11-18 Thread zhongliang zhang

As the thread title,is there a file(xsd or dtd)that defines the syntax of the 
server.xml of tomcat?
if there is one,can anybody send it to me?
thanks a lot.
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

-
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: simple question on Tomcat-apache

2007-11-18 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Subject: RE: simple question on Tomcat-apache
> 
> Does  5.5 version falls into  newer version ? 

Yes, but 6.0 is better for several reasons, including simplified
classloading and the availability of an NIO connector.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: simple question on Tomcat-apache

2007-11-18 Thread Shekhar . Dhotre
 >>>Using both Tomcat and httpd together is fairly
>>common, but performance of the newer versions of Tomcat eliminate that
>>reason for doing so.
Does  5.5 version falls into  newer version ? 

Thanks for the explanation Chuck .




"Caldarale, Charles R" <[EMAIL PROTECTED]> 
11/18/2007 10:12 PM
Please respond to
"Tomcat Users List" 


To
"Tomcat Users List" 
cc

Subject
RE: simple question on Tomcat-apache






> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Subject: simple question on Tomcat-apache 
> 
> does Tomcat -apache contains http server

Tomcat is a capable web server as well as a Servlet/JSP container, and
can be used standalone for most environments.  As downloaded, the
default installation is oriented towards a development environment using
ports 8080 and 8443 and auto-deployment, but can easily be reconfigured
for production use on ports 80 and 443.  It does not include httpd
(which is why there's no httpd.conf file), but instead handles HTTP and
HTTPS with a pure Java implementation.  (There is a native code
connector available for performance-critical environments.)

Apache httpd is a separate product serving static content and script
execution, and can be used as a load-balancing mechanism to front-end
multiple Tomcats.  Using both Tomcat and httpd together is fairly
common, but performance of the newer versions of Tomcat eliminate that
reason for doing so.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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




RE: simple question on Tomcat-apache

2007-11-18 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Subject: simple question on Tomcat-apache 
> 
> does Tomcat -apache contains http server

Tomcat is a capable web server as well as a Servlet/JSP container, and
can be used standalone for most environments.  As downloaded, the
default installation is oriented towards a development environment using
ports 8080 and 8443 and auto-deployment, but can easily be reconfigured
for production use on ports 80 and 443.  It does not include httpd
(which is why there's no httpd.conf file), but instead handles HTTP and
HTTPS with a pure Java implementation.  (There is a native code
connector available for performance-critical environments.)

Apache httpd is a separate product serving static content and script
execution, and can be used as a load-balancing mechanism to front-end
multiple Tomcats.  Using both Tomcat and httpd together is fairly
common, but performance of the newer versions of Tomcat eliminate that
reason for doing so.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: simple question on Tomcat-apache

2007-11-18 Thread Timothy Wonil Lee
Tomcat and HTTP Server are completely different product, and when you
download Tomcat, it does not include http server.

The only reason why "Tomcat" is also called "Apache Tomcat" is because it is
a product/project under Apache Software Foundation.

Apache HTTP server: http://httpd.apache.org/
Apache Tomcat: http://tomcat.apache.org/

Regards,

Timothy Wonil Lee

Java Developer
Koorong Books (http://www.koorong.com/)
email: [EMAIL PROTECTED]
direct ph: (+612) 9857 4448
direct fax: (+612) 9857 6648
http://www.google.com/reader/shared/16849249410805339619

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, 19 November 2007 1:57 PM
To: Tomcat Users List
Subject: simple question on Tomcat-apache 

Hello , 

does Tomcat -apache contains http server  bundled in or Do I have to 
install  apache-tomcat and http server separately ? I can browse the 
default web page when I started apache-tomcat server ,but could`nt locate 
the httpd.conf file . So downloaded http server . Can someone clarify the 
differences between apache-tomcat for me ?  I`m newbee to it . Thanks .

I have downloaded both :

[EMAIL PROTECTED] /mnt/apache-tomcat]: ls -lrt
total 51200
-rw-r-   1 root system 10731520 Oct 25 09:43 
apache-tomcat-6.0.14.tar
-rw-r-   1 root system  5888526 Nov 17 16:54 
httpd-2.0.61.tar.gz
-rw-r-   1 root system  9579283 Nov 17 16:55 
apache-tomcat-4.1.36.tar.gz
[EMAIL PROTECTED] /mnt/apache-tomcat]:

!DSPAM:4740fbec128211562027968!


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



simple question on Tomcat-apache

2007-11-18 Thread Shekhar . Dhotre
Hello , 

does Tomcat -apache contains http server  bundled in or Do I have to 
install  apache-tomcat and http server separately ? I can browse the 
default web page when I started apache-tomcat server ,but could`nt locate 
the httpd.conf file . So downloaded http server . Can someone clarify the 
differences between apache-tomcat for me ?  I`m newbee to it . Thanks .

I have downloaded both :

[EMAIL PROTECTED] /mnt/apache-tomcat]: ls -lrt
total 51200
-rw-r-   1 root system 10731520 Oct 25 09:43 
apache-tomcat-6.0.14.tar
-rw-r-   1 root system  5888526 Nov 17 16:54 
httpd-2.0.61.tar.gz
-rw-r-   1 root system  9579283 Nov 17 16:55 
apache-tomcat-4.1.36.tar.gz
[EMAIL PROTECTED] /mnt/apache-tomcat]:

Re: Problem with Tomacat 4.1

2007-11-18 Thread David Smith
Provided there are no requirements you have to match the version used by 
your company or hosting provider, use the highest available stable 
version.  The latest Tomcat 5.5.x and 6.0.x versions are both excellent 
releases and both implement serious performance improvements over the 
4.1 branch.  As to the path for download, it's easy enough to navigate 
the tomcat website at http://tomcat.apache.org/.


As suggested by others on the list, be sure the user tomcat is running 
as has full read/write access on the tomcat installation directory.


--David

Sneha Manohar wrote:

Hi,
  Can you pls suggest which version of tomact should I use ?. It Will be help 
full if you can mention path for downloads
   
  Thank In Advance

  sneha

David Smith <[EMAIL PROTECTED]> wrote:
  'tis a Vista issue. I don't have Vista but I suspect it's firewall is 
blocking your tomcat. Just curious though -- why are you using such an 
old version of tomcat?


--David

Sneha Manohar wrote:
  

Hi ,
I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
I have set JAVA_HOME ,CATALINA_HOME.
When I start server new window comes & disappears.
when I shutdown I get following eror.
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:179)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Regards
Sneha


-
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.





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



   
-

 Unlimited freedom, unlimited storage. Get it now
  



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



make error : during apache install.

2007-11-18 Thread Shekhar . Dhotre
Hello , 
I`m trying to install and configure apache http server on AIX . Running 
into error below . Please advise . Thx 
os version : AIX5.3 
gcc : 

[EMAIL PROTECTED] /opt/apache2.0/httpd-2.0.61]: rpm -qa|grep -i gcc
gcc-4.0.0-1
[EMAIL PROTECTED] /opt/apache2.0/httpd-2.0.61]

[EMAIL PROTECTED] /opt/apache2.0/httpd-2.0.61]: make
Making all in srclib
Making all in apr
Making all in strings
Target "local-all" is up to date.
Target "all" is up to date.
Making all in passwd
Target "local-all" is up to date.
Target "all" is up to date.
Making all in tables
Target "local-all" is up to date.
Target "all" is up to date.
Making all in file_io/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in network_io/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in threadproc/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in misc/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in locks/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in time/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in mmap/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in shmem/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in user/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in memory/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in atomic/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in poll/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in support/unix
Target "local-all" is up to date.
Target "all" is up to date.
Making all in dso/unix
Target "local-all" is up to date.
Target "all" is up to date.
/bin/sh /opt/apache2.0/httpd-2.0.61/srclib/apr/libtool --silent 
--mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE 
-D_USE_IRS -I./include -I../include -version-info 9:16:9 -Wl,-brtl -o 
libapr-0.la -rpath /usr/local/apache2/lib strings/apr_cpystrn.lo 
strings/apr_fnmatch.lo strings/apr_snprintf.lo strings/apr_strings.lo 
strings/apr_strnatcmp.lo strings/apr_strtok.lo passwd/apr_getpass.lo 
tables/apr_hash.lo tables/apr_tables.lo file_io/unix/copy.lo 
file_io/unix/dir.lo file_io/unix/fileacc.lo file_io/unix/filedup.lo 
file_io/unix/filepath.lo file_io/unix/filepath_util.lo 
file_io/unix/filestat.lo file_io/unix/flock.lo file_io/unix/fullrw.lo 
file_io/unix/mktemp.lo file_io/unix/open.lo file_io/unix/pipe.lo 
file_io/unix/readwrite.lo file_io/unix/seek.lo file_io/unix/tempdir.lo 
network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo 
network_io/unix/sendrecv.lo network_io/unix/sockaddr.lo 
network_io/unix/sockets.lo network_io/unix/sockopt.lo 
threadproc/unix/proc.lo threadproc/unix/procsup.lo 
threadproc/unix/signals.lo threadproc/unix/thread.lo 
threadproc/unix/threadpriv.lo misc/unix/charset.lo misc/unix/env.lo 
misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix/otherchild.lo 
misc/unix/rand.lo misc/unix/start.lo misc/unix/version.lo 
locks/unix/global_mutex.lo locks/unix/proc_mutex.lo 
locks/unix/thread_cond.lo locks/unix/thread_mutex.lo 
locks/unix/thread_rwlock.lo time/unix/time.lo time/unix/timestr.lo 
mmap/unix/common.lo mmap/unix/mmap.lo shmem/unix/shm.lo 
user/unix/groupinfo.lo user/unix/userinfo.lo memory/unix/apr_pools.lo 
atomic/unix/apr_atomic.lo poll/unix/poll.lo poll/unix/pollacc.lo 
support/unix/waitio.lo dso/unix/dso.lo -lm -lnsl -lpthread
collect2: library libgcc_s not found
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
[EMAIL PROTECTED] /opt/apache2.0/httpd-2.0.61]:

Re: problem with starting tomcat4.1.31

2007-11-18 Thread Markus Schönhaber
Please keep your replies to the list.

Sneha Manohar wrote:

>   Can you pls mention the web site from which I can download Tomcat version 
> is 6.0.14.

The Tomcat homepage, of course:
http://tomcat.apache.org

Regards
  mks

-
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: Problem with Tomacat 4.1

2007-11-18 Thread Martin Gainty
Can you verify the port is not already bound?
Assuming your CATALINA is configured on 8080
netstat -a | grep 8080

M-
- Original Message -
From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Sunday, November 18, 2007 10:45 AM
Subject: Re: Problem with Tomacat 4.1


> Sneha Manohar wrote:
> > Hi ,
> > I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> > I have set JAVA_HOME ,CATALINA_HOME.
> > When I start server new window comes & disappears.
>
> Use catalina.bat run to start Tomcat in the current window so you can see
> what the errors are. Alternatively, look in your log directory.
>
> Mark
>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: Tomcat 5.5 - Virtualhost - context configuration for the zero path

2007-11-18 Thread Martin Gainty
Johann-
What is context-root  specified as?
Martin--
- Original Message -
From: "Schadler Johann" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" 
Sent: Sunday, November 18, 2007 9:31 AM
Subject: Tomcat 5.5 - Virtualhost - context configuration for the zero path


> We usually use Tomcat instances without Apache connector and we could do
> this without problems with Tomcat 4.x until now by defining a docBase to
the
> path="" in a context located in the server.xml. (Usually we configure
> virtualhosts for a service with the default path "" - no additional
context
> must be entered by the user).
>
>
>
> In Tomcat 5.5 (we didn't use Tomcat 5.0, so I don't know if there are
> similiar changes) there seems to be only one possibility to configure a
> context with path "": to rename the WAR file to "ROOT.war" and place it in
> the appBase of the virtualhost.
>
>
>
> The expected equivalent to configure the ""-path explicitly seems not to
> work. I tried to create the file:
>
>
>
> /conf///ROOT.xml as follows:
>
>
>
>override="true"
>   displayName="PaST2"
>   docBase="/opt/jakarta5_jvm2/webapps3/PaST"
>   path="">
>
>  
> 
>
> Requesting the URL   http://[/] results
> in an HTTP 404 error, Resource Not Found.
>
>
>
> After renaming the directory "PaST" to "ROOT" in the
> appBase="/opt/jakarta5_jvm2/webapps3" the service is reachable with the
URL
> above.
>
>
>
> I would prefer to use an explicit method to define a context, not only the
> implicit possibility by naming the WAR file to something which doesn't
refer
> anyway to the service provided in the physical directory "ROOT". Is there
a
> possibility to do this in may way?
>
>
>
> Johann
>
>
>
>


-
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: Problem with Tomacat 4.1

2007-11-18 Thread Caldarale, Charles R
> From: Sneha Manohar [mailto:[EMAIL PROTECTED] 
> Subject: Re: Problem with Tomacat 4.1
> 
> Can you pls suggest which version of tomact should I use ?. 

Changing the version of Tomcat won't fix your current problem - you have
to give Tomcat full access to the files it needs.  However, there's no
point in you messing around with such an old level when the latest 6.0
version is vastly superior in all respects.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Problem with Tomacat 4.1

2007-11-18 Thread Sneha Manohar
Thank chuck :)

"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:  > From: Sneha Manohar 
[mailto:[EMAIL PROTECTED] 
> Subject: Re: Problem with Tomacat 4.1
> 
> javax.naming.NamingException: Cannot rename original file to 
> C:\Program Files\Apache Group\Tomcat 4.1\conf\tomcat-users.xml.old

It appears that the Tomcat account doesn't have the necessary
permissions under your Vista. You need to give Tomcat full access to
pretty much everything in its installation directory.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



   
-
 Unlimited freedom, unlimited storage. Get it now

Re: Problem with Tomacat 4.1

2007-11-18 Thread Sneha Manohar
Hi,
  Can you pls suggest which version of tomact should I use ?. It Will be help 
full if you can mention path for downloads
   
  Thank In Advance
  sneha

David Smith <[EMAIL PROTECTED]> wrote:
  'tis a Vista issue. I don't have Vista but I suspect it's firewall is 
blocking your tomcat. Just curious though -- why are you using such an 
old version of tomcat?

--David

Sneha Manohar wrote:
> Hi ,
> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> I have set JAVA_HOME ,CATALINA_HOME.
> When I start server new window comes & disappears.
> when I shutdown I get following eror.
> Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
> Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1
> Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
> Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0
> Catalina.stop: java.net.ConnectException: Connection refused: connect
> java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:519)
> at java.net.Socket.connect(Socket.java:469)
> at java.net.Socket.(Socket.java:366)
> at java.net.Socket.(Socket.java:179)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> Regards
> Sneha
>
> 
> -
> 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
> 


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



   
-
 Unlimited freedom, unlimited storage. Get it now

RE: Problem with Tomacat 4.1

2007-11-18 Thread Caldarale, Charles R
> From: Sneha Manohar [mailto:[EMAIL PROTECTED] 
> Subject: Re: Problem with Tomacat 4.1
> 
> javax.naming.NamingException: Cannot rename original file to 
> C:\Program Files\Apache Group\Tomcat 4.1\conf\tomcat-users.xml.old

It appears that the Tomcat account doesn't have the necessary
permissions under your Vista.  You need to give Tomcat full access to
pretty much everything in its installation directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: Problem with Tomacat 4.1

2007-11-18 Thread Sneha Manohar
Hi,
  Thanks Markus for your help...
  I used 'catalina run command instead of startup..I get following exception
  GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources
javax.naming.NamingException: Cannot rename original file to C:\Program Files\Ap
ache Group\Tomcat 4.1\conf\tomcat-users.xml.old
at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:205)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBe
ans(GlobalResourcesLifecycleListener.java:176)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycle
Event(GlobalResourcesLifecycleListener.java:147)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
2)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
javax.naming.NamingException: Cannot rename original file to C:\Program Files\Ap
ache Group\Tomcat 4.1\conf\tomcat-users.xml.old
at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:302)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
  at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: LifecycleException:  No UserDatabase component found under key U
serDatabase
LifecycleException:  No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.j
ava:309)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
  at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1
075)
at org.apache.catalina.core.StandardService.stop(StandardService.java:54
6)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccesso

Re: jk issue

2007-11-18 Thread Rocco Scappatura
Thanks,

I missed to put alias for relative URL '/roller' that permits Apache2 to
serve static pages.

Please, red the other thread (mod_jk or mod_proxy?) that I have opened and
consider ths as closed.

Still thanks,

rocsca

> Hi Rocco,
>
> we can't identify your problem without knowing your configuration, your
> test cases and the precise error observation.
>
> Please give us
>
> - your Tomcat connector configuration for the connector you talk to via
> mod_jk
> - your workers.properties
> - your httpd JK-directives
> - your Tomcat-version and mod_jk-version
> - the URL you are sending, what answer you would expect, and what answer
> you get.
>
> You can furthermore improve the chance of finding your problem by
> running a simple test case when having "JkLogLevel debug" and posting
> the jk log file in addition.
>
> Regards,
>
> Rainer
>
> Rocco Scappatura schrieb:
>> Hello,
>>
>> after a long time I was persuaded to install to run Apache Tomcat 5.5 as
>> application server an use Apache 2.0.54 as Web server.
>>
>> I configured Apache to load the appropriate jk connector and have
>> defined a workers.
>>
>> I run Tomcat 5.5, using 8080 port for amministrative issues. But I have
>> anothe customized service with a connector binded on port 81 and several
>> host.
>>
>> Obviosly, I have moved the connector for port 8009 into the customized
>> service.
>>
>> In particular, in tomcat on my customized server I have installed
>> roller.
>>
>> When I try to access to the URL wich is 'redirected' on tomcat, I access
>> to the home  page of roller, but I can't move from there! Neverthless
>> the css is lopaded in the css. (Basically, the Tomcat application from
>> Apache2 doesn't work).
>>
>> Please note the accessing directly to port 81, application works
>> properly.
>>
>> rocsca
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



Re: Best Linux distribution

2007-11-18 Thread Lionel Crine

Hi Steve,

CentOs had troubles with Dell blade video card and ACPI functions.
Sorry, I can't be more precise because it was quite a time ago.

Maybe, the problem was around dell server...isn't it!!





Steve Ochani wrote:

On 14 Nov 2007 at 22:58, Lionel Crine wrote:



another distribution to know. You have some support. Fedora : Well,
stable, recent packages CentOS : too many bugs when I was using it (1
year ago).


You must be mixing up Fedora and CentOS. CentOS has always been rock solid stable, it's a 
recompile of Redhat Enterprise Linux. Fedora is a bleeding edge new distro that is not 
intended for production servers and is often plagued by instability issues, like Fedora 7 was.







Last thing, this informations are important only if you are "root" and
have to manage distributions. If not, you don't care.

Bye
Lionel

Andrew Hole wrote:

Hi!

In your opinion what is the best LINUX distribution for a server
with an instance of Tomcat and an J2EE application of medium load?

An opinion taking as a basis the performance and cost.

Thanks


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


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





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



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



Re: Problem with Tomacat 4.1

2007-11-18 Thread Markus Schönhaber
Sneha Manohar wrote:

[The same as 4 days ago]

What about this:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200711.mbox/[EMAIL 
PROTECTED]
?

Regards
  mks

-
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: Problem with Tomacat 4.1

2007-11-18 Thread Mark Thomas
Sneha Manohar wrote:
> Hi ,
> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
> I have set JAVA_HOME ,CATALINA_HOME.
> When I start server new window comes & disappears.

Use catalina.bat run to start Tomcat in the current window so you can see
what the errors are. Alternatively, look in your log directory.

Mark



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



Re: Tomcat 5.5 - Virtualhost - context configuration for the zero path

2007-11-18 Thread Mark Thomas
Schadler Johann wrote:
> I would prefer to use an explicit method to define a context, not only the
> implicit possibility by naming the WAR file to something which doesn't refer
> anyway to the service provided in the physical directory "ROOT". Is there a
> possibility to do this in may way?

Place your directory outside of a host's appBase. Place ROOT.xml in
/conf// and then the docBase attribute
of the Context element inside ROOT.xml will be honoured. You should not
specify a path as this is inferred from the name of the xml file.

Mark



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



Re: Tomcat vs (other container) compatibility

2007-11-18 Thread Mark Thomas
Johnny Kewl wrote:
> But then I also think when a container is based on Tomcat, and doesnt
> expose it as such... thats kinda a like theft;)

That would be a breach of section 4 of the AL2 license. If you are aware of
any such breaches for any Apache software, please let the relevant PMC know.

Cheers,

Mark



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



Re: Problem with Tomacat 4.1

2007-11-18 Thread David Smith
'tis a Vista issue.  I don't have Vista but I suspect it's firewall is 
blocking your tomcat.  Just curious though -- why are you using such an 
old version of tomcat?


--David

Sneha Manohar wrote:

Hi ,
I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
I have set JAVA_HOME ,CATALINA_HOME.
When I start server new window comes & disappears.
when I shutdown I get following eror.
Using CATALINA_BASE:   C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME:   C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME:   C:\Program Files\Java\jdk1.6.0
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:179)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
   
  Regards

  Sneha

   
-

 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
  



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



Tomcat 5.5 - Virtualhost - context configuration for the zero path

2007-11-18 Thread Schadler Johann
We usually use Tomcat instances without Apache connector and we could do
this without problems with Tomcat 4.x until now by defining a docBase to the
path="" in a context located in the server.xml. (Usually we configure
virtualhosts for a service with the default path "" - no additional context
must be entered by the user).

 

In Tomcat 5.5 (we didn't use Tomcat 5.0, so I don't know if there are
similiar changes) there seems to be only one possibility to configure a
context with path "": to rename the WAR file to "ROOT.war" and place it in
the appBase of the virtualhost.

 

The expected equivalent to configure the ""-path explicitly seems not to
work. I tried to create the file:

 

/conf///ROOT.xml as follows:

 



 


Requesting the URL   http://[/] results
in an HTTP 404 error, Resource Not Found.

 

After renaming the directory "PaST" to "ROOT" in the
appBase="/opt/jakarta5_jvm2/webapps3" the service is reachable with the URL
above.

 

I would prefer to use an explicit method to define a context, not only the
implicit possibility by naming the WAR file to something which doesn't refer
anyway to the service provided in the physical directory "ROOT". Is there a
possibility to do this in may way?

 

Johann

 



RE: "Incorrect function" error w/isapi_redirect 1.2.25

2007-11-18 Thread myrealbruno
Dmitry,

In the past eight years I have been using several isapi_redirect 1.x and 2
versions with IIS 4, 5.x and 6 and never had the need to recompile anything.
I currently have several production machines with IIS 5 and isapi_redirect
1.2.25.

I read somewhere that deprecated directives in the workers.properties file
can cause this error. 
Another thing to try is to remove the old isapi filter from IIS before
switching to the new one, and consider moving your settings to the
isapi_redirect.properties file instead of messing with the registry.

Hope it helps,
b.

-Original Message-
From: Dmitry Beransky [mailto:[EMAIL PROTECTED] 
Sent: 14 November 2007 06:33
To: Tomcat Users List
Subject: Re: "Incorrect function" error w/isapi_redirect 1.2.25


Ay, caramba.  I don't even have access to VS... do I need VS to compile or
can I use a GNU compiler?

On Nov 13, 2007 5:25 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> This is the classic problem of Microsoft products not working with 
> Microsoft Products
>
> If a dll isnt working you will need to get the source and build it for 
> your specific OS 
> http://tomcat.apache.org/connectors-doc/reference/iis.html



---AV & Spam Filtering by M+Guardian - Risk Free Email (TM)---


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



Re: tomcat mod_jk error log

2007-11-18 Thread Rainer Jung
Hi,

we can't identify your problem without knowing your configuration.

Please give us

- your operating system
- your Tomcat connector configuration for the connector you talk to via
mod_jk
- your workers.properties
- your httpd JK-directives
- your Tomcat-version and mod_jk-version

You can furthermore improve the chance of finding your problem by
running your test case when having "JkLogLevel debug" and posting
the full jk log file in addition.

I would guess, the problem could have to do with a firewall dropping
idle connections between Apache and Tomcat? If so, look at the Timeouts
documentation page of mod_jk.

Regards,

Rainer


Marthen LT schrieb:
> hi all,
> 
> i have a live production server running tomcat & apache under linux.
> but recently my cpu usage is being consumed by the mod_jk log file.
> it keep logging and saying below warning/error messages:
> 
> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (819)]: ERROR: can't
> receive the response message from tomcat, network problems or tomcat
> is down. err=-1
> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (717)]: Error
> ajp13:cping: awaited reply cpong, not received
> [Fri Nov 16 15:02:13 2007]  [jk_ajp_common.c (1026)]: Error sending
> request try another pooled connection
> 
> what is happening?
> i try to restart my tomcat also didn't give me a solution.
> 
> any help will be appreciated.
> thank you.

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



Re: jk issue

2007-11-18 Thread Rainer Jung
Hi Rocco,

we can't identify your problem without knowing your configuration, your
test cases and the precise error observation.

Please give us

- your Tomcat connector configuration for the connector you talk to via
mod_jk
- your workers.properties
- your httpd JK-directives
- your Tomcat-version and mod_jk-version
- the URL you are sending, what answer you would expect, and what answer
you get.

You can furthermore improve the chance of finding your problem by
running a simple test case when having "JkLogLevel debug" and posting
the jk log file in addition.

Regards,

Rainer

Rocco Scappatura schrieb:
> Hello,
> 
> after a long time I was persuaded to install to run Apache Tomcat 5.5 as
> application server an use Apache 2.0.54 as Web server.
> 
> I configured Apache to load the appropriate jk connector and have
> defined a workers.
> 
> I run Tomcat 5.5, using 8080 port for amministrative issues. But I have
> anothe customized service with a connector binded on port 81 and several
> host.
> 
> Obviosly, I have moved the connector for port 8009 into the customized
> service.
> 
> In particular, in tomcat on my customized server I have installed
> roller.
> 
> When I try to access to the URL wich is 'redirected' on tomcat, I access
> to the home  page of roller, but I can't move from there! Neverthless
> the css is lopaded in the css. (Basically, the Tomcat application from
> Apache2 doesn't work).
> 
> Please note the accessing directly to port 81, application works
> properly.
> 
> rocsca

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



Re: Tomcat vs (other container) compatibility

2007-11-18 Thread Johnny Kewl


---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message - 
From: "Mark Thomas" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Sunday, November 18, 2007 2:07 PM
Subject: Re: Tomcat vs (other container) compatibility



Wade Chandler wrote:
As far as others "stole" Tomcat, I think we need to make sure we always 
know the entire story


Indeed. The other point is that the AL2 license permits this. It isn't
theft, it is people/organisations using the software in exactly the way it
was intended.


Yes... I was being  flippant ;)
But from a marketing point of view, I think people should now that the 
"ghost" (there I do it again;) of Tomcat is in just about every other EJB 
container out there. In fact I think there should be a list of containers 
that use forks of Tomcat on the TC site... its just good marketing.
People are seeing Tomcat in competition with EJB... I think they should know 
its a core part of many EJB containers.

So they view TC correctly, not as direct competition, but as a subcomponent.
Or... people out there, if you making a web site... start with Tomcat, if 
you later need EJB... pick a container.


Tomcat vs EJB is just wrong when people see it as a container war.
Its the same reason I went ballistic, when Netbeans 6 defaulted to GlassFish 
for a WebApp, and didnt even install Tomcat (they have since fixed that).

If one is making a simple web site... its just wrong... I think.

Large companies sponsor or have sponsored Tomcat and use it in their 
products...  Stole is wrong ;)
But then I also think when a container is based on Tomcat, and doesnt expose 
it as such... thats kinda a like theft;)

TC should list those as well ;)



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





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



RE: log4j error

2007-11-18 Thread Reich, Matthias
Hi,

another approach is the use of a RepositorySelector.
- you rely on the container to provide the log4j classes and to install
a suitable RepositorySelector
(should happen as early as possible, e.g. in a ServerLifeCycleListener)
- each webapp can still provide it's own logging configuration
- the RepositorySelector may provide some fallback mechanism, i.e. use a
default Logger Repository in case the webapp does not provide it's own
configuration.

I was once pointed to such a solution by the following article which
explains the mechanism in more detail:

http://www.qos.ch/logging/sc.jsp

- Matthias

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 17, 2007 1:16 AM
To: Tomcat Users List
Subject: RE: log4j error

> From: Steven Crosley [mailto:[EMAIL PROTECTED] 
> Subject: log4j error
> 
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
> log4j:ERROR [EMAIL PROTECTED]  
> whereas object of type
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by  
> [WebappClassLoader

This situation was reported earlier today in a different thread.  The
problem there was due to the following set of factors:

1) log4j*.jar in both Tomcat's lib directory and the webapp's
WEB-INF/lib

2) classes from Tomcat's lib directory making references to log4j

3) classes from the webapp making references to log4j

4) classes from the webapp calling methods in classes from Tomcat's lib
directory

Even though the log4j jars may be identical, instances of log4j classes
are not assignable across the different classloaders used for Tomcat's
lib directory and the webapp.

The quick fix is to get rid of the log4j*.jar in your WEB-INF/lib, but
that precludes application-specifc logging.  You could also move
whatever classes from Tomcat's lib directory that the webapp needs into
WEB-INF/lib, rather than having them in the common location.  (This
would be more in keeping with the servlet spec philosophy, which tries
to keep webapps as independent as possible.)  Or, you could rework your
code a bit so the webapp passes a logging object to the methods that
need it that come from Tomcat's lib directory, and insure that the
shared classes don't hang onto that logger.  There may be other
solutions.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


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



Problem with Tomacat 4.1

2007-11-18 Thread Sneha Manohar
Hi ,
I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
I have set JAVA_HOME ,CATALINA_HOME.
When I start server new window comes & disappears.
when I shutdown I get following eror.
Using CATALINA_BASE:   C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME:   C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\temp
Using JAVA_HOME:   C:\Program Files\Java\jdk1.6.0
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:179)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
   
  Regards
  Sneha

   
-
 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.

Re: mod_proxy or mod_jk?

2007-11-18 Thread Johnny Kewl


---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message - 
From: "Rocco Scappatura" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, November 18, 2007 3:20 AM
Subject: mod_proxy or mod_jk?

You need to post your config files for real help...
I think everyone is tired of arguing the differences... just google for 
that.
I like mod_jk just because its worked on by Tomcat developers and thus the 
focus is very much on Tomcat.


Here a tip to get you going...
This works on TC 5.5

put this in your servlet.xml file

xmlValidation="false" xmlNamespaceAware="false">


 forwardAll="false" modJk="Path/To/mod_jk.so" />

   

Start Tomcat it will generate the mod_jk.conf file under 
Tomcat/conf/auto

In the apache httpd.cong file... somewhere near the bottom...
add
# I added this for connector ==
Include "Path/To/Tomcat 5.5/conf/auto/mod_jk.conf"

That will make apache front end tomcat...

Then just study those files...
It generates all the core stuff... all the JKMounts folder protection etc 
for all your webapps.


Then you can edit as required... add aliases etc.

Load sharing is different again... but the generated file comes in handy 
there as well.
Remember that everytime you start tomcat this is generated... so remove the 
listener if you dont want it to change, or copy it and point apache at that.


Have fun...



Hello.

I would like to publish a Web application running under Tomcat.

I'm using Apache 2 as Web server.

Basically, I have two opportunities:

1) mod_jk
2) mod_proxy

I've tried the first. So I discover that I ve:

- Create an alias in httpd.conf so that al static pages are processed
directly by Apache2.
- Use JkMount directive so that path is mapped to worker (and so to 
Tomcat)


I don't know I have well understod the concept, but I have noted that
application doesn't work correcltly. For example, assuming that the path
of the application is '/path'. When I accesst to http:///path
all works fine. But if I access to http:///path/subpath I get
Visualizzation errors (It seems tome that it misses CSS.. and so on).

I read that it is possible to use mod proxy.

Now, I would like to know from mailing list if mod_proxy is the best
choice or otherwise if I have to solve problem similiar to the one I ve
pointed out above, and to use mod_jk.

Thanks,

rocsca




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





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



Re: Tomcat vs (other container) compatibility

2007-11-18 Thread Mark Thomas
Wade Chandler wrote:
> As far as others "stole" Tomcat, I think we need to make sure we always know 
> the entire story 

Indeed. The other point is that the AL2 license permits this. It isn't
theft, it is people/organisations using the software in exactly the way it
was intended.

Mark


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