Re: robust Failover, mod_jk

2005-11-17 Thread Mladen Turk

Mott Leroy wrote:

Mladen Turk wrote:


Yes, use the 'Advanced worker directives'
http://tomcat.apache.org/connectors-doc/config/workers.html

The connect_timeout, prepost_timeout and reply_timeout are meant to
be used with hanged or very busy backend (Tomcat) servers.


I'm having trouble understanding the difference between a 
prepost_timeout and a connect_timeout ... both seem to happen before a 
request is forwarded.


1. connect_timeout happens when the physical connection between
mod_jk and Tomcat is established. The Tomcat might accept the
physical connections, but might refuse to serve it.

2. prepost_timeout happens before each request on already opened
connection, and is meant to be used to solve the hanged Tomcats,
and to replace the 'socket_timeout' functionality on platforms
that does not have a full BSD socket implementation (Solaris).


 Are these pings happening for every request 
(doubling the load?) ?


Yes, they happen on every request, but the packet size is 8 bytes, so
the load increase is negligible compared with robustness.


Also, what happens to the request if reply_timeout is exceeded? Does the 
request get dropped? Or is it somehow retried on another server in the 
cluster? [not saying it should .. it's ambiguous what should happen]




It depends on the 'recovery_options' for a worker.
By default the request will be forwarded to another worker in lb.


Regards,
Mladen.

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



The manager webapp is disabled when start TC5.5.12 within Eclipse 3.1.

2005-11-17 Thread Kanin Chen
Howdy,
 I am using Eclipse 3.1 and TC 5.5.12 and Lomboz, when starting TC 5.5.12 in
Eclipse,
the manage webapp is disabled while starting outside Eclipse is valid.
 The server.xml in eclipse is all the same to server.xml in TC.
any hint?
 Thanks in advance.
Best Regards.


Re: Using Authentication/Authorization

2005-11-17 Thread Jeremy Crosbie
I followed what Slide did when writing my module:
http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/jaas/org/apache/slide/ja
as/spi/SlideLoginModule.java?rev=1.2&view=markup



On 11/17/05 3:29 AM, "Markus Plail" <[EMAIL PROTECTED]> wrote:

> Hi Jeremy!
> 
> Jeremy Crosbie <[EMAIL PROTECTED]> writes:
>> Can you supply the relevant sections of your web.xml? I am using
>> FORM-based authentication--tested with both the Memory and JAAS
>> realms--but maybe this will give you some hints:
> 
> Do you successfully use JAAS realm based authentication in Tomcat
> version > 5.5.9? If yes, could you show me the commit method of your
> login module?
> 
> regards
> Markus
> 
> 
> -
> 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: JNDI from tomcat on remote Windows PC with ODBC ???

2005-11-17 Thread Len Popp
Sun has a JDBC-ODBC bridge, which is a JDBC driver that connects to an
ODBC data source. I have used it with Tomcat 5. More info here:
http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/bridge.html
You can download it from Sun's web site, but I can't give you a link
because their Java download pages seem to be down right now.
--
Len

On 11/17/05, Philippe Couas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Could i configure an JNDI connector for an remote connection to another PC ?
> This remote PC has only an ODBC connection ?
> There is no specific Java Driver for this Database Currently ?
>
> Regards
> Philippe

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



Deploying WAR to a context path

2005-11-17 Thread Chris Watts
Hi,

I know there are several different ways to do what I want but I would like
to be able to do it this way so there are fewer errors at 1AM.

Is there a way to make the HTML interface of the Tomcat 5.5 manager
(/manager/html) deploy a war file to a specific context path?
I have tried playing around with context.xml but Tomcat seems to only care
about the directory the war (and the war file's name) is deployed to.

I know if you use the "Deploy directory or WAR file located on server"
section instead of the "WAR file to deploy" section you can manually do it.
The code supports what I want to do: that is upload a war and tell it which
context path, but it just seems like the web interface doesn't support it.

Is there some simple way to force it to deploy to a context path that is
different to the war file name? (other than what i mentioned above)

Thanks,
Chris


Re: Tomcat 5.5 problem - container not serving up web content

2005-11-17 Thread Rob Hills
Hi Jorge,

On 17 Nov 2005 at 11:53, Hassan Schroeder wrote:

> Jorge Rodriguez wrote:
> 
> > When I access a JSP page directly on my localhost, it loads properly with 
> > images and the stylesheet.
> > However, when I access the JSP (or any other JSP for that matter) using a 
> > filter, servlet or the struts action forward, the JSP content loads up, 
> > but anything else (images, linked CSS files) do not get served up. 
> > 
> > I've tried every single variation of the  and  tags (relative, 
> > hardcoded, with a /) but that didn't work. My guess is that there is some 
> > additional configuration that I haven't completed
> 
> Nope, there isn't -- your app (or your install) is broken :-)
> 
> > The only possible relevant info that shows up related to errors/warnings 
> > is the following log:
> > "Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig 
> > applicationWebConfig
> > INFO: Missing application web.xml, using defaults only 
> > StandardEngine[Catalina].StandardHost[localhost].StandardContext[]"
> > My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like 
> > it should be ok.
> 
> Sounds to me like it's *not* OK, and getting rid of that should be
> the first order of business. For one thing, I'd use a path without
> spaces in it -- the '\Web Content\' might well be the problem...

I've seen other scenarios that produces this problem, usually related to 
context.xml file(s).  For example, in Tomcat 5.5.12, I've found that if 
you have a context file anywhere within the docBase tree for your 
application, and it has "problems", Tomcat will find it and then 
complain about not finding the web.xml.

I don't recall what the subtle problems were that we had in our 
context.xml when I discovered this, but it was not actually meant to 
have been used by Tomcat - it was just being stored in that part of the 
tree.

So, when you get this error message about web.xml, it may be your 
context.xml file that's the problem.

HTH,

Rob Hills
NetPaver Pty Ltd
Western Australia


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



Re: How to set restrictions on the retreival of files from some directories

2005-11-17 Thread erh
On Thu, Nov 17, 2005 at 02:19:13PM -0600, Alla Winter wrote:
> BY default it is possible to retrieve files located under the 'WEB-INF'
> directory. For example: www.someserver.com/WEB-INF./web.xml or
> www.someserver.com/WEB-INF./classes/MySer
>   vlet.class

  WEB-INF.
 ^ ? There's a _dot_ there?  How does that work?
ooh.. are you running on windows?  I just noticed I can put as many dots
as I want on the end of any filename and windows just ignores the dots.
Chalk another one up to windows wonderful security features.

eric

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



Re: Tomcat 5.5.12 + APR (Apache Portable Runtime) + SSL (OpenSSL) on Windows

2005-11-17 Thread Remy Maucherat
On 11/17/05, Dhaval Patel <[EMAIL PROTECTED]> wrote:
> Thanks for your response Remy. But I didnt quite get it. I need help 
> configuring
> SSL with Tomcat on Windows XP. I read the documentation that I found. I could 
> not
> solve the problem that's why I posted on forum. I wrote what I did. How a 
> newbie
> knows what is irrelevant and what is not.

I think it is quite evident that the connector configuration in
server.xml is important.

--
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

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



Re: Security and Authentication

2005-11-17 Thread B Wiley Snyder

try this ...

java.security.Principal



Principal pri;
pri = request.getUserPrincipal();

that's the only way I know of, unless you use some javascript to save the 
login in the session on the form ...




-Wiley





java.security.PiAt 04:13 PM 11/17/2005, you wrote:

I am using Tomcat Form-based authentication.  The user docs ask you to name
your form fields, j_username and j_password.  Then you POST to
j_security_check.  Everything is working and I get a JSESSIONID and am
forwarded to my protected user home page.



Question:  What data does Tomcat forward to the protected user home page so
I can tell which user has just logged in? I need to look up their data and
have it ready for the user home page.  What variables are there to work
with?  JSESSIONID that's it?  How about the j_username so I can use that to
make a page for that individual user?



Mike D.



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



Re: robust Failover, mod_jk

2005-11-17 Thread Mott Leroy

Duan, Nick wrote:

Apparently mod_jk does support several load balancing algorithms other
than round-robin.  You may want to set the "method" property of load
balancer to Request or Traffic.  See instructions on worker properties
for details.

http://tomcat.apache.org/connectors-doc/config/workers.html

I think this will solve your problem.  I am curious to know the results.
If you need more sophisticated solutions, go with a hardware load
balancer such as Cisco or BigIP.


Thanks Nick. The actual algorithm to route the traffic doesn't matter so 
much to me as the algorithm which determines whether a node is "down". I 
am going to try some of the advanced timeout properties that Mladen 
suggested.


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



Security and Authentication

2005-11-17 Thread Mike Dickson
I am using Tomcat Form-based authentication.  The user docs ask you to name
your form fields, j_username and j_password.  Then you POST to
j_security_check.  Everything is working and I get a JSESSIONID and am
forwarded to my protected user home page.  

 

Question:  What data does Tomcat forward to the protected user home page so
I can tell which user has just logged in? I need to look up their data and
have it ready for the user home page.  What variables are there to work
with?  JSESSIONID that's it?  How about the j_username so I can use that to
make a page for that individual user?

 

Mike D.



RE: robust Failover, mod_jk

2005-11-17 Thread Duan, Nick
Apparently mod_jk does support several load balancing algorithms other
than round-robin.  You may want to set the "method" property of load
balancer to Request or Traffic.  See instructions on worker properties
for details.

http://tomcat.apache.org/connectors-doc/config/workers.html

I think this will solve your problem.  I am curious to know the results.
If you need more sophisticated solutions, go with a hardware load
balancer such as Cisco or BigIP.

ND

-Original Message-
From: Mott Leroy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 2:41 PM
To: Tomcat Users List
Subject: robust Failover, mod_jk

I was wondering if I could get some advice on better failover for my 
current setup. I'm using mod_jk 1.2.14 with Tomcat 5.0.28.

One issue that we occassionally run across is that an instance of tomcat

will become unresponsive (due to out of memory errors for example) but 
mod_jk will still route requests to it. I realize the longer term 
solution here is to fix applications which cause tomcat problems (out of

memory errors especially), but the reality is, these things happen, and 
don't cause a failover.

Does anyone have any suggestions on how to handle situations like this?

- Mott



-
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: Session not sticky in 5.5 with load balancer

2005-11-17 Thread Duan, Nick
Thanks for everyone's response!  Finally I figured out that the problem
was caused by naming inconsistency between workers.properties and the
jvmRoute value in server.xml.  The jvmRoute under the engine tag in
server.xml has to be defined with the same name as the worker name for
the same tomcat instance.

BTW, in the latest version of mod_jk, the property name balanced_workers
has been changed to balance_workers.

ND

-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 4:35 PM
To: Tomcat Users List
Subject: RE: Session not sticky in 5.5 with load balancer


Nick, 

I think you want to use balanced_workers not balance_workers.

Here's a snippit from our workers.properties.

worker.list=lbcon

# ww1
worker.ww1.port=8009
worker.ww1.host=192.168.X.Y
worker.ww1.type=ajp13
worker.ww1.lbfactor=1
worker.ww1.cachesize=20
worker.ww1.local_worker=0
# ww2
worker.ww2.port=8009
worker.ww2.host=192.168.X.Z
worker.ww2.type=ajp13
worker.ww2.lbfactor=1
worker.ww2.cachesize=20
worker.ww2.local_worker=1

worker.lbcon.type=lb
worker.lbcon.sticky_session=1
worker.lbcon.balanced_workers=ww1,ww2
worker.lbcon.local_worker_only=0

John

-Original Message-
From: Duan, Nick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 11:02 AM
To: tomcat-user@jakarta.apache.org
Subject: Session not sticky in 5.5 with load balancer

I am running an Apache httpd server as the load balancer with two tomcat
instances.  All servers are on the same windows XP machine.  The load
balancing works fine, but I am not able to make user sessions sticky
with either one of the tomcat instances.  The test was done using is the
session example application bundled with the tomcat distribution.

Configuration:

Windows XP Professional Edition
Apache httpd 2.0.55
Mod_jk 1.2.15
Tomcat version 5.5

workers.properties file:

# Define some properties
#workers.apache_log=C:\ApacheHttpd\Apache2\logs\workers
#workers.tomcat_home=C:\devel\tomcat-5.5.12
#workers.java_home=C:\jdk1.5.0_03
ps=/

# Define 4 workers, 3 real workers using ajp12, ajp13, jni, the last one
being a loadbalancing worker 
worker.list=loadbalancer 

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8010
worker.worker1.lbfactor=1
#worker.worker2.cachesize=10
#worker.worker2.cache_timeout=600
#worker.worker2.socket_keepalive=1
#worker.worker2.socket_timeout=60

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8009
worker.worker2.lbfactor=1


# Set properties for lb which use worker1 and worker2
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1,worker2
worker.loadbalancer.sticky_session=1


Any comment/info/suggestion will be greatly appreciated!

ND

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


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


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



tomcat on gnu gij

2005-11-17 Thread Randall Smith

Can anyone point me to resources on running Tomcat on the GNU gij runtime?

Thanks.

Randall


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



RE: Session not sticky in 5.5 with load balancer

2005-11-17 Thread John Moore

Nick, 

I think you want to use balanced_workers not balance_workers.

Here's a snippit from our workers.properties.

worker.list=lbcon

# ww1
worker.ww1.port=8009
worker.ww1.host=192.168.X.Y
worker.ww1.type=ajp13
worker.ww1.lbfactor=1
worker.ww1.cachesize=20
worker.ww1.local_worker=0
# ww2
worker.ww2.port=8009
worker.ww2.host=192.168.X.Z
worker.ww2.type=ajp13
worker.ww2.lbfactor=1
worker.ww2.cachesize=20
worker.ww2.local_worker=1

worker.lbcon.type=lb
worker.lbcon.sticky_session=1
worker.lbcon.balanced_workers=ww1,ww2
worker.lbcon.local_worker_only=0

John

-Original Message-
From: Duan, Nick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 11:02 AM
To: tomcat-user@jakarta.apache.org
Subject: Session not sticky in 5.5 with load balancer

I am running an Apache httpd server as the load balancer with two tomcat
instances.  All servers are on the same windows XP machine.  The load
balancing works fine, but I am not able to make user sessions sticky
with either one of the tomcat instances.  The test was done using is the
session example application bundled with the tomcat distribution.

Configuration:

Windows XP Professional Edition
Apache httpd 2.0.55
Mod_jk 1.2.15
Tomcat version 5.5

workers.properties file:

# Define some properties
#workers.apache_log=C:\ApacheHttpd\Apache2\logs\workers
#workers.tomcat_home=C:\devel\tomcat-5.5.12
#workers.java_home=C:\jdk1.5.0_03
ps=/

# Define 4 workers, 3 real workers using ajp12, ajp13, jni, the last one
being a loadbalancing worker 
worker.list=loadbalancer 

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8010
worker.worker1.lbfactor=1
#worker.worker2.cachesize=10
#worker.worker2.cache_timeout=600
#worker.worker2.socket_keepalive=1
#worker.worker2.socket_timeout=60

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8009
worker.worker2.lbfactor=1


# Set properties for lb which use worker1 and worker2
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1,worker2
worker.loadbalancer.sticky_session=1


Any comment/info/suggestion will be greatly appreciated!

ND

-
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: robust Failover, mod_jk

2005-11-17 Thread Mott Leroy

Mladen Turk wrote:


Yes, use the 'Advanced worker directives'
http://tomcat.apache.org/connectors-doc/config/workers.html

The connect_timeout, prepost_timeout and reply_timeout are meant to
be used with hanged or very busy backend (Tomcat) servers.


Thanks.

I'm having trouble understanding the difference between a 
prepost_timeout and a connect_timeout ... both seem to happen before a 
request is forwarded. Are these pings happening for every request 
(doubling the load?) ?


Also, what happens to the request if reply_timeout is exceeded? Does the 
request get dropped? Or is it somehow retried on another server in the 
cluster? [not saying it should .. it's ambiguous what should happen]



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



Re: How to set restrictions on the retreival of files from some directories

2005-11-17 Thread Hassan Schroeder
Alla Winter wrote:
> BY default it is possible to retrieve files located under the 'WEB-INF'
> directory. 

No, it's not -- that's mandated in the servlet spec (SRV 9.5).

For example: www.someserver.com/WEB-INF./web.xml or
> www.someserver.com/WEB-INF./classes/MySer
>   vlet.class

Uh, what's with the '.' following the 'WEB-INF'? If that's literal,
that's your problem; 'WEB-INF./' is not the same as 'WEB-INF/' :-)

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



How to set restrictions on the retreival of files from some directories

2005-11-17 Thread Alla Winter
BY default it is possible to retrieve files located under the 'WEB-INF'
directory. For example: www.someserver.com/WEB-INF./web.xml or
www.someserver.com/WEB-INF./classes/MySer
  vlet.class

What needs to be done to prevent it ?   Why such restrictions are not set by
default?  This vulnerability prevents us to pass the security certification
test



RE: Oracle 10g migration problem

2005-11-17 Thread Wick, Daniel
Sounds like you should open a tar with Oracle.  You should also your
problem into an Oracle user group, as obviously your application works
in Tomcat.  Good luck!

> -Original Message-
> From: Franklin Phan [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 17, 2005 2:04 PM
> To: Tomcat Users List
> Subject: Oracle 10g migration problem
> 
> I'm trying to migrate a struts-based webapp from Tomcat 
> 4.1.18 to Oracle 10g.  The webapp uses XSLT and FOP.  I got 
> the following error:
> 
> 500 Internal Server Error
> 
> java.lang.NullPointerException
>   at 
> org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
>   at 
> org.apache.commons.digester.Digester.parse(Digester.java:1572)
>   at 
> org.apache.struts.action.ActionServlet.parseModuleConfigFile(A
> ctionServlet.java:1006)
>   at 
> org.apache.struts.action.ActionServlet.initModuleConfig(Action
> Servlet.java:955)
>   at 
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
>   at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpAppl
> ication.java:2354)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpAppl
> ication.java:4795)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher
> (HttpApplication.java:2821)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(Ht
> tpRequestHandler.java:680)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHand
> ler.java:224)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHand
> ler.java:133)
>   at com.evermind[Oracle Application Server Containers 
> for J2EE 10g 
> (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.r
> un(ReleasableResourcePooledExecutor.java:192)
>   at java.lang.Thread.run(Thread.java:534)
> 
> 
> Any ideas what and why this is happening?
> 
> I had to downgrade from struts 1.2.7 to struts 1.1 to get 
> this far.  Otherwise, I'd stumble on:
> 
> javax.servlet.UnavailableException
>   at 
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
> 
> and wouldn't even get to the Digester.
> 
> 
> 
> -
> 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]



Oracle 10g migration problem

2005-11-17 Thread Franklin Phan

I'm trying to migrate a struts-based webapp from Tomcat 4.1.18 to Oracle 10g.  
The webapp uses XSLT and FOP.  I got the following error:

500 Internal Server Error

java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
at org.apache.commons.digester.Digester.parse(Digester.java:1572)
at 
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006)
at 
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g 
(10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)


