Re: Meta -inf folder

2001-01-16 Thread Aleksey Tsalolikhin

Dear Mary,

They are part of the JAR file.

http://www.lirmm.fr/beans/doc/jar.html may help.

Yours,
Aleksey

On Sat, Jan 13, 2001 at 01:31:48AM -, Mary McCarthy wrote:
 Hi,
 Anyone know what the Meta-inf folder is for?
 Thanks in advance.
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




Re: Tomcat 3.2.1 Source Tar Corrupt?

2001-01-09 Thread Aleksey Tsalolikhin

On Tue, Jan 09, 2001 at 11:31:06AM -0800, Pogo Com wrote:
 I've tried downloading the Tomcat 3.2.1 source tar
 multiple times.  It always gunzips fine, but when
 doing the untar, I get a directory checksum error. 

Yup, you need to use GNU tar to untar it.

You can get it from http://www.gnu.org/gnulist/production/tar.html

Yours,
-at

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




Re: Is ANYONE doing this?? TC3.2.1 standalone + SSL + multiple instances on multiple IP's

2001-01-09 Thread Aleksey Tsalolikhin

On Tue, Jan 09, 2001 at 12:10:57PM -0500, [EMAIL PROTECTED] wrote:
 Problem 2:
 I can not seem to get Tomcat to bind to different IP addresses. I have tried
 adding "inet=" and "address=" directives in various spots throughout the
 server.xml file for each test server created, but starting up Tomcat the second
 time returns "Address already in use" and the second address is unavailable. We
 want to be able to shutdown/restart/startup Tomcat on one IP and not affect
 other running Tomcat instances.
 
 If you are running Tomcat standalone with multiple IP addresses, or know someone
 who is, PLEASE email me your config files or tell me how you have done this.

Dear Dion,

I've had the same problem.  Seems you can't specify the bind IP address. 

However you can specify the port, so if you're behind a load balancer, you
can run different instances on different ports.

Yours Sincerely,
Aleksey Tsalolikhin

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




Binding to IP? (Tomcat 3.2)

2000-12-13 Thread Aleksey Tsalolikhin

Dear all,

Is there any way to get Tomcat to bind to a particular
socket, rather than just a port? 

We're running Tomcat as stand-alone web server (load
testing of our application showed it ran faster under 
stand-alone Tomcat than with Apache+mod_jserv), with the
HTTP connector bound to port 80.

Additionally, load testing shows that after about
45 users, response time starts going up more steeply.
However vmstat shows the box isn't CPU or memory starved,
so I suspect the bottleneck is in the application or in
Tomcat.

I'd like to run multiple instances of stand-alone
Tomcat on this one server, for example, one bound to
10.0.0.1:80, another to 10.0.0.2:80, and so on, to get
the most out of our hardware.

Can Tomcat 3.2.1 do this?  I'm running it on
Solaris 2.6 with Sun JDK 1.2.2.

Yours truly,
Aleksey Tsalolikhin
UNIX System Administrator



multiple hostnames in Host?

2000-12-01 Thread Aleksey Tsalolikhin

Hi,

I've set up a virtual host in Tomcat 3.2 using


Host name="www.x.com"
Context ... /Context
/Host

Great!  but there's is about a dozen hostnames that this website
is supposed to come up under.  

In Apache, I would have had:

VirtualHost 1.2.3.4
ServerName www.domain.com
ServerAlias www.domain2.com www.domain3.com www.domain4.com
www.domain5.com www.domain6.com www.domain7.com www.domain8.com
www.domain9.com www.domain10.com www.domain11.com wwwdomain12.com
DocumentRoot ...
ErrorLog ...
TransferLog ...
/VirtualHost

Is there something similar in Tomcat, or will I need multiple Host
statements, one per domain?

Sincerely,
Aleksey



Re: Thread handling question

2000-11-30 Thread Aleksey Tsalolikhin

On Thu, Nov 30, 2000 at 05:21:56PM +0100, Kai Müller wrote:
 Hi,
 
 I try to understand how Tomcat 3.1 handles requests.
[...]
 
 What about Tomcat 3.2 (announced today) and thread pooling? Is it
 similar?

Dear Kai,

Check out the "Use a Thread Pool in your Connectors" section in
Tomcat User's Guide at 
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html,
it describes how 3.2's thread pool works.

Sincerely,
Aleksey



Re: JspC HOW-TO? (Was precompilations)

2000-11-29 Thread Aleksey Tsalolikhin

On Wed, Nov 29, 2000 at 01:29:58PM -0600, Mike La Budde wrote:
 OK, I'm stumped! How do I use JspC to precompile a specific (or all of the) 
 .jsp file(s)?
 
 I've tried the following:
 
 jspc -uriroot c:\sfwr\tomcat\webapps\examples 
 -webapp  c:\sfwr\tomcat\webapps\examples 
 c:\sfwr\tomcat\webapps\examples\jsp\num\numguess.jsp
 
 and various other tries w/out success
 
 TIA,
 
 Mike


Dear Mike,

It might help if you post what kind of error you are getting,
or what happens when you try.

For me,

tomcat.sh jspc -v -d /usr/local/tomcat/work/localhost_8080%2Fcontextname -webapp 
/usr/local/tomcat/webapps/myapp

works, it converts my *.jsp files to *.java files (which I
understand now contain the servlet source code).

What I'm looking for is a tool to convert the servlet
source code to servlet classes, using the unique-class-name generation
algorithm described in
http://archives2.real-time.com/pipermail/tomcat-users/2000-August/008481.html
so Tomcat doesn't have to do this work itself when it starts.

Is there such a tool?  Or has anybody else run into Tomcat going into
500 server errors while trying to compile JSP pages under heavy load,
and if so, how did you deal with it, please?

Yours Sincerely,
Aleksey Tsalolikhin



What's with the _0002f in the filenames? (Precompiling JSP's)

2000-11-28 Thread Aleksey Tsalolikhin

Ok, here's a naive question:

When Tomcat (3.2b8/Sun JDK 1.2.2_06) runs a JSP file for me, say, somefile.jsp,
I notice it

a) precompiles to somefile.java in the work directory for that context
b) compiles it to _0002fsomefile_0002ejspsomefile_0.class
c) renames that to _0002fsomefile_0002ejspsomefile.class and executes it

Why not somefile.class?

It'd make precompiling JSP's into classes a lot easier; I could run
jspc to precompile the *.java files, and then "javac *.java" to 
precompile the class files.

Sincerely,
Aleksey

UNIX System Administrator



Re: Performance testing anyone?

2000-11-17 Thread Aleksey Tsalolikhin

On Wed, Nov 15, 2000 at 11:17:06AM -0600, Mike La Budde wrote:
 How are people doing performance testing? What tools are out there to aid 
 in this process?

Dear Mike,

We're using e-Test Suite from RSW,

http://www.rswsoftware.com/products/etest-suite_index.shtml

It's been useful so far, with fairly simple scenarios, in
simulating load.  I like the ip spoofing feature in particular
(you put ip aliases on the box it runs on, and it makes HTTP
connections from all those ip addresses).

Yours Sincerely,
Aleksey