Re: deploy a war file

2008-05-19 Thread Fred K
hi,

there are a few ways:
- expend the war manually (jar -xvf my.war) into the ./webapps sub
directory of your Tomcat.
- use the tomcat manager if installed to upload the war.
  http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html

Rgds - Fred

On Tue, May 20, 2008 at 12:26 AM, ashok prabhu - Sun Microsystems -
Bangalore India <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I downloaded a war file. I need to deploy the war file in tomcat. Please let
> me know how do i do it?
>
> Thanks,
> ~Ashok.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Wily Introscope

2008-04-24 Thread Fred K
Hi,

yes (solaris and linux - no difference)  note that there is some
information about on the http://wilytech.com > community (this peer
support area is open to all customers).

Rgds - Fred
On Thu, Apr 24, 2008 at 6:13 PM, Vance A. Arocho
<[EMAIL PROTECTED]> wrote:
>
> Anyone have any experience using Wily Introscope with Tomcat (version 4.1)
> running under Solaris ?
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Can I move the TomCat installation to another directory ?

2008-04-13 Thread Fred K
Hi,

In most case yes. Double check your startup script (or windows
service).   By default most of the tomcat configurations are relative
to ${catalina.base} which by default is ${catalina.home} which is the
installation directory.  The web apps are relative to the directory
webapps, if the web applications were not in webapps then you need to
check their context e.g. myapps.xml files.

Rgds - Fred

On Sat, Apr 12, 2008 at 10:41 AM, Ben Stover <[EMAIL PROTECTED]> wrote:
> I installed TomCat (under WinXP) to
>
> D:\server\java\TomCat\
>
> Can I just move the whole directory tree to another location e.g.
>
> D:\TomCat
>
> Or is the absolute path of the base directory entered somewhere in TomCats 
> config files
> during the initial TomCat installation?
>
> In this case an existing TomCat installation would obviously be immovable
>
> Ben
>
>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-01 Thread Fred K

Hi Kamal,

Not sure if this makes a difference in this case. When I compiled
apache I  added  a flag with:  export LDFLAGS="-static-libgcc" to
statically link the libgcc.

Rgds,
Fred

On 2/1/07, Kamalakar Vuggumudi <[EMAIL PROTECTED]> wrote:

Thanks Rainer. I found libgcc_s.so in /usr/local/lib dir on my machine. Once I 
added that to LD_LIBRARY_PATH,   __lshrdi3 error went away. Now I am getting 
symbol __umoddi3: referenced symbol not found error. When I do elfdump on 
libgcc_s.so, I see __umoddi3 symbol as being part of it. So I am a bit puzzled, 
but atleast I am making some progress with all your help.

I will let you know once I get it completly working..

Thanks
-Kamal




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



Ajp connector attributes *Processors vs *Threads

2006-07-13 Thread Fred K

Hello:

One of my colleagues had a good question today.

On the document about the Ajp connector (mod_jk ):
http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html

minProcessors and maxProcessors are said to be "deprecated" 
Apparently these atributes are replaced by *Threads.

So the questions are:

- what is the difference between the *Processors and the *Threads ?

- if they are equivalent then why is maxProcessors defaults 20 and the
maxThreads default is 10 times more: 200?

- what happens when both set of attributes are set?

Many Thanks - Fred


Suggestion for documentation update about jvmRoute

2006-02-12 Thread Fred K
Hi:

(I am not sure if this is the right forum for this message, please let
me know otherwise.)

In the documentation:
http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html

jvmRoute

Identifier which must be used in load balancing scenarios to enable
session affinity. The identifier, which must be unique across all Tomcat
5 servers which participate in the cluster, will be appended to the
generated session identifier, therefore allowing the front end proxy to
always forward a particular session to the same Tomcat 5 instance.

I would suggest an addition alike:

For session affinity when using the JK load balancer, this
identifier must match the corresponding worker's name defined in the JK
workers.properties configuration.

Regards - Fred


weird mod_jk loggin delay?

2006-02-05 Thread Fred K
Hello:

When I set the mod_jk log level to "info" or "warning" or "error", I do not
see any log entries until I shut down the Apache server or after a
delay (eg. after some buffer (?) filled with a 1000 chrs.).