Any ideas what and why this is happening?

I had to downgrade from struts 1.2.7 to struts 1.1 to get this far.  Otherwise, 
I'd stumble on:

javax.servlet.UnavailableException
 at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)

and wouldn't even get to the Digester.



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



Re: can't get #include to work

2005-11-17 Thread Hassan Schroeder
Rob Hills wrote:

>>
> 
> Ah, this could be a problem.  From the "Directives" section near the 
> bottom of the Tomcat Docs page on SSI, I believe you should be using 
> "virtual" instead of "file" here, ie:
> 
> 
> 
>>
> 
> Also, not sure here, but it wouldn't surprise me if the directives were 
> case sensitive - this might work if it were:
> 
>>

No to both. I thought I'd had SSI enabled on my 5.5.9 dev machine,
but it must have been an earlier setup. So just now I

1) uncommented the servlet and servlet-mapping entries for SSI in
   $CATALINA_HOME/conf/web.xml
2) checked for $CATALINA_HOME/server/lib/servlets-ssi.jar
3) restarted Tomcat

SSI enabled. Both `file` and `virtual` work as expected, and the
example ECHO works in upper or lower case.

Not sure how it could be simpler. If it's not working for you, I'd
say you need to take the advice about turning up the logging. :-)

FWIW!
-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



