Re: JDBC Realm hangs

2003-11-13 Thread Navanee


[EMAIL PROTECTED] wrote:

Hello,

I am running tomcat 4.1.27 on windows 2000 server with sql server 7 in 
production.  Using the JDBC Realm to manage the login.  The login 
works just fine but then after some time it hangs up.  The login page 
is served so I know tomcat is still running but once the user types in 
the username and password nothing happens.  Anybody have any ideas on 
how I can diagnose this problem.  There are no error messages.  Once I 
reboot the server the problem goes away for an indeterminate amount of 
time and then comes back.

thanks

Matt

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


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


RE: Servlets -- help needed

2003-11-13 Thread Schalk
Navanee

The file structure, for webapps are as follows:
Tomcat/webapps/yourapp/
- In this folder you can place all of your image files, html files, .js,
.css, and your JSP's.
Tomcat/webapps/yourapp/WEB-INF/classes/
- In here you should place all compiled servlet code
Tomcat/webapps/yourapp/WEB-INF/lib/
- In here you can place all .jar files that your web application will need
to have access to.
Tomcat/webapps/yourapp/WEB-INF/
- Here goes your .tld and .xml files, for example the web.xml

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or diclosed to any other party without
the permission of the sender. If you received this message in error, please
notify me immediately so that I can correct and delete the original email.
Thank you. 

:: -Original Message-
:: From: Navanee [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 14, 2003 7:20 AM
:: To: [EMAIL PROTECTED]
:: Subject: Servlets -- help needed
:: 
:: Friends,
:: 
:: I want to write a HTML form that will accept some values from the user
:: and i want to print the values using a servlet program.
:: 
:: I have installed Tomcat 4.1 in my win2k m/c.
:: 
:: This is the folder where i have installed the Tomcat: C:\Program
:: Files\jakarta-tomcat-4.1.27\webapps
:: 
:: Please tell where (in which folder) i should place the HTML file and
:: where i should place the Servlet code that will read the values from the
:: form?
:: Similarly where should i place the JSP code?
:: 
:: Since there are many folders i often get confused where to place the
:: code. Any other pointers would be more helpful.
:: 
:: -- Navanee
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]



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



Re: Unusual config for: SSL -> Apache -> JK2 -> Tomcat

2003-11-13 Thread Bill Barker
Can't be done, for the simple reason that Apache has to respond with the
Server cert long before it finds out if the request is going to Tomcat.
Otherwise, the browser will refuse to continue with the connection.

"Mike Kellstrand" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Is it possible to have Apache receive HTTPS requests and
then use JK2 to forward them on to a Tomcat that deals with the
SSL/certificates
and services the requests?

I want Apache & JK2 to be simply a conduit and not try to deal with the SSL.

Tomcat will have the certificate, not Apache.

This Apache will serve some static content, but when it gets requests
for certain contexts (which will require https), I want Apache just to  pipe
the packets off to a Tomcat at an undisclosed location and not try to
authenticate.

I know this is unusual, but I have a good reason.

Can it be done?

Thanks,

Mike Kellstrand




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



Servlets -- help needed

2003-11-13 Thread Navanee
Friends,

I want to write a HTML form that will accept some values from the user 
and i want to print the values using a servlet program.

I have installed Tomcat 4.1 in my win2k m/c.

This is the folder where i have installed the Tomcat: C:\Program 
Files\jakarta-tomcat-4.1.27\webapps

Please tell where (in which folder) i should place the HTML file and 
where i should place the Servlet code that will read the values from the 
form?
Similarly where should i place the JSP code?

Since there are many folders i often get confused where to place the 
code. Any other pointers would be more helpful.

-- Navanee

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


Re: Tomcat 4.1 Runaway Java Procs on Debian LINUX

2003-11-13 Thread Lukas Bradley
First, this was my main contention point.  It was answered on JGuru.

[N.B.: Under Linux, each Java Thread appears in the process list (ps) as a
separate process. This is because native Linux threads are implemented as
lightweight processes. However, there is still only one Java process
space -- the memory/CPU reported by each thread is actually shared among all
threads. -A]



"Lukas Bradley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What determines the number of Java procs running catalina upon startup?
> The OS is Debian Linux, and it's Tomcat 4.1.
>
> If you look closely below, between ids 268 and 317 was full of java
> instances.  That's 49 java instances running the bootstrap.  What would
make
> this happen?  Is this normal?  Is this what happens when a server gets
> throttled?
>
> I tried shutting them down, but was unable.  The catalina.out log was
filled
> with this:
>
> StandardWrapperValve[default]: Servlet.service() for servlet default threw
> exception
> java.net.SocketException: Broken pipe
>  at java.net.SocketOutputStream.socketWrite0(Native Method)
>  at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>  at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>  at
>
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWri
> te(InternalOutputBuffer.java:668)
>  at
>
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutput
> Filter.java:160)
>  at
>
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.j
> ava:523)
>  at org.apache.coyote.Response.doWrite(Response.java:524)
>  at
>
org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384)
>  at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439)
>  at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:359)
>  at
org.apache.coyote.tomcat4.OutputBuffer.writeBytes(OutputBuffer.java:411)
>
> then this:
>
> CoyoteAdapter An exception or error occurred in the container during the
> request processing
> java.lang.NullPointerException
>  at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :164)
>  at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>  at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>  at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
>  at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:392)
>  at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
>  at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:619)
>  at java.lang.Thread.run(Thread.java:536)
>
> If the server were rebooted, why would 25 or so processes start?  Any
ideas?
> Any consultants in Atlanta want to make some money tomorrow?
>
> Thanks for any and all help.
> nat447:# ps auxww|grep java
>
> root 268 2.7 9.5 253720 49036 pts/0 S 17:55 0:05
>
>
/usr/local/java/bin/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endor
> sed -classpath
> /usr/local/java/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar
>
> -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava
.i
> o.tmpdir=/usr/local/tomcat/temp
>
> org.apache.catalina.startup.Bootstrap start
>
> -snip-
>
> root 317 0.0 9.5 253720 49036 pts/0 S 17:56 0:00
>
> /usr/local/java/b
>
> in/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed
>
> -classpath /usr/l
> ocal/java/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar
>
> -Dcatalina.base=/usr
>
>
/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/
> tomc at/temp org.apache.catalina.startup.Bootstrap start




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



RE: modifying shutdown behaviour?

2003-11-13 Thread Patrick Herrera
Hi all,

I would like to implement a ServletContextListener, but I can't find an
example of the tags I need to add to my web.xml file to register a class as
a listener.

Can anyone point me in the direction of an example?

Thanks,

Patrick

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 28 October 2003 1:16 AM
To: Tomcat Users List
Subject: RE: modifying shutdown behaviour?


Howdy,

>> When the $CATALINA_HOME/bin/shutdown.sh script is called I would like
a
>> particular web application to release its resources cleanly and
perform
>tidy
> >
>> > You could implement a ServletContextListener. The
contextDestroyed()
>method
>> > will be called when your application is about to be removed.
>
>If you have a servlet which initializes resource for your context (like
>an InitServlet), you can simply implemnent the "destroy" method to
>release your resources.
>
>This may be easier than writing a ServletContextListener, and has fewer
>moving parts.

I would strongly disagree ;)  The container is free to destroy and
reload any servlet, including load-on-startup servlets, at any time it
deems such action necessary.

If you need something done on shutdown or startup or both, it's much
cleaner to write a listener for that purpose than a servlet, for
multiple reasons: 
- The footprint of a servlet in memory is bigger
- Another servlet adds to request mapping overhead, reducing performance
- Servlets are not supposed to be written only for init/destroy
functionality, ServletContextListeners are expressly designed for this
purpose
- It's a lot easier to mess up thread-safety in a servlet (which of
course may have multiple instances in memory) than in a listener

The moving parts claim you make -- I'm not sure I understand that.  Mind
elaborating? ;)

Yoav Shapira



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


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



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



RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Peter Lin

that's interesting. I've seen database drivers do a
segfault signal 11 error, like Oracle OCI drivers. but
I haven't seen that happen.  Were you deploying using
the management utilities?

peter


--- David Muller <[EMAIL PROTECTED]> wrote:
> we have verified that in certains cases (deploying
> new war file, how tomcat was stopped previously,
> etc.) that restarting tomcat 4.1.27 without first
> deleting the "work" directory and removing the
> CONTENTS of the temp directory (not the temp
> directory) itself will cause a sig 11.
> 
> Since we have started deleting the work and contents
> of temp we have had no sig 11 crashes.  This is with
> 2 different apps.
> 
> -Dave
> 
> 

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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



Re: OT -mx64m option

2003-11-13 Thread Chiming Huang
Thank you for pointing this out.

Chiming

- Original Message - 
From: "Christopher Schultz"
<[EMAIL PROTECTED]>
To: "Tomcat Users List"
<[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:26 PM
Subject: Re: OT -mx64m option


> Chiming,
> > Just a quick question.  Is JVM (1.3.1) going to
allocate as much as
> > memory for Tomcat (4.1.24) if there is not a "-mx"
option provided?
> 
> JVMs on various platforms have different defaults. I
seem to rcall that
> the old Linux defaults for Sun's JVM was a 16MB
heap, but that has been
> changed to 64MB in more recent versions.
> 
> If you do not specify -mx, then you will get
whatever the defaults are.
> You can use Runtime.maxMemory() to find out what
maximum heap size that
> Java will use. Note that it's the Java heap size;
the JVM takes some
> memory of its own to run, so the in-memory footprint
of the JVM might be
> larger than what you specify for -mx.
> 
> -chris
> 
> 
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
> 

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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



RE: Signal 11 causing Tomcat crash

2003-11-13 Thread David Muller
we have verified that in certains cases (deploying new war file, how tomcat was 
stopped previously, etc.) that restarting tomcat 4.1.27 without first deleting the 
"work" directory and removing the CONTENTS of the temp directory (not the temp 
directory) itself will cause a sig 11.

Since we have started deleting the work and contents of temp we have had no sig 11 
crashes.  This is with 2 different apps.

-Dave

-Original Message-
From: jerome moliere [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 7:21 AM
To: Tomcat Users List
Subject: Re: Signal 11 causing Tomcat crash


Jim Goodspeed wrote:

>Unfortunately we have also tried Sun's JVM and are
>experiencing the same Signal 11 errors (I've included
>two snippets of the Sun error - same error as the IBM
>Sig 11, just in a different format).  Sometimes the
>dump specifies the library in question, other times it
>does not.
>  
>
another hint:
what about ULIMITS on your machine ?
I guess that your Linux box uses a bash shell ?
JDK 1.4 had clever bugs with ulimit settings, may be your release had 
such problems
too...
but please check memory , motherboard temperature & so on...
HTH
Jerome

-- 
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.editions-eyrolles.com/php.informatique/index.php3?xd=d12eccd83077cb3683315026cd3b7586




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


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



Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Chong Yu Meng
David,

I have a sample UNIX sockets configuration on this page 
(http://cymulacrum.net/tomcat/jk2man_channel_UNIX.html ). This page is 
actually linked from the page I mentioned to you earlier for the Apache 
2 and Tomcat integration with mod_jk2 
(http://cymulacrum.net/tomcat/jk2_compile.html)

Regards,
pascal chong


Dennis McRitchie wrote:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

 

-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 1:19 PM
To: 'Tomcat Users List'
Subject: Integrating Tomcat 4.1.29 with Apache 2
Hi all, well, as seen by my previous posting, I have finally gotten
mod_jk2.so and jkjni.so installed.
Does anyone have an idiots guide to getting Apache and Tomcat working
together. A basic configuration is all I need.
David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED] 
..poor planning on your part does not make an emergency on my
part
This message has originated from Autodata Solutions.  The
attached material
is the Confidential and Proprietary Information of Autodata
Solutions. This
email and any files transmitted with it are confidential and
intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and
notify the
Autodata system administrator at  [EMAIL PROTECTED]
 >


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



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


 



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


Re: Looking for mod_jk2

2003-11-13 Thread Chong Yu Meng
I'm using the Falsehope RPMs for Apache 2, not Red Hat's. That could be 
the reason why it compiles cleanly on my system and not on others.

Regards,
pascal chong
Mark Eggers wrote:

Dave,

The linker is looking for libapr-0.so.  I don't know
what you used in your ./configure run.
On some installations the link between the current
version of libapr and libapr-0.so (and libapr-0.so.0)
does not get made when Apache is installed.  This
appears to be mostly a problem with the RedHat RPM
distribution.
You may find that to be true also with libaprutil.

To solve those problems, do the following.

1. cd to the Apache lib directory
2. soft link the current libs to the base names
3. cd back to the source directory
4. rerun configure (to make sure)
5. run make
For example:

(1) cd /home/apache/lib
(2) ln -s libapr-0.so.0.9.4 libapr-0.so
   ln -s libapr-0.so.0.9.4 libapr-0.so.0
   ln -s libaprutil-so.0.9.4 libaprutil-so
   ln -s libaprutil-so.0.9.4 libaprutil-so.0
(3) cd /src/jakarta-tomcat-connectors/jk/native2
(4) ./configure
(5) make
Note that you will not need jkjni.so unless you
attempt to run either UNIX sockets or in-process
communication.  IP sockets work fine without the
library.
The last time I tried UNIX sockets or in-process
communication on RedHat Linux 9 I was unsuccessful. 
There are some linking problems that I think have more
to do with the way Redhat lays out their system via
RPMs than the code.

I recently checked out the latest versions of the
connectors, apr, and apr-util from cvs.apache.org.  I
may try UNIX sockets and in-process communication
again.  However, since this is a development machine,
I  am fine with the IP socket connection.
HTH.

/mde/
just my two cents . . . .
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



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


Fw: virtual hosts

2003-11-13 Thread Paul
Hi again all,

i think i found one solution for my own problem.  I commented out all the virtual 
hosting stuff from the apache httpd.conf file, and instead configured virtual hosting 
in tomcat server.xml file, adding a default host to the Engine element, and then 
defining a second Host element for the second URL.  And it worked!  But if anyone has 
any alternative approaches, or suggestions, i would certainly be interested.

thanks,
paul lomack

- Original Message - 
From: Paul 
To: Tomcat Users List 
Sent: Thursday, November 13, 2003 6:44 PM
Subject: virtual hosts


Hi,

am trying to get name-based virtual hosting working.

here is my environment:
 windows 2000
 java jdk 1.4
 jakarta-tomcat-4.1.27-LE-jdk14.exe
 apache_2.0.47-win32-x86-no_ssl.msi
 jk2 connector
 oracle jdbc driver 9.x

Config for it is in Apache httpd.conf file, as follows:

#Virtual Hosting
NameVirtualHost [ip address here]


ServerName www.me.com
ServerAdmin [EMAIL PROTECTED]
#DocumentRoot "C:/Tomcat41/webapps/ROOT"
DocumentRoot /ROOT
ErrorLog "C:/apache2/Apache2/logs/me/error_log"
TransferLog "C:/apache2/Apache2/logs/me/access_log"



ServerName www.you.com
ServerAdmin [EMAIL PROTECTED]
#DocumentRoot "C:/Tomcat41/webapps/you"
DocumentRoot /you
ErrorLog "C:/apache2/Apache2/logs/you/error_log"
TransferLog "C:/apache2/Apache2/logs/you/access_log"


my problem is, regardless of which domain is typed into a browser, me.com or you.com, 
only me.com loads.

if anyone can help me out here, i need it.
thanks,
paul lomack


Re: Timestamp on log is 6 hours ahead of system time.

2003-11-13 Thread Tim Funk
The JVM is probably thinking the current timezone is wrong. Or the current 
user running the java process has that problem.

-Tim

Robyne Vaughn wrote:

Can anyone tell me why the timestamp on my Tomcat logs (catalina.out),
and web-app logs is about 6 hours ahead of the system time on the system
on which tomcat runs?  How can I fix it to find the correct or the
system time?
  


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


Re: How to retreive an application context path from a servlet init()

2003-11-13 Thread Tim Funk
AFAIK, it can only be retrieved via the HttpServletRequest

-Tim

Heritier Arnaud wrote:
Hi guys !!

I have a Struts application and I extend the ActionServlet.
In the init(ServletConfig) method I would like to retreive the context path of the 
application where the servlet is used.
I didn't find a solution.
Am I stupid or too tired??
Do you have a standard servlet or a Struts specific solution to acheive this ???



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


Tomcat Manger can't start to Mysql connection

2003-11-13 Thread [EMAIL PROTECTED]
I am trying to use the Manager App for Tomcat 4.1 to start a new context
for a Virtual Domain.  It appears to be able to start the context
however, it is not able to properly make a connection to the database.
The error message I get is java.sql.SQLException: Cannot load JDBC
driver class 'null' .
 
I have tried to work with the catalina.policy file, but I am not sure
that this is the problem.  If I completly Stop Tomcat and Start it
fresh, the mysql connection works fine.  I am using tomcat for virtual
hosting, so I can not stop it each time i need to add a new virtual
domain and context. 
 
Any suggestions are appreciated.
 
Thanks,  Brent


unsubscribing

2003-11-13 Thread Jake den Otter
I'm tyring to unsubscribe from this list and have sent emails to the 
unsubscibe email address.  I'm still waiting to be removed. Does anyone konw 
how long this takes? because my inbox is getting filled up way to quickly :)
Jake

_
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp

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


virtual hosts

2003-11-13 Thread Paul
Hi,

am trying to get name-based virtual hosting working.

here is my environment:
 windows 2000
 java jdk 1.4
 jakarta-tomcat-4.1.27-LE-jdk14.exe
 apache_2.0.47-win32-x86-no_ssl.msi
 jk2 connector
 oracle jdbc driver 9.x

Config for it is in Apache httpd.conf file, as follows:

#Virtual Hosting
NameVirtualHost [ip address here]


ServerName www.me.com
ServerAdmin [EMAIL PROTECTED]
#DocumentRoot "C:/Tomcat41/webapps/ROOT"
DocumentRoot /ROOT
ErrorLog "C:/apache2/Apache2/logs/me/error_log"
TransferLog "C:/apache2/Apache2/logs/me/access_log"



ServerName www.you.com
ServerAdmin [EMAIL PROTECTED]
#DocumentRoot "C:/Tomcat41/webapps/you"
DocumentRoot /you
ErrorLog "C:/apache2/Apache2/logs/you/error_log"
TransferLog "C:/apache2/Apache2/logs/you/access_log"


my problem is, regardless of which domain is typed into a browser, me.com or you.com, 
only me.com loads.

if anyone can help me out here, i need it.
thanks,
paul lomack


RE: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Januski, Ken
It might be a good idea to put the comment back in, restart Tomcat, and then
see whether or not you get these errors. At least that way you know whether
or not they're related to your changes.


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 5:59 PM
To: 'Tomcat Users List'
Subject: RE: Enabling  crashed ESRI Arcims applications.


Nope, no errors or exception(not that I know of:). I did a 

>tail apache_log.2003-11-13.txt

and the log just stop there after the first arcims request.  And on the
arcims
server side, nothing happens, i.e., no arcims request was received.  I do
get
the following exception when I started my tomcat.  But I think that
exception is
always there, with or without .

--
2003-11-13 15:20:14 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown
Source)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:536)




