Nobody out there who could help me, please?
Could this this eventuelly be a solution:
Is it possible to register a class on tomcat wich is listening to
tomcat startup and then loads the native library? Can i then access
their native functions from every webapp?
regards and thanks in advance,
Hi,
i´m using tomcat 4.1.31 and try to install an application via manager
console. my application consists of an xml-file containing a context section
and a war-file. when i try to install my application, the xml-file is copied
into the webapps folder, but the warfile is not deployed in a folder
Hi,
Compared to Manager's web.xml, it seems you don't have the section
resource-env-ref with the link to your user DataBase.
Perhaps, try to put the role names without a - (rather a _ or nothing)
Cheers.
On Thu, 17 Mar 2005 10:49:29 +0530
Karanjkar, Sanjay V \(IT\) [EMAIL PROTECTED] wrote:
Hi,
To reload, start, stop, deploy, undeploy contexts see the Manager :
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
I don't know your tomcat version, but it works since TC 4.
Cheers.
On Thu, 17 Mar 2005 08:32:54 +0100
Roland Carlsson [EMAIL PROTECTED] wrote:
Hi!
I
Hi,
see the lifecycle listeners in your Context :
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
You receive start Events or Stop Events.
Another issue:
Your problem is because the native library is loaded by the Application
ClassLoader.
If you can loaded it by the Common
Hi,
I post a problem like yours yesterday :
http://marc.theaimsgroup.com/?l=tomcat-userm=111099252030422w=2
In our case, the warfile is not deployed in the Host.appBase. I think it's
deployed in the Host.workDir.
see there :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html
As tomcat provide coyote connector that is http based,
Is there any connector available that are non-http based
And how we can use in our project when we are using tomcat 5.5
As both web server and servlets engine,
Or can we make our own connector that is non-http(say telnet)
And how we can
...
It's not even vaguely a Java/TC question.
...
Who did? What evidence is there that you were attacked? In what sense
is it a DOS attack? What does it have to do with Jakarta?
Well, actually (and I am no trying to go into a rhetorical diatribe), as I
said, I am using HSQL in memory
Hi Lionel,
Thanks for your response. I tried both suggestions but no luck..
Maybe it's something to do with the fact that I've not *installed*
tomcat but only copied the binaries from an installed location (then
how come the maanger app works? :-(
Anyways, I also have a problem when shutting
Hi all,
Lately, I have set up Tomcat 5.5.7 on Slackware Linux 9.1.
I have configured four virtual hosts for me and my workmates.
We develop a few web apps with Struts, Torque, Velocity, etc.
Application base directories, scratch directories and tomcat logs
are located on NFS share.
Common
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
But about two-five times per day, Tomcat hangs up,
java (version is 1.5.0_01-b08) eats much cpu (up to 90%),
and no any response from Tomcat, no warnings/errors in logs.
I even can't stop it with shutdown.sh!
Have anyone the same problem?
Hi there,
i think this is a fairly easy thing to do, but i'm a newbie to tomcat jsp.
I am requesting the following url
_http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp) which
exists and dsiplays fine. However, i want to be able to request
_http://localhost:8081/webReg_
I apologize for posting this again - I just didn't hear anything (a
lot of sprited discussions going on at the time) and wanted to give
this one more shot here before sending to the developer list.
I opened a bug on this a couple of weeks ago, but it hasn't been
touched. Maybe other folks have
Am Donnerstag, 17. März 2005 13:05 schrieb [EMAIL PROTECTED]:
I am requesting the following url
_http://localhost:8081/webReg.jsp_ (http://localhost:8081/webReg.jsp)
which exists and dsiplays fine. However, i want to be able to request
_http://localhost:8081/webReg_
you have to use the servlet mapping, something like this (each for
every mapping you need)
==
servlet
servlet-namemyOwnJSPPage/servlet-name
display-namemyOwnJSPPage/display-name
descriptionmy own servlet called: myOwnJSPPage/description
jsp-file/myJSP.jsp/jsp-file
/servlet
I don't run 4 so these are only suggestions.
1. Remove the user-data-constraint
2. Change your tomcat-user.xml to look like this
tomcat-users
user name=userid password=passwd roles=ieg-sc-user /
/tomcat-users
- Original Message -
From: Karanjkar, Sanjay V (IT) [EMAIL PROTECTED]
To:
try the welcome-files element out.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 March 2005 12:05
To: tomcat-user@jakarta.apache.org
Subject: web.xml
Hi there,
i think this is a fairly easy thing to do, but i'm a newbie
to tomcat jsp.
I
I think that he need something working not just only with welcome
pages, or, maybe I have miss understood.
On Thu, 17 Mar 2005 12:15:15 -, Allistair Crossley
[EMAIL PROTECTED] wrote:
try the welcome-files element out.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Am Donnerstag, 17. März 2005 13:17 schrieb Omar Adobati:
I think that he need something working not just only with welcome
pages, or, maybe I have miss understood.
On re-reading the OP it seems to me that I misunderstood (and Allistair
propably too), not you.
Regards
mks
yes, another (more generic) solution would be a similar servlet mapping but
route all requests to a servlet capable of then forwarding to the request URI +
.jsp
servlet
servlet-nameconvertToJspServlet/servlet-name
servlet-classmy.com.ConvertToJspServlet/servlet-class
/servlet
I'm interested in your solution Allistair, can you better explane what
my.com.ConvertToJspServlet need to make real your idea?
Can you post a little of code as a sample?
On Thu, 17 Mar 2005 12:26:29 -, Allistair Crossley
[EMAIL PROTECTED] wrote:
yes, another (more generic) solution would
Sure,
Here is the doPost for ConvertToJspServlet
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException {
try {
RequestDispatcher rd = request.getRequestDispatcher(
/jsps + request.getPathInfo() + .jsp);
On Thu, Mar 17, 2005 at 11:18:00AM +0100, Rahman, Hamdur wrote:
: As tomcat provide coyote connector that is http based,
: Is there any connector available that are non-http based
: And how we can use in our project when we are using tomcat 5.5
: As both web server and servlets engine,
: Or can we
On Thu, Mar 17, 2005 at 08:32:54AM +0100, Roland Carlsson wrote:
: do I force tomcat to re-load the context? Right now the only way I know
: about is to reboot tomcat witch leads to a full stop of all my web-apps
: instead of only one witch in turn leads to more complaints from my users.
Perhaps
Hi and thanks for your answer!
Do I read you correctly that there are no solution but to restart Tomcat to
reload the context completly?
Lionel, the manager doesn't seem to re-read the context file under
/conf/Catalina/mydomain/myapp.xml and that is the one I have have to change.
Thanks in
On Thu, Mar 17, 2005 at 02:12:06PM +0100, Roland Carlsson wrote:
: Do I read you correctly that there are no solution but to restart Tomcat to
: reload the context completly?
That's not at all what I said. I can't provide an authoritative answer
to that question as I didn't write Tomcat. ;)
I saw an error in my log ive never seen before:
java.lang.IllegalStateException: Current state = FLUSHED, new state =
CODING_END
at
java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.ja
va:933)
at
This error is because you have a code that's trying to write response
after it's committed. If you can share the code that's causing this
error then may be we can be of some help.
Vinod
-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 8:45
On Thu, 17 Mar 2005 16:35:43 +0530
Karanjkar, Sanjay V \(IT\) [EMAIL PROTECTED] wrote:
Hi Lionel,
Thanks for your response. I tried both suggestions but no luck..
Maybe it's something to do with the fact that I've not *installed*
tomcat but only copied the binaries from an installed
I would achieve this be configuring my web.xml. Try this piece of code
servlet
servlet-nameMyServlet/servlet-name
jsp-file/webReg.jsp/jsp-file
/servlet
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/webReg/url-pattern
/servlet-mapping
So when to
The only thing where I can find a direct writing/accesing the response is
public void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
try {
if(request.getParameter(photoid)!=null){
String photoid =
On Thu, 17 Mar 2005 14:12:06 +0100
Roland Carlsson [EMAIL PROTECTED] wrote:
Hi and thanks for your answer!
Do I read you correctly that there are no solution but to restart Tomcat to
reload the context completly?
False.
Lionel, the manager doesn't seem to re-read the context file under
Tomcat 5.0.28 on HP UNIX: I was using a filter
(jcfifs) in one of my web.xml files. I have since
removed the filter and all code refering to it. Now
web forms can not post to servlets in this app. GET
methods work fine, but POST does not. I am only using
Tomcat, no Apache front end. Is there
Hello,
Having some issues with an ensim tomcat 4 installation.
Whenever I surf to www.mysite.com/servlet/MyServlet my browser pops up a
download dialog instead of showing the page.
It downloads MyServlet which does contain all the code it should normally
display in the browser.
I don't have much
What is your content type set to?
Doug
- Original Message -
From: Nick Wolters [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, March 17, 2005 9:51 AM
Subject: Servlet pops up as download
Hello,
Having some issues with an ensim tomcat 4 installation.
Whenever I surf
I not sure whether you write a servlet code using STRUTS, at least I
have not see one because STRUTS frame work provides one. Once the
request is processed by STRUTS, it uses struts-config.xml file to
forward the response to next JSP page. forward XML element in
struts-config.xml file is used to
In mozilla the download window says: text/vnd.wap.wml
The file itself begins with the following:
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN
http://www.wapforum.org/DTD/wml_1.1.xml;
wml
.
/wml
In web.xml I found the following:
maybe you need to enable tomcat to manage the wml files.
If I'm not wrong you have to chack the web.xml into yuor
TOMCAT_HOME\conf to verify that the mime mapping to use wml is not
commented or, at least, is presente.
I'm running Tomcat 5.5.7 and I already have the mime mapping enabled
and looks
yes of course i am telling it to use a different server.xml
my config looks like this
-config c:\config\server.xml
-dave
Caldarale, Charles R wrote:
From: David Gladstone [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5 Service Windows
I am currently using tomcat 5.0.27 on Windows Xp and am
trying to
You might want to refer to this FAQ:
http://www.catb.org/~esr/faqs/smart-questions.html
The stated goal of the FAQ is:
How to ask questions of hackers in a way that makes it most likely that
you'll get a useful answer.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438
and, in your browser, what is the default action for this mapping ?
On Thu, 17 Mar 2005 16:19:06 +0100
Nick Wolters [EMAIL PROTECTED] wrote:
In mozilla the download window says: text/vnd.wap.wml
The file itself begins with the following:
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE wml
Mozilla doesn't understand how to deal with wml. But you can get a plug-in:
http://wmlbrowser.mozdev.org/
Nick Wolters wrote:
In mozilla the download window says: text/vnd.wap.wml
The file itself begins with the following:
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE wml PUBLIC -//WAPFORUM//DTD
To browse a wml file you need to use a wml browser, You can't do it
just using Ie or Mozilla. Maybe you can find a wml browser on the
Internet.
On Thu, 17 Mar 2005 16:52:30 +0100, Lionel Farbos [EMAIL PROTECTED] wrote:
and, in your browser, what is the default action for this mapping ?
On
On Thu, Mar 17, 2005 at 06:45:56AM -0800, Jimmy Ray wrote:
: Tomcat 5.0.28 on HP UNIX: I was using a filter
: (jcfifs) in one of my web.xml files. I have since
: removed the filter and all code refering to it. Now
: web forms can not post to servlets in this app. GET
: methods work fine, but
Hi,
I am running a Servlet on a Tomcat 5.0.30 Instance. This Servlets gets
500 Hits a day. After approx. 10 days Tomcat doesn't reply anymore -
the logs say:
Mar 15, 2005 6:53:11 PM org.apache.tomcat.util.threads.ThreadPool
logFull SEVERE: All threads (50) are currently busy, waiting. Increase
Hi,
I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
its WEB-INF classes folder.
I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
false so that I do not get the general Tomcat logs.
But even then my project logs are getting mixed with the TOMCAT logs.
On Thu, 17 Mar 2005 16:57:04 +0100
Omar Adobati [EMAIL PROTECTED] wrote:
To browse a wml file you need to use a wml browser, You can't do it
just using Ie or Mozilla. Maybe you can find a wml browser on the
Internet.
I think Opera do it.
On Thu, 17 Mar 2005 16:52:30 +0100, Lionel Farbos
Hi
I'd like to stop and start my tomcat using cron so I added this in the
root's crontab and /etc/crontab :
00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
02 22 * * * root /PATH/TO/JAKARTA/bin/startup.sh
but it does work :s
Any got ideas ???
Thk
Cedric
Are your JAVA_HOME and other vars defined in a global context? Other
than that I don't really know.
Cédric Buschini wrote:
Hi
I'd like to stop and start my tomcat using cron so I added this in the
root's crontab and /etc/crontab :
00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
02 22 * * *
yes everything is fine.
all vars have been export. I've done a JAVA_HOME=path/to/java then
export JAVA_HOME.
Same thing for CATALINA_HOME
Robert r. Sanders wrote:
Are your JAVA_HOME and other vars defined in a global context? Other
than that I don't really know.
Cédric Buschini wrote:
Hi
I have an issue with detecting HTTPS when running on a virtual server
behing mod_jk; here's my setup:
For reasons that I can't currently change I have an internal server
running as app.server.com (example url); it is aliased so that multiple
virtual hosts (name based) are running as:
Yes and it depends on your crontab version.
In my version,
the system-wide crontab seems like this :
00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh
and the user-wide crontab seems like this :
00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh
...
but are not executed by the same user.
On Thu, 17 Mar
I had similar problems, and was forced to revert back to Tomcat 5.0.x.
Are you using HTTP or Form-based authentication to get the user
credentials?
On Tue, 2005-03-08 at 11:57 -0700, Richard Mixon (qwest) wrote:
Has anything changed with the way that JDBCReal handles connection
timeouts in
On Thu, Mar 17, 2005 at 05:24:59PM +0100, C?dric Buschini wrote:
: I'd like to stop and start my tomcat using cron so I added this in the
: root's crontab and /etc/crontab :
: 00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
: 02 22 * * * root /PATH/TO/JAKARTA/bin/startup.sh
1/ please post a
Thanks.
I think the client lied when he told me it did show a while ago :)
With a WML enabled browser everything is ok.
Nick
-Original Message-
From: Lionel Farbos [mailto:[EMAIL PROTECTED]
Sent: donderdag 17 maart 2005 17:23
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re:
1/ Sorry having replied to an unrelated message.
2/ Yes Tomcat always run as root.
3/ I am newbie, so I will get info about 'wapper script'.
4/ uhmmm a newbie question : Where can I find these logs . sorry :s
QM wrote:
On Thu, Mar 17, 2005 at 05:24:59PM +0100, C?dric Buschini wrote:
: I'd like
From: Robert r. Sanders [mailto:[EMAIL PROTECTED]
Subject: mod_jk + ssl on a virtual host.
When connecting, I can access the web application via HTTPS;
however Tomcat seems unaware that the connection is secure
Have you set secure=true in the connector entry in server.xml that you're
using
What wasn't working was the POST was not sending any
parameters to the servlet. In this servlet, I combine
the doGet and doPost and only a GET was providing the
servlet parameters from the web form. The issue
seemed to be tied to the NTLM authentication that the
jcifs lib performed. Once my
We are using form-based authentication. We changed to the
DataSourceRealm last weekend and it appears (so far) to have solved the
problem (again with TC 5.5.7 plus session replication patch).
- Richard
Darren Govoni wrote:
I had similar problems, and was forced to revert back to Tomcat 5.0.x.
Caldarale, Charles R wrote:
From: Robert r. Sanders [mailto:[EMAIL PROTECTED]
Subject: mod_jk + ssl on a virtual host.
When connecting, I can access the web application via HTTPS;
however Tomcat seems unaware that the connection is secure
Have you set secure=true in the connector entry in
Hi,
Maybe this can help:
In Tomcat 5.5, the file context.xml in the server's conf directory
allows for watched resources, which when touched, cause an application
reload:
It looks like this:
!-- The contents of this file will be loaded for each web application
--
Context
!-- Default set
Is there a way I can change the default web root in Tomcat 5.5? If so, how?
I am having the following problem
I can't get to website by typing https://serveripaddress, however, if I type
https://serveripaddrress/root it takes me there. I am assuming that some
setting isn't pointing in the right direction.
Thanks in advance for any help.
Shane
-Original
Is there anyway to configure Tomcat (without using apache) to redirect
requests for a particular context to a new url (and host)
Here's the scenario on the main page there is a link to a shopping cart
context. This webapp does not run on this machine, it's running on a totally
separate
1. Which platform and crond are you on? Is the crontab format correct for
your environment?
00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh
vs. 00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh
2. You may want to see if shutdown.sh works as root.
3. You can also try
00 22 * * *
You may have to use JSTL in your page.
JSTL provides a tag called import that has the capability to import
contents from other site to your page. So you may built a page that
looks like
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
c:import url=http://shoppingcarthost:8080/shopping/
Thanks for the Idea Vinod, unfortunately I don't have control of the jsp
content, so that rather elegant solution won't work. However I'm definitely
tucking that away in my mental rolodex. Thanks for the tip!!!
Does anyone else know if there's a way to redirect to a different host I was
Hi
I succesfully executed a tutorial form servlet in the computer. Now I want to
try it on a web host.
But, I am using a free host (beplaced.com) that I don't know if accepts java
servlets. Questions:
1) How do I know if the server accepts java servlets?
2) I imagine if they do they have to
On Thu, Mar 17, 2005 at 05:24:12PM -0300, [EMAIL PROTECTED] wrote:
: I succesfully executed a tutorial form servlet in the computer. Now I want to
try it on a web host.
: But, I am using a free host (beplaced.com) that I don't know if accepts java
servlets. Questions:
:
: 1) How do I know if
Set a hostname up in etc/hosts and access it.
-Original Message-
From: QM [EMAIL PROTECTED]
Sent: Mar 17, 2005 12:31 PM
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: localhost ok - how I set up in a real host?
On Thu, Mar 17, 2005 at 05:24:12PM -0300, [EMAIL
Apologies, I've put a lot in this email so that hopefully my rescuer won't
have to in theirs...
This is probably such a dumb problem I deserve to be shot, but I'm stuck and
I have no support and I'm desperately trying to migrate one machine in this
office so that we don't have to shell out for
Roland,
You might want to add yourself to the cc list of this bug:
Normal startup causes server error 500
http://issues.apache.org/bugzilla/show_bug.cgi?id=34050
It might be in the area of your interest.
Regards,
Bernard
On Thu, 17 Mar 2005 11:02:57 +0100, you wrote:
Hi,
To reload,
I have been trying to get really serious about log4j in web apps.
I note that Tomcat (thanks to commons-logging) uses java.util.logging
*except* for loggers created while my web app's classloader is the
current contextual classloader -- at which point it suddenly uses log4j
(since my web app does)
There is no way for Tomcat to do this 'out of the box'. But don't despair!
Check out:
http://www.zlatkovic.com/httpredirectfilter.en.html
The author has released it under a very free license. I have been using the
filter and can personally recommend it. The site seems to be down right now, so
From: Lee Hammond [mailto:[EMAIL PROTECTED]
Subject: System ClassLoader problem on Linux running Hipergate on Tomcat?
Well, I've got J2EE in it's default place /opt/ and Tomcat 5.0.30
in /opt too and everything is now working fine.
Tomcat doesn't need the J2EE download, and, in some
I have several JSP that I want to be able to forward
to from servlets. Right now I stick my JSP in
WEB-INF/jsp for security reasons. I guess I need a
way to include a JSP mapping in the web.xml so that my
request dispatcher call does not include the WEB-INF
directory in its path. Anyone know
Use jsp-file XML element (under servlet node) in your web.xml. Then
dispatch the request to this resource using
ServletContext.getNamedDispatcher(nameoftheresource). If you use this
method there is no need to use any path. It identifies the resources
based on the name that you pass.
Vinod
Thank-you, that worked famously.
Regards,
Jimmy Ray
--- Ramu, Vinod [EMAIL PROTECTED] wrote:
Use jsp-file XML element (under servlet node) in
your web.xml. Then
dispatch the request to this resource using
ServletContext.getNamedDispatcher(nameoftheresource).
If you use this
method there is
Hi,
How can I start Tomcat with jsvc so that the jsvc command returns
control to the command prompt or script exactly after the
Daemon started successfully ?
I would like it to behave in the same way as other services such as
Apache httpd so I can cod success and failure messages in the script.
I need a book for servlet programming-
there are some good reviews for the Jason (O'Reilly) book.
and also for Goodwill's Servlet programming.
Please let me know your experiences about a good book to for
servlet programming. (shall be using Tomcat primarily)
references to some tutorials with
I highly recommend Java Server Pages 3rd edition, by Hans Bergsten
(O'Reilly). It covers servlets, JSP and struts. Many examples and easy to
read and understand. I own all three editions.
-Original Message-
From: brian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 4:25 PM
I like the WROX book JSP 2nd Edition. It's not purely a servlet book but it
covers just about everything you might want to do. Namely filters,
servlets, JSPs, MVC frameworks, XML/XSLT, custom tags and tag libraries,
JDBC, and EJB. It's a little old so it doesn't cover some other important
On Thu, Mar 17, 2005 at 04:24:57PM -0800, brian wrote:
: Please let me know your experiences about a good book to for
: servlet programming. (shall be using Tomcat primarily)
1/ Inside Servlets, by Dustin Callaway. I tried a few other servlet
books, but this is the one that really worked for me.
Is it possible to see the full stack trace of an exception in the browser?
If yes, how can I enable it?
thank you in advance kostas.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I would like to hear opinions from users or developers who have a
little more experience with mod-jk/Tomcat then me.
With multiple virtual hosts, I would like to add and delete virtual
hosts on a routine basis.
This is achieved by re-starting both httpd and tomcat after
re-configuration (I
Hi again!
I am currently developoing a web application and whenever I change my
project (jsp file or java classes) I have to deploy and undeploy the
application again. Which take a lot of time and it drives me crazy!!!
Do you know how can I foce tomcat to deploy my build directory and
whenever
I have a similar problem in 5.5 when deploying my .war files. If I go to
the manager and undeploy a webapp that was deployed from a war it only
deletes the .war file and not the exploded directory. If I want to
deploy an update I have to stop tomcat and start it again for it to
pickup the
Not sure what your need or frequency is for routine adding/deleting of a
virtual host is, but have you considered running multiple instances of
Tomcat and connecting them each over different jk port? Perhaps, one
instance runs your stable virtual hosts - another runs your dynamic set of
HI!
I am having problem in production deployment. I am using Tomcat 4.1.24 .
It's working fine in Win 2k UAT machine , same is working fine in Linux 2.1
UAT machine. While same is fine in production machine as well.
But I change server.xml in all the three machine, it works fine in both UAT
Dear all,
I am using Tomcat 4.1. I am confused by one problem, basically I cannot view
the servlet in the
http://localhost:8080/tomcat-docs/appdev/sample/web/index.html. The file refers
to the servlet using a href=helloservlet/a, where the web.xml has defined
this servlet as
servlet
Thanks Dan for your reply. Your suggestion is very much appreciated.
Running multiple instances as a workaround for this may be fine for a
handful of virtual hosts, but if you have 50 or 100? How much memory
and CPU or even how many physical machines do I need for that?
I would also find it
Hi Torrey,
I can't comment on .war file deployment directly because I am not
using it. But I want to help you anyway, suggesting the approach I
would take.
I would forget manager for a moment. A basic servlet engine (these
things have been around for 10 years or more, remember Sun's Java
Server)
I'm having a strange issue with my Tomcat 5 server. I have two instances
of Tomcat 5 running on my VPS system I pay for. For some reason just the
Tomcat services just stop. I can't find any errors that tell me why it
just stops. This is the fifth time I've re-started them today. The
systems
Basically we have to make tomcat 5.5 connectors listen to non-http request,
Especially telnet to any of the port.
Yes one thing more there is no apache, so tomcat is acting as web server as
well as servlets container.
Can any custom built non-http connector is provided
Plz advice me in this matter
Hi
I am able to run the jsp in the tomcat 5.0 but when I
try to run a war file containing servlets instead of
executing it the IE try's to download it as zip file.
I have web.xml file web-inf folder also.If I just give
only the servlet path in the IE then the server say
requested resource not
From: Stanczak Group [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5 on VPS service stops
I start the service with -Xmx64m -server and I'm using
jdk 1.5.0_01.
That's not much memory for Tomcat to play with. You might want to set
-verbose:gc to see if you've fallen into a continuous GC mode,
Thanks Chuck for the reply
But I don't think memory is any problem I have more
than 500 mb ram on my system
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Stanczak Group
[mailto:[EMAIL PROTECTED]
Subject: Tomcat 5 on VPS service stops
I start the service with -Xmx64m -server and
From: samsher khan [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5 on VPS service stops
But I don't think memory is any problem I have more
than 500 mb ram on my system
But by setting -Xmx64m, you're limiting the Java heap to only 64 MB, and that
has to be partitioned into eden space, two
Hi,
I have a webapp in tomcat. I am using a separate Log4j.xml for it, in
its WEB-INF classes folder.
I've also put a Log4j.xml in TOMCAT_HOME/ common/classes and set it to
false so that I do not get the general Tomcat logs.
But even then my project logs are getting mixed with the TOMCAT logs.
1 - 100 of 110 matches
Mail list logo