Hi,
I tried configuring executor in tomcat 6.0.14 for AJP Connector like following:
!-- Define an AJP 1.3 Connector on port 8009 --
Connector port=8009 protocol=AJP/1.3 redirectPort=8443
allowTrace=false
executor=tomcatThreadPool connectionTimeout=2 /
While starting tomcat it
Thanks,
I now put % out.println(session.getId()); % in the page..
I see my sessionID, but then navigate to another page and then see the
sessionID of the other user!
then I press reload in my browser, and I get my own session again, till I
navigate again...
I am not sure if the session is
Hi Folks,
Can any body say if unstalling of JVM in a machine will effect to the Tomcat
service/server. We need to update the JVM in our production machine where
Tomcat 4.1 is running,
Becausewe have unstall the JVM but tomcat fails to start, please suggest
anybody. Thank you!!
Thanks
2008/2/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Can any body say if unstalling of JVM in a machine will effect to the
Tomcat service/server.
WTF?
In what language do you think Tomcat is written?
Antonio
:)
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 4:10 AM
To: Tomcat Users List
Subject: Re: JVM Uninstall
2008/2/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Can any body say if unstalling of JVM in a machine will effect to the
After un installing , did you install a JVM?
[EMAIL PROTECTED] 02/26/08 2:37 PM
Hi Folks,
Can any body say if unstalling of JVM in a machine will effect to the Tomcat
service/server. We need to update the JVM in our production machine where
Tomcat 4.1 is running,
Becausewe have unstall
I think you have not understood what I'm saying, we are facing one problem. We
have uninstall the JVM and install it again in our production tomcat server,
but the tomcat services it not working although it is set to automatic. Please
find attached the error.
From the event logs we find that
2008/2/26, [EMAIL PROTECTED] [EMAIL PROTECTED]:
I think you have not understood what I'm saying, we are facing one
problem. We have uninstall the JVM and install it again in our production
tomcat server, but the tomcat services it not working although it is set to
automatic. Please find
Did you set your JAVA_HOME environment variable correctly ??
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 4:23 AM
To: [EMAIL PROTECTED]; users@tomcat.apache.org;
users@tomcat.apache.org
Hi all,
Is there a way to make tomcat generate http response in chunked-encoding
style?
suppose I have a file resp.log and I can parse it in byte[], how can I
send the byte array in several chunked package?
Any suggestion is welcome!
Thanks
Han
Sorry for sending again, add the version info here:
Tomcat version: 6.0
Http Connector: org.apache.coyote.http11.Http11NioProtocol
Thanks
Han
I accessed from a new pc, which never accessed the page...
I'll do the System.out too
ta
Sascha
- Original Message -
From: Yuval Perlov [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, February 26, 2008 11:28 PM
Subject: Re: sessionID moves to other PC
Still, the main issue that remains is the jsp's.
We have three options here:
- Creating symlinks: this solves the problem in linux. In windows we
would have to copy manually or through a build script/maven extension
the content from outside the project to inside the war. Always a risk
to have
Maybe the browser is getting an old page from the cache?
Clear the browser cache and see if its better. Also, use a
System.out.println() and make sure what you are seeing on the browser
is what really happens on the server.
Yuval Perlov
www.r-u-on.com
On Feb 26, 2008, at 10:22 AM, Sascha
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
Most likely - the new jvm was installed into a different directory. And
the tomcat service knows nothing about the new directory.
The easiest thing to do would be to go into the registry and find the
Tomcat service - and then change the JVM path in the registry as needed.
(I can't recall the
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
Hummm, right, I haven't thought of it. But this would make the whole
deployment process awkward. The generation of the war and it's
expansion would have to be done manually, but it's one more option.
Thanks
Emerson
On 26/02/2008, Johnny Kewl [EMAIL PROTECTED] wrote:
My apologies; let me clarify:
Are there plans for session replication such that configuring server.xml
is unnecessary? So rather than configuring it at the server level and
simply marking a webapp as distributable, you could configure session
replication in a webapp's META-INF or WEB-INF.
Hi Folks,
This is a resurection of a problem that I think many fellow
Administrators are experiencing but I think there has never been a
real solution to the problem...
I am responsible for a web application
config is as follows
pix firewall - cisco loadbalance - apache webservers -
Hello Steve, this does not mean there is anything inherent in the use of the
loadbalancer that is causing the problem. IMHO you need to establish a baseline
metric with a real JVM testing tool (like JMeter). You need to create a model
of the real production environment and network topology
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew R Feller wrote:
| My apologies; let me clarify:
|
| Are there plans for session replication such that configuring server.xml
| is unnecessary? So rather than configuring it at the server level and
| simply marking a webapp as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| Christopher Schultz chris at christopherschultz.net writes:
|
| As I'm reading more in the API, I can see that the URL class has a
| constructor that takes a URLStreamHandler. Could you utilize this
| constructor instead?
|
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| actually I just realized that this is not gonna help if Tomcat does
not honor
| the java.protocol.handler.pkgs setting, because even if Tomcat can
load the JAR
| and knows where to look for it, it would still need to read this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sascha,
Sascha Monteiro wrote:
| I now put % out.println(session.getId()); % in the page..
| I see my sessionID, but then navigate to another page and then see the
| sessionID of the other user!
| then I press reload in my browser, and I get my own
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pranab,
[EMAIL PROTECTED] wrote:
| ops...please find attached now.
You will probably have to re-install your service (not Tomcat
entirely... just the service) since Tomcat has moved. I think you can
adjust the existing service in-place, but in your
Problems with /dev/random relate to waiting to generate enough entropy
after restart of the OS. Does this slow start up happen only after the
machine has been restarted or does it happen every time Tomcat is
started? If the latter, then it is unlikely to be associated with
/dev/random and much
Not easily. See Christopher's response in this thread chain. There is
not currently a way to not tell Tomcat that a request has come in and
not update the last ping time (or similar) on the Session.
Jason Pyeron wrote:
-Original Message-
From: Adam Gordon [mailto:[EMAIL
Hi David,
Really appreciate your pointers.. but cant give you all the answers as
i am not on site yet...
I have downloaded JMeter and hey presto it works out of the abox as it
said it would after I configured my $PATH variable to point to the
correct jdk..
So Now I need to create a simple
Hello Steve, you would fare much better to join the JMeter ML where the real
gurus haunt. HTH, David.
Steve Burt wrote ..
Hi David,
Really appreciate your pointers.. but cant give you all the answers as
i am not on site yet...
I have downloaded JMeter and hey presto it works out of the
Hmm... AJP Connector is definitely an option.
Mark H. Wood wrote:
Well, IF you are sure you want to use Apache HTTPD to frontend Tomcat,
there's no reason for Tomcat to run an HTTP connector at all. Just
use the AJP connector, and only allow it to listen to your frontend
service(s), or
Hello Steve, excuse the top post but one caveat: IMHO as I hurriedly explained
in the first post the all-around best and SERIOUS tesing using JMeter is the
distributed testing. However, like a lot of FOSS JMeter is not without a
gothca: JMeter has a concurrency problem but the work around is
Hi,
We would like to have 2-4 virtual hosts setup on a Tomcat 5.5.x server. I want
all of these applications to respond under /
I have read all the documentation on how to setup a new host in server.xml
with a custom appBase and then specify your context file in META-INF.
My question is, is
Filip, I tried it with 1, 2 or 4 acceptors and it had the same rate of
processing (about a third of all incoming requests).
If you figure out what is going on, and I'll send in the interesting
stack trace :)
I think I am going to file a bug for tracking/documentation purposes.
Sooner or later
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alan,
Alan Chaney wrote:
| Problems with /dev/random relate to waiting to generate enough entropy
| after restart of the OS. Does this slow start up happen only after the
| machine has been restarted or does it happen every time Tomcat is
| started?
kill -9 my friend :)
Andrew Hole wrote:
The valueUnbound is NOT being propagated from the TC instance shutting
down across the cluster. The valueunbound is executed when I do the shutdown
of an TC instance (session logout tracking was done - database record
inserted). After that I still work
Our code is the same as yours. Our scenario is we set the username in the
cookie when the user logs in
Cookie cookie = new Cookie(Constants.REMEMBERME, username);
cookie.setVersion(1);
cookie.setMaxAge(Integer.MAX_VALUE);
response.addCookie(cookie);
When the user opens a new browser
ahnf wrote:
My question is, is there any way other than making the application's root directory be ROOT or deployed under ROOT/ in order to get it to respond to /? I tried the path attribute but it says that it is only valid when the Context is defined in server.xml and not in
Mark Thomas wrote:
ahnf wrote:
My question is, is there any way other than making the application's
root directory be ROOT or deployed under ROOT/ in order to get it to
respond to /? I tried the path attribute but it says that it is
only valid when the Context is defined in server.xml and not
If you are using apache, you still need to name your Virtual hosts in the
httpd.conf.
I am myself having mod_jk issues and awaiting response.
ahnf wrote:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Does this work for TC5.5.x??? that is for TC6
-Original
Lessie Z. Mitch wrote:
If you are using apache, you still need to name your Virtual hosts in the
httpd.conf.
I am myself having mod_jk issues and awaiting response.
ahnf wrote:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Does this work for TC5.5.x??? that is for TC6
Use context.xml - approach #2 and configure both a docBase and a path.
Note the docBase *must* be outside of any host's appBase.
So I can have setup as such:
Server setup
/tomcat_home/conf/server.xml
!-- virtual host mywebapp1 --
Host
name=mydomain1.net
Sorry.. didn't finish... (hit the damned button)
And my application context.xml files would read something like...
For webapp1 - a deployed .war file
Context
docBase = /home/web/mywebapp1/webapps/mywebapp1
reloadable=true
/Context
For webapp2 - a .jsp structure - no .war
Lessie Z. Mitch wrote:
Sorry.. didn't finish... (hit the damned button)
And my application context.xml files would read something like...
No - completely wrong. In short (just doing one host) you want something like:
/tomcat_home/conf/server.xml
!-- virtual host mywebapp1 --
Host
Lessie-
Sorry to hear you're having trouble. We use Apache/Tomcat in the same
way and assuming your snippets are reasonably complete I've noticed some
issues that may or may not be helping to cause problems:
1. First and foremost, your worker list defines the worker name as
tomcat yet in
Hi, I think you may be confusing the number of allowable processes with
the number of allowable threads.
Per Tomcat's documentation, maxActive refers to the maximum number of DB
connections whereas the Oracle error you are seeing refers to the
maximum number of processes (threads?) which are
YIKES!!! I see something that I think is the problemat least it caused me
ample problems and I was totally tarred and feathered on the Sun Java forum for
doing.
Are you using that driver you show?
driverClassName=sun.jdbc.odbc.JdbcOdbcDriver
or is that just the example that you peeled off
This is going to be long... so bear with me.
My want was to name the context xmls something other than ROOT.
In a previous setup I had with TC5.5.16, my contexts were actually in the
server.xml document - which we all know is really a bad thing. I had other
webapps running on the same host so
you might have forgotten to uncomment or configure that actual executor,
hence the NPE
Filip
nitin dubey wrote:
Hi,
I tried configuring executor in tomcat 6.0.14 for AJP Connector like following:
!-- Define an AJP 1.3 Connector on port 8009 --
Connector port=8009 protocol=AJP/1.3
Hi all.
I'm trying to spawn an SSH session via a tcl CGI script on Tomcat 6.0.14running
on Windows 2003 server. My Java is jdk1.6.0_04 and my tcl is 8.5
I can run the tcl script from a command line, and it executes plink.exe or
ssh2.exe fine. I have set up the CGIServlet and confirmed that it is
Here is what I have setup going off the examples, but it is not
working like a I would like
a) a Host definition in my server.xml which has appBase=tomcatHome/
myAppBase
b) a WAR file named ROOT.war. Inside there is a context.xml located in
META-INF
I am not sure what to put in for
Thanks Mark, could my context.xml also just live in my WAR/META-INF
file?
So let me get this right, the location of appBase is purely for
where WARs are uploaded. Never should document roots live under it?
So if I upload a war to appBase Tomcat then unpacks it to the
context docbase?
Thank you Adam!
1- eepers! Okay, that was overlooked! Changed that. ^.^
2- Not everything is secure (https). SSL is configured outside of the
httpd.conf file for security reasons and defined in conf.d/someotherfile.conf,
with conf.d being included (see previous post)
3- context files are
Ok, thanks for the replies. I will look into both these options.
On Mon, Feb 25, 2008 at 12:20 PM, Mark H. Wood [EMAIL PROTECTED] wrote:
Note that the user web application mechanism only recognizes one
webapp per user.
If you need more than that, you might write up a little gadget (to be
Omg I must be tired...
Ex-ay on the reply-ay... (can you tell I'm tired??)
Final configuration:
/tomcat_home/conf/server.xml
!-- ip 123.234.345.1 --
Host
name=domain1.com
appBase=/home/web/domain1.com/webapps ~~~ no directory after
webapps
unpackWARs=true
autoDeploy=true
thanks Mr Barry for the reply,
In the whole application we are using type one driver i.e. jdbc odbc driver
Driver Class :sun.jdbc.odbc.JdbcOdbcDriver
But can u tell me what could be the reason for the number of processes
exceeded in the oracle..
when the user logged into the application 5
Hi all
I have a pre-written Tomcat application that I would like to install on
my Fedora 7 server. There are binaries for Tomcat available for this
linux distro, so theoretically I assume it should be possible to run a
Tomcat instance on this platform without having to compile Tomcat from
Hi Johnny,
Thanks a lot. I read the http RFC and find something like this:
The chunk-size field is a string of hex digits indicating the size of
the chunk. The chunked encoding is ended by any chunk whose size is
zero, followed by the trailer, which is terminated by an empty line.
Do u have any
Under Tomcat I have installed Liferay CMS and what I am trying to do is that
every time the user types in http://mysite.com/hello in the address bar of
his browser it gets redirected to another site like hello.newsite.com. Is
this possible?
Thank you in advance,
Nikos.
--
View this message in
60 matches
Mail list logo