-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 3:46 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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


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


Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik



- Original Message -
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 3:30 PM
Subject: Re: Enabling  crashed ESRI Arcims applications.


look in all three
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 3:18 PM
Subject: RE: Enabling  crashed ESRI Arcims applications.


No stacking trace, I even looked through log4j's log.

Maybe I need to enable something, give me a hint.  Here is what I have under
logs/

[EMAIL PROTECTED] logs]# ll
total 3312
-rw-r--r--1 root cvsadmin  1907951 Nov 13 15:20
apache_log.2003-11-13.txt
-rw-r--r--1 root cvsadmin   75 Nov 13 14:42
catalina_log.2003-11-13.txt
-rw-r--r--1 root cvsadmin23357 Nov 13 15:36 catalina.out
-rw-r--r--1 root cvsadmin  1361136 Nov 13 16:15 isogis_debug.log
-rw-r--r--1 root cvsadmin64805 Nov 13 15:36 isogis_info.log
-rw-r--r--1 root cvsadmin10568 Nov 13 14:46
localhost_log.2003-11-13.txt



-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 4:03 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you look in the other logs?
you are sure there is no stack trace anywhere?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:59 PM
Subject: RE: Enabling  crashed ESRI Arcims applications.


Nope, no errors or exception(not that I know of:). I did a

>tail apache_log.2003-11-13.txt

and the log just stop there after the first arcims request.  And on the
arcims
server side, nothing happens, i.e., no arcims request was received.  I do
get
the following exception when I started my tomcat.  But I think that
exception is
always there, with or without .

--
2003-11-13 15:20:14 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown
Source)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:536)




-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 3:46 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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


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


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


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


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


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



Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
look in all three
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 3:18 PM
Subject: RE: Enabling  crashed ESRI Arcims applications.


No stacking trace, I even looked through log4j's log.

Maybe I need to enable something, give me a hint.  Here is what I have under
logs/

[EMAIL PROTECTED] logs]# ll
total 3312
-rw-r--r--1 root cvsadmin  1907951 Nov 13 15:20
apache_log.2003-11-13.txt
-rw-r--r--1 root cvsadmin   75 Nov 13 14:42
catalina_log.2003-11-13.txt
-rw-r--r--1 root cvsadmin23357 Nov 13 15:36 catalina.out
-rw-r--r--1 root cvsadmin  1361136 Nov 13 16:15 isogis_debug.log
-rw-r--r--1 root cvsadmin64805 Nov 13 15:36 isogis_info.log
-rw-r--r--1 root cvsadmin10568 Nov 13 14:46
localhost_log.2003-11-13.txt



-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 4:03 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you look in the other logs?
you are sure there is no stack trace anywhere?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:59 PM
Subject: RE: Enabling  crashed ESRI Arcims applications.


Nope, no errors or exception(not that I know of:). I did a

>tail apache_log.2003-11-13.txt

and the log just stop there after the first arcims request.  And on the
arcims
server side, nothing happens, i.e., no arcims request was received.  I do
get
the following exception when I started my tomcat.  But I think that
exception is
always there, with or without .

--
2003-11-13 15:20:14 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown
Source)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:536)




-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 3:46 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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


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


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


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


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



Tomcat 4.1 Runaway Java Procs on Debian LINUX

2003-11-13 Thread Lukas Bradley
What determines the number of Java procs running catalina upon startup?
The OS is Debian Linux, and it's Tomcat 4.1.

If you look closely below, between ids 268 and 317 was full of java
instances.  That's 49 java instances running the bootstrap.  What would make
this happen?  Is this normal?  Is this what happens when a server gets
throttled?

I tried shutting them down, but was unable.  The catalina.out log was filled
with this:

StandardWrapperValve[default]: Servlet.service() for servlet default threw
exception
java.net.SocketException: Broken pipe
 at java.net.SocketOutputStream.socketWrite0(Native Method)
 at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
 at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWri
te(InternalOutputBuffer.java:668)
 at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutput
Filter.java:160)
 at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.j
ava:523)
 at org.apache.coyote.Response.doWrite(Response.java:524)
 at
org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384)
 at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439)
 at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:359)
 at org.apache.coyote.tomcat4.OutputBuffer.writeBytes(OutputBuffer.java:411)

then this:

CoyoteAdapter An exception or error occurred in the container during the
request processing
java.lang.NullPointerException
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:164)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
 at java.lang.Thread.run(Thread.java:536)

If the server were rebooted, why would 25 or so processes start?  Any ideas?
Any consultants in Atlanta want to make some money tomorrow?

Thanks for any and all help.
nat447:# ps auxww|grep java

root 268 2.7 9.5 253720 49036 pts/0 S 17:55 0:05

/usr/local/java/bin/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endor
sed -classpath
/usr/local/java/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar

-Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.i
o.tmpdir=/usr/local/tomcat/temp

org.apache.catalina.startup.Bootstrap start

-snip-

root 317 0.0 9.5 253720 49036 pts/0 S 17:56 0:00

/usr/local/java/b

in/java -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed

-classpath /usr/l
ocal/java/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar

-Dcatalina.base=/usr

/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/
tomc at/temp org.apache.catalina.startup.Bootstrap start




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



RE: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Yansheng Lin
No stacking trace, I even looked through log4j's log.  

Maybe I need to enable something, give me a hint.  Here is what I have under
logs/

[EMAIL PROTECTED] logs]# ll
total 3312
-rw-r--r--1 root cvsadmin  1907951 Nov 13 15:20
apache_log.2003-11-13.txt
-rw-r--r--1 root cvsadmin   75 Nov 13 14:42
catalina_log.2003-11-13.txt
-rw-r--r--1 root cvsadmin23357 Nov 13 15:36 catalina.out
-rw-r--r--1 root cvsadmin  1361136 Nov 13 16:15 isogis_debug.log
-rw-r--r--1 root cvsadmin64805 Nov 13 15:36 isogis_info.log
-rw-r--r--1 root cvsadmin10568 Nov 13 14:46
localhost_log.2003-11-13.txt



-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 4:03 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you look in the other logs?
you are sure there is no stack trace anywhere?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:59 PM
Subject: RE: Enabling  crashed ESRI Arcims applications.


Nope, no errors or exception(not that I know of:). I did a

>tail apache_log.2003-11-13.txt

and the log just stop there after the first arcims request.  And on the
arcims
server side, nothing happens, i.e., no arcims request was received.  I do
get
the following exception when I started my tomcat.  But I think that
exception is
always there, with or without .

--
2003-11-13 15:20:14 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown
Source)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:536)




-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 3:46 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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


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


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


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



Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
did you look in the other logs?
you are sure there is no stack trace anywhere?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:59 PM
Subject: RE: Enabling  crashed ESRI Arcims applications.


Nope, no errors or exception(not that I know of:). I did a

>tail apache_log.2003-11-13.txt

and the log just stop there after the first arcims request.  And on the
arcims
server side, nothing happens, i.e., no arcims request was received.  I do
get
the following exception when I started my tomcat.  But I think that
exception is
always there, with or without .

--
2003-11-13 15:20:14 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown
Source)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:536)




-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 3:46 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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


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


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



RE: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Yansheng Lin
Nope, no errors or exception(not that I know of:). I did a 

>tail apache_log.2003-11-13.txt

and the log just stop there after the first arcims request.  And on the arcims
server side, nothing happens, i.e., no arcims request was received.  I do get
the following exception when I started my tomcat.  But I think that exception is
always there, with or without .

--
2003-11-13 15:20:14 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at org.apache.catalina.connector.warp.WarpConnection.recv(Unknown
Source)
at org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
Source)
at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)




-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 3:46 PM
To: Tomcat Users List
Subject: Re: Enabling  crashed ESRI Arcims applications.


did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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


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



Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
did you get a stack trace?

Filip
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 2:41 PM
Subject: Enabling  crashed ESRI Arcims applications.



Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's
inside
of that class.

All other application worked with logging.

Thanks!


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


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



Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Yansheng Lin

Wow, this is kind of cool.  And I couldn't explain it!

If I uncomment the following header logging in my server.xml, all of
'arcims-related' application does not work anymore.  And it seems that the
request wasn't even sent to 'arcims' server.  



Unfortunately, arcims uses a propriety servlet.  So I have no idea what's inside
of that class.

All other application worked with logging.

Thanks!


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



Timestamp on log is 6 hours ahead of system time.

2003-11-13 Thread Robyne Vaughn
Can anyone tell me why the timestamp on my Tomcat logs (catalina.out),
and web-app logs is about 6 hours ahead of the system time on the system
on which tomcat runs?  How can I fix it to find the correct or the
system time?
 
thanks,
 
Robyne K. Vaughn


AW: setting up multiple realms for apps deployed using ant install task?

2003-11-13 Thread Thomas Reiter
Hi 

Yes you have to specify a context for each App.
You can do this using a e.g. appOneContext.xml file.
Therein make your context description like you are used from server.xml

Bind the context in your ant task with
config="file://anywhere/appOneContext.xml" 


Regards

Tom


-Ursprüngliche Nachricht-
Von: Paul Tomsic [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 13. November 2003 22:38
An: [EMAIL PROTECTED]
Betreff: setting up multiple realms for apps deployed using ant install
task?


How do you set up multiple realms for different
webapps that are installed using ant?
We don't have any context tags in the server.xml
file other than for the manager app.  
Our applications are installed using install from our
build.xml in ant:
http://localhost:8080/manager";
  username="manager" password="manager"
  path="/"
  war="file://${build.home}"/>

Then that app becomes the root application running on
Tomcat.
In our server.xml :

  
   

But we've got other applications that run as 
/appOne
/appTwo
etc.

How would we have these other applications look to
their own realm database for authentication w/o using
 tags?  And if we do need to use 
tags for each application, how do we install using
ANT?

Thanks
Paul



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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




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



Re: [Off-Topic] Recommendation for Tomcat Security book

2003-11-13 Thread Jean-Francois Arcand
The Servlet Spec is also good :-)

http://www.jcp.org/en/jsr/detail?id=154

-- Jeanfrancois

Yann ? wrote:

Are there any recommendations for a tomcat security book?  I've found this
one on amazon.com, but there are no reviews on the book so I thought I
   

would
 

run it by the list first before I buy itany other suggestions
Thanx for any insight


   

http://www.amazon.com/exec/obidos/tg/detail/-/1861008309/104-7975513-6438339
 

?v=glance

   



   

Chapter 1 from this book is available @ TSS:
http://www.theserverside.com/resources/articles/TomcatSecurity/TomcatSecurity.pdf
Cheers,
   Yann


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



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


setting up multiple realms for apps deployed using ant install task?

2003-11-13 Thread Paul Tomsic
How do you set up multiple realms for different
webapps that are installed using ant?
We don't have any context tags in the server.xml
file other than for the manager app.  
Our applications are installed using install from our
build.xml in ant:
http://localhost:8080/manager";
  username="manager" password="manager"
  path="/"
  war="file://${build.home}"/>

Then that app becomes the root application running on
Tomcat.
In our server.xml :

  
   

But we've got other applications that run as 
/appOne
/appTwo
etc.

How would we have these other applications look to
their own realm database for authentication w/o using
 tags?  And if we do need to use 
tags for each application, how do we install using
ANT?

Thanks
Paul



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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



Jasper error compiling some .jsp files

2003-11-13 Thread Wendell Holmes
Hi,

I'm getting Jasper compile errors on a couple of .jsp files, most run fine.
The identical .jsp files compile okay on another machine.  I'm running
Tomcat 4.1.29 with IIS 5.0 on the problem computer.  Included below are
excerpts from both the /edulogweb and localhost log files.  Please note in
the localhost log file that the third line contains "Info: Compile:
javaFileName=C:\tomcat\work\Standalone\localhost\edulogweb\quicklookup\/quic
klookup_jsp.java".  Is the "\/" before the filename a problem?  Where could
this have come from?  

Also, 81 lines down, the javac.exe compiler instructions seem to be
truncated after 1010 bytes. Is this a problem with the path being too long,
or might this be a logger limitation?

Thanks,

Wendell Holmes
Education Logistics, Inc.
owh_at_edulog.com

When I try to access one of these .jsp's I get the following error in the
localhost log file:
*** localhost log file 
2003-11-13 13:44:42 Error compiling file:
C:\tomcat\work\Standalone\localhost\edulogweb\quicklookup\/quicklookup_jsp.j
ava [javac] Compiling 1 source file


2003-11-13 13:44:42 Info: Compile:
javaFileName=C:\tomcat\work\Standalone\localhost\edulogweb\quicklookup\/quic
klookup_jsp.java
 
