Re: Jars not being loaded from WEB-INF/lib

2006-04-10 Thread Barbara Geller


The jar files were in WEB-INF/lib right from the start.  This web app is 
in the exact same location as it was for NetBeans 4.1 (Tomcat 5.5.7)  
and the jar files are loaded perfectly.   I did a clean build for 
NetBeans 5 ( Tomcat 5.5.9 ) but the jar files are not been loaded.


I found nothing about "reload" in server.xml.   I am guessing this would 
only effect telling Tomcat to restart?   Since I have shut down and 
reopened Tomcat about 5 times and it still does not work,   I am guess 
this is not the issue.  If I am missing something here please let me 
know.I really do not like the idea of putting my jars in  
CATALINA_HOM/common/lib.


Barbara





Have you restarted your tomcat, after placing the jar's inside WEB-INF/lib?
Try setting relaod="true" in your context declaration (conf/server.xml)

--
Manivannan Palanichamy
http://geocities.com/manivannan57



-Original Message-
From: Barbara Geller <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Sat, 08 Apr 2006 22:41:46 +
Subject: Jars not being loaded from WEB-INF/lib


Moved from Tomcat 5.0 to 5.5, as I upgraded from NetBeans 4.1 to 5.0. With Tomcat 5.0 I have several jar files in my WEB-INF/lib that worked perfectly. With Tomcat 5.5 the jar files are not being loaded. If I copy them to CATALINA_HOME/common/lib then it works. 

Any idea what changed? I really do not want to keep my jar files in common/lib. 

Thanks, 

Barbara 


Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

 



Re: index.jsp not showing after successful installation

2006-04-10 Thread balaraju mandala
Hi Bob,

Thanks for your response.

catalina.out file is not ending with any error messages. It is showing that,
Tomcat started successfully with some millesecond time. I am using 8080 port
for Tomcat. I am entering http://myip:8080 in the browser. But simple error
page is displaying. No 404 or any special errors from Tomcat.

Regards,
Bala.


Apache and Tomcat

2006-04-10 Thread Kaushal Shriyan
Hi ALL

Apache is a Standalone Web Server
Tomcat is a Standalone Application Server
In case of Tomcat its actually a Servlet/JSP Container
so programs written in JSP or Servlets can be hosted on it
Can I have a detailed explanation on this


My question is can I have Tomcat Application Server only to host my
JSP Servlets
application or do i need also Apache Web Server

Please also let me know whether Apache Web Server is written in C
Programming Language and Tomcat is written in JAVA and the mod_jk
connector is written in C Language

Thanks in Advance

Regards

Kaushal

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



CreateJavaVM Failed when setting PermSize

2006-04-10 Thread SnowCrash

Hello all,

I'm trying to override the default PermSize and MaxPermSize values in the
JVM due to some OutOfMemory errors we were getting recently, but I don't
appear to be able to set this in the Tomcat Service Properties (on Windows).

I have tried adding:

-XX:PermSize=128m
-XX:MaxPermSize=160m 

to the "Java options" section in the "Java" tab of the Tomcat Service
configuration dialog, but this prevents the service from starting, simply
listing:

[409  javajni.c] [error] CreateJavaVM Failed
[930  prunsrv.c] [error] Failed initializing java
C:\tomcat-5.5.12\bin\bootstrap.jar
[1179 prunsrv.c] [error] ServiceStart returned 2

In the service log.

I have also tried adding:

-Dcatalina.opts=-XX:PermSize=128m -XX:MaxPermSize=160m 

(I saw this on another post somewhere).  This appears to do nothing as the
MemoryPoolMXBean for the Perm Gen memory pool still reports a max size of
64m.

I have also tried setting an environment variable under JAVA_OPTS for the
same config (I saw this mentioned somewhere too); but again nothing.

Anyone know how I can configure the JVM under a Windows (service)
installation of Tomcat to change the Initial/Max PermSize?

Seems to me the first option should work but crashes the JVM.

I am using:

jdk1.5.0_04
tomcat-5.5.12
Windows XP SP2

Thanks.
--
View this message in context: 
http://www.nabble.com/CreateJavaVM-Failed-when-setting-PermSize-t1423415.html#a3837141
Sent from the Tomcat - User forum at Nabble.com.


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



Re: CreateJavaVM Failed when setting PermSize

2006-04-10 Thread Leon Rosenberg
I think the PermSize can be only a 2 to the power of n, and 160M isn't
a valid value then.
Try to set it to 256M.
regards
Leon

On 4/10/06, SnowCrash <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I'm trying to override the default PermSize and MaxPermSize values in the
> JVM due to some OutOfMemory errors we were getting recently, but I don't
> appear to be able to set this in the Tomcat Service Properties (on Windows).
>
> I have tried adding:
>
> -XX:PermSize=128m
> -XX:MaxPermSize=160m
>
> to the "Java options" section in the "Java" tab of the Tomcat Service
> configuration dialog, but this prevents the service from starting, simply
> listing:
>
> [409  javajni.c] [error] CreateJavaVM Failed
> [930  prunsrv.c] [error] Failed initializing java
> C:\tomcat-5.5.12\bin\bootstrap.jar
> [1179 prunsrv.c] [error] ServiceStart returned 2
>
> In the service log.
>
> I have also tried adding:
>
> -Dcatalina.opts=-XX:PermSize=128m -XX:MaxPermSize=160m
>
> (I saw this on another post somewhere).  This appears to do nothing as the
> MemoryPoolMXBean for the Perm Gen memory pool still reports a max size of
> 64m.
>
> I have also tried setting an environment variable under JAVA_OPTS for the
> same config (I saw this mentioned somewhere too); but again nothing.
>
> Anyone know how I can configure the JVM under a Windows (service)
> installation of Tomcat to change the Initial/Max PermSize?
>
> Seems to me the first option should work but crashes the JVM.
>
> I am using:
>
> jdk1.5.0_04
> tomcat-5.5.12
> Windows XP SP2
>
> Thanks.
> --
> View this message in context: 
> http://www.nabble.com/CreateJavaVM-Failed-when-setting-PermSize-t1423415.html#a3837141
> Sent from the Tomcat - User forum at Nabble.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: Tomcat send ThreadDeath to one of it's own Threads

2006-04-10 Thread David Delbecq
Darryl L. Miles a écrit :

