Re: Problem with JOTM...

2006-12-19 Thread kalakhr

Try and put this carol.properties in jakarta-tomcat/common/classes

---
Start carol.properties
# JNDI (Protocol Invocation)
carol.protocols=jrmp

# Local RMI Invocation
carol.jvm.rmi.local.call=true

# do not use CAROL JNDI wrapper
carol.start.jndi=false

# do not start a name server
carol.start.ns=false

# Naming Factory
carol.jndi.java.naming.factory.url.pkgs=org.apache.naming

---
End carol.properties

Then restart.

If you are using Java 1.5+ you will need to recompile carol.

Good Luck

Moises Lejter-2 wrote:
> 
> I cannot seem to get JOTM to work with Tomcat 5.5.17 on Suse Linux 10.0
> in my web app, even though I think I am doing all the right things - and
> I am hoping someone here can spot my problem :-)
> 
> The error I get is this, when looking up "java:comp/UserTransaction" in
> the InitialContext:
> 
>  
> 
> WARNING: while getting UserTransaction
> 
> javax.naming.NamingException: Cannot create resource instance
> 
> at
> org.apache.naming.factory.TransactionFactory.getObjectInstance(Transacti
> onFactory.java:112)
> 
> at
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> 
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:792)
> 
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:139)
> 
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:780)
> 
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:152)
> 
> at
> org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
> 
> at javax.naming.InitialContext.lookup(InitialContext.java:351)
> 
>  
> 
> My context.xml for my web app is this:
> 
>  
> 
> 
> 
>
> type="javax.sql.DataSource"
> 
> maxActive="10" maxIdle="3" maxWait="1"
> 
> username="x" password="x"
> 
> factory="org.objectweb.jndi.DataSourceFactory"
> 
> driverClassName="com.mysql.jdbc.Driver"
> 
> url="jdbc:mysql://localhost:3306/utekdb"/>
> 
>
>jotm.timeout="60"/>
> 
> 
> 
>  
> 
> (and I tried repeating the  tag in my server.xml, with
> no luck).
> 
>  
> 
> I have all the JOTM jar files in both common/lib and my apps
> /WEB-INF/lib...
> 
>  
> 
> I am a little suspicious of the stack trace that says it's calling
> org.apache.naming.factory.TransactionFactory.getObjectInstance -
> shouldn't it be calling my own?
> 
>  
> 
> Thank you!
> 
>  
> 
> Moises Lejter
> 
>  
> 
> Phone: 608-827-7772 
> 
> Email: [EMAIL PROTECTED]
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-JOTM...-tf2047779.html#a7943808
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: How to Run Servlet

2006-12-19 Thread athula bogoda
I installed it and try to compile servlet file. But it gives an error"Cannot 
find symbols."

Thanks,


- Original Message 
From: Mark Thomas <[EMAIL PROTECTED]>
To: Tomcat Users List 
Sent: Tuesday, December 19, 2006 9:04:04 AM
Subject: Re: How to Run Servlet

athula bogoda wrote:
> Hi,
> I am new to servlet.
> 
> Can any one tell me how to run servlet file in Tomcat 5.0.

First off, you will be better off with 5.5.x rather than 5.0.x

Then you could try following the following example:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html

There are also many tutorials available on the web.  A few pointers to
get you started:
http://java.sun.com/products/servlet/docs.html
http://www.google.com/search?hl=en&q=servlet+tutorial&btnG=Google+Search

Mark


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







Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size < 8192

2006-12-19 Thread Tim Funk

JSP's also have a buffer too. To make it smaller or eliminate it:

<[EMAIL PROTECTED] buffer='none'%>
or use out.flush() instead or response.flushBuffer()

-Tim


Richard Mundell wrote:

No one replied, so in the hope someone might have the answer to this, here's
a repost... :-)
 


-Original Message-
From: Richard Mundell [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 3:37 PM

To: users@tomcat.apache.org
Subject: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size <
8192

I'm trying to work around a timeout problem which one of my user's proxy
server has. The proxy's timeout is set to 1 minute. Should it not receive
any HTTP traffic for 1 minute it disconnects.
 
One of my JSPs takes >1 minute to perform processing and return results.
 
What I'm trying to do is...
 
1) Flush out HTTP headers immediately

2) (Start my database operation which takes >1 minute)
3) Write out and flush to the client a HTML comment () every 10
seconds while the database operation completes to stop the proxy timing out
4) (Database operation completes)
5) Write out results
 
By calling response.flushBuffer() immediately at the top of my JSP, the HTTP

headers are being written out to the TCP stream. So far, so good.
 
My code then, every 10 seconds, does an out.print("") and a

response.flushBuffer().
 
By using a packet sniffer I can see that although the headers get output to

the TCP stream, the "body" of the HTTP response does not get written out
until the very end of the execution of the JSP. The only way I can get the
buffer to flush is if I do an out.print with a string greater than 8192
characters (the default size of the buffer).
 
Note that I also tried out.flush() and that doesn't work either.
 
As a workaround I tried to set the buffer size artificially low, but this

call is being ignored:
 
System.out.println(response.getBufferSize());

// buffer size of 8192 printed to stdout
 
response.setBufferSize(100);

// buffer size should now be 100, right?
 
System.out.println(response.getBufferSize());

// buffer size of 8192 still printed to stdout
 
setBufferSize only works if I set the buffer > 8192.
 
I can't find any reference in the Tomcat spec to this being a deliberate

behavior, or a hard-coded minimum?
 
Anyone got any ideas of where I'm going wrong, or how I might get this to

work in Tomcat 5.5.9? (Note that I'm stuck at Tomcat 5.5.9 because the later
(Apache) HTTPS implementations don't work reliably in our environment).



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



Re: How to Run Servlet

2006-12-19 Thread Mark Thomas
athula bogoda wrote:
> I installed it and try to compile servlet file. But it gives an error"Cannot 
> find symbols."
> 
> Thanks,

A little more information would help. What did you try and compile and
how did you try and compile it?

Mark


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



Re: How to Run Servlet

2006-12-19 Thread athula bogoda
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloWorld extends HttpServlet {

public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("");
out.println("");
out.println("Hello World!");
out.println("");
out.println("");
out.println("Hello World!");
out.println("");
out.println("");

}
}

This is the file i tried to execute.

I also set the class path for jsp-api.jar and servlet.jar files.
But it did not work.

Thanks.

=




- Original Message 
From: Mark Thomas <[EMAIL PROTECTED]>
To: Tomcat Users List 
Sent: Tuesday, December 19, 2006 5:39:07 PM
Subject: Re: How to Run Servlet

athula bogoda wrote:
> I installed it and try to compile servlet file. But it gives an error"Cannot 
> find symbols."
> 
> Thanks,

A little more information would help. What did you try and compile and
how did you try and compile it?

Mark


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







Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: How to Run Servlet

2006-12-19 Thread Mark Thomas
athula bogoda wrote:
> This is the file i tried to execute.
> 
> I also set the class path for jsp-api.jar and servlet.jar files.
> But it did not work.

Your servlet needs to be in a package.

Next, how did you try and compile it when you got the "Cannot find
symbols." error?

Mark




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



Re: How to Run Servlet

