Hi,
we have an application developed using the following components as listed below
mysql 5.0.27
jdk 1.5.0_06
jre 1.5.0_06
tomcat5.5.20
Apache 2
phpMyAdmin 2.9.2
Servlets 2.3
JSP1.2
Our application is
Thanks Pierre,
for sure i will use that info, but now i am not writing a server, as i wrote
earlier, i use tomcat to test a proxy.
i am interested to see how my proxy behave when i send it the data chunked
or zip the data. and i want this to be in reference to regular files.
so basically all i w
Thanks Pierre,
for sure i will use that info, but now i am not writing a server, as i wrote
earlier, i use tomcat to test a proxy.
i am interested to see how my proxy behave when i send it the data chunked
or zip the data. and i want this to be in reference to regular files.
so basically all i w
Hello,
maybe you have to download from here but I'm not sure
http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/download.jsp
When I try to embed Tomcat 5.5.23 into my application, I get an error
message about a missing MBeanRegistration (see stack trace at end).
It seems like I need JMX.jar. This document ( http://
tomcat.apache.org/tomcat-5.5-doc/realm-howto.html ) states that "you
will need the JMX jar and the c
Well folks, I never would have figured that out on my own. I copied
and modified both a new BasicDataSourceFactory and BasicDataSource and
referenced it properly. It worked out.
Thanks again for your quick and friendly replies! I'll stay
subscribed to this list for sure!
Cheerio,
Jevin
On 7/
Found a solution, but I'm not sure if it is optimal.
Take a look at:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056482#4056482
Near the end of the first code sample, the author has placed a dummy method
in the
code, solely to publish (expose) a subclass in the WSDL. This app
Hi,
I'm using Tomcat 5.5.23 and have tried on 6.0.13. My webapp can take
20 to 30 seconds to start up. If a request is made during this time a
blank page is shown in the browser. If the webapp is stopped then a
503 page is returned.
Is it possible to get tomcat to serve the 503 page until the we
Thanks for your reply, I know that there are a lot of things to consider to
give this kind of answer but my question was more about what do you have
that has worked for a corporate site, we're going to have mostly stateless
RPC Servlets for a Client Side RIA (GWT) and our scope is millions of user
Lior,
Basically, I think that you need to handle the response by yourself.
For instance, if you want to send an image :
***
RenderedImage rimg = ImageIO.read(new File(img));
OutputStream os = response.getOutputStream(); // <=== get the
response to be able to re-write it
Im
I am doing bottom up Web Service development on Tomcat 5.5.23.
WSDL is being generated from an existing POJO implementation by
running it through the apt tool. The POJO looks like this:
@WebService...
@WebMethod
BaseClass retrieveInfo(ClassA parm1)
The BaseClass has 4 subclasses. I need th
First things first, I do not have an answer. As for the approach of multiple
machines it does allow for better fault tolerance. But is also has the
disadvantage of multiple machines to manage. And I am sure the list has lots
of other pros and cons. As for the machine brand selection is another a
In that case I think you need to read the JAAS docs and implement the
proper callbacks. This page looks to be a good place to start:
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JAASRealm
As I understand it from a very cursory read-through, the JAAS realm
callbacks aren't http awa
yes I must send the user name and password to a web services to get other
user informations..
David Smith-2 wrote:
>
> I don't think password is ever intended to be exposed to the webapp ...
> just the username. Is there a reason you need the password?
>
> --David
>
> lmk wrote:
>> I dont
It seems dificult to recover login password..I dont want to add a filter
just for that..
do you have an other solution .?
lmk wrote:
>
> I dont found how to get the user password...j_password parameter is not
> in request nor session .
>
>
>
>
> lmk wrote:
>>
>> Im using tomcat Real
I don't think password is ever intended to be exposed to the webapp ...
just the username. Is there a reason you need the password?
--David
lmk wrote:
I dont found how to get the user password...j_password parameter is not in
request nor session .
lmk wrote:
Im using tomcat Realm..
I followed the example in the Tomcat JNDI docs on setting up and sending an
email (C:\apache-tomcat-5.5.23\webapps\tomcat-docs\jndi-resources-howto.html)
but am still receiving a javax.mail.MessagingException: Could not connect to
SMTPhost: localhost, port: 25
The strange thing is that
I'm trying to move my Apache Http Server Farm to a Tomcat one and I guess
that Tomcat needs more resources than Apache does. Our approach has been
always to have many medium size machines than a few big ones, does anybody
have any suggestion to the kind of machine + OS needed to get the best
tomca
I dont found how to get the user password...j_password parameter is not in
request nor session .
lmk wrote:
>
> Im using tomcat Realm..
>
> I can even get the user password!!
>
> thanks..
>
>
>
> rpr_listas wrote:
>>
>> Hi, lmk!
>>
>> Your JAAS module is a tomcat Realm? If you develop
you were right, 10X.
now i am facing yet one more challenge.
i made filter to overwrite the response, i added headers as i want and it
works fine.
now i want to manipulate the content , to do zip or to chunk the data.
i tried to do StreamResponseWrapper that extends
HttpServletResponseWrapper,
Im using tomcat Realm..
I can even get the user password!!
thanks..
rpr_listas wrote:
>
> Hi, lmk!
>
> Your JAAS module is a tomcat Realm? If you develop a tomcat realm you
> can access the user data via the standard servlet API.
>
> HttpServletRequest.getRemoteUser();
> HttpServletReques
Hi, lmk!
Your JAAS module is a tomcat Realm? If you develop a tomcat realm you
can access the user data via the standard servlet API.
HttpServletRequest.getRemoteUser();
HttpServletRequest.getUserPrincipal();
regards.
Ricardo.
lmk escribió:
Hii,
I developed a JAAS module for authentication
Hii,
I developed a JAAS module for authentication, and I deployed it on the
tomcat server. I'd like to display the login name on the web app after
authenticatiobn succeed.how to find it ..?
can i finf it on the session?? or must use the Callbackhandler object..?
regards!!!
--
View this messag
Tomcat uses commons-beanutils to set all the parameters of
org.apache.commons.dbcp.BasicDataSource (or actually tomcat's own
refactored copy of it) with the attributes found in the Resource element
in server.xml or one of the context.xml files.
I think Johnny is right ... set up your own db po
Write a class that implements a ServletContextListener and then add it
to your web.xml as a listener. It creates a hook for startup as well as
shutdown. I use this to build my own database pool and store it as an
attribute of the servlet context for later.
--David
Trumml wrote:
I'm using J
I think this message from one of the tomcat developers back on March
16th described the problems with the admin webapp very well:
http://www.nabble.com/Tomcat-Administrator-tf3415576.html#a9519933
--David
[EMAIL PROTECTED] wrote:
David,
I have searched the mailing list archives and the
Sorry, auto-completion :(
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Could it be you forgot to call filterChain.doFilter(request.response)
after adding your headers?
En l'instant précis du 04/07/07 14:18, lior grinfeld s'exprimait en ces
termes:
> Thanks for the tip, i used filters.
>
> now i facing other problem. if I use filter with request to static
> content (
Thanks for the tip, i used filters.
now i facing other problem. if I use filter with request to static content (
i did not write servlet for it , i want the defaultServlet to handle it)
for some reason i do not get the content, it looks like the defaultServlet
is doing nothing now, without filter
Jevin, my curiousity got the better of me, and I tried to find it for
you
Can see TC loading up the resource in the ResourceFactory, but it just seems
that nowhere does it actually read the password and pass it into DBCP
I havnt checked, but I have a feeling that the DBCP module gets the
Am not sure to understand what you want, but if you want to not have to
put an hyperlink and have servlet directly show the content of the jsp, use
getServletContext().getRequestDispatcher("path/to/your/jsp").forward(request,response);
En l'instant précis du 04/07/07 13:47, Mohammed Zabin s'expr
Yes Thank you, I found it from your first response, *response.encodeURL*,
Thank you Buddy, my greetings for Sarkoozi ;)
On 7/4/07, Mohammed Zabin <[EMAIL PROTECTED]> wrote:
No, it's not what i wanted :)
I have a servlet page with the following address
http://localhost:8080/Exam/servlets/resul
No, it's not what i wanted :)
I have a servlet page with the following address
http://localhost:8080/Exam/servlets/results
in this servlet page, results, i have a hyperlink: *Click Here To view your
Results*
This link is designated to navigate to a jsp page with the following
address:
http://
Sorry, it's not spanish but french, totally unrelated languages
as for how to create an hyperlink, just open an html book and look for tag
...
En l'instant précis du 04/07/07 11:58, Mohammed Zabin s'exprimait en ces
termes:
> Thanks, seems spanish ;), I live Spain, am learning spanish language now
Hallo Frau Pillet,
ich habe gerade mal Google eingesetzt und gesehen, dass Ihre Firma ja
auch einen Sitz in Bonn-Mehlem hat. Sitzen Sie da zufällig auch? Fände
ich nur witzig, weil wir ebenfalls in Bonn unseren Sitz haben.
Beste Grüße sendet
Rainer Jung
--
kippdata
informationstechnologie Gm
use a inside web.xml. They get notified when starting and
stopping webapplication
En l'instant précis du 04/07/07 11:49, Trumml s'exprimait en ces termes:
> I'm using JBoss 327 with Tomcat 5.
> My applications running inside JBoss (Tomcat) need some kind of "runtime
> initializing". For example wh
Thank you again,
But I want to add a hyber link, that when clicked will transfer the user to
a jsp page, like this:
"Click Here" for example. how could i do this??
On 7/4/07, David Delbecq <[EMAIL PROTECTED]> wrote:
String url =
response.encodeURL
("/path/to/jsp.jsp?paramX=someValue¶mY=someO
Thanks, seems spanish ;), I live Spain, am learning spanish language now,
Gratias,
EL java es Aburrido
On 7/4/07, David Delbecq <[EMAIL PROTECTED]> wrote:
String url =
response.encodeURL
("/path/to/jsp.jsp?paramX=someValue¶mY=someOtherValue");
En l'instant précis du 04/07/07 09:20, Mohammed
String url =
response.encodeURL("/path/to/jsp.jsp?paramX=someValue¶mY=someOtherValue");
En l'instant précis du 04/07/07 09:20, Mohammed Zabin s'exprimait en ces
termes:
> Hi Everybody
>
> I have a servlet that renders some database related values, at the
> botton of
> the page, i want to add a hyb
I'm using JBoss 327 with Tomcat 5.
My applications running inside JBoss (Tomcat) need some kind of "runtime
initializing". For example when a MBean is deployed, inside the start()
method my runtime will be initialized.
How can I achieve this with a WAR file? I want to call a method once when my
WA
I'm using JBoss 327 with Tomcat 5.
My applications running inside JBoss (Tomcat) need some kind of "runtime
initializing". For example when a MBean is deployed, inside the start()
method my runtime will be initialized.
How can I achieve this with a WAR file? I want to call a method once when my
WA
Hm, strange, why does Tomcat need Eclipse-classes for compilation?
Maybe that's a classpath-problem (do you have Eclipse installed on your box?)
Btw. why are your compiling anyway? Tomcat is all Java, therefore it's
ok to download the binaries from tomcat.apache.org, untar them, set
the appropria
Jevin, it actually sounds like you not just talking about JNDI and defining
your own factory, but setting the passwords programmatically for the
standard DBCP JNDI factory I dont think its possible, but it would be
nice to be proved wrong.
Keeping passwords in binary form, would require no
from
http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html#win32disableacceptex
AcceptEx() is a Microsoft WinSock v2 API that provides some performance
improvements over the use of the BSD style accept() API in certain
circumstances. Some popular Windows products, typically virus scanning
or virtual
Either map to '/*' your custom servlet that returning the static content
with your custom headers, either write a servletfilter that add
additional header before processing request.
En l'instant précis du 04/07/07 09:52, lior grinfeld s'exprimait en ces
termes:
> Hi,
>
> i am new at using tomcat.
Well, that's really strange, because those servers are basically very clean. No
software firewall, antivirus, or something similar. Those are production
servers, so they are really running nothing else than MySQL, Apache and
Tomcat... SP4 is installed as well.
What exactly is this Win32DisableA
En l'instant précis du 04/07/07 10:15, rpr_listas s'exprimait en ces
termes:
> Hello David,
>
> I know that this is out of the specification, and bind my application
> to this server implementation, but modify the realm has the same
> problem, transform my application in a tomcat-only application.
Hi Filip,
Thank you for the hint. I'll test it.
Regards,
Boris
- Message d'origine
De : Filip Hanik - Dev Lists <[EMAIL PROTECTED]>
À : Tomcat Users List
Envoyé le : Mardi, 3 Juillet 2007, 21h23mn 41s
Objet : Re: Tomcat 5.0.28 SocketException error
this would be your hint
java.lang.
Hello David,
I know that this is out of the specification, and bind my application to
this server implementation, but modify the realm has the same problem,
transform my application in a tomcat-only application.
Build a custom authentication is not solution, because this disconnect
the appli
Hi,
i am new at using tomcat.
I want to use tomcat as a server to test our proxy. to do that i need to
manipulate the response headers, i did that without problems using servlets.
now i want to manipulate the http response headers or content of requests
for static content.
Ex. if i will do "GET m
On 04/07/07, Anton Melser <[EMAIL PROTECTED]> wrote:
On 04/07/07, Bill Barker <[EMAIL PROTECTED]> wrote:
>
> "Anton Melser" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > (maybe a repost?)
> > Hi all,
> > We are running tomcat 5.5.23 on java 1.6.0 (suse 10.0 with addon java6
>
Hi Everybody
I have a servlet that renders some database related values, at the botton of
the page, i want to add a hyberlink to a jsp page, and i want pass to this
jsp page, and i want to pass some values from servlet to jsp???
How could i do this, any help please?
Jotnarta
David,
I have searched the mailing list archives and the only entry I can
find is one that says it hasn't been ported yet. Can you tell where to find
the discussion thread you are referring to. Thankyou.
regards,
Steve Morris
IT Security Access Management
Technology Risk and Security
Techn
On 04/07/07, Bill Barker <[EMAIL PROTECTED]> wrote:
"Anton Melser" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> (maybe a repost?)
> Hi all,
> We are running tomcat 5.5.23 on java 1.6.0 (suse 10.0 with addon java6
> rpms for suse 10.1). These machines are load balanced behind an
54 matches
Mail list logo