Hi All,
I need some help from you. I need to display Cent(¢) symbol on browser. I am
getting ? symbol instead, what could be the problem, please explain me.
Thank you.
balaraju
Hi
I tried to run tomcat 5.0 on my machine but it is giving the following
error:
Error initializing endpoint java.net.BindException: Address in use:
JVM_Bind:9000java.net.BindException: Address in use: JVM_Bind:9000
Please help
Thanks and Regards
Tarun Bansal
This could mean that a previous startup is still busy, or that you
actually have another tomcat running on the same machine?
I would suggest rebooting, starting tomcat, and monitoring the logs very
closely.
Regards
Johan
On Mon, 2006-07-17 at 13:51 +0530, Bansal, Tarun wrote:
Hi
I tried to
Actually I have metaframe server running on the client machine on port
8080 but there is nothing running on port 9000
-Original Message-
From: Johan van den Berg [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 1:55 PM
To: Tomcat Users List
Subject: Re: Unable to run tomcat
This
Changing the port solved my problem. Thanx.
2006/7/14, David Smith [EMAIL PROTECTED]:
Port 8005 which tomcat uses as a shutdown port is in use by another
process. You could change that in server.xml or shutdown the service on
8005 to fix it.
--David
Oguz Yarımtepe wrote:
Hi. I was trying to
From: Pratap Parne [mailto:[EMAIL PROTECTED]
how to start multiple threads of a single instance of
a tomcat where each thread runs a different
application.is it possible with tomcat if so how
Tomcat is (very!) multi-threaded anyway. If you want to run multiple
web applications (.war files),
Bansal, Tarun wrote:
Actually I have metaframe server running on the client machine on port
8080 but there is nothing running on port 9000
And
netstat -ano -p TCP
(assuming the machine is running WinXP or newer) verifies this?
Regards
mks
On Sat Jul 15 13:38:47 CEST 2006 Tomcat Users List users@tomcat.apache.org
wrote:
Hi
We needed to patch Tomcat for our site that has a Tomcat
behind Apache (mod_jk), that sits behind a reverse proxy load balancer.
The idea is basically to not use the TCP endpoint of Apache (which will
always
Except that I have 5 servers, each having 20 different apps, some of
which are 3'rd party, so I *really* don't want to modify the app (closed
source).
This is a server infrastructure and configuration issue, none of which
any developer should ever be worried about...
Regards
Johan
On Mon,
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List users@tomcat.apache.org
wrote:
Hi All,
I need some help from you. I need to display Cent(¢) symbol on browser. I am
getting ? symbol instead, what could be the problem, please explain me.
Thank you.
balaraju
Hello,
Use the method
On Mon Jul 17 11:52:20 CEST 2006 Tomcat Users List users@tomcat.apache.org
wrote:
Except that I have 5 servers, each having 20 different apps, some of
which are 3'rd party, so I *really* don't want to modify the app (closed
source).
This is a server infrastructure and configuration issue, none
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (cent;)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (cent;)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List
(Sorry for the double post, alias issue)
David Delbecq wrote:
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (cent;)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
I'll accept as much, but understand that I just followed the same
approach that was taken with the proxyName and proxyPort parameters that
already solve a similar problem in Tomcat when sitting behind a reverse
proxy.
If that problem was solved with a Filter / Valve, I would have done the
same
On Mon Jul 17 12:16:00 CEST 2006 Tomcat Users List users@tomcat.apache.org
wrote:
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (cent;)
which is supposed to be displayable by any html 2.0 compliant
Assuming you have this Character Set declaration in your html head
head
meta http-equiv=Content-Type content=text/html; charset=UTF-8
use
U+00A2
http://www.alanwood.net/unicode/latin_1_supplement.html
HTH
Martin--
*
This email
David Delbecq wrote:
This is not a matter of saving the jsp/html file on server with the good
charset,
It is.
this is a matter of using the correct entity reference (cent;)
which is supposed to be displayable by any html 2.0 compliant browser.
Using an entity reference is just one way to
Markus Schönhaber wrote:
contains all symbols used is enough. This mail for example should use
ISO-8859-1 as charset and still contain the literal cent sign above
correctly encoded.
Wrong. My mail client chose to encode it in UTF-8. But that doesn't change the
fact that ISO-8859-1 contains
I would love to just use JBoss, but there is a lot of political red-tape and
we even have our own App Server, which too is not J2EE compliant. It was
probably developed before JBoss and the like. We even had our own Web
Container, but I've recently replaced it with Tomcat.
What I've done is
On Jul 17, 2006, at 8:17 AM, Mike Wannamaker wrote:
So I would like to be able to somehow have Tomcat start our core
services, much the way that JBoss would, before loading any web apps.
Does anyone have any ideas on how that could be accomplished.
My guess (which should be taken with a
Thanks Timothy,
I'm actually looking more for a way to do it with Tomcat out of the box.
Like if a customer has Tomcat installed, I would just want to put my jars
into some lib directory and then add this ??? entry into this ??? xml file
and it will call start() on your class?
Would it be
Dear All,
I have setup the Tomcat sever and Application, its working fine..
but I got the long URL now I want to make it short
Ex :
http://www.abc.om/test/JSP/ondemand/rdtest/login.jsp
I want www.abc.com/forward if someone types this URL in browser the site
should
Redirect to
I've been using this Url Rewrite Filter for several years now.. and it's
actively developed with new features.
http://tuckey.org/urlrewrite/
Regards,
Barrie
Dear All,
I have setup the Tomcat sever and Application, its working fine..
but I got the long URL now I want to make it short
Ex :
is it possible to have one tomcat running on a server and allow
multiple clients to execute their programs on the tomcat
running on the server without affecting other clients
execution.How can we configure tomcat for this purpose?
If I understand everything correctly, when Tomcat receives a
I would suggest in the forward webapp web.xml that you update the
welcome-file-list to point to your jsp
e.g.
web.xml contents of www.abc.com (forward webapp)
welcome-file-list
welcome-file/test/JSP/ondemand/rdtest/login.jsp/welcome-file
/welcome-file-list
M-
If this is the wrong group to post this question let me know. I am new
to jsp.
I am using Tomcat 5.5.17. I am using the jsp pages that came with
lucene. When I am trying to access the results.jsp file on Tomcat I am
getting the following error. I looked at the jsp code I am not able to
find
how to start multiple threads of a single instance of a tomcat
where each thread runs a different application.is it possible
with tomcat if so how
This can be done in the normal way. Your servlet can start
separate threads, each of which runs somewhat independently.
However, there is a
Good Morning Mike-
I found this tutorial very instructive
http://www.hibernate.org/114.html
Nota Bene: do'nt copy (your webapp) jars to $TOMCAT_HOME/server/lib
$TOMCAT_HOME/shared/lib or $TOMCAT_HOME/common/lib..
Anyone else??
M-
Yes, but Tomcat also pools threads and keeps them around between
requests, recycling as necessary. The servlet's themselves should avoid
class instance variables unless they are reset to some known state at
the beggining or end of every request for this reason.
--David
Alan Meyer
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:36 AM
To: Tomcat Users List
Subject: Re: Tomcat on a server
Yes, but Tomcat also pools threads and keeps them around between
requests, recycling as necessary. The servlet's
Mike,
What I've done is ripped out our core services from our internal app server
and provided an app server connector layer. The idea is that we'll be able
to plug into any app server like container. Our own internal, JBoss,
WebSphere, Tomcat???
That is the idea. So we have customers
Alan,
When I tried to [spawn a new thread on behalf of the remote user] on
older versions of Tomcat (4.x), all
output to the user was suspended until _all_ of the threads
completed.
This was probably due to mismanagement of the thread; a new thread will
run independently of your request
Suba,
If this is the wrong group to post this question let me know. I am new
to jsp.
This probably /is/ the wrong place to post a question about JSP,
although most of the readers of this group are well-versed.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error
Excuse me,
I don't mean to interrupt an existing thread but could someone tell me how
to properly create anew thread for Tomcat related questions?
I have an immediate issue regarding tomcat performace monitoring.
Thanks
Ibrahim
Nilesh Shastrakar [EMAIL PROTECTED]
07/17/2006 05:59 AM
Please
why don't you manually write it to your page and then just have the variable
string or db value returned to the left of it within the jsp/servlet?
Is that not an option?
-Original Message-
From: Ronald Klop [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 6:45 AM
To: Tomcat Users
Look in the web.xml file. Perhaps within servlet mapping is what you're looking
for?
At least it's that way in Tomcat 4 series.
-Original Message-
From: Nilesh Shastrakar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 8:00 AM
To: users@tomcat.apache.org
Subject: How to redirect
Only one I know of is top which gives me cpu/memory/disk usage;
wondering if there was freeware on the web or other commands anyone knew
of?
Propes, Barry L [EMAIL PROTECTED]
07/17/2006 10:29 AM
Please respond to Tomcat Users List
To: Tomcat Users List users@tomcat.apache.org
You can use sar or vmstat
They give you system level health.
If you need inside the jvm health you can run the jvm in hprof mode. It adds
plenty of overhead so beware.
Try checking out
http://www.javaperformancetuning.com/resources.shtml#PerfTools
-Original Message-
From: [EMAIL
Thanks. I thought it was something to do with Tomcat. I am compiling the
file using NetBeans. It is progressing.
thanks,
suba suresh.
Christopher Schultz wrote:
Suba,
If this is the wrong group to post this question let me know. I am new
to jsp.
This probably /is/ the wrong place to
Sid,
I know of sar but how do I run it?
just by 'sar' command or any other parameters?
I can't afford overhead as this is production;
as to vmstat: just by command or anything else?
Thanks,
Ibrahim
Sharma, Siddharth [EMAIL PROTECTED]
07/17/2006 10:49 AM
Please respond to Tomcat Users List
if you want to monitor the tomcat itself check out lambdaprobe:
http://www.lambdaprobe.org/d/index.htm
Not sure it will work with 4.0.6
if you want to monitor the performance of your application check out moskito
http://moskito.anotheria.net
Needs jdk 1.5
regards
Leon
On 7/17/06, Sharma,
Hi I am running two hosts under an engine in Tomcat 5.5.17, I have one
webapp on each host and am having some problems with authentication on both.
Each has a jdbc realm being deployed by a context.xml file in the META-INF
directory of the webapp.
My question is, how can I log and debug the
Pls look at the man pages and decide what you want.
You should probably pipe the output of these commands to a log file, so it
is running all the time and logging to a file and then whoever needs to see
this info, simply tails the log rather than running another sar or vmstat
session.
Ex. Vmstat
Has anyone successfully run the balancer web app that ships with
tomcat 5.0or higher to work with tomcat4?
So far I haven't been able to make it work and was wondering if it even
works in tomcat4.
Thanks,
Derek
does sar effect the system as in imposing an overload?
Sharma, Siddharth [EMAIL PROTECTED]
07/17/2006 11:30 AM
Please respond to Tomcat Users List
To: Tomcat Users List users@tomcat.apache.org
cc:
Subject:RE: NEW : Tomcat Performance Monitoring
Pls
I believe you and Martin are saying the same thing. I could do that however
I would need my jar file to be in $TOMCAT_HOME/shared/lib probably. I can't
have each different web app starting new instances of the services.
Services are only started once be Tomcat Server.
I thought maybe it was
Everything does. You have to figure out how much it adds in your
environment.
I'd be surprised if it adds even 1% as long as you do not have a
ridiculously low delay.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 2:41 PM
To: Tomcat
but would sar vmstat give me monitoring info on tomcat?
or just system usage or webserver usage?
Sharma, Siddharth [EMAIL PROTECTED]
07/17/2006 11:51 AM
Please respond to Tomcat Users List
To: Tomcat Users List users@tomcat.apache.org
cc:
Subject:RE:
Nope. No tomcat info. System-info only
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 2:53 PM
To: Tomcat Users List
Cc: Tomcat Users List
Subject: RE: NEW : Tomcat Performance Monitoring
but would sar vmstat give me monitoring info on
Mike,
Here's a suggestion: create a new webapp that doesn't actually have any
servlets. Just create a ContextListener that responds to START and STOP
requests, and use the listener to startup your services.
I believe you and Martin are saying the same thing. I could do that however
I would
On Jul 17, 2006, at 2:43 PM, Mike Wannamaker wrote:
I thought maybe it was possible to add something to server.xml to
get a
component to startup. Perhaps I'd have it implement a Tomcat
Interface but
I could do that and then have it only start once per Tomcat Instance.
Either way I need my
commons/lib is for CATALINA specific implementations as well as any jar'ed
versions of new Jasper compiler(s)
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
Can you provide a quick overview of the desired outcome for this effort
Martin --
On Jul 17, 2006, at 4:06 PM, Martin Gainty wrote:
commons/lib is for CATALINA specific implementations as well as any
jar'ed versions of new Jasper compiler(s)
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
I was given the impression that it was more generally the place to
put
I have been trying to determine how to configure Tomcat 5.5.17 to have a
shared appBase on multiple webapps, but have a different set of JSPs for
each web app. I've followed the Wiki's CreateVirtualHosts page to
configure multiple webapps that use exactly the same WAR file. But, I
would like to
Looks like you'll have to implement a customised JDBCSecurityRealm such as what
you see here
http://www.trifork.com/package/eos/external/static/T4/doc-4.1/documentation/userdoc/html/ch32.html
overriding the important access points such as all access(es) by implementing
your own override of
I just wanted to download a tomcat 5.5 but i found
there are different downloads like core,deployer.how
should i select the one suitable for me and are there
any different installation steps to install tomcat on
windows server platforms.
__
Do You
The connector (essentially the configured port of the connector) is already
'bound' on Port 9000
You want to determine who is bound on that port such as
ps -ef | grep 9000
and eradicate the process using the Pid or
for a more complete solution
cycle the Tomcat server
M-
Chris,
Thank you for the excellent advice and suggestions.
When I tried to [spawn a new thread on behalf of the remote
user] on older versions of Tomcat (4.x), all output to the
user was suspended until _all_ of the threads completed.
This was probably due to mismanagement of the thread; a
Hello.
I am using Tomcat 4.0.6 on the server.
I need to increase the heapsize.
Questions:
I've been receiving java OutOfMemory errors several times when a user
attempts to upload files.
Is this enough to increase the heapsize as a 1st step?
Also how to go about doing it?
Do I simply increase the
I thought maybe it was done in the startup.bat file by changing the properties
and the initial environment space (defaulted usually to Auto ot 4096).
Is this not correct?
You might try right-clicking startup.bat, and under the Memory tab try changing
the expanded memory or extended memory
Take a look at the section of this page on the tomcat-users mailing list:
http://tomcat.apache.org/lists.html
Basically you just create a new email (I.E. do not reply to an existing
email from the list), address it to users@tomcat.apache.org with an
appropriate Subject and message Body.
HTH
I thought startup.bat was used for other versions of tomcat? no?
in my case tomcat is on a solaris box and not windows.
so isnt startup.bat used on windows?
Propes, Barry L [EMAIL PROTECTED]
07/17/2006 02:55 PM
Please respond to Tomcat Users List
To: Tomcat Users List
Alan,
When I tried to [spawn a new thread on behalf of the remote
user] on older versions of Tomcat (4.x), all output to the
user was suspended until _all_ of the threads completed.
This was probably due to mismanagement of the thread; a new
thread will run independently of your request
ok, maybe so, yes.
I believe you're correct, Ibrahim...sorry about that. I've got mine
piggybacking on IIS.
Eventually it will be on a UNIX box.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 5:33 PM
To: Tomcat Users List
Cc: Tomcat Users
I am using apache to load balance apache/tomcat servers
I am trying to add jkstatus. It works fine until I enable the line in
workers.properties enabling jkstatus then I get
The server encountered an internal error or misconfiguration and was unable to
complete your request.
When I access
I've increased the heapsize in my development enviroment.
And I don't knowhow to confirm the change has been made to the effect the
whole system is affected.
So I'd like to know how to go about confirming this, possibly thru some
monitoring measure.
Before I move to production I'd like to be
I have a web app that needs to access
directories outside of the context using symlinks. However these files are not
visible to the servlet. I have looked at all the FAQ's and made the recommended
changes but it still doen't work. I am using Tomcat 5.0.XX
i have a
context.xml file setup in
Hi Tomcat users,
I have a web service which will JNI to access the application, which
according to the documentation should be placed in the shared/classes
directory. I did so and I got a dreaded
java.lang.reflect.InvocationTargetException, which I believe is a class
loader problem. However, I
Please post a full stack trace. TargetInvocationException should have an
underlying cause associated with it, like NullPointerException or
ClassNotFoundException.
Tim
-Original Message-
From: Luis Rivera [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 8:57 PM
To:
Thanks for the reply Tim,
Here is the stack trace, it does not look to me like it gives enough
information. Of course I am just starting with Tomcat and have some blanks
in my brain. I know is the classes are being found, either under commons or
shared classes directory, because if I just
Hi guys,
This may sound dumb. Just wanna double check whether Tomcat provide sharing
function where an application under a context could use a class that sit inside
another context. I understand that for classes that need to be use by all
application i'll need to jar it and put inside
Barry and Ibrahim,
I thought maybe it was done in the startup.bat file by changing the
properties and the initial environment space (defaulted usually to
Auto to 4096). Is this not correct? You might try right-clicking
startup.bat, and under the Memory tab try changing the expanded
memory
Ibrahim,
I've increased the heapsize in my development enviroment.
And I don't knowhow to confirm the change has been made to the effect the
whole system is affected.
So I'd like to know how to go about confirming this, possibly thru some
monitoring measure.
You can always call
Thnaks for help,
But where do I specify forward for /test/JSP/ondemand/rdtest/login.jsp
If someone type the url www.abc.com/forward it should redierct to above jsp.
Regards
Nilesh,
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 7:31 PM
To:
75 matches
Mail list logo