Re: robust Failover, mod_jk

2005-11-17 Thread Mladen Turk

Mott Leroy wrote:
I was wondering if I could get some advice on better failover for my 
current setup. I'm using mod_jk 1.2.14 with Tomcat 5.0.28.


One issue that we occassionally run across is that an instance of tomcat 
will become unresponsive (due to out of memory errors for example) but 
mod_jk will still route requests to it. I realize the longer term 
solution here is to fix applications which cause tomcat problems (out of 
memory errors especially), but the reality is, these things happen, and 
don't cause a failover.


Does anyone have any suggestions on how to handle situations like this?



Yes, use the 'Advanced worker directives'
http://tomcat.apache.org/connectors-doc/config/workers.html

The connect_timeout, prepost_timeout and reply_timeout are meant to
be used with hanged or very busy backend (Tomcat) servers.

Regards,
Mladen.

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



Re: Tomcat 5.5 problem - container not serving up web content

2005-11-17 Thread Hassan Schroeder
Jorge Rodriguez wrote:

> When I access a JSP page directly on my localhost, it loads properly with 
> images and the stylesheet.
> However, when I access the JSP (or any other JSP for that matter) using a 
> filter, servlet or the struts action forward, the JSP content loads up, 
> but anything else (images, linked CSS files) do not get served up. 
> 
> I've tried every single variation of the  and  tags (relative, 
> hardcoded, with a /) but that didn't work. My guess is that there is some 
> additional configuration that I haven't completed

Nope, there isn't -- your app (or your install) is broken :-)

> The only possible relevant info that shows up related to errors/warnings 
> is the following log:
> "Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig 
> applicationWebConfig
> INFO: Missing application web.xml, using defaults only 
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[]"
> My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like 
> it should be ok.

Sounds to me like it's *not* OK, and getting rid of that should be
the first order of business. For one thing, I'd use a path without
spaces in it -- the '\Web Content\' might well be the problem...

HTH!
-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



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



robust Failover, mod_jk

2005-11-17 Thread Mott Leroy
I was wondering if I could get some advice on better failover for my 
current setup. I'm using mod_jk 1.2.14 with Tomcat 5.0.28.


One issue that we occassionally run across is that an instance of tomcat 
will become unresponsive (due to out of memory errors for example) but 
mod_jk will still route requests to it. I realize the longer term 
solution here is to fix applications which cause tomcat problems (out of 
memory errors especially), but the reality is, these things happen, and 
don't cause a failover.


Does anyone have any suggestions on how to handle situations like this?

- Mott



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



Re: Tomcat 5.5.12 + APR (Apache Portable Runtime) + SSL (OpenSSL) on Windows

2005-11-17 Thread Dhaval Patel
Thanks for your response Remy. But I didnt quite get it. I need help configuring
SSL with Tomcat on Windows XP. I read the documentation that I found. I could 
not
solve the problem that's why I posted on forum. I wrote what I did. How a newbie
knows what is irrelevant and what is not.

Thanks anyway.

Regards,
Dhaval

--- Remy Maucherat <[EMAIL PROTECTED]> wrote:

> On 11/17/05, Dhaval Patel <[EMAIL PROTECTED]> wrote:
> > Hello all,
> >
> >Then I read at some place that if you want APR you have do some extra
> > configuration, which I followed in part 2.
> >
> > (2) Using OpenSSL.
> >
> >I installed OpenSSL. I read documentation about how to generate key and
> > certificate in OpenSSL howto. Then did following:
> >
> > a) goto c:\Tomcat5.5\bin
> > b) openssl genrsa -des3 -out privkey.pem 2048 (generate key)
> > c) openssl req -new -key privkey.pem -out cert.csr (genrate certificate
> request)
> > d) openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 
> > (create
> > self signed certificate)
> > e) followed APR config guide from tomcat 5.5 documentations.
> > f) restart the tomcat.
> > g) same error as I get before. request time out and no error in logs.
> >
> > I dont know how to make it working. I would like to know more about it.
> APR
> > documentations says about APR Connectors configuration in which there are
> http,
> > https and etc. I believe that is ,  > port="8443" ... /> and etc. Am I right? If I am right, then sslProtocol 
> > entry
> in
> > two documentation (SSL and APR) are getting different entries (TLS vs.
> TLSv1). I
> > dont know how to do it.
> >
> > Does anyone know how to do it using real certificate (signed by Verisign
> or
> > something)? Does anyone know how to make it work with self signed
> certificate?
> >
> > Thank you in advance.
> >
> >
> > Regards,
> > Dhaval
> >
> > P.S. Forgive me for writing long, but I want to explain everything is full
> > details. Thanks.
> 
> I suppose giving the Connector element is an irrelevant detail (since
> you read the APR page, you probably noticed the attributes were not
> the same as for JSSE, as they resemble the ones used for mod_ssl) ;)
> 
> --
> x
> Rémy Maucherat
> Developer & Consultant
> JBoss Group (Europe) SàRL
> x
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

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



JSP processing other than .jsp?

2005-11-17 Thread Terence M. Bandoian
Definitely.

-Terence M. Bandoian


[EMAIL PROTECTED] wrote:

>That is correct. However, it's much better not to do this since it
>wastes a lot of bandwidth by sending the CSS code with every page.
>Much better to use  and let the browser cache the file
>instead.
>
>Yaakov.
>
>On 11/16/05, Terence M. Bandoian <[EMAIL PROTECTED]> wrote:
>  
>
>>Hi-
>>
>>In some cases, it may be desirable to include CSS or JavaScript files so
>>that they are delivered in-line.  For example:
>>
>>   <[EMAIL PROTECTED] file="styles/style.css" %>
>>or
>>   <[EMAIL PROTECTED] file="styles/style.css.jspf" %>
>>
>>Unless I'm mistaken, JSP tags in files included in this manner should be
>>processed regardless of the file extension.
>>
>>-Terence M. Bandoian
>>
>>P.S. My apologies for the previous reply.
>>
>>
>>[EMAIL PROTECTED] wrote:
>>
>>
>>
>Hello,
>
>how can I define, that e.g. the extension .css shall be processed by
>  
>
>>tomcat same as a .jsp-file?
>>
>>
>Regards
>Marten
>  
>

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



Re: Session not sticky in 5.5 with load balancer

2005-11-17 Thread chinnimb-rest
Probably following article might help 
  http://forum.java.sun.com/thread.jspa?threadID=604278&messageID=3262414

"Duan, Nick" <[EMAIL PROTECTED]> wrote:
  I am running an Apache httpd server as the load balancer with two tomcat
instances. All servers are on the same windows XP machine. The load
balancing works fine, but I am not able to make user sessions sticky
with either one of the tomcat instances. The test was done using is the
session example application bundled with the tomcat distribution.

Configuration:

Windows XP Professional Edition
Apache httpd 2.0.55
Mod_jk 1.2.15
Tomcat version 5.5

workers.properties file:

# Define some properties
#workers.apache_log=C:\ApacheHttpd\Apache2\logs\workers
#workers.tomcat_home=C:\devel\tomcat-5.5.12
#workers.java_home=C:\jdk1.5.0_03
ps=/

# Define 4 workers, 3 real workers using ajp12, ajp13, jni, the last one
being a loadbalancing worker 
worker.list=loadbalancer 

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8010
worker.worker1.lbfactor=1
#worker.worker2.cachesize=10
#worker.worker2.cache_timeout=600
#worker.worker2.socket_keepalive=1
#worker.worker2.socket_timeout=60

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8009
worker.worker2.lbfactor=1


# Set properties for lb which use worker1 and worker2
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1,worker2
worker.loadbalancer.sticky_session=1


Any comment/info/suggestion will be greatly appreciated!

ND

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

  



Re: Newbie question - How to verify version of Tomcat?

2005-11-17 Thread Tim Funk

http://tomcat.apache.org/faq/misc.html#version

-Tim

Ritchie Gillam wrote:

Should be an easy questions for the Tomcat users out there.

I know I have Tomcat installed but I did the installation  many moons ago.  Is 
there a command that I can run from Windows that will tell me what version I am 
running (have installed)?

Any help is appreciated.  




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



Session not sticky in 5.5 with load balancer

2005-11-17 Thread Duan, Nick
I am running an Apache httpd server as the load balancer with two tomcat
instances.  All servers are on the same windows XP machine.  The load
balancing works fine, but I am not able to make user sessions sticky
with either one of the tomcat instances.  The test was done using is the
session example application bundled with the tomcat distribution.

Configuration:

Windows XP Professional Edition
Apache httpd 2.0.55
Mod_jk 1.2.15
Tomcat version 5.5

workers.properties file:

