I dont see any file called tomcat41-service.xml under jboss home directory.
should I create one if I dont find that file. I see this file
jboss-service.xml under
JBoss home directory.
--
Paul Gregoire [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
-- this is my 4th attempt to answer a
I installed Tomcat 4.1.24 on Solaris 2.6. After Tomcat is started up,
servlets could be accessed, but all JSPs could not be accessed and below
Exception is reported. Could you please give me some suggestion about how
to solve it. Thanks a lot.
You don't have the full jdk installed, do you?
Hi.
Have you linked the library (the best place to do it is at the init(), as
you can only link it once)? The code is something like this
public void init () {
try {
//System.loadLibrary(myLib.so); -- If you include it in
LD_LIBRARY_PATH
I am sorry that I coudln't post the error message at my first mail,
now I post all of the error message I get from the broswer:
HTTP Status 501 -
Method ctl=ssearch=200306Submit2=+%B8%A1+%BA%F7+GET is not
defined in RFC 2068 and is not supported by the Servlet API
I get it when the session
hi there
i have in my workers2.properties
the following uri mappings:
[uri:www.mysite.com/*.jsp]
info=Map .jsp files
[uri:www.mysite.com/do/*]
info=Map do actions
[uri:www.mysite.com/manager/*]
info=Map the manager webapp
why does tomcat handle the requests to
http://www.mysite.com/images ?
Hi can i run cgi scripts too through apache
if yes then how and where to place them ?
--
harsh
http://www.cse.iitb.ac.in/~harsh
--
Hi Catalin,
you may turn listings off in your web.xml file
!-- listings Should directory listings be produced if there --
!-- is no welcome file in this directory? [true] --
which is
init-param
param-namelistings/param-name
Hi,
I don't know if this is too simple an answer to your question but it is
similar to what I have been trying to do and I have discovered that they can
be referenced in the all the same ways as a normal http address, e.g.
anchors, etc. (e.g. http://localhost/directory/cgiscriptname. If you
thanx for the tip !
but isn't there any way to set mod_jk2 to process just some
urls and not all of them ?
eg: not the whole webapp ?
i really want the images to be processed by apache ONLY !
thanx again !
Catalin Constantin
Bounce Software
www.bounce-software.com
-Original
are you sure tomcat isn't already running? i had that very same problem after
rebooting and it turned out i hadn't realised that tomcat had been installed as
a service and started when the machine did. check the task manager for
tomcat.exe.
course, if you want System.out.println() statements
No, TC is not(or won't be) already running when I try to start it from W2k
Start Menu.
Might have to do with a package which either not there or conflicting the
TC's start-up process. What is missing or conflicting is what I can not figure
out - the logs don't say say anything either.
Bill,
Thank you very much. Is there any place where I can find these compatibility
/ support details for Tomcat versions?
Thanks in advance,
Raga
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: 06 July 2003 08:12
To: [EMAIL PROTECTED]
Subject: Re: Effect of J2SE
Depending on the kind of request you are trying to accelerate, you could
also do some caching in the response.
Depending on what the servlet is intended to do, the strategies to apply can
vary a lot.
A description of the servlet execution would allow people to help you better
:)
Regards,
Rodrigo
Hi.. I just installed Tomcat web server in my W2K professional, but I have very
little knowledge about Java and Tomcat. May I know whether Javamail is already
included in Tomcat? How do I send mail thru tomcat? I download the Javamail-1.3.1 at
See inline comments
On Mon, 7 Jul 2003 19:56:25 +1000 (EST), kitty winslet
[EMAIL PROTECTED] wrote:
Hi.. I just installed Tomcat web server in my W2K professional, but I
have very little knowledge about Java and Tomcat. May I know whether
Javamail is already included in Tomcat? How do I send
Tomcat automatically rotates localhost_log_x and localhost_access_log_x, but
not catalina.out. From searching the archives you need to use a cron to
rotate catalina.
1 - Is this correct
2 - Where is the rotation for localhost_x configured?
3 - Will this change in TC5?
Thanks,
Euan
This is correct.
The config for localhost_x is in its logging element.
For example:
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=localhost_log. suffix=.txt
timestamp=true/
For all configurable properties, see the javadocs for
Tim, looking up javadoc for the logger, I see a property (info) telling us about that
logger. How do I access that property from my jsp (or can I)? What's the name of the
logger object?
thanks,
Dave Naden
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Monday, July
You can't access a FileLogger from a jsp. Unless your webapp is privledged.
(which is usually not a good thing to do)
info() is pretty much an unused property - but it is helpful for admin
interfaces to describe the implementation.
-Tim
Dave Naden wrote:
Tim, looking up javadoc for the
Title: Nature
Hello
Everyone,
I was just
wonderingthat How many concurrent request / session can be efficiently
handled by Tomcat 4.1.24 ?? and where it is configured???
Thanks Regards,
Pawan Kumar Shrivastava
Apar Infotech, Bombay
Tel: 91-22-56939710/11/12/13
Hello There,
I am having three problem on the whole with tomcat as
a standalone server.
My operating system is Windows-XP Home Edition with
good memory and hard disk.
I have installed JDK1.3 and i have been using it for
the last 10 months.and the path is appropriately set.I
can run javac or
You are saying that stopping Tomcat and stopping IIS, without rebooting
Windows, has no effect?
John
On Fri, 4 Jul 2003 10:45:02 +0100, [EMAIL PROTECTED] wrote:
Hi,
I'm using IIS redirector with Tomcat 4.1.24 and everything works fine.
However,
when I modify the uriworkermap.properties file,
THIRD PROBLEM:
This one is with jakarta-tomcat-4.0.6 and
jakarta-tomcat-4.1.18
In this not even the server starts that is i can t
even get the test page run!
Whenver i run the start.bat,the server tries to run
but then i throws some exception and then the DOS
window closes on its own
After changing uriworkermap.properties, you must stop/start IIS (if the
redirector is configured on the 'master' website) or the specific site
instance (if the redirector is configured on the specific web instance).
This also applies to workers.properties. Keep in mind that it is
log4j:ERROR Could not read configuration file
[null/WEB-INF/classes/log4j.properties].
java.io.FileNotFoundException: null/WEB-INF/classes/log4j.properties (No
such file or directory)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Guys,
Thanks for your replies...
Unfortunately, as John Turner earlier asked, restarting Tomcat and/or IIS
doesn't seem to be the solution. If I modify the uriworkermap.properties, the
changes are not effective until the next reboot. Logging off the user didn't
help. Removing the ISAPI filter
Hi Rodrigo,
My objective is developing an HTTP proxy that receives a request,
applies some business logic on it (analysis + modifications), and
forwards the result to another host. When the final host responds to the
modified request, the response is forwarded to the original client:
Title: Nature
Hello
Everyone,
I was just
wonderingthat How many concurrent request / session can be efficiently
handled by Tomcat 4.1.24 ?? and where it is configured???
Thanks Regards,
Pawan Kumar
Shrivastava
I am having a problem with Apache/mod_jk/Ajp13Connector/Tomcat.
If I make a request to a servlet with '%' in the path, the URL appears to be
being decoded twice.
I have a servlet mapping of escape - escape.jsp. That JSP contains the
following:
%= request.getPathInfo() %
%=
I am running Apache 4.1 along with IIS on a windows 2000 machine.
I chose Run as an NT service during the Tomcat install.
I've configured the 2 web servers to work together.
The jsp pages come up fine when I choose the Start Tomcat icon in the
start folder. Problem is, when Tomcat is running
Let me add that I'm running Tomcat 4.1 not Apache 4.1. Also the 500 error
is a nullPointerException error.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 9.04 AM
To: [EMAIL PROTECTED]
Subject: Running Tomcat as a service
I am running
As many as your hardware allows. Requests are mainly CPU limited and
sessions are mainly memory/disk space (If you are using a persistent
manager that swaps sessions out to disk/DB) limited. This also depends
on how complex/big your servlets/jsps/sessions are. You can host a LOT
more hello
I had similar problem when I didn't grant read/write permission to
log4j.properties in Catalina.policy. Did you start tomcat -security?
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: July 7, 2003 8:36 AM
To: tomcat
Subject: What did I miss setting? Log4j?
log4j:ERROR
I don't know if this will help, but I have the same setup and it's working
just fine.
I did go into the World Wide Web Publishing Services in Win2000 and add the
Apache Tomcat 4.1 service as a dependency. What this does is to ensure that
Tomcat starts before IIS does.
If you need details, let me
Hello all,
I am really sorry to ask this here, since it looks like a very dumb
question and probably could be found somewhere on the net, but I am
completely lost. I am a sys admin and trying to set up jamm
(jamm.sourceforge.net) to admin a postfix server with ldap-stored users.
The java
Easy question for you all.
What should the tomcat folder permissions be set to on a windows 2000
server? Right now I have Everyone as the user and I know this obviously
isn't good but if I remove it then tomcat cant access the folder when
only the administrator has rights :-\
This would be
Give full access to Administrator and whatever user account Tomcat is
using.
John
On 07 Jul 2003 09:47:26 -0400, Nick Stuart [EMAIL PROTECTED]
wrote:
Easy question for you all. What should the tomcat folder permissions be
set to on a windows 2000
server? Right now I have Everyone as the user
hi,
if i have a complex jsp with a lot of information on it, i get a whole ream of
errors such as that in the subject of this message, telling me that variables in
the jsp that quite clearly have been (when you look at the source) initialised
haven't. i really don't get it, is there anyone who
Is there a way to reload a workers.propetries file in jk2 with out
having to stop and start iis?
I noticed in /jkstatus that it does re-read the file but it does
create/assign any workers for a newly added context?
After I restarted the whole IIS Admin process it re-read the file fine
and the
i forgot to say, i found a thread in a forum online about this, the guys there
seemed to think it was a page size problem, possibly related to how many tags
there are on a page. just inc ase this sheds any more light on it.
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Hi Maurice,
You probably don't need to hear that right now but Complex JSPs bring
development/maintenance problems. You'd better use some kind of MVC
framework...
Does the error disappear when you remove some part of the page?
- Yagiz
|-+
| |
Great, thanks for the info!
-Nick
On Mon, 2003-07-07 at 10:03, John Turner wrote:
Give full access to Administrator and whatever user account Tomcat is
using.
John
On 07 Jul 2003 09:47:26 -0400, Nick Stuart [EMAIL PROTECTED]
wrote:
Easy question for you all. What should the
Hi,
What is your httpd.conf entry? Your workers2.properties files looks ok.
You include things you want Tomcat to do rather than exclude things. You
are not including /images so apache should handle those requests.
-e
On Mon, 7 Jul 2003, Catalin Constantin wrote:
hi there
i have in my
Hi Arnaud,
You might be interested in this.
http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html
(look at the build.xml which is available as a link inside the html file,
you find the merge-descriptors task there).
Johannes
Elisabeth Rotbach [EMAIL PROTECTED]
03.07.2003 19:10
Hello,
I have noticed that tomcat uses only one process on my new redhat 8.0 machine.
( ps -elf | grep tomcat )
There is an interesting explanation here.
http://marc.theaimsgroup.com/?l=tomcat-userm=103762836306068w=2
So I wrote a short test_process.jsp page ( below ) that I thought would force
in my httpd.conf i have
LoadModule jk2_module modules/mod_jk2.so
VirtualHost some.ip:80
DocumentRoot /nethosting/mysite.com/jsp/ROOT
ServerName www.mysite.com
ServerAdmin [EMAIL PROTECTED]
ServerPath /nethosting/mysite.com/jsp/ROOTs
CustomLog
Hello,
about a month ago i saw a thread talking about the getResourceAsStream()
that do not reloaded resource,
and that if you changed the resource as a config.xml file it doesn't
care about it is modified.
I didn't try this but i tried the method ServletContext.getResource(..)
on a property
I don't know if this will work but try adding
JkSet config.file /path/to/workers2.properties
just under the LoadModule. That way you know for sure it's reading the
file you want.
-e
On Mon, 7 Jul 2003, Catalin Constantin wrote:
in my httpd.conf i have
LoadModule jk2_module
nope !
it is the same thing !
anyway i am sure that it reads the correct file cause
if i remove the *.jsp line then the jsp files are printed (source).
so it must be something else !
any clue ?
Catalin Constantin
Bounce Software
www.bounce-software.com
-Original Message-
From:
Make sure that your JAVA_HOME evironment variable is properly set.
From the command line type:
%JAVA_HOME%\bin\javac
If you get a Program not found error, then it's not set right.
Any time that servlets work but JSPs don't, start by making sure that Tomcat:
A) Can find the java compiler
B)
Hi,
Try removing the hostname from the URI. So
[uri:www.mysite.com/*.jsp]
would just be
[uri:/*.jsp]
and
[uri:/do/*]
and so on and so forth.
-e
On Mon, 7 Jul 2003, Catalin Constantin wrote:
nope !
it is the same thing !
anyway i am sure that it reads the correct file cause
if i
nope !
now when i remove the url (www.mysite.com)
it mapps each /images on all virtualhosts i have to the Tomcat /images thing
!
pretty weird i think !
Catalin Constantin
Bounce Software
www.bounce-software.com
-Original Message-
From: Eric J. Pinnell [mailto:[EMAIL PROTECTED]
in case it has not been sent
Hello,
about a month ago i saw a thread talking about the getResourceAsStream()
that do not reloaded resource,
and that if you changed the resource as a config.xml file it doesn't
care about it is modified.
I didn't try this but i tried the method
Hmm... well ya got me. I'm not a pro with Vhosts in tomcat. I use one
apache and one tomcat per application/site. JK2 is getting confused on
the URI for some reason. My systems don't have the hostname in the URI
since it doesn't need to see any differences in a Vhost.
But, like I said I'm not
Interesting... http://issues.apache.org/bugzilla/show_bug.cgi?id=14017
Don't know if it will help...
-e
On Mon, 7 Jul 2003, Eric J. Pinnell wrote:
Hmm... well ya got me. I'm not a pro with Vhosts in tomcat. I use one
apache and one tomcat per application/site. JK2 is getting confused on
I think the problem is the path. Somehow he has lost the path to
WEB-INF...
Phillip Qin wrote:
I had similar problem when I didn't grant read/write permission to
log4j.properties in Catalina.policy. Did you start tomcat -security?
-Original Message-
From: Jim Lynch [mailto:[EMAIL
Hi,
Im running Tomcat 4.1 with IIS. Does anyone know how to share
information among different context in applications. I have images that all my
Tomcat context use. Instead of duplicating these files multiple times within
each context can you access an images directory from all of your
The current behavior seems OK.
getRequestURL() returns the URL. This method was originally in HttpUtils. It
acts much like getRequestURI() which in the javadocs explicitly says: The
web container does not decode this String
getPathInfo() OTOH according the the javadocs says... Returns: a
Well surprisingly enough I am now having problems with a Tomcat/IIS integration that
was working fine on Friday.
The jk_iis.log file shows an error 61 trying to connect the port to the Tomcat Process.
Any ideas why this would become a problem?
Tom E. Cole, Jr.
General Manager, Lamatek, Inc.
The JVM is one process. One process with many threads. minProcessors!=OS
processes.
minProcessors == number of concurrent workers at any given point in time
-Tim
Shannon Scott wrote:
Hello,
I have noticed that tomcat uses only one process on my new redhat 8.0 machine.
( ps -elf | grep tomcat )
hi all,
I am running multiple tomcat, one for each of the test environments we
have defined in the company.
In the each of the there Catalina_log files I have the following four
lines for each and every request to the web server.
2003-07-07 09:21:06 HostConfig[dev]: Deploying discovered web
I am seeing a strange slowness on our QA tier. For some reason, this
only occurs on this one tier (we have a production setup running, as
well as a development playground).
I have two Apaches talking to two Tomcats running on Solaris. They are
running Tomcat 4.0.5. I can see no reason for the
Hi
I would like to know how to configure different web
applications(web.xml) under one tomcat
Thanks Regards
Shanta.B
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
I would like to know how to configure different web
applications(web.xml) under one tomcat
i dont want use separte class path for each webapplicationi would like
use Tomcat class loader concept.
Thanks Regards
Shanta.B
Just create a new context in server.xml
Andy
-Original Message-
From: Shanta B [mailto:[EMAIL PROTECTED]
Sent: 07 July 2003 17:07
To: Tomcat Users List
Subject: how to configure diff web applications under one tomcat
Hi
I would like to know how to configure different web
hi all,
I am running multiple tomcat, one for each of the test environments we
have defined in the company.
In the each of the there Catalina_log files I have the following four
lines for each and every request to the web server.
2003-07-07 09:21:06 HostConfig[dev]: Deploying discovered web
Hi
I'm using Tomcat 4.1.24 and when I create a new host with the
Administration Tool I have to restart the server for the changes to take
place. If I don't restart the new host is not available.
Is there a way to create a new Host without restarting the server?
Thanks
Oreste
Does your isapi log indicate that it's reading the changes? It should read
and implement them after you stop and restart first Tomcat then IIS
services.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 8:38 AM
To: Tomcat Users List
I agree that that is the expected behaviour. However the URL seems to be
decoded *twice*.
'a%25sdf' - 'a%sdf' - 'a f'
The second decoding is converting '%sd' to ' ', presumably because it's
garbage.
As Tim says, getRequestURL() doesn't decode the string, but I am seeing the
'%25' decoded to
I've got a quick question;
In the workers2.properties I am trying to map a URL.
Does the mapping work like a regular expression?
Can I have something like:
[uri:www.myhost.com/*/hello/*]
will the above work?
_
Atreya Basu
Developer,
Greenfield Research
Which is preferable in the Tomcat 4.1.24 release (similar to connectors jk2 2.0.2
release) of mod_jk2?
Thanks!
Jamey
I cannot reproduce this (standalone 4.1.24 standalone). Do you get the same
problem with the standalone connectors? Otherwise, have you played with the
Jk options http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
For example: +ForwardURIEscaped +ForwardURICompatUnparsed, or
You could always try it and find out. I would guess that if it accepts
wildcards at all that that would work. But I'd try it first.
-e
On Mon, 7 Jul 2003, Atreya Basu wrote:
I've got a quick question;
In the workers2.properties I am trying to map a URL.
Does the mapping work like a
Thank You for helping, but I still think I am having a threading problem.
I read here:
http://marc.theaimsgroup.com/?l=tomcat-userm=104378596024043w=2
that On linux, the top command displays every java thread as a separate
line item.
On my Linux Redhat 7.2 machine I get several listed with the
AFAIK only one wildcard is accepted. But, testing it shouldn't be too
hard.
John
On Mon, 07 Jul 2003 13:58:21 -0300, Atreya Basu
[EMAIL PROTECTED] wrote:
I've got a quick question;
In the workers2.properties I am trying to map a URL.
Does the mapping work like a regular expression?
Can I
hi,
could it be, that the folder coffemy is not integrate into the server.xml.
cause when tomcat couldn`t find all the servlets that are in this folder,
this could be the reason.
hope that will help you a little
bernd
At 20:10 02.07.2003 +0100, you wrote:
I have Tomcat 4.02 working using
so far as i know no, cause tomcat had to read the config files to make the
changes.
bernd
At 12:25 07.07.2003 -0400, you wrote:
Hi
I'm using Tomcat 4.1.24 and when I create a new host with the
Administration Tool I have to restart the server for the changes to take
place. If I don't restart
bernd pier wrote:
so far as i know no, cause tomcat had to read the config files to make
the changes.
bernd
Thanks for your answer. But why with the Administration Tool one can do
various configurations with the server running except create a new Host?
How do the Tomcat hosting sites do it?
As far as I understand it, top and ps changed in Redhat due to the
confusion of processes vs. threads. I am not positive that this is the
case, but you might just look up the CHANGE docs for the package that
supplies Redhat's ps and top (probably two different RPMs).
Ben Ricker
Wellinx.com
On
I'm now trying to redeploy the app by firest removing it with a remove request
to the tomcat manager app. This works as long as there are no jar files in the
app's WEB-INF/lib directory. The remove request deletes the app's directory from
webapps, and the deploy task recreates the directory.
i've tryed with the latest jk2 connector
from: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/release/v1.1M1/ (like
[EMAIL PROTECTED] suggested)
but the behaviour is the same.
one thing i've noticed is that
after i set my tomcat webapp to log the access
there is no request to any
Hi,
(B
(BI have the following environment:
(B
(BWin2k Server
(BTomcat 4.1
(BIIS 5.0
(B
(BI am trying to integrate IIS and Tomcat like everyone else, but I am having an
(Binteresting
(Bproblem.
(B
(BTomcat works fine by itself when I do
Hi,
I am getting the following :
The HTTP server encountered an unhandled exception while processing the ISAPI
Application '
MSVCRT!strncmp + 0x14
isapi_redirector2 + 0xC71B
+ 0xCAD0C8
'.
The redirector stopped running suddently (after few weeks of ok running), and it now
gives me
absolutely no one out there, who can help me :-(((
- Original Message -
From: brainSucka [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 04, 2003 7:03 AM
Subject: TomCat and EJBs in WebSphere
Hi Guys!
Im trying to use my TomCat as EJB-Client and reach WebSphere5 EJBs.
Hi,
I've got a website running on Tomcat 4.1.18. It logs all
System.out.println to catalina.out. However, this file is getting too
long, making it difficult to view the file. So, I would like to
generate a separate log file for each day. Is this possible to
configure under Tomcat?
Also, under
I am keen on having two web applications be able to share sessions.
Currently, tomcat creates and maintains a session for each web application
for a client. Moving the session id to the url is an option, but one I hope
to avoid because of the refactoring it would generate in my applications
Can you point out the JVM version you are using. on Redhat 7 and 8.
John
[EMAIL PROTECTED] 7/8/2003 1:03:56 AM
As far as I understand it, top and ps changed in Redhat due to the
confusion of processes vs. threads. I am not positive that this is the
case, but you might just look up the CHANGE
Try 'ps -elfm' ; the 'm' will show the other threads.
You can also achieve the same thing with top by using the 'H' command.
Shannon Scott wrote:
Hello,
I have noticed that tomcat uses only one process on my new redhat 8.0 machine.
( ps -elf | grep tomcat )
There is an interesting explanation
I am unable to redirect a JSP page from a servlet
This is my directory structure...
D:\Tomcat 4.1\webapps\careerCenter\jsp\ *.jsp's
D:\Tomcat 4.1\webapps\careerCenter\WEB-INF\classes\.class files
My WEB.xml has following entry
servlet
HI all
I am using Tomcat 4. as an application server but it
doesn't support EJB
could any one tell me which is the best EJB Server
available in the category of Open cource.
i have found 2-3 like Jboss,OpenEJB , Jonas.
but not sure which one to use for some commercial
development
90 matches
Mail list logo