Caldarale, Charles R wrote:
Thanks.
From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED]
Subject: Re: Realm authentication - unconventional usage
So seems like I *will* have to stick to application layer
authentication, or is there a way out?
Why can't you use one of the sta
ervlet/download.html
With restricted resources define in web.xml
Login page (FORM)
And a defined realm in context.xml (or server.xml)
No more ...
PS: I don't think it really smart to GET login & password in (clear)
URL ;-)
On 11/22/06, Santosh Puranshettiwar <[EMAIL PROTECTED]>
ll now, my authentication code used to be in the application layer.
But now, I wish to offload the task to my container (Tomcat) without any
changes to the
application protocol; which is to send username and password as _plain
key-value pairs_ in
the request URL.
On 11/22/06, Santosh Puranshettiwa
Hello,
I wish to user a JDBCRealm with the username & password coming in the
HTTP request as key-value pairs.
Is it possible?
Elaborate: -
They request uri: -
http://localhost/realm-test/RealmTestServetlet?username=foo&password=bar
The Realm must authenticate with 'foo' & 'bar'.
--
Santosh.
Dave wrote:
Thanks,
It semms that it is easy to write the XML file for a Feed. But how
does NewsReader know the page (pointed by feed link) has been changed,
what are the changes, updated time?
I have not got the idea yet :)
The NewsReader /polls/ the feed regularly.
As such the
Gaurav Kushwaha wrote:
A quick fix would be to specify minimum and maximum heap size using JVM
parameters -Xms and -Xmx. -Xms specifies the minimum heap size and
-Xmx is
used to determine the maximum allowed heap size.
So, lets say if you have enough memory to allocate 512 MB to your java
proce
[EMAIL PROTECTED] wrote:
unfotrtunately i didn t have any more the complete trace i will wait for
tomcat to do it again , i just now that i had this sort of log in the same
time with the other error :
com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hi, i use tomcat 5.5.20, when i start tomcat all is fine all works but
after some time i am getting this message :
java.sql.SQLException: No operations allowed after connection closed
and the only way right now i have find is to restart tom
[EMAIL PROTECTED] wrote:
Hi, i use tomcat 5.5.20, when i start tomcat all is fine all works but
after some time i am getting this message :
java.sql.SQLException: No operations allowed after connection closed
and the only way right now i have find is to restart tomcat, what could be
the cause of
Are you sure there isn't any memory leak? I mean it might happen that
you are increasing the heap size just to delay the OutOfMemoryErrors.
Santosh.
Daniel Blumenthal wrote:
I've been running a struts app on a plain vanilla install of Tomcat
(5.0.28), and recently I've been getting some OutOf
Sorry I didn't get you question well but see if this helps.
http://tomcat.apache.org/tomcat-3.2-doc/tomcat-apache-howto.html#adapter_jk_vs_js
Santosh.
Raffaele Viola wrote:
Hi all,
I Apache web server with Tomcat and mod_jk.
The row
JkMount /MyApp/* worker1
in the httpd.conf file is it enough
Adding to that, you should try using a connection pool rather than
direct JDBC connection, once you get familiar with the fundamentals.
With connection pools the application performs better than not.
Santosh.
Frank W. Zammetti wrote:
Google is your friend... here's a quick hit:
http://publib
ng package)
Santosh
Puranshettiwar
<[EMAIL PROTECTED] To
.com> T
Hi,
What Logger are you using within the application. Is it Log4j?
Santosh.
Shiby Maria John wrote:
Thanks for the immediate reply..
But I tried that .. it is loggin only Tomcat server specific messages
and not the application messages.
This is what I gave in my server.xml file
But only th
Google for "JSP lifycyle" to know more.
Santosh.
Michael Zoller wrote:
Frank Niedermann wrote:
Hello,
is it right that Tomcat stores all compiled JSP sites in
Tomcat5\work\Catalina\localhost\application\org\apache\jsp?
yes.
After a restart of Tomcat I still see all the .class files
in abo
m not that experienced with
Linux.
Thanks.
Eddie.
Santosh Puranshettiwar <[EMAIL PROTECTED]> wrote: Eddie Fahy wrote:
Hi,
I have a strange problem. I am not able to access my servlet from internet
although everything works very well when i access mywebapp using
http://localhost/mywe
Eddie Fahy wrote:
Hi,
I have a strange problem. I am not able to access my servlet from internet
although everything works very well when i access mywebapp using
http://localhost/mywebapp/Servletx
I am running a webapp which has a servlet. When I try to run my webapp, all the JSPs work good
(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at RunSimulation.run(CimmSimServlet.java:655)
I am looking into deploying the servlet in the J2EE app server instead
and seeing if that avoids this problem.
Its all very odd!
Thanks
Mark
Santosh Puranshettiwar wrote:
I agree with David. This does not seem to be a SecurityManager problem.
Does your code run properly as a normal executable program (with main())?
Sameer Acharya wrote:
Have you tried adding following to your web app permissions in policy file
permission java.lang.RuntimePermission "java.lang.R
There is a robot.txt standard followed by web servers and search engines
which specifies if a search agent can / cannot index files on a server.
Zsolt wrote:
Hi,
I see that google and msn searches on our pages (tomcat-5.5.17). How can I
disable that?
Zsolt
You could get them profiled though.
Leon Rosenberg wrote:
I don't think that this is possible, simpy because all your webapps
are running in one jvm, which is one process for the cpu. You could
try to identify separate threads, but i'm sceptical that this works.
regards
Leon
On 9/8/06, Shimol
You mean you wish to do it without using the Tomcat Manger?
asaf.lahav wrote:
I did...
It doesn't answer my question...
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 1:33 PM
To: Tomcat Users List
Subject: Re: stopping a tomcat w
Version: Tomcat 4.1.x
OS: Fedora core 2 (also reproduced on Windows XP)
Peter Crowther wrote:
From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED]
4. (need more? ... please tell me.)
Tomcat version? :-)
- Peter
parsed them myself using a HttpServletRequest wrapper.
Santosh.
Mikolaj Rydzewski wrote:
Santosh Puranshettiwar wrote:
1. a POST request
2. all request parameter (in form of key-value pairs) in the message
body
3. application/x-www-form-urlencoded
4. (need more? ... please tell me.)
Norma
I sorted it out moments later of posting this mail.
It was a mistake from my side.
Thanks any sorry for any inconvenience, if caused.
But there is still something I am curious about. How does Tomcat 4.1.x
deal with HTTP requests that have *transfer-coding=chunked*?
Santosh.
Santosh
1. a POST request
2. all request parameter (in form of key-value pairs) in the message body
3. application/x-www-form-urlencoded
4. (need more? ... please tell me.)
Normally, the parameterMap (for HttpServletRequest.getParameter()
method) is not built. But when I use a RequestDumperValve in betw
That did it.
Thank you so much.
David Smith wrote:
Yes... in 4.1, the context definition is supposed to be in
$CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF.
Santosh Puranshettiwar wrote:
Any ideas?
Santosh Puranshettiwar wrote:
Here is my config file: -
In windows, I am able to see all output on console. It must be the case
in Linux where the output goes in logs/catalina.out.
Mark Thomas wrote:
Santosh Puranshettiwar wrote:
Any ideas?
The above lines are in a file named mcs.xml inside webapps/mcs/WEB-INF
But still
Any ideas?
Santosh Puranshettiwar wrote:
Here is my config file: -
factory
org.apache.commons.dbcp.BasicDataSourceFactory
url
jdbc:mysql
Here is my config file: -
factory
org.apache.commons.dbcp.BasicDataSourceFactory
url
jdbc:mysql://localhost/mirage?useUnicode=true&characte
request.
- Original Message -
From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, August 25, 2006 1:04 AM
Subject: Re: Can Tomcat expose original HTTP request?
Checkout the RequestDumperValve. It should help.
bill cao wro
Marcelo Chryssovergis wrote:
Also, I would like to know how to enable an access logging in tomcat to be
utilized with this tool I´m looking.
Would the *Access Log Valve* help?
Santosh.
-
To start a new topic, e-mail: users@to
Checkout the RequestDumperValve. It should help.
bill cao wrote:
Hi there, see if anyone knows how to do this.
When a http request is sent to Tomcat, Tomcat manufactures a HTTPServletRequest object based on the raw http request. HTTPServletRequest has easy method to retrieve the request inform
/Tomcat 4 "Manager" Helped.
Thanks alot.
/David Smith wrote:
Place your context definition in your server.xml file.
See http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html
--David
Santosh Puranshettiwar wrote:
This is how its being done: -
reloadable="true&quo
This is how its being done: -
reloadable="true" >
This snippet is inside a file named server.xml which is placed in
$CATALINA_HOME/webapps/magicktest/WEB-INF/ .
But nothing gets logged on the console.
It was quite urgent, therefore only a minimal digging was performed.
Please tell
. If you have received this email message in error, please
notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message - From: "Santosh Puranshettiwar"
<[EMAIL PROTECTED]>
To: "Tomcat
have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]>
To: "Tomcat Users List
e data extract in such a way seems perfectly fine.
Should still give the request dumper valve a try?
Thank alot again.
Santosh.
Mark Thomas wrote:
Santosh Puranshettiwar wrote:
Nope. No such attribute in the .
Would any default value take effect then? If so what is it? Anything
nearb
Nope. No such attribute in the .
Would any default value take effect then? If so what is it? Anything
nearby 2016?
Thanks,
Santosh.
Mark Thomas wrote:
Santosh Puranshettiwar wrote:
Well, there's another problem.
HttpServletRequest.getParameter() is unable to parse the key-value pai
ender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, August 19, 2006 8:03 AM
Subject: Re: Pars
Well, there's another problem.
HttpServletRequest.getParameter() is unable to parse the key-value pairs
in the http message body if the the total content-length is greater that
2016.
Any ideas? Please.
Santosh.
Santosh Puranshettiwar wrote:
Managed to digg it.
Had to set Content
Managed to digg it.
Had to set Content-Type=application/x-www-form-urlencoded
Santosh Puranshettiwar wrote:
Hello,
How does tomcat parse the key-value pairs sent in a Http Request as
POST data? I am unable to read the parameters using the
HttpServletRequest.getParameter() method. Parameters
Hello,
How does tomcat parse the key-value pairs sent in a Http Request as POST
data? I am unable to read the parameters using the
HttpServletRequest.getParameter() method. Parameters are being sent by a
J2ME application.
Tell me if more details are required.
Thanks alot.
Santosh.
43 matches
Mail list logo