# Define some properties
#workers.apache_log=C:\ApacheHttpd\Apache2\logs\workers
#workers.tomcat_home=C:\devel\tomcat-5.5.12
#workers.java_home=C:\jdk1.5.0_03
ps=/

# Define 4 workers, 3 real workers using ajp12, ajp13, jni, the last one
being a loadbalancing worker 
worker.list=loadbalancer 

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8010
worker.worker1.lbfactor=1
#worker.worker2.cachesize=10
#worker.worker2.cache_timeout=600
#worker.worker2.socket_keepalive=1
#worker.worker2.socket_timeout=60

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8009
worker.worker2.lbfactor=1


# Set properties for lb which use worker1 and worker2
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1,worker2
worker.loadbalancer.sticky_session=1


Any comment/info/suggestion will be greatly appreciated!

ND

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



RE: RE: failure notice UNSUBSCRIBE IS NOT WORKING !!!!

2005-11-17 Thread tony
Try
[EMAIL PROTECTED]
(as at the bottom of the emails)

instead of
[EMAIL PROTECTED]
(which bounced)

>- --- Original Message --- -
>From: users@tomcat.apache.org
>To: users@tomcat.apache.org
>Sent: Thu, 17 Nov 2005 13:17:32
>
>How do I get off this list the  IS NOT
>WORKING  
>
>
>Stephen Bovy
>Computer Associates
>6100 Center Drive
>Suite 700
>Los Angeles, CA 90045
>Tel: (310) 957-3930
>Fax: (310) 957-3917
>Mobile: (818) 352-9917
>e-mail: [EMAIL PROTECTED]
>-Original Message-
>From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, November 17, 2005 10:14 AM
>To: Tomcat Users List
>Subject: FW: failure notice
>
> 
>
>
>Stephen Bovy
>Computer Associates
>6100 Center Drive
>Suite 700
>Los Angeles, CA 90045
>Tel: (310) 957-3930
>Fax: (310) 957-3917
>Mobile: (818) 352-9917
>e-mail: [EMAIL PROTECTED]
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 17, 2005 10:12 AM
>To: Bovy, Stephen J
>Subject: failure notice
>
>Hi. This is the qmail-send program at apache.org.
>I'm afraid I wasn't able to deliver your message to
>the following
>addresses.
>This is a permanent error; I've given up. Sorry it
>didn't work out.
>
><[EMAIL PROTECTED]>:
>Sorry, no mailbox here by that name. (#5.1.1)
>
[snip]
>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: RE: failure notice UNSUBSCRIBE IS NOT WORKING !!!!

2005-11-17 Thread cknell

At
the bottom of this message is the email address to unsubscribe. It is
not the address to which you sent your message. Send an email to the
correct address and you will get the results you are looking for.



-- Charles Knell [EMAIL PROTECTED] - email-Original Message-From: Bovy, 
Stephen J Sent: Thu, 17 Nov 2005 13:17:32 -0500To: "Tomcat Users List" Subject: 
RE: failure notice UNSUBSCRIBE IS NOT WORKING How do I get off this list 
the IS NOT WORKING  Stephen Bovy Computer Associates 6100 Center Drive 
Suite 700 Los Angeles, CA 90045 Tel: (310) 957-3930 Fax: (310) 957-3917 Mobile: 
(818) 352-9917 e-mail: [EMAIL PROTECTED] -Original Message- From: Bovy, 
Stephen J [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 10:14 AM 
To: Tomcat Users List Subject: FW: failure notice Stephen Bovy Computer 
Associates 6100 Center Drive Suite 700 Los Angeles, CA 90045 Tel: (310) 
957-3930 Fax: (310) 957-3917 Mobile: (818) 352-9917 e-mail: [EMAIL PROTECTED] 
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 10:12 AM To: Bovy, Stephen J Subject: failure 
notice Hi. This is the qmail-send prog
 ram at apache.org. I'm afraid I wasn't able to deliver your message to the 
following addresses. This is a permanent error; I've given up. Sorry it didn't 
work out. : Sorry, no mailbox here by that name. (#5.1.1) --- Below this line 
is a copy of the message. Return-Path: Received: (qmail 88124 invoked by uid 
99); 17 Nov 2005 18:12:28 - Received: from asf.osuosl.org (HELO 
asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 
17 Nov 2005 10:12:28 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0   
tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local 
policy) Received: from [141.202.248.42] (HELO mail13.ca.com) (141.202.248.42) 
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 10:14:01 -0800 
Received: from usilms28.ca.com ([141.202.201.28]) by mail13.ca.com with 
Microsoft SMTPSVC(6.0.3790.1830);Thu, 17 Nov 2005 13:12:05 -0500 X-MimeOLE: 
Produced By Microsoft Exchange V6.0.6556.0 Content-class: urn:content-classes:me
 ssage MIME-Version: 1.0 Content-Type: text/plain;  charset="us-ascii" 
Content-Transfer-Encoding: quoted-printable Subject: unsubscribe Date: Thu, 17 
Nov 2005 13:12:05 -0500 Message-ID: <[EMAIL PROTECTED]> X-MS-Has-Attach: 
X-MS-TNEF-Correlator: Thread-Topic: unsubscribe Thread-Index: 
AcXrompAoxJWjYD4ROK3YcbZvuU+UQ== From: "Bovy, Stephen J" To: 
X-OriginalArrivalTime: 17 Nov 2005 18:12:06.0057 (UTC) 
FILETIME=[6AE55190:01C5EBA2] X-Virus-Checked: Checked by ClamAV on apache.org 
Stephen Bovy Computer Associates 6100 Center Drive Suite 700 Los Angeles, CA 
90045 Tel: (310) 957-3930 Fax: (310) 957-3917 Mobile: (818) 352-9917 e-mail: 
[EMAIL PROTECTED] 
- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL 
PROTECTED] 
- To 
unsubscribe, e-mail: users-
 [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 



Tomcat 5.5 problem - container not serving up web content

2005-11-17 Thread Jorge Rodriguez
I believe this to be a config issue, but have had no success resolving it 
for the past two days, so any help would be greatly appreciated.

When I access a JSP page directly on my localhost, it loads properly with 
images and the stylesheet.
However, when I access the JSP (or any other JSP for that matter) using a 
filter, servlet or the struts action forward, the JSP content loads up, 
but anything else (images, linked CSS files) do not get served up. 

I've tried every single variation of the  and  tags (relative, 
hardcoded, with a /) but that didn't work. My guess is that there is some 
additional configuration that I haven't completed, yet I don't see if 
anywhere in the docs. I tried adding MIME mapping info to my web.xml, but 
that didn't help either.

The only possible relevant info that shows up related to errors/warnings 
is the following log:
"Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig 
applicationWebConfig
INFO: Missing application web.xml, using defaults only 
StandardEngine[Catalina].StandardHost[localhost].StandardContext[]"
My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like 
it should be ok.


Using Tomcat 5.5 on jdk1.5.0_05 and developing on Eclipse 3.1 with the Web 
tools project 0.7 and no other plugins. 

Please help me out if you know what's up.

TIA!
JR

Re: Tomcat 5.5.12 + APR (Apache Portable Runtime) + SSL (OpenSSL) on Windows

2005-11-17 Thread Remy Maucherat
On 11/17/05, Dhaval Patel <[EMAIL PROTECTED]> wrote:
> Hello all,
>
>Then I read at some place that if you want APR you have do some extra
> configuration, which I followed in part 2.
>
> (2) Using OpenSSL.
>
>I installed OpenSSL. I read documentation about how to generate key and
> certificate in OpenSSL howto. Then did following:
>
> a) goto c:\Tomcat5.5\bin
> b) openssl genrsa -des3 -out privkey.pem 2048 (generate key)
> c) openssl req -new -key privkey.pem -out cert.csr (genrate certificate 
> request)
> d) openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 (create
> self signed certificate)
> e) followed APR config guide from tomcat 5.5 documentations.
> f) restart the tomcat.
> g) same error as I get before. request time out and no error in logs.
>
> I dont know how to make it working. I would like to know more about it. 
> APR
> documentations says about APR Connectors configuration in which there are 
> http,
> https and etc. I believe that is ,  port="8443" ... /> and etc. Am I right? If I am right, then sslProtocol entry 
> in
> two documentation (SSL and APR) are getting different entries (TLS vs. 
> TLSv1). I
> dont know how to do it.
>
> Does anyone know how to do it using real certificate (signed by Verisign 
> or
> something)? Does anyone know how to make it work with self signed certificate?
>
> Thank you in advance.
>
>
> Regards,
> Dhaval
>
> P.S. Forgive me for writing long, but I want to explain everything is full
> details. Thanks.

I suppose giving the Connector element is an irrelevant detail (since
you read the APR page, you probably noticed the attributes were not
the same as for JSSE, as they resemble the ones used for mod_ssl) ;)

--
x
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
x

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



Re: Re: can't get #include to work

2005-11-17 Thread Rob Hills
Hi,

On 17 Nov 2005 at 12:18, [EMAIL PROTECTED] wrote:

> I was on 5.5.9, I upgraded to 5.5.12 but the SSI scripts still arent'
> running.
> 
> there are no errors in any of the log files.

One thing that tripped me up early on after installing Tomcat 5.5 is that I 
wasn't seeing any logging when I thought I ought to be.  I eventually 
discovered that I needed to configure logging appropriately (using a 
logging.properties file in the server\classes directory).  Just thought I'd 
mention this in case you weren't aware of it.

> here's the entire contents of the calling page in case this helps:
> 
> 
> 
> 
>  home
> 
> 
> 
> 
> This is the home page
> 

Ah, this could be a problem.  From the "Directives" section near the 
bottom of the Tomcat Docs page on SSI, I believe you should be using 
"virtual" instead of "file" here, ie:



> 

