Tomcat 4.1.27 is running in my company's DMZ.
Users external to my company's network see the normal, fast response times from
Tomcat. On my cable modem at home, it is very fast to respond.
Users internal to my company's network (behind our firewall) see very slow response
times, often several
On 11/05/2003 09:31 AM Christoph Lechleitner wrote:
I have a really weird problem with charset handling concerning special
characters like German "umlaute" (i.e. ä, ö, ü) (it also concerns
characters from French and so on).
I have done extensive Google and list searches, but all information I
fo
Ok, more nifty questions from myself.
The format that the rest of the company uses for NT Authentication is
[domain].com\[username] in the username field, and then [pass] in the password field.
The NT Admins would really like if my application would do the same (so as not to
throw off users).
Hi
In my understanding:
(1) Client-Auth is set to true: every client who accesses Tomcat must has
his own certificate. And the certificate of the CA who issued client
certificate must in the truststore list. The default location of the
truststore list is at JAVA_HOME/jre/lib/security/cacerts.
Hi
I'm trying to compile my first servlet but Iýve
problems with javac.
If I try to run javac without parameters I receive the
message:
Exception in thread "main"
java.lang.NoClassDefFoundError:
com/sun/tools/javac/Main
and I receive the same with
javac -h
javac -?
javac -classpath . Algo.
Hello allI have a problem that i'm not sure how to go about it..
I want to use ant to help with developement and deployment.I plan to use
install and deploy tasksWhen i try to use the "install" task...i get an
error:
BUILD FAILED
file:C:/DEV_WORK/russellpitre.com/build.xml:94: F
Sorry for the unintentional double posting.
I did suggest my first posting would have been lost.
With hindsight I think a temporary DNS problem at our side has deferred my
first posting due to lack of sender domain resolvability.
kr
Christoph Lechleitner
--
On Wed, 5 Nov 2003 [EMAIL PROTECTED] wrote:
>Check the database charset. UTF8 should supports different languages.
That will not help concerning data read from files, and it does not
explain why everything works fine at tomcat start but starts to work wrong
after some time.
kr
Christoph Lechlei
Quoting Andy Eastham <[EMAIL PROTECTED]>:
Thanks a million, just a few lines but it helped me a lot :)
I succeeded in building mod_jk2.so, jkjni.so
I had to download apache to get the missing apxs.
Now getting busy testing ... Thanks again, Patrick
> Patrick,
>
> I found this, but I did mana
On Wed, 5 Nov 2003, Adam Hardy wrote:
>Basically you are saying the problem is with reading these characters
>from files and databases. Is that correct?
Yes.
>When the problem occurs, does
>tomcat carry on handling incoming characters correctly? e.g. saving them
>to the DB or file correctly?
Am Mittwoch, 5. November 2003 19:02 schrieb Javier:
> Hi
>
> I'm trying to compile my first servlet but Iýve
> problems with javac.
>
Hi - "Java Examples in a Nutshell" - David Flanagan
- page 460 - in the 2nd Edition:
"Compiling Servlets
Your servlet conainer should come with a JAR file that c
Better ...
If you already have tomcat, take the JAR from
$TOMCAT_HOME/common/lib dir.
--- Jan Faerber <[EMAIL PROTECTED]>
wrote:
> Am Mittwoch, 5. November 2003 19:02 schrieb Javier:
> > Hi
> >
> > I'm trying to compile my first servlet but Iýve
> > problems with javac.
> >
>
>
> Hi - "Java
Javier,
Check this out..
http://forum.java.sun.com/thread.jsp?forum=32&thread=292032&tstart=0&trange=15
Vlad
At 01:02 PM 11/5/2003, you wrote:
Hi
I'm trying to compile my first servlet but Iýve
problems with javac.
If I try to run javac without parameters I receive the
message:
Exception in thr
If you don't want to edit your server.xml file, add
a anywhere.xml file in webapps dir, with the same
code.
This is suggested becuase, it helps you change
settings easily, without fear of corrupting server.xml
file , (for other webapps).
--- Dominique Batard <[EMAIL PROTECTED]> wrote:
> Put your
I could see what the problem is:
The PATH is the ariable, in which the various
Directories are searched in order.
Hence, it is often beneficial to have the env.
variable set like:
PATH=%JAVA_HOME\bin;%PATH%;.
--- Vladimer Shioshvili <[EMAIL PROTECTED]> wrote:
> Javier,
>
> Check this out..
>
Howdy,
How about rm -rf $CATALINA_HOME/webapps/ROOT ;)
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 05, 2003 1:12 PM
>To: [EMAIL PROTECTED]
>Subject: Ant tasks problem
>
>Hello allI have a p
I'd like Tomcat 4 to be listening on port 80. I have changed
server.xml file
to read: .
I'm running as root, I know only root can access this port.
When I try to start Tomcat (tomcat4 start) I get a message: bind
exception - permission denied:80, bind exception - 8005 address already in use.
So I f
Hi,
I am having a problem with mod_jk2.
Here are the details:
Windows 2000
Apache 2.0.47, running on port 80
Apache Tomcat 4.1.24, running on port 8080 (AJP13 on
port 8009)
Mod_JK2 v2.0.2 (Pre-Built Binary)
I couldn't find jkjni.dll pre-built, so I didn't use
JNI.
I have included a list of al
Dean!
Mine works!
A thousand thanks!
I hope I can return the favor some time.
Your nice explanation helped.
I did not need the alternatURL in mine. I found out that we have 2 mail
servers, well the server.xml only allows for 1 alternate. I decided to
try it without any and it worked.
Much app
I really don't know how to help you. The server.xml
file works well in Windows (i've tried it out, on port
80).
So, temporarily, till one of us comes up with a
solution, start httpd, and give a redirection page to
http://yourhost:8080.
Tomcat uses more ports such as a Shutdown Port / AJP13
Port
When you say you built the new connector, where did you get your source?
From the HEAD of the repository? I know there is some work going on
right now on the mod_jk2 connector, to move it to using the APR library
exclusively. You might have gotten a version that is in transition.
Of course, the
I should mention I'm running Tomcat on Linux... I'm not sure if that makes any
difference.
N.K.
-Original Message-
From: V.Karthik Kumar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 1:47 PM
To: Tomcat Users List
Subject: Re: setting tomcat to listen on port 80
I really
Suze is not a supported platform
http://java.sun.com/webservices/downloads/webservicespack.html
-- Jeanfrancois
r h wrote:
Hi,
I tried to install Java web service developer pack 1.3
which has a built in tomcat container on my suse linux
8.0 OS. But I am getting the following message..
# sh jwsdp
Howdy,
Your 8005 error is because you started tomcat before, and shut it down
inappropriately, or not at all, so it's still listening on port 8005.
8005 is the default tomcat shutdown port.
Shut down the first tomcat properly and completely. Then you'll be able
to start on port 80 (and 8005 -- a
I downloaded connector source from
http://apache.mirror.secondchapter.info/jakarta/tomcat-4/v4.1.29/src/
Please ignore issue 1 since I don't use jni.
-Original Message-
From: Jeff Tulley [mailto:[EMAIL PROTECTED]
Sent: November 5, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: Re: tomcat
Oh, I don't know how to thank you!!! That's it! It finally works Now should we
be using port 80 and running as root or should we better use port redirection:
/etc/sysconfig/ipchains
-I input --proto TCP --dport 80 -j REDIRECT 8080
-I input --proto TCP --dport 443 -j REDIRECT 8443
Thanks f
Hello,
I have a problem since one week.
I have to upgrade an existing system working with JSP and XML files.
There is a login page written in .jsp and the login/password are written in
a XML file.
Any time I try tu access the system (by loggin), a compilation error appear.
I'm using TOMCAT 4.1.29 a
On 11/05/2003 07:02 PM Christoph Lechleitner wrote:
Basically the problem manifests in producing the html output.
i.e., the so far correct data from the DB or file are not getting encoded,
the browser gets ? instead of ä (for ä).
If this happens when filling forms with current values of some parame
Howdy,
You shouldn't run tomcat, or any java program, or any server program
open to the outside world, as root. However, only root can bind port 80
on unix. So you have some options:
1. Use tomcat 5.x which can run as a non-root user and still bind to
port 80.
2. Use Apache httpd in front of t
See inline
[.]
root cause
java.lang.NullPointerException
at org.apache.xerces.parsers.AbstractSAXParser.setErrorHandler(Unknown
Source)
at xpert.DocXML.loadXML(DocXML.java:80)
What this class actually doing? Seems a null is passed to Xerces? Not
sure the problem is with the JSP. Is
Howdy,
Post the relevant part of Users.java and DocXML.java.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Nicolas Fabry [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 05, 2003 2:34 PM
>To: Tomcat Users List
>Subject: Problem with JSP to access XML files
>
>He
When trying to fetch a simple JSP page, the following header displayed on the browser
(IE 6.0 on WinXP):
HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1 Content-Length: 2183 Date:
Wed, 05 Nov 2003 19:42:16 GMT Server: Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1
Connector)
After click
This mailing list is for people that are writing Java servlets that use the
Tomcat servlet containers. Are you using Tomcat or are you trying to write a
normal Java applet or application?
If you are writing a normal Java applet or application, you should look at
the Java FAQ by Peter van der Linde
Great to hear that information worked for you. I included the alternateURL in the
event our primary AD went down for one reason or another and our users could still
access the password protected sites. Without an alternate AD active or specified you
will not have access to your web applications.
(xpert is a package for all my classes)
I put in attachements the differents files who are responsibles of this
error.
The error appears in the method LoadXML in the DocXML.java file
the line wich is the cause of this problem is :
myReader.setErrorHandler(exh);
Thank you very much for your help
Howdy,
You're call setErrorHandler with a null argument (exh) is null. That's
why the error happens. Make sure you have an actual error handler
that's not null before you call that method.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Nicolas Fabry [mailto:[EMAIL
On Wed, November 5, 2003 at 9:14 am, Turansky, Mark wrote:
> Tomcat 4.1.27 is running in my company's DMZ.
>
> Users external to my company's network see the normal, fast response times
> from Tomcat. On my cable modem at home, it is very fast to respond.
>
> Users internal to my company's network
What is strange is that exactly the same program is running on another PC
(but with Windows XP -- I don't think the problem is that one).
Thus, Is it really the java code the problem?
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED
Check your xerces version. Are they the same? Still make sure you don't
pass a null
-- Jeanfrancois
Nicolas Fabry wrote:
What is strange is that exactly the same program is running on another PC
(but with Windows XP -- I don't think the problem is that one).
Thus, Is it really the java code
lohcl> When following the following procedure to build the connector,
[snip ..]
lohcl> Following error occur, pls help ...
lohcl> BUILD FAILED
lohcl> file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
lohcl> java.io.IOException: libtool: not found
> You need to have the
On 05/11/2003 at 13:21 Vladimer Shioshvili wrote:
>Javier,
>
>Check this out..
>
>http://forum.java.sun.com/thread.jsp?forum=32&thread=292032&tstart=0&trange
=15
>
Thanks a lot !!!
-
To unsubscribe, e-mail: [EMAIL PROTECT
Thanks for the pointer, I'll see about pointing to one of our 2 mail
servers. I wonder if they "talk" back and forth.
Also,
Do you know how I can extract the sign-ed on user's user-id once they've
authenticated?
robyne
-Original Message-
From: Dean Searle [mailto:[EMAIL PROTECTED]
Sent:
Hi,
I'm trying to log messages in the ServletContext.log, but after I ran the application
did not find where the log is?
The documentation asks me to consult the Application Server Documentation!! but I
couldn't find it anywhere?
Can someone kindly hint me out on where is the log?
thanks.
Notes:
Linux's libtools is needed.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: November 5, 2003 3:33 PM
To: Tomcat Users List
Subject: Re: Connector Problem
lohcl> When following the following procedure to build the connector,
[snip ..]
lohcl> Following error oc
Laurent,
What about classes with static method and/or static attributes ?
Are they deleted from the old webapp ?
I don't believe that the VM ever releases resources taken up by Class
objects (I think this includes static resources for a class). There used
to be a VM option, -noclassgc, that was
Hi all,
I've come across a situation I can't figure out and I'm wondering if it
has to do with the fact that this is the first time we've installed
Tomcat on Windows XP Prof.
Symptom: Tomcat loses session. If you set up a very simple two JSP
process where page 1 stuffs (setAttribute) something i
Mark,
Tomcat 4.1.27 is running in my company's DMZ.
Users external to my company's network see the normal, fast response
times from Tomcat. On my cable modem at home, it is very fast to
respond.
Users internal to my company's network (behind our firewall) see very
slow response times, often sever
for those of you who want to run their oracle, beware that oracle will grab
the port 8080 from your system (the tomcat port)
you can either change tomcat (conf/server.xml) or oracle (see scripts below)
as sysdba execute
call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
'/xdbconfig/sysconfig/pr
Javier,
I'm trying to compile my first servlet but Iýve
problems with javac.
If I try to run javac without parameters I receive the
message:
Exception in thread "main"
java.lang.NoClassDefFoundError:
com/sun/tools/javac/Main
So, this happens if you invoke javac both with and without parameters?
Two prefaces...
1) I hope this is the right list. I didn't see one specifically for
mod_jk/mod_jk2.
2) I've read all the doc's I can find. I've been reading and trying
for the last two days. Please don't send me replies telling me to RTM.
The whole reason for my post is that I'm stuck and th
Howard,
When trying to fetch a simple JSP page, the following header
displayed on the browser (IE 6.0 on WinXP):
HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 2183 Date: Wed, 05 Nov 2003 19:42:16 GMT Server:
Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1 Connector)
Maybe M$ i
Hatem,
AbouHassan wrote:
I'm trying to log messages in the ServletContext.log, but after I ran
the application did not find where the log is? [snip]
> its not in the catalina.out nor the
localhost_myapp_log.xxx.txt!!!
You should have a entry in your server.xml file for the context
in question.
Do you also have a get_this_crap_off_my_system script I can borrow.
Thanks
Chuck
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 2:32 PM
To: Tomcat Users List
Subject: [OT] Re: Tomcat 4 losing session (may be related to Win XP)
for t
>Do you also have a get_this_crap_off_my_system script I can borrow.
that is what you pay $1MM license fees to oracle for, ask them :)
Filip
- Original Message -
From: "Goehring, Chuck Mr., RCI - San Diego"
<[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday,
Hi Chong,
Load balancing is just a change in the configuration file thats all, I
think it has to have something to do with the compilation, what lib was it
that you were missing? Perhaps that is our problem too.
Kind Regards
Tony F. White
WorldLingo Technical Support
-Original Message
On Wed, 5 Nov 2003, Andrew Davis wrote:
>I've created a workers.properties file in
>/usr/jakarta-tomcat-4.1.27/conf/jk. It looks like this:
>
> # Setting variables
> workers.tomcat_home=/usr/tomcat
> workers.java_home=/usr/java/j2sdk1.4.1_04
> ps=/
> worker.list=Tomca
Howard Lin wrote:
When trying to fetch a simple JSP page, the following header
displayed on the browser (IE 6.0 on WinXP):
HTTP/1.1 200 OK Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 2183 Date: Wed, 05 Nov 2003 19:42:16 GMT Server:
Apache Tomcat/4.1.29-LE-jdk14 (HTTP/1.1 Connector)
Hi,
My configuration : apache + tomcat5 + jk2
I've got my site "www.mysite.com" which points on my webapp.
I'd like to create dynamicaly hosts like "user1.mysite.com", "user2.mysite.com", ...
I manage my DNS, *.mysite.com is directed towards good IP of the Apache server ==> If
i ping "user1.m
Thanks. That helps. I'm playing with the options now. I notice, however,
that in the examples at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebex.html
there are no options for specifying the path to java or tomcat anymore
as there were in the mod_jk workers.properties file.
Are the sessions the same between the two calls? That is, when you call
HttpSession#getId() for each of them do you get the same id back?
justin
At 02:27 PM 11/5/2003, you wrote:
Hi all,
I've come across a situation I can't figure out and I'm wondering if it
has to do with the fact that this i
Howard,
Strangely enough, I'd never seen the HTTP headers display raw in a page
like that until today. We were having a problem (unrelated, very
specific to our environment) where some junk was being spit out BEFORE
the headers (again, not a Tomcat issue but a proxy issue). You might
want to
Almost finished my updated mod_jk2 compilation write-up. Should be on my
site by today.
You will need the following packages installed (rpm or source):
- automake
- autoconf
- m4
- libtool
(BTW, good company you work for! I use the site quite frequently to
translate Mandarin to English and vice
I've been pulling hair out for several days with what turns out to be the
same problem, except it's occurring on a Windows 2000 Server running IIS 5.0
and Tomcat 4.1.24. The logs show that the first request to a servlet done
via POST gets a different session id than the follow-on request via GET t
Hi Chong,
I have managed to get the connectors working...
This time I downloaded the JK2 connectors from
http://jakarta.apache.org/site/sourceindex.cgi
And did an old fashioned
cd /usr/local/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
ma
I created a new virtual host using the Admin Application, and attempted
to deploy the "Manager" application using the interface. Initial
attempts gave this message:
java.lang.ClassNotFoundException:
org.apache.catalina.manager.HTMLManagerServlet
org.apache.catalina.loader.StandardClassLoa
hi Shapira,
>In addition to what others have said, why don't you ask >your highly
>knowledgeable friend for proof of what he's claiming?
Yes! i could do that.Once he says so,then i should find out whether his
statements bear any truth? Instead, asking him would not reveal the facts at
all.
Anyway
Hi Rodrigo Ruiz
currently i am not resorting to servlet way of downloading the video
files.Instead i am using http download , that is, the user is forced to
right click and select the -'save target as 'option to save the file into
his harddisk.
And i am storing the files in the separate machine(fil
I am evaluating Tomcat 5.0.14 for use in a ASP Hosting environment. As
part of this environment I would need to routinely create (or destroy)
virtual hosts. One major showstopper seems to be that if I create a
virtual host and click on the "Commit Changes", then the service
reloads, including all o
Hi all,
I have this tool I cobbled together for building vanilla java web
applications. You feed it an XML config file that defines tables and
columns. It generates:
1) source for simple databeans to hold those rows
2) source for simple database access classes (mapping a result set to
On Wed, 5 Nov 2003, Andrew Davis wrote:
>Thanks. That helps. I'm playing with the options now. I notice, however,
>that in the examples at:
>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebex.html
>there are no options for specifying the path to java or tomcat anymore
>as there w
At 05:07 PM 11/5/2003, you wrote:
>In addition to what others have said, why don't you ask >your highly
>knowledgeable friend for proof of what he's claiming?
Anyway his answer to this question is,-- using base servlet does not
create a separate object instance as it is done when using a single
At 04:14 PM 11/5/2003, you wrote:
I've been pulling hair out for several days with what turns out to be the
same problem, except it's occurring on a Windows 2000 Server running IIS
5.0
and Tomcat 4.1.24. The logs show that the first request to a servlet done
via POST gets a different session id t
Hi Tony !
I'm surprised you got the ant command working ! I tried that first, and
wasted a lot of time tinkering with the build.xml with no success. I
always use the "configure" command now. Ant is a great tool, but I
suspect that the buildfile is broken somehow (or maybe it's just me !).
Rega
Thanks... I was able to get everything working. Your help was much
appreciated. :)
[EMAIL PROTECTED] wrote:
On Wed, 5 Nov 2003, Andrew Davis wrote:
Thanks. That helps. I'm playing with the options now. I notice, however,
that in the examples at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/
The thread dumps are attached
Shapira, Yoav wrote:
Howdy,
Very interesting, actually... Post the thread dumps if you can...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Yonatan Goraly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 2:05 AM
To: Tomcat Us
Thanks for the previous reply, but I checked the server.xml and made sure that my
application has a logger element identified as:
...
and I can see all deferent logging messages such as the outcome from Log4j Logger,
System.out.println(..) , exceptions printSt
can someone please advice on the problem attached?
annisha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I wanna use ant deploy task to deploy a war onto Tomcat, but always got a
UnknownHostName exception. What's wrong here? Did anyone used the task with
sucessful?
Regards.
--
Steven Woody
Hi Shapira y and tomcat users,
#You're putting too many things in one message. ;)
Can't help that...;), in fact I would like to add some more things here
:).
#So with your configuration, you'd always have between 30*12 = 360 and
#100*12 = 1200 open database connections. Is this really what you w
Hi Chong,
I know I did have some problems when I first tried it but found this page
http://www.pubbitch.org/jboss/mod_jk2.html
I dont use jboss but step 8 certainly did solve at least one of the
problems I came across.
Cheers
Tony
-Original Message-
From: Chong Yu Meng [mailto:[EMAIL P
I *really* need to update the Tomcat 4.1 docs :-(.
"jack lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> In my understanding:
>
> (1) Client-Auth is set to true: every client who accesses Tomcat must has
> his own certificate. And the certificate of the CA who issued clie
Thanks for the link, Tony !
Just uploaded my updated write-up with corrections and modifications to
the mod_jk2 compile.
Regards,
pascal chong
Tony F. White wrote:
Hi Chong,
I know I did have some problems when I first tried it but found this page
http://www.pubbitch.org/jboss/mod_jk2.html
I d
101 - 182 of 182 matches
Mail list logo