Hi All,
I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using
mod_jk. I'm facing several problems regarding this ...
Initially i was using mod_jk2.so which is deprecated and also not recomended
for Production Environment.
I am not able to find the proper mod_jk.so for Apache.
Hi Shailendra,
What your Apache MPM are you using?
I think you should use JK_module that accord with Apcahe MPM.
Thanks,
-Toshio
> -Original Message-
> From: Shailendra Gatade [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 06, 2005 11:25 PM
> To: tomcat-user@jakarta.apache.org
> Sub
Hello Guys,
EL is not working under tomcat 4. how can i make it work?
Please help
Thanks
Richard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
EL comes with the Servlet 2.4 spec which is supported in Tomcat 5x. I believe
you may be able to get EL like behaviour with the Struts-EL taglib, but you
won't get it out of the box on Tomcat 4.
Allistair.
> -Original Message-
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent: 07 J
In appears that bin/catalina.sh does not add these directories to the
initial classpath.
Therefore neither jar file, nor configuration is found during start.
Adding common/classes to classpath in catalina.sh and putting the jar
files to the jvm lib is one way to solve the problem.
Jørgen Nør
Hi Guys/Allistair,
I got this code .
.
.
.
Any suggestions how to access the cookie value?
Thanks
Richard
On 7/7/05, Allistair Crossley <[EMAIL PROTECTED]> wrote:
> EL comes with the Servlet 2.4 spec which is supported in Tomcat 5x. I believe
> you may be able to get EL like behaviour w
Hello,
We have a Struts intranet-web site running under tomcat 4.1.24.
Some of the application function are pretty slow ( more than 10
secondes), and sometime users get mad and click 10 times on the same
button. Tomcat raise 10 thread and on such slow operation, the server
can get very slowed dow
Yes it will be in pageContext, so
<%= pageContext.getAttribute("username") %>
> Hi Guys/Allistair,
>
> I got this code .
>
>
> .
> .
> .
> value="${username.value}" />
>
> Any suggestions how to access the cookie value?
>
> Thanks
> Richard
>
> On 7/7/05, Allistair Crossley <[EMAIL PRO
I think that's expected behaviour: You can't set headers after the
response has been committed (more body data has been written to the
outputstream than the buffer size).
In the case of the 200 response code the call to
filterChain.doFilter(...) actually serves the content. Setting of the
hea
Your idea sounds like it makes sense but I can see that you may have trouble,
since even if you can identify a duplicate request, you will have lost (I
think) the request/response link on each subsequent click of the button (which
generates unique requests). I do not think you'd be able to conne
Antonio PAROLINI wrote:
Aside of javascript solutions ( blocking the button to be clicked
twice), is there a tomcat configuration solution for this probleme ?
You can use session context to store information that request is being
processed by another thread and return quickly after another u
Thanks Allistair,
But it throws an error...
E:\LABDRIVE\jakarta-tomcat-5.0.28\work\Catalina\localhost\wds-ap\org\apache\jsp\bigler\serverpages\login_jsp.java:237:
cannot resolve symbol
symbol : method setValue (java.lang.Object)
location: class org.apache.struts.taglib.html.TextTag
Hi Allistair,
This is the value of
[EMAIL PROTECTED]
<%= pageContext.getAttribute("username") %>
On 7/7/05, Richard Reyes <[EMAIL PROTECTED]> wrote:
> Thanks Allistair,
>
> But it throws an error...
>
> E:\LABDRIVE\jakarta-tomcat-5.0.28\work\Catalina\localhost\wds-ap\org\apache\jsp\bigler\se
It looks like your web.xml DOCTYPE definition is either missing or
incorrect. Digester is using a validating parser and so barfs.
Review your web.xml document(s).
Jon
Tewari,kuldeep wrote:
Hi,
I am getting following messages during tomcat 4.1 startup.
What could be the cause?
Jul 7, 2005 10
Hi,
I've just checked the bean taglib api and id is the page scope variable name
that the cookie value gets put into, therefore
<%= pageContext.getAttribute("username") %>
Really ought to be doing the job :)
> -Original Message-
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent:
Try googling RequestControlFilter.
You may be able to modify the code and check for a matching request from the
sessionor use it as is...this may work for you.
H
- Original Message -
From: "Antonio PAROLINI" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 07, 2005 9:05 PM
Subject: Multi
Hi,
I am using tomcat 4.1.30.
I introduced some and I need them in the same order as in
web.xml. Right now I am getting in an arbitrary order with :
Enumeration urlPatternEnum = filterConfig.getInitParameterNames();
How can I fix this ? Is a higher version of tomcat where this i
Sallo Laszlo wrote:
I introduced some and I need them in the same order as in web.xml.
Why do you need them this way? I would use another parameter, let's say
params-list, with ordered list of other parameters' names, i.e.:
params-list
param1, param_other, param_3, param7
--
Mikola
Hi,
Unfortunately this is not what I need. My list is like :
/index.jsp
none
/img/*
none
/*
Sallo Laszlo wrote:
Unfortunately this is not what I need. My list is like :
/index.jsp
none
/img/*
none
Yes, this is definitively interresting, even though I am looking for a
lower-level solution (HttpConnector and Tomcat thread managment level).
I will be always surprised with all we can acheave with of sevlets
filters...
The beaviour proposed by this filter gets pretty close to my wishes,
but I d
I have 2 applications. The first is to be allowed from internet, the second
is to enter data. Two apps are in the webapps. How can I configure tomcat
to make cms unvisible from outside.
--
regards,
Sergey mailto:[EMAIL PROTECTED]
-
Julian,
Interesting that you recomend nameonthe.net. They have been down since
Tuesday morning and none of my customers who host with them are recieveing
e-mail or have access to their sites. They have not called me all week and I
had to drive to their listed company address to speak to someon
Allistair,
I have the same doubts you have... if the filter solution is not
enough, I'll try to dig deeper into the tomcat source to find out...
Antonio
>>> [EMAIL PROTECTED] 07/07 11:16 >>>
Your idea sounds like it makes sense but I can see that you may have
trouble, since even if you can iden
The safest way is to run 2 instances of tomcat on the device. Once instance
runs on port 80 for the world to see. Then a firewall can block all access to
any other port from the outside.
The other instance runs on a high port for internal use.
Otherwise, look at RemoteAddressValve:
http://jak
I use webhost.ie
They are in Ireland I am in the UK but the service is second to none for
me.
On Thu, 2005-07-07 at 14:25 +, Mark Benussi wrote:
> Julian,
>
> Interesting that you recomend nameonthe.net. They have been down since
> Tuesday morning and none of my customers who host with them
> From: Sergey Livanov [mailto:[EMAIL PROTECTED]
> I have 2 applications. The first is to be allowed from
> internet, the second
> is to enter data. Two apps are in the webapps. How can I
> configure tomcat
> to make cms unvisible from outside.
At least:
1) Use a filter or valve to examine the
how about this:
http://java.sun.com/developer/EJTechTips/2003/tt0114.html
Mark.
--- Allistair Crossley <[EMAIL PROTECTED]> wrote:
> Your idea sounds like it makes sense but I can see that you may
> have trouble, since even if you can identify a duplicate request,
> you will have lost (I think) t
The common way that this is achieved is similar to the previous poster. When a
user clicks the button, you would actually move them to another page
straightaway that spawns the 1 request thread and makes it very clear not to
refresh the page. This is the strategy you can see with online booking
Hi,
I have the following problem: I'm deploying a web app that exposes web services
and allows the client to install a web started client.
Now, the client and the web application share a lot of jars, so I would like
to make the jars in web-inf/lib downloadable, so that the web start can
access
> From: Andrea Aime [mailto:[EMAIL PROTECTED]
> Now, the client and the web application share a lot of jars,
> so I would like
> to make the jars in web-inf/lib downloadable, so that the web
> start can access them.
>
> At the moment I've put the jars both in web-inf/lib and in the
> root, but
I don't see any mention of their Tomcat support?
I said that I needed Tomcat support without having to install it myself
-Original Message-
From: Oscar Mechanic [mailto:[EMAIL PROTECTED]
Sent: 07 July 2005 15:33
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: UK tomcat hosting r
Hello everyone, i'd like to develop an independent connector based on TCP
following the AJP 1.3 case. I'd like to know if AJP 1.3 handles requests
sent from a generic client as http 1.1. Does it forward the requests to a
servlet?Does it works in the same logic of HTTP 1.1?
Thanks in advance
__
[EMAIL PROTECTED] wrote:
Hello everyone, i'd like to develop an independent connector based on TCP
following the AJP 1.3 case.
I wish you all the luck ;)
I'd like to know if AJP 1.3 handles requests
sent from a generic client as http 1.1.
No.
Does it forward the requests to a
servlet?
D
Write a Servlet that streams the JAR content to the Webstart clients and
point to the servlet in the JNLP files.
Andrea Aime wrote:
Hi,
I have the following problem: I'm deploying a web app that exposes web
services and allows the client to install a web started client.
Now, the client and t
Hello,
The previous poster (Mark) gives a solution where the server is no longer
overloaded, but the second click makes the browser loose the result of the
first click...
Your proposal is the standard javascript solution, where you act on the GUI to
avoid mutli-click. Maybe I should pick that
Is there a configuration parameter to ONLY send the jsessionid by
cookie, not on the URL bar?
Picture this, user goes to your site http://www.yoursite.com/yourapp
yoursite redirects to the menu page, which gives a jsessionid. That
page is under an auth-constraint and requires login, so you get
di
another solution...
make two layers...one for the form and one (waitlayer) with a text or image
with something like "system is busy".
after submit hide the layer of the form (and so also the buttons) and show
the waitlayer. So one request is only possible.
regards,
Maarten
-Oorspronkelijk b
I need to edit a server side file in a browser window.
I'm thinking of putting some EditorPanel or something out of the JFC
into a JSP.
Anyone knowing of an example showing this. And where to
put the swing.jar or whatever files required ?
--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
Title: OS X.3.8 Server help...
I’m looking for a quick walkthrough to install Tomcat 4.x on my OS 10.3.8 server. My Java is up to date and I need a very detailed list of instructions. By detailed, I mean I have no idea what I’m doing in the Terminal...
Martin Hoffsten
612.333.3233 x119
www.cr
Hi, I am running Tomcat 5.0 on Windows. But what I
want to do it not link to Tomcat. I would like to know
how to control all those ports. For example, I would
like to open 8080 but close 8089, etc...
Thanks,
Sell on Yahoo!
Please stop posting the same question 4 times and please wait for a response.
The answer to the question below is no. There is no switch. To not use URL
rewriting, do not utilize the method HttpServletResponse.encodeURL(). Of
course - this requires a code rewrite.
The easier solution is to im
I'm having trouble setting up a data source in Tomcat 5.5.7. I'm not
certain if I'm having a configuration problem, or if the drivers I'm
trying to use are not compatible with Tomcat. Starting with the latter
question, I'm attempting to use the jdbc oracle drivers that ship with
Sun's Java Studio
I only sent the message once. I apologize for any inconvenience, but
I wonder if gmail and/or ezmlm are having issues today - I've received
the welcome message from ezmlm four times now.
w
On 7/7/05, Tim Funk <[EMAIL PROTECTED]> wrote:
> Please stop posting the same question 4 times and please w
Help,
How do you set up JMX remote for Tomcat 5.5.9?
For instance where do you specify the JVM startup option
-Dcom.sun.management.jmxremote.port=9998
that enables remote monitoring and management?
THank you
- andy
-
Sell on Yah
We have mod_jk 1.2.8 with apache 2.0.53 on solaris 2.8 connecting to JBoss
4.0.2 on solaris 2.8 setup.
The number of apache child processes grows gradaully and upon reaching
around 150 the system response degrades forcing us to restart the apache
server.
On investigation it is found from the
http://jakarta.apache.org/tomcat/faq/misc.html#properties
-Tim
andy gordon wrote:
Help,
How do you set up JMX remote for Tomcat 5.5.9?
For instance where do you specify the JVM startup option
-Dcom.sun.management.jmxremote.port=9998
that enables remote monitoring and management?
We have mod_jk 1.2.8 with apache 2.0.53 on solaris 2.8 connecting to JBoss
4.0.2 on solaris 2.8.
The number of apache child processes grows gradaully and upon reaching
around 150 the system response degrades forcing us to restart the apache
server.
On investigation it is found from the mod_j
See my question about two weeks ago on how to detect jsessionid in the
URL. Looks like it is not directly possible, but you can use our own
request parameter to find this out. After you detect that jsessionid
is in the URL (the harder part), make another redirect to the same
location, and URL will
Thank you for the info but I don't think it helped. Your insight is valued.
I set an environment variable called JAVA_OPTS to
-Dcom.sun.management.jmxremote.port=9998
and started tomcat using startup.bat. The cmd window opened and closed.
Meaning tomcat didn't start. Suggestions?
I h
Let's think about maps.yahoo.com. I do not know how
they handle
millions of request and generate the map pictures
quickly. If I use a
servlet, in the post or get method I use:
BufferedImage mapImage =
myTookKit.generateMap(String address);
response.setContentType("image/png");
O
Hi
First apologies, I am a total newbie to this stuff so please don't eat
me alive. :)
I'm driving myself up the wall with this one and hope you can help.
although there doesn't seem to be anything in the archive.
I've got tomcat 5.5 setup and working on localhost directly.
I've complied and
I am having some troubles getting JDBC session persistance to work. I have
set up my Oracle DB and server.xml correctly (as I have verified that the
session is indeed stored in the DB), but then after restarting tomcat, it
appears that the session is not getting swapped in correctly.
Here is
I store a bunch of objects in my session.
After the session timeout, I see the session getting invalidated (via
my listener).
Now I am expecting to see the finalizers from the objects in the
session being called - I'm pretty sure I don't have any other
references to them.
I don't see the finaliz
Hello Everyone, first post to the list =)
I have a test setup with Solaris 9, Apache 2.043, mod_jk and two tomcats
(4.131 & JDK 1.5.0)
To have the Tomcats handling the applications, first I used the
following lines but the problem was that my jsp's where taken by tomcat
but my images, css a
Hello again,
Same setup: Solaris 9, Apache 2.043, mod_jk and two tomcats (4.131 & JDK
1.5.0)
Any of you guys know if there's a way to access the tomcat manager
application or something similar when using mod_jk??
Right now the only way I have found is to leave tomcat accepting
requests dir
I'm pretty sure that the finalizers are only called when garbage
collection reclaims the objects, and that will be some time after the
session is invalidated. Possibly a very long time after, if Tomcat
isn't busy and isn't using much memory.
--
Len
On 7/7/05, Nishant Deshpande <[EMAIL PROTECTED]>
On Thursday 07 July 2005 17:25, Tony Smith wrote:
> Hi, I am running Tomcat 5.0 on Windows. But what I
> want to do it not link to Tomcat. I would like to know
> how to control all those ports. For example, I would
> like to open 8080 but close 8089, etc...
>
>
> Thanks,
1) Don't hijack someone e
On Friday 08 July 2005 01:53, Luis Torres wrote:
> Hello Everyone, first post to the list =)
>
> I have a test setup with Solaris 9, Apache 2.043, mod_jk and two tomcats
> (4.131 & JDK 1.5.0)
>
> To have the Tomcats handling the applications, first I used the
> following lines but the problem was
On Friday 08 July 2005 01:59, Luis Torres wrote:
> Hello again,
>
> Same setup: Solaris 9, Apache 2.043, mod_jk and two tomcats (4.131 & JDK
> 1.5.0)
>
> Any of you guys know if there's a way to access the tomcat manager
> application or something similar when using mod_jk??
>
> Right now the only
Hello,
Can I hook a function after user login & before user logout ?
Dongsheng Song
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
61 matches
Mail list logo