2008/2/20, Christian Andersson <[EMAIL PROTECTED]>:
> all our html pages uses the utf-8 encoding, using slapcat and looking at
> the content the data inside openldap seems to be using utf-8 (the output
> from slapcat is at least utf-8,but I don't know if slapcat converts
> anything)
This might
& also, check, Port 80 or 8080 is open or not..
On Fri, Feb 29, 2008 at 1:19 PM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Ryan Webb [mailto:[EMAIL PROTECTED]
> > Subject: I can't access my webapplication from another computer
> >
> > Unfortunately, when I tried to access my weba
> From: Ryan Webb [mailto:[EMAIL PROTECTED]
> Subject: I can't access my webapplication from another computer
>
> Unfortunately, when I tried to access my webapplication from
> another computer, I tried to type from url:
> http://192.168.1.2/webapplication/login.jsp, the browser
> always gives
can not comment, anything, Untill U r telling me, your Operating System
On Fri, Feb 29, 2008 at 1:17 PM, Antonio Petrelli <
[EMAIL PROTECTED]> wrote:
> 2008/2/29, Ryan Webb <[EMAIL PROTECTED]>:
> >
> > http://192.168.1.2/webapplication/login.jsp
>
>
>
> Is the machine behind a firewall (even soft
2008/2/29, Ryan Webb <[EMAIL PROTECTED]>:
>
> http://192.168.1.2/webapplication/login.jsp
Is the machine behind a firewall (even software firewall)?
Is your client computer in the same subnet of your server?
Antonio
what's the tomcat port? & ur OS ?
On Fri, Feb 29, 2008 at 1:14 PM, Ryan Webb <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am new to Tomcat and i wish you would lend a hand.
>
> Here's the situation:
> I installed Tomcat 6.0.14 full install and I copied my .war file into
> /webapps
> I checked if m
anyone ?
Christian Andersson skrev:
Hi, we have setup Tomcat (6.0.10) to authenticate using form
authentication against openldap (2.3.27) with the jndirealm and
everything works alright except one little bit of a problem.
if the user name has national characters in it (åæø for norwegian) or
Hello,
I am new to Tomcat and i wish you would lend a hand.
Here's the situation:
I installed Tomcat 6.0.14 full install and I copied my .war file into /webapps
I checked if my webapplication is running by typing
http://localhost/webapplication/login.jsp
and it worked ok..
Problem:
Unfortun
Hi Chunk,
I saw it, thank u very much!
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 2:55 PM
To: Tomcat Users List
Subject: RE: Zero-pad the chunk length which generated by tomcat
automatically
> From: Hanks Wang (hanwan) [mailt
> From: Hanks Wang (hanwan) [mailto:[EMAIL PROTECTED]
> Subject: RE: Zero-pad the chunk length which generated by
> tomcat automatically
>
> So all I want to know is whether I can use some way to zero-pad the
> chunk-length which generated by tomcat.
I don't see any way to do so via configurati
Hi Chuck,
Maybe I used a improper word here. I know the spec doesn't say the
chunk-size has to be zero-pad to eight bytes.
But unfortunately there is such a case indeed and the real device sends
all chunk with chunk-size zero-filled.
And I need simulate the device and send the same response as th
> From: Hanks Wang (hanwan) [mailto:[EMAIL PROTECTED]
> Subject: Zero-pad the chunk length which generated by tomcat
> automatically
>
> In real world, the chunk-size will be "zero-pad" until 8 bytes.
Where in the HTTP RFC do you find any requirement to zero-fill the
chunk-size to eight bytes?
Hi Filip,
Seems the method still has a problem:
In real world, the chunk-size will be "zero-pad" until 8 bytes.
For example: if I have a chunk which length is 20(HEX),
The chunk-length should be : 0020
But the chunk-length generated by tomcat is 20.
Is it possible to make tomcat zero-pad
> From: Patrick Lee [mailto:[EMAIL PROTECTED]
> Subject: Unable to read shell environment variables
>
> It looks like getShellEnvironment() is testing for specific versions
> of Windows and 2008 is not one of them, then defaulting to the unix
> call and throwing the "Cannot run program env" error
Hi,
I'm getting this error when trying to use CGI under tomcat on Windows
Server 2008":
javax.servlet.ServletException: Unable to read shell environment variables
This line also displays:
Cannot run program "env": CreateProcess error=2,
It looks like getShellEnvironment() is testing for specif
My God, I am actually not aware of that despite it's so obvious...
Thank u Filip!
B.R
Han
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 11:51 PM
To: Tomcat Users List
Subject: Re: how to send http response in several chunked
This is what I use to make sure dynamic data is not cached:
resp.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
resp.setHeader("Cache-Control", "no-store, no-cache, must-
revalidate");
resp.addHeader("Cache-Control", "post-check=0, pre-check=0");
resp.setH
(Please excuse the boring licensing details, but I've seen a lot of
misinformation on this topic.)
Microsoft Windows is licensed per-processor, not per-core. XP Home
supports 1 processor and XP Pro supports 2 processors. Each processor
may have multiple cores. Server versions can support more than
In addition to Freds remark:
Usually you want the "LAST" variant, instead of the "FIRST" variant. The
two are the same, if a loab balancer only tries one worker, but in case
of an error and failover, FIRST will be the first worker tried (so the
failed one) and LAST the last one, so usually the
Hi,
I have a servlet that loops and writes normally to catalina.out with
System.out.println(iteration);
I can tail -f catalina.out and see the iterations as they happen.
The problem is that after configuring the applications logging.properties as
shown below and set the application context
[EMAIL PROTECTED] a écrit :
I m trying to setup tomcat as below. The host blocks have ips in them.
I have a proxy configured in front of the tomcat with an external ip
which receives all the request for the sites from the external world
and contacts the tomcat (with different hosts configured). T
> From: Jason Pyeron [mailto:[EMAIL PROTECTED]
> Subject: RE: Support and development of versions
>
> It might not be, but it should not be.
> http://java.sun.com/j2se/1.5.0/compatibility.html
> and
> http://java.sun.com/javase/6/webnotes/compatibility.html
Other than enum becoming a reserved wo
Jason Pyeron wrote:
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Current status is available from:
http://wiki.apache.org/tomcat/TomcatVersions
What does RTC, for the process field stand for?
Review Then Commit. It means every patch must get at least 3 more
XP Home only supports one core - however, that would hardly be an OS for
a production web server (grin)
XP Professional is limited to 2 cpus
I would suspect that the OPs factors were related to IO Bandwidth or
running out of threads as suggested earlier. I've found that a modern
multicore mach
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 28, 2008 16:12
> To: Tomcat Users List
> Subject: RE: Support and development of versions
>
> > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED]
> > Subject: Re: Support and dev
> From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED]
> Subject: Re: Support and development of versions
>
> Could someone help me understand the differences between the servlet
> and JSP versions?
The servlet and JSP specs are the place to look. Each document includes
a section on what's cha
> -Original Message-
> From: Mark Thomas [mailto:[EMAIL PROTECTED]
>
> Current status is available from:
>
> http://wiki.apache.org/tomcat/TomcatVersions
>
What does RTC, for the process field stand for?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Does tomcat support multicores
>
> | Doesn't XP limit itself to two cores?
>
> I don't think so.
I'm sure some versions of XP are limited to two CPUs, since that was a
concern when HyperThreading was all the rage. It may be j
Hello
i am running Tomcat5.5.25 with Open ssl and native
libraries and JSVC
i need to use log4j logging for each of my
applications. So i need to configure a universal log4j
logger and then configure individually for each
application (in the WEB directory)
so i proceeded as follows
dow
On Thu, Feb 28, 2008 at 6:15 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
>
> Stephen Nelson-Smith wrote:
> > On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote:
> >> 4.1.37 is probably your best short-term solution, and work toward 6.x in
> >> the mid-to-long term.
> >
>
Hi,
btw, in your log format line you have %{JK_REQUEST_DURATON}n instead of
%{JK_REQUEST_DURATION}n see the missing I.
I am using 1.2.25 and i get times alike 0.0275 when using Apache 2.2
Rgds, Fred
Ahmed Musa wrote:
>
> Hallo,
>
> I am logging the mod_jk Output through the Apache access_lo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kerrin,
Kerrin Hardy wrote:
| Thanks for all your help so far.
No problem.
| I have the Security Filter working now (I had never used filters
| before, so I had a lot of reading to do), and my bespoke realm is now
| inheriting from SimpleSecurityRe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
|> From: Caldarale, Charles R
|> Subject: RE: Does tomcat support multicores
|>
|>> From: James Law [mailto:[EMAIL PROTECTED]
|>> Subject: Does tomcat support multicores
|>>
|>> Hi I'm running a tomcat server, and w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| We use a program called WAPT to ramp up the amount of requests sent
| to Tomcat, probably not the best way going off what has been said. It
| got to the point were it the Java process never go above 25% cpu
| usage while the
What kind of work is Tomcat doing for each request that WAPT sends in?
For example, if you were doing something that had to go back to a
database, and you had a bad sync block in your code somewhere, or
didn't have enough connections in your DB pool, that could cause it to
behave like it is single
Jonathan Mast wrote:
sorry
Tomcat 5.5.1
Apache 1.3.33
Java 1.4.2
And you are linking httpd and Tomcat how?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
sorry
Tomcat 5.5.1
Apache 1.3.33
Java 1.4.2
On Thu, Feb 28, 2008 at 1:19 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Jonathan Mast wrote:
> > I'm trying to a subdomain to our site but Tomcat is not finding the
> index
> > page correctly.
> >
> > Here are my entries into httpd.conf and server.x
Jonathan Mast wrote:
I'm trying to a subdomain to our site but Tomcat is not finding the index
page correctly.
Here are my entries into httpd.conf and server.xml:
ServerName foo.site.com
DocumentRoot /usr/local/apache/htdocs/foo
CustomLog /usr/local/apache/logs/foo.site.com_acc
Stephen Nelson-Smith wrote:
On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote:
4.1.37 is probably your best short-term solution, and work toward 6.x in
the mid-to-long term.
That was my gut feeling. Could you explain why that is? Is 5.5 a
wasteland? I'll need to unde
I'm trying to a subdomain to our site but Tomcat is not finding the index
page correctly.
Here are my entries into httpd.conf and server.xml:
ServerName foo.site.com
DocumentRoot /usr/local/apache/htdocs/foo
CustomLog /usr/local/apache/logs/foo.site.com_access_log combined
I have a tuning question for Tomcat 55 under Open VMS: should Java and
tomcat be installed on a system device or with other user applications?
Thank you,
Alex
Alex Chelminsky
[EMAIL PROTECTED]
781-290-1620 (office)
617-650-5453 (cell)
781-890-1208 (fax)
CSC Consulting, Inc.
Registered Office:
Chris-
That makes sense, because the SSL is between the web server and the
browser, and not a connector between two web servers - I've just never
used it so at first glance it looks like it redirects incoming traffic
to port 8443, which is Tomcat's default SSL port...
Thanks for the clarific
No worries, happens to the best of us.
I don't "think" tomcat is a reserved worker name - that said, I've seen
stranger things...
Anyway, regarding your host question, it depends. "localhost" should
work fine out of the box if your apache/tomcat are running on the same
server (assuming your
When I attempt to use the virtual webapp loader, I get the following error:
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException: start: : java.lang.ClassCastException:
org.apache.catalina.loader.VirtualWebappLoader cannot be cast to
org.apache.catalina.loader.Webap
tomcat is core agnostic, it lets the JVM handle it, and the answer is
yes, most JVMs will support multi core machines
Filip
James Law wrote:
Os - WinXP
CPU - Intel Quad Core
Hi I'm running a tomcat server, and would like to know if Tomcat can
make use of multiple cores? When I max the server
Filip,
That does it - set the cookie value in quotes and remove the
cookie.setVersion(1) on tomcat 5.5.26. I can now see the cookie file being
written under C:\Documents and Settings\Sushil\Cookies. A new browser
instance is also picking up the cookie.
Looks like the setVersion(1) sets the cookie
We use a program called WAPT to ramp up the amount of requests sent to Tomcat,
probably not the best way going off what has been said.
It got to the point were it the Java process never go above 25% cpu usage while
the memory usage increases accordingly. Which is why I assumed it would not
makin
It works just fine!
My guess would be that the load you're putting on it is single threaded, so
there's only a single thread executing on the server. You're really only asking
it to do one thing at a time.
Make sure that you're running multiple concurrent loads.
-Original Message-
From
> From: Caldarale, Charles R
> Subject: RE: Does tomcat support multicores
>
> > From: James Law [mailto:[EMAIL PROTECTED]
> > Subject: Does tomcat support multicores
> >
> > Hi I'm running a tomcat server, and would like to know if Tomcat can
> > make use of multiple cores?
>
> Of course - as
> From: James Law [mailto:[EMAIL PROTECTED]
> Subject: Does tomcat support multicores
>
> Hi I'm running a tomcat server, and would like to know if Tomcat can
> make use of multiple cores?
Of course - assuming your JVM does (and any modern JVM does - but you
didn't bother to mention which one yo
Chris,
Thanks for all your help so far.
I have the Security Filter working now (I had never used filters
before, so I had a lot of reading to do), and my bespoke realm is now
inheriting from SimpleSecurityRealmBase instead of Realm, and is now
located in my application instead of in a jar in to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| Os - WinXP
|
| CPU - Intel Quad Core
|
| Hi I'm running a tomcat server, and would like to know if Tomcat can
| make use of multiple cores? When I max the server out, all 4 cores see
| little usage however the java process n
Os - WinXP
CPU - Intel Quad Core
Hi I'm running a tomcat server, and would like to know if Tomcat can
make use of multiple cores? When I max the server out, all 4 cores see
little usage however the java process never uses more than 25%.
So this makes me believe that Tomcat does not make use of a
//first flush headers
response.flushBuffer()
//then flush body
while (havedata) {
response.getOutputStream().println(some data)
response.flushBuffer()
}
you need to put your thinker hat on Hanks :)
Hanks Wang (hanwan) wrote:
Hi Filip,
Seems the method has a problem : tomcat puts the http head
you probably have a 5.5 instance running on the same multicast address
somewhere, and so your 6.0.16 instance is getting packages from a node
you don't know about
give you TC6 instances a new multicast address or port
Filip
Martin Kristensen wrote:
Hi,
I am trying to upgrade two Tomcat 5.5 ser
I haven't looked at the code, but give this is a shot
Cookie cookie = new Cookie(Constants.REMEMBERME, "\""+username+"\"");
cookie.setMaxAge(Integer.MAX_VALUE);
response.addCookie(cookie);
Filip
Sushil Vegad wrote:
Filip,
As for the actual code, what I gave below is all there is to the cookie
Hi Filip,
Seems the method has a problem : tomcat puts the http header and part of
the body in the same chunk.
But I hope to generate the response in below format:
Suppose I need use String tmp as the response, tmp = part1 + part2 +
part3+part4;
we use 4 tcp frame totally for the http response:
F
Stephen Nelson-Smith wrote:
On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote:
4.1.37 is probably your best short-term solution, and work toward 6.x in
the mid-to-long term.
That was my gut feeling. Could you explain why that is? Is 5.5 a
wasteland? I'll need
> From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED]
> Subject: Re: Support and development of versions
>
> Is 5.5 a wasteland?
It's not a wasteland, whereas 5.0 is. However, the most attention goes
to the current level, while 4.1 and 5.5 activity is pretty much limited
to only serious bug fi
On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote:
> 4.1.37 is probably your best short-term solution, and work toward 6.x in
> the mid-to-long term.
That was my gut feeling. Could you explain why that is? Is 5.5 a
wasteland? I'll need to understand the rationale behind
Stephen Nelson-Smith wrote:
Hi,
So, I'm running an app which the development house say *has* to run on
4.1.31. I'm not especially happy about this, and will try running it
under 4.1.37, but the developers say they *might* be able to get it to
run under 5.5. I seem to recall a conversation in w
I m trying to setup tomcat as below. The host blocks have ips in them.
I have a proxy configured in front of the tomcat with an external ip
which receives all the request for the sites from the external world
and contacts the tomcat (with different hosts configured). The problem
is with Host name=
Hi Filip,
Yes it works. Thanks a lot!
Christopher, in fact I'm writing a servlet to fool a management
software, So I need make sure the servlet response is as close to real
device as possible.
Thanks for everyone's help.
B.R
Han
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[
Hi,
So, I'm running an app which the development house say *has* to run on
4.1.31. I'm not especially happy about this, and will try running it
under 4.1.37, but the developers say they *might* be able to get it to
run under 5.5. I seem to recall a conversation in which I was told
that 5.5 isn't
Filip,
As for the actual code, what I gave below is all there is to the cookie
code. The test case too would be what I described below.
I hadn't checked before, but we are facing this issue even with tomcat 5.0
when I do cookie.setVersion(1).
The other thing I noticed with cookie.setVersion(1) o
I get this error when I start my server. I tried many ports thinking they
were not free, but invain.
2008-02-28 13:22:21,380 6047 [main] ERROR
org.apache.catalina.core.StandardServer - StandardServer.await:
create[17008]:
java.net.BindException: Cannot assign requested address
at java.net
Hello
a servlet is running on port 9000 while apache in
running on port 80.
Is there a way to change this behavior so that users
who type
http://server1/OpenObject?doc=ERW
will receive the same content of
http://server1:9000/OpenObject?doc=ERW but the URL
does not change (stays
http://server1/Op
use mok_jk
Melanie Pfefer wrote:
> Hello
>
> a servlet is running on port 9000 while apache in
> running on port 80.
>
> Is there a way to change this behavior so that users
> who type
> http://server1/OpenObject?doc=ERW
>
> will receive the same content of
> http://server1:9000/OpenObject?doc=ER
I have set up a Tomcat 5.5 server on a Windows machine. I modified the
server.xml file to enable SSL, created and imported a self-signed cert
using keytool, and it appears to be working. I can access
https://myserver:8443 both locally and from another machine on the
network.
However, I am having
"Farid Izem" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I'm used to deploy java 1.5.0 and Tomcat 5.5 with jmx enabled. With
> this i can easily connect to MbeanServer using JConsole.
> Is there a way to do exactly the same with Java 1.4.2_XX and Tomcat
> 5.0 ? I'm f
My own 2 cents; I'm a Debian guy and I spent at least a month trying to get
Tomcat to run the way I wanted it. It so damn easy to do an "apt-get install
tomcat5.5" (or rpm), look at http://localhost:8180/ and see something working.
But I didn't get predictable behavior until I install Tomcat
Hi,
I am trying to upgrade two Tomcat 5.5 servers to version 6.0.16, but I´m
having a problem with the cluster settings.
The two current servers are using clustering now, and it is working fine,
but when trying to port this to version 6, I get the following error:
Feb 28, 2008 2:12:43 PM
org.apach
Hallo,
I am logging the mod_jk Output through the Apache access_log - as written in
the reference found under
http://tomcat.apache.org/connectors-doc/reference/apache.html
Because i want to get clearness about what exactly is going on in our system i
use the following LogFormat:
LogFormat "%h
"Farid Izem" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I'm used to deploy java 1.5.0 and Tomcat 5.5 with jmx enabled. With
> this i can easily connect to MbeanServer using JConsole.
> Is there a way to do exactly the same with Java 1.4.2_XX and Tomcat
> 5.0 ? I'm f
On Thu, Feb 28, 2008 at 12:38 PM, Pid <[EMAIL PROTECTED]> wrote:
> Stephen Nelson-Smith wrote:
> > I have deployed an application under Tomcat, fronted by Apache. I am
> > experiencing what looks like strange redirects when I try to use the
> > application.
> >
> > The front page is a login s
Stephen Nelson-Smith wrote:
I have deployed an application under Tomcat, fronted by Apache. I am
experiencing what looks like strange redirects when I try to use the
application.
The front page is a login screen, but if I try to login, Tomcat
attempts to locate a resource called /Login.jsp, whi
I have deployed an application under Tomcat, fronted by Apache. I am
experiencing what looks like strange redirects when I try to use the
application.
The front page is a login screen, but if I try to login, Tomcat
attempts to locate a resource called /Login.jsp, which doesn't exist.
The page sh
use mok_jk
Melanie Pfefer wrote:
Hello
a servlet is running on port 9000 while apache in
running on port 80.
Is there a way to change this behavior so that users
who type
http://server1/OpenObject?doc=ERW
will receive the same content of
http://server1:9000/OpenObject?doc=ERW but the URL
doe
Hi,
When I see this behaviour I don't see the output on the server (thanks
Yuval)
It is just suddenly on my browser..
Maybe it's my wireless Cable Modem...maybe caching or so...
I'll do some more debugging in the weekend..
ta
- Original Message -
From: "Christopher Schultz" <[EMAIL
Hello
a servlet is running on port 9000 while apache in
running on port 80.
Is there a way to change this behavior so that users
who type
http://server1/OpenObject?doc=ERW
will receive the same content of
http://server1:9000/OpenObject?doc=ERW but the URL
does not change (stays
http://server1/Op
80 matches
Mail list logo