Also, not sure here, but it wouldn't surprise me if the directives were 
case sensitive - this might work if it were:

> 

HTH,

Rob Hills
NetPaver Pty Ltd
Western Australia

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



Re: Newbie question - How to verify version of Tomcat?

2005-11-17 Thread Tom Burke
Dunno about a windows command, but if you open the manager page - 
/manager/html - one of the pieces of info you'll be given is the version 
number.


Tom


- Original Message - 
From: "Ritchie Gillam" <[EMAIL PROTECTED]>
To: ; 
<[EMAIL PROTECTED]>

Sent: Thursday, November 17, 2005 5:55 PM
Subject: Newbie question - How to verify version of Tomcat?


Should be an easy questions for the Tomcat users out there.

I know I have Tomcat installed but I did the installation  many moons 
ago.  Is there a command that I can run from Windows that will tell me 
what version I am running (have installed)?


Any help is appreciated.



Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583


-
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: failure notice UNSUBSCRIBE IS NOT WORKING !!!!

2005-11-17 Thread Bovy, Stephen J
How do I get off this list the  IS NOT WORKING  


Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
Mobile: (818) 352-9917
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 10:14 AM
To: Tomcat Users List
Subject: FW: failure notice

 


Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
Mobile: (818) 352-9917
e-mail: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 10:12 AM
To: Bovy, Stephen J
Subject: failure notice

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 88124 invoked by uid 99); 17 Nov 2005 18:12:28 -
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 10:12:28
-0800
X-ASF-Spam-Status: No, hits=0.0 required=10.0
tests=
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [141.202.248.42] (HELO mail13.ca.com) (141.202.248.42)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 10:14:01
-0800
Received: from usilms28.ca.com ([141.202.201.28]) by mail13.ca.com with
Microsoft SMTPSVC(6.0.3790.1830);
 Thu, 17 Nov 2005 13:12:05 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: unsubscribe
Date: Thu, 17 Nov 2005 13:12:05 -0500
Message-ID: <[EMAIL PROTECTED]>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: unsubscribe
Thread-Index: AcXrompAoxJWjYD4ROK3YcbZvuU+UQ==
From: "Bovy, Stephen J" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 17 Nov 2005 18:12:06.0057 (UTC)
FILETIME=[6AE55190:01C5EBA2]
X-Virus-Checked: Checked by ClamAV on apache.org



Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
Mobile: (818) 352-9917
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]



FW: failure notice

2005-11-17 Thread Bovy, Stephen J
 


Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
Mobile: (818) 352-9917
e-mail: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 10:12 AM
To: Bovy, Stephen J
Subject: failure notice

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 88124 invoked by uid 99); 17 Nov 2005 18:12:28 -
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 10:12:28
-0800
X-ASF-Spam-Status: No, hits=0.0 required=10.0
tests=
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [141.202.248.42] (HELO mail13.ca.com) (141.202.248.42)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 10:14:01
-0800
Received: from usilms28.ca.com ([141.202.201.28]) by mail13.ca.com with
Microsoft SMTPSVC(6.0.3790.1830);
 Thu, 17 Nov 2005 13:12:05 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: unsubscribe
Date: Thu, 17 Nov 2005 13:12:05 -0500
Message-ID: <[EMAIL PROTECTED]>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: unsubscribe
Thread-Index: AcXrompAoxJWjYD4ROK3YcbZvuU+UQ==
From: "Bovy, Stephen J" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 17 Nov 2005 18:12:06.0057 (UTC)
FILETIME=[6AE55190:01C5EBA2]
X-Virus-Checked: Checked by ClamAV on apache.org



Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
Mobile: (818) 352-9917
e-mail: [EMAIL PROTECTED]


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



Re: Newbie question - How to verify version of Tomcat?

2005-11-17 Thread chinnimb-rest
Just start the tomcat and open default page on web browser
   
  http://localhost:8080
   
  look into Release Notes link
   
  

Ritchie Gillam <[EMAIL PROTECTED]> wrote:
  Should be an easy questions for the Tomcat users out there.

I know I have Tomcat installed but I did the installation many moons ago. Is 
there a command that I can run from Windows that will tell me what version I am 
running (have installed)?

Any help is appreciated. 



Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583


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

  



Re: Newbie question - How to verify version of Tomcat?

2005-11-17 Thread PHIL CAVAZOS
If you log into the manager web page * it should display the version.

Confidentiality Notice: The information contained in this email and any
attachments may be legally privileged and confidential. If you are not
an intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this email is strictly prohibited. If you
have received this email in error, please notify the sender and
permanently delete the email and any attachments immediately. You should
not retain, copy, or use this email or any attachment for any purpose;
nor disclose all or any part of the contents to any other person. 

>>> [EMAIL PROTECTED] 11/17/2005 9:55:19 am >>>
Should be an easy questions for the Tomcat users out there.

I know I have Tomcat installed but I did the installation  many moons
ago.  Is there a command that I can run from Windows that will tell me
what version I am running (have installed)?

Any help is appreciated.  



Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional
Municipality
Email: [EMAIL PROTECTED] 
Phone: (902) 490-6167
Fax: (902) 490-6583


-
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]



Newbie question - How to verify version of Tomcat?

2005-11-17 Thread Ritchie Gillam
Should be an easy questions for the Tomcat users out there.

I know I have Tomcat installed but I did the installation  many moons ago.  Is 
there a command that I can run from Windows that will tell me what version I am 
running (have installed)?

Any help is appreciated.  



Ritchie Gillam
Programmer Analyst, Information Services, Halifax Regional Municipality
Email: [EMAIL PROTECTED]
Phone: (902) 490-6167
Fax: (902) 490-6583


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



Tomcat 5.5.12 + APR (Apache Portable Runtime) + SSL (OpenSSL) on Windows

2005-11-17 Thread Dhaval Patel
Hello all,

I am trying to configure HTTPS with Tomcat 5.5.12 on Windows XP. I am using J2SE
1.5.0_05. I am a student and I dont have signed certificate. I tried two methods
which are mentioned on Tomcat documentation: 

(1) Using .keystore (generated by keytool)
I followed the documentation
(http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html). Generted .keystore, 
put
it in C:\, configure web.xml and restart the tomcat.
It works as the way it suppose to. When you goto https://localhost:8443, you
will get warning and it's working. 
Btw in this way, I am note using APR (Apache Portable Runtime). When I use
those binray, I didnt get it to work. I put openssl.exe and tcnative-1.dll in my
bin directory which I downloaed from website which apache documentation
mentioned. I restarted the tomcat, I can see server status and things look fine
on regular HTTP. But HTTPs does not work. I get request timed out from browser
about https://localhost:8443 and it produces no error message.
   
   Then I read at some place that if you want APR you have do some extra
configuration, which I followed in part 2.

(2) Using OpenSSL.

   I installed OpenSSL. I read documentation about how to generate key and
certificate in OpenSSL howto. Then did following:

a) goto c:\Tomcat5.5\bin
b) openssl genrsa -des3 -out privkey.pem 2048 (generate key)
c) openssl req -new -key privkey.pem -out cert.csr (genrate certificate request)
d) openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 (create
self signed certificate)
e) followed APR config guide from tomcat 5.5 documentations. 
f) restart the tomcat.
g) same error as I get before. request time out and no error in logs.

I dont know how to make it working. I would like to know more about it. APR
documentations says about APR Connectors configuration in which there are http,
https and etc. I believe that is ,  and etc. Am I right? If I am right, then sslProtocol entry in
two documentation (SSL and APR) are getting different entries (TLS vs. TLSv1). I
dont know how to do it.

Does anyone know how to do it using real certificate (signed by Verisign or
something)? Does anyone know how to make it work with self signed certificate?

Thank you in advance.


Regards,
Dhaval

P.S. Forgive me for writing long, but I want to explain everything is full
details. Thanks.




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

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



Re: Re: can't get #include to work

2005-11-17 Thread gbaynham
I was on 5.5.9, I upgraded to 5.5.12 but the SSI scripts still arent' 
running.


there are no errors in any of the log files.

here's the entire contents of the calling page in case this helps:




 home




This is the home page






> 
> From: "Rob Hills" <[EMAIL PROTECTED]>
> Date: 2005/11/17 Thu AM 10:43:43 EST
> To: Tomcat Users List 
> Subject: Re: Re: can't get #include to work
> 
> Hi,
> 
> On 17 Nov 2005 at 10:27, [EMAIL PROTECTED] wrote:
> 
> > yes, and uncommented the lines in web.xml for both the servlet
> > definition and the mappings.
> > 
> > still don't get anything back from the SSI scripts.
> 
> Which version of Tomcat are you are using?  If 5.5.x, are you using the 
> Filter or the Servlet?  We selected the Filter and found it wasn't working 
> at first - kept getting "class not found" exceptions in the log.  Then I 
> discovered that the org.apache.catalina.ssi.SSIFilter wasn't in the 
> servlets-ssi.jar file in the version of Tomcat we were running (from 
> memory 5.5.9).  Upgraded to 5.5.12 and found it all worked perfectly.
> 
> Are you seeing anything in the logs?
> 
> > > From: "Rob Hills" <[EMAIL PROTECTED]>
> > > Date: 2005/11/17 Thu AM 12:03:04 EST
> > > To: <[EMAIL PROTECTED]>
> > > Subject: Re: can't get #include to work
> > > 
> > > Hi,
> > > 
> > > On 16 Nov 2005 at 21:54, [EMAIL PROTECTED] wrote:
> > > 
> > > > Thanks Mark,  I made the changes to the conf/web.xml.  after doing
> > > > that, however, I still can't get any of the SSI scripts to run.
> > > > 
> > > > any other help would be appreciated.
> > > 
> > > Did you remember to rename
> > > $TOMCAT_HOME/server/lib/servlets-ssi.renametojar
> > > 
> > > and then restart Tomcat?
> 
> Rob Hills 
> NetPaver Pty Ltd 
> Western Australia  
> 
> Rob Hills
> MBBS, Grad Dip Com Stud, MACS
> Senior Consultant
> Netpaver Web Solutions
> Tel:  (08) 9485 2555
> Mob:  (0412) 904 357
> Fax:  (08) 9485 2555
> 
> 
> -
> 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]