With log level "debug" the logfile is updated instantly.  With 1.2.3-dev it
wrote the logfile instantly.

Does anybody observe this too ?
Is this unique to my installations? Am I missing some configuration setting
?  Is there some log buffer ? Where do I need to look, I do not think i see
any buffer setting in mod_jk.c?

Your help is greatly appreciated,

Thank you - Fred
ps: I am using mod_jk with Apache 1.3.28 and Tomcat 5.5.12 (Solaris 8 and
Linux RHEL).


Broken Architecture documentation pdf on tomcat.apache.org

2006-01-29 Thread Fred K
Hi:

When I look at the Architecture documentation pdf, I see only blank pages in
the pdf files linked under Tomcat Architecture.
These pdfs, are broken on tomcat.apache.org and when I build Tomcat
5.5.12from source (Linux/Solaris).

Bugzilla says it is fixed in September,
http://issues.apache.org/bugzilla/show_bug.cgi?id=36574

Is there something wrong with the documents or is my acrobat reader (version
6 and 7.0)?

1) Tomcat Architecture Startup error
http://tomcat.apache.org/tomcat-5.5-doc/architecture/startup/serverStartup.pdf

- UML pdf file does not open properly, it is blank pages and some Acrobat
error message:
 "an unrecognized token '.P35.76' was found."

2) Tomcat Architecture Request Process Flow error
http://tomcat.apache.org/tomcat-5.5-doc/architecture/requestProcess/requestProcess.pdf

- Acrobat error:
 "Cannot extract the embedded font 'EHPFDM+Arial'. Some characters may not
display or print correctly."

Should I reopen the bugzilla ticket?

Many thanks - Fred


Configuring and using jkstatus for only one Tomcat instance

2006-01-29 Thread Fred K
Hi:

Re: mod_jk.so v1.2.15 (and tomcat 5.5.12)

I followed the instructions on the web site to enable jkstatus a:
http://tomcat.apache.org/connectors-doc/howto/workers.html <= Status Worker
properties

After being puzzled for some time reading the same line over and over on
that page, I eventually understood that I needed to setup a load
balancer :)

While I do not have the need for balancing at this time, is it acceptable to
define a worker type lb with only one worker ?

Example:
worker.mylbWorker.type=lb
worker.mylbWorker.balance_workers=myWorker1

What are the side effects or risks (will it take more resources, more
memory, leakage,)

Your help is greatly appreciated,

Regards - Fred


Why does mod_jk write a file ./conf/ajp13.id

2006-01-29 Thread Fred K
Hi:

I am using mod_jk.so v1.2.15 (and tomcat 5.5.12)

Why does mod_jk need to create and write the file ajp13.id in the
configuration directory?

./conf/ajp13.id

#Automatically generated, don't edit
#Thu Jan 26 16:24:17 GMT 2006
secret=secretword
port=8009

I like (feel more secure) to have all the configuration directories set
to read only so this 'write' requirement creates a problem.

Also odd, is that the port attribute is the tomcat default and not the
active port defined in the workers.properties nor server.xml. Is that a
bug or another configuration issue?

Your help is greatly appreciated,

Thank you - Fred


Is mod_jk buffering its log ? Is this a problem ?

2006-01-29 Thread Fred K
Hello:

I am using mod_jk between my Apache 1.3.x and Tomcat 5.5.12 on Solaris 8
and Linux (RHEL2 and RHEL3)

The one issue which bothers *support* is that if you have an error
reported by mod_jk you do not see the error messages in the logfile until
you shutdown the server or reach some size trigger e.g. 1000+ bytes).
With log level DEBUG the logs are updated instantly.

If we turn on the request loggin:
JkRequestLogFormat "%w %V %U %s %T %B %H %m"

We do not see an logs for a few line (until the buffer is flushed?) and
under some low stress load (10 requ/sec) the lines might wrap with
some partial character loss (that was not the case for version 1.2.3-dev).

Am I missing some configuration setting ?? Where do I need to look ?

Your help will be greatly appreciated,

Thank you - Fred