2006-12-19 Thread David Delbecq
And please provide the complete terminal output of compilation process
so we can have an idea what is your problem.
Mark Thomas a écrit :
> athula bogoda wrote:
>   
>> This is the file i tried to execute.
>>
>> I also set the class path for jsp-api.jar and servlet.jar files.
>> But it did not work.
>> 
>
> Your servlet needs to be in a package.
>
> Next, how did you try and compile it when you got the "Cannot find
> symbols." error?
>
> Mark
>
>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   


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



RE: Question on Admin WebApp in Tomcat 6.0

2006-12-19 Thread Richard Mundell
Ritu,

You might want to take a look at Lambda Probe, a freeware 'manager'
application, which is like Tomcat manager on steriods!

http://www.lambdaprobe.com/

- Richard
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 12:06 AM
To: users@tomcat.apache.org
Subject: Question on Admin WebApp in Tomcat 6.0

Hi,

I was taking a look at Tomcat 6.0. The downloads did not have a separate WAR
for the Admin WebApp and the Core download also did not include the Admin
WebApp.

Could someone please let me know from where can I download the Admin WebApp
for Tomcat 6.0?

I am primarily interested in understanding the difference in approach
between the Admin WebApp of 5.5 and 6.0. Also I would like to understand by
how much would the underlying Catalina MBeans be changed in 6.0 (if at all
they are changed). Any responses would be greatly appreciated.

Tomcat developers list for 6.0 has Amy Roh assigned to Admin WebApp. So Amy
your response would be very much appreciated. Thanks in advance.

Thanks and Regards,
Ritu Kedia


-
This transmission may contain information that is privileged, confidential,
legally privileged, and/or exempt from disclosure under applicable law.  If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and any
attachments are believed to be free of any virus or other defect that might
affect any computer system into which it is received and opened, it is the
responsibility of the recipient to ensure that it is virus free and no
responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and
affiliates, as applicable, for any loss or damage arising in any way from
its use.
If you received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic or
hard copy format. Thank you.



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



RE: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size < 8192

2006-12-19 Thread Richard Mundell

Thanks Tim.

out.flush() wasn't doing anything unless there was already 8KB in the
buffer.

But, the JSP page directive helped:

Before setting the JSP page directive, the pre-compiled .java file that
Tomcat was creating had...

  pageContext = _jspxFactory.getPageContext(this, request, response,
"ErrorPage.jsp", true, 8192, true);

...and now, with <[EMAIL PROTECTED] buffer="1kb"%>, it uses...

  pageContext = _jspxFactory.getPageContext(this, request, response,
"ErrorPage.jsp", true, 1024, true); 

It looks like the buffer can only be specified in 1kb increments, but a 1KB
keep-alive being sent every 30 seconds is better than an 8KB keep-alive.

Is there a way to make the JSP page directive conditional?

Basically, I only want to set the buffer to 1KB for certain users of my
application.

I tried...

<%
if (useSmallBuffer==true) {
%><[EMAIL PROTECTED] buffer="1kb"%><%
}
%>

...but this doesn't work (can't mix directives and scripting elements).

Any ideas?

Thanks,

Richard





-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 6:53 AM
To: Tomcat Users List
Subject: Re: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size <
8192

JSP's also have a buffer too. To make it smaller or eliminate it:

<[EMAIL PROTECTED] buffer='none'%>
or use out.flush() instead or response.flushBuffer()

-Tim


Richard Mundell wrote:
> No one replied, so in the hope someone might have the answer to this, 
> here's a repost... :-)
>  
> 
> -Original Message-
> From: Richard Mundell [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 15, 2006 3:37 PM
> To: users@tomcat.apache.org
> Subject: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size 
> <
> 8192
> 
> I'm trying to work around a timeout problem which one of my user's 
> proxy server has. The proxy's timeout is set to 1 minute. Should it 
> not receive any HTTP traffic for 1 minute it disconnects.
>  
> One of my JSPs takes >1 minute to perform processing and return results.
>  
> What I'm trying to do is...
>  
> 1) Flush out HTTP headers immediately
> 2) (Start my database operation which takes >1 minute)
> 3) Write out and flush to the client a HTML comment () 
> every 10 seconds while the database operation completes to stop the 
> proxy timing out
> 4) (Database operation completes)
> 5) Write out results
>  
> By calling response.flushBuffer() immediately at the top of my JSP, 
> the HTTP headers are being written out to the TCP stream. So far, so good.
>  
> My code then, every 10 seconds, does an out.print("") 
> and a response.flushBuffer().
>  
> By using a packet sniffer I can see that although the headers get 
> output to the TCP stream, the "body" of the HTTP response does not get 
> written out until the very end of the execution of the JSP. The only 
> way I can get the buffer to flush is if I do an out.print with a 
> string greater than 8192 characters (the default size of the buffer).
>  
> Note that I also tried out.flush() and that doesn't work either.
>  
> As a workaround I tried to set the buffer size artificially low, but 
> this call is being ignored:
>  
> System.out.println(response.getBufferSize());
> // buffer size of 8192 printed to stdout
>  
> response.setBufferSize(100);
> // buffer size should now be 100, right?
>  
> System.out.println(response.getBufferSize());
> // buffer size of 8192 still printed to stdout
>  
> setBufferSize only works if I set the buffer > 8192.
>  
> I can't find any reference in the Tomcat spec to this being a 
> deliberate behavior, or a hard-coded minimum?
>  
> Anyone got any ideas of where I'm going wrong, or how I might get this 
> to work in Tomcat 5.5.9? (Note that I'm stuck at Tomcat 5.5.9 because 
> the later
> (Apache) HTTPS implementations don't work reliably in our environment).


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





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



Re: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size < 8192

2006-12-19 Thread Tim Funk
You can't mix page directives with snippets. Page directives occur at 
page translation time (before the compilation process)


To eliminate buffering  - try
 <[EMAIL PROTECTED] buffer='none'%>


-Tim

Richard Mundell wrote:

Thanks Tim.

out.flush() wasn't doing anything unless there was already 8KB in the
buffer.

But, the JSP page directive helped:

Before setting the JSP page directive, the pre-compiled .java file that
Tomcat was creating had...

  pageContext = _jspxFactory.getPageContext(this, request, response,
"ErrorPage.jsp", true, 8192, true);

...and now, with <[EMAIL PROTECTED] buffer="1kb"%>, it uses...

  pageContext = _jspxFactory.getPageContext(this, request, response,
  			"ErrorPage.jsp", true, 1024, true); 


It looks like the buffer can only be specified in 1kb increments, but a 1KB
keep-alive being sent every 30 seconds is better than an 8KB keep-alive.

Is there a way to make the JSP page directive conditional?

Basically, I only want to set the buffer to 1KB for certain users of my
application.

I tried...

<%
if (useSmallBuffer==true) {
%><[EMAIL PROTECTED] buffer="1kb"%><%
}
%>

...but this doesn't work (can't mix directives and scripting elements).

Any ideas?

Thanks,

Richard





-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 6:53 AM

To: Tomcat Users List
Subject: Re: On Tomcat 5.5.9, can't flush the buffer or reduce buffer size <
8192

JSP's also have a buffer too. To make it smaller or eliminate it:

<[EMAIL PROTECTED] buffer='none'%>
or use out.flush() instead or response.flushBuffer()

-Tim



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



