You can do one of two things...
1. Change the http1.1 connector in the server.xml to listen to port 80
rather than 8080
2. If you also use Apache to front Tomcat, then comment out the http1.1
connector and just use the jk connector listening to port 8009 (by
default). Requests are routed th
Dear friends
i need to configure tomcat so that i can access it without using the port
8080
i am running tomcat (on port 8080) along with apache (on port 80) on redhat
linux
Ii am running tomcat on windows with IIS and I was successful in using the
iis redirector dll which
redirects all jsp and
hey MIKE !
may be this is a DUMB QUESTION but all this procedure for installation
remains tha same irrespective of the fact that i am trying to implement
ORACLE under XP. right ?
Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange
From: "Mike Jackson" <[EMAIL PROTECTED]>
Reply-To:
Thanks for the info.
I guess I'm just frustrated because my app broke when I upgraded Tomcat.
:-\
Neal
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2003 4:36 PM
To: Tomcat Users List
Subject: RE: XML problem with Tomcat 4.1.18 (but was
Well... its been a while since i had to install tomcat into anything, and
I'm having lots of trouble ;)
First problem, is that no matter how I try and configure it, I can't get
tomcat 5 to talk to/with my IIS server (using jk2). Has anyone managed to
get this working?
Also...
- start Tomcat in-pr
I have been digging everywhere and can not find the answer to this error
that I am getting.
Has anyone seen this error, and resolved it, or found the root of its
cause?
[Fri Feb 28 21:13:27 2003] [jk_worker.c (136)]: wc_get_worker_for_name,
done did not found a worker
Thanks
Adam
--
On Sat, 1 Mar 2003, neal wrote:
> Date: Sat, 1 Mar 2003 13:59:27 -0800
> From: neal <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: XML problem with Tomcat 4.1.18 (but was ok in 4.0.4)
>
> Hmm. I hear what you're s
Hi,
I have just installed apache 1.3 and tomcat (4.1.18) with mod_jk (1.2.1) connector. I
would like to be kept informed of any security issues that may arise with mod_jk,
tomcat or apache. Is this the correct place to subscribe for such issues
Could someone please advise,
Thanks
Eresha
does anyone have any good online reference material? I'm a student confused
on JavaBeans, EJBs, and what JSP can use. Someone said Java Beans are not
EJBs. Can jsp use java classes on tomcat?
mike ni
_
Help STOP SPAM with th
Jacob Kjome wrote:
Why do you recommend putting the two required jar files ( ldaphttp.jar
and ldapjdk.jar ) in CATALINA_HOME/shared/lib? Why not just add a
WEB-INF/lib directory to your .war archive and put the jars in there.
It makes for much simpler deployment and fewer instructions.
I want
Me to, i'm using tomcat 4.1.18.
than you're using an old server.xml. it contains the class-name of the
old connector, but there's a new one! plz compare your server.xml with
the server.xml that came with tomcat (especially the connector-tags)
---
Hi,
I recently decided to try 4.1.18 LE + Java 1.4.1 and had some trouble
setting up a JNDI (pooled) datasource. After some frustration, I
realized that the version I had downloaded does not include
commons-dbcp.jar and commons-pool.jar in the common/lib directory.
Looking at some recent traf
Thanks for the quick response. I posted a bunch of logs on tomcat-dev last week and
didn't get any feedback. I'll dig them up and repost here tomorrow morning. It seems
like something funky going on with the handling of the socket/stream associated with
the post data.
Try as I may, I haven't
Hi Sven,
Me to, i'm using tomcat 4.1.18.
JP
>
> i have those errors too, although they don't occur that often.
>
> btw: which tomcat version do you use? it must be 4.0 or something,
> because the AJP13 connector has been rewritten in Tomcat 4.1.x.
>
> i'm using tomcat 4.1.18.
>
>
>
>
Hmm. I hear what you're saying but I would think that if Tomcat uses
different forms of URL formats that would be a fundamental
backwards-compatability issue. Is this not a concern of the product?
:(
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Saturday
Thank you for your assistance. I re-wrote all of the set path statement in
ALL of the BAT files that came with Tomcat in the BIN directory. Somehow in
doing this Tomcat then ran and continues to do so. Maybe I had written a
statement wrong, maybe there was one missing I don't know.
Question:
Wh
On Sat, 1 Mar 2003, neal wrote:
> Date: Sat, 1 Mar 2003 13:29:08 -0800
> From: neal <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: XML problem with Tomcat 4.1.18 (but was ok in 4.0.4)
>
> actually the full URL that
Hi,
I'm very new to this JMX stuff.
Tomcat supports JMX to be able to better manage applications running on it.
However, I would like to write a utility that runs outside of Tomcat, on a
different JVM, that makes use of these MBeans that can manage the entire
Tomcat server itself. Is this poss
First, how how exactly are you calling getResource()? Here are some
examples...
This will get the resource in the root of the current classloader ( ie...
WEB-INF/classes or the root of a .jar file)
myClass.getResource("/myprops.properties");
This will get the resource relative to the location
actually the full URL that's coming back does not have the "file://" in
front. I guess that's why its complaining about not having a scheme.
But again, why did it work before? Why does it not work now? And if the
scheme is required, why is Class.getResource() not returning that as part of
the U
If that's normal then why did it work in Tomcat 4.0.4 and not in Tomcat
4.1.18?
I can not say positively that it was not adding that leading slash in 4.0.4
but it was the first thing I noticed and when I took it out it fixed the
problem.
What else could it be?
Neal
-Original Message-
Fr
That's normal. The full URL should look soemthing like this, though...
file:///D:/dev/tomcat/webapps/myapp/WEB-INF/classes/org/mypackage/somefile.properties
or if it is inside an archive...
jar:file:///D:/dev/tomcat/webapps/myapp/WEB-INF/lib/somejar.jar!/org/mypackage/somefile.properties
Jake
Actually,
It seems that the problem is that Class.getResource() is returning a URL
with a leading "/" dispite the fact that I'm on a Windows box. For
instance, its returning a url like:
/D:/dev/tomcat/...
where it *should* be returning:
D:/dev/tomcat/..
If I mockup a String of that nature it
Hi,
This may have something to do with an upgraded version of jaxp or xerces, distributed
with some dists of tomcat.
According to the error you're getting your url is missing scheme, often 'http' or
'https' in the beginning of the url (before '://')
[scheme:]scheme-specific-part[#fragment]
Hmm ... I'm wondering how this is going to affect the x-platform-ness of my
application now.
I'm developing on a windows platform and deploying to linux, wherein my
paths actually *should* start with a "/".
UUugh.
-
To unsubsc
Hmm ... it appears that for some F***'ed up reason, that the URL created by
using his.getClass().getResource() is no longer acceptable for TRAX when
using Tomcat 4.1.18, as compared to Tomcat 4.0.4.
The problem is that the URI begins with a "/". If I remove that leading "/"
suddenly the URLs are a
I ported my app from Tomcat 4.0.4 (Windows) to Tomcat 4.1.18 (Windows) and
now it doesn't work! It appears that I have a problem now with parsing my
conf.xml file in my initServlet.
I noticed that the new Tomcat has an "endorsed" directory with a different
copy of Xerces in it. Is this somehow r
Thanks for that response. This is the typcial client setup what we have. Now the worse part of this is, Apache is just doing a request management. All the actual process is done in Tomcat only. Can you please let me know how do we switch on the incremental garbage collector on??
If you're using L
Hi,
I have managed to run the jsp compiler jspc.bat against a bunch of jsp files. This
produced a load of java servlet code that I now need to compile with javac - correct?
However when I compile these source files generated from jspc I get the following
error:
handlePageException(java.lang.Ex
Why do you recommend putting the two required jar files ( ldaphttp.jar and
ldapjdk.jar ) in CATALINA_HOME/shared/lib? Why not just add a WEB-INF/lib
directory to your .war archive and put the jars in there. It makes for
much simpler deployment and fewer instructions.
Also, why not have a defa
_
I have been trying to setup Tomcat 4.1 I have entered all class and other
paths. When I run Startup it goes through a whole set of operations then
finishes with
"can not find file or directory or one of its components -Dj
Tomcat auto-redeploys/auto-deploys classes/jsp/html very well if they
are dropped into the filesystem under the webapp.
Is there a way enable tomcat to auto-redeploy a WAR file that has been
updated in the webapps? unpackwar = false.
thanks
--
=
Rick,
>
> With Tomcat 4.1.18 and the latest JK IIS redirector (on
> Windows XP Pro), HTTP POST requests to a servlet fail with
> what appears to be a socket timeout error. HTTP GET's work
> perfectly. The identical code runs perfectly (POST or GET)
> when using Apache 2.0.43 with JK.
>
>
Raja Sekhar <[EMAIL PROTECTED]> wrote:
>
> I have configured my apache server to work with Tomcat engine. But I
> am continuosly seeing this error in the log file.
Use the new Coyote connector instead of the old AJP one.
--
Tomasz Nowak
Hi Jacob,
Thanks , for the inforamtion, I understood now...
Regards,
Pratt.
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 10:41 PM
Subject: Re: Fw: Tomcat WAR expansion
>
> This is expected behav
This is expected behavior. If you add an explicit for you
app and the "path" attribute matches the name of the .war file (less
".war"), then the .war file will not be expanded. You will have to expand
it yourself. This is kind of a confusing issue for new users and I'm not
entirely sure why
With Tomcat 4.1.18 and the latest JK IIS redirector (on Windows XP Pro), HTTP POST
requests to a servlet fail with what appears to be a socket timeout error. HTTP GET's
work perfectly. The identical code runs perfectly (POST or GET) when using Apache
2.0.43 with JK.
-
I am an independent software developer and consultant. Last fall I
released a free and open source software product that I think some may
be interested in. You can find out all about it at:
http://www.mentata.com/ldaphttp/
My central offering is a framework for building efficient MVC web
appli
2003-02-28 13:24:35 Ajp13Processor[8009][42] process: invoke
java.io.IOException: Broken pipe
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:96)
at org.apache.ajp.Ajp13.send(Ajp13.java:525)
at or
Still tested this 100 times and it still only works directly to tomcat at
8080 but not through mod_jk. Are there any additions to the server.xml file
that need to be made to make this work properly?
It doesn¹t appear the connection even gets to tomcat since the logs don¹t
show anything. I am
hi,
first, i had some OutOfMemoryErrors. That was my fault, i i configured
java peroperly, so Tomcat has 256MB now.
After running 2 or 3 days, Tomcat now stops serving requests. My mod_jk
log contains the following errors:
[Sat Mar 01 05:03:04 2003] [jk_ajp_common.c (970)]: ERROR sending data
thanx MIKE and PATER. i am starting to work on it, lets see how quickly i go
ahead with the installation and all that stuff.
trying best to do the TIGHT-ROPE-WALK !
Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange
From: "Mike Jackson" <[EMAIL PROTECTED]>
Reply-To: "Tomcat User
Hi,
JDK 1.4 is not required. It should do by using the JAVA_HOME.
Try by adding the JDK/bin to your System path variable.and restart the
server.
Are you running tomcat in WIN or Linux etc.,?
Ragards,
Pratt
- Original Message -
From: "neal" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[E
I tried to do a simple upgrade from 4.0.4 to 4.1.18. I simply copied the
file structures of 4.1.18 over the top of those for 4.0.4. I presume this
should do it but in fact I now get a message that Tomcat can't find the
compiler. It is suggesting that perhaps my JAVA_HOME variable isn't set.
But
For the observant, you will notice the header 'Transfer-Encoding: chunked'.
In this case, the HTTP/1.1 protocol requires that the server sends the
length of the chunk prior to sending the body of the chunk itself.
If you don't want to see this, simply set the content-length header (e.g.
response.
45 matches
Mail list logo