SSL w/Tomcat

2005-11-17 Thread Bob Grabbe
Trying to set up a tomcat server to only serve up pages using ssl and we are 
having a few problems.

In the server.xml we have tried redirecting port 80 to port 443, thusly:

and have set up the ssl connector also:
Some of the redirection seems to be working, i.e. when I go to 
http://www.website.org I am redirected to https://www.website.org. If I type 
in just website.org (without the www), though, I go to http://website.org 
and do not get redirected.
I've seen the note on forcing https at 
http://marc.theaimsgroup.com/?l=tomcat-user&m=104951559722619&w=2
but I have a problem with this also. When I include the pertinent section in 
my web.xml file everything does go to https, but I get errors on downloading 
files from the site through a web link.
Any suggestions ? Any help or pointers would be appreciated, I'm still 
pretty new to Tomcat.

Thanks
Bob Grabbe
[EMAIL PROTECTED]


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



Re: Tomcat / LDAPS

2005-11-17 Thread sudip shrestha
JNDIRealm does not work in ldaps://
Here is a good source that works!
http://www.mozilla.org/directory
http://www.dahbura.com/

On 11/17/05, Farid Izem <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'd like to configure a LDAPS Authentication to protect some of my
> webapps.
> Has anyone already done that ? Can you provide me some samples on this
> subject ?
> I know, i have to declare a Realm (JNDIRealm). This has been already done
> But Tomcat refused to start.
>
> Can you help me please ?
>
> King Regards,
>
> Farid.
>
>


Tomcat / LDAPS

2005-11-17 Thread Farid Izem
Hi all,

I'd like to configure a LDAPS Authentication to protect some of my webapps.
Has anyone already done that ? Can you provide me some samples on this
subject ?
I know, i have to declare a Realm (JNDIRealm). This has been already done
But Tomcat refused to start.

Can you help me please ?

King Regards,

Farid.


Re: Re: can't get #include to work

2005-11-17 Thread Rob Hills
Hi,

On 17 Nov 2005 at 10:27, [EMAIL PROTECTED] wrote:

> yes, and uncommented the lines in web.xml for both the servlet
> definition and the mappings.
> 
> still don't get anything back from the SSI scripts.

Which version of Tomcat are you are using?  If 5.5.x, are you using the 
Filter or the Servlet?  We selected the Filter and found it wasn't working 
at first - kept getting "class not found" exceptions in the log.  Then I 
discovered that the org.apache.catalina.ssi.SSIFilter wasn't in the 
servlets-ssi.jar file in the version of Tomcat we were running (from 
memory 5.5.9).  Upgraded to 5.5.12 and found it all worked perfectly.

Are you seeing anything in the logs?

> > From: "Rob Hills" <[EMAIL PROTECTED]>
> > Date: 2005/11/17 Thu AM 12:03:04 EST
> > To: <[EMAIL PROTECTED]>
> > Subject: Re: can't get #include to work
> > 
> > Hi,
> > 
> > On 16 Nov 2005 at 21:54, [EMAIL PROTECTED] wrote:
> > 
> > > Thanks Mark,  I made the changes to the conf/web.xml.  after doing
> > > that, however, I still can't get any of the SSI scripts to run.
> > > 
> > > any other help would be appreciated.
> > 
> > Did you remember to rename
> > $TOMCAT_HOME/server/lib/servlets-ssi.renametojar
> > 
> > and then restart Tomcat?

Rob Hills 
NetPaver Pty Ltd 
Western Australia  

Rob Hills
MBBS, Grad Dip Com Stud, MACS
Senior Consultant
Netpaver Web Solutions
Tel:(08) 9485 2555
Mob:(0412) 904 357
Fax:(08) 9485 2555


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



Re: Eclipse setup questions

2005-11-17 Thread Seak, Teng-Fong
   I'm using MyEclipse too, but IIRC it mostly export war files (or the 
whole directory structure in Tomcat).  Exporting jar file is still the 
job of Eclipse.


   To the original poster: do you mean you're exporting individual java 
classes or jar files?


   OTOH, if you're developing some classes which are shared amongst 
several webapps, I would advise you to put your classes in shared 
directory (|$CATALINA_BASE/shared/classes, or the other)|, as specified 
in the doc: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html


   Hope this help.||

Allistair Crossley wrote:


We use the MyEclipse range of plugins www.myeclipseide.com which comes
with a Deployer plugin to do this. I've not figured out how to JAR and
distribute to several webapps though yet.