Error in dependencyCheck

2006-12-19 Thread Assaf Flatto

Hello


I've installed tomcat 5.5.17 - this is the 8th server i install in a row 
and the first one that displays this error when i start tomcat.


I googled it a bit and it refers to TOC of the war file , whoever the 
same war file has been used on 2 other servers and with no issues .


Any one got any ideas what might be generating the problem ?

i added the stack output  of the catalina.out log file   



2006-12-19 18:26:14,239 [main] INFO  
org.apache.catalina.core.StandardService  - Starting service Catalina
2006-12-19 18:26:14,246 [main] INFO  
org.apache.catalina.core.StandardEngine  - Starting Servlet Engine: 
Apache Tomcat/5.5.17
2006-12-19 18:26:14,258 [main] INFO  
org.apache.catalina.core.StandardHost  - XML validation disabled
2006-12-19 18:26:14,475 [main] ERROR 
org.apache.catalina.core.StandardContext  - Error in dependencyCheck

java.util.zip.ZipException: missing entry name
   at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:227)
   at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
   at java.util.jar.JarInputStream.(JarInputStream.java:58)
   at java.util.jar.JarInputStream.(JarInputStream.java:43)
   at 
org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:372)
   at 
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:183)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4035)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2006-12-19 18:26:14,505 [main] ERROR 
org.apache.catalina.core.StandardContext  - Error getConfigured
2006-12-19 18:26:14,506 [main] ERROR 
org.apache.catalina.core.StandardContext  - Context [] startup failed 
due to previous errors



Thanks

Assaf

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



RE: Error in dependencyCheck

2006-12-19 Thread Caldarale, Charles R
> From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
> Subject: Error in dependencyCheck
> 
> I googled it a bit and it refers to TOC of the war file , whoever the 
> same war file has been used on 2 other servers and with no issues .

The error you're getting indicates that the name length is zero for some
entry in the .war file.  The exception is being thrown by the JRE zip
file handler, not Tomcat itself.  If you simply expand and then
repackage the .war with WinZip or equivalent, that should throw away the
dummy entry.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



JDBCRealm

2006-12-19 Thread Wojtek Kusch

Hallo!

I am a newbie. I am defining a JDBCRealm for my web application in the 
server.xml:


 userTable="USER" userNameCol="username" 
userCredCol="userpass"

 userRoleTable="USER_ROLE" roleNameCol="role" />



If I am starting Tomcat I get followwing message:

INFO: Initializing Coyote HTTP/1.1 on http-8080
18.12.2006 22:41:27 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 937 ms
18.12.2006 22:41:27 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
18.12.2006 22:41:27 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
18.12.2006 22:41:27 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
18.12.2006 22:41:28 org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
18.12.2006 22:41:30 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
18.12.2006 22:41:30 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2875 ms




If I start my JSP-Site (Login.jsp) I get an error:


org.apache.catalina.realm.JAASRealm authenticate
SCHWERWIEGEND: Unexpected error
java.lang.SecurityException: Login configuration can't be found.
at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)



Why JAASRealm is starting?
Thanks for an answer!
Kusch




My whole Server.xml:


 
 className="org.apache.catalina.mbeans.ServerLifecycleListener" />
 className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
 className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>


 
 

   
   

   
   

 

 

 
 



   
   
   



   
 enableLookups="false" redirectPort="8443" 
protocol="AJP/1.3" />


   
   


  userTable="USER" userNameCol="username" 
userCredCol="userpass"

 userRoleTable="USER_ROLE" roleNameCol="role" />

 

 

   

 




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



Notification of expiring sessions

2006-12-19 Thread ben short

Hi,

I want to store user session data into a database rather than in the
session, to conserve memory. I want to use the session id as the key
to look up this data.

As a request comes in, the servlet will hit the db with the session id
and get the data if its there. if its not then i will create the data
and insert it in the db.

The problem is, I want the data to expire along with the session,
either by time out or by invalidation of the session.

Is there a way to hook into Tomcat to get notification that a session
has expired?

Regards

Ben

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



Tomcat 5.5: j_security_check doesn't read the form-passwords, log4j

2006-12-19 Thread Gregor Schneider

Hi list,

problem-description is above.

I've defined a jdbc-realm in conf/server.xml, that is:

   

My form-login-page is (snippet):

 
 
   
   
   User ID
   
   Password
   
   
 
   
 


I do not think that my problem relates the the html since exactly the
same html-code is running on another machine with Tomcat 5.5

However, when I check my MySQL-Logs, I see the following:

061219 17:05:49   8 Prepare [1] SELECT user_pass FROM users
WHERE user_name = ?
 8 Execute [1] SELECT user_pass FROM users
WHERE user_name = ''
 8 Query   commit

That means that the user-credential somehow gets not passed from the
form to j_security_check

I'm kinda clueless, is there anybody out there having an idea?

I'd also like to know how to turn on logging (if possible) for j_security_check.

I've installed log4j, configured it and am getting a bunch of data,
however, nothing regarding j_security_check. Are there any parameters
that I can set to turn on logging for j_security_check?

Actually, I'd just like to see the post-data transferred from my
login-form to j_security_check.

TIA

Any hints appreciated

Greg






--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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



RE: Notification of expiring sessions