> David Delbecq wrote:
>
>> I experienced a strange behaviour of tomcat a few minutes ago. Container
>> is configured to do webapp auto reloading when classes changes. I
>> updated a few WEB-INF/classes/*.properties. Tomcat decided it's time to
>> reload the webapp because classes did change. However, it killed it's
>> own webapp loader Thread using a ThreadDeath. As a result, the webapp is
>> not accessible anymore. I suppose it's a bug from the webapp reloader,
>> but before submission to bug tracker, i'd appreciate comments.
>>
>> The result of this problem is
>> 1) webapp does not exist anymore (404 while trying to access it)
>> 2) webapp is marqued in manager as not started, but trying to start it
>> result in an 'already started' error
>> 3) you must either restart tomcat, either undeploy/redploy the webapp to
>> get it back working
>>   
>
> I have also experienced behavior similar to what you describe.  I have
> been able to categorize a few distinct variants.  First of all, can
> you reliably re-create the variant you have just witnessed ?

Not reliably. I was able to reproduce it a few times after the error
occured, but it all seems to be somehow random. Only common step is, it
happens during webapp redeploy, like a container class is using a webapp
class and so keeps it. Note it might be related to another problem i
have in my environnment. If i switch from j2sdk1.4.2_05 to
j2sdk1.4.2_11, tomcat does not start anymore, invoking a class
circularity exception in logger system. I have no clue on what causes
this, but if tomcat tries to use the webapp classloader for it's logging
purpose, that might explain. I maybe have a problem in loggers
configuration i need to investigate (considering 4 different logging
mecanisms are interacting, that could be fun :p )

>
> For some reason that I don't understand the container chooses to use a
> logger instance that is loaded through the WebappClassLoader for its
> own purposes.  Maybe this is mandated in specifications, maybe this is
> so that a web-app has some control internally over context related
> logging events the container generates.  But in my own testing if the
> container sticks with its own logger instance (not loaded via
> WebappClassLoader) then it remain inert to (mis)configuration effects
> the web-app chooses to make.

i don't think it's in specs. Moreover i never wrote any similar rule in
my webapp config. There is no reason tomcat should use my webapp classes
for logging purpose...

>
> I believe the variant you witnessed can be reduced into a simple
> situation where the web-application might reconfigure its logger
> instance (which it rightfully believes its own to do so) in such a way
> to cause problems to the container when it tries to use it later. 
> This problem shows up in a future container logging event.

I believe it's more the container using a class that don't exist anymore
as webapp is undeployed.


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



Re: Apache and Tomcat

2006-04-10 Thread Franck Borel



Hi ALL

Apache is a Standalone Web Server
Tomcat is a Standalone Application Server
  
Tomcat is a Servlet-Container/JSP! If you need an application Server, 
use JBoss or Geronimo instead.

In case of Tomcat its actually a Servlet/JSP Container
so programs written in JSP or Servlets can be hosted on it
Can I have a detailed explanation on this

  

Please look at: http://tomcat.apache.org/tomcat-5.5-doc/index.html

My question is can I have Tomcat Application Server only to host my
JSP Servlets
application or do i need also Apache Web Server

  
You don' need the Apache Web Server. Tomcat supports HTML and SSL, so 
that you can abstain from Apache Web Server.

Please also let me know whether Apache Web Server is written in C
Programming Language and Tomcat is written in JAVA and the mod_jk
connector is written in C Language

  
The Apache Web Server and mod_jk are written in C++ and Tomcat is a pure 
Java application.


-- Franck

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

Re: CreateJavaVM Failed when setting PermSize

2006-04-10 Thread SnowCrash

Wow... I'm sure I tried that originally and got the same problem... however
this time it worked!

Thanks.

FYI for anyone else, this is what I have in my Tomcat Service config:

-Dcatalina.home=C:\tomcat-5.5.12
-Dcatalina.base=C:\tomcat-5.5.12
-Djava.endorsed.dirs=C:\tomcat-5.5.12\common\endorsed
-Djava.io.tmpdir=C:\tomcat-5.5.12\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\tomcat-5.5.12\conf\logging.properties
-XX:PermSize=128m
-XX:MaxPermSize=256m

With:

Initial memory pool: 128
Maximum memory pool: 512

Obviously my tomcat instance is installed at C:\tomcat-5.5.12


--
View this message in context: 
http://www.nabble.com/CreateJavaVM-Failed-when-setting-PermSize-t1423415.html#a3837504
Sent from the Tomcat - User forum at Nabble.com.


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



Re: index.jsp not showing after successful installation

2006-04-10 Thread Bob Hall
--- balaraju mandala <[EMAIL PROTECTED]>
wrote:

> Hi Bob,
> 
> Thanks for your response.
> 
> catalina.out file is not ending with any error
> messages. It is showing that,
> Tomcat started successfully with some millesecond
> time. I am using 8080 port
> for Tomcat. I am entering http://myip:8080 in the
> browser. But simple error
> page is displaying. No 404 or any special errors
> from Tomcat.
> 
> Regards,
> Bala.
> 

Bala,

Your catalina.out should contain something like:

INFO: Starting Coyote HTTP/1.1 on http-8080

It may also contain something like:

INFO: JK2: ajp13 listening on /0.0.0.0:8009

grep for "Coyote HTTP" and "ajp13 listening" in
your catalina.out and let us know what you find.
You should also grep for "Exception" in catalina.out.

Some more questions:

1. What browser are you using?

2. Is the browser running on the same system that
   is hosting Tomcat?

3. Is there a firewall in place on the linux
   box that is hosting Tomcat?

4. What exactly is the text on the "simple error
page"?

-Bob

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Apache and Tomcat

2006-04-10 Thread Graham Leggett
On Mon, April 10, 2006 9:59 am, Franck Borel said:

> The Apache Web Server and mod_jk are written in C++

Small detail, they are both written in C.

Regards,
Graham
--



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



Re: index.jsp not showing after successful installation

2006-04-10 Thread balaraju mandala
Bob,

The ending messages in catalina.out are -->

 Apr 10, 2006 1:48:20 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 10, 2006 1:48:20 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 10, 2006 1:48:20 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/24
config=/home/wizon555/Softwares/tomcatsoftware/jakarta-tomcat-5.0.28
/conf/jk2.properties
Apr 10, 2006 1:48:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2742 ms

and there are no 'Exceptions' in catalina.out. I am using Internet Explorer
6. I am connecting to remotly located system, where i installed Tomcat and
trying to access it from my System. There is no Physical firewall present
for that server, a software was installed, but though i disabled software
firewall result is same.

 -Bala


Re: users Digest 10 Apr 2006 07:51:52 -0000 Issue 6369

2006-04-10 Thread roy tang
I wish I knew...we've already tried setting some different settings, such as
the JVM file encoding, etc. But we can't isolate what is the difference...

On 10 Apr 2006 07:51:52 -, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> -- Forwarded message --
> From: Mike Sabroff <[EMAIL PROTECTED]>
> To: Tomcat Users List 
> Date: Sun, 09 Apr 2006 22:53:03 -0500
> Subject: Re: Help with filter affecting Chinese words in request
> parameters
> So, what are the differences on the machines that have the problem vs
> the ones that don not??
>
> roy tang wrote:
> > Hi,
> >
> > I'm new to this list, hope someone here can help. :)
> >
> > We're developing a webapp that should be able to accept Chinese input.
> We
> > also have a filter installed in the webapp for some auditing that we
> need to
> > do per request that's processed. However, we've found that when we
> submit a
> > form with Chinese inputs, the Chinese chars end up saved to the database
> as
> > HTML-escaped entities. (i.e. 罢 or such).
> >
> > So we backtrace, and we find that removing the filter from web.xml fixes
> the
> > problem. We debug through the doFilter() method of our filter, but we
> find
> > that at the start of the method, request.getParameter("PARAM_NAME")
> already
> > shows the input as HTML-escaped entities.
> >
> > The weird thing is, this doesn't happen on all our Tomcat
> > installations...each of our developers has a local Tomcat running, and
> it
> > only happens for one or two. But it also happens on our Test (QA)
> server,
> > such that our testing team always encounters the problem.
> >
> > Is there any particular language or encoding setting that I should be
> > checking?
> >
> > Thanks a lot :D
> >
> > Roy
> >
>
> --
> Mike Sabroff
> Web Services Developer
> [EMAIL PROTECTED]
> 920-568-8379
>

--
Roy Tang for President in 2022
http://roytang.net/blog


Re: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread Mark Hagger
Hi,

This may not be relevant here, but one standard "gotcha" that keeps
hitting me is a difference in the platforms default encoding.  Ie some
machines have a default of ISO-88591, some CP1252, and some UTF-8.  The
JVM then just merrily does stuff using the default encoding, and thus
developers get a working system and the production systems don't...

In some ways its better to have developers all working with different
defaults, so at least issues like this get caught early.

A thought anyway.

Mark


On Sun, 2006-04-09 at 22:53 -0500, Mike Sabroff wrote:
> So, what are the differences on the machines that have the problem vs 
> the ones that don not??
> 
> roy tang wrote:
> > Hi,
> >
> > I'm new to this list, hope someone here can help. :)
> >
> > We're developing a webapp that should be able to accept Chinese input. We
> > also have a filter installed in the webapp for some auditing that we need to
> > do per request that's processed. However, we've found that when we submit a
> > form with Chinese inputs, the Chinese chars end up saved to the database as
> > HTML-escaped entities. (i.e. 罢 or such).
> >
> > So we backtrace, and we find that removing the filter from web.xml fixes the
> > problem. We debug through the doFilter() method of our filter, but we find
> > that at the start of the method, request.getParameter("PARAM_NAME") already
> > shows the input as HTML-escaped entities.
> >
> > The weird thing is, this doesn't happen on all our Tomcat
> > installations...each of our developers has a local Tomcat running, and it
> > only happens for one or two. But it also happens on our Test (QA) server,
> > such that our testing team always encounters the problem.
> >
> > Is there any particular language or encoding setting that I should be
> > checking?
> >
> > Thanks a lot :D
> >
> > Roy
> >   
> 



This email has been scanned for all known viruses by the MessageLabs SkyScan 
service.

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



Re: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread Kurt Overberg
I'm running using Unicode for international characters, and I have 
-Dfile.encoding=UTF-8 set on my VMs.  Also, at the top of all my JSP 
pages, I have:


<%@ page language="java" pageEncoding="UTF-8"%>

...we may also have a Filter set up to something in the chain, but I 
can't check that right now.  Hope this helps...


/kurt



roy tang wrote:

Hi,

I'm new to this list, hope someone here can help. :)

We're developing a webapp that should be able to accept Chinese input. We
also have a filter installed in the webapp for some auditing that we need to
do per request that's processed. However, we've found that when we submit a
form with Chinese inputs, the Chinese chars end up saved to the database as
HTML-escaped entities. (i.e. 罢 or such).

So we backtrace, and we find that removing the filter from web.xml fixes the
problem. We debug through the doFilter() method of our filter, but we find
that at the start of the method, request.getParameter("PARAM_NAME") already
shows the input as HTML-escaped entities.

The weird thing is, this doesn't happen on all our Tomcat
installations...each of our developers has a local Tomcat running, and it
only happens for one or two. But it also happens on our Test (QA) server,
such that our testing team always encounters the problem.

Is there any particular language or encoding setting that I should be
checking?

Thanks a lot :D

Roy


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



Re: Apache and Tomcat

2006-04-10 Thread Franck Borel



On Mon, April 10, 2006 9:59 am, Franck Borel said:

  

The Apache Web Server and mod_jk are written in C++



Small detail, they are both written in C.

  

Small ;-))!

Another detail about mod_jk 1.2 web server connector for
Tomcat:  Only the web server connector source is included.  The Tomcat
side of the connector is available with the normal Tomcat distribution.

-- Franck

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

Error on Startup.

2006-04-10 Thread Sergio Gonzalez Ramos
Hi there.
  I installed Tomcat 5.0.28 on unix environment.
  JSDK 1.4.2
  
  I'm getting following error whenever i try to start the tomcat
  
   Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/catalina/startup/Bootstrap
  
  every thing seems to be fine... ( permissions , classes )
  
  Any idea?
  Regards.


-

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

Tomcat Deploy

2006-04-10 Thread Marisol Opreni
Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.

 

Why this could be??



RE: Error on Startup.

2006-04-10 Thread Farrow, Marc
Looks like in the startup script the env variable of Catalina_Home is not set
properly.

-Original Message-
From: Sergio Gonzalez Ramos [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: Tomcat Users List
Subject: Error on Startup.

Hi there.
  I installed Tomcat 5.0.28 on unix environment.
  JSDK 1.4.2
 
  I'm getting following error whenever i try to start the tomcat
 
   Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap
 
  every thing seems to be fine... ( permissions , classes )
 
  Any idea?
  Regards.

   
-

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com


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



RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
Can you send either?  - 

1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war



-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy

Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.



Why this could be??


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



RE: Tomcat Deploy

2006-04-10 Thread Marisol Opreni








Thanks!

Here’s the war structure

 



 

WEB-INF



 

Regards.

 

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

 

Can you send either?  - 

 

1) the actual war file

2) a graphical picture of the information in the war file    jar -tf

warfilename.war

 

 

 

-Original Message-

From: Marisol Opreni [mailto:[EMAIL PROTECTED]

Sent: Monday, April 10, 2006 8:40 AM

To: users@tomcat.apache.org

Subject: Tomcat Deploy

 

Hi!

 

I'm working with Tomcat 5.5.16.

 

When I deploy a well formed war (I think it's well formed), there's
only one

folder deployed: WORK.

 

And obviously my web site doesn't work.

 

 

 

Why this could be??

 

 

-

To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 








RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
The inline attachments did not work.
 
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy
 
Thanks!
Here's the war structure
 

 
WEB-INF

 
Regards.
 
-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy
 
Can you send either?  - 
 
1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war
 
 
 
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy
 
Hi!
 
I'm working with Tomcat 5.5.16.
 
When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.
 
And obviously my web site doesn't work.
 
 
 
Why this could be??
 
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


RE: Tomcat Deploy

2006-04-10 Thread Marisol Opreni
bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.
 
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy
 
Thanks!
Here's the war structure
 

 
WEB-INF

 
Regards.
 
-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy
 
Can you send either?  - 
 
1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war
 
 
 
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy
 
Hi!
 
I'm working with Tomcat 5.5.16.
 
When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.
 
And obviously my web site doesn't work.
 
 
 
Why this could be??
 
 
-
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 Deploy

2006-04-10 Thread Farrow, Marc
How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

Thanks!
Here's the war structure



WEB-INF


Regards.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Can you send either?  -

1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war



-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy

Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.



Why this could be??


-
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: Tomcat Deploy

2006-04-10 Thread Marisol Opreni
I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

Thanks!
Here's the war structure



WEB-INF


Regards.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Can you send either?  -

1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war



-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy

Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.



Why this could be??


-
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: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
Does the application run at all?  
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

Thanks!
Here's the war structure



WEB-INF


Regards.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Can you send either?  -

1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war



-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy

Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.



Why this could be??


-
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: Tomcat Deploy

2006-04-10 Thread Earnie Dyke
Greetings all,

We are running IIS 6 as our web server :-( and using mod_jk to get to our 
Tomcat servers running in JBoss. I am trying to tune the mod_jk and do not know 
how to tell how many threads per child IIS uses. How can I find this? From my 
reading this is needed to determine how best to configure the cachesize parm in 
the workers file.

Thanks in advance for any and all response.

Earnie!

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



RE: Tomcat Deploy

2006-04-10 Thread Marisol Opreni
No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all?  
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

Thanks!
Here's the war structure



WEB-INF


Regards.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Can you send either?  -

1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war



-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy

Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.



Why this could be??


-
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: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all? 
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

Thanks!
Here's the war structure



WEB-INF


Regards.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:43 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Can you send either?  -

1) the actual war file
2) a graphical picture of the information in the war filejar -tf
warfilename.war



-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: users@tomcat.apache.org
Subject: Tomcat Deploy

Hi!

I'm working with Tomcat 5.5.16.

When I deploy a well formed war (I think it's well formed), there's only one
folder deployed: WORK.

And obviously my web site doesn't work.



Why this could be??


-
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: Error on Startup.

2006-04-10 Thread Sergio Gonzalez Ramos
THX!!

"Farrow, Marc" <[EMAIL PROTECTED]> escribió:  Looks like in the startup script 
the env variable of Catalina_Home is not set
properly.

-Original Message-
From: Sergio Gonzalez Ramos [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:40 AM
To: Tomcat Users List
Subject: Error on Startup.

Hi there.
  I installed Tomcat 5.0.28 on unix environment.
  JSDK 1.4.2
 
  I'm getting following error whenever i try to start the tomcat
 
   Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap
 
  every thing seems to be fine... ( permissions , classes )
 
  Any idea?
  Regards.

   
-

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com


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




-

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

RE: Tomcat Deploy

2006-04-10 Thread Marisol Opreni

I think it isn't deploying, this is the log file:


10/04/2006 10:32:36 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;"C:\Program Files\Symantec\Norton Ghost
2003\";C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\adss.licensing.web\WEB-INF\classes;C:\DocBook\ANT\apache-ant-1.6
.5-bin\apache-ant-1.6.5\bin;C:\proc\processors2\prog1;C:\tomcat5\webapps\edu
.marisol.catedra\WEB-INF\classes;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Documents and
Settings\mopreni.PATAGONIA-TECH\Desktop\svn-win32-1.3.1\svn-win32-1.3.1\bin
10/04/2006 10:32:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 905 ms
10/04/2006 10:32:36 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
10/04/2006 10:32:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
10/04/2006 10:32:36 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validación XML
10/04/2006 10:32:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo adss.licensing.web.20060406-1810.war de la
aplicación web
10/04/2006 10:32:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10/04/2006 10:32:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62  config=null
10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1123 ms


Thanks!

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 10:26 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all? 
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

Thanks!
Here's the war structure



WEB-INF


Regards.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado e

FW: question regarding 'mod_jk: error flushing'

2006-04-10 Thread Kevin Song
Hello there,

 

Does anyone know what is this 'mod_jk: error flushing' about? I am using
Tomcat 5.0, Apache and Mod_JK in production environment and keep getting
this error in error log. I do google search and find lots of persons
asking this question but no answer. Can anybody having experience with
this shed a light on what it might be and how to resolve it?

 

 

Thanks a lot,

 

Kevin Song

 



Re: Error on Startup.

2006-04-10 Thread Franck Borel


  
  I'm getting following error whenever i try to start the tomcat
  
   Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
  
Sounds like your Tomcat can't find your JDK. Have you set the PATH and 
JAVA_HOME environmen variable?

Try:
root# echo $JAVA_HOME
and
root# java -version


-- Franck

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

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
Sorry, but this is not helping me.  I can't read the language below.  

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:34 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


I think it isn't deploying, this is the log file:


10/04/2006 10:32:36 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;"C:\Program Files\Symantec\Norton Ghost
2003\";C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\adss.licensing.web\WEB-INF\classes;C:\DocBook\ANT\apache-ant-1.6
.5-bin\apache-ant-1.6.5\bin;C:\proc\processors2\prog1;C:\tomcat5\webapps\edu
.marisol.catedra\WEB-INF\classes;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Documents and
Settings\mopreni.PATAGONIA-TECH\Desktop\svn-win32-1.3.1\svn-win32-1.3.1\bin
10/04/2006 10:32:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 905 ms
10/04/2006 10:32:36 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
10/04/2006 10:32:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
10/04/2006 10:32:36 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validación XML
10/04/2006 10:32:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo adss.licensing.web.20060406-1810.war de la
aplicación web
10/04/2006 10:32:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10/04/2006 10:32:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62  config=null
10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1123 ms


Thanks!

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:26 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all?
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Inside WEB-INF
classes
lib
src
Some .properties
Some .tld
Some .xml including web.xml

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 09:53 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

The inline attachments did not work.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PR

RE: Tomcat Deploy

2006-04-10 Thread Marisol Opreni

Here there is the translation.
Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 10:37 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Sorry, but this is not helping me.  I can't read the language below.  

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:34 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


I think it isn't deploying, this is the log file:


10/04/2006 10:32:36 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;"C:\Program Files\Symantec\Norton Ghost
2003\";C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\adss.licensing.web\WEB-INF\classes;C:\DocBook\ANT\apache-ant-1.6
.5-bin\apache-ant-1.6.5\bin;C:\proc\processors2\prog1;C:\tomcat5\webapps\edu
.marisol.catedra\WEB-INF\classes;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Documents and
Settings\mopreni.PATAGONIA-TECH\Desktop\svn-win32-1.3.1\svn-win32-1.3.1\bin
10/04/2006 10:32:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 905 ms
10/04/2006 10:32:36 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
Starting Catalina service
10/04/2006 10:32:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
10/04/2006 10:32:36 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validación XML
Non XML validation
10/04/2006 10:32:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo adss.licensing.web.20060406-1810.war de la
aplicación web
deployinf war file adss.licensing.web.20060406-1810.war
10/04/2006 10:32:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
Starting up coyote in port http-8080
10/04/2006 10:32:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10/04/2006 10:32:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62  config=null
10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1123 ms


Thanks!

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:26 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all?
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:01 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

How are you deploying?  The War seems ok from the tiny information supplied.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 8:59 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

bin
img
jsp
META-INF
styles
WEB-INF
build.properties
build.xml


Ins

RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
So this is the correct name of your war file and directory?

adss.licensing.web.20060406-1810.war

What platform are you deploying on?

This might be an issue with filename, but I will wait for more information.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:52 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


Here there is the translation.
Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:37 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Sorry, but this is not helping me.  I can't read the language below. 

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:34 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


I think it isn't deploying, this is the log file:


10/04/2006 10:32:36 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;"C:\Program Files\Symantec\Norton Ghost
2003\";C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\adss.licensing.web\WEB-INF\classes;C:\DocBook\ANT\apache-ant-1.6
.5-bin\apache-ant-1.6.5\bin;C:\proc\processors2\prog1;C:\tomcat5\webapps\edu
.marisol.catedra\WEB-INF\classes;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Documents and
Settings\mopreni.PATAGONIA-TECH\Desktop\svn-win32-1.3.1\svn-win32-1.3.1\bin
10/04/2006 10:32:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 905 ms
10/04/2006 10:32:36 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
Starting Catalina service
10/04/2006 10:32:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
10/04/2006 10:32:36 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validación XML
Non XML validation
10/04/2006 10:32:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo adss.licensing.web.20060406-1810.war de la
aplicación web
deployinf war file adss.licensing.web.20060406-1810.war
10/04/2006 10:32:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
Starting up coyote in port http-8080
10/04/2006 10:32:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10/04/2006 10:32:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62  config=null
10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1123 ms


Thanks!

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:26 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all?
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's only a folder deployed: WORK.

Maybe server.xml file?
There, I've got this:


WARname without .WAR extension.

Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 20

RE: Tomcat Deploy

2006-04-10 Thread Marisol Opreni
I'm working with Windows XP.
Java 1.5.06.
Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 10 de Abril de 2006 10:54 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

So this is the correct name of your war file and directory?

adss.licensing.web.20060406-1810.war

What platform are you deploying on?

This might be an issue with filename, but I will wait for more information.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:52 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


Here there is the translation.
Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:37 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Sorry, but this is not helping me.  I can't read the language below. 

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:34 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


I think it isn't deploying, this is the log file:


10/04/2006 10:32:36 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;"C:\Program Files\Symantec\Norton Ghost
2003\";C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\adss.licensing.web\WEB-INF\classes;C:\DocBook\ANT\apache-ant-1.6
.5-bin\apache-ant-1.6.5\bin;C:\proc\processors2\prog1;C:\tomcat5\webapps\edu
.marisol.catedra\WEB-INF\classes;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Documents and
Settings\mopreni.PATAGONIA-TECH\Desktop\svn-win32-1.3.1\svn-win32-1.3.1\bin
10/04/2006 10:32:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 905 ms
10/04/2006 10:32:36 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
Starting Catalina service
10/04/2006 10:32:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
10/04/2006 10:32:36 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validación XML
Non XML validation
10/04/2006 10:32:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo adss.licensing.web.20060406-1810.war de la
aplicación web
deployinf war file adss.licensing.web.20060406-1810.war
10/04/2006 10:32:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
Starting up coyote in port http-8080
10/04/2006 10:32:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10/04/2006 10:32:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62  config=null
10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1123 ms


Thanks!

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:26 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Does the application run at all?
// assuming you are running Tomcat on port 8080
http://localhost:8080/WARname

If so, you might just have the unPackwar attribute set to false.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Eclipse and Tomcat plugin.
>From within Eclipse, I export the war file (Tomcat down).
I startup Tomcat and there's onl

JSP Include directive problem when upgrading to Tomcat 5.5

2006-04-10 Thread TiGRETON
Hi,

We are moving from Tomcat 5.0.28 to Tomcat 5.5.16, and we found that JSP
<%@ include %> directives fail when the path contains a call to a file
placed in the parent (..) directory.

AFAIK Tomcat is creating a separate context for JSP files in the /admin/
directory. How can I disable this behavior?

This is our server.xml file. We replaced the original one with this
trimmed version. We only use AJP (which works fine), and as we have
several tomcats running on the same server we changed the port numbers

-
--[server.xml]


  





  
www.oursite.com
oursite.com



  

  

- 

- --[/var/www/html/oursite.com/foo.jsp]---
<% out.write("foo"); %>
- 

- --[/var/www/html/oursite.com/admin/bar.jsp]-
<% out.write("Bar"); %>
<%@ include file="../foo.jsp" %>
- 

- --[Error when calling oursite.com/admin/bar.jsp]
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /bar.jsp(2,0) File "/../foo.jsp" not
found
- 

Thanks!

Iván Montoro

P.S. Sorry if this is covered in any FAQ, but I've searched the mailing
list archives, google'd and read the Tomcat docs without clue...

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



RE: Tomcat Deploy

2006-04-10 Thread Farrow, Marc
I am using Java 1.4.2_11 and it works find on Windows 2000.  Without more
details from other log files or something, I can't really help.  My only
guess is that Tomcat is having problems extracting the WAR file.  I used a
weird file name on my pc just now and it deploy correctly at the following
URL.

http://localhost:8080/Test.Web.Applications.20060406-1800





-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:58 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

I'm working with Windows XP.
Java 1.5.06.
Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:54 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

So this is the correct name of your war file and directory?

adss.licensing.web.20060406-1810.war

What platform are you deploying on?

This might be an issue with filename, but I will wait for more information.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:52 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


Here there is the translation.
Thanks.

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:37 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Sorry, but this is not helping me.  I can't read the language below.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:34 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy


I think it isn't deploying, this is the log file:


10/04/2006 10:32:36 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste
m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI
Technologies\ATI Control Panel;"C:\Program Files\Symantec\Norton Ghost
2003\";C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\adss.licensing.web\WEB-INF\classes;C:\DocBook\ANT\apache-ant-1.6
.5-bin\apache-ant-1.6.5\bin;C:\proc\processors2\prog1;C:\tomcat5\webapps\edu
.marisol.catedra\WEB-INF\classes;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\Java\jdk1.5.0_04\bin;C:\Documents and
Settings\mopreni.PATAGONIA-TECH\Desktop\svn-win32-1.3.1\svn-win32-1.3.1\bin
10/04/2006 10:32:36 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
10/04/2006 10:32:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 905 ms
10/04/2006 10:32:36 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
Starting Catalina service
10/04/2006 10:32:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
10/04/2006 10:32:36 org.apache.catalina.core.StandardHost start
INFO: Desactivada la validación XML
Non XML validation
10/04/2006 10:32:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo adss.licensing.web.20060406-1810.war de la
aplicación web
deployinf war file adss.licensing.web.20060406-1810.war
10/04/2006 10:32:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
Starting up coyote in port http-8080
10/04/2006 10:32:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
10/04/2006 10:32:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/62  config=null
10/04/2006 10:32:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
10/04/2006 10:32:37 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1123 ms


Thanks!

-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:26 a.m.
Para: Tomcat Users List
Asunto: RE: Tomcat Deploy

Check the log files for the testing tomcat that you are trying to deploy to.
If the application is not starting up then there has to be some information
in those log files  %tomcat_home%/logs.

-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 9:23 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat Deploy

No, the application doesn't run on http://localhost:8080/WARname.

I have two tomcats. The first one is attached to Eclipse, the application
works there!

The 2nd Tomcat is for testing. The app doesn't work there.




-Mensaje original-
De: Farrow, Marc [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 10 de Abril de 2006 10:17 a.m.

how setup landing page in tomcat

2006-04-10 Thread Bryan

Hi
I am new to Tomcat 5 config. I have a webapp running on tomcat, and to 
get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and 
I want to change the settings so that when you type http://this.com, 
you get to the right subdirectory. I know how to do this in IIS, but have 
not figured out how on Tomcat, and I've definitely looked.
Let me know if you how. thanks.


-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

RE: how setup landing page in tomcat

2006-04-10 Thread John Powers
1.Use an index.jsp that has a meta-refresh to the right directory?

Or 
2. use IIS to do it with a tomcat worker behind it.




-Original Message-
From: Bryan [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 10, 2006 9:38 AM
To: users@tomcat.apache.org
Subject: how setup landing page in tomcat


Hi
I am new to Tomcat 5 config. I have a webapp running on tomcat, and to 
get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and 
I want to change the settings so that when you type http://this.com, 
you get to the right subdirectory. I know how to do this in IIS, but have 
not figured out how on Tomcat, and I've definitely looked.
Let me know if you how. thanks.


-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

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



Re: how setup landing page in tomcat

2006-04-10 Thread P Y
(not very TC specific) ...
Use a "refresh"
http://www.html-reference.com/META_httpequiv_refresh.htm


On 4/10/06, Bryan <[EMAIL PROTECTED]> wrote:
>
> Hi
> I am new to Tomcat 5 config. I have a webapp running on tomcat, and to
> get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and
> I want to change the settings so that when you type http://this.com,
> you get to the right subdirectory. I know how to do this in IIS, but have
> not figured out how on Tomcat, and I've definitely looked.
> Let me know if you how. thanks.
>
>
> -
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
> countries) for 2¢/min or less.
>

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



Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Manisha Sathe
I am using form based Datasource Realm for
authentication and authorization. Also need to
consider clustering/loadbalancing of web server (in
this case Tomcat). In docs it is written for Realm as
follows

"Once a user has been authenticated, the user (and his
or her associated roles) are cached within Tomcat for
the duration of the user's login. 
The cached user is not saved and restored across
sessions serialisations."

I am worried about last line - whether it means that
it does not support loadbalance techniques ? So if
next request from user (who is logged in previously)
goes to another server, then user needs to login
again? What is the solution for this?

Thanks in advance, 

regards
Manisha


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Farrow, Marc
Depending on the load balancer, most sessions are replicated across the load
balancer.  *shrug*

-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 11:05 AM
To: Tomcat Users List
Subject: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

I am using form based Datasource Realm for
authentication and authorization. Also need to
consider clustering/loadbalancing of web server (in
this case Tomcat). In docs it is written for Realm as
follows

"Once a user has been authenticated, the user (and his
or her associated roles) are cached within Tomcat for
the duration of the user's login. 
The cached user is not saved and restored across
sessions serialisations."

I am worried about last line - whether it means that
it does not support loadbalance techniques ? So if
next request from user (who is logged in previously)
goes to another server, then user needs to login
again? What is the solution for this?

Thanks in advance,

regards
Manisha


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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]



Remote User with request.getRemoteUser()

2006-04-10 Thread Sergio Stateri Jr

   Hi,

   I?m having NTLM authentication problems with IIS 6 (over Windows 2003
Server) and Tomcat 5.5.16, using JK1.2 conector:
   - In a ASP page, the code

<%=Request.ServerVariable("REMOTE_USER")%>

   prints the Windows logged user, but in Tomcat, the code

<%=request.getRemoteUser()%> prints "null"

   and the code

<%=request.getHeader("IIS-REMOTE-USER")%> prints "null" too.

   Here?s my workers2.properties from JK2 :

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=D:\Tomcat559\temp\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map webapps to the Web server uri space
[uri:/embaixador/*]

   And here?s a piece of my Tomcat?s server.xml :




   If in ASP the remote user name is printed, why the same code doesn?t
work in java ?

   Another information: The same configuration works fine over Windows 2000
Professional and Windows XP. This error only occurs over Windows 2003 Server.

   Thanks in advance for any help.

   Sergio Stateri Jr.
   [EMAIL PROTECTED]



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



failure to compile jsps appropriately

2006-04-10 Thread John Powers
Hello,

On an install we have just put up we are having problems compiling some
jsps.

In the work folder, we have the usual, --, org, apache, jsp, folder
structure

An index.jsp that has a metarefresh compiled into that fine and run
well.

However, another folder structure is setup there parallel to the "__"
folder..   its our folder structure for jsps... but why is it there and
not implementing the org.apache.jsp stuff? 

And servlet that forwards to a jsp works fine.index.jsp that has no
real content works fine.  but any jsp that we go to in the location URL
doesn't work.it complains of a header being included can't be found.
That in turn can't find the .tld for our tags.But all those other
jsps use that same setup. 

Weird huh?   The duplicate folder structure is throwing us for a
loop.
And this software is installed on various other boxes, tomcats, etc for
years now. we are just moving from one server to another with very
much the same settings.   

What would cause that duplicate folder structure? It has to be a
failure of tomcat to see those *.jsp's as or.apache.jsp'sright?


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



Error at Tomcat startUp

2006-04-10 Thread Marisol Opreni
Hi!

I get the following error when I startup Tomcat.

Any help will be useful. Thanks!

 

C:\Tomcat5.5.16\bin>tomcat5

10/04/2006 13:01:11 org.apache.coyote.http11.Http11AprProtocol init

INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080

10/04/2006 13:01:11 org.apache.coyote.ajp.AjpAprProtocol init

INFO: Initializing Coyote AJP/1.3 on ajp-8009

10/04/2006 13:01:11 org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1716 ms

10/04/2006 13:01:12 org.apache.catalina.core.StandardService start

INFO: Starting Catalina service

10/04/2006 13:01:12 org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.16

10/04/2006 13:01:12 org.apache.catalina.core.StandardHost start

 

INFO: No XML Validation

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: java.lang.NoSuchMethodError:
org.apache.naming.NamingContextBindingsEnumeration.(Ljava/util/Iterato
r;Ljavax/naming/Context;)V

at
org.apache.naming.resources.FileDirContext.listBindings(FileDirContext.java:
337)

at
org.apache.naming.resources.ProxyDirContext.listBindings(ProxyDirContext.jav
a:515)

at
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionVal
idator.java:142)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4035)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

 

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

 

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)

at
org.apache.catalina.core.StandardService.start(StandardService.java:450)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)

at org.apache.catalina.startup.Catalina.start(Catalina.java:551)

... 6 more



connectorJK1

2006-04-10 Thread dagd

Hi,

I have the following configuration Win2003 Server.
isapi_redirect.dll from
jk-1.2.15
http://government-grants.org/mirrors/apache.org/tomcat/tomcat-connectors/jk/binaries/win32/
I use the instruction for configuration of IIS From 
Documentation
http://tomcat.apache.org/connectors-doc/config/iis.html

*
my workers.properties conf:

# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=D:\tomcat\Tomcat 5.0.28

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=c:\Progra~1\Java\j2re1.4.2_06

#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\

worker.list=ajp13w
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009 

#

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13

worker.inprocess.type=jni

worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar

worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

*
my uriworkermap.properties

/Base|/*=ajp13w

***
isapi_redirect.log
[Mon Apr 10 12:08:02 2006] [1924:3740] [debug] jk_worker.c (212):
close_workers will destroy worker ajp13w
[Mon Apr 10 12:08:02 2006] [1924:3740] [debug] jk_ajp_common.c (2012): up to
10 endpoints to close
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_shm.c (134): Initialized
shared memory size=67584 free=65536 addr=0x183
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1157):
Using ini file D:\tomcat\Tomcat
5.0.28\bin\win32\i386\isapi_redirect.properties.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1163):
Using log file D:\tomcat\Tomcat 5.0.28\logs\isapi_redirect.log.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1164):
Using log level 1.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1165):
Using extension uri /jakarta/isapi_redirect.dll.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1166):
Using worker file D:\tomcat\Tomcat 5.0.28\conf\workers.properties.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1167):
Using worker mount file D:\tomcat\Tomcat
5.0.28\conf\uriworkermap.properties.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (1169):
Using uri select 0.
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_uri_worker_map.c (268):
exact rule /Base=ajp13w was added
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_uri_worker_map.c (260):
wildchar rule /Base/*=ajp13w was added
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_worker.c (236): creating
worker ajp13w
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_worker.c (141): about to
create instance ajp13w of ajp13
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_worker.c (154): about to
validate and init ajp13w
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1806):
worker ajp13w contact is 'localhost:8009'
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1895):
setting socket keepalive to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1934):
setting socket timeout to -1
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1938):
setting socket buffer size to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1942):
setting connection recycle timeout to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1946):
setting cache timeout to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1950):
setting connect timeout to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1954):
setting reply timeout to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1958):
setting prepost timeout to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1962):
setting recovery opts to 0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1966):
setting number of retries to 3
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_ajp_common.c (1843):
setting connection cache size to 10
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_worker.c (248): removing
old ajp13w worker
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (711):
Detected IIS >= 5.0
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (762):
Filter started
[Mon Apr 10 12:08:31 2006] [0936:2684] [debug] jk_isapi_plugin.c (828):
Virtual Host redirection of /test.p

RE: failure to compile jsps appropriately

2006-04-10 Thread John Powers
For example...  its throwing a classnotfoundexception:
org.apache.jsp.quote_jsp  when you try to navigate to
http://host/catdir/quote.jsp

What would cause a mismap between the catdir and a jsp at
org.apache.jsp.quote_jsp?



-Original Message-
From: John Powers [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 10, 2006 10:39 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: failure to compile jsps appropriately

Hello,

On an install we have just put up we are having problems compiling some
jsps.

In the work folder, we have the usual, --, org, apache, jsp, folder
structure

An index.jsp that has a metarefresh compiled into that fine and run
well.

However, another folder structure is setup there parallel to the "__"
folder..   its our folder structure for jsps... but why is it there and
not implementing the org.apache.jsp stuff? 

And servlet that forwards to a jsp works fine.index.jsp that has no
real content works fine.  but any jsp that we go to in the location URL
doesn't work.it complains of a header being included can't be found.
That in turn can't find the .tld for our tags.But all those other
jsps use that same setup. 

Weird huh?   The duplicate folder structure is throwing us for a
loop.
And this software is installed on various other boxes, tomcats, etc for
years now. we are just moving from one server to another with very
much the same settings.   

What would cause that duplicate folder structure? It has to be a
failure of tomcat to see those *.jsp's as or.apache.jsp'sright?


-
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 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Manisha Sathe
Thanks for the reply, Do you mean to say that not
Tomcat but load balancer will do the replication job?
So user and roles will be still available in another
server. 

regards
manisha

--- "Farrow, Marc" <[EMAIL PROTECTED]> wrote:

> Depending on the load balancer, most sessions are
> replicated across the load
> balancer.  *shrug*
> 
> -Original Message-
> From: Manisha Sathe
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 10, 2006 11:05 AM
> To: Tomcat Users List
> Subject: Tomcat 5.0 Datasource Realm and
> Cluster/load balance web servers
> 
> I am using form based Datasource Realm for
> authentication and authorization. Also need to
> consider clustering/loadbalancing of web server (in
> this case Tomcat). In docs it is written for Realm
> as
> follows
> 
> "Once a user has been authenticated, the user (and
> his
> or her associated roles) are cached within Tomcat
> for
> the duration of the user's login. 
> The cached user is not saved and restored across
> sessions serialisations."
> 
> I am worried about last line - whether it means that
> it does not support loadbalance techniques ? So if
> next request from user (who is logged in previously)
> goes to another server, then user needs to login
> again? What is the solution for this?
> 
> Thanks in advance,
> 
> regards
> Manisha
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.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]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: index.jsp not showing after successful installation

2006-04-10 Thread Bob Hall
--- balaraju mandala <[EMAIL PROTECTED]>
wrote:

> Bob,
> 
> The ending messages in catalina.out are -->
> 
>  Apr 10, 2006 1:48:20 AM
> org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Apr 10, 2006 1:48:20 AM
> org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Apr 10, 2006 1:48:20 AM org.apache.jk.server.JkMain
> start
> INFO: Jk running ID=0 time=0/24
>
config=/home/wizon555/Softwares/tomcatsoftware/jakarta-tomcat-5.0.28
> /conf/jk2.properties
> Apr 10, 2006 1:48:20 AM
> org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2742 ms
> 
> and there are no 'Exceptions' in catalina.out. I am
> using Internet Explorer
> 6. I am connecting to remotly located system, where
> i installed Tomcat and
> trying to access it from my System. There is no
> Physical firewall present
> for that server, a software was installed, but
> though i disabled software
> firewall result is same.
> 
>  -Bala
> 

Bala,

Looks like a clean startup of Tomcat - good.

What is the text of the error message that appears
when you attempt to reach Tomcat from IE6 on a remote
host?

Can you run a browser on the linux host and attempt
to access Tomcat via:   ?

-Bob


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Farrow, Marc
I am saying it depends on the load balancer.  I do not know anything about
Tomcat's load balancer.

-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 12:44 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

Thanks for the reply, Do you mean to say that not
Tomcat but load balancer will do the replication job?
So user and roles will be still available in another
server.

regards
manisha

--- "Farrow, Marc" <[EMAIL PROTECTED]> wrote:

> Depending on the load balancer, most sessions are
> replicated across the load
> balancer.  *shrug*
>
> -Original Message-
> From: Manisha Sathe
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 10, 2006 11:05 AM
> To: Tomcat Users List
> Subject: Tomcat 5.0 Datasource Realm and
> Cluster/load balance web servers
>
> I am using form based Datasource Realm for
> authentication and authorization. Also need to
> consider clustering/loadbalancing of web server (in
> this case Tomcat). In docs it is written for Realm
> as
> follows
>
> "Once a user has been authenticated, the user (and
> his
> or her associated roles) are cached within Tomcat
> for
> the duration of the user's login. 
> The cached user is not saved and restored across
> sessions serialisations."
>
> I am worried about last line - whether it means that
> it does not support loadbalance techniques ? So if
> next request from user (who is logged in previously)
> goes to another server, then user needs to login
> again? What is the solution for this?
>
> Thanks in advance,
>
> regards
> Manisha
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.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]
>
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Filip Hanik - Dev Lists

the loadbalancer doesn't do replication, tomcat does.
the principal (the object that your user info is stored in) is 
replicated across the different nodes in the cluster.


Filip


Manisha Sathe wrote:

Thanks for the reply, Do you mean to say that not
Tomcat but load balancer will do the replication job?
So user and roles will be still available in another
server. 


regards
manisha

--- "Farrow, Marc" <[EMAIL PROTECTED]> wrote:

  

Depending on the load balancer, most sessions are
replicated across the load
balancer.  *shrug*

-Original Message-
From: Manisha Sathe
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 11:05 AM
To: Tomcat Users List
Subject: Tomcat 5.0 Datasource Realm and
Cluster/load balance web servers

I am using form based Datasource Realm for
authentication and authorization. Also need to
consider clustering/loadbalancing of web server (in
this case Tomcat). In docs it is written for Realm
as
follows

"Once a user has been authenticated, the user (and
his
or her associated roles) are cached within Tomcat
for
the duration of the user's login. 
The cached user is not saved and restored across
sessions serialisations."

I am worried about last line - whether it means that
it does not support loadbalance techniques ? So if
next request from user (who is logged in previously)
goes to another server, then user needs to login
again? What is the solution for this?

Thanks in advance,

regards
Manisha


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around
http://mail.yahoo.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]






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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: Remote User with request.getRemoteUser()

2006-04-10 Thread abdurrahman sahin
hi;
why dont you try to print all http-headers, so that you can see each header
and its corresspoing value.

http://asahin.net


-Original Message-
From: Sergio Stateri Jr [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 6:11 PM
To: users@tomcat.apache.org
Subject: Remote User with request.getRemoteUser()



   Hi,

   I?m having NTLM authentication problems with IIS 6 (over Windows 2003
Server) and Tomcat 5.5.16, using JK1.2 conector:
   - In a ASP page, the code

<%=Request.ServerVariable("REMOTE_USER")%>

   prints the Windows logged user, but in Tomcat, the code

<%=request.getRemoteUser()%> prints "null"

   and the code

<%=request.getHeader("IIS-REMOTE-USER")%> prints "null" too.

   Here?s my workers2.properties from JK2 :

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=D:\Tomcat559\temp\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map webapps to the Web server uri space
[uri:/embaixador/*]

   And here?s a piece of my Tomcat?s server.xml :




   If in ASP the remote user name is printed, why the same code doesn?t
work in java ?

   Another information: The same configuration works fine over Windows 2000
Professional and Windows XP. This error only occurs over Windows 2003
Server.

   Thanks in advance for any help.

   Sergio Stateri Jr.
   [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: Remote User with request.getRemoteUser()

2006-04-10 Thread David Smith
By default, tomcat drops external headers like REMOTE_USER in favor of
it's own auth scheme.  You can change this by setting the attribute
tomcatAuthentication="false" in your AJP connector definition in
server.xml and restarting.

--David

Sergio Stateri Jr wrote:

>   Hi,
>
>   I?m having NTLM authentication problems with IIS 6 (over Windows 2003
>Server) and Tomcat 5.5.16, using JK1.2 conector:
>   - In a ASP page, the code 
>
><%=Request.ServerVariable("REMOTE_USER")%>
>
>   prints the Windows logged user, but in Tomcat, the code
>
><%=request.getRemoteUser()%> prints "null"
>
>   and the code
>
><%=request.getHeader("IIS-REMOTE-USER")%> prints "null" too.
>
>   Here?s my workers2.properties from JK2 :
>
>[shm:] 
>info=Scoreboard. Required for reconfiguration and status with multiprocess
>servers 
>file=D:\Tomcat559\temp\jk2.shm 
>size=1048576 
>
>[channel.socket:localhost:8009] 
>info=Ajp13 forwarding over socket 
>tomcatId=localhost:8009 
>
># Map webapps to the Web server uri space 
>[uri:/embaixador/*]
>
>   And here?s a piece of my Tomcat?s server.xml :
>
>
>   enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
>/>
>
>   If in ASP the remote user name is printed, why the same code doesn?t
>work in java ?
>
>   Another information: The same configuration works fine over Windows 2000
>Professional and Windows XP. This error only occurs over Windows 2003 Server.
>
>   Thanks in advance for any help.
>
>   Sergio Stateri Jr.
>   [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: Remote User with request.getRemoteUser()

2006-04-10 Thread Sergio Stateri Jr

   Ok, It?s working now ! Thanks a lot.

   Sergio Stateri Jr.
   [EMAIL PROTECTED]

 '>'-- Mensagem Original --
 '>'Reply-To: "Tomcat Users List" 
 '>'Date: Mon, 10 Apr 2006 13:52:23 -0400
 '>'From: David Smith <[EMAIL PROTECTED]>
 '>'To: Tomcat Users List 
 '>'Subject: Re: Remote User with request.getRemoteUser()
 '>'
 '>'
 '>'By default, tomcat drops external headers like REMOTE_USER in favor
of
 '>'it's own auth scheme.  You can change this by setting the attribute
 '>'tomcatAuthentication="false" in your AJP connector definition in
 '>'server.xml and restarting.
 '>'
 '>'--David
 '>'
 '>'Sergio Stateri Jr wrote:
 '>'
 '>'>   Hi,
 '>'>
 '>'>   I?m having NTLM authentication problems with IIS 6 (over Windows
2003
 '>'>Server) and Tomcat 5.5.16, using JK1.2 conector:
 '>'>   - In a ASP page, the code
 '>'>
 '>'><%=Request.ServerVariable("REMOTE_USER")%>
 '>'>
 '>'>   prints the Windows logged user, but in Tomcat, the code
 '>'>
 '>'><%=request.getRemoteUser()%> prints "null"
 '>'>
 '>'>   and the code
 '>'>
 '>'><%=request.getHeader("IIS-REMOTE-USER")%> prints "null" too.
 '>'>
 '>'>   Here?s my workers2.properties from JK2 :
 '>'>
 '>'>[shm:]
 '>'>info=Scoreboard. Required for reconfiguration and status with multiprocess
 '>'>servers
 '>'>file=D:\Tomcat559\temp\jk2.shm
 '>'>size=1048576
 '>'>
 '>'>[channel.socket:localhost:8009]
 '>'>info=Ajp13 forwarding over socket
 '>'>tomcatId=localhost:8009
 '>'>
 '>'># Map webapps to the Web server uri space
 '>'>[uri:/embaixador/*]
 '>'>
 '>'>   And here?s a piece of my Tomcat?s server.xml :
 '>'>
 '>'>
 '>'>'>   enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
 '>'>/>
 '>'>
 '>'>   If in ASP the remote user name is printed, why the same code doesn?t
 '>'>work in java ?
 '>'>
 '>'>   Another information: The same configuration works fine over Windows
2000
 '>'>Professional and Windows XP. This error only occurs over Windows 2003
Server.
 '>'>
 '>'>   Thanks in advance for any help.
 '>'>
 '>'>   Sergio Stateri Jr.
 '>'>   [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: Run Tomcat in W2k3 as service

2006-04-10 Thread wolfperkins

Not sure about your tomcat version but under 4.1 the settings may be added in
the registry under:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
4.1\Parameters]

add the following keys:
"JVM Option Number 4"="-Xms512m"
"JVM Option Number 5"="-Xms512m"

and modify the jvm options count key:
"JVM Option Count"=dword:0006
--
View this message in context: 
http://www.nabble.com/Run-Tomcat-in-W2k3-as-service-t1326738.html#a3848218
Sent from the Tomcat - User forum at Nabble.com.


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



Tomcat for Windows (5.5.16) and JRockit (BEA?s JVM)

2006-04-10 Thread Sergio Stateri Jr

   Hi,

   I?m running Tomcat 5.5.16 over Windows 2003 Server as a Windows Service.
In the Tomcat configuration (right-click in the Tomcat tray icon, and then
select configuration), in the Java tab, I can check "use default" or select
my JVM as a DLL file (java.dll). If I use java.dll from Sun?s JVM, all works
fine, but if I put the java.dll from BEA JRockit ( 
D:\jrockit-R26.0.0-jdk1.5.0_04\jre\bin\java.dll
 ), the following error is reported:

[2006-04-10 15:34:01] [173  javajni.c] [error] The specified module could
not be found.
[2006-04-10 15:34:01] [924  prunsrv.c] [error] Failed creating java 
D:\jrockit-R26.0.0-jdk1.5.0_04\jre\bin\java.dll
[2006-04-10 15:34:01] [1179 prunsrv.c] [error] ServiceStart returned 1


   Is there any way to use Tomcat 5.0.16 (as a Windows Service) using  BEA
JRockit ?

   Thanks in advance for any idea.

   Sergio Stateri Jr.
   [EMAIL PROTECTED]


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



Re: how setup landing page in tomcat

2006-04-10 Thread Bryan
I don't think meta-refresh is applicable here.

Seems that when Tomcat gets the basic url,  http://thissite.com,  it looks for 
web.xml in webapps/root/web-inf.  The content of this XML file is:

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">
  Welcome to Tomcat
  
 Welcome to Tomcat
  


org.apache.jsp.index_jsp
org.apache.jsp.index_jsp


org.apache.jsp.index_jsp
/index.jsp




My hunch is I should be changing the content of this web.xml file to point to 
the webapp that I want to be the default...





P Y <[EMAIL PROTECTED]> wrote: (not very TC specific) ...
Use a "refresh"
http://www.html-reference.com/META_httpequiv_refresh.htm


On 4/10/06, Bryan 
 wrote:
>
> Hi
> I am new to Tomcat 5 config. I have a webapp running on tomcat, and to
> get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and
> I want to change the settings so that when you type http://this.com,
> you get to the right subdirectory. I know how to do this in IIS, but have
> not figured out how on Tomcat, and I've definitely looked.
> Let me know if you how. thanks.
>
>
> -
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
> countries) for 2¢/min or less.
>

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




-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Re: how setup landing page in tomcat

2006-04-10 Thread Alexander Panzhin

Just remove everyting between

and


and change your index.jsp so that i would include either a 
response.sendRedirect() or meta-refresh(or more exotic javascript's 
location)

I don't think meta-refresh is applicable here.

Seems that when Tomcat gets the basic url,  http://thissite.com,  it looks for 
web.xml in webapps/root/web-inf.  The content of this XML file is:

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">
  Welcome to Tomcat
  
 Welcome to Tomcat
  


org.apache.jsp.index_jsp
org.apache.jsp.index_jsp


org.apache.jsp.index_jsp
/index.jsp




My hunch is I should be changing the content of this web.xml file to point to 
the webapp that I want to be the default...





P Y <[EMAIL PROTECTED]> wrote: (not very TC specific) ...
Use a "refresh"
http://www.html-reference.com/META_httpequiv_refresh.htm


On 4/10/06, Bryan 
 wrote:
  

Hi
I am new to Tomcat 5 config. I have a webapp running on tomcat, and to
get to it you have to type http://this.com/dir1/dir2/dir3/file.html, and
I want to change the settings so that when you type http://this.com,
you get to the right subdirectory. I know how to do this in IIS, but have
not figured out how on Tomcat, and I've definitely looked.
Let me know if you how. thanks.


-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.




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




-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
  






--
  Su pagarba,
 Aleksandr Panzin
 IT sistemu architektas.

  With best regards,
 Alexander Panzhin
 IT systems architect 



smime.p7s
Description: S/MIME Cryptographic Signature


Unexpected shutdown

2006-04-10 Thread Garth Patil
Hi,
I experienced an unexpected shutdown of Tomcat, and haven't been able
to find any similar experiences or explanations in the mailing list
archives.
One of my servers shut down on its own without calling
bin/shutdown.sh. The logs show only the following exception after the
shutdown sequence initiated:
Apr 10, 2006 9:34:44 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Apr 10, 2006 9:34:44 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.(Socket.java:365)
at java.net.Socket.(Socket.java:207)
at 
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:473)
at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:270)
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162)
at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
at 
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
at 
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)

My questions are:
1. What would cause the shutdown sequence to be initiated other that
calling bin/shutdown.sh?
2. Why did the shutdown fail?
3. Has anyone seen a problem like this?

Thanks!
Garth

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



Tomcat vs. DRMAA

2006-04-10 Thread Stefan Metzlaff
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm developing a drmaa application which should run on the tomcat
application server with axis. The web front end accesses the application
through web services (wsdl).
The application works pretty fine, if it is started from command line.
But if I'm using the web services the following error occurs frequently:

java.lang.UnsatisfiedLinkError: Native Library
/opt/SGE/lib/lx26-amd64/libdrmaa.so already loaded in another classloader
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1716)
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
java.lang.Runtime.loadLibrary0(Runtime.java:822)
java.lang.System.loadLibrary(System.java:992)
com.sun.grid.drmaa.SessionImpl$1.run(SessionImpl.java:58)
java.security.AccessController.doPrivileged(Native Method)
com.sun.grid.drmaa.SessionImpl.(SessionImpl.java:56)
com.sun.grid.drmaa.SessionFactoryImpl.getSession(SessionFactoryImpl.java:59)
cef.VirtualJob.startDRMAAJob(VirtualJob.java:591)
cef.VirtualBlastJob.startJob(VirtualBlastJob.java:212)
cef.ClusterMaster.startNewJob(ClusterMaster.java:91)
cef.BlastAllWebService.startNewJob(BlastAllWebService.java:47)
org.apache.jsp.sampleBlastAllWebService.Result_jsp._jspService(Result_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

After this error every other drmaa web service call results the
following error:

java.lang.NoClassDefFoundError
com.sun.grid.drmaa.SessionFactoryImpl.getSession(SessionFactoryImpl.java:59)
cef.VirtualJob.startDRMAAJob(VirtualJob.java:591)
cef.VirtualBlastJob.startJob(VirtualBlastJob.java:212)
cef.ClusterMaster.startNewJob(ClusterMaster.java:91)
cef.BlastAllWebService.startNewJob(BlastAllWebService.java:47)
org.apache.jsp.sampleBlastAllWebService.Result_jsp._jspService(Result_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

After restarting the tomcat and the grid engine the application is
working for some web service calls, until the UnsatisfiedLinkError occurs.

I'm using the following environment:
Linux
Sun Grid Engine SGE 6.0u4
6.0u4 DRMAA.JAR
jdk1.5.0_06
Tomcat 5.5
Axis 1.3

I think something is going wrong the the factory.getSession() call, but
I dont't know why. All my sessions are closed (via session.exit()) on
exit of the application. So there should be no conflict with the drmaa
library.
Is it possible that tomcat tries to load the libdrmaa.so more than once,
if one user calls different methods of the web service or multiple users
using the web services?


Best regards
Stefan Metzlaff
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEOs1umaoB5W5tYLoRAhijAJ9o3oXFqyeM9FeDXcdk3AGXu20c8ACaAi60
3mKCe8bbM8mg/fAz9jivJ0I=
=l+39
-END PGP SIGNATURE-

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



Can we set the User Principal to another user once a user has been logged in?

2006-04-10 Thread Dhiraj Ramakrishnan
Hi,

  I know the requirement looks a little suspicious but they are valid,

  The requirements ,

   1. A user 'SUPERUSER', who can mimic the activities of any user
in the system.

  2.  So 'SUPERUSER' will log in and then pass in a request saying
that he wants to impersonate user 'X'

  3. Now 'SUPERUSER' will only have all the roles associated with
user 'X'

  4. When 'SUPERUSER' tries to impersonate 'X' , 'SUPERUSER' has
already been authenticated, so i should not ask for X's password from
'SUPERUSER'.

 Is it possible to have such a behaviour within TOMCAT ? One of the
easiest ways is to subsitute the user principal with 'X' once such a request
for impersonation comes in.

What are the other ways in which i could induce such a behaviour ?

Thanks & Regards,

Dhiraj Ramakrishnan


RE: High CPU with tomcat 5.5.7

2006-04-10 Thread Naveenkumar.Darapureddi
Thanks leon..

Yup..java/10 is decimal and dump belongs to the same process. Even i
didn't see 0xa.
i'll try pstack to gather data, when this situation is simulated again. 
I remember doing this for thread starvation problem which resulted in
implementing T2 threading model 
in Solaris 8 Sparc to resolve it.

For some reason my prstat jpg snapshot is not being delivered !

Thanks
Naveen.


-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 08, 2006 4:05 AM
To: Tomcat Users List
Subject: Re: High CPU with tomcat 5.5.7

If it really was 10 decimal (10 from prstat) and the prstat and your
Java Thread Dump are from the same process, then it was a native thread,
because I didn't find a nid=0xa.

If you want to find out, what that native thread is doing, give your
process a "pstack", write it to some file and look into. It has a native
stack dump for each thread and at the top of the stack it gives you the
decimal thread number. You can pstack a process while running, although
when it has a lot of threads active, it will make the process pause a
few seconds.

Leon Rosenberg wrote:
> On 4/7/06, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>> I'm sorry, I'd attached wrong snapshot. Thread in question is java/10

>> in the snapshot.
> 
> Excuse my blindness please, but which one is java/10?
> 
> 
>> Thanks
>> Naveen.
> 
> 
> Leon
> 
> -
> 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: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Kurt Overberg
I think the most common form of load balancing (apache/tomcat) includes 
"sticky sessions" which means that once a user is assigned to a tomcat, 
all subsequent requests will go to that tomcat until the user logs out. 
 When they log in again, they will again be assigned to a server 
(perhaps a different one) where their requests will go until they again 
log out.


/kurt


Manisha Sathe wrote:

I am using form based Datasource Realm for
authentication and authorization. Also need to
consider clustering/loadbalancing of web server (in
this case Tomcat). In docs it is written for Realm as
follows

"Once a user has been authenticated, the user (and his
or her associated roles) are cached within Tomcat for
the duration of the user's login. 
The cached user is not saved and restored across
sessions serialisations."

I am worried about last line - whether it means that
it does not support loadbalance techniques ? So if
next request from user (who is logged in previously)
goes to another server, then user needs to login
again? What is the solution for this?

Thanks in advance, 


regards
Manisha


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread roy tang
Thanks to everyone who replied.

One of the devs found a workaround...we set the filter to set the encoding
of both the request and the response (previously we only tried setting one
or the other...apparently both have to be set correctly)

Regards,

Roy

On 4/10/06, roy tang <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm new to this list, hope someone here can help. :)
>
> We're developing a webapp that should be able to accept Chinese input. We
> also have a filter installed in the webapp for some auditing that we need to
> do per request that's processed. However, we've found that when we submit a
> form with Chinese inputs, the Chinese chars end up saved to the database as
> HTML-escaped entities. ( i.e. 罢 or such).
>
> So we backtrace, and we find that removing the filter from web.xml fixes
> the problem. We debug through the doFilter() method of our filter, but we
> find that at the start of the method, request.getParameter ("PARAM_NAME")
> already shows the input as HTML-escaped entities.
>
> The weird thing is, this doesn't happen on all our Tomcat
> installations...each of our developers has a local Tomcat running, and it
> only happens for one or two. But it also happens on our Test (QA) server,
> such that our testing team always encounters the problem.
>
> Is there any particular language or encoding setting that I should be
> checking?
>
> Thanks a lot :D
>
> Roy
>



--
Roy Tang for President in 2022
http://roytang.net/blog


Help with mod_jk.so errno=13

2006-04-10 Thread Mukarram Syed
 
Hi All,
I know this has been asked before in the users group, but there are no
solutions to this problem.
 
I am getting the following error in my mod_jk.log file:
 
Tue Apr 11 00:46:08 2006] [18962:20800] [error] jk_child_init::mod_jk.c
(2312): Attachning shm:/var/log/jk-run
time-status errno=13
 
this seems to me from my research as a permission denied error.  It
looks like a shared memory error.  
Any help would be appreciated in this regard.
 
I have been working on this all day researching without any progress.
 
Thanks in Advance.
 
 
-Mukarram Syed.


disabling autostart when deploying with manager

2006-04-10 Thread Mete Balcı

Hi,

How can I disable autostart of an application when deploying with manager ?

Thanks in advance.

Mete


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