-Original Message-
From: Developer Developer [mailto:[EMAIL PROTECTED] 


I want to be able export my java classes, automatically when the project
is built. I do not want to export them manually by clicking on file
->export etc.
Is there any such setting ?
Thanks !
 




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



RE: Eclipse setup questions

2005-11-17 Thread Eviano Afiemo
Hi,

If you're using the basic version of Eclipse you may want to consider the 
following.

Eclipse allows you to use Unix-like symbolic links. 
i.e. allows you to create a directory beneath your current project which is 
actually a link to a directory located elsewhere in your file system.

At the simplest level using this information you could define an output folder 
for your project in the "Source" tab of the Java Build Path property for your 
project. 
End result, your output is located outside your work space.

A more flexible alternative would be to investigate using ANT 
(http://ant.apache.org/) which is quite well integrated with eclipse.
You could define different compile targets for your various output 
destinations. ANT is flexible enough to allow you to create jar files and 
distributable WAR files for your web applications.

I hope this gets you going in the right direction.
Regards

Eviano

>-Original Message-
>From: Allistair Crossley [mailto:[EMAIL PROTECTED]
>Sent: 16 November 2005 14:01
>To: Tomcat Users List
>Subject: RE: Eclipse setup questions
>
>
>We use the MyEclipse range of plugins www.myeclipseide.com which comes
>with a Deployer plugin to do this. I've not figured out how to JAR and
>distribute to several webapps though yet.
>
>-Original Message-
>From: Developer Developer [mailto:[EMAIL PROTECTED] 
>Sent: 16 November 2005 13:37
>To: Tomcat Users List
>Subject: Re: Eclipse setup questions
>
>I want to be able export my java classes, automatically when 
>the project
>is built. I do not want to export them manually by clicking on file
>->export etc.
> Is there any such setting ?
> Thanks !
>
> On 11/16/05, Seak, Teng-Fong <[EMAIL PROTECTED]> wrote:
>>
>> Some more precisions are needed. What "output" type are you 
>> referencing to? Jar? War? Or something else?
>>
>> But in any case, the general way is File > Export, and then choose 
>> your type and in the next screen, specify your export 
>destination. You
>
>> could use default settings for the rest.
>>
>> Developer Developer wrote:
>>
>> > Hello All,
>> > i am posting this question to the tomcat user group 
>assuming people 
>> > in
>> this
>> >group are familiar with eclipse IDE.
>> > I am new to eclipse IDE. I have a question on the setup. I have 3
>> different
>> >packages built in ecplise. I want to be able to direct the ouput of 
>> >these packages to 3 different folders that are outside my workspace.
>> >Do you know how I can do that ?
>> > Thanks a lot.
>> >
>> >
>> >
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> 
>---
>QAS Ltd.
>Registered in England: No 2582055
>Registered in Australia: No 082 851 474
>---
>  
>Disclaimer:  The information contained within this e-mail is 
>confidential and may be privileged. This email is intended 
>solely for the named recipient only; if you are not authorised 
>you must not disclose, copy, distribute, or retain this 
>message or any part of it. If you have received this message 
>in error please contact the sender at once so that we may take 
>the appropriate action and avoid troubling you further.  Any 
>views expressed in this message are those of the individual 
>sender.  QAS Limited has the right lawfully to record, monitor 
>and inspect messages between its employees and any third 
>party.  Your messages shall be subject to such lawful 
>supervision as QAS Limited deems to be necessary in order to 
>protect its information, its interests and its reputation.  
>
>Whilst all efforts are made to safeguard Inbound and Outbound 
>emails, QAS Limited cannot guarantee that attachments are 
>virus free or compatible with your systems and does not accept 
>any liability in respect of viruses or computer problems experienced.
>
>
>
>-
>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: Sharing webapps between linux and windows on single computer

2005-11-17 Thread Dhaval Patel
Hi Nix,

   Thanks for your response. After posting my question, I realized that the
question is not that important. I read the documentation and figured the way 
that
you suggest. 

   My goal is to develop a web application and test it under Windows and Linux
enviroment. I know Linux is much better (even I prefer that). But it just
something to play around and clearing my doubts.

Regards.
Dhaval

--- Nikola Milutinovic <[EMAIL PROTECTED]> wrote:

> Dhaval Patel wrote:
> 
> >   My question is, is it possible to put only webapps on P_FAT32 while tomcat
> >install files are in P_NTFS and P_RES and configured tomcat to read P_FAT32
> >webapps directory as "appbase" in host node of server.xml? Have anyone done
> >anything like this before? Only thing I am confused of end of line character
> >since it is different in windows and linux for any file. I mean can it work? 
> >I
> am
> >going to try it but if anyone had done something like this, please guide me.
> >  
> >
> 
> Of course. For each VirtualHost in TC (including "localhost"), you can 
> define "appBase" directory. Just let it point to your P_FAT32.
> 
> Nix.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



Multiple IIS-sites proxying multiple Tomcats

2005-11-17 Thread Albrecht Scheidig
Hi all,

I have to setup two IIS-sites on different ports in IIS and two
tomcat-installations. I want the isapi redirector to forward each request on
IIS:81 to worker1 (associated with ajp-port 8109 wich is served by tomcat 1)
and each request on IIS:82 to worker2 (associated with ajp-port 8209 wich is
served by tomcat 2).

How do I achieve this? IMO this is not possible because there is no way to
have different urimappings for different IIS sites (urimapping is just
considering the path portion of an URI). I would need two instances of
redirector itself using two distinct sets of configfiles wich is not
possible, is it?

(Using Apache I would do this using virtual hosts with different mappings
for each host. But this is not an option because the cust. enforces use of
IIS.)

Thanks in advance,
Albrecht


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



Re: Using Authentication/Authorization

2005-11-17 Thread Markus Plail
Hi Jeremy!

Jeremy Crosbie <[EMAIL PROTECTED]> writes:
> Can you supply the relevant sections of your web.xml? I am using
> FORM-based authentication--tested with both the Memory and JAAS
> realms--but maybe this will give you some hints:

Do you successfully use JAAS realm based authentication in Tomcat
version > 5.5.9? If yes, could you show me the commit method of your
login module?

regards
Markus


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



Re: Tomcat overwrites error response body

2005-11-17 Thread Tim Funk
Don't use sendError() - use setStatus(). Also - se the status first as to 
ensure the response is not committed before you send th body of the page. 
Also - once the page is done - try and close the resonse to ensure any error 
handling by tomcat is not done.


-Tim

Anurag Chakravarti wrote:

Hi,

Tomcat sends back a default error HTML page, even when I don't want it
to. I want my servlet to send its own error response body. I am doing
the following in my servlet doPut method.

java.io.PrintWriter pr = resp.getWriter();
pr.println(e.getErrorCode().serialize());
resp.sendError(e.getCode());

This does not work. Tomcat sends me a HTML page which I don't want.
What am I missing here.



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



Re: Tomcat overwrites error response body

2005-11-17 Thread Markus Plail
Anurag Chakravarti <[EMAIL PROTECTED]> writes:
> Tomcat sends back a default error HTML page, even when I don't want it
> to. I want my servlet to send its own error response body. I am doing
> the following in my servlet doPut method.
>
> java.io.PrintWriter pr = resp.getWriter();
> pr.println(e.getErrorCode().serialize());
> resp.sendError(e.getCode());
>
> This does not work. Tomcat sends me a HTML page which I don't want.
> What am I missing here.

Don't use sendError but setStatus. sendError does the complete error
page and you can only change its content via web.xml.

regards
Markus


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



Re: How to add client certificate to use in Servlets

2005-11-17 Thread Markus Plail
Hi Oliver!

Oliver Schoenwald <[EMAIL PROTECTED]> writes:
> I'm using Tomcat 5.5.4 and have implemented a webapplication that
> connects to other servers to look for the existence of certain URLs
> and to load soap-data using the Jakarta Axis-Library.  Now there is a
> remote server reachable via an https-adress, and that server should
> accept client certificate-based authentication. And here is where I'm
> lost for now. I have a client certificate in pem-format (but I can
> have any other format, too, if I need).
>
> So far I only found information about how to add server certificates
> to a keystore-file and how to set tomcat to use that file for its own
> https-connector.
>
> Question: How do I tell Tomcat to use that client certificate when a
> servlet connects to that remote server? What format should the client
> certificate have?

Do you want to use a webservice on the remote server or download a file
via https? In the latter case I can't help, but in the former case it's
as simple as that:

System.setProperty("javax.net.ssl.trustStore", trustStore.getAbsolutePath());
System.setProperty("javax.net.ssl.keyStore", keyStore.getAbsolutePath());
System.setProperty("javax.net.ssl.keyStoreType", "PKCS12");
System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);

The truststore contains the certificates of servers you trust and the
keystore contains your certificate that is trusted by the server.

regards
Markus


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



Re: Another issue with a special character

2005-11-17 Thread Seak, Teng-Fong

   This seems to be off-topic, but let's continue

   Have you used MySQL Query Browser?  Try to insert the sign and see 
how many bytes it's using.  If it's two, it's almost certainly using 
UTF-8.  If it's one, it seems to be OK.  Then you have to figure out 
which part in your webapp is changing the character.


Information Architecture wrote:

Hi!  I've been following the posts on special characters and have a 
similar problem. I hope this is an appropriate list to post it to.  I 
am not a java programmer, but support a vertical market application 
written in java for which I do not have source and for which the 
vendor is unhelpful at best.  The program uses a special character, 
the copyright sign, to delimit tuples within a single field and parses 
the field using the copyright sign when it extracts the data.  I have 
the app working under Windows 2000 and under SuSE Linux 8.2 running on 
a P5 system.  I am trying to move the app to SuSE SLES 9 running on a 
dual processor opteron.  Everything works except the parts that rely 
on this special character -- the character is inserted into the 
database correctly, but when the field is extracted and parsed, it 
does not work (it uses the fields within the delimiters to mark boxes 
to check).  I have tried inserting the copyright character into a 
field displayed as text by the app and it appears on the SLES system 
as a ?, but on the Windows and older Linux correctly.
The platform is mysql 4.0, tomcat 4.0 (I tried 5.0 on the new system 
but backed down to a version I knew worked on the other system when I 
encountered this problem), apache 1.3x (again, started with 2.0 and 
moved back to see if the problem exists with the exact same setup).  
Java is 1.4.1 on the old system, 1.4.2 on the new system (Sun Client 
Hot Spot).  As far as I can see, character set is ISO 8859-1 
throughout; it definitely is in mysql.  I have tried exporting 
"-Dfile-encoding='ISO-8859-1'" in the catalina.sh file but to no 
avail.  Any suggestions or ideas of where to look would be appreciated.


Thanks.

Becky




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



JNDI from tomcat on remote Windows PC with ODBC ???

2005-11-17 Thread Philippe Couas
Hi,
 
Could i configure an JNDI connector for an remote connection to another PC ?
This remote PC has only an ODBC connection ?
There is no specific Java Driver for this Database Currently ?
 
Regards
Philippe
 
  


Re: session replication errors

2005-11-17 Thread Kanin Chen
Howdy,
 I am using Eclipse 3.1 and TC 5.5.12, when starting TC 5.5.12 in Eclipse,
the manage webapp is disabled while starting outside Eclipse is valid.
 The server.xml in eclipse is all the same to server.xml in TC.
any hint?
 Thanks in advance.
Best Regards.


Re: session replication errors

2005-11-17 Thread Peter Rossbach

Hey Olve,

what I mean with your Cluster Config is:
   You have register two ClusterSessionListener!





  






Peter

Peter Rossbach schrieb:


Hey Olve,

I found a the NPE shutdown problem, but I must setup my Linux System
to look inside the strange timeout exception. I want remove the 
waitForAck flag
at the next release, but my time is currently a little bit limited. 
Please look and test

my next cluster checkin .-)

Thanks for reporting the bug.
Peter

Olve Hansen schrieb:


Hey, thanks for your fixes, sadly it didn't fix my problem. That is if I
am doing things right, which there are no guarantees for. I will
continue to hunt down the problem(s).
If I configure my cluster as you suggested in your first mail, the
Exceptions disappears, if I use my original config it is as it were. I
would believe that a valid configuration shouldn't make tomcat throw
severe exceptions... I also started experiencing shutdown exceptions
from the svn version. 5.5.12 didn't have these. (stacktrace can be found
in bottom of mail).

Are there any gotchas for using waitForAck="true" and
keepAliveTimeout="-1"? For example less performance? I guess that
waiting for acks from the whole cluster can be lengthy, especially if we
want to use pooled replication?

You also said in an earlier mail that I didn't need both the
ClusterSessionListener, and the JvmRouteSessionIDBinderListener, why is
that? And which do I need? And why are both listed in the example set-up
in clusterdocs, if only one is needed?

Now for the problem (sorry for the length of this mail).

 




-
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]



starting Tomcat using kaffe /j2sdk

2005-11-17 Thread Aparna Ramakrishnan
Hello,
   
  I have tomcat4 installed and when i run tomcat with /etc/init.d/tomcat4 
start, 
  it uses JAVA_HOME=/usr/lib/kaffe
  and then tomcat immediately stops running. when i check the status of the 
server, i get the message that Tomcat servlet engline is not running but the 
pid file exists.
   
  So, now when i change the JAVA_HOME variable using:
  export JAVA_HOME=/usr/java/j2sdk1.4.2_09 ,
  and then start tomcat again using /etc/init.d/tomcat4 start, it runs 
continuously without a problem.
   
  After this, when i try 2 run a jsp file, it dooesn't run and comes up with 
errors: 
  org.apache.Jasper.JasperException: unable to compile class for jsp
  /var/lib/tomcat4/work/Standalone/localhost/../jspfilename.java:8: package 
servlet_classes does not exist
  import servlet_classes.Database;;
^
   
  so.. where am i going wrong? kindly guide since as u would b knowing, im a 
complete newbie here!
   
  thanks in advance


-
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: http response 304 with content

2005-11-17 Thread hallyday1999
Hello Mark,
   
  Would a Ethereal trace be enough for you?

Mark Thomas <[EMAIL PROTECTED]> schrieb:
  hallyday1999 wrote:
> Hello Mark,
> 
> Sorry, but the bug you quote mentions errors with the HTTP-response headers.
> 
> My problem is an 304 response with sent content (=content-length >0):
> the content is e.g. the requested JPG file.
> 
> 
> kind regards 
> Axel

Do you have a simple test case the reliably demonstrates this issue? 
If so, create a bug report and attach it. Without a test case there 
isn't much we can do.

Mark


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

  



-
Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher

Re: stress test on tomcat

