Jason,
I may not fully find a solution to your problem as
everything seems right.
I suspect your application may not have be fully
deployed. To deploy an application you need to add a
context in your server.xml. Or you can use Catalina's
manager application to deploy/undeploy a context
without
Hi,
the question is about managing WebApplications from a Java Application
without using the ManagerServlet.
I'm starting Tomcat by invoking the process-Method of the Catalina
class. Is there any way to get access to managing the WebApplications
(starting, stopping etc) within this context?
Hello
Sorry for bring up this all message, but did you solved?
I have the same problem now, and since I have a cron job to restart
apache every X minutes, and tomcat used all the memory, the whole
httpd goes down.
If anybody can give some lights here, I'll much apreciate .
--
Best regards,
I've read the FAQ but didn't find an answer to this exact issue.
Versions: Solaris 8 SPARC, Tomcat 4.0.2b2, Apache 1.3.23, j2sdk1.3.1_01 .
There are 2 Tomcats sharing connections from Apache,both are experiencing
the same problem.If I start them by tomcat1/bin/startup.sh and
Thank you so much for the information.
I will try that.
Thanks again,
Juliet
-Original Message-
From: Valera Molyakov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 2:46 PM
To: Tomcat Users List
Subject: Re: Debugging the servlet
Hi!
You can use IDE that allow local and
is there a way to start tomcat as a service in red hat linux 7.2
thanx
Lalit
-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
Hi,
Is there some kind of limit on the number of servlets
running or the number of connections made by those
servlets to MySQL? I compiled and tested 5 servlets
each of which uses a connection pool of inital size 5.
They all worked fine. When I added the sixth one, the
response was very slow and
Hi
I want to ask about the way Tomcat uses to transmit web pages.
Under http Tomcat uses a classic socket(TCP-IP) to transmit the information.
I want to change it. I want to know the part of the source code where is
implemented
the transmission block to change it.I want to deliver the pages
---BeginMessage---
hi everyone,
I'm using Tomcat4 and Apache (mod_webapp connector) on a Linux RedHat
7.1;
to build my connector, I do a snapshot from CVS repository:
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
jakarta-tomcat-connectors/webapp
cd
Problem: Browser cannot load applet class.
Environment: Tomcat 4.0.3 w/Apache; Solaris 8.
Webapp Directory Structure:
$CATALINA_HOME---webapps---ROOT---src---[.html fragments]
|
+-WEB-INF---[web.xml, etc.]
i am having the same that you had, and i tried to use the nohup command to
start tomcat from a telnet session. but if i close the telnet window,
tomcat still stops running. i am running tomcat on a Solaris 8 intel platform.
do you have any other suggestions?
At 04:56 PM 4/3/2002, Nancy
hi
when i give the command ps -aux i see atleast 32 processes of tomcat
something like /usr/java/jdk1.3.1_02/bin/i386/native_threads/java -D /usr/java/jdk1.3
can anybody tell me what these 32 entries are for
running
-
Do You Yahoo!?
Yahoo! Tax Center -
hi everyone,
I'm using Tomcat4 and Apache (mod_webapp connector) on a Linux RedHat
7.1;
to build my connector, I do a snapshot from CVS repository:
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
jakarta-tomcat-connectors/webapp
cd jakarta-tomcat-connectors/webapp/
cvs -d
I would also like to know the same thing.
Thanks
Dominic Parry
B.Sc (Information Systems, Computer Science)
B.Sc (Hons) Computer Science
Rhodes University
- Original Message -
From: Dieter Kaltenbach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 04, 2002 10:01 AM
Does your program use threads? Does it have connections to other machines
via jdbc/etc?
These can keep the process alive until they are closed properly.
- Toni
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL
is their a way to run tomcat as a service
plz help if you know
Thanks
Lalit
-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
the place where that logic resides is in HttpConnector
and the newer Coyote.
peter lin
--- Manuel Cava [EMAIL PROTECTED] wrote:
Hi
I want to ask about the way Tomcat uses to transmit
web pages.
Under http Tomcat uses a classic socket(TCP-IP) to
transmit the information.
I want to
--- Lalit Nagpal [EMAIL PROTECTED] wrote:
hi
when i give the command ps -aux i see atleast 32 processes of tomcat
something like /usr/java/jdk1.3.1_02/bin/i386/native_threads/java -D
/usr/java/jdk1.3
can anybody tell me what these 32 entries are for
Threads - see the archives. No
from: http://java.sun.com/j2se/1.3/docs/api/index.html:
getResourceAsStream
public InputStream getResourceAsStream(String name)Finds a resource with a
given name. This method returns null if no resource with this name is found.
The rules for searching resources associated with a given class are
Thanks all for responding. The most suitable approach
for me is:
InputStream is =
this.getClass().getClassLoader().getResourceAsStream(myApp.properties);
I just put my file in the classes directory- that is
what I would like.
Sanjay
--- Jacob Kjome [EMAIL PROTECTED] wrote:
That might work in
Maybe you need to disown the task? You can get a list of shell jobs with the
jobs command, then execute 'disown %{n}' where {n} is the job number.
Alternatively, if that still doesn't help, you could always run it in a
screen session (do a man screen).
-Original Message-
From: Peter Choe
Hello,
We recently uninstalled ensim and installed cpanel in it's place. Cpanel
offer a script that installs tomcat, this went ok. It will display a
jsppage but isn't actually parsing the jsp code.
Heres the error from the error logs
root@global [/usr/local/apache/conf]#
hi everyone,
I'm using Tomcat4 and Apache (mod_webapp connector) on a Linux RedHat
7.1;
to build my connector, I do a snapshot from CVS repository:
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
jakarta-tomcat-connectors/webapp
cd jakarta-tomcat-connectors/webapp/
cvs -d
Since your running on Windows, make absolutely sure your
WEB-INF directory for your app is in all-caps. Use a DOS window
to verify this. Windows Explorer will always convert things to
title case, so you can't tell from there.
Jeff
- Original Message -
From: Jason Johnston [EMAIL
snip
The same applet works from other sources without a
problem.
Would I be right in thinking that other sources means embedding an
object or applet tag in a HTML page?
I don't think your browser would be able to download and run the applet (As
after all applets are ran on the
just a test
--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: [EMAIL PROTECTED]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
I have tomcat loaded on a linux system (2.4.18 kernel), dual nics, after
doing some updates to the system, my tomcat server is giving me the
error below. By the way the update were all linux and linux kernel
updates, no updates to java or tomcat. Anyone seen anything like this
before? I don't
Hi folks,
would be happy to get a hint!
I'm using Tomcat 4.01 and Oracle 8.1.7 on Linux.
(1)
The following is running fine:
- A test client connects to a servlet, the servlet is connecting via
jdbc to the database.
- Another client (application) connects directly -without the servlet-
to the
All,
TomCat 4.0.1
Apache 1.3
WARP connector
JDK 1.2
[If you read nothing else, look at the stack trace at the end of this mail -
pretty bad!]
I've had numerous problems trying to get the PJA ToolKit to work with my
servlet. I set CATALINA_OPTS:
-Dawt.toolkit=com.eteks.awt.PJAToolkit
Let me guess
a Linux newbie running tomcat for the first time ?
There has been **MANY** long discussions about this...
the end is don't worry - it's Linux making threads into processes
( On linux all threads are lightweight processes)
Try ps auxfwww
the 'f' is the forest param..
:)
D
All,
TomCat 4.0.1
Apache 1.3
WARP connector
JDK 1.2
[If you read nothing else, look at the stack trace at the end of this mail -
pretty bad!]
I've had numerous problems trying to get the PJA ToolKit to work with my
servlet. I set CATALINA_OPTS:
-Dawt.toolkit=com.eteks.awt.PJAToolkit
Julien,
Does that mean that patch I hacked together works OK? I haven't had time to
properly test it yet.
Regards,
James Williamson
www.nameonthe.net
- Original Message -
From: Julien OIX [EMAIL PROTECTED]
To: Tomcat list [EMAIL PROTECTED]
Sent: Thursday, April 04, 2002 10:45 AM
I think this went astray... apologize in advance if anyone gets it twice...
-Mark
-Original Message-
Problem: Browser cannot load applet class.
Environment: Tomcat 4.0.3 w/Apache; Solaris 8.
Webapp Directory Structure:
$CATALINA_HOME---webapps---ROOT---src---[.html
Hi,
the latest version 4.03 has an option to run Tomcat as a service. That's how
I do it. Works fine.
Alex
-Original Message-
From: Lalit Nagpal [mailto:[EMAIL PROTECTED]]
Sent: April 4, 2002 6:55 AM
To: [EMAIL PROTECTED]
Subject: is their a way to run tomcat as a service
is their
Valera Molyakov wrote:
Hi!
You can use IDE that allow local and remote debug( for example Intel JIDEA
or JBuilder).
Just how exactly?
You start Tomcat in JPDA mode, connect to the server and how do you set a break
point? I remember some article on debugging servlets that sait to import
Hello.
I'm having some trouble configuring APACHE 1.3.24 with TOMCAT 3.2.3.
I've followed the HOW TO DOCS but I had no success.
Any tips to do this the simplest way ???
Thanks a lot.
John.
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
This jsp works if I explicitly set the url and driver,
but I can not figure how to get values for url/driver
from a context initParm into the driver setup.
I have searched the archives.
I have spent hours on this.
I have looked at the source for the examples.
I am out of paths to pursue.
ERROR
I would like to map requests to http://server/context to go to a servlet,
say a servlet called Controller. If I put something like the following in
the web.xml file for the webapp, I can sort of get what I want:
servlet
servlet-nameController/servlet-name
Thanks for the input. We were not starting it manually, but rather using
bin/startup.sh which starts it in the background for us. The site was there
and running, but would just stop servicing the HTTP port for four or five
minutes and then start again.
We're trying Resing now to see if the
Is there a way to integrate Tomcat 4 with Apache? Couldn't find how to
docs on that.
-Original Message-
From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 1:34 PM
To: Jakarta
Subject: Apache with Tomcat
Hello.
I'm having some trouble configuring
is there a way to start tomcat as a service in red hat linux 7.2
Yes it is.
What version of Tomcat do you use?
If you installed the Tomcat 4 (and 3.3.3?) rpms for RedHat the service script is
generated and installed in /etc/rc.d/init.d/
Just perform run the commands
chkconfig tomcat4 (or
This is an odd scenario, but I've repeated it several times, just to make sure.
I'm using Tomcat 4.0.4b2. I have a simple Struts application, which I got
mostly working with Struts 1.1b2.
In my Ant deploy target, before copying the WAR, I use a command-line
interface to the Manager app to stop
Lalit == Lalit Nagpal [EMAIL PROTECTED] writes:
Lalit hi
Lalit when i give the command ps -aux i see atleast 32 processes of tomcat
Lalit something like /usr/java/jdk1.3.1_02/bin/i386/native_threads/java -D
/usr/java/jdk1.3
Lalit can anybody tell me what these 32 entries are
It is indeed in all caps. I work mostly via a dos prompt anyway, and I did notice the
explorer feature of converting things to title case. On a side note, does anyone know
if there's a way to override that and allow windows explorer to show true case names?
[EMAIL PROTECTED] 04/04/02
Hi
I have a huge problem with one of my box, I'll apreciate if anybody can
enlight me about where could be the error.
The server its a RH 7.2 with 1 GB RAM.
I'm running Tomcat 4.0.3 with mod_webapp and mod_jk as well over
apache 1.3.23.
My problem start when I have
Thanks for your input Allan.
I plan on trying to deploy using the manager like you said but I haven't had much luck
with the manager. Do you know of any documentation available on how to use the
manager. I created a manager user but about all I know how to do is list running
servlets.
Anthony,
==
Anthony Eden [EMAIL PROTECTED]
I was unable to get it working with my Thawte certificate (which works
fine in Apache). After some research I determined that there is an
issue with the JSSE from Sun which prevents certain certs from working.
Has this changed recently?
Here you go:
To run Tomcat4.x.x as a service, past the following into a command line:
Install Catalina Service:
%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina
%JAVA_HOME%\jre\bin\server\jvm.dll
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar
using java how can I convert (unescape) html special chars like lt;brgt;
to br?
regards
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
When I use the url http://localhost:8080/ , I get 'Forbidden, You are not
permitted to access the remote system ...etc. error
This is the error I see in the $CATALINA_HOME/logs/catalina.out file ( from
the last 20 or so lines )
- Root Cause -
java.net.BindException: Address already in
Hi
Iam trying to convert a standalone application to web based application
using Tomcat.
Iam running a servlet called Login in Tomcat 4.0.3-b1 on NT 4.0. I tried
different versions of tomcat also like tomcat 4.0.3 and lower.
In the above servlet Iam trying to load a class file called
use netstat -ln, this will show what sockets are in use.
Kairam, Raj wrote:
When I use the url http://localhost:8080/ , I get 'Forbidden, You are not
permitted to access the remote system ...etc. error
This is the error I see in the $CATALINA_HOME/logs/catalina.out file ( from
the last
Uma == Uma Munugala [EMAIL PROTECTED] writes:
Uma Hi
Uma Iam trying to convert a standalone application to web based application
Uma using Tomcat.
Uma Iam running a servlet called Login in Tomcat 4.0.3-b1 on NT 4.0. I tried
Uma different versions of tomcat also like tomcat
Hi David
Thanks for replying.
Iam using Metrowerks CodeWarrior IDE for compiling, it uses JDK1.3
and tomcat also uses JDK1.3
The only directory name which has space is tomcat installation directory.
i.e Apache Tomcat 4.0.
Thanks
Uma
-Original Message-
From: [EMAIL PROTECTED]
Uma == Uma Munugala [EMAIL PROTECTED] writes:
Uma Hi David
UmaThanks for replying.
Uma Iam using Metrowerks CodeWarrior IDE for compiling, it uses JDK1.3
Uma and tomcat also uses JDK1.3
Uma The only directory name which has space is tomcat installation directory.
Hi,
I am using TC 3.3a-2 (from Linux RPM)
I have an entry as follows in one of my apps-whatever.xml files:
LogSetter name=servlet_log
timestamps=true
verbosityLevel = INFORMATION
path=/var/log/tomcat3/micro.log
/
It
try running Tomcat as a background process (using '') and see how it
performs:
nohup ./startup.sh
-Original Message-
From: Peter Choe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 8:57 AM
To: Tomcat Users List; Tomcat Users List
Subject: Re: TOMCAT STOPS!
i am having the
Run the html through jtidy.
http://sourceforge.net/projects/jtidy
Jake
At 06:03 PM 4/4/2002 -0500, you wrote:
using java how can I convert (unescape) html special chars like lt;brgt;
to br?
regards
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
hai,
I have installed JAKARTA-TOMCAT4.0.3 version on my
windows machine...its on C:\jakarta-tomcat 4.0.3
I have installed oracle drivers on C:\classe12.zip...
Now how do i set the path in this tomcat version so
that i can access oracle I am in urgent need of
this set up..so someone
By visiting the URL given for the DTD, I saw this message:
The file named http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
has been renamed to http://java.sun.com/dtd/web-app_2_3.dtd
in the most current version of the specification.
Please update your application to use the new name.
That should
LogSetter name=servlet_log
timestamps=true
verbosityLevel = INFORMATION
path=/var/log/tomcat3/micro-${MMdd}.log
/
Is a Java Simple Date Format..HTH
Saludos ,
Ignacio J. Ortega
--
To unsubscribe:
ohh sorry not completely read the message i was responding..
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 5 de abril de 2002 2:22
Para: 'Tomcat Users List'
Asunto: RE: changing auto log rotation in TC3.3 ?
I saw segmentation faults after compiling the ajp13 connector, are you using
tomcat through apache?
- Original Message -
From: Denny Chambers [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, April 04, 2002 10:28 AM
Subject: Anyone seen these types of errors
You can't just add your oracle dirver to the system classpath and expect
tomcat to pick it up for availability to your webapps. You need to put the
oracle driver either in your webapp's WEB-INF/lib directory or in the
Tomcat/lib directory (for accessibility to all webapps).
BTW, I'm not sure
Anybody here have pointers for me to install tomcat4 on debian potato?
Links, previous postings, c. are all welcome!
Please, advise . . .
--
Best Regards,
mds
mds resource
888.250.3987
Dare to fix things before they break . . .
Our capacity for understanding is inversely proportional to
I get the following error when i try to startup tomcat
---
A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL
relocation t arget' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please
Hmm.. my first thought is try upgrading the JDK and see if that fixes
it. I don't know why it shouldn't work with 1.2.1, but, then again, that
is seriously old. Try 1.3.1_02 or 1.4.0 (and put xerces-1.4.4.jar in
jdkdir/jre/lib/endorsed directory).
If this fixes, it, then you might want to
hi,
i am using tomcat version 4.0 (standalone).
I run it executing the startup.sh file only to discover the next morning
that the server has stopped. catalina.out has no stopping tomcat message.
i have already tried with nohup command as suggested by some people, did not work.
what could be
rename classes12.zip to classes12.jar and copy into $TOMCAT_HOME/common/lib
directory
- Original Message -
From: ajith kondapalli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 05, 2002 09:07
Subject: someone help me ..urgent...
hai,
I have installed
hi,
i am using oreilly classes for uploading of files via servlets.Problem is when i try
to upload a file ... it takes a long time to upload and the upload never completes. I
discover that the file is received at the server end only partly (i.e 1/2 or less of
the actual size), this happens
hi,
i am using oreilly classes for uploading of files via servlets.Problem
is when i try to upload a file ... it takes a long time to upload and
the upload never completes. I discover that the file is received at the
server end only partly (i.e 1/2 or less of the actual size), this
happens
AFAIK the problem can be described as follows:
If you use tomcat with mod_ssl and mod_webapp
it is not possible to use the 'welcome-file'
feature with HTTPS. It looks like that with
mod_webapp getScheme() returns http instead
of https, which is used to create the redirect
url to the welcome
it that not works, then unzip all the classes files to this tomcat_home/classes/
hope it helps.
[EMAIL PROTECTED] 04/05/02 02:24PM
rename classes12.zip to classes12.jar and copy into $TOMCAT_HOME/common/lib
directory
- Original Message -
From: ajith kondapalli [EMAIL PROTECTED]
To:
73 matches
Mail list logo