classpath=/C:/tomcat/webapps/edulogweb/WEB-INF/classes/;/C:/tomcat/webapps/e
dulogweb/WEB-INF/classes/;C:/tomcat/shared/classes/;C:/tomcat/shared/lib/edu
log.jar;C:/tomcat/shared/lib/JFreeChart.jar;C:/tomcat/shared/lib/reports.jar
;C:/tomcat/common/classes/;C:/tomcat/common/endorsed/xercesImpl.jar;C:/tomca
t/common/endorsed/xmlParserAPIs.jar;C:/tomcat/common/lib/activation.jar;C:/t
omcat/common/lib/ant.jar;C:/tomcat/common/lib/commons-collections.jar;C:/tom
cat/common/lib/commons-dbcp-1.1.jar;C:/tomcat/common/lib/commons-logging-api
.jar;C:/tomcat/common/lib/commons-pool-1.1.jar;C:/tomcat/common/lib/jasper-c
ompiler.jar;C:/tomcat/common/lib/jasper-runtime.jar;C:/tomcat/common/lib/jdb
c2_0-stdext.jar;C:/tomcat/common/lib/jndi.jar;C:/tomcat/common/lib/jta.jar;C
:/tomcat/common/lib/mail.jar;C:/tomcat/common/lib/naming-common.jar;C:/tomca
t/common/lib/naming-factory.jar;C:/tomcat/common/lib/naming-resources.jar;C:
/tomcat/common/lib/servlet.jar;C:/tomcat/common/lib/tools.jar
 cp=C:\tomcat\webapps\edulogweb\WEB-INF\classes
 cp=C:\tomcat\webapps\edulogweb\WEB-INF\classes
 cp=C:\tomcat\shared\classes
 cp=C:\tomcat\shared\lib\edulog.jar
 cp=C:\tomcat\shared\lib\JFreeChart.jar
 cp=C:\tomcat\shared\lib\reports.jar
 cp=C:\tomcat\common\classes
 cp=C:\tomcat\common\endorsed\xercesImpl.jar
 cp=C:\tomcat\common\endorsed\xmlParserAPIs.jar
 cp=C:\tomcat\common\lib\activation.jar
 cp=C:\tomcat\common\lib\ant.jar
 cp=C:\tomcat\common\lib\commons-collections.jar
 cp=C:\tomcat\common\lib\commons-dbcp-1.1.jar
 cp=C:\tomcat\common\lib\commons-logging-api.jar
 cp=C:\tomcat\common\lib\commons-pool-1.1.jar
 cp=C:\tomcat\common\lib\jasper-compiler.jar
 cp=C:\tomcat\common\lib\jasper-runtime.jar
 cp=C:\tomcat\common\lib\jdbc2_0-stdext.jar
 cp=C:\tomcat\common\lib\jndi.jar
 cp=C:\tomcat\common\lib\jta.jar
 cp=C:\tomcat\common\lib\mail.jar
 cp=C:\tomcat\common\lib\naming-common.jar
 cp=C:\tomcat\common\lib\naming-factory.jar
 cp=C:\tomcat\common\lib\naming-resources.jar
 cp=C:\tomcat\common\lib\servlet.jar
 cp=C:\tomcat\common\lib\tools.jar
 work dir=C:\tomcat\work\Standalone\localhost\edulogweb
srcDir=C:\tomcat\work\Standalone\localhost\edulogweb
include=quicklookup/quicklookup_jsp.java
Exception compiling Error running javac.exe compiler

2003-11-13 13:44:42 Exception: 
Error running javac.exe compiler
at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExtern
alCompile(DefaultCompilerAdapter.java:451)
at
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.
java:81)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveC

Production Issues

2003-11-13 Thread Arnab Chakravarty
 Hi Shapira and Tomcat Users,
Big apology to u all for this problem in a single thread again. (Its all linked, 
cannot separate them)
It would be pretty obvious from the mail I have wrote in the past about the production 
Issues. This time we have identified some possible areas where we think there is some 
mistake/issues. Before going to that,let me again brief about the Production 
Architecture:
(Please dont talk about versions right now, believe me they are still worth and 
wonderful)
jdk - 1.4.2
apache - 1.3.27
Tomcat - 3.3
ajp version 1.2
4 Solaris boxes - Each Box has 1 Apache - 3 Tomcats making 4 apaches and 12 tomcats in 
all. Please see the enclosed image.
Problem: On a given day of a week, there is lot load on 2 tomcats 4_3 and 1_1 and in 
this sequence. The load balancer setting provided in the worker.properties is:
For Apache 1 - 4_3, 4_2, , 1_2, 1_1 
For Apache 2 - 1_1, 1_2, , 4_2, 4_3 
For Apache 3 - 4_3, 4_2, , 1_2, 1_1 
For Apache 4 - 1_1, 1_2, , 4_2, 4_3 
So if for example, there is high load on this day then 4_3 tomcat will have 290 thread 
in the JVM as the ajp connector module setting is specified to 250. The thread dumps 
indicated 258 threads inside the JVM.
The next tomcat in the list is 1_1 and then if the load still persists 4_2 and then 
1_2 (round robin deaths).
If I were to suppose that mod_jk is doing load balancing effectively then why is it 
that only these specific instances of tomcat or the order is getting spiked (Very 
Strange???). This pattern we have only been able to see after a month of issues and 
analysis. (Other days all the tomcats are happy and so are the clients)
All tomcats have an individual pool with the max and min connections to 100 and 30. 
The number of threads 250 ajp and number of threads evident form Thread Dump 290, 
which seems there is excess threads and starvation only on the spiked tomcat and 
connections become the bottle neck.
So, when the problem occurs the observations are following:
Tomcat 1_1: 290 ]
Tomcat 1_2: 50  ]All web - 1 making 400 connections (Dynamic Scheme!!! which is evil - 
Shapira)
Tomcat 1_3: 50  ]
Tomcat 2_1: 50
Tomcat 2_2: 50
Tomcat 2_3: 50
Tomcat 3_1: 50
Tomcat 3_2: 50
Tomcat 3_3: 50  
Tomcat 4_1: 50  ]
Tomcat 4_2: 50  ]All Web - 4 making 400 connections
Tomcat 4_3: 290 ]
Total DB connections: 600 (from 2 tomcats) + 500 (under peak load) = 1100 connections 
(This makes the application cry till we kill these 2 tomcats) (Allowed connections 
350*4 = 1400)
So, what happens to the site where the application is running, one might ask ?
The apache connections are reached the max count (350) and they start giving 404 error 
to the users and leave us clueless what is going wrong ? Why isn't the load redirected 
to other tomcats who are idle. What is hapenning to the worker.
Overall the things we thought we should do:
- Reduce the ajp connector threads per tomcat from 250 to 175 
- Remove dynamic scheme and use fixed_wait scheme (Point brought by Shapira and our 
think tank here finally)
- Pool Connections should be increased (Yet to be debated???)(Additional 75 thread 
support needed beyond the current pool limit else these 75 will have to wait but then 
for how long???is it good???Threading model of jdk1.4.2 uses LWP synch)
- Change the load balancing scheme, as there is something wrong???

Last but not least, it seems there is only one worker thread per apache to redirect 
the request to all other tomcats using mod_jk. So 4 in all worker threads. Are they 
sufficient to balance the load under these circumstances. If the load is more on 1_1 
or 4_3, can there be a case when out of these 4, 1 or 2 may have died and the 
remaining ones are all redirecting to only 4_3 (Just a coincidence). If this is the 
case then case is a worse scenario. No one has raised this issue in my team, but today 
while going through the architecture this was evident. Secondly, if we increase the 
number of worker threads, can we see any improvements.
I need some good explanations about what the worked threads does??How does it balance 
the load??
I know this may sound very strange but any comments/suggestions from anyone from this 
list would be appreciated.
Special thanks to shapira for answering my previous questions and hope he will 
continue.
~Arnab


How to retreive an application context path from a servlet init()

2003-11-13 Thread Heritier Arnaud
Hi guys !!

I have a Struts application and I extend the ActionServlet.
In the init(ServletConfig) method I would like to retreive the context path of the 
application where the servlet is used.
I didn't find a solution.
Am I stupid or too tired??

Do you have a standard servlet or a Struts specific solution to acheive this ???

Thanx in advance.

Arnaud H.


Re: [Off-Topic] Recommendation for Tomcat Security book

2003-11-13 Thread Yann Cébron

> Are there any recommendations for a tomcat security book?  I've found this
> one on amazon.com, but there are no reviews on the book so I thought I
would
> run it by the list first before I buy itany other suggestions
> Thanx for any insight
>
>
>
>
http://www.amazon.com/exec/obidos/tg/detail/-/1861008309/104-7975513-6438339
> ?v=glance
>
 9?v=glance>
>

Chapter 1 from this book is available @ TSS:
http://www.theserverside.com/resources/articles/TomcatSecurity/TomcatSecurity.pdf

Cheers,
Yann




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



[Off-Topic] Recommendation for Tomcat Security book

2003-11-13 Thread RPITRE
Are there any recommendations for a tomcat security book?  I've found this
one on amazon.com, but there are no reviews on the book so I thought I would
run it by the list first before I buy itany other suggestions
Thanx for any insight

 

http://www.amazon.com/exec/obidos/tg/detail/-/1861008309/104-7975513-6438339
?v=glance
 

 

 

 

 



Re: SessionListener

2003-11-13 Thread Jean-Francois Arcand


Peter Maas wrote:

Hi,

I wondered if there is a way detect somehting like a 
'sessionWillBeDestroyed' event.
since the sessionDestroyed method in a sessionListener seems to be 
called after the session was destroyed. 
Use Tomcat 5 ;-) The Servlet spec has been modified to do exactly what 
you want.

-- Jeanfrancois



Peter

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



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


RE: Listen on specific ip address....

2003-11-13 Thread RPITRE
Sorry if I was a little vague.i was sorta just ramblin' onsorry bout
thatmy server has 3 ip addresses, 2 are in use for two other webapps on
iisand the third needs to be used by my tomcat webappwhen I add
address="192.168.2.100" and change the port to 80 on the connector
elementtomcat picks on all three ip addressesmake more sense???




-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 2:39 PM
To: Tomcat Users List
Subject: RE: Listen on specific ip address


Howdy,
Do you mean listen only on that IP address (i.e. your server has
multiple IP addresses) or accept connections only from a certain IP
address?  The latter can be done with the RemoteAddressFilter that ships
with tomcat.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 13, 2003 2:38 PM
>To: [EMAIL PROTECTED]
>Subject: Listen on specific ip address
>
>Hello All and thanx in advance for any help
>
>
>
>I need my webapp to listen on port 80 on a specific ip
address..this
>box
>that I have tomcat installed on, also has IIS installed.when I
added
>"address="192.168.100.25" and changed port="8080" to port="80" on the
>connector string below, tomcat picked up all of the requests for all ip
>addresses..how can tell my webapp to listen on specific IP
>address...Also, this is the only webapp on tomcat.also, if this
>helps, this wepapp is a commercial product called
>"MailFrontier"..and the weird thing is, this is the only webapp
>installed on tomcat, and it's war file is called ROOT.war and inside
the
>server.xml file, there are no contexts setup.any ideas on how
to
>make this webapp listen on address="192.168.100.25" and port="80"
i'm
>stumped...do I need to specify the ip address in the "host"
>element.
>
>
>
>
>
>
>
>
>
> 
>address="192.168.100.25" port="80"
>minProcessors="5" maxProcessors="75"
>
>enableLookups="false" redirectPort="8443"
>
>acceptCount="100" debug="0" connectionTimeout="2"
>
>useURIValidationHack="false"
disableUploadTimeout="true" />
>
>
>
>
>
>  autoDeploy="true">




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


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


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



Re: Web App authentication

2003-11-13 Thread Jean-Francois Arcand
Yes, just define two , one for the FORM and one for 
BASIC and use a different url-pattern. The problem is they will have 2 
different url pattenr which may not be convenient for your users.

-- Jeanfrancois

Matthew Oatham wrote:

Hi,

Is it possible to have a web app that uses both FORM and BASIC 
authentication or can only 1 be used ?

Thanks

Matt

_
On the move? Get Hotmail on your mobile phone 
http://www.msn.co.uk/msnmobile

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



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


RE: Listen on specific ip address....

2003-11-13 Thread Shapira, Yoav

Howdy,
Do you mean listen only on that IP address (i.e. your server has
multiple IP addresses) or accept connections only from a certain IP
address?  The latter can be done with the RemoteAddressFilter that ships
with tomcat.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 13, 2003 2:38 PM
>To: [EMAIL PROTECTED]
>Subject: Listen on specific ip address
>
>Hello All and thanx in advance for any help
>
>
>
>I need my webapp to listen on port 80 on a specific ip
address..this
>box
>that I have tomcat installed on, also has IIS installed.when I
added
>"address="192.168.100.25" and changed port="8080" to port="80" on the
>connector string below, tomcat picked up all of the requests for all ip
>addresses..how can tell my webapp to listen on specific IP
>address...Also, this is the only webapp on tomcat.also, if this
>helps, this wepapp is a commercial product called
>"MailFrontier"..and the weird thing is, this is the only webapp
>installed on tomcat, and it's war file is called ROOT.war and inside
the
>server.xml file, there are no contexts setup.any ideas on how
to
>make this webapp listen on address="192.168.100.25" and port="80"
i'm
>stumped...do I need to specify the ip address in the "host"
>element.
>
>
>
>
>
>
>
>
>
> 
>address="192.168.100.25" port="80"
>minProcessors="5" maxProcessors="75"
>
>enableLookups="false" redirectPort="8443"
>
>acceptCount="100" debug="0" connectionTimeout="2"
>
>useURIValidationHack="false"
disableUploadTimeout="true" />
>
>
>
>
>
>  autoDeploy="true">




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


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



Listen on specific ip address....

2003-11-13 Thread RPITRE
Hello All and thanx in advance for any help

 

I need my webapp to listen on port 80 on a specific ip address..this box
that I have tomcat installed on, also has IIS installed.when I added
"address="192.168.100.25" and changed port="8080" to port="80" on the
connector string below, tomcat picked up all of the requests for all ip
addresses..how can tell my webapp to listen on specific IP
address...Also, this is the only webapp on tomcat.also, if this
helps, this wepapp is a commercial product called
"MailFrontier"..and the weird thing is, this is the only webapp
installed on tomcat, and it's war file is called ROOT.war and inside the
server.xml file, there are no contexts setup.any ideas on how to
make this webapp listen on address="192.168.100.25" and port="80" i'm
stumped...do I need to specify the ip address in the "host"
element.

 

 

 

 

 

 

 

  



Re: OT -mx64m option

2003-11-13 Thread Christopher Schultz
Chiming,
Just a quick question.  Is JVM (1.3.1) going to allocate as much as
memory for Tomcat (4.1.24) if there is not a "-mx" option provided?
JVMs on various platforms have different defaults. I seem to rcall that
the old Linux defaults for Sun's JVM was a 16MB heap, but that has been
changed to 64MB in more recent versions.
If you do not specify -mx, then you will get whatever the defaults are.
You can use Runtime.maxMemory() to find out what maximum heap size that
Java will use. Note that it's the Java heap size; the JVM takes some
memory of its own to run, so the in-memory footprint of the JVM might be
larger than what you specify for -mx.
-chris

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


OT -mx64m option

2003-11-13 Thread Chiming Huang
Hi,
 
Just a quick question.  Is JVM (1.3.1) going to allocate as much as memory for Tomcat 
(4.1.24) if there is not a "-mx" option provided?
 
Thanks
 
Chiming


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

RE: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Dennis McRitchie
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html

> -Original Message-
> From: Dave Morrow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 1:19 PM
> To: 'Tomcat Users List'
> Subject: Integrating Tomcat 4.1.29 with Apache 2
>
>
> Hi all, well, as seen by my previous posting, I have finally gotten
> mod_jk2.so and jkjni.so installed.
>
> Does anyone have an idiots guide to getting Apache and Tomcat working
> together. A basic configuration is all I need.
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED] 
>
> ..poor planning on your part does not make an emergency on my
> part
>
>  This message has originated from Autodata Solutions.  The
> attached material
> is the Confidential and Proprietary Information of Autodata
> Solutions. This
> email and any files transmitted with it are confidential and
> intended solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and
> notify the
> Autodata system administrator at  [EMAIL PROTECTED]
>  >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



JDBC Realm hangs

2003-11-13 Thread lists
Hello,

I am running tomcat 4.1.27 on windows 2000 server with sql server 7 in 
production.  Using the JDBC Realm to manage the login.  The login works 
just fine but then after some time it hangs up.  The login page is 
served so I know tomcat is still running but once the user types in the 
username and password nothing happens.  Anybody have any ideas on how I 
can diagnose this problem.  There are no error messages.  Once I reboot 
the server the problem goes away for an indeterminate amount of time 
and then comes back.

thanks

Matt

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


RE: Looking for mod_jk2

