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
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
sources.
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 con
thanks Mr Adam Gordon for the reply,
Can u tell me how to determine why oracle is generating those many processes?
Also tell me where to check the number of oracle processes in use and
how to reduce it?
On Wed, Feb 27, 2008 at 4:18 AM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> Hi, I think you may
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 connecti
Omg I must be tired...
Ex-ay on the reply-ay... (can you tell I'm tired??)
Final configuration:
/tomcat_home/conf/server.xml
Webapp starts fine, serves fine... rest of previous is okay - just the
server.xml section
~LZM~
-Original Message-
From: Lessie Z. Mitch [mailto:[EMAIL P
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
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 loca
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" "doc
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
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
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:
executor="tomcatThreadPool" connectionTimeout="2" />
While starting tomcat it gives
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 s
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 of
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 n
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
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
Context file location (for ROOT
Sorry.. didn't finish... (hit the damned button)
And my application context.xml files would read something like...
For webapp1 - a deployed .war file
For webapp2 - a .jsp structure - no .war
No path element?
Maluhia mua (Safety first)
~~
Lessie Z.
> 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
Context file locations:
/tomcat_home/conf/Catalina/mywebapp1/m
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
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 Message
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 is defined in server.xml and not i
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 is defined in server.xml and not in META-INFO/context.xml
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 inst
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 wor
-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?
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 thi
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,
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 eas
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 firewall
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
On 26/02/2008, at 2:26 PM, Steve Burt wrote:
pix firewall -> cisco loadbalance -> apache webservers -> application
-> Oracle DB
Problem that I am expericing is every time I try into introduce the
appserver into the loadbalancer config, the keep alive request seems
to be agrivating tomcat and c
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 test..
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 PROTECTE
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
-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
-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
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
s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthias,
MK wrote:
| Christopher Schultz 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?
|
| that'
-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 distribu
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 using
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 -> applicat
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.
Thanks
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:
>
> -
---
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.
--
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 k
---
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.
--
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 dif
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"
Sent: Tuesday, February 26, 2008 11:28 PM
Subject: Re: sessionID moves to other PC
Maybe the browser
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 Mo
Sorry for sending again, add the version info here:
Tomcat version: 6.0
Http Connector: org.apache.coyote.http11.Http11NioProtocol
Thanks
Han
Here are the pool configuration details in context.xml file.
software:
database : oracle 9i
server: tomcat 5.5
iam getting the following error:
java.sql.SQLException: [Oracle][ODBC][Ora]ORA-00020: maximum number
of processes (150) exceeded.
I have set the maxActive to 130 then
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
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
Subjec
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
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
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 u
:)
-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
>
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
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 & Rega
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 r
Hi,
I tried configuring executor in tomcat 6.0.14 for AJP Connector like following:
While starting tomcat it gives this error. Any problem with the configuration
OR this is a bug?
Feb 26, 2008 1:42:36 PM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw excepti
63 matches
Mail list logo