2006-12-19 Thread Caldarale, Charles R
> From: ben short [mailto:[EMAIL PROTECTED] 
> Subject: Notification of expiring sessions
> 
> I want to store user session data into a database rather than in the
> session, to conserve memory.

Unless your session data is huge, you're probably consuming more memory
by accessing the data base rather than keeping it simple.  There are a
lot of objects that have to be created and maintained for every DB
connection, statement, result set, etc.  Also, your original session
data object(s) will remain in the heap until garbage collection runs, so
are you really conserving memory?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: Notification of expiring sessions

2006-12-19 Thread ben short

Chuck,

Valid points.

I was hoping that doing it this way would also provide me with
replication of this data between several tomcat instances. Odviously I
would need to setup session replication between them. Also it would
allow for session data persistence should tomcat be restarted etc. I
could grab the requestedSessionId from the request and then use that
to look up the session data.

I know that tomcat provides some way of persisting session but the
documentation doesn't seem to be very good.

Ben


On 12/19/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:

> From: ben short [mailto:[EMAIL PROTECTED]
> Subject: Notification of expiring sessions
>
> I want to store user session data into a database rather than in the
> session, to conserve memory.

Unless your session data is huge, you're probably consuming more memory
by accessing the data base rather than keeping it simple.  There are a
lot of objects that have to be created and maintained for every DB
connection, statement, result set, etc.  Also, your original session
data object(s) will remain in the heap until garbage collection runs, so
are you really conserving memory?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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




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



Re: Tomcat 5.5: j_security_check doesn't read the form-passwords, log4j

2006-12-19 Thread Gregor Schneider

ok, maybe I should start with a question that#s a bit easier:

Is there any possibility to log which credentials (username, password)
are passed from form-login to j_security_check (Tomcat 5.5)? Either
AccessLogValve or log4j? How do I specify this (either in
log4j.properties or in the AccessValve)?

TIA

Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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



Re: Tomcat Session Replicating Failing under load

2006-12-19 Thread cifroes

By the way, I'm using Tomcat 5.5.20

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



Re: my webapps lost after deleting *.war

2006-12-19 Thread dl


Mark Thomas-11 wrote:
> 
> I am afraid they are gone for good. Do have anything in a backup of
> version control system you can recover from?

That came as a shock  .. can you confirm whether this behaviour is new to
tomcat 5.5 .. 
since I am fairly sure that I have deleted *.war files in older tomcat
installations, leaving the deployed webapp, plus added files, intact.

What is the correct procedure for deleting the *.war after deployment (since
it just is an archive of the installed webapp). It would be helpful to
understand the tomcat policy for deleting files.  Not even a warning was
given!  "Are you sure you want to delete this webapp?"

...

As to reverting to backup files, I do have some old backups (going back a
couple of months), but unfortunately recently developed apps (not backed up)
were lost.

So I have started applying disk data recovery utilities and I have recovered
some of the tomcat deleted files.  It is a long recovery process but I'll be
more careful with *.war files in future.  Perhaps locating the developed
apps outside the tomcat server webapps folder?  And more frequent backups.






-- 
View this message in context: 
http://www.nabble.com/my-webapps-lost-after-deleting-*.war-tf2843105.html#a7952906
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Need help with JK2 connector/workers2.properties

2006-12-19 Thread Simon Renshaw
Hi,

I followed the instructions found at
http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
connector.

I also used the very basic workers2.properties files they provided.

Then I tested it. Going to http://192.168.64.20:9191/jsp-examples/ works
fine but if I try to go to http://192.168.64.20/jsp-examples/ I get a
404.

Any idea what I should check? Pretty stumped here.

Simon

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



RE: Need help with JK2 connector/workers2.properties

2006-12-19 Thread Caldarale, Charles R
> From: Simon Renshaw [mailto:[EMAIL PROTECTED] 
> Subject: Need help with JK2 connector/workers2.properties
> 
> I followed the instructions found at
> http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
> connector.

The mod_jk2 package has been deprecated for well over a year - no
development, no support.  Suggest reading the real Tomcat documentation:
http://tomcat.apache.org/connectors-doc/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: Need help with JK2 connector/workers2.properties

2006-12-19 Thread Rainer Jung
Caldarale, Charles R schrieb:
>> From: Simon Renshaw [mailto:[EMAIL PROTECTED] 
>> Subject: Need help with JK2 connector/workers2.properties
>>
>> I followed the instructions found at
>> http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
>> connector.
> 
> The mod_jk2 package has been deprecated for well over a year - no
> development, no support.  Suggest reading the real Tomcat documentation:
> http://tomcat.apache.org/connectors-doc/

... and most of the nice features of mod_jk2 have been back-ported to
mod_jk.

> 
>  - Chuck

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



RE: Need help with JK2 connector/workers2.properties

2006-12-19 Thread Simon Renshaw
At the point I'm at, I will try this.

Thanks!

-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: 19 décembre, 2006 14:29
To: Tomcat Users List
Subject: Re: Need help with JK2 connector/workers2.properties

Caldarale, Charles R schrieb:
>> From: Simon Renshaw [mailto:[EMAIL PROTECTED] 
>> Subject: Need help with JK2 connector/workers2.properties
>>
>> I followed the instructions found at
>> http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html to install the
>> connector.
> 
> The mod_jk2 package has been deprecated for well over a year - no
> development, no support.  Suggest reading the real Tomcat documentation:
> http://tomcat.apache.org/connectors-doc/

... and most of the nice features of mod_jk2 have been back-ported to
mod_jk.

> 
>  - Chuck

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


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



Re: ajp connector issue - getting "Unable to get the free" in mod_jk.log file.

2006-12-19 Thread Shekar Tippur

Rainer,

We upgraded mod_jk to 1.2.19 and we are still getting the same error in
mod_jk.

[Tue Dec 19 11:35:36 2006] [31691:] [warn]
ajp_get_endpoint::jk_ajp_common.c (2258): Unable to get the free endpoint
for worker myWorker from 1 slots
[Tue Dec 19 11:35:36 2006] [31691:] [info]
ajp_get_endpoint::jk_ajp_common.c (2272): can't find free endpoint
[Tue Dec 19 11:35:36 2006] myWorker gorgon 0.99
[Tue Dec 19 11:35:36 2006] [31691:] [info]  jk_handler::mod_jk.c (1986):
Service error=0 for worker=myWorker

I would really apperciate if anyone could help me on this.

Shekar

On 12/17/06, Shekar Tippur <[EMAIL PROTECTED]> wrote:


Hello,

Thanks for replying back.

I cannot see any specal requests but there maybe high load. I can see 193
active threads.

We are in the process of upgrading mod_jk version to 1.2.19.

Here is some of the information you wanted. Please let me know if you need
more information.

cat /proc/version

Linux version 2.6.9-34.ELsmp ([EMAIL PROTECTED]) (gcc
version 3.4.5 20051201 (Red Hat 3.4.5-2 ))


worker.properties

worker.list=jkstatus,consWorker,myWorker

# Configure Load Balancer status manager.

worker.jkstatus.type=status

worker.consWorker.port=8009
worker.consWorker.host=localhost
worker.consWorker.type=ajp13
worker.consWorker.socket_timeout=120

# Define first worker for failover
worker.myWorker.port=8010
worker.myWorker.host=localhost
worker.myWorker.type=ajp13
worker.myWorker.socket_timeout=120



apache_mod_jk.conf file


# conf/include/apache_mod_jk.conf
# global settings files for the mod jk connector

LoadModule jk_module libexec/apache_mod_jk.so

# Where to find workers.properties
JkWorkersFile /home/apache/conf/apache/mod_include/worker.properties

# Where to put jk logs
JkLogFile logs/apache/mod_jk.log

# Set the jk log level [debug/error/info]
JkLogLevel info

# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"

# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardURICompat -ForwardDirectories

# Configure Load Balancer status manager.

#JkWorkerProperties worker.jkstatus.type=status

# status for later load balancing


JkMount /jkstatus/*
Order deny,allow
Deny from all
Allow from 127.0.0.1


JkMount /jkmanager/* jkstatus

On 12/16/06, Rainer Jung <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> this looks strange. Could you please post your config and give a couple
> of details about your environment (OS+Version). Is there any pattern
> related to the problem (special requests, high load, ...)?
>
> It would be really good, if you could update mod_jk to 1.2.19 or 1.2.20
> which will most likely be available middle of next week.
>
> Regards,
>
> Rainer
>
> Shekar Tippur schrieb:
> > Hello
> >
> > We are getting unable to get the free endpoint and eventually
> resulting
> > in a 500 (internal server error).
> >
> > We are using apache 1.3.37 and mod_jk version is 1.2.15. Due to many
> > reasons,
> > we are not in a position to upgrade wither of these packages.
> >
> > [Fri Dec 08 01:34:09 2006] [18477:] [warn]
> > ajp_get_endpoint::jk_ajp_common.c (2138): Unable to get the free
> > endpoint for worker myWorker from 1 slots [Fri Dec 08 01:34:09 2006]
> > [18477:] [info] ajp_get_endpoint::jk_ajp_common.c (2152): can't
> > find free endpoint [Fri Dec 08 01:34:09 2006] [18477:]  myWorker
> > 0.88
> >
> > Under these situations, we also see that either jboss threads are
> > processing
> > for a long time OR a particular thread is idle for a relatively long
> time.
> >
> > I would really appreciate if someone can explain why this particular
> error
> > occurs and how to remediate the problem. Currently we are restarting
> both
> > jboss and apache but we are not able to get to the root cause of the
> > problem.
> >
> > People who have got the same error earlier have suggested that we need
> > to increase the cachesize OR the connection_pool_size of the worker.
> >
> > but mod_jk documentation says that it is not recommended to use
> > cachesize more than 1 for apache version 1.3.x.
> >
> > I would really appreciate if anyone can suggest a remediation for this
> > issue.
> >
> > Shekar
> >
> > -
> > cachesize
> >
> > This directive has been deprecated since 1.2.16.
> > Cachesize defines the number of connections made to the AJP backend
> > that are maintained as a connection pool. It will limit the number of
> > those connection that each web server child process can make.
> >
> > Cachesize property is used only for multi threaded web servers such as
> > Apache 2.0 (worker), IIS and Netscape. The cachesize property should
> > reflect the number of threads per child process. JK will discover the
> > number of threads per child process on Apache 2 web server with
> > worker-mpm and set its default value to match the ThreadsPerChild
> > Apache directive. For IIS the default value is 10. For other web
> > servers thi

Re[2]: Notification of expiring sessions

2006-12-19 Thread Dima Retov
I agree that it worth to avoid storing session in DB. It is not
reasonable to load session data from DB every 20 seconds.

You can handle session create/destroy events using class that
implements following interface.
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSessionListener.html

-- 
Best regards,
 Dimamailto:[EMAIL PROTECTED]





Tuesday, December 19, 2006, 7:15:41 PM, you wrote:

bs> Chuck,

bs> Valid points.

bs> I was hoping that doing it this way would also provide me with
bs> replication of this data between several tomcat instances. Odviously I
bs> would need to setup session replication between them. Also it would
bs> allow for session data persistence should tomcat be restarted etc. I
bs> could grab the requestedSessionId from the request and then use that
bs> to look up the session data.

bs> I know that tomcat provides some way of persisting session but the
bs> documentation doesn't seem to be very good.

bs> Ben


bs> On 12/19/06, Caldarale, Charles R
bs> <[EMAIL PROTECTED]> wrote:
>> > From: ben short [mailto:[EMAIL PROTECTED]
>> > Subject: Notification of expiring sessions
>> >
>> > I want to store user session data into a database rather than in the
>> > session, to conserve memory.
>>
>> Unless your session data is huge, you're probably consuming more memory
>> by accessing the data base rather than keeping it simple.  There are a
>> lot of objects that have to be created and maintained for every DB
>> connection, statement, result set, etc.  Also, your original session
>> data object(s) will remain in the heap until garbage collection runs, so
>> are you really conserving memory?
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>>
>> -
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>

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








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



Re: Using 2 Realms for authentication and access control

2006-12-19 Thread Martin Gainty
Joe

here is one possible starting point for JDBCRealm
http://jroller.com/page/brviking?entry=glassfish_for_tomcat_users_jdbc
another JDBCRealm example using kerberos
http://www.pramati.com/docstore/1270002/index.htm

HTH
M-
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.

> Workman, Joe wrote:
>> I have an application that runs on tomcat that by default uses a
>> JDBCRealm to query a database for authentication. I would like to use
>> Kerberos for the user password authentication but still use my JDBCRealm
>> for access control through roles. I was hoping you could point me in the
>> right direction.  I am running on Solaris 9, java 1.5.0_10 with tomcat
>> 5.5.17
>>  
>> I really appreciate any help you could give me!
> 
> You will need to write your own Realm.
> 
> Mark
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Re: PHP on Tomcat

2006-12-19 Thread dl


Ran-2 wrote:
> 
> Has anyone managed to get PHP4/5 to work on Tomcat ? 

Try here ..
http://tools.herberlin.de/phpservlet/index.shtml phpservlet.war  .. this
worked for me on PHP5 (note: read configuration file re: use of
php-cgi.exe).

-- 
View this message in context: 
http://www.nabble.com/PHP-on-Tomcat-tf2824369.html#a7954406
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Notification of expiring sessions

2006-12-19 Thread Hassan Schroeder

On 12/19/06, ben short <[EMAIL PROTECTED]> wrote:


I was hoping that doing it this way would also provide me with
replication of this data between several tomcat instances. Odviously I
would need to setup session replication between them. Also it would
allow for session data persistence should tomcat be restarted etc.



I know that tomcat provides some way of persisting session but the
documentation doesn't seem to be very good.


In my experience, both session replication and persistence across
restarts work fine on Tomcat out of the box, as long as your session-
stored objects are serializable.

So it's not clear what value shifting all that to a DB would add...

YMMV,
--
Hassan Schroeder  [EMAIL PROTECTED]

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



Re: my webapps lost after deleting *.war

2006-12-19 Thread Pierre Goupil

Hello !

Perhaps locating the developed

apps outside the tomcat server webapps folder?



Yes, as someone teached me here, point Tomcat to your webapp directory,
instead of deploying it to a Tomcat's subdir ! Another pro : better, faster,
lighter refreshing.


And more frequent backups.


And, once more, more frequent version control.

Yours,


Pierre



--
To her who remembers every word spoken,

From the heroe's oath

To the baby's cry.
You're my eternal witness.


Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-19 Thread Workman, Joe
I'm trying to use my own LoginModule. Its is successfully authenticating
my username but the problem is when its trying to authorize my roles. 
 
Tried:
1. Here is the code snippet from my LoginModule commit method. 
Code:
 
  List roles = new ArrayList();
  roles.add( "tomcat_auth_role" );
  GenericPrincipal gp = new GenericPrincipal(null, username, null,
roles);
  subject.getPrincipals().add(gp);

3. Added following to server.xml:
Code:
 
  
 
3. Added following to web.xml:
Code:
 

  tomcat_auth_role

 
Any help would be greatly appreciated. 
 
Cheers
Joe

--

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else, 
unless expressly approved by the sender or an authorized addressee, is 
unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action omitted or taken in reliance on it, is prohibited and may be 
unlawful. If you believe that you have received this email in error, please 
contact the sender, delete this e-mail and destroy all copies.

==


avoiding multiple form submission

2006-12-19 Thread Pierre Goupil

Hello, listers !

As you have certainly seen it, some sites submit their forms as many times
as you validate them. For instance, how many forums post two messages if, by
mistake, you click on the submit button twice ?

As everyone (I guess), I had to face this problem, and then... I gave
Hibernate a try : then, for some reason, it didn't happened to my webapp
anymore. Great, thought I !

But today, in front of my customers for a demo (!), I decided not to use
Firefox as usual, but Konqueror (a Linux browser). And to show them, I
validated a form 5-6 times and... it got submited twice. 'f*?*?' thought I !
'Not now...' :-/

If anyone could explain me this behaviour, it would be appreciated : why an
Hibernate can avoid this on a Firefox, but partly not on another browser !

But if I post it here is because my REAL question is this one : does anyone
know a way to totally avoid this ? I guess this is servlet container (hence
Tomcat, for me) - related.

Any suggestions ?

Regards,


Pierre

--
To her who remembers every word spoken,

From the heroe's oath

To the baby's cry.
You're my eternal witness.


tomcat and iis connectivity almost working...

2006-12-19 Thread Ziv Shalev
Hello,

  I've installed Tomcat 5.0 on port 8081 and redirected IIS 6 to it.
  It seems to work and you can try: http://www.seorally.com/jsp-examples/

  But, I've deployed my own project I can see it in the tomcat manager, and 
activate it through tomcat(e.g., http://www.seorally.com:8081/Arvit/ - this 
wont work for ou cause 8081 is behind firewall, I tested it on the server), but 
not through IIS(e.g.,http://www.seorally.com/Arvit/).

  Ideas?(breaking my head on the wall for a day now :( )


  Best Regards,
  Ziv Shalev
  Product Manager
  [EMAIL PROTECTED]
  www.cred-it.co.il

RE: Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-19 Thread Workman, Joe
I have found a work-around  (although it seems like a hack to me):

Here is the code snippet from my LoginModule commit method. 
Code:
 
  List roles = new ArrayList();
  roles.add( "tomcat_auth_role" );
  GenericPrincipal gp = new GenericPrincipal(null, username, null,
roles);
  subject.getPrincipals().add(gp);

  String rolename = "tomcat_auth_role";
  GenericPrincipal gp2 = new GenericPrincipal(realm, rolename,
password); 
  subject.getPrincipals().add(gp2);

The server.xml and web.xml files are identical

After playing around I found that if I were to create a second Principal
with the username of the rolename, everything worked as expected. This
behavior is not normal is it? I feel that the JAASRealm should be able
to find the roles from the GenericPrincipal Class. Is there a bug that I
am not aware of here?

Cheers
Joe

-Original Message-
From: Workman, Joe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 1:49 PM
To: users@tomcat.apache.org
Subject: Custom JAAS LoginModule not authorizing GenericPrincipal roles

I'm trying to use my own LoginModule. Its is successfully authenticating
my username but the problem is when its trying to authorize my roles. 
 
Tried:
1. Here is the code snippet from my LoginModule commit method. 
Code:
 
  List roles = new ArrayList();
  roles.add( "tomcat_auth_role" );
  GenericPrincipal gp = new GenericPrincipal(null, username, null,
roles);
  subject.getPrincipals().add(gp);

3. Added following to server.xml:
Code:
 
  
 
3. Added following to web.xml:
Code:
 

  tomcat_auth_role

 
Any help would be greatly appreciated. 
 
Cheers
Joe


--

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone
else, unless expressly approved by the sender or an authorized
addressee, is unauthorized.

If you are not the intended recipient, any disclosure, copying,
distribution or any action omitted or taken in reliance on it, is
prohibited and may be unlawful. If you believe that you have received
this email in error, please contact the sender, delete this e-mail and
destroy all copies.


==

--

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else, 
unless expressly approved by the sender or an authorized addressee, is 
unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action omitted or taken in reliance on it, is prohibited and may be 
unlawful. If you believe that you have received this email in error, please 
contact the sender, delete this e-mail and destroy all copies.

==


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



Re: JDBCRealm

2006-12-19 Thread Warren Pace

> 
> From: Wojtek Kusch <[EMAIL PROTECTED]>
> Date: 2006/12/19 Tue AM 11:52:20 EST
> To: users@tomcat.apache.org
> Subject: JDBCRealm
> 
> Hallo!
> 
> I am a newbie. I am defining a JDBCRealm for my web application in the 
> server.xml:
> 
>   driverName="sun.jdbc.odbc.JdbcOdbcDriver"
>   connectionURL="jdbc:odbc:CATALINA"
>   userTable="USER" userNameCol="username" 
> userCredCol="userpass"
>   userRoleTable="USER_ROLE" roleNameCol="role" />
> 
Wojtek,
 I'm a newbie too.  I think that if you want to use this realm for a 
specific application, you should delete it from your server.xml and create a 
context.xml file in the META-INF folder inside your webapp's directory.   Using 
the docs, here's one I created for MySQL which works.  This will override the 
global user database (which is still in your server.xml) specifically for your 
app.



  connectionName="superman"
  connectionPassword="loislane"
  connectionURL="jdbc:mysql://localhost/authority"
  driverName="org.gjt.mm.mysql.Driver"
  roleNameCol="role_name"
  userCredCol="user_pass"
  userNameCol="user_name"
  userRoleTable="user_roles"
  userTable="users"/>

Of course, you'll need to change the driver and connection information and then 
restart tomcat.  Let me know if this helps.
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



RE: Custom JAAS LoginModule not authorizing GenericPrincipalroles

2006-12-19 Thread Caldarale, Charles R
> From: Workman, Joe [mailto:[EMAIL PROTECTED] 
> Subject: RE: Custom JAAS LoginModule not authorizing 
> GenericPrincipalroles
> 
> After playing around I found that if I were to create
> a second Principal with the username of the rolename,
> everything worked as expected. This behavior is not
> normal is it?

Well, sort of.  I ended up creating two Principal sub-classes, one for
users, the other for roles.

> I feel that the JAASRealm should be able to find the
> roles from the GenericPrincipal Class. Is there a bug
> that I am not aware of here?

Not a bug, but a disconnect between the JAAS and Servlet specs.  Last
time I checked, there was no recognition in the JAAS spec of the
existence of "roles", but the Servlet spec depends on them for proper
access control.  Each container has to fill in the gap with its own
specification, and the Tomcat developers chose to do it by having roles
appear as JAAS Principals.  Note the following in the Tomcat doc:

"Although not specified in JAAS, you should create seperate classes to
distinguish between users and roles, extending javax.security.Principal,
so that Tomcat can tell which Principals returned from your login module
are users and which are roles (see org.apache.catalina.realm.JAASRealm).
Regardless, the first Principal returned is always treated as the user
Principal."

http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JAASRealm

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re-executing a servlet request

2006-12-19 Thread David Kerber
I have a web app that starts with a .jsp, and then goes through a series 
of servlets to process some data.  If possible, I'd like to set it up so 
that after the last processing page is done, it goes back and 
re-executes the first servlet (the one that they go to from the .jsp), 
which is a data display.  Can that be done?  It seems like it should be 
possible, since I can save the request object as that first servlet 
receives it, but I can't seem to find the right call to get it to 
execute.  I don't want to make them go all the way back to the .jsp if I 
can avoid it.


Thanks!
Dave



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



Re: ajp connector issue - getting "Unable to get the free" in mod_jk.log file.

2006-12-19 Thread Shekar Tippur

Rainer,

One another change we noticed was that response is cut off for a particular
transaction on a  thread. For every other thread, we see marshelling and
un-marshelling messages in the mod_jk.log file.

There is no issue of load

[Fri Dec 08 01:16:25 2006] [18477:] [debug]
ajp_connection_tcp_send_message::jk_ajp_common.c (909): 03f032 34 34 35
30 31 26 74 65 72 6D 49 64 3D 37 35  - 244501&termId=75

.. This is where it looks like the response was cut off.  The next occurance
of this process id is a new request! ...

[Fri Dec 08 01:23:03 2006] [18477:] [debug]
map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI
'/ui/ac/loadSummary.do' from 11 maps

Thanks,

Shekar


On 12/19/06, Shekar Tippur <[EMAIL PROTECTED]> wrote:


Rainer,

We upgraded mod_jk to 1.2.19 and we are still getting the same error in
mod_jk.

[Tue Dec 19 11:35:36 2006] [31691:] [warn]
ajp_get_endpoint::jk_ajp_common.c (2258): Unable to get the free endpoint
for worker myWorker from 1 slots
[Tue Dec 19 11:35:36 2006] [31691:] [info]
ajp_get_endpoint::jk_ajp_common.c (2272): can't find free endpoint
[Tue Dec 19 11:35:36 2006] myWorker gorgon 0.99
[Tue Dec 19 11:35:36 2006] [31691:] [info]  jk_handler::mod_jk.c
(1986): Service error=0 for worker=myWorker

I would really apperciate if anyone could help me on this.

Shekar

On 12/17/06, Shekar Tippur <[EMAIL PROTECTED] > wrote:
>
> Hello,
>
> Thanks for replying back.
>
> I cannot see any specal requests but there maybe high load. I can see
> 193 active threads.
>
> We are in the process of upgrading mod_jk version to 1.2.19.
>
> Here is some of the information you wanted. Please let me know if you
> need more information.
>
> cat /proc/version
>
> Linux version 2.6.9-34.ELsmp ([EMAIL PROTECTED] )
> (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2 ))
>
>
> worker.properties
>
> worker.list=jkstatus,consWorker,myWorker
>
> # Configure Load Balancer status manager.
>
> worker.jkstatus.type=status
>
> worker.consWorker.port=8009
> worker.consWorker.host=localhost
> worker.consWorker.type=ajp13
> worker.consWorker.socket_timeout=120
>
> # Define first worker for failover
> worker.myWorker.port=8010
> worker.myWorker.host=localhost
> worker.myWorker.type=ajp13
> worker.myWorker.socket_timeout=120
>
>
>
> apache_mod_jk.conf file
>
>
> # conf/include/apache_mod_jk.conf
> # global settings files for the mod jk connector
>
> LoadModule jk_module libexec/apache_mod_jk.so
>
> # Where to find workers.properties
> JkWorkersFile /home/apache/conf/apache/mod_include/worker.properties
>
> # Where to put jk logs
> JkLogFile logs/apache/mod_jk.log
>
> # Set the jk log level [debug/error/info]
> JkLogLevel info
>
> # Select the log format
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>
> # JkRequestLogFormat set the request format
> JkRequestLogFormat "%w %V %T"
>
> # JkOptions indicate to send SSL KEY SIZE,
> JkOptions +ForwardURICompat -ForwardDirectories
>
> # Configure Load Balancer status manager.
>
> #JkWorkerProperties worker.jkstatus.type=status
>
> # status for later load balancing
>
> 
> JkMount /jkstatus/*
> Order deny,allow
> Deny from all
> Allow from 127.0.0.1
> 
>
> JkMount /jkmanager/* jkstatus
>
> On 12/16/06, Rainer Jung < [EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > this looks strange. Could you please post your config and give a
> > couple
> > of details about your environment (OS+Version). Is there any pattern
> > related to the problem (special requests, high load, ...)?
> >
> > It would be really good, if you could update mod_jk to 1.2.19 or
> > 1.2.20
> > which will most likely be available middle of next week.
> >
> > Regards,
> >
> > Rainer
> >
> > Shekar Tippur schrieb:
> > > Hello
> > >
> > > We are getting unable to get the free endpoint and eventually
> > resulting
> > > in a 500 (internal server error).
> > >
> > > We are using apache 1.3.37 and mod_jk version is 1.2.15. Due to many
> > > reasons,
> > > we are not in a position to upgrade wither of these packages.
> > >
> > > [Fri Dec 08 01:34:09 2006] [18477:] [warn]
> > > ajp_get_endpoint::jk_ajp_common.c (2138): Unable to get the free
> > > endpoint for worker myWorker from 1 slots [Fri Dec 08 01:34:09 2006]
> > > [18477:] [info] ajp_get_endpoint::jk_ajp_common.c (2152): can't
> > > find free endpoint [Fri Dec 08 01:34:09 2006] [18477:]  myWorker
> > > 0.88
> > >
> > > Under these situations, we also see that either jboss threads are
> > > processing
> > > for a long time OR a particular thread is idle for a relatively long
> > time.
> > >
> > > I would really appreciate if someone can explain why this particular
> > error
> > > occurs and how to remediate the problem. Currently we are restarting
> > both
> > > jboss and apache but we are not able to get to the root cause of the
> >
> > > problem.
> > >
> > > People who have got the same error earlier have suggested that we
> > need
> > > to increase the cachesize OR the connection_pool_si

Re: Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-19 Thread John McPeek

Hi Joe,
   This is my commit(). I think you are missing the User Principle. 
When you say request.getUserPrincipal(), that
token (1)  I am putting in first comes back. The Principles you add 
after that are the roles you want to test against.
This stuff drove me nuts when I was setting it up. Hope that does it for 
you.


John

public boolean commit() throws LoginException {
   log.debug( "Commit login." );

   if ( token != null ) {
   if ( subject.isReadOnly() ) {
   throw new LoginException( "Subject is Readonly" );
   }

** (1) Add User Priciple first *
   subject.getPrincipals().add( token );

   List permissions = token.getPermissions();
   Set jaasPermissions = subject.getPrincipals();
   for ( Permission permission : permissions ) {
   jaasPermissions.add( permission );
   }
   }

   token = null;
   return true;
   }



I'm trying to use my own LoginModule. Its is successfully authenticating
my username but the problem is when its trying to authorize my roles. 


Tried:
1. Here is the code snippet from my LoginModule commit method. 
Code:


 List roles = new ArrayList();
 roles.add( "tomcat_auth_role" );
 GenericPrincipal gp = new GenericPrincipal(null, username, null,
roles);
 subject.getPrincipals().add(gp);

3. Added following to server.xml:
Code:

 

3. Added following to web.xml:
Code:

   
 tomcat_auth_role
   

Any help would be greatly appreciated. 


Cheers
Joe

--

This email is confidential and may be legally privileged.

It is intended solely for the addressee. Access to this email by anyone else, 
unless expressly approved by the sender or an authorized addressee, is 
unauthorized.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action omitted or taken in reliance on it, is prohibited and may be 
unlawful. If you believe that you have received this email in error, please 
contact the sender, delete this e-mail and destroy all copies.

==

 




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



RE: Installing Tomcat and IIS

2006-12-19 Thread LiuYan 刘研

>I normally need to access http://localhost:9191/luntbuild to see my
application. So in theory with that filter thing installed correctly I
should be able to access it by going to http://localhost/luntbuild?
Yes, that's our goal of integration.

>But for IIS, /luntbuild does not exist. How does it figure out that it is a
Tomcat dir?
Have you configured URI mapping ?
I use jk1.2 (not jk2), I have a uriworkermap.properties file which saved
from my former tomcat installtion.
It seems that new version tomcat does not contained this file. Here is the
original content in uriworkermap.properties file:
# uriworkermap.properties - IIS
#
# This file provides sample mappings for example ajp13w
# worker defined in workermap.properties.minimal
# The general sytax for this file is:
# [URL]=[Worker name]

/servlet-examples/*=ajp13w

# Optionally filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)

!/servlet-examples/*.jpeg=ajp13w


Maybe you need map the uri of your application (/luntbuild) to 'ajp13'. I
simply mapped all uri (/*) to 'ajp13',.
If you use jk2 which that article used, you can read the last paragraph of
http://www.iis-resources.com/modules/AMS/article.php?storyid=485&page=2

>Also, I'm running a few websites on this server. Does this have an impact
on the Tomcat/IIS integration?
Does your websites use only 1 script language ?
We have 3 websites on the same server, the main website only use ASP, the
other two websites only use JSP, they works ok now.
But when I try to installing 'awstats' which use PERL/CGI, I can't get PERL
and JSP running at the same time.


-- 
View this message in context: 
http://www.nabble.com/Installing-Tomcat-and-IIS-tf2821771.html#a7983783
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Servlet with POST Request

2006-12-19 Thread Andre Prasetya

Why do you want to read POST by using reader ? I only use the stream from
request on a PUT request.


On 12/16/06, Scott Carr <[EMAIL PROTECTED]> wrote:


Hassan Schroeder wrote:
> On 12/15/06, Scott Carr <[EMAIL PROTECTED]> wrote:
>> Does a servlet require the use of a Content-Length for the Reader to be
>> populated?
>
> A pretty cursory test seems to indicate not, but I could just be lucky
> :-)
>
>> ...and I want to read each line as they come in, and handle the
>> request on
>> a line by line basis.
>
> Have you tried this yet? request.getReader() would seem to cover
> your situation, assuming this isn't binary data.
>
Hm, the reason I asked, is because of a test I ran.  strLine is always
null.

Using the following code for processRequest:

response.setContentType("text/plain");

m_out = response.getWriter();
m_bufRead = request.getReader();

while (true) {
strLine = m_bufRead.readLine();

if (strLine != null) {
if (strLine.startsWith("login")) {
ProcessLogin();
} else if (strLine.startsWith("exit")) {
break;
}
} else {
try {
Thread.sleep(1000);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
}

m_bufRead = null;
m_out.close();

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





--
-Andre-

PCs are like air conditioner, if you open Windows, they don't work


Re: Servlet with POST Request

2006-12-19 Thread Scott Carr

I am creating a client - server application that will process lines like:

startjob
adduser
adduser
adduser
adduser
endjob

adduser can be an unlimited amount of times.  I want to process the 
lines as they come into the Servlet, that way a seperate process could 
be doing something to complete each of the tasks, while I am in the 
process of working on reading the lines.


I have written a Socket server of my own to do this before, I am now 
trying to use Tomcat Servlet to do the same thing, because Tomcat 
already some behind the scenes stuff already setup.


Does this make sense?  Am I totally off my rocker?  (My wife would 
definately agree with that last bit.)


Andre Prasetya wrote:

Why do you want to read POST by using reader ? I only use the stream from
request on a PUT request.


On 12/16/06, Scott Carr <[EMAIL PROTECTED]> wrote:


Hassan Schroeder wrote:
> On 12/15/06, Scott Carr <[EMAIL PROTECTED]> wrote:
>> Does a servlet require the use of a Content-Length for the Reader 
to be

>> populated?
>
> A pretty cursory test seems to indicate not, but I could just be lucky
> :-)
>
>> ...and I want to read each line as they come in, and handle the
>> request on
>> a line by line basis.
>
> Have you tried this yet? request.getReader() would seem to cover
> your situation, assuming this isn't binary data.
>
Hm, the reason I asked, is because of a test I ran.  strLine is always
null.

Using the following code for processRequest:

response.setContentType("text/plain");

m_out = response.getWriter();
m_bufRead = request.getReader();

while (true) {
strLine = m_bufRead.readLine();

if (strLine != null) {
if (strLine.startsWith("login")) {
ProcessLogin();
} else if (strLine.startsWith("exit")) {
break;
}
} else {
try {
Thread.sleep(1000);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
}

m_bufRead = null;
m_out.close();

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







--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


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



Re: Servlet with POST Request

2006-12-19 Thread Andre Prasetya

Why dont you try using PUT instead of POST ? I think put is more suitable
for this as you can stream anything to servlet.
if you insist on using post, i recommend getting the parameter and replace
the newline with some chars like ':'

this is an example on streaming an object using put

   HttpClient client = HTTP_CLIENT;
   PutMethod method = new PutMethod(getUrl().toString());
   ByteArrayOutputStream byter = new ByteArrayOutputStream();
   ObjectOutputStream out = null;
   byte[] response = null;
   try {
   out = new ObjectOutputStream(byter);
   out.writeObject(o);
   RequestEntity entity = new ByteArrayRequestEntity(
byter.toByteArray());
   method.setRequestEntity(entity);
   client.executeMethod(method);
   response = method.getResponseBody();
   } finally {
   if (out != null) {
   out.close();
   }
   method.releaseConnection();
   }



On 12/20/06, Scott Carr <[EMAIL PROTECTED]> wrote:


I am creating a client - server application that will process lines like:

startjob
adduser
adduser
adduser
adduser
endjob

adduser can be an unlimited amount of times.  I want to process the
lines as they come into the Servlet, that way a seperate process could
be doing something to complete each of the tasks, while I am in the
process of working on reading the lines.

I have written a Socket server of my own to do this before, I am now
trying to use Tomcat Servlet to do the same thing, because Tomcat
already some behind the scenes stuff already setup.

Does this make sense?  Am I totally off my rocker?  (My wife would
definately agree with that last bit.)

Andre Prasetya wrote:
> Why do you want to read POST by using reader ? I only use the stream
from
> request on a PUT request.
>
>
> On 12/16/06, Scott Carr <[EMAIL PROTECTED]> wrote:
>>
>> Hassan Schroeder wrote:
>> > On 12/15/06, Scott Carr <[EMAIL PROTECTED]> wrote:
>> >> Does a servlet require the use of a Content-Length for the Reader
>> to be
>> >> populated?
>> >
>> > A pretty cursory test seems to indicate not, but I could just be
lucky
>> > :-)
>> >
>> >> ...and I want to read each line as they come in, and handle the
>> >> request on
>> >> a line by line basis.
>> >
>> > Have you tried this yet? request.getReader() would seem to cover
>> > your situation, assuming this isn't binary data.
>> >
>> Hm, the reason I asked, is because of a test I ran.  strLine is always
>> null.
>>
>> Using the following code for processRequest:
>>
>> response.setContentType("text/plain");
>>
>> m_out = response.getWriter();
>> m_bufRead = request.getReader();
>>
>> while (true) {
>> strLine = m_bufRead.readLine();
>>
>> if (strLine != null) {
>> if (strLine.startsWith("login")) {
>> ProcessLogin();
>> } else if (strLine.startsWith("exit")) {
>> break;
>> }
>> } else {
>> try {
>> Thread.sleep(1000);
>> } catch (InterruptedException ex) {
>> ex.printStackTrace();
>> }
>> }
>> }
>>
>> m_bufRead = null;
>> m_out.close();
>>
>> -
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

--
Scott Carr
OpenOffice.org
Documentation Co-Lead
http://documentation.openoffice.org


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





--
-Andre-

PCs are like air conditioner, if you open Windows, they don't work