AW: List traffic et al

2001-07-06 Thread Nico Wieland

i agree 100%. i think a _good_ thing would be to include these guidelines in the 
confirmation message one receives after subscribing to the list. this is the way how 
it's done eg. on sun-managers, they post the guidelines once a month. it's the most 
disciplined list i know.

-nico

 Rather let all of us try to reduce volume(both in size and 
 number), it does
 not require much effort.
 
 Lets just try to follow the following.

[snip]




URGENT plz help (resend re: jk_uri_worker prob)

2001-07-03 Thread Nico Wieland

hi list

i tried to find an answer to this everywhere but no luck ... 

my mod_jk log is full with these two entries:

[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL 
parameters

any idea what could be causing this?? i get thousands of entries like this, nothing 
else, no errors in the application whatsoever i'd really like to know what the 
problem here is. and if it's nothing serious, i'd like to turn these messages off as 
it makes everything else very hard to find, and the mod_jk.log gets bigger and bigger.

many thanks,

Nico




AW: Re: Re[2]:TomcatBook-wasTOMCATSUCKS(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz)

2001-06-29 Thread Nico Wieland

 I'm tired of german server spamming!

especially as it looks so damn badly configured ... it replies to its own vacation 
msgs. this will escalate nicely over the next few hours. ;/

-nico




AW: Antw: Antw:Antw:Re:Re[2]:TomcatBook-wasTOMCATSUCKS(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz)(Abwesenheitsnotiz) (Abwesenheitsnotiz)

2001-06-29 Thread Nico Wieland

i notified her company to fix their server and/or disable her vacation message before 
weekend. hope they do. :)

-nico




AW: TOMCAT SUCKS // what lb problem? plz clarify

2001-06-28 Thread Nico Wieland

 3. The integration with apache (using mod_jk) sucks. It slows down the 
 productivity of the web server with at least 1000%

?? i'm running a fairly complex website (very drastic flash frontend/java backend) and 
it works fine. big server though, but it really runs quite fine.

 I really think that TOMCAT is OK for testing purposes. Trust me - 
 for complex 
 configurations it sucks. 

well i don't do virtual hosting but it's still a fairly complex site, and i think TC 
goes way beyond 'testing purpose only'. in fact all problems i run in unto now were 
our own bugs :) 

can you tell us what your load balancing problems were exactly? i had it a short while 
behind a LB and it worked fine. currently it's back to one machine, but i'll have it 
LB'ed again when the load will dramatically rise in 2 weeks or so. therefore i'd be 
very much interested in knowing what kind of problems you were/are experiencing.

thanks,

Nico




AW: tomcat on a home machine???

2001-06-27 Thread Nico Wieland

 Thus it will be impossible to resolve a domain name to the IP address of
 your server from the public internet, as it will change every 
 time you dial.

yes, it is possible with services like http://www.dyndns.com.

-nico




URGENT jk_connect.c problem / UPDATE: weird log entry in mod_jk.log other problems

2001-06-26 Thread Nico Wieland

hi again

i have some strange entries in my mod_jk.log, generated almost every minute:

[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL 
parameters

does anyone here have an idea what the problem could be?? we don't have these errors 
on the test server, but the production machine generates them every minute. i don't 
see anything that would misbehave, but it sure scares me not to know what is happening 
here.

in addition, tomcat occasionally dies with a 

# An unexpected exception has been detected in native code outside the VM.
# Program counter=0xblahblah (don't have the exact code anymore)
#
# Problematic Thread: prio=1 tid=0xblaah nid=0xblah runnable (don't have the exact 
codes anymore)
#
Abort

this is fixed, it was a strange problem with oro-regex that we can reproduce only on 
the production server (unfortunately). when oro (perl5 matcher) was fed with a control 
character (\u-\u001f) it died and took tomcat with it (stack overflow). bad!

i'm running a 2.2.16 linux kernel, 4-cpu box, tomcat 3.2.2, apache 1.3.19, mysql Ver 
11.15 Distrib 3.23.38, oro-2.0.2, jdk1.3.0_02,

many thanks

Nico Wieland




weird log entry in mod_jk.log other problems

2001-06-25 Thread Nico Wieland

hi list

i have some strange entries in my mod_jk.log, generated almost every minute:

[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 111
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL 
parameters

in addition, tomcat occasionally dies with a 

# An unexpected exception has been detected in native code outside the VM.
# Program counter=0xblahblah (don't have the exact code anymore)
#
# Problematic Thread: prio=1 tid=0xblaah nid=0xblah runnable (don't have the exact 
codes anymore)
#
Abort

i don't know if the two issues are related. i had the 'unexpected exception' because 
of a bug in oro, but we have a working workaround for that. problem still appears from 
time to time though, but at another place.


questions: what do the first errors (in mod_jk.log) mean? couldn't find any hint on 
the web.
what does the second error mean exactly?
any ideas for a fix, or how to track down the problem(s)?
any ideas where to setup logging so that this 'unexpected exception' can be tracked 
down?

i'm running a 2.2.16 linux kernel, 4-cpu box, tomcat 3.2.2, apache 1.3.19, mysql Ver 
11.15 Distrib 3.23.38, oro-2.0.2, jdk1.3.0_02,