2003-11-13 Thread Dennis McRitchie
Ah, I had not noticed the versions of those files in the apache lib dir
because we built our own from sources and did not install from an rpm
package on that machine. But thanks for pointing that out as it may help
explain another problem I was having: when I built apache2 from sources on a
machine that had the httpd-devel, subversion, and subversion-devel packages
installed (which collectively provide a number /usr/lib/libapr*.so* files),
and then created a binary rpm from that, the binary rpm - once installed -
would not run on another machine that did not have /usr/lib/libapr*.so*
files available. Perhaps "configure" found those APR libraries at build
time, and chose to use them over its own internal copies.

Whereas if I built apache2 and created a binary rpm on a machine without any
/usr/lib/libapr*.so* files, that binary rpm was portable to other RedHat 9
systems, perhaps because it relied on its own internal copies of these
files. I'll investigate further. Thanks for the hint.

Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University

> -Original Message-
> From: Mark Eggers [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 1:00 PM
> To: Tomcat Users List
> Subject: RE: Looking for mod_jk2
>
>
> Dave,
>
> The linker is looking for libapr-0.so.  I don't know
> what you used in your ./configure run.
>
> On some installations the link between the current
> version of libapr and libapr-0.so (and libapr-0.so.0)
> does not get made when Apache is installed.  This
> appears to be mostly a problem with the RedHat RPM
> distribution.
>
> You may find that to be true also with libaprutil.
>
> To solve those problems, do the following.
>
> 1. cd to the Apache lib directory
> 2. soft link the current libs to the base names
> 3. cd back to the source directory
> 4. rerun configure (to make sure)
> 5. run make
>
> For example:
>
> (1) cd /home/apache/lib
> (2) ln -s libapr-0.so.0.9.4 libapr-0.so
> ln -s libapr-0.so.0.9.4 libapr-0.so.0
> ln -s libaprutil-so.0.9.4 libaprutil-so
> ln -s libaprutil-so.0.9.4 libaprutil-so.0
> (3) cd /src/jakarta-tomcat-connectors/jk/native2
> (4) ./configure
> (5) make
>
> Note that you will not need jkjni.so unless you
> attempt to run either UNIX sockets or in-process
> communication.  IP sockets work fine without the
> library.
>
> The last time I tried UNIX sockets or in-process
> communication on RedHat Linux 9 I was unsuccessful.
> There are some linking problems that I think have more
> to do with the way Redhat lays out their system via
> RPMs than the code.
>
> I recently checked out the latest versions of the
> connectors, apr, and apr-util from cvs.apache.org.  I
> may try UNIX sockets and in-process communication
> again.  However, since this is a development machine,
> I  am fine with the IP socket connection.
>
> HTH.
>
> /mde/
> just my two cents . . . .
>
> __
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Roberto Bottoni - AfterBit \(TMP\)
Sorry I have Debian .. and some little problems!

- Original Message - 
From: "Dave Morrow" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 7:33 PM
Subject: RE: Integrating Tomcat 4.1.29 with Apache 2


> Redhat 9
>
> Tomcat and Apache are both functioning.
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED]
>
> ..poor planning on your part does not make an emergency on my
> part
>
>  This message has originated from Autodata Solutions.  The attached
material
> is the Confidential and Proprietary Information of Autodata Solutions.
This
> email and any files transmitted with it are confidential and intended
solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and notify
the
> Autodata system administrator at  [EMAIL PROTECTED]
> 
>
>
>
>
> -Original Message-
> From: Roberto Bottoni - AfterBit (TMP) [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 1:33 PM
> To: Tomcat Users List
> Subject: Re: Integrating Tomcat 4.1.29 with Apache 2
>
>
> What linux box you have?
>
> - Original Message - 
> From: "Dave Morrow" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Thursday, November 13, 2003 7:19 PM
> Subject: Integrating Tomcat 4.1.29 with Apache 2
>
>
> > Hi all, well, as seen by my previous posting, I have finally gotten
> > mod_jk2.so and jkjni.so installed.
> >
> > Does anyone have an idiots guide to getting Apache and Tomcat working
> > together. A basic configuration is all I need.
> >
> > David Morrow
> > Systems Technical Lead, IT Operations
> > P: (519) 951-6079
> > F: (519) 451-6615
> > mailto: [EMAIL PROTECTED] 
> >
> > ..poor planning on your part does not make an emergency on my
> > part
> >
> >  This message has originated from Autodata Solutions.  The attached
> material
> > is the Confidential and Proprietary Information of Autodata Solutions.
> This
> > email and any files transmitted with it are confidential and intended
> solely
> > for the use of the individual or entity to whom they are addressed. If
> > you have received this email in error please delete this message and
> > notify
> the
> > Autodata system administrator at  [EMAIL PROTECTED]
> > 
> > >
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



RE: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Dave Morrow
Redhat 9

Tomcat and Apache are both functioning.

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Roberto Bottoni - AfterBit (TMP) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 1:33 PM
To: Tomcat Users List
Subject: Re: Integrating Tomcat 4.1.29 with Apache 2


What linux box you have?

- Original Message - 
From: "Dave Morrow" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 7:19 PM
Subject: Integrating Tomcat 4.1.29 with Apache 2


> Hi all, well, as seen by my previous posting, I have finally gotten 
> mod_jk2.so and jkjni.so installed.
>
> Does anyone have an idiots guide to getting Apache and Tomcat working 
> together. A basic configuration is all I need.
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED] 
>
> ..poor planning on your part does not make an emergency on my 
> part
>
>  This message has originated from Autodata Solutions.  The attached
material
> is the Confidential and Proprietary Information of Autodata Solutions.
This
> email and any files transmitted with it are confidential and intended
solely
> for the use of the individual or entity to whom they are addressed. If 
> you have received this email in error please delete this message and 
> notify
the
> Autodata system administrator at  [EMAIL PROTECTED] 
>  
> >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

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



Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Roberto Bottoni - AfterBit \(TMP\)
What linux box you have?

- Original Message - 
From: "Dave Morrow" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 7:19 PM
Subject: Integrating Tomcat 4.1.29 with Apache 2


> Hi all, well, as seen by my previous posting, I have finally gotten
> mod_jk2.so and jkjni.so installed.
>
> Does anyone have an idiots guide to getting Apache and Tomcat working
> together. A basic configuration is all I need.
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED] 
>
> ..poor planning on your part does not make an emergency on my
> part
>
>  This message has originated from Autodata Solutions.  The attached
material
> is the Confidential and Proprietary Information of Autodata Solutions.
This
> email and any files transmitted with it are confidential and intended
solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and notify
the
> Autodata system administrator at  [EMAIL PROTECTED]
>  >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Dave Morrow
Hi all, well, as seen by my previous posting, I have finally gotten
mod_jk2.so and jkjni.so installed.

Does anyone have an idiots guide to getting Apache and Tomcat working
together. A basic configuration is all I need.

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]  
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]
 >




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



RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
I actually got it to compile by ;

ln -s /usr/lib/libapr-0.so /usr/lib/libapr.so

Now I have, in /usr/lib/httpd/modules both mod_jk2.so and jkjni.so


Now to making Apache talk to Tomcat!


