I have the precompiled JSP's working with Apache now.
Thanks.
Apart from the "first-time-hit" compilation penalty on
a normal jsp (as apposed to a precompiled one), why
would you choose one option above the other?
Standard jsp is easier to do updates if you work in an
unpacked war setup - you jus
Hi,
Why don`t you use Apache to protect your static contents??
You might want to use .htaccess ??
http://www.csoft.net/docs/micro/htaccess.html.en
Mit freundlichem Gruß / kind regards
Dr. Aliye Edao
-Ursprüngliche Nachricht-
Von: Torst
Hello!
In order to improve performance for static contents I have setup Apache
with mod_jk. Now only Struts' *.do requests are served by Tomcat, the
rest is done by Apache. Works fine.
Now I want to restrict access to some resources using using container
managed security. That also works fine, b
Hi,
Old versions of tomcat had catalina.bat where we can set jpda options.
New versios only hava Tomcat.exe. Any idea how to pass JPDA options
Regards,
Haneef
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
According to your httpd.conf your servername is flex.homelinux.org:80
Seems that your server.xml is wrong ...
Change
to
and try http://flex.homelinux.org:80/RegardsGuru-
Original Message -
From: "Gurumoorthy" <[EMAIL PROTECTED]>
To: "Tomcat Users List" ; "naidim"
<[EMAIL PROTECTED]>
Se
Have you granted the site accessClassInPackage runtime permission?
-Terence M. Bandoian
[EMAIL PROTECTED]
> I used to precompile my JSP's (which worked great and
> was a big time saver in testing), but since running
> Tomcat 4.1.31 together with Apache, all sorts of weird
> errors occurred. I re
Create a share on the Central Server and map the share
onto each machine tomcat is running with the same path and then upload the
docs.
- Original Message -
From: "Anna Bikkina" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 7:12 PM
Subject: Uploading files to another server
> Hi
I am using Fedora Core 3 more my apache/tomcat installation. Also make
note that I created a separate mod_jk.conf file and put it into the
/etc/httpd/conf.d/ directory, instead of putting it into the httpd.conf
file like you are doing.
Here is my mod_jk.conf if that helps you.
#
# Mod_jk is a
send me the httpd.conf and the server.xml and worker.properties ... i will
have a look ...
Regards
guru
- Original Message -
From: "naidim" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 16, 2005 7:40 PM
Subject: mod_jk works as localhost only
I'm running Apache2.0.52
hi,
Anybody knows how to make apache and tomcat are
running in the same process? I read somewhere and said
that it can be done but it is not easy. Anyone tried
it? if so, please give me some pointers.
thanks,
Christine
__
Do You Yahoo!?
Tired of s
> From: Chris Burdess [mailto:[EMAIL PROTECTED]
> Subject: Possible bug in request parameter decoding
>
> According to
> http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars
> request parameters are encoded in UTF-8.
Well, that's not quite how I read it. By definition (RFC 2396), U
It's not a firewall blocking it as far as I can tell, but I tried your
suggestion with no change.
Locally, I can browse localhost, localhost:8080,
localhost:8080/jsp-examples and localhost/jsp-examples, showing that
mod_jk is working okay.
However, also locally, I can also browse by ip, ip:8080,
We are having some problems with our mail server at the moment.
You may receive a message that your message has not been sent when in
fact it has. Whilst this problem is ongoing please refrain from sending
the same message repeatedly as this just makes things worse.
The infrastructure team ar
Thanks Jason for the reply. Actually that url_pattern was already set to
"/*".
Could you think of any other configuration settings that I am missing for
having this issue only Tomcat 5.0?
Thanks
Sheeba
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, J
On 6/16/05, Padmanabhan, Sheeba <[EMAIL PROTECTED]> wrote:
> Hi Mark,
>
> I couldn't find any webdav servlet entry in the \conf\web.xml. Could you
> please tell me which tag exactly I should modify?
It would be \webapps\webdav\WEB-INF\web.xml
--
Jason Bainbridge
http://kde.org - [EMAIL PROTECTE
The HTTP spec is vague. It has many references to ISO8859-1. IIRC, there is a
connector option to decode parameters as UTF-8.
-Tim
Chris Burdess wrote:
In Tomcat 5.5.9, class org.apache.catalina.connector.Request, lines
2307-2312, the charset used to decode request parameters is identified
a
In Tomcat 5.5.9, class org.apache.catalina.connector.Request, lines
2307-2312, the charset used to decode request parameters is identified
as org.apache.coyote.Constants.DEFAULT_CHARACTER_ENCODING, i.e.
"ISO-8859-1".
According to
http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars
I'm running Apache2.0.52 and Tomcat 5.5.9 on FC3. Both work fine
locally and remotely.
mod_jk is configured but it only works as localhost. Browsing by name
or IP fails to find the files in the webapp directory. What do I need
to change so it finds them when browseing remotely?
Thanks
---
Hi Mark,
I couldn't find any webdav servlet entry in the \conf\web.xml. Could you
please tell me which tag exactly I should modify?
Also the litmus test for Webdav, return the OPTIONS method as "server does
not claim webdav compliance" error. This happens only with Tomcat 5.0.
Tomcat 4.0 and all
Hi,
We have an application which uploads files to a machine where tomcat is
running. Now we want to change it to upload files to a central server in
the network. We were using multipart request to upload the files till
now. How can we upload files to a different server than where the tomcat
is run
It is the webdav servlet mapping that needs to change, not the default
servlet.
Mark
Padmanabhan, Sheeba wrote:
Hi Mark,
I modified the web.xml under \conf folder to change the url_pattern as
follows:
default
/*
But that didn't help. I am not that familiar with tom
You mean Security Enhanced Linux...aka SELinux. Yes that is true, it will
prevent you from reading directorys not owned by apache. You can also turn off
SELinux, which seems to easy to do.
Randall
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday,
He should be able to use the manager but he'll have to run a copy of
it in each Host instance for it to work.
On 6/16/05, Marius Scurtescu <[EMAIL PROTECTED]> wrote:
> Nikola Milutinovic wrote:
> > [EMAIL PROTECTED] wrote:
> >
> >> Hi all,
> >>
> >> I'd like to know if there's a shell command to s
It's SELinux
I copied it to /etc/httpd/conf/workers.properties, chown and chmod,
still the same error, so I disabled SELinux until I can learn more
about configuring it and it works. Thanks.
On 6/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Fedora Core 3 uses a special security system
Hi,
first: You should start a new discussion thread, if you have a new
question instead of answering to an existing one. Readers may not see
your question if you don't.
-XX:+UseAdaptiveSizePolicy works good for me (with Java 5.0). Just give
the VM a very big maximum heap size and the gc algo
Fedora Core 3 uses a special security system called [something I've forgot...]
which runs the Apache process a it's own user name/group and prevents it from
accessing files that doesn't belong to him. Search in that direction and you
should find what you are looking for.
Consider placing the wo
Please verify first that you did not added a secont connector on port 8009 in
tomcat/conf/server.xml for they cannot listen both on the same port.
Second, the instructions i've provided are for mod_jk.so version 1 minor 13.
Please make sure you've got the right module library. It seems to me tha
This is no doubt a java-related question, but it seems that with virtual
memory, my JVM should never run out of memory (aside from a nasty bug
and lack of swap disk space). Is there a way to allow my web
application to have as much memory as the OS will give it, yet not have
the JVM attempt to
From: "Daniel Molina (Inter-Media)" <[EMAIL PROTECTED]>
> If I use threads, through the Thread class, how can I can finish them
>whenever Tomcat reloads the application that created them.
You can use a ServletContextListener which will be notified when the webapp
starts and stops. Implement
Hi all;
I have a servlet that implements the SingleThreadModel interface. I have
noticed that, under heavy weight, tomcat is restricting the servlet pool
size to 22 instances. My question is: How can I do to change this limit?
Regards.
Martín.
--
No virus found in this outgoing message.
Checked
I fixed the problem already.
thanks,
Christine
--- Christine Ho <[EMAIL PROTECTED]> wrote:
> Thanks. I have tried it and I still cant make it
> work.
> But it is better than before. I got HTTP status 404
> -
> /jsp-eg/index.html.
>
> In error.log in apache, I got the following:
>
> [Wed Jun 1
Nikola Milutinovic wrote:
[EMAIL PROTECTED] wrote:
Hi all,
I'd like to know if there's a shell command to stop and start separate
web applications. With our configuration, we are unable to use the
manager.
* We are running Tomcat 5.5 and Apache 2 with the JK Connector
(mod_jk) on RedHat L
You should hold a reference to your thread in your app. Set a flag that the
thread watches to notify it that it is time to terminate. Place this code in
the servlet's destroy() body. Calling the destroy() on the thread object is
a little drastic because it will terminate the thread without calling
Something like this maybe:
String url = request.getRequestURL().toString();
if (url.indexOf("jsessionid")>-1
&& url.indexOf(request.getRequestedSessionId())>-1) {
// do redirect
}
Jon
Michael Jouravlev wrote:
If both methods return true, they would identify the first request
after ses
Hello,
If I use threads, through the Thread class, how can I can finish them
whenever Tomcat reloads the application that created them.
Thanks.
Regards.
Daniel Molina Wegener
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
if i start tomcat 5.5.9 i get the following AssertionError:
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.AssertionError (Caused by java.lang.AssertionE
I'm running Apache 2.0.52 and Tomcat 5.5.9 on Fedora Core 3. Both are
working properly.
I installed mod_jk, but when I edit httpd.conf to add JkWorkersFile I
get an error starting Apache: Can't find workers file.
I've checked the path, tried changing locations, nothing seems to
work. Anyone seen
Hi,
Can somebody help me find out how my tomcat is dying. As far as I know it's
not triggered by any url access or memory leak or stack overflow. It dies on
it's own( I guess). Is there any kind of hook I can provide that will tell
me when it dies? If this subject is already covered , please atleat
Hi Mark,
I modified the web.xml under \conf folder to change the url_pattern as
follows:
default
/*
But that didn't help. I am not that familiar with tomcat configuration
settings. If I am doing something wrong, please correct me. Any help would
be greatly appreciated.
Hi!
Rui Alberto schrieb:
> I don't want tomcat to set cookies on the client. In any situation. I've
> configured a Context in server.xml to my application:
> EX:
>
I've got the same problem. There's also an older posting here on the list
from Andrew Steady (2004-12-02) about the same.
That real
If both methods return true, they would identify the first request
after session has been established with browser which supports
cookies. I try to keep GET requests clean to encourage browser to keep
its page history from growing. When I detect this request, I perform a
redirect to the same locati
Hi,
Is there any way to configure HTTP1.1's persistent connection's
pipeline length on Tomcat 5.0 ? By pipeline length, I mean the number
of HTTP request could be sent by the HTTP/1.1 client before it gets back
the first response.
Thanks in advance,
Feng
Opening a remote connection with jconsole to a tomcat 5.5.9 (jdk 1.5) running
with security manager works fine when disabling authentication
(com.sun.management.jmxremote.authenticate=false).
Using client auth & no security manager works well, too.
Using client auth & security manager throws se
OK, so it migth be well worth my while to look into
the issue again and see if I can get the precompiled
JSP's running with Apache.
(I originally did this a year ago).
Charl
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> Apache doesn't care about the existence of a jsp.
> There is one exception -
Apache doesn't care about the existence of a jsp. There is one exception -
default pages when / (or /stuff/) is requested. In that case - apache will
look for index.jsp (Assuming that is a default page to be served) and then on
seeing the existence of that file - pass the request onto tomcat.
Michael Jouravlev wrote:
Hi, I hope am I in the right mail-list with this question. I guess
that if I use Tomcat, then HttpRequest.isRequestedSessionIdFromURL()
is implemented by Tomcat.
I have a request, which contains *both* session ID in cookie *and*
session ID in the rewritten URL. isRequest
Hallo
I'm creating JSP out of XML using XSLT; and I wasn't able to find a
way of transforming XML using XSLT (without a "post-production")
without creating new xmlns-declaration attributes. Those declarations
are later missinterpreted as tagLib prefixes so I'm unable to parse
the result as JSP. :o
Hi Mino,
just one thing to add to the very good answer from Charl:
I post you my ant sccript, which does all together precompiling and
automatic generation of the web.xml file.
You might take it as a basis for your stuff.
Cheers
Bernhard
If you have the generated java files, you can compile
them like any other java class (remember to setup your
classpath correctly, including some jars in the Tomcat
libraries).
Trickier to figure out first time round is to
dynamically create the web.xml settings. Every .jsp
now effectively becomes
Hi,
I'd like to compile the JSP pages when I upload some new files on server
(tomcat 4.0.3) . I use the utility JSPC, but this generate only java
file but not the class file. I read that JRun has JSPC with -compile
argument while my JSPC utilty doesn't have thi argument.
Is possible to generate
I used to precompile my JSP's (which worked great and
was a big time saver in testing), but since running
Tomcat 4.1.31 together with Apache, all sorts of weird
errors occurred. I remember reading somewhere that
Apache expected the actual jsp file, not the compiled
version. So I reverted back to *n
Hi,
I am new in JNI area. I would like to call a library written in C from my web
application. Unfortunately, it does not work well, but when I call it from a
standard Java application with same parameters it works well. In addition, I
attempted to put some logging information to a file with so
Hi bhupendra,
try to check your driverClassName and host setup.
try setting up localhost instead od ip.
- Original Message -
From: "bhupendra bendale" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 4:55 PM
Subject: It's Urgent. Network Adapter
> hi All,
>
>
> i am having pr
The JSP/JSTL spec has a very sensible default regarding the escaping of
XML characters in . That is to say, they are escaped unless you
explicitly disable escaping. In the days of JSTL 1.0, this had the
effect of preventing most web designers from inadvertently introducing
XSS vulnerabilities
hi All,
i am having problem of java.sql.SqlException Network Adapter Could not
Establish Connection on tomcat consol.
and i am not getting database access.
Can Anyone tell me The answer for this
It's Urgent.
Thank You
---
[EMAIL PROTECTED] wrote:
Hi all,
I'd like to know if there's a shell command to stop and start separate web
applications. With our configuration, we are unable to use the manager.
* We are running Tomcat 5.5 and Apache 2 with the JK Connector (mod_jk) on
RedHat Linux.
* We have several virt
Hi, I hope am I in the right mail-list with this question. I guess
that if I use Tomcat, then HttpRequest.isRequestedSessionIdFromURL()
is implemented by Tomcat.
I have a request, which contains *both* session ID in cookie *and*
session ID in the rewritten URL. isRequestedSessionIdFromCookie()
ret
57 matches
Mail list logo