2005-11-17 Thread Dirk Weigenand
Hi,
> --- Ursprüngliche Nachricht ---
> Von: "William Mok" <[EMAIL PROTECTED]>
> An: 
> Betreff: stress test on tomcat
> Datum: Wed, 16 Nov 2005 14:57:21 -0800
> 
> -
> 16-Nov-2005 2:44:30 PM org.apache.jk.common.ChannelSocket
> acceptConnections
> WARNING: Exception executing accept
> java.net.SocketException: Too many open files
> 
> William

You are running into resource limits posed by your operating system. It
would help btw. if you'd reveal it to us.

On Linux you can change this value using sysctl or the proc-file system.

regards,
 Dirk

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

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



Re: session replication errors

2005-11-17 Thread Peter Rossbach

Hey Olve,

I found a the NPE shutdown problem, but I must setup my Linux System
to look inside the strange timeout exception. I want remove the 
waitForAck flag
at the next release, but my time is currently a little bit limited. 
Please look and test

my next cluster checkin .-)

Thanks for reporting the bug.
Peter

Olve Hansen schrieb:


Hey, thanks for your fixes, sadly it didn't fix my problem. That is if I
am doing things right, which there are no guarantees for. I will
continue to hunt down the problem(s). 


If I configure my cluster as you suggested in your first mail, the
Exceptions disappears, if I use my original config it is as it were. I
would believe that a valid configuration shouldn't make tomcat throw
severe exceptions... I also started experiencing shutdown exceptions
from the svn version. 5.5.12 didn't have these. (stacktrace can be found
in bottom of mail).

Are there any gotchas for using waitForAck="true" and
keepAliveTimeout="-1"? For example less performance? I guess that
waiting for acks from the whole cluster can be lengthy, especially if we
want to use pooled replication?

You also said in an earlier mail that I didn't need both the
ClusterSessionListener, and the JvmRouteSessionIDBinderListener, why is
that? And which do I need? And why are both listed in the example set-up
in clusterdocs, if only one is needed?

Now for the problem (sorry for the length of this mail).

 




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



JK 404 error

2005-11-17 Thread Jean-Christophe Praud

Hi all,

I've got a problem setting up Apache 2.0.55, Tomcat 5.5.12 and JK 1.2.15 
on a Linux server : when I try to access to /test.jsp page, I get a 404 
error from Tomcat (not Apache)


What did I miss ?


- my httpd.conf :

LoadModulejk_module  modules/mod_jk.so
JkWorkersFile /usr/local/apache2/conf/workers.properties
JkLogFile /usr/local/apache2/logs/mod_jk.log
JkLogLevelinfo
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]


DocumentRoot /home/rnc/web/htdocs
ServerName cthugha

JkMount /*.jsp ajp13




- my workers.properties :

workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/jdk
ps=/
worker.list=ajp12, ajp13

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, 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)lib$(ps)i386$(ps)classic$(ps)libjvm.so

worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr



- The test.jsp page is located in the /home/rnc/web/htdocs/ directory.




Regards,





--
Jean-Christophe Praud -  http://shub-niggurath.com
Conseil & Développement Informatique  http://www.praud.com
Ph'nglui mglw'nafh Cthulhu n'gah Bill R'lyeh Wgah'nagl fhtagn!


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



Re: Load balancing with apache + mod_jk

2005-11-17 Thread Mirek Kopriva
Ok, so i got the solution. There was some config missing
in tomcat's server.xml
The Engine needs to have jvmRoute set to the name of the worker
and the default one needs to be commented out.
Anyway, thanks to everybody for help.
Mirek






On 11/16/05, Mirek Kopriva <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
> Thanks for the quick reply.
> I did the changes you suggested and still have the problem.
> I would like to mention that the loadbalancing works
> with tomcat's example application. But not with ours.
>  The difference is taht we are using struts and this together with using
> html frames means that one user request is actually more
> separate requests to the server. Some of those requests
> are loadbalanced incorrectly (they should all go to the one tomcat
> instance) which together, with the fact that it's
> a login page and user credentials must be in the session, is causing
> redirection back to the login page.
>  Thanks a lot for help again,
> Mirek
>   On 11/16/05, Mirek Kopriva <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > -- Forwarded message --
> > From: Olve Hansen < [EMAIL PROTECTED]>
> > Date: Nov 16, 2005 10:07 AM
> > Subject: Re: Load balancing with apache + mod_jk
> > To: users@tomcat.apache.org
> >
> > In addition to Mladens post, you have several errors in in your
> > workers.properties .
> > You should read the docs:
> > http://tomcat.apache.org/connectors-doc/config/workers.html
> > I have spent some hours deciphering these (they have gotten much better
> > lately).
> >
> > ons, 16,.11.2005 kl. 09.29 +0200, skrev Mirek Kopriva:
> > >
> > > #properties
> > > workers.ajp13.1.host=127.0.0.1
> > > workers.ajp13.1.port=8009
> > > workers.ajp13.2.host=xx.xx.xx.xx (other server IP)
> > > workers.ajp13.2.port=8009
> > These should be 'worker.' not 'workers.'
> > >
> > > worker.list=loadbalancer, ajp13.1, ajp13.2
> >
> > The balanced workers must not be part of worker.list
> > (See doc )
> >
> > >
> > > worker.loadbalancer.type=lb
> > > worker.loadbalancer.balanced_workers=ajp13.1 , ajp13.2
> > It should read 'worker.loadbalancer.balance_workers'.
> >
> >
> > > worker.loadbalancer.sticky_session=True
> > >
> > > # Workers
> > > worker.ajp13.1.port=$(workers.ajp13.1.port)
> > > worker.ajp13.1.host=$ (workers.ajp13.1.host)
> >
> > My default workers.properties also says:
> > # As a general note, the characters $( and ) are used internally to
> > define
> > # macros. Do not use them in your own configuration!!!
> >
> > So you might change the above config as well.
> >
> > Hope this helps
> >
> > Olve
> >
> >
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.1 (GNU/Linux)
> >
> > iD8DBQBDeuikAtZqQquHhqARAoSjAJ9QVdpiEykrbYSNA3/OyKS/CE/mywCgh1vm
> > jvHsc475olqPhzAUJFe6G+E=
> > =A949
> > -END PGP SIGNATURE-
> >
> >
> >
>


RE: stress test on tomcat

2005-11-17 Thread Peter Crowther
> From: William Mok [mailto:[EMAIL PROTECTED] 
> java.net.SocketException: Too many open files

What operating system?  Naively, that looks like the good ol' UNIX limit
on the number of file descriptors available to a process - if so, read
up on how to change the descriptor table size for your kernel.

- Peter

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



Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-17 Thread Olve Hansen
fre, 28,.10.2005 kl. 10.49 -0400, skrev [EMAIL PROTECTED]:
> Hi,
> 
> We're using mod_jk on Apache as a load-balancer for multiple tomcats.
> We're using Laszlo, so the app is serving up Flash pages.
> 
> On 2003 Server, everything works great.  However, installing on XP SP2
> (haven't tested others) no pages are served up.
> 
> Is this a known bug?  Is there a workaround?

This is kind of a long shot, but here it goes.

We have had some odd flash troubles, but none of them originated from
the server-configuration, but from the request configuration. 

How is your Apache setup, do you use https through Apache, and when you
test through the Tomcats directly you use plain http?

If the flash-resource has an Expires setting (in http-headers) of 0 we
thought that the files was forced to be fetched each time from the
server. IE doesn't work that way when using flash, as it looks like the
flash plugin tries to fetch the swf file from the browser cache, where
it has already expired. This happens only over https.

When we set the Expires header to 8 seconds or so, it worked.

Maybe this setting is changed during your "upgrade" to SP2? 

Also, when you try to show your flash files, are they embedded in html?

Do your flash perform any kind of callbacks to the servers, for loading
additional resources? If they try to access the tomcats directly, this
might work if the tomcats are accessible, maybe the new setup has made
the tomcats inaccessible for direct requests?

Another flash problem we encountered in IE was that if the html to embed
the flash pointed to the plugin-page at macromedia using a http url in a
https setting, IE would complain about insecure elements, or not show
the flash.

All these may be reasons for flash not showing, but not directly caused
by  SP2. 

One guess could be that a firewall issue is preventing clients from
accessing tomcats directly, and the upgrade turned this firewall on, and
that flash tries to do callbacks to the tomcats?

Well, enough guesses for now, hope this helps in some way.


signature.asc
Description: Dette er en digitalt signert meldingsdel


Configuring Context in tomcat :5

2005-11-17 Thread birendar . waldiya
HI ,
 I am gettign following error when i tried to run the tomcat from eclipse
my doubt is where to edit the Context in tomcat 5..
Is it in  conf/server.xml
or in Catalina/localhost/<>
I optted for WWSF/dca as context.


Error --

"SEVERE: Error deploying configuration descriptor WWSF#dca.xml
java.io.IOException: java.io.FileNotFoundException:
D:\ASF\Tomcat5\conf\Catalina\localhost\WWSF (The system cannot find the
file specified)
  at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:518)
  at
org.apache.catalina.core.StandardHost.install(StandardHost.java:890)

thanks
Regrads
Birendar S Waldiya



Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information. If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited. If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments. Thank you


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



Fwd: Hi all

2005-11-17 Thread ashok kumar
-- Forwarded message --
From: ashok kumar <[EMAIL PROTECTED]>
Date: Nov 17, 2005 11:42 AM
Subject: Hi all
To: [EMAIL PROTECTED]

Hi ,
 I my application I want to sent mail through "mail.host" and "some other
IP" becoz SMTP port is blocked in my concern.So I want to override the
default setting of tomcat "mail.host.smtp " and "localhost".How can I achive
this.
 Regards,
Ashokkumar.