David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dennis McRitchie [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 12:56 PM
To: Tomcat Users List
Subject: RE: Looking for mod_jk2


On my RedHat 9 system, this library (/usr/lib/libapr-0.a) is provided by the
subversion-devel package, which I'm guessing you don't have installed on
your system. This package also contains /usr/lib/libaprutil-0.a

> rpm -q --whatprovides /usr/lib/libapr-0.a
subversion-devel-0.17.1-4503.0

This seems like a weird requirement to build jkjni.so since Subversion is a
CVS-like version control system package and subversion-devel is for
developers interacting with the subversion package.

Note BTW that /usr/lib/libapr.so and libaprutil.so are provided by
http-devel instead.

Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University

> -Original Message-
> From: Dave Morrow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 11:45 AM
> To: 'Tomcat Users List'
> Subject: RE: Looking for mod_jk2
>
>
> ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o 
> ../../../build/jk2/apache2/.libs/jkjni.so
> /usr/bin/ld: cannot find -lapr-0
> collect2: ld returned 1 exit status
> make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
> make[1]: Leaving directory 
> `/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apach
> e2'
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED]
>
> ..poor planning on your part does not make an emergency on my 
> part
>
>  This message has originated from Autodata Solutions.  The attached 
> material is the Confidential and Proprietary Information of Autodata
> Solutions. This
> email and any files transmitted with it are confidential and
> intended solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and
> notify the
> Autodata system administrator at  [EMAIL PROTECTED]
> 
>
>
>
>
> -Original Message-
> From: Dave Morrow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 11:39 AM
> To: 'Tomcat Users List'
> Subject: RE: Looking for mod_jk2
>
>
> Thanks for the tip.  I have been through your procedure, and cannot 
> get it to compile.
>
>
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED]
>
> ..poor planning on your part does not make an emergency on my 
> part
>
>  This message has originated from Autodata Solutions.  The attached 
> material is the Confidential and Proprietary Information of Autodata
> Solutions. This
> email and any files transmitted with it are confidential and
> intended solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and
> notify the
> Autodata system administrator at  [EMAIL PROTECTED]
> 
>
>
>
>
> -Original Message-
> From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 8:54 PM
> To: Tomcat Users List
> Subject: Re: Looking for mod_jk2
>
>
> Hi Dave,
>
> The compile is not really so difficult. I've written a section on this 
> on my website : http://cymulacrum.net/tomcat/jk2_compile.html.
>
> Regards,
> pascal chong
>
>
> Dave Morrow wrote:
>
> >Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / 
> >Apache 2 RPM binary. Anyone know where I can get one.  I really do 
> >not want to have to compile etc (requires ant and the likes which I 
> >am not familiar with).
> >
> >David Morrow
> >Systems Technical Lead, IT Operations
> >P: (519) 951-6079
> >F: (519) 451-6615
> >mailto: [EMAIL PROTECTED] 
> >
> >..poor planning on your part does not make an emergency on my 
> >part
> >
> > This message has originated from Autodata Solutions.  The attached 
> >material is the Confidential and Proprietary Information of Autodata 
> >

RE: How to turn on mod_jk2 logging

2003-11-13 Thread Dennis McRitchie
Thanks Mark! That did the trick.

Unfortunately, when my uri doesn't match, I still get no logging, but I
think that's because of the way that my request bails out of jk2_handler().
So I'll have to build it myself and put in some more logging.

Thanks again.

Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University

> -Original Message-
> From: Mark Eggers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 5:43 PM
> To: Tomcat Users List
> Subject: Re: How to turn on mod_jk2 logging
>
>
> From my config file on the Windows/2000 Pro side:
>
> # Alternate file logger
> [logger.file:0]
> # level=DEBUG
> file=${serverRoot}/logs/jk2.log
>
> [workerEnv:]
> info=Global server options
> timing=1
> debug=0
> # Default Native Logger (apache2 or win32 )
> # can be overriden to a file logger, useful
> # when tracing win32 related issues
> logger=logger.file:0
>
>
> Hope this helps
>
> /mde/
> . . . . just my two cents
>
> __
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



RE: Looking for mod_jk2

2003-11-13 Thread Mark Eggers
Dave,

The linker is looking for libapr-0.so.  I don't know
what you used in your ./configure run.

On some installations the link between the current
version of libapr and libapr-0.so (and libapr-0.so.0)
does not get made when Apache is installed.  This
appears to be mostly a problem with the RedHat RPM
distribution.

You may find that to be true also with libaprutil.

To solve those problems, do the following.

1. cd to the Apache lib directory
2. soft link the current libs to the base names
3. cd back to the source directory
4. rerun configure (to make sure)
5. run make

For example:

(1) cd /home/apache/lib
(2) ln -s libapr-0.so.0.9.4 libapr-0.so
ln -s libapr-0.so.0.9.4 libapr-0.so.0
ln -s libaprutil-so.0.9.4 libaprutil-so
ln -s libaprutil-so.0.9.4 libaprutil-so.0
(3) cd /src/jakarta-tomcat-connectors/jk/native2
(4) ./configure
(5) make

Note that you will not need jkjni.so unless you
attempt to run either UNIX sockets or in-process
communication.  IP sockets work fine without the
library.

The last time I tried UNIX sockets or in-process
communication on RedHat Linux 9 I was unsuccessful. 
There are some linking problems that I think have more
to do with the way Redhat lays out their system via
RPMs than the code.

I recently checked out the latest versions of the
connectors, apr, and apr-util from cvs.apache.org.  I
may try UNIX sockets and in-process communication
again.  However, since this is a development machine,
I  am fine with the IP socket connection.

HTH.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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



problems with the web.xml file

2003-11-13 Thread crow none
Hi i`m sorry to bother you but i vae a problem with the web.xml, i want to
configure the http access,using the security constraint item ,but when i do
it and start tomcat an error like this appears.
ERROR   reading java.io.FileInputStream at line 20
/web-app/security-constraint
If someone could help me i`d really appreciate it,thanks.
q

_
Únete al mayor servicio mundial de correo electrónico:  
http://www.hotmail.com

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


RE: Looking for mod_jk2

2003-11-13 Thread Dennis McRitchie
On my RedHat 9 system, this library (/usr/lib/libapr-0.a) is provided by the
subversion-devel package, which I'm guessing you don't have installed on
your system. This package also contains /usr/lib/libaprutil-0.a

> rpm -q --whatprovides /usr/lib/libapr-0.a
subversion-devel-0.17.1-4503.0

This seems like a weird requirement to build jkjni.so since Subversion is a
CVS-like version control system package and subversion-devel is for
developers interacting with the subversion package.

Note BTW that /usr/lib/libapr.so and libaprutil.so are provided by
http-devel instead.

Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University

> -Original Message-
> From: Dave Morrow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 11:45 AM
> To: 'Tomcat Users List'
> Subject: RE: Looking for mod_jk2
>
>
> ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o
> ../../../build/jk2/apache2/.libs/jkjni.so
> /usr/bin/ld: cannot find -lapr-0
> collect2: ld returned 1 exit status
> make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
> make[1]: Leaving directory
> `/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED]
>
> ..poor planning on your part does not make an emergency on my
> part
>
>  This message has originated from Autodata Solutions.  The
> attached material
> is the Confidential and Proprietary Information of Autodata
> Solutions. This
> email and any files transmitted with it are confidential and
> intended solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and
> notify the
> Autodata system administrator at  [EMAIL PROTECTED]
> 
>
>
>
>
> -Original Message-
> From: Dave Morrow [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 11:39 AM
> To: 'Tomcat Users List'
> Subject: RE: Looking for mod_jk2
>
>
> Thanks for the tip.  I have been through your procedure, and cannot get it
> to compile.
>
>
>
> David Morrow
> Systems Technical Lead, IT Operations
> P: (519) 951-6079
> F: (519) 451-6615
> mailto: [EMAIL PROTECTED]
>
> ..poor planning on your part does not make an emergency on my
> part
>
>  This message has originated from Autodata Solutions.  The
> attached material
> is the Confidential and Proprietary Information of Autodata
> Solutions. This
> email and any files transmitted with it are confidential and
> intended solely
> for the use of the individual or entity to whom they are addressed. If you
> have received this email in error please delete this message and
> notify the
> Autodata system administrator at  [EMAIL PROTECTED]
> 
>
>
>
>
> -Original Message-
> From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 8:54 PM
> To: Tomcat Users List
> Subject: Re: Looking for mod_jk2
>
>
> Hi Dave,
>
> The compile is not really so difficult. I've written a section on this
> on my website : http://cymulacrum.net/tomcat/jk2_compile.html.
>
> Regards,
> pascal chong
>
>
> Dave Morrow wrote:
>
> >Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 /
> >Apache 2 RPM binary. Anyone know where I can get one.  I really do not
> >want to have to compile etc (requires ant and the likes which I am not
> >familiar with).
> >
> >David Morrow
> >Systems Technical Lead, IT Operations
> >P: (519) 951-6079
> >F: (519) 451-6615
> >mailto: [EMAIL PROTECTED] 
> >
> >..poor planning on your part does not make an emergency on my
> >part
> >
> > This message has originated from Autodata Solutions.  The attached
> >material is the Confidential and Proprietary Information of Autodata
> >Solutions. This email and any files transmitted with it are
> >confidential and intended solely for the use of the individual or
> >entity to whom they are addressed. If you have received this email in
> >error please delete this message and notify the Autodata system
> >administrator at  [EMAIL PROTECTED]
> >
> >>
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: problems with the web.xml

2003-11-13 Thread Tim Funk
Validate your web.xml against the dtd.

-Tim

crow none wrote:

Hi i`m sorry to bother you but i vae a problem with the web.xml, i want to
configure the http access,using the security constraint item ,but when i do
it and start tomcat an error like this appears.
ERROR   reading java.io.FileInputStream at line 20
/web-app/security-constraint


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


problems with the web.xml

2003-11-13 Thread crow none
Hi i`m sorry to bother you but i vae a problem with the web.xml, i want to
configure the http access,using the security constraint item ,but when i do
it and start tomcat an error like this appears.
ERROR   reading java.io.FileInputStream at line 20
/web-app/security-constraint
If someone could help me i`d really appreciate it,thanks.

_
MSN Fotos: la forma más fácil de compartir e imprimir fotos.  
http://photos.msn.es/support/worldwide.aspx

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


Apache 2 and Tomcat 4.1.29

2003-11-13 Thread Roberto Bottoni - AfterBit \(TMP\)
I have a Linux box (Debian 3.0) with Apache 2 and Tomcat 4.1.29

I have compiled mod_jk2.so. When i start tomcat i get this logs :

Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
Nov 13, 2003 6:07:57 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Nov 13, 2003 6:07:57 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Nov 13, 2003 6:07:57 PM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
Nov 13, 2003 6:08:01 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /127.0.0.1:8009
Nov 13, 2003 6:08:01 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/230
config=/usr/local/jakarta-tomcat-4.1.29/conf/jk2.properties


then starting apache i get :

[Thu Nov 13 18:08:42 2003] [notice] config.update(): done logger.apache2
[Thu Nov 13 18:08:42 2003] [notice] config.update(): done shm
[Thu Nov 13 18:08:42 2003] [notice] config.update(): done
channel.socket:localhost:8009
[Thu Nov 13 18:08:42 2003] [notice] config.update(): done
ajp13:localhost:8009
[Thu Nov 13 18:08:42 2003] [notice] Apache/2.0.48 (Unix) mod_jk2/2.0.3-dev
configured -- resuming normal operations
[Thu Nov 13 18:08:42 2003] [notice] jk2_init() Found child 1976 in
scoreboard slot 0
[Thu Nov 13 18:08:42 2003] [notice] workerEnv.init() ok
/etc/apache2/conf/workers2.properties
[Thu Nov 13 18:08:42 2003] [notice] mod_jk child 0 initialized
[Thu Nov 13 18:08:42 2003] [notice] jk2_init() Found child 1977 in
scoreboard slot 1
[Thu Nov 13 18:08:42 2003] [notice] workerEnv.init() ok
/etc/apache2/conf/workers2.properties
[Thu Nov 13 18:08:42 2003] [notice] jk2_init() Found child 1980 in
scoreboard slot 4
[Thu Nov 13 18:08:42 2003] [notice] workerEnv.init() ok
/etc/apache2/conf/workers2.properties
[Thu Nov 13 18:08:42 2003] [notice] jk2_init() Found child 1979 in
scoreboard slot 3
[Thu Nov 13 18:08:42 2003] [notice] workerEnv.init() ok
/etc/apache2/conf/workers2.properties
[Thu Nov 13 18:08:42 2003] [notice] jk2_init() Found child 1978 in
scoreboard slot 2
[Thu Nov 13 18:08:42 2003] [notice] workerEnv.init() ok
/etc/apache2/conf/workers2.properties
[Thu Nov 13 18:09:34 2003] [notice] jk2_init() Found child 1995 in
scoreboard slot 5
[Thu Nov 13 18:09:34 2003] [notice] workerEnv.init() ok
/etc/apache2/conf/workers2.properties


but if I load a jsp page I get it as an HTML page.

Where is the error?

Thanks!
Roberto



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



RE: Looking for mod_jk2

2003-11-13 Thread Stuart Stephen
Oh yes... read it incorrectly! Sorry!

-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 17:17
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


Well, I managed to build mod_jk2.so but not the jkjni.so library.

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 12:03 PM
To: Tomcat Users List
Subject: RE: Looking for mod_jk2


Are you on RedHat 9?

I had the same problem, I couldn't build mod_jk2.so on that. It seems to be
an issue with RedHat 9.0?!? Why, i'm not sure.

-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 16:59
To: Dave Morrow; 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


It appears that my build is building mod_jk2.so but not jkjni.so Anyone
willing to assist?

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow
Sent: Thursday, November 13, 2003 11:45 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o
../../../build/jk2/apache2/.libs/jkjni.so
/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 11:39 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


Thanks for the tip.  I have been through your procedure, and cannot get it
to compile.



David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: Looking for mod_jk2


Hi Dave,

The compile is not really so difficult. I've written a section on this on my
website : http://cymulacrum.net/tomcat/jk2_compile.html.

Regards,
pascal chong


Dave Morrow wrote:

>Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 /
>Apache 2 RPM binary. Anyone know where I can get one.  I really do not
>want to have to compile etc (requires ant and the likes which I am not
>familiar with).
>
>David Morrow
>Systems Technical Lead, IT Operations
>P: (519) 951-6079
>F: (519) 451-6615
>mailto: [EMAIL PROTECTED] 
>
>..poor planning on your part does not make a

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
Well, I managed to build mod_jk2.so but not the jkjni.so library.

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Stuart Stephen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 12:03 PM
To: Tomcat Users List
Subject: RE: Looking for mod_jk2


Are you on RedHat 9?

I had the same problem, I couldn't build mod_jk2.so on that. It seems to be
an issue with RedHat 9.0?!? Why, i'm not sure.

-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 16:59
To: Dave Morrow; 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


It appears that my build is building mod_jk2.so but not jkjni.so Anyone
willing to assist?

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow
Sent: Thursday, November 13, 2003 11:45 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o
../../../build/jk2/apache2/.libs/jkjni.so
/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 11:39 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


Thanks for the tip.  I have been through your procedure, and cannot get it
to compile.



David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: Looking for mod_jk2


Hi Dave,

The compile is not really so difficult. I've written a section on this on my
website : http://cymulacrum.net/tomcat/jk2_compile.html.

Regards,
pascal chong


Dave Morrow wrote:

>Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / 
>Apache 2 RPM binary. Anyone know where I can get one.  I really do not 
>want to have to compile etc (requires ant and the likes which I am not 
>familiar with).
>
>David Morrow
>Systems Technical Lead, IT Operations
>P: (519) 951-6079
>F: (519) 451-6615
>mailto: [EMAIL PROTECTED] 
>
>..poor planning on your part does not make an emergency on my 
>part
>
> This message has originated from Autodata Solutions.  The attached 
>material is the Confidential and Proprietary Information of Autodata 
>Solutions. This 

Re: concurrent user threading problem

2003-11-13 Thread Christopher Schultz
Mufaddal,
I might be wrong, but maybe compiling tomcat or / and
compiling your webapp with a compiler that does optimizations for a 
hyperthreaded environment might solve the issue. If you are doing some 
tests in this regards and have results do let me know.
It's not Tomcat that would have to be recompiled, but the JVM or, more 
importantly, the JIT. Good luck with that! I had some colleagues that 
were in the Sun "no-holds-barred" developer group that could download 
the source code to the VMs and JITs. Unfortunately, the code they let 
you download wasn't compilable. :(

I think you'll have to wait for support from Sun/IBM or the OS supported 
(which may actually be Sun or IBM, depending on the architecture).

-chris

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


RE: Looking for mod_jk2

2003-11-13 Thread Stuart Stephen
Are you on RedHat 9?

I had the same problem, I couldn't build mod_jk2.so on that. It seems to be
an issue with RedHat 9.0?!? Why, i'm not sure.

-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 16:59
To: Dave Morrow; 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


It appears that my build is building mod_jk2.so but not jkjni.so
Anyone willing to assist?

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow
Sent: Thursday, November 13, 2003 11:45 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o
../../../build/jk2/apache2/.libs/jkjni.so
/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 11:39 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


Thanks for the tip.  I have been through your procedure, and cannot get it
to compile.



David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]

..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: Looking for mod_jk2


Hi Dave,

The compile is not really so difficult. I've written a section on this
on my website : http://cymulacrum.net/tomcat/jk2_compile.html.

Regards,
pascal chong


Dave Morrow wrote:

>Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 /
>Apache 2 RPM binary. Anyone know where I can get one.  I really do not
>want to have to compile etc (requires ant and the likes which I am not
>familiar with).
>
>David Morrow
>Systems Technical Lead, IT Operations
>P: (519) 951-6079
>F: (519) 451-6615
>mailto: [EMAIL PROTECTED] 
>
>..poor planning on your part does not make an emergency on my
>part
>
> This message has originated from Autodata Solutions.  The attached
>material is the Confidential and Proprietary Information of Autodata
>Solutions. This email and any files transmitted with it are
>confidential and intended solely for the use of the individual or
>entity to whom they are addressed. If you have received this email in
>error please delete this message and notify the Autodata system
>administrator at  [EMAIL PROTECTED]
>
>>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>


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

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


RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
It appears that my build is building mod_jk2.so but not jkjni.so
Anyone willing to assist?

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow 
Sent: Thursday, November 13, 2003 11:45 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o
../../../build/jk2/apache2/.libs/jkjni.so
/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 11:39 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


Thanks for the tip.  I have been through your procedure, and cannot get it
to compile.



David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: Looking for mod_jk2


Hi Dave,

The compile is not really so difficult. I've written a section on this 
on my website : http://cymulacrum.net/tomcat/jk2_compile.html.

Regards,
pascal chong


Dave Morrow wrote:

>Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / 
>Apache 2 RPM binary. Anyone know where I can get one.  I really do not 
>want to have to compile etc (requires ant and the likes which I am not 
>familiar with).
>
>David Morrow
>Systems Technical Lead, IT Operations
>P: (519) 951-6079
>F: (519) 451-6615
>mailto: [EMAIL PROTECTED] 
> 
>..poor planning on your part does not make an emergency on my 
>part
>
> This message has originated from Autodata Solutions.  The attached 
>material is the Confidential and Proprietary Information of Autodata 
>Solutions. This email and any files transmitted with it are 
>confidential and intended solely for the use of the individual or 
>entity to whom they are addressed. If you have received this email in 
>error please delete this message and notify the Autodata system 
>administrator at  [EMAIL PROTECTED] 
>
>>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


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

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

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



RE: AW: How to get the list of active sessions?

2003-11-13 Thread Shapira, Yoav

Howdy,
You can write an HttpSessionListener.  Or you can write a servlet which access the 
tomcat-specific data structures that hold sessions.  The latter would need to run in 
the common classloader repository and be marked as privileged.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 13, 2003 11:40 AM
>To: Tomcat Users List
>Subject: Re: AW: How to get the list of active sessions?
>
>
>but is there any way to do that programmatically eg in a servlet?
>
>Cheers,
>
>David
>
>
>
>
>"Markus Heussen" <[EMAIL PROTECTED]> on 13/11/2003 04:23:32 AM
>
>Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
>
>To:"Tomcat Users List" <[EMAIL PROTECTED]>
>cc:
>Subject:AW: How to get the list of active sessions?
>
>
>look at http://localhost:8080/manager/html
>
>
>-Ursprüngliche Nachricht-
>Von: Zsolt Koppany
>Gesendet: Donnerstag, 13. November 2003 10:12
>An: Tomcat Users List
>Betreff: How to get the list of active sessions?
>
>
>Hi,
>
>I would like to know how is currently logged in, thus I need the list the
>active sessions. How can I cet that?
>
>Zsolt
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>




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


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



Re: concurrent user threading problem

2003-11-13 Thread Mufaddal Khumri
Hi Tamsin:

I might face the same problem like you did. I am just wondering if you 
are still trying to find a way to make your webapp run on the new 
hardware with hyperthreading turned on? If yes, what if the compiler 
used to compile your code wasnt optimised for a hyperthreaded 
environment ? I might be wrong, but maybe compiling tomcat or / and 
compiling your webapp with a compiler that does optimizations for a 
hyperthreaded environment might solve the issue. If you are doing some 
tests in this regards and have results do let me know.

Thanks.

On Thursday, November 13, 2003, at 05:21  AM, tamsin wrote:

phew. problem resolved!

for info, we switched the kernel on the new server to use a single
processor (no hyperthreading) and it is now fine.
very strange that the problem occured though, i don't know what part of
the system didn't like the hyperthreading.
tamsin



hi all,
orry for the long mail; i'm at my witts end here, and just wanted to
check that i'm not losing my marbles!
we have been running a commercial app on tomcat for the last two 
years.
we've had intermittent out of memory problems processing large pages
meaning we've had to reboot occasionally (the app produces xml,
transforms it using xslt to output html), but in general the 
performance
has been good and the app has been stable. as the business has been
growing, we recently upgraded to a new funky dell server, 
multiprocessor
with
hyperthreading, but this seems to have exacerbated the problem
dramatically:
we now have a situation where if a single user requests a page, it is
lightening fast, but once there are two requests at the same time, 
both
are about 100 times slower; i would expect twice slower at most. once
returning to only one request at a time, the speed recovers 
immediately.
in top you can see that java has 100% of the CPU time, and one of the 
4
effective CPU's is maxed out.

so i'm desperately trying to track down the cause of this problem; i'm
guessing it must be some kind of race condition. we have reviewed all
our code, ensured that methods accessing shared objects are
synchronized, been through all the config, removed most of the logging
etc etc, and upgraded to tomcat 4.1.29 and all to no avail; we don't
seem to be able to narrow down where the problem could be.
what i wanted to check was: the app has one servlet only, through 
which
all requests are processed. all requests go through the doGet method. 
to
try and check if our code was to blame, we synchronised this method. 
my
understanding is that this would mean if two requests were received at
approximately the same time, one would have to wait until after the
first had been processed, meaning the two requests could not access 
any
of our code at the same time, and therefore the second would be say
twice as slow as the first. however, this is not the case, still they
are both about 100 times slower. this makes me think that it cannot be
an error in our code? but then tomcat seems to serve concurrent users 
on
other people's apps with no problem, so i can't believe tomcat is to
blame.

is my assumption about synchronizing the doGet method correct?  is 
there
anything special i should know about using tomcat on a multiprocessor
server? any suggestions at all greatfully received!

thanks,
tamsin
ps:
tomcat: 4.1.29
java: 1.4.2
postgresql: 7.3.4
saxon
xerces


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




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


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


RE: Problems with HTTPS in Tomcat 4.1.27, axis 1_1RC2, & JDK 1.4.1 on AIX UNIX

2003-11-13 Thread Curtis Leach
As an FYI to this issue, I've finally determined that HTTPS is very unstable
in this configuration (Tried using both JDK 1.3 & JDK 1.4)  But once I
upgraded to Tomcat 5.0.14 all my problems went away.  I guess I'll have to
live with a beta release for now.  IBM's JVM just isn't completely supported
by Tomcat 4.1.x.

Curtis

-Original Message-
From: Curtis Leach [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:45 AM
To: 'Tomcat Users List'
Subject: Problems with HTTPS in Tomcat 4.1.27, axis 1_1RC2, & JDK 1.4.1
on AIX UNIX


Has anyone any experience with this?

I have a small web service set up as a demo that works just fine under HTTP,
but when I attempt to connect via HTTPS, it craps out after the 3rd hit and
continuously returns the following exception until Tomcat is rebooted:
   java.rmi.RemoteException
With the following message associated with it:
   (0)null

(HTTP continues to work without problems.  Even after HTTPS gives up the
ghost!)

catalina.out shows the following for every HTTPS hit once the 1st error
occurs:

Nov 7, 2003 3:27:55 PM
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler
processConnection
SEVERE: Error reading request, ignored
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:532)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:272)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:246)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at
org.apache.tomcat.util.net.jsse.JSSESupport.(JSSESupport.java:87)
at
org.apache.tomcat.util.net.jsse.JSSE14Support.(JSSE14Support.java:99)
at
org.apache.tomcat.util.net.jsse.JSSE14Factory.getSSLSupport(JSSE14Factory.ja
va:84)
at
org.apache.tomcat.util.net.jsse.JSSEImplementation.getSSLSupport(JSSEImpleme
ntation.java:118)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:385)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:568)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:416)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:525)
... 11 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:412)
... 12 more

Any suggestions?  The following is the https section from my server.xml
file.  It took digging through the 5.0 documentation also before I could
even get HTTPS to work for TC 4.1.27.  Seems IMB's JVM for JDK 1.4 has a few
twists to it that aren't documented until TC 5.0.  And I'm real leery about
upgrading to a beta release (TC 5.0) unless I have to.



  


The server code being called.  As you can see I just added outMsg & the
return value to the PortImpl.java stub that the axis WSDL2Java generated.

public java.lang.String testInterface(java.lang.String string)
throws java.rmi.RemoteException
{
String outMsg = System.getProperty ("java.vm.name") + " JDK " +
System.getProperty ("java.vm.version") +
" - " + System.getProperty ("user.name") +
"   (" + string + ")";
return outMsg;
}

Curtis



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

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
ib -lcrypt -lapr-0  -Wl,-soname -Wl,jkjni.so -o
../../../build/jk2/apache2/.libs/jkjni.so
/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'

David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Dave Morrow [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2003 11:39 AM
To: 'Tomcat Users List'
Subject: RE: Looking for mod_jk2


Thanks for the tip.  I have been through your procedure, and cannot get it
to compile.



David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: Looking for mod_jk2


Hi Dave,

The compile is not really so difficult. I've written a section on this 
on my website : http://cymulacrum.net/tomcat/jk2_compile.html.

Regards,
pascal chong


Dave Morrow wrote:

>Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 /
>Apache 2 RPM binary. Anyone know where I can get one.  I really do not 
>want to have to compile etc (requires ant and the likes which I am not 
>familiar with).
>
>David Morrow
>Systems Technical Lead, IT Operations
>P: (519) 951-6079
>F: (519) 451-6615
>mailto: [EMAIL PROTECTED] 
> 
>..poor planning on your part does not make an emergency on my
>part
>
> This message has originated from Autodata Solutions.  The attached
>material is the Confidential and Proprietary Information of Autodata 
>Solutions. This email and any files transmitted with it are 
>confidential and intended solely for the use of the individual or 
>entity to whom they are addressed. If you have received this email in 
>error please delete this message and notify the Autodata system 
>administrator at  [EMAIL PROTECTED] 
> 
>>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


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

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

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



more on mod_jk2 errors

2003-11-13 Thread Yiannis Mavroukakis
Hello again,

Further to my previous post, I've isolated the piece of code that spits out
the errors in the log

 ap_mpm_query(AP_MPMQ_MAX_DAEMONS, &max_daemons_limit);

if (max_daemons_limit == 0) {
workerEnv->childId = 0;
env->l->jkLog(env, env->l, JK_LOG_INFO,
"jk2_init() Found child %d in scoreboard slot %d\n",
proc.pid, workerEnv->childId);
}
else {
env->l->jkLog(env, env->l, JK_LOG_ERROR,
"jk2_init() Can't find child %d in scoreboard\n",
proc.pid);
workerEnv->childId = -2;
}

My C is very very basic but from what I can tell, the code calls the Apache
MPM
ap_mpm_query method, and sets max_daemons_limit. If it is not 0, the child
is found in the scoreboard, if anything else then there is a problem, which
is probably what happens in my case...Does anyone know where the
AP_MPMQ_MAX_DAEMONS
variable is reflected in the Apache config file (if at all) ?

Thank you,


Yianni.s



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk


Unusual config for: SSL -> Apache -> JK2 -> Tomcat

2003-11-13 Thread Mike Kellstrand
Is it possible to have Apache receive HTTPS requests and
then use JK2 to forward them on to a Tomcat that deals with the SSL/certificates
and services the requests?

I want Apache & JK2 to be simply a conduit and not try to deal with the SSL.

Tomcat will have the certificate, not Apache.

This Apache will serve some static content, but when it gets requests
for certain contexts (which will require https), I want Apache just to  pipe
the packets off to a Tomcat at an undisclosed location and not try to authenticate.

I know this is unusual, but I have a good reason.

Can it be done?

Thanks,

Mike Kellstrand


Re: AW: How to get the list of active sessions?

2003-11-13 Thread dhay

but is there any way to do that programmatically eg in a servlet?

Cheers,

David




"Markus Heussen" <[EMAIL PROTECTED]> on 13/11/2003 04:23:32 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:"Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject:AW: How to get the list of active sessions?


look at http://localhost:8080/manager/html


-Ursprüngliche Nachricht-
Von: Zsolt Koppany
Gesendet: Donnerstag, 13. November 2003 10:12
An: Tomcat Users List
Betreff: How to get the list of active sessions?


Hi,

I would like to know how is currently logged in, thus I need the list the
active sessions. How can I cet that?

Zsolt



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


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








RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
Thanks for the tip.  I have been through your procedure, and cannot get it
to compile.



David Morrow
Systems Technical Lead, IT Operations
P: (519) 951-6079
F: (519) 451-6615
mailto: [EMAIL PROTECTED]
 
..poor planning on your part does not make an emergency on my
part

 This message has originated from Autodata Solutions.  The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at  [EMAIL PROTECTED]





-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: Looking for mod_jk2


Hi Dave,

The compile is not really so difficult. I've written a section on this 
on my website : http://cymulacrum.net/tomcat/jk2_compile.html.

Regards,
pascal chong


Dave Morrow wrote:

>Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / 
>Apache 2 RPM binary. Anyone know where I can get one.  I really do not 
>want to have to compile etc (requires ant and the likes which I am not 
>familiar with).
>
>David Morrow
>Systems Technical Lead, IT Operations
>P: (519) 951-6079
>F: (519) 451-6615
>mailto: [EMAIL PROTECTED] 
> 
>..poor planning on your part does not make an emergency on my 
>part
>
> This message has originated from Autodata Solutions.  The attached 
>material is the Confidential and Proprietary Information of Autodata 
>Solutions. This email and any files transmitted with it are 
>confidential and intended solely for the use of the individual or 
>entity to whom they are addressed. If you have received this email in 
>error please delete this message and notify the Autodata system 
>administrator at  [EMAIL PROTECTED] 
> 
>>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


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

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



RE: Resolving an object for a jsp?

2003-11-13 Thread Patrick Willart
An easy way to figure out the java equivalent for this is too look at the
compiled jsp (.java).

Patrick

-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 4:20 PM
To: Tomcat Users List
Subject: Re: Resolving an object for a jsp?


Tim Funk wrote:

> 
>  
>  
> 
>
> -Tim
>
The code will be in a taglib, so I can't do that, i'm trying to find the
java equivalent of that jsp code.

--

"I'm sick of the Internet. I want a yabby net."

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



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


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



Re: How to tune Tomcat and Java?

2003-11-13 Thread Jens Ove Lillegraven
Thanks for reply!
Got it! To show all threads, type H in top in Linux. Then we see that java
is multi-threaded, and uses all CPUs.
But still, Tomcat and java seems to be the bottleneck in our system. I tried
to make java use more memory, but with no luck.
I tried with:
in /usr/bin/dtomcat4:
  CATALINA_OPTS="-Xmx300M -Xms100M $CATALINA_OPTS $JPDA_OPTS"
But this made no difference to the memory consumption or the performance.
When starting Tomcat, it uses less than 100M. MySQL uses only a fraction of
CPU compared with java, and there are several SQL queries in every page of
the web publishing system.
Is there any way to increase the preformance of Tomcat and java without
tuning the application (=the Java Server Pages)?

Thanks.
Jens Ove

- Original Message -
From: "Frode E. Moe" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Jens Ove
Lillegraven" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 3:27 PM
Subject: Re: How to tune Tomcat and Java?


> On Thu, Nov 13, 2003 at 15:17:53 +0100, Jens Ove Lillegraven wrote:
> > As you see, there's only one Java service on CPU 0, and MySQL is running
on both CPUs.
> > Any explanation for this?
>
> Apparently RedHat Linux 8.0 and above only shows the main thread by
> default.
>
> See
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/release-notes/x86/
>
> If you use "ps -m", all threads should be displayed.
>
> (I'm currently on a Debian machine, so I can't confirm if this works)
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: AW: AW: AW: Container based authentication and session persis tenc e with Tomcat 4.1.29

2003-11-13 Thread Christopher Schultz
Andreas,
How often do you think you'll be re-starting Tomcat while the
application is running in the wild?
That is totally up to my employer. Since we are a dynamic company changes
could happen often. At least more often than I would like to confront my
users with a mysteriously broken session.
I agree that the customer is always the boss. However, how fast/often 
can you actually deploy things to a production environment? I would 
think that more than once per week would be OPS suicide...

-chris

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


Re: Signal 11 causing Tomcat crash

2003-11-13 Thread jerome moliere
Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
 

another hint:
what about ULIMITS on your machine ?
I guess that your Linux box uses a bash shell ?
JDK 1.4 had clever bugs with ulimit settings, may be your release had 
such problems
too...
but please check memory , motherboard temperature & so on...
HTH
Jerome

--
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.editions-eyrolles.com/php.informatique/index.php3?xd=d12eccd83077cb3683315026cd3b7586


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


Re: TC 4.1.27 Bug? Redirect "/" -> "/index.jsp" with jsessionid

2003-11-13 Thread Tim Funk
There are a few BZ reports with respect to welcome-file redirects not having 
sessionid attached to the redirected URL.

This is not an issue on tomcat5 (IIRC).

-Tim

John Sidney-Woollett wrote:

I hope that this is the right list to post this to. If not, apologies.

I'm having a problem with session information getting lost when Tomcat
redirects from a request to a folder, to the underlying resource (eg
../folder/index.jsp) when URLs are encoded with the session ID.
This might be a problem for sites that are encoding all URLs (using
response.encodeURL() and response.encodeRedirectURL()) when the browser
has cookies turned off, or the browser doesn't support cookies.
Here is an example of what happens:

Servlet redirects to "/folder1/" using the following code:

String page = response.encodeRedirectURL("/folder1/");
response.sendRedirect(page);
OR jsp page provides a link to "/folder1/" by rewriting the URL

Folder 1

When tomcat receives the request for "/folder1/", it *appears* to redirect
to "/folder1/index.jsp", but DOES NOT rewrite the URL.
When you end up in the "/folder1/index.jsp" page, the original session is
lost.
I know that a work-around is to specify the resource (ie index.jsp) rather
than the enclosing folder, but this may not be suitable in all cases.
Does this seem like a bug, and is anyone else able to confirm it?

Thanks

John Sidney-Woollett







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



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


Re: JDBCRealm through a firewall

2003-11-13 Thread Tim Funk
I think 4.1.29's JDBCRealm tried to reconnect on failure.

-Tim

Holger de Wall wrote:

BITTE DURCHSEHEN

our firewall (Cisco PIX 506) seems to be the reason for a 'java.sql.Exception'  
given by the JDBCRealm:
---
2003-11-13 09:46:28 JDBCRealm[]: Exception performing 
authentication
java.sql.SQLException: System or internal error
...
---
The Tomcat 4.1.24 with our webapplication stays on the DMZ outside the 
firewall. The Database (the server for our JDBCRealm) stays behind the 
firewall, which let pass the TCP-Requests through the Port 'myport', we set in 
the 
'connectionURL'.

   debug="99"  driverName="com.informix.jdbc.IfxDriver"
connectionURL="jdbc:informix-sqli://:/upload:informixserver="
   connectionName="tomcat"
   connectionPassword="tomcat"
   userTable="users"
   userNameCol="user_name"
   userCredCol="user_pass"
   userRoleTable="user_roles"
   roleNameCol="role_name" />

If the Servlet-Engine on the DMZ don't get any authentication-requests for 
about one hour, the Cisco Pix doesn't detect any traffic on this established 
connection. Therefore (security reasons) the Pix kills the Realm-Connection 
from the DMZ to the Database, what is the only reason for a broken and 
unusable JDBCRealm.

How can we force the Servlet-Engine to establish a new Realm-Connection  to 
the Database without a restarting the complete Tomcat-Server ? 

 
Holger de Wall

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




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


TC 4.1.27 Bug? Redirect "/" -> "/index.jsp" with jsessionid

2003-11-13 Thread John Sidney-Woollett
I hope that this is the right list to post this to. If not, apologies.

I'm having a problem with session information getting lost when Tomcat
redirects from a request to a folder, to the underlying resource (eg
../folder/index.jsp) when URLs are encoded with the session ID.

This might be a problem for sites that are encoding all URLs (using
response.encodeURL() and response.encodeRedirectURL()) when the browser
has cookies turned off, or the browser doesn't support cookies.

Here is an example of what happens:

Servlet redirects to "/folder1/" using the following code:

String page = response.encodeRedirectURL("/folder1/");
response.sendRedirect(page);

OR jsp page provides a link to "/folder1/" by rewriting the URL

Folder 1

When tomcat receives the request for "/folder1/", it *appears* to redirect
to "/folder1/index.jsp", but DOES NOT rewrite the URL.

When you end up in the "/folder1/index.jsp" page, the original session is
lost.

I know that a work-around is to specify the resource (ie index.jsp) rather
than the enclosing folder, but this may not be suitable in all cases.

Does this seem like a bug, and is anyone else able to confirm it?

Thanks

John Sidney-Woollett







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



JDBCRealm through a firewall

2003-11-13 Thread Holger de Wall
BITTE DURCHSEHEN

our firewall (Cisco PIX 506) seems to be the reason for a 'java.sql.Exception'  
given by the JDBCRealm:
---
2003-11-13 09:46:28 JDBCRealm[]: Exception performing 
authentication
java.sql.SQLException: System or internal error
...
---
The Tomcat 4.1.24 with our webapplication stays on the DMZ outside the 
firewall. The Database (the server for our JDBCRealm) stays behind the 
firewall, which let pass the TCP-Requests through the Port 'myport', we set in 
the 
'connectionURL'.


If the Servlet-Engine on the DMZ don't get any authentication-requests for 
about one hour, the Cisco Pix doesn't detect any traffic on this established 
connection. Therefore (security reasons) the Pix kills the Realm-Connection 
from the DMZ to the Database, what is the only reason for a broken and 
unusable JDBCRealm.

How can we force the Servlet-Engine to establish a new Realm-Connection  to 
the Database without a restarting the complete Tomcat-Server ? 

 
Holger de Wall


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



Web App authentication

2003-11-13 Thread Matthew Oatham
Hi,

Is it possible to have a web app that uses both FORM and BASIC 
authentication or can only 1 be used ?

Thanks

Matt

_
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: help w/ tag issue

2003-11-13 Thread Jon Wingfield
Seen this before on moving from 4.0.x to 4.1.x. The tag probably isn't 
coded as per http://jakarta.apache.org/taglibs/guidelines.html
I'm betting the tag never clears its internal state between invocations 
because release() is never called (pooling).
To clear state safely when pooling is activated you can have your tags 
implement the TryCatchFinally interface or clean up state in doEndTag().

HTH,

Jon

Bryan LaPlante wrote:

no database, the tag is just formatting some JavaScript on the page. I have
extended the BodyTagSupport and I am use SKIP_BODY in the doEndTag. The tag
works fine on Weblogic, it only acts this way in TC.
- Original Message -
From: "Christopher Schultz" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 12, 2003 2:03 PM
Subject: Re: help w/ tag issue


Bryan,

I have looked everywhere for a solution. My custom tag displays it's
content

once multiplied by the number of times the page has been refreshed. I
when

looking for the reason and the closest mention concerns tag pooling. I
don't

know if turning it off will solve this problem but I can not figure what
I

should put into the web.xml to turn it off. Any help appreciated.
Are you obtaining information from, say, a database and displaying it?
If so, are you taking care to re-set the results each time you gather
that data?
If the code isn't that long, you might want to post it.

-chris

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



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




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


Re: Sessions - SSL

2003-11-13 Thread Adam Hardy
On 11/13/2003 03:07 PM Harry Mantheakis wrote:
I doubt very much that this implementation is container-specific to
tomcat. Did you try searching on 'user-data-constraint' or 'confidential'?
Yes, I did a search for those, but it did not shed any more light on whether
or not (and how) cookies created with an SSL connection are visible or
accessible to non-SSL requests.
Cookies!? I'm out of my depth now. I was previously talking about going 
from HTTP to HTTPS as well, but it seems you are required to do the 
opposite direction. I guess you'll have to wait for the other more 
qualified listers for an answer.

Adam
--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Setting the "-server" Java Option

2003-11-13 Thread Bill Tantzen
Yeah, same here. -server = instant crash on my well-patched solaris 9
installation.  I had such bad luck that I have yet to try it with 1.4.2.

Cheers!

Bill Tantzen 
University of Minnesota Libraries
[EMAIL PROTECTED]
612-626-9949 (office)  612-250-6125 (cell)

I guess the man's a genius, but what
a dirty mind he has, hasn't he? -- Nora Joyce


--> -Original Message-
--> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
--> Sent: Thursday, November 13, 2003 8:07 AM
--> To: Tomcat Users List
--> Subject: RE: Setting the "-server" Java Option
--> 
--> 
--> 
--> Howdy,
--> I've had more than my share of grief with -server.  We had 
--> intermittent
--> internal crashes with -server on JDK 1.3.0, 1.3.1, 1.4.0, and 1.4.1.
--> Maybe 1.4.2 is better but I've yet to try.  This is on 
--> Solaris 8 and 9
--> with all the latest patches.
--> 
--> Yoav Shapira
--> Millennium ChemInformatics
--> 
--> 
--> >-Original Message-
--> >From: Tim Funk [mailto:[EMAIL PROTECTED]
--> >Sent: Thursday, November 13, 2003 7:41 AM
--> >To: Tomcat Users List
--> >Subject: Re: Setting the "-server" Java Option
--> >
--> >It depends on JVM version, OS, and other factors such as 
--> position of
--> the
--> >sun.
--> >(JK on the last one)
--> >
--> >I know for HP at one time, -server was NOT recommended. 
--> That was a a
--> "long
--> >time" ago, so now things may be different now. YMMV with 
--> different OS
--> >releases, etc.
--> >
--> >The release notes, Google, and OS vendor notes need to be 
--> consulted to
--> see
--> >what is the best combination.
--> >
--> >-Tim
--> >
--> >Harry Mantheakis wrote:
--> >
--> >> Hello Tim
--> >>
--> >>
--> >>>You need to do it by setting the environment variable JVM_OPTS.
--> >>
--> >>
--> >> Thank you for telling me that.
--> >>
--> >>
--> >>>For some, the -server option produces an
--> >>>unstable server. (Ironic, heh?)
--> >>
--> >>
--> >> Oh dear... Can you point me to anything in respect of this?
--> >>
--> >> I have looked at the official JVM documentation on this 
--> subject, and
--> >> obviously none of it suggest that setting the "-server" option
--> produces
--> >an
--> >> unstable server (!)
--> >>
--> >> I also read about this option here:
--> >>
--> >> http://kano.net/javabench/#servervm
--> >>
--> >> Again, no suggestion that it has a detrimental effect.
--> >>
--> >
--> >
--> >---
--> --
--> >To unsubscribe, e-mail: [EMAIL PROTECTED]
--> >For additional commands, e-mail: 
--> [EMAIL PROTECTED]
--> 
--> 
--> 
--> 
--> This e-mail, including any attachments, is a confidential 
--> business communication, and may contain information that is 
--> confidential, proprietary and/or privileged.  This e-mail 
--> is intended only for the individual(s) to whom it is 
--> addressed, and may not be saved, copied, printed, disclosed 
--> or used by anyone else.  If you are not the(an) intended 
--> recipient, please immediately delete this e-mail from your 
--> computer system and notify the sender.  Thank you.
--> 
--> 
--> 
--> -
--> To unsubscribe, e-mail: [EMAIL PROTECTED]
--> For additional commands, e-mail: [EMAIL PROTECTED]
--> 
--> 


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



How can I authenticate client apps to a servlet

2003-11-13 Thread Mike Kellstrand
Hi,

I have a client-server application where the server is a Java servlet running
in Tomcat and the clients are Java applications.  I now want to secure the data
transfer and authenticate the clients that connect to the server.

I have set up Tomcat for SSL and created a self-signed certificate.  
I then modified the client code to use an https connection.

The client can look at the certificate, but what would I have it check to
verify it is authentic?

My main question though, what would be the best way to have each client authenticate
itself to the servlet?  Should I hand out certificates of some sort to each client?
If so, how do you create, send, and verify them in Java code?
Or should I just use a user/password authentication and check it either
at Tomcat or the servlet?

Thanks a bunch,

Mike Kellstrand


RE: tomcat 4.1.28 Manager/Admin Applications

2003-11-13 Thread Shapira, Yoav

Howdy,

>>
>> >(1) with the admin application: can log in, but requesting
>> >user/group/roles/user database info
>> >gives nothing besides error messages ("The server encountered an
>> internal
>> >error (Error retrieving attribute users) that prevented it from
>> fulfilling
>> >this request")
>>
>> What's in the logs when this happens?
>this is in the log:
>
>2003-11-13 11:33:36 action: Error retrieving attribute users
>
>javax.management.MalformedObjectNameException: Missing ':' character in
>ObjectName
>
>.at javax.management.ObjectName.parseDomain(ObjectName.java:111)
>.at javax.management.ObjectName.parse(ObjectName.java:91)
>.at javax.management.ObjectName.(ObjectName.java:43)
>.at
>org.apache.webapp.admin.users.UserUtils.getUsersForm(UserUtils.java:156
)

Please post this to Bugzilla as a bug.

Yoav Shapira



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


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



Re: concurrent user threading problem

2003-11-13 Thread anorakgirl
thanks all for the pointers, i will look into the hardware/os stuff, not
really something i know anything about.
it was the sun jdk, trying the ibm one was going to be the next step.
as its working now and the users are happy, i'm going to take an afternoon
off to make up for the late nights i've had on this!
thanks again,
tamsin

> All,
>
>> phew. problem resolved!
>
> That's good!
>
>> for info, we switched the kernel on the new server to use a single
>> processor (no hyperthreading) and it is now fine.
>
> That's bad!
>
>> very strange that the problem occured though, i don't know what part
>> of the system didn't like the hyperthreading.
>
> Were you using IBM or Sun JDK?
>
> Does anyone have a mental picture of how hyperthreading is affecting the
>  VM? Not technically speaking, but epidemiologically? I mean, do JVMs
> simply not work using the hyperthreading technology, or are some having
> good luck with them?
>
> -chris
>
>
> - To
> unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]




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



RE: How to tune Tomcat and Java?

2003-11-13 Thread Shapira, Yoav

Howdy,
I recall reading something about a redhat issue with this.  I'm not a
redhat expect, so I don't know for sure.  But I do know for sure you can
conclude very little from the top command in general.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Jens Ove Lillegraven [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 13, 2003 9:18 AM
>To: Tomcat Users List
>Subject: Re: How to tune Tomcat and Java?
>
>Hi!
>Thanks for your reply!
>If Java and Tomcat is multi-threaded applications, I still don't
understand
>why I see Java on only one CPU when I use the top function in Linux.
Here
>is a snapshot from a medium stress-test load:
>
> 15:02:23  up 1 day, 22:23,  1 user,  load average: 1,79, 1,56, 0,74
>82 processes: 76 sleeping, 5 running, 1 zombie, 0 stopped
>CPU states:  cpuusernice  systemirq  softirq  iowait
idle
>   total   50,0%0,0%7,4%   0,0% 4,6%0,5%
37,2%
>   cpu00   31,9%0,0%8,9%   0,0% 5,9%1,1%
51,9%
>   cpu01   68,1%0,0%5,9%   0,0% 3,3%0,0%
22,5%
>Mem:  1286812k av,  887436k used,  399376k free,   0k shrd,
162608k
>buff
>462864k actv,  193060k in_d, 256k in_c
>Swap: 3072216k av,   0k used, 3072216k free
392952k
>cached
>
>  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
COMMAND
>  745 root  25   0 98,4M  98M  7400 S42,7  7,8 158:48   0 java
> 6048 mysql 15   0  101M 101M  2576 S 0,9  8,0   1:12   1
mysqld
> 6049 mysql 25   0  101M 101M  2576 R 0,6  8,0   1:49   1
mysqld
>13138 root  15   0  1292 1292   904 R 0,3  0,1   0:03   0 top
> 6400 mysql 25   0  101M 101M  2576 S 0,1  8,0   0:00   0
mysqld
> 6410 mysql 25   0  101M 101M  2576 S 0,1  8,0   0:00   0
mysqld
> 6528 mysql 25   0  101M 101M  2576 S 0,1  8,0   0:00   0
mysqld
>1 root  15   0   500  500   444 S 0,0  0,0   0:08   0 init
>2 root  RT   0 00 0 SW0,0  0,0   0:00   0
>migration/0
>3 root  RT   0 00 0 SW0,0  0,0   0:00   1
>migration/1
>4 root  15   0 00 0 SW0,0  0,0   0:00   0
keventd
>5 root  34  19 00 0 SWN   0,0  0,0   0:00   0
>ksoftirqd/0
>6 root  34  19 00 0 SWN   0,0  0,0   0:00   1
>ksoftirqd/1
>9 root  25   0 00 0 SW0,0  0,0   0:00   0
bdflush
>7 root  15   0 00 0 SW0,0  0,0   0:02   0
kswapd
>8 root  15   0 00 0 SW0,0  0,0   0:03   0
kscand
>   10 root  15   0 00 0 SW0,0  0,0   0:04   0
kupdated
>   11 root  25   0 00 0 SW0,0  0,0   0:00   0
>mdrecoveryd
>   20 root  15   0 00 0 SW0,0  0,0   0:01   0
kjournald
>   75 root  25   0 00 0 SW0,0  0,0   0:00   1 khubd
>  145 root  15   0 00 0 SW0,0  0,0   0:05   1
kjournald
>  146 root  15   0 00 0 SW0,0  0,0   0:00   0
kjournald
>  147 root  15   0 00 0 SW0,0  0,0   0:11   0
kjournald
>  148 root  15   0 00 0 SW0,0  0,0   0:02   1
kjournald
>  492 root  15   0   568  568   492 S 0,0  0,0   0:00   1
syslogd
>  496 root  25   0   448  448   392 S 0,0  0,0   0:00   0 klogd
>  506 root  15   0   444  444   384 S 0,0  0,0   0:23   1
>irqbalance
>  523 rpc   25   0   560  560   488 S 0,0  0,0   0:00   0
portmap
>  542 rpcuser   25   0   716  716   636 S 0,0  0,0   0:00   0
rpc.statd
>  622 root  15   0  1460 1460  1228 S 0,0  0,1   0:02   0 sshd
>  636 root  25   0   792  792   684 S 0,0  0,0   0:00   1
xinetd
>  646 root  15   0   488  488   408 S 0,0  0,0   0:00   0
vsftpd
>  667 root  15   0  2584 2584  1892 S 0,0  0,2   0:07   0
sendmail
>  676 smmsp 15   0  2260 2252  1708 S 0,0  0,1   0:00   1
sendmail
>  754 root  15   0   464  464   408 S 0,0  0,0   0:00   0 gpm
>  763 root  15   0   612  612   544 S 0,0  0,0   0:00   0 crond
>  806 daemon15   0   556  556   492 S 0,0  0,0   0:00   0 atd
>  842 root  15   0  4972 4972  1900 S 0,0  0,3   0:07   1
>miniserv.pl
>  846 root  15   0   416  416   368 S 0,0  0,0   0:00   1
mingetty
>  847 root  15   0   420  420   368 S 0,0  0,0   0:00   0
mingetty
>  848 root  15   0   420  420   368 S 0,0  0,0   0:00   1
mingetty
>  849 root  21   0   420  420   368 S 0,0  0,0   0:00   0
mingetty
>  850 root  17   0   420  420   368 S 0,0  0,0   0:00   1
mingetty
>  851 root  17   0   416  416   368 S 0,0  0,0   0:00   1
mingetty
> 6018 root  25   0  1128 1128   984 S 0,0  0,0   0:00   1
>mysqld_safe
> 6050 mysql 20   0  101M 101M  2576 S 0,0  8,0   0:00   0
mysqld
> 6051 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:00   0
mysqld
> 6052 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:00   0
mysqld
> 6053

Re: How to tune Tomcat and Java?

2003-11-13 Thread Frode E. Moe
On Thu, Nov 13, 2003 at 15:17:53 +0100, Jens Ove Lillegraven wrote:
> As you see, there's only one Java service on CPU 0, and MySQL is running on both 
> CPUs.
> Any explanation for this?

Apparently RedHat Linux 8.0 and above only shows the main thread by
default.

See http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/release-notes/x86/

If you use "ps -m", all threads should be displayed.

(I'm currently on a Debian machine, so I can't confirm if this works)


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



RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Cox, Charlie
> -Original Message-
> From: Jim Goodspeed [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 8:52 AM
> To: Tomcat Users List
> Subject: RE: Signal 11 causing Tomcat crash
> 
> 
> Unfortunately we have also tried Sun's JVM and are
> experiencing the same Signal 11 errors (I've included
> two snippets of the Sun error - same error as the IBM
> Sig 11, just in a different format).  Sometimes the
> dump specifies the library in question, other times it
> does not.
> 
> Thanks,
> Jim
> 
> An unexpected exception has been detected in native
> code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x1
> Function=[Unknown.]
> Library=(N/A)
> 
> An unexpected exception has been detected in native
> code outside the VM.
> Unexpected Signal : 11 occurred at PC=0x59DF83B0
> Function=(null)+0x59DF83B0
> Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1
> 

this seems to be a problem with your DB2 driver. When you have an access
violation in native code, it also brings down the JVM. 


> 
> 
> 
> --- Francois JEANMOUGIN
> <[EMAIL PROTECTED]> wrote:
> > 
> > > 0SECTION   XHPI subcomponent dump routine
> > > NULL   ==
> > > 1HPTIMEWed Nov 12 08:19:26 2003
> > > 1HPSIGRECV SIGSEGV received in ?? at
> > 0x41cc8e85 in
> > > /opt/IBMJava2-141/jre/bin/libjitc.so. Processing
> > > terminated.
> > > 1HPFULLVERSION J2RE 1.4.1 IBM build
> > cxia32141-20030522
> > 
> > This problem was reported several time with IBM Jvm
> > on hyperthreaded machines. We had to switch to Sun
> > Jvm. No news from IBM about this JITC optimization
> > problem.
> > 
> > Also note that IBM Jvm can go SIG 11 when there are
> > IPs with no names (in /etc/hosts or DNS). Those
> > annoying things made me switch to Sun Jvm.
> > 
> > François. 
> > 
> > 
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



AW: tomcat 4.1.28 Manager/Admin Applications

2003-11-13 Thread Fuhrmann Anna


> -Ursprüngliche Nachricht-
> Von: Shapira, Yoav *EXTERN* [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 13. November 2003 15:11
> An: Tomcat Users List
> Betreff: RE: tomcat 4.1.28 Manager/Admin Applications
> 
> 
> 
> Howdy,
> 
> >(1) with the admin application: can log in, but requesting
> >user/group/roles/user database info
> >gives nothing besides error messages ("The server encountered an
> internal
> >error (Error retrieving attribute users) that prevented it from
> fulfilling
> >this request")
> 
> What's in the logs when this happens?
this is in the log:

2003-11-13 11:33:36 action: Error retrieving attribute users 
   
javax.management.MalformedObjectNameException: Missing ':' character in ObjectName

.at javax.management.ObjectName.parseDomain(ObjectName.java:111)
.at javax.management.ObjectName.parse(ObjectName.java:91)   
.at javax.management.ObjectName.(ObjectName.java:43)  
.at org.apache.webapp.admin.users.UserUtils.getUsersForm(UserUtils.java:156)
.at org.apache.webapp.admin.users.ListUsersAction.perform(ListUsersAction.java:1
.at org.apache.struts.action.Action.execute(Action.java:420)
.at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
.at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
.at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) 
.at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
.at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
.at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 etc. etc.

> 
> >(2) with the manager application: lets me fill in and send login
> request -
> >and nothing more, what
> >I get then is a blank white screen in the browser and following
> Exception
> >in the catalina-log:
> >
> >
> >"
> >2003-11-10 12:51:45 CoyoteAdapter An exception or error 
> occurred in the
> >container during the request processing
> >java.lang.ArrayIndexOutOfBoundsException
> > at org.apache.catalina.util.Base64.decode(Base64.java:288)
> 
> Do you have a user name with strange characters?

Maybe I am strange but I take care of my usernames not to be eccentric ;-)) 
> 
> I also think 4.1.29 has a related fix in Coyote.

THAT would be great!! 
> 
> Yoav Shapira
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: How to tune Tomcat and Java?

2003-11-13 Thread Jens Ove Lillegraven
Hi!
Thanks for your reply!
If Java and Tomcat is multi-threaded applications, I still don't understand why I see 
Java on only one CPU when I use the top function in Linux. Here is a snapshot from a 
medium stress-test load:

 15:02:23  up 1 day, 22:23,  1 user,  load average: 1,79, 1,56, 0,74
82 processes: 76 sleeping, 5 running, 1 zombie, 0 stopped
CPU states:  cpuusernice  systemirq  softirq  iowaitidle
   total   50,0%0,0%7,4%   0,0% 4,6%0,5%   37,2%
   cpu00   31,9%0,0%8,9%   0,0% 5,9%1,1%   51,9%
   cpu01   68,1%0,0%5,9%   0,0% 3,3%0,0%   22,5%
Mem:  1286812k av,  887436k used,  399376k free,   0k shrd,  162608k buff
462864k actv,  193060k in_d, 256k in_c
Swap: 3072216k av,   0k used, 3072216k free  392952k cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
  745 root  25   0 98,4M  98M  7400 S42,7  7,8 158:48   0 java
 6048 mysql 15   0  101M 101M  2576 S 0,9  8,0   1:12   1 mysqld
 6049 mysql 25   0  101M 101M  2576 R 0,6  8,0   1:49   1 mysqld
13138 root  15   0  1292 1292   904 R 0,3  0,1   0:03   0 top
 6400 mysql 25   0  101M 101M  2576 S 0,1  8,0   0:00   0 mysqld
 6410 mysql 25   0  101M 101M  2576 S 0,1  8,0   0:00   0 mysqld
 6528 mysql 25   0  101M 101M  2576 S 0,1  8,0   0:00   0 mysqld
1 root  15   0   500  500   444 S 0,0  0,0   0:08   0 init
2 root  RT   0 00 0 SW0,0  0,0   0:00   0 migration/0
3 root  RT   0 00 0 SW0,0  0,0   0:00   1 migration/1
4 root  15   0 00 0 SW0,0  0,0   0:00   0 keventd
5 root  34  19 00 0 SWN   0,0  0,0   0:00   0 ksoftirqd/0
6 root  34  19 00 0 SWN   0,0  0,0   0:00   1 ksoftirqd/1
9 root  25   0 00 0 SW0,0  0,0   0:00   0 bdflush
7 root  15   0 00 0 SW0,0  0,0   0:02   0 kswapd
8 root  15   0 00 0 SW0,0  0,0   0:03   0 kscand
   10 root  15   0 00 0 SW0,0  0,0   0:04   0 kupdated
   11 root  25   0 00 0 SW0,0  0,0   0:00   0 mdrecoveryd
   20 root  15   0 00 0 SW0,0  0,0   0:01   0 kjournald
   75 root  25   0 00 0 SW0,0  0,0   0:00   1 khubd
  145 root  15   0 00 0 SW0,0  0,0   0:05   1 kjournald
  146 root  15   0 00 0 SW0,0  0,0   0:00   0 kjournald
  147 root  15   0 00 0 SW0,0  0,0   0:11   0 kjournald
  148 root  15   0 00 0 SW0,0  0,0   0:02   1 kjournald
  492 root  15   0   568  568   492 S 0,0  0,0   0:00   1 syslogd
  496 root  25   0   448  448   392 S 0,0  0,0   0:00   0 klogd
  506 root  15   0   444  444   384 S 0,0  0,0   0:23   1 irqbalance
  523 rpc   25   0   560  560   488 S 0,0  0,0   0:00   0 portmap
  542 rpcuser   25   0   716  716   636 S 0,0  0,0   0:00   0 rpc.statd
  622 root  15   0  1460 1460  1228 S 0,0  0,1   0:02   0 sshd
  636 root  25   0   792  792   684 S 0,0  0,0   0:00   1 xinetd
  646 root  15   0   488  488   408 S 0,0  0,0   0:00   0 vsftpd
  667 root  15   0  2584 2584  1892 S 0,0  0,2   0:07   0 sendmail
  676 smmsp 15   0  2260 2252  1708 S 0,0  0,1   0:00   1 sendmail
  754 root  15   0   464  464   408 S 0,0  0,0   0:00   0 gpm
  763 root  15   0   612  612   544 S 0,0  0,0   0:00   0 crond
  806 daemon15   0   556  556   492 S 0,0  0,0   0:00   0 atd
  842 root  15   0  4972 4972  1900 S 0,0  0,3   0:07   1 miniserv.pl
  846 root  15   0   416  416   368 S 0,0  0,0   0:00   1 mingetty
  847 root  15   0   420  420   368 S 0,0  0,0   0:00   0 mingetty
  848 root  15   0   420  420   368 S 0,0  0,0   0:00   1 mingetty
  849 root  21   0   420  420   368 S 0,0  0,0   0:00   0 mingetty
  850 root  17   0   420  420   368 S 0,0  0,0   0:00   1 mingetty
  851 root  17   0   416  416   368 S 0,0  0,0   0:00   1 mingetty
 6018 root  25   0  1128 1128   984 S 0,0  0,0   0:00   1 mysqld_safe
 6050 mysql 20   0  101M 101M  2576 S 0,0  8,0   0:00   0 mysqld
 6051 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:00   0 mysqld
 6052 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:00   0 mysqld
 6053 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:10   0 mysqld
 6054 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:00   1 mysqld
 6055 mysql 15   0  101M 101M  2576 S 0,0  8,0   1:17   1 mysqld
 6056 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:29   0 mysqld
 6057 mysql 15   0  101M 101M  2576 S 0,0  8,0   0:09   1 mysqld
13091 root  15   0  2084 2084  1716 S 0,0  0,1   0:00   1 sshd
13093 root  23   0  1336 1336  1128 S 0,0  0,1   

RE: session security questions?

2003-11-13 Thread Andreas Mohrig
Chris,

I just had a discussion with Harry Mantheakis concerning the same point. Of
course it is always good (and often necessary) to secure the sessionid (with
SSL). In the time of "mega-proxies" with more than one IP address comparing
IP addresses won't be of much use. 

Andreas Mohrig

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 2:16 PM
To: Tomcat Users List
Subject: Re: session security questions?


Andreas,

>> 1. Where is the session variable stored? server side or client
>> cookie?

> However,
> the sessionid is passed back and forth between the server and the 
> client, of course. But that should not be a problem, because of the
> (pseudo) random and quite complex nature of sessionids it would be
> hard to guess someone else's sessionid.

Yes, it's hard to guess the id of a session. However, if you were to 
snoop HTTP traffic and intercepted someone's HTTP header, then you could 
easily use that session id to hijack someone else's session by 
submitting the same cookie header to the server.

You can try other techniques of preventing this from happening, 
including comparing IP addresses from requests (see the archives for a 
discussion of this; including how it doesn't always work!).

-chris


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


Re: Signal 11 causing Tomcat crash

2003-11-13 Thread Jim Lynch
Random sig 11s are sometime indicative of memory failures.  Be sure to 
run some good memory diagnostics.

Jim.

Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
Thanks,
Jim
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1


--- Francois JEANMOUGIN
<[EMAIL PROTECTED]> wrote:
0SECTION   XHPI subcomponent dump routine
NULL   ==
1HPTIMEWed Nov 12 08:19:26 2003
1HPSIGRECV SIGSEGV received in ?? at
0x41cc8e85 in

/opt/IBMJava2-141/jre/bin/libjitc.so. Processing
terminated.
1HPFULLVERSION J2RE 1.4.1 IBM build
cxia32141-20030522

This problem was reported several time with IBM Jvm
on hyperthreaded machines. We had to switch to Sun
Jvm. No news from IBM about this JITC optimization
problem.
Also note that IBM Jvm can go SIG 11 when there are
IPs with no names (in /etc/hosts or DNS). Those
annoying things made me switch to Sun Jvm.
François. 




-

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


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


RE: tomcat 4.1.28 Manager/Admin Applications

2003-11-13 Thread Shapira, Yoav

Howdy,

>(1) with the admin application: can log in, but requesting
>user/group/roles/user database info
>gives nothing besides error messages ("The server encountered an
internal
>error (Error retrieving attribute users) that prevented it from
fulfilling
>this request")

What's in the logs when this happens?

>(2) with the manager application: lets me fill in and send login
request -
>and nothing more, what
>I get then is a blank white screen in the browser and following
Exception
>in the catalina-log:
>
>
>"
>2003-11-10 12:51:45 CoyoteAdapter An exception or error occurred in the
>container during the request processing
>java.lang.ArrayIndexOutOfBoundsException
>   at org.apache.catalina.util.Base64.decode(Base64.java:288)

Do you have a user name with strange characters?

I also think 4.1.29 has a related fix in Coyote.

Yoav Shapira




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


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



Re: Signal 11 causing Tomcat crash

2003-11-13 Thread Tim Funk
***Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1***

Does IBM provide a type 4 jdbc driver?

-Tim

Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
Thanks,
Jim
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1
 


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


RE: AW: AW: AW: Container based authentication and session persis tenc e with Tomcat 4.1.29

2003-11-13 Thread Andreas Mohrig
Chris,

> So, then you'll just check the session for creds? That sounds
> reasonable, but then you have to write it yourself :(

That's why I wanted to avoid it (beside other things).

> How often do you think you'll be re-starting Tomcat while the
> application is running in the wild?

That is totally up to my employer. Since we are a dynamic company changes
could happen often. At least more often than I would like to confront my
users with a mysteriously broken session.

I'm now working on a solution involving overriding the RequestProcessor
class of the struts framework. There you can place (or override) a hook
checking for user credentials. Then one can define restrictions/constraints
directly with the struts actions. If the whole application consists only of
struts actions, this seems to be a stable and quite convenient solution.

Greetings

Andreas Mohrig

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 1:59 PM
To: Tomcat Users List
Subject: Re: AW: AW: AW: Container based authentication and session
persistenc e with Tomcat 4.1.29


Andreas,
>> It's possible that you'll still have the same session, but you'll
>> just have to re-login. Does that make any sense?
> 
> That's my problem exactly. I don't think that it makes any sense
> either. The only explanation seems to be that the container based
> authentication in Tomcat 4.1 has been implemented without session
> persistence in mind.

I don't quite see it that way. Since the user credentials are not part
of the session, then session persistence has nothing to do with it. In
fact, I'd argue that the session does persist, just not your creds. You
have to re-login, but you'll end up with everything back in your
session, so it shouldn't be a big deal, right?

> I'm afraid I will have to change to application based authentication
> after all.

So, then you'll just check the session for creds? That sounds
reasonable, but then you have to write it yourself :(

Why do you need sessions to be persisted across restarts in production?
How often do you think you'll be re-starting Tomcat while the
application is running in the wild?

-chris


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


RE: Setting the "-server" Java Option

2003-11-13 Thread Shapira, Yoav

Howdy,
I've had more than my share of grief with -server.  We had intermittent
internal crashes with -server on JDK 1.3.0, 1.3.1, 1.4.0, and 1.4.1.
Maybe 1.4.2 is better but I've yet to try.  This is on Solaris 8 and 9
with all the latest patches.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Tim Funk [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 13, 2003 7:41 AM
>To: Tomcat Users List
>Subject: Re: Setting the "-server" Java Option
>
>It depends on JVM version, OS, and other factors such as position of
the
>sun.
>(JK on the last one)
>
>I know for HP at one time, -server was NOT recommended. That was a a
"long
>time" ago, so now things may be different now. YMMV with different OS
>releases, etc.
>
>The release notes, Google, and OS vendor notes need to be consulted to
see
>what is the best combination.
>
>-Tim
>
>Harry Mantheakis wrote:
>
>> Hello Tim
>>
>>
>>>You need to do it by setting the environment variable JVM_OPTS.
>>
>>
>> Thank you for telling me that.
>>
>>
>>>For some, the -server option produces an
>>>unstable server. (Ironic, heh?)
>>
>>
>> Oh dear... Can you point me to anything in respect of this?
>>
>> I have looked at the official JVM documentation on this subject, and
>> obviously none of it suggest that setting the "-server" option
produces
>an
>> unstable server (!)
>>
>> I also read about this option here:
>>
>> http://kano.net/javabench/#servervm
>>
>> Again, no suggestion that it has a detrimental effect.
>>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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


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



RE: Setting up Tomcat

2003-11-13 Thread Shapira, Yoav

Howdy,
Please, when you post a message like that, include reproducible steps to
show that reloadalb=true "doesn't always work."

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Simon Allen [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 12, 2003 6:09 AM
>To: 'Tomcat Users List'
>Subject: RE: Setting up Tomcat
>
>I've found this doesn't always work, though
>
>-Original Message-
>From:  Ricardo Garcia [SMTP:[EMAIL PROTECTED]
>Sent:  Wednesday, November 12, 2003 11:07 AM
>To:Tomcat Users List
>Subject:   RE: Setting up Tomcat
>
>You can try with the reloadable="true" attribute of the Context
>configuration.
>
>
>
>-Mensaje original-
>De: S.Gokul [mailto:[EMAIL PROTECTED]
>Enviado el: miercoles, 12 de noviembre de 2003 12:02
>Para: Tomcat Users List
>Asunto: Setting up Tomcat
>
>
>Hi,
>I have been using TOMCAT 4.1 version .
>
>Is there any way by which we can instruct tomcat to automatically
update
>the
>Java Beans when i recompile them. For now i have to restart tomcat to
make
>the changes effective.
>
>Kindly help,
>
>Regards,
>
>S.Gokul
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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


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



Re: Sessions - SSL

2003-11-13 Thread Harry Mantheakis
Hello Adam

> I doubt very much that this implementation is container-specific to
> tomcat. Did you try searching on 'user-data-constraint' or 'confidential'?

Yes, I did a search for those, but it did not shed any more light on whether
or not (and how) cookies created with an SSL connection are visible or
accessible to non-SSL requests.

Regards

Harry Mantheakis
London, UK


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



Re: [SOLUTION] Problem of authentication with tomcat/IIS on win NT4

2003-11-13 Thread Robert Jacolin
Robert Jacolin wrote:

Hi,

I installed jakarta-tomcat-4.0.6 on WIN NT4 with IIS 4. I've following 
the manual to make tomcat and IIS to work together (with the isapi 
filter). My application works like I want except that authentification 
doesn't work.

In IIS, I've enabled WIN NT authentication (basic authentication and 
WIN auth.) for jakarta and baseope (name of my application) virtual 
directory but when I look the request in my application, the REMOTE 
USER field is null !

This application worked very well on this same system with tomcat 
4.0.1. Moreover I installed this application on WIN 2000 and it works 
well.

I found why my application didn't work. In the tomcat 4.0.x jar, there 
is a tomcat-ajp.jar in server/lib. This file seems remove the REMOTE 
USER field in the request between IIS and tomcat. When I patched tomcat 
to copy ajp files (in conf/ntiis, ...), I see it copy a ajp.jar which 
contains the same classes than tomcat-ajp.jar so I removed ajp.jar.

When I've installed back ajp.jar, all worked fine.

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


RE: Peculiar problem

2003-11-13 Thread Shapira, Yoav

Howdy,
That's strange.  443 is the default SSL port, so maybe that's why
there's confusion.  Have your sys admin temporarily change 443 to
something else like 19734 and see what happens.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Magne Skjeret [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 12, 2003 3:49 AM
>To: Tomcat Users List
>Subject: Re: Peculiar problem
>
>Magne Skjeret wrote:
>Forgot to say it was on tomcat 4.0.4
>
>magne
>
>> Hi
>>
>> Just wanted to report a peculiar sighting.
>>
>> I had to test my server from a external machine, and the sys admin
set
>> it up..
>> But the only port he opened for me was 443.
>> So I set my http port to 443 (yes, I did not use ssl).
>> Peculiar setup, I admit that, but
>> when accessing the server with this url.
>> http://serverurl:443/mycontext
>> and did a request.getServerPort(), it reported 80, not 443 as
expected.
>>
>> Has anyone else seen this? Is it a feauture or a bug?
>>
>> Magne
>>
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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


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



  1   2   >