many thanks

Nico Wieland




AW: Apache not talking to Tomcat on port 8007? I need a rubber room...

2001-05-25 Thread Nico Wieland

 WTF is wrong? How can I test whether port 8007 is really open and 

nc localhost 8007

or a portscan

or netstat -a

hth,

nico




AW: How is your knowledge on TomCat??????

2001-05-03 Thread Nico Wieland

hi magnus

i have no knowledge of novell at all but just searched the archive of this mailing 
list and found the following. all list - sorry for posting it again, but i felt it was 
seemed necessary, as there seem to be lots of netware folks who have probs w/ tomcat.

regards,

-nico

(mailing list archive: http://www.mail-archive.com/ ;)


==
 Can you, or anyone provide setup/installation information?
 Thanks
 -jim

Yes.

Mikko Peltonen wrote the following instructions
at devforums.novell.com. They have worked for me. But,
first of all, download the JVM from Novell.

Cristian Ramos Prange   

()

Subject: Re: Info on Jakarta/Tomcat port to Netware
Date: Fri, 1 Dec 2000 11:56:13 +0200
From: Mikko Peltonen [EMAIL PROTECTED]
Organization: Another Netscape Collabra Server User
Newsgroups: novell.devsup.jvm
References: 1 , 2 , 3


OK. There seemed not to be any documentation concerning NetWare on the
official release package of Tomcat 3.2, even though there are now
compiled
nlm's, so I'll try to briefly give some instructions:

- Download Tomcat 3.2
(http://jakarta.apache.org/builds/tomcat/release/v3.2/bin/) and extract
it
to SYS volume.
- Add the following lines to sys:\etc\java.cfg and restart JVM:
TOMCAT_HOME=sys:\jakarta-tomcat-3.2
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\ant.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\jasper.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\jaxp.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\parser.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\servlet.jar
CLASSPATH=$CLASSPATH;$TOMCAT_HOME\lib\webserver.jar

- Create sys:\system\tomcat.ncf, and put in it line:
java -Dtomcat.home=sys:/jakarta-tomcat-3.2
org.apache.tomcat.startup.Tomcat

- Start Tomcat by executing the ncf file you just created

At this point, you should be able to use Tomcat with the Tomcat's
built-in
http server, which by default listens in port 8080. Try pointing your
browser to http://your-server-ip:8080/examples/.

If you want to integrate with the Enterprise Server, do the following:

-  Copy the nsapi_rd.nlm file to sys:/jakarta-tomcat-3.2/bin -directory.
This file is the nsapi plugin that handles the communications between
Enterprise Server and Tomcat. By default communication is done through
sockets by using the ajp12 protocol.
-  Disable Novell's Servlet Gateway. Go to Web Manager
(https://your-server-ip:2200/), Enterprise Web Server configuration -
Programs - Novell Servlet Gateway - Activate Servlet Gateway=No. Save

Apply.
-  Edit the sys:\Novonyx\suitespot\https-SERVERNAME\config\obj.conf. Add
the
following lines.
To the Init section, add:
Init fn=load-modules funcs=jk_init,jk_service
shlib=sys:/jakarta-tomcat-3.2/bin/nsapi_rd.nlm
Init fn=jk_init
worker_file=sys:/jakarta-tomcat-3.2/conf/workers.properties
log_level=debug log_file=sys:/jakarta-tomcat-3.2/logs/nsapi.log

To the NameTrans section of the default object, add:
NameTrans fn=assign-name from=/servlet/* name=servlet
NameTrans fn=assign-name from=/examples/* name=servlet

To the end of the file, add new servlet object:
Object name=servlet
ObjectType fn=force-type type=text/plain
Service fn=jk_service worker=ajp12
/Object

- Restart Enterprise Server

Now you should be able to get to Tomcat examples through Enterprise
Server
(http://your-server-ip/examples/). If you want to configure more
contexts
(URLs) for Tomcat, or want to setup Tomcat to serve only dynamic pages
in
its contexts, additional information can be found from file
sys:\jakarta-tomcat-3.2\doc\tomcat-netscape-howto.html (sections Adding
Additional Contexts and Advanced Config Configuration).
 




load balancing performance

2001-04-12 Thread Nico Wieland

hi list

i'm wondering if somebody has experience with the tomcat load balancing in real life? 
i have set it up and it works nicely, but i want to use it for a project that will 
generate quite some load for a couple of days, and am not sure if it then will 
continue to work as it should :) anyone got some experience with this? especially 
regarding performance and reliability.

thanks,

-nico




load balancing and synchronization

2001-04-02 Thread Nico Wieland

hi list

if i do load balancing with tomcat (w/ mod_jk), what happens if the two tomcat servers 
at the same time execute a synchronized method? will they know that they mustn't 
execute it concurrently or not? if synchronization worked only per JVM, would there be 
a workaround?

thanks,

-nico


Nico Wieland

NETVERTISING AGAgentur fuer zeitgerechte Kommunikation
Samariterstrasse 5, CH 8032 Zuerich
Telefon +41 1 267 11 11,  Fax +41 1 267 11 99
mailto:[EMAIL PROTECTED]  http://www.netvertising.ch