Hi all,
I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat
6 I get this error when deploying my web application:
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.CGIServlet is privileged and cannot be
loaded by this web application
In Tomcat 6, I no
Oh no, I mean the exact opposite :)
-
| Application |
| |
|---|
|Embedded TC|
-
The application I am writing this for is a server daemon which has a cli
that enables the user to issue commands to it once it's up and running.
Thanks Charles,
I have it running now. Furthermore I found out that using the admin.xml
I can limit access to the manager to certain ip-addresses.
JV
Caldarale, Charles R wrote:
From: JV832 [mailto:[EMAIL PROTECTED]
Subject: Using the manager for multiple hosts
Is it possible to use the ma
You can use the mod_proxy, with the 8080 port and http protocol. This is
implemented in apache 2.0.x (and 1.3.x). The sintax is similar as i
mencioned in the previous message.
-Mensaje original-
De: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 22 de enero de 2007 16:55
Pa
Hi,
I have done something similar, but used Jetty [1] as I couldn't figure
out how to get tomcat to do it..
My application registers a servlet and starts jetty. the servlet gets
the interface to the application via a static method. But it all works
OK. Maybe you could set the application interfa
On further reading...
Server server = new Server(8080);
Context root = new Context(server,"/",Context.SESSIONS);
root.addServlet(new ServletHolder(new HelloServlet("Ciao")), "/*");
server.start();
You can pass the interface to your application into the HelloServlet's
constructor.
My app actuall
The problem is that it's a webapp problem, not a tomcat one, has as been
explained quite a few times here. The PermGen can not be flushed that
way. Normally, the webapp class datas are garbage collected when they
are undeployed/redeployed. However, under certain conditions that depend
on the webapp
Sorry for posting this twice, that was by accident.
By the way, does this mailing list have some newsgroup "mirror" so I could use
it through NNTP? Thanks, Ondra
- Original Message -
From: Ondrej Zizka
To: users@tomcat.apache.org
Sent: Tuesday, January 23, 2007 12:46 PM
Subj
En l'instant précis du 01/22/07 17:05, Marcel Frehner s'exprimait en ces
termes:
> Thank you for your answer David. My conclusion would be to move my
> protected resources to a separate folder and adjust my web.xml
> accordingly. Of course you were absolutely right about the 403 status.
> My Firefo
It might be, for example, the order in which the webapps are iterated
inside a hashset, which can completly change if you add a webapp. Or it
might be the order in which the filesystem return them, As people said,
it depends on the time. If you really want to know, take a look at
source code of tom
I am able to use JSF 1.2_03 RI inside Tomcat 6.0.8. Ensure you have
the JSTL 1.2 also loaded.
Martin
On 1/22/07, Zaphod <[EMAIL PROTECTED]> wrote:
I try to use the JSF 1.2_03 RI with Tomcat 6.0.8.
I get a NullPointerException:
Servlet.service() for servlet jsp threw exception
java.lang.NullPo
Not sure if this is all that is required, but in the Context section
of the webapp context.xml file, you need to add privileged=true
property.
Martin
On 1/23/07, Yannick Haudry <[EMAIL PROTECTED]> wrote:
Hi all,
I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat
6 I get thi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andy,
Andy Moller wrote:
>> 1. You are using the array "val2" here instead of "value2". Is that
>> intentional? Or, were you somewhat obfuscating your code for publication
>> on the list?
>
>
> [Chris]: It is a mistake while changing the variable na
Hello all,
I as using Tomcat version 5.0.28 as a windows service on a HP PROLIANT DL380
G4 7/3.0 2MB 1GB (Dual processors) running Windows 2003 server. I have 4 GB
of ram installed in the server. Under system information Windows has
3583.47 MB for Total Physical Memory. Ok, here is the issue,
> From: Indu Devanath [mailto:[EMAIL PROTECTED]
> Subject: Increasing Max Memory in Tomcat resulting in failed
> startup of Tomcat
>
> if I am understanding Chuck's reply (from entry below)
> there should be a 2GB limit not a 1GB limit correct?
There's a 2GB virtual space limit for the entire
I have a system with two identical machines running Tomcat 5.5.17
running identical applications. There are some extra things running
on one of the machines, but these problems occur even when they are
turned off.
The application consists of two parts. There is a JSP layer, and
a servlet (handl
David Goodenough wrote:
On the slow machine it takes 30 seconds to send back the 302
rewriting the URL so that it has a jsessionid, and then 16
seconds to serve the HTML for the logon page.
Looks like a DNS timeout value. Is the DNS system properly configured on
both machines?
--
Mikolaj R
Hello the list, i'm back with my chinese langage.
In a jsp file i have a
When i fill my form with chinese characters and i submit() the form, on the
server side when i read the parameter from my request i get "C:/çéç¨åº"
something like this.
On the jsp page when i display the query str
Thanks I going to have a look, but has others have pointed out such a
mechanism
is vowed to change in the future.
I think, that either me or the team I work with, will do the synchronization
mechanism.
Thanks
Orlando
On 1/23/07, David Delbecq <[EMAIL PROTECTED]> wrote:
It might be, for exam
Hi,
I have a web application deployed in tomcat embedded in jonas 4.7.4
Application Server, and in frontend there are apache 2.0.55 and mod_jk
12.20.
My issue is that the message below is generated systematically after every
jsp call although the jsp are well served and the application works
ok, now it works !
thanks for your answer Martin
Yannick
On 1/23/07, Martin Dubuc <[EMAIL PROTECTED]> wrote:
Not sure if this is all that is required, but in the Context section
of the webapp context.xml file, you need to add privileged=true
property.
Martin
On 1/23/07, Yannick Haudry <[EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Orlando,
Orlando Reis wrote:
> Thanks I going to have a look, but has others have pointed out such a
> mechanism is vowed to change in the future.
>
> I think, that either me or the team I work with, will do the
> synchronization mechanism.
Another
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jean-Philippe,
PATTUS, Jean-Philippe wrote:
> When i fill my form with chinese characters and i submit() the form,
> on the server side when i read the parameter from my request i get
> "C:/ç›é€‰ç¨‹åº" something like this.
Where do you see this kind
Hi,
I have a web application deployed in tomcat embedded in jonas 4.7.4
Application Server, and in frontend there are apache 2.0.55 and mod_jk
12.20.
My issue is that the message below is generated systematically after every
jsp call although the jsp are well served and the application works f
I have a web application and a functionality to be able to upload files to one
of the folders inside it and be able to access it using direct link URL.
now I am wondering if someone uploads .jsp file, how would I stop tomcat from
compiling and running that file when someone requests that same fi
The best method I can think of is to store the jsp in a directory
outside your tomcat and outside your webapp. Then configure the path to
the storage in either the context.xml or web.xml for your webapp and use
a ServletContextListener to load up an application scope attribute with
the path. Last
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David and Sachin,
David Smith wrote:
> The best method I can think of is to store the jsp in a directory
> outside your tomcat and outside your webapp. Then configure the path to
> the storage in either the context.xml or web.xml for your webapp and
>Another option is to place your uploaded files in a particular
>subdirectory and then configure the JSP servlet to ignore that
>directory. Or probably more appropriately, configure that directory to
>serve everything through the generic servlet that just does static content.
This is exectly what
On Tuesday 23 January 2007 15:51, Mikolaj Rydzewski wrote:
> David Goodenough wrote:
> > On the slow machine it takes 30 seconds to send back the 302
> > rewriting the URL so that it has a jsessionid, and then 16
> > seconds to serve the HTML for the logon page.
>
> Looks like a DNS timeout value.
> Whenever you have connection pool setup
> in mod_jk it means you don't have constant connections
> any more. The connection pool will maintain the
> connections and close them by some rule (size).
> Now, having that you *must* have connectionTimeout="6"
> in server.xml for the AJP conne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sachin,
Sachin Patel wrote:
>> Another option is to place your uploaded files in a particular
>> subdirectory and then configure the JSP servlet to ignore that
>> directory. Or probably more appropriately, configure that directory
>> to serve everyt
Hi everyone
I'm trying to setup Tomcat as a service on 64-bit Windows with 64-bit
Java, but are having trouble installing the service. The Tomcat runs
properly when started using startup.bat.
I have installed JDK 1.5.0_10 for 64-bit Windows and Tomcat 5.5.20 from
the zip file on tomcat.apache.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Goodenough wrote:
> Currently it looks to me as though the problem is with the multicast
> messages for the clustering. I found a timeout message which is suggesting
> that for some reason although the slow machine can send messages to
Thanks. I'll look it up. :)
- Original Message
From: Christopher Schultz <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Tuesday, January 23, 2007 1:11:58 PM
Subject: Re: tomcat Webapp security.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sachin,
Sachin Patel wrote:
>> Another opt
JNeuhoff wrote:
The web service still receives requests and responds
normally, yet mod_jk now always comes up with this in its mod_jk.log:
Increase the connection pool from 10 to 50 and see what happens.
Regards,
Mladen.
-
T
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat Webapp security.
>
>
> jsp
> *.jsp
>
>
> jsp
> *.jspx
>
> (Not sure why this mapping is in there twice, but whatever...)
They are different mappings; using *.jsp* for t
On Tuesday 23 January 2007 18:14, Christopher Schultz wrote:
> David,
>
> David Goodenough wrote:
> > Currently it looks to me as though the problem is with the multicast
> > messages for the clustering. I found a timeout message which is
> > suggesting that for some reason although the slow machi
Hi David,
1. Have you double and tripple checked that all your configs on both
machines as well as tomcat/jdk/OS versions are identical?
2. Have you tried rebooting? There were some memory bugs with later
kernel, I don't remember if the 2.6.16 is affected, but just in case.
3. How exactly do y
another, cheaper, option, is to put your files under WEB-INF and put a
filter into webapp which denies all requests to a jsp if its not under
WEB-INF. And of course deny all requests to upload something into
WEB-INF.
regards
Leon.
On 1/23/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> Fr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: tomcat Webapp security.
>>
>>
>> jsp
>> *.jsp
>>
>>
>> jsp
>> *.jspx
>>
>> (Not sure why thi
Just curious if anyone is fronting Tomcat with the standalone OHS
product. And if this is even viable.
Thanks
SB
OK, one small error or typo in communication:
connection timeout on mod_jk side is in seconds, on tomcat side is in
milliseconds. So Mladens suggestion had a missing trailing 0 to make the
params on the two sides fit. I think he meant connectionTimeout=60
to make it fit the 600 on the mod_jk s
Hi,
heind heind schrieb:
> Hi,
>
> I have a web application deployed in tomcat embedded in jonas 4.7.4
> Application Server, and in frontend there are apache 2.0.55 and mod_jk
> 12.20.
>
> My issue is that the message below is generated systematically after every
> jsp call although the jsp ar
> Increase the connection pool from 10 to 50 and see what happens.
Which one? The connection_pool_minsize or connection_pool_size? Our
ThreadsPerChild is currently set to 250, and if I understand the
documentation correctly, the default for connection_pool_size should be set
to the same value, th
I am seeing the same problem, via a different route. Check this out -- it
solves this specific problem for me:
http://issues.apache.org/bugzilla/show_bug.cgi?id=39804
I made a simple listener which calls
Class.forName("org.apache.jasper.compiler.JspRuntimeContext"); first
Sean
--
View this mes
I'm trying to set up an AJP connector between Apache 2 (red hat) and
Tomcat 5.5 (red hat) running on two different servers.
ServerName server2.domain.com
DocumentRoot "/var/www/html"
JkMount /id/admin/* tomcat559
worker.list=tomcat559,jboss322
worker.tomcat559.maintain=60
worker.tomcat559.type
> connection timeout on mod_jk side is in seconds, on tomcat side is in
> milliseconds. So Mladens suggestion had a missing trailing 0 to make the
> params on the two sides fit. I think he meant connectionTimeout=60
> to make it fit the 600 on the mod_jk side.
Thanks, you are right, there was
JNeuhoff schrieb:
>> connection timeout on mod_jk side is in seconds, on tomcat side is in
>> milliseconds. So Mladens suggestion had a missing trailing 0 to make the
>> params on the two sides fit. I think he meant connectionTimeout=60
>> to make it fit the 600 on the mod_jk side.
>
> Thanks,
[EMAIL PROTECTED] schrieb:
> I'm trying to set up an AJP connector between Apache 2 (red hat) and
> Tomcat 5.5 (red hat) running on two different servers.
>
>
> ServerName server2.domain.com
> DocumentRoot "/var/www/html"
> JkMount /id/admin/* tomcat559
>
OK, no rules for jboss322, so we can ig
Too many acronyms in my life. OHS?
-Original Message-
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 14:52
To: users@tomcat.apache.org
Subject: Oracle OHS and Tomcat
Just curious if anyone is fronting Tomcat with the standalone OHS
product.
> Do I remember correctly, that Apache and Tomcat are on the same machine?
> Is there a firewall on this machine?
They are both on the same machine. Apache is listening to a dedicated
IP-address, on port 80, while Tomcat is configured to using localhost, and
listens to port 8080 (http) and 8009 (
Leon Rosenberg wrote:
Hi David,
1. Have you double and tripple checked that all your configs on both
machines as well as tomcat/jdk/OS versions are identical?
Of course, (at this risk of stating the obvious), there are some things
that shouldn't be identical... what network configuration are
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat Webapp security.
>
> Ugh. What about re-mapping the jsp-servlet to only process
> things in a subdir?
Might work, but I haven't looked at the code to see if the JspServlet
can handle the prefix in the ; would need testi
When I start my tomcat server with our application, I get the following
errors and the tomcat fails to startup:
SEVERE: End event threw exception
org.apache.commons.logging.LogConfigurationException: User-specified log
class 'com.sun.idm.logging.trace.TraceLogger' cannot be found or is not
useabl
I would like to know if its possible to look-up all the JNDI resources I have
created in the tomcat admin. I have a web app that create a number of JNDI
data sources for under the service\host\mywebapp.
My question, is it possible in java, or jsp to query that list? and display
them? I would
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anoop,
Anoop kumar V wrote:
> When I start my tomcat server with our application, I get the following
> errors and the tomcat fails to startup:
>
> SEVERE: End event threw exception
> org.apache.commons.logging.LogConfigurationException: User-specifi
Jason Pyeron wrote:
> Too many acronyms in my life. OHS?
Oracle HTTP Server. Pretty much a copy of httpd last time I looked.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
You raise a question I have been wondering about for quite some time,
why is it that some libraries need to go in different places, I tend to
just copy them to different places until it works (: How does one learn
these things?
Christopher Schultz wrote:
If you are putting it into your webapp
Jacob Rhoden wrote:
> You raise a question I have been wondering about for quite some time,
> why is it that some libraries need to go in different places, I tend to
> just copy them to different places until it works (: How does one learn
> these things?
Reading the documentation is usually a goo
This question being asked many times by many people.
Context path="xxx" is not supposed to be used unless you mention it at
server.xml but its strongly discouraged.CMIIW
so far i only use the war name as its deploy path like foo.war will map to
localhost:8080/foo/
On 1/24/07, DHARNA, AJAY [AG/
Hi,
I had posted this question earlier on the users mailing list and got no
response, so I am going to try and re-post it again and also post it on the
dev mailing list.
I have recently upgrade from tomcat 5.0.28 to 5.5.20 and everything seems to
be working fine for most of my apps except for the
Yes - the documentation does help. But I think Tomcat is a bit too strict
in applying the specs - or maybe the specs are too rigid. Why not load
classes wherever they are found!!
Anyways - The delivery of the environment was today and as soon as I deleted
the j2ee.jar from the webapp//WEB-INF/li
The reason they don't load the classes where ever they may be found is
because different web apps may be using different
versions of the API. This could provide inconsistencies that could
cause applications to fail unexpectedly, or cause errors
more abstract than most developers would want to
63 matches
Mail list logo