Johnny,
Indeed. I only yesterday discovered the crossContext flag and the
getServletContext(String) call in the API, however my reading tells me that
most servlet containers don't support it, being that they simply return null.
For Tomcat you can specify the crossContext flag for that not to ha
Not naive at all; I think it's an entirely relevant and obvious question.
In my situation we have a system that's administered by a different
group than mine (we're merely application programmers) and the system
administrators have settled on doing things this way. They're
understaffed and ov
Excellent; thanks!
Johnny Kewl wrote:
- Original Message - From: "Rusty Wright"
<[EMAIL PROTECTED]>
To: "Markus Lord" <[EMAIL PROTECTED]>; "Tomcat Users List"
Sent: Tuesday, October 07, 2008 11:31 PM
Subject: Re: tomcat ROOT
Hi Markus, did you ever figure this out? I was looking
Adding some more findings.-The
java.security.AccessController.doPrivileged(AccessController.java:147)
is a native method.
-Using java 1.5.0 to start the tomcat with Security Manager enabled works
fine.
Figuring out what has changed in java.security across 1.4.2 and 1.5
On Thu, Oct 9, 2008 at 4:55
I don't know how that will help in lowering down the CLOSE_WAITS from
tomcat to apache. I'll look at it though.
On Wed, Oct 8, 2008 at 3:07 PM, Serge Fonville <[EMAIL PROTECTED]> wrote:
> I'm recently new to tomcat, but still I hope I am able to help a little.On
> one end, any connection object sh
- Original Message -
From: "Darryl Pentz" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, October 08, 2008 10:02 PM
Subject: Re: Communicating between webapps
Bill,
You would think so but it isn't that easy. Which is good to some degree,
because that would seem like a
Darryl Pentz wrote:
You would think so but it isn't that easy. Which is good to some degree,
because that would seem like a scary security vulnerability. Nevertheless,
besides that, Tomcats classloader hierarchy also prevents this mechanism.
So if I'm understanding you correctly, different
Greetings,
Does Tomcat have an option to allow POSTs that do not have a
Content-Length header, but instead only provide a range:
Range: bytes=0-
This is common for streaming media delivery software which may POST live
data, or with other system that cannot predetermine the stream length.
It
Hi Charles,
The additional
On Thu, Oct 9, 2008 at 1:49 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Vijayaraghavan Amirisetty
> > [mailto:[EMAIL PROTECTED]
> > Subject: Exception while running web application with Tomcat
> > security manager enabled
> >
> > I am trying to run
On 6 Oct 2008 at 14:58, Christopher Schultz wrote:
> Maurizio,
Christofer,
> Maurizio Lotauro wrote:
> > I already read this rfc and now I have read it again, but I'm
> unable to found where it
> > describe that the server can answer with 401 before the client has
> finished to send all data.
I'm recently new to tomcat, but still I hope I am able to help a little.On
one end, any connection object should be nulled so the garbage collector can
pick it up.
On the other end, in server.xml define an executor and refer it in the
connector, that way, you can specify the idle time and the maxim
So I tried all the options. I also changed the code to use connection
pooling with only 2 connections but still there are bunch of
CLOSE_WAITS. As soon as I stop tomcat all of them go away. I am not
able to figure out why there are so many CLOSE_WAITS hanging around
when I just have 2 connections i
> From: uddav [mailto:[EMAIL PROTECTED]
> Subject: Creating virtual directory in Tomcat - HTTP Status 404 ...
>
> docBase="/dirtest/prod_scrpts"
> URL "http://:8080/test" i get the error:
> HTTP Status 404 - /test/
Unless you have a welcome file (e.g., index.html) i
What is in the directory /dirtest/prod_scrpts? If it doesn't have a
file named index.jsp, index.html or index.htm (defaults set in
conf/web.xml) then it will give a 404. Try a very small "hello world"
html page for one of those files. The default is to disable file
listings for directories w
hello everyone,
i am a novice in this field. I was trying to create a virtual directory
(alias directory) in Tomcat in Solaris box. Following is what i did.
1. stopped tomcat
2. located the "server.xml" file under /tomcat/conf
2. edited it to add
3. added the above between
No Problem,
Glad I could actually answer one of the questions on this list!
-Tim
steve kirby wrote:
Hi Tim,
Thanks! It was a firewall issue. All is well. You saved me a lot of time.
Greatly appreciate it! Now, back to architecting
Regards,
Steve
--- On Wed, 10/8/08, steve kirby <
Frank Uccello wrote:
> Tomcat redirector for iss not working
>
> I can http://localhost:8080/app/servlet but not
> http://localhost/app/servlet
>
> It give me The page cannot be found error
>
>
> Please help
I very much doubt anyone on this list is going to be able to help given the
informat
Alan Butler wrote:
> Thank you. How do I grant it permission or run without a security
> manager?
Don't start Tomcat with the -security option.
Mark
>
> -Alan
>
> -Original Message-
> From: Mark Thomas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2008 12:37 PM
> To: Tomca
Hi Tim,
Thanks! It was a firewall issue. All is well. You saved me a lot of time.
Greatly appreciate it! Now, back to architecting
Regards,
Steve
--- On Wed, 10/8/08, steve kirby <[EMAIL PROTECTED]> wrote:
> From: steve kirby <[EMAIL PROTECTED]>
> Subject: Re: can't get "success" p
oh, of course, and that is easy
1. svn co http://svn.apache.org/repos/asf/tomcat/trunk
2. cd trunk
3. ant download
4. ant
catalina-tribes.jar would be in outbuild/build/lib/catalina-tribes.jar
Filip
Mike Wannamaker wrote:
Yes, I know it's in the tomcat distribution, but lets say you fix the
> From: Vijayaraghavan Amirisetty
> [mailto:[EMAIL PROTECTED]
> Subject: Exception while running web application with Tomcat
> security manager enabled
>
> I am trying to run a simple webapp on tomcat 5.0
The 5.0 branch is no longer supported; can you try it on 5.5 or 6.0?
> i.e with the addition
> From: Darryl Pentz [mailto:[EMAIL PROTECTED]
> Subject: Re: Communicating between webapps
>
> Nevertheless, besides that, Tomcats classloader
> hierarchy also prevents this mechanism.
If you put the singleton's class in the common library, it will be accessible
to both webapps. However, you ha
Bill,
You would think so but it isn't that easy. Which is good to some degree,
because that would seem like a scary security vulnerability. Nevertheless,
besides that, Tomcats classloader hierarchy also prevents this mechanism.
It would be useful if there was some form of publish-subscribe mess
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jérôme Delattre
> Subject: Re: JNDIRealm - mapping LDAP group to security role
>
> What should I do with it? add the same for each
> LDAP group to all my Servlets? sound strange...
Yes, you're right; I missed that this was servlet
2008/10/8 Felix Schumacher <[EMAIL PROTECTED]>:
> Hi Jerome,
>
> have you thought about adding an extra attribute to the groups, so that
> the mapping is done by a normal ldap query?
>
> Consider having an objectClass tomcatRoleMapping which has one attribute
> tomcatRole. Than with your mapping li
2008/10/8 Caldarale, Charles R <[EMAIL PROTECTED]>
>
> > From: Felix Schumacher [mailto:[EMAIL PROTECTED]
> > Subject: Re: JNDIRealm - mapping LDAP group to security role
> >
> > have you thought about adding an extra attribute to the
> > groups, so that the mapping is done by a normal ldap query?
Yes, I know it's in the tomcat distribution, but lets say you fix the
TCPFailureDetector I would have to wait until a new version of tomcat is
published before getting the fix? There is no repository I could get it from
and build myself?
Mike
-Original Message-
From: Filip Hanik - Dev
hello, I am trying to run a simple webapp on tomcat 5.0 with the
security manager enabled
i.e with the additional options -Djava.security.manager
-Djava.security.policy=%CATALINA_BASE%\conf\catalina.policy for the tomcat
JVM.
I get the following Stack Trace when I point the browser to my
Peter Rossbach wrote:
Hi,
I don't have this problem at tomcat 6.0.18
protocol="HTTP/1.1"
connectionTimeout="6" URIEncoding="UTF-8" />
executor="tomcatThreadPool" protocol="HTTP/1.1"
connectionTimeout="6" URIEncoding="UTF-8" />
Test with fol
catalina-tribes.jar
it depends on
tomcat-juli.jar
both of them are in the binary distribution for Tomcat
Filip
Mike Wannamaker wrote:
Cool,
Is there a repository to just get the tribes jar or just the tribes source
without having to get all of tomcat to get it?
Like a SVN or CVS repositor
Thank you. How do I grant it permission or run without a security
manager?
-Alan
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 12:37 PM
To: Tomcat Users List
Subject: Re: Help with installing orbeon.war. Running tomcat on vmplayer
Alan
Alan Butler wrote:
> After sifting through the other applications on tomcat to see what was
> different I found one thing. In my
> /usr/share/tomcat5.5/work/Catalina/localhost directory there is a
> directory for each application installed. Under each of these
> directories there is a tldCache.se
Hi,
I am running Tomcat 5.5 on vmplayer. I have successfully ran several
simple programs such as a sample.war. I am now trying to run
orbeon.war. I deployed it through the manager in the same way, but when
I try to go to localhost:8180/orbeon it says this application is not
available and it
Darryl Pentz wrote:
I have an issue where webapp A needs to let webapp B know about an event, and
then return a response to webapp B's processing of that event to the browser.
So basically I need to communicate between webapps in the same container.
I have not found a no-brainer solution to th
Hi Tim,
That is a good question - I am not sys admin on this system so will have to
relay this one. Based on no errors showing up, that definitely seems like it
is the problem. Will let you know after I test here.
Thanks much,
--Steve
--- On Wed, 10/8/08, Tim J Schumacher <[EMAIL PROTECTED]
Is port 8080 open? I just went through this and had to use the fedora
system config firewall script to open it.
Tim
steve kirby wrote:
Hi,
I had been building web products on a different Linux server, but that crashed,
so I need to get apache tomcat going on a new Linux server.
I'
Hi,
I had been building web products on a different Linux server, but that crashed,
so I need to get apache tomcat going on a new Linux server.
I'm trying to run apache-tomcat-5.5.15. I have JAVA_HOME and CATALINA_HOME set.
I do startup.sh and the catalina.out log file indicates succes
HI Mike,
tribes is part of tomcat. Yoo can find the svn repo links at
http://tomcat.apache.org/svn.html
Peter
Am 08.10.2008 um 17:18 schrieb Mike Wannamaker:
Cool,
Is there a repository to just get the tribes jar or just the tribes
source without having to get all of tomcat to get it?
Am Mittwoch, den 08.10.2008, 12:04 -0500 schrieb Caldarale, Charles R:
> > From: Felix Schumacher [mailto:[EMAIL PROTECTED]
> > Subject: Re: JNDIRealm - mapping LDAP group to security role
> >
> > have you thought about adding an extra attribute to the
> > groups, so that the mapping is done by a n
> From: Felix Schumacher [mailto:[EMAIL PROTECTED]
> Subject: Re: JNDIRealm - mapping LDAP group to security role
>
> have you thought about adding an extra attribute to the
> groups, so that the mapping is done by a normal ldap query?
Even that's not necessary. The servlet security model already
Hi Jerome,
have you thought about adding an extra attribute to the groups, so that
the mapping is done by a normal ldap query?
Consider having an objectClass tomcatRoleMapping which has one attribute
tomcatRole. Than with your mapping like below
> securityrole1=group1,group2,group4
> securityrole
Cool,
Is there a repository to just get the tribes jar or just the tribes source
without having to get all of tomcat to get it?
Like a SVN or CVS repository I could get the fix from and build myself?
Thanks
Mike
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Nicola Burns wrote:
test1.foo.com works. Test2.foo.com goes to the same application because
they are both reading from the localhost mod-jk.conf.
Try to use apache 2.x with mod_proxy_ajp - there's no mod-jk.conf file,
you configure connections to ajp connectors inside VirtualHost elements
in
Karthik Nanjangude wrote:
> Hi
>
>
> SPEC
> TOMCAT 6018
> O/s UNIX11
> J2SDK 1.6
>
>
> Folder : /root/images
> Web application folder : /root/TOMCAT6018 / webapps / XYZAPPS
>
>
> Note: by defining the xml in context under
> TOMCAT6018/conf/Catalina\localhost
> Virtual Mapp
AlexM3 wrote:
> Resolved!!!
>
> There was a mailapi.jar in the application. Tomcat 5 priorzed his library in
> front of that one, however, the new Tomcat 5.5 prioriced that aplication
> library before his lib and it crashed.
>
> Is there any place where you can configure that?
I am afraid not. I
Folder : /root/images
Web application folder : /root/TOMCAT6018 / webapps / XYZAPPS
Question
Can a external folder be mapped to Tomcat 'specific 'web
application' only as shown below
If a folder is external, why should it be considered as part of the
webapp context ?
A popul
Resolved!!!
There was a mailapi.jar in the application. Tomcat 5 priorzed his library in
front of that one, however, the new Tomcat 5.5 prioriced that aplication
library before his lib and it crashed.
Is there any place where you can configure that?
Thanks a lot for your help!
--
View this mes
Hi
SPEC
TOMCAT 6018
O/s UNIX11
J2SDK 1.6
Folder : /root/images
Web application folder : /root/TOMCAT6018 / webapps / XYZAPPS
Note: by defining the xml in context under TOMCAT6018/conf/Catalina\localhost
Virtual Mapping as 'http://:/images' can be achieved
Question
Can
André Warnier wrote:
Does what I write above make sense ? is this allowed/feasible ? how
hard is it ? where ?
Could one for instance realise this in the form of a ,
which appears to live at a level common to all Hosts ?
You can use/modify Tomcat to allow webapps to communicate with each
other.
2008/10/8 Mohit Anchlia <[EMAIL PROTECTED]>:
> I can see you can't wait to hear the debate. Anyhow, I am using
> HttpClient from apache commons and I do have .getReleaseConnection().
>
See comment #22 here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=28727#c22
and the message thread that it
Brantley Hobbs wrote:
Darryl Pentz wrote:
I have an issue where webapp A needs to let webapp B know about an
event, and then return a response to webapp B's processing of that
event to the browser. So basically I need to communicate between
webapps in the same container.
Since Daryl seems t
Hi,
Is it possible to have the following scenario configured?
Virtual host
test1.foo.com using apache on server1
configured in workers.properties file as workerA that points to
localhost jboss
And
test2.foo.com also using apache on server1
configured in the workers.propert
Darryl Pentz wrote:
I have an issue where webapp A needs to let webapp B know about an event, and
then return a response to webapp B's processing of that event to the browser.
So basically I need to communicate between webapps in the same container.
I have not found a no-brainer solution to t
Darryl Pentz wrote:
I appreciate the suggestions from all so far. It does seem like at least there isn't a
'no-brainer' approach, as in "of course stupid, why don't you just do X - everybody
else does". It sounds like each solution has its clear pros and cons which must be
weighed up in light
In my case, webapp A needs to let webapp B know that an event has occurred ...
webapp B then does something based on that event, and the result of that action
is relevant to webapp A.
I did in fact use HttpURLConnection because the original HttpClient class
(Commons I think) was a memory pig an
Mikolaj Rydzewski wrote:
Leon Rosenberg wrote:
You need additional lib (commons httpclient), you need special
servlet/action/jsp on B-side, you probably need to start threads, you
need to monitor those on A side, and and and...
One can use HttpURLConnection. There're probably some actions/jsp
Leon Rosenberg wrote:
You need additional lib (commons httpclient), you need special
servlet/action/jsp on B-side, you probably need to start threads, you
need to monitor those on A side, and and and...
One can use HttpURLConnection. There're probably some actions/jsps
already in the webapp,
Hi,
I don't have this problem at tomcat 6.0.18
protocol="HTTP/1.1"
connectionTimeout="6" URIEncoding="UTF-8" />
executor="tomcatThreadPool" protocol="HTTP/1.1"
connectionTimeout="6" URIEncoding="UTF-8" />
Test with folloing index.jsp
<%= new
On Wed, Oct 8, 2008 at 12:00 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
> Darryl Pentz wrote:
>>
>> I have not found a no-brainer solution to this as yet. The one I have
>> tried is making a localhost HTTP call which I find to be rather expensive,
>> given that it requires creating a socket c
Darryl Pentz wrote:
I have not found a no-brainer solution to this as yet. The one I have tried is
making a localhost HTTP call which I find to be rather expensive, given that it
requires creating a socket connection to the same container.
Have you actualy measured that additional local HTTP
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Maybe hacks, but why not use them if they are easier, faster,
> and have a smaller memory footprint ?
Because they can be harder to maintain. Note *can be* - it depends on the
developers and admins.
> Not being very good at either Java or Tomcat
Leon Rosenberg wrote:
RMI, CORBA or (worst choice) SOAP.
Everything else, like using libs in shared/server folders etc are hacks :-)
Leon
On Wed, Oct 8, 2008 at 10:53 AM, Darryl Pentz <[EMAIL PROTECTED]> wrote:
I have an issue where webapp A needs to let webapp B know about an event, and
the
cooper5114 wrote:
> it's a clean download tar.gz from apache.
When you copied x.war to webapps, did it expand into a x directory? If
so, is the contents what you expect? If not, did you change anything in
server.xml? Are the permissions on the file correct?
Mark
>
>
> markt-2 wrote:
>> cooper
2008/9/23 Jérôme Delattre <[EMAIL PROTECTED]>
> Hello,
>
> Env: Tomcat 6.0.18 / Java 6 / Windows
>
> I am trying to configure a JNDIRealm to authenticate against an Active
> Directory.
> http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm
>
> The authentication seems to work but I w
RMI, CORBA or (worst choice) SOAP.
Everything else, like using libs in shared/server folders etc are hacks :-)
Leon
On Wed, Oct 8, 2008 at 10:53 AM, Darryl Pentz <[EMAIL PROTECTED]> wrote:
> I have an issue where webapp A needs to let webapp B know about an event, and
> then return a response t
I have an issue where webapp A needs to let webapp B know about an event, and
then return a response to webapp B's processing of that event to the browser.
So basically I need to communicate between webapps in the same container.
I have not found a no-brainer solution to this as yet. The one I h
66 matches
Mail list logo