Doing the easy part only (mind you, I haven't tested this)
JkSet server.root /usr/local/apache
Jack Lauman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Are there ary docs for JkSet, JkSet2 JkUriSet?
Also is ther a way to override {$server.root} so the mod_jk2 can
find it's
I haven't used 3.2.x in a very very long time. My first guess would be to
check the batch files. From the error you are getting, it may just not be
quoting the initial Java command.
Of course, it is useless to submit a bug-report, since the 3.2.x line is no
longer maintained.
Graham Reeds
I'm going to assume that like any good webmaster these days, you have access
to MSIE. Go to tools-Internet Options-Security-Custom Level. Under
'Miscellaneous' select the 'Disable' option for 'Display mixed content'.
Click on enough Ok buttons to get to the main IE screen. Attempt to access
I use both in some JSP and it works fine.
Here is a sample one :
%@ taglib uri=/taglibs/generic.tld prefix=esope %
%@ taglib uri=/taglibs/c.tld prefix=c %
%@ taglib uri=/taglibs/fmt.tld prefix=fmt %
jsp:include page=entetePage.jsp
jsp:param name=titre value= /
jsp:param
On Thu, 2003-10-02 at 01:12, Peter Harrison wrote:
On Thu, 02 Oct 2003 01:01, Tuna Vardar wrote:
What can be the cause for the exception I mentioned above? Any comments?
Sounds very similar to the issue I had when trying to move to 4.1.27. When I
moved from 4.0.4 to 4.1.27 the exact
Sorry, but I didn't see which datasource you were using. With DBCP, you
have these optional parameters:
!-- abandoned dB connections are removed and recycled --
parameter
nameremoveAbandoned/name
valuetrue/value
/parameter
!-- set the number of seconds a dB connection has been idle
Josh,
try
jdbc:mysql://localhost:3306/docomatic
On 10/03/2003 04:34 AM Josh G wrote:
Filip Hanik wrote:
put it in the same place as your DBCP jar files are
Ok done that, now I'm getting a new error that I can't find an
explanation of on google :(
java.sql.SQLException: Cannot create JDBC
Hi!
In my struts-config.xml i have the following in an action:
forward
name=error
path=/mywebapp/jsp/error.jsp/
Is there any way of telling struts to use the webapp-root instead of the
server-root so that I don't have to tell the name of the web-app... a
deployer might wanna deploy several
Bill Barker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I haven't used 3.2.x in a very very long time. My first guess would be to
check the batch files. From the error you are getting, it may just not be
quoting the initial Java command.
They are both in quotes - I forgot to
Hi
Found this in my JK2 logs (Windows events):
Emerg: [jk_isapi_plugin.c (426)]: HttpFilterProc
[/cc200x/meta-inf/services/javax.xml.parsers.documentbuilderfactory]
points to the web-inf or meta-inf directory.
Somebody try to hack into the site!!!
What does this mean?
Marcel
Found this in my JK2 logs (Windows events):
Emerg: [jk_isapi_plugin.c (426)]: HttpFilterProc
[/cc200x/meta-inf/services/javax.xml.parsers.documentbuilderfactory]
points to the web-inf or meta-inf directory.
Somebody try to hack into the site!!!
What does this mean?
I believe it means
Jon Skeet wrote:
Found this in my JK2 logs (Windows events):
Emerg: [jk_isapi_plugin.c (426)]: HttpFilterProc
[/cc200x/meta-inf/services/javax.xml.parsers.documentbuilderfactory]
points to the web-inf or meta-inf directory.
Somebody try to hack into the site!!!
What does this
That's what I figured... However, the only one accesing the system
at the moment is myself. It must be one of my servlets that places
such
a request. Why is there a meta-inf directory anyway? It is not
reflected in the file system.?
Consider a war file - that's likely to have a meta-inf
Jon Skeet wrote:
That's what I figured... However, the only one accesing the system
at the moment is myself. It must be one of my servlets that places
such a request. Why is there a meta-inf directory anyway? It is not
reflected in the file system.?
Consider a war file - that's likely
Hello,
I want my users to be able to print out a list of messages they receive with a single
click on a print button.
Incorporating the messages into a single JSP is no problem but then when they print
this there are no page breaks.
I have looked at the IETF's site at:
Hi there,
I'm using TomCat 4.1 and I want to configure SSL conection. I've used how-to
manual from site
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html
- i've generated keystroke and saved it into c:\.keystroke
- i've modified server.xml file using this:
Connector
Hi All,
Anyone got an expected date (roughly) for the above?
Ta.
Greg Cope
GCS Ltd
Assign to: CIT, Sandwich - ISG
Phone: (44) 01304 642040
Fax: (44) 01304 652118
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be
privileged. It is intended for the
I want my users to be able to print out a list of messages they receive with
a single click on a print button.
Incorporating the messages into a single JSP is no problem but then when
they print this there are no page breaks.
I have looked at the IETF's site at:
http://jakarta.apache.org/tomcat/faq/version.html#when
-Tim
[EMAIL PROTECTED] wrote:
Hi All,
Anyone got an expected date (roughly) for the above?
Ta.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
[EMAIL PROTECTED] wrote:
Hi All,
Anyone got an expected date (roughly) for the above?
http://jakarta.apache.org/tomcat/faq/version.html#when
Regards,
Marcel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Subject: Problem Compiling JSP Servlet
billy_aplin I am new to JSP development and I am trying to compile a
billy_aplin simple servlet from the More Servlets and JavaServer
billy_aplin Pages. I am getting the error cannot resolve symbol
billy_aplin (see below), which is supposed to mean that I
Thanks :-)
I know about when its ready, but some people in the know have a feeling
for when it is nearly ready as opposed to not quite.
I am presently facing issues with posted xml data in 4.1.24, and am
considering moving to 4.1.27, but the hotfix is apparently in the future
4.1.28.
As I have
See the tomcat-dev archives. Occasionally, wishful release dates pop up from
time to time ...
For example:
http://marc.theaimsgroup.com/?l=tomcat-devm=106485028613397w=2
But emails like that can also be teasing due to unforeseen gotchas. (See the
archives of how long it took to release jk 1.2.5
Change keystrokeFile to keystoreFile and keystrokePass to
keystorePass.
Chris.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Tim,
Just what I wanted!
If it is this close, then I will wait a while to see if it does come out
soon, and then assuming it is not a brown paper bag release
I have to arrange change control, and install qualification docs etc ... so
we tend to do this infrequently if we can.
Thanks
I am connecting Apache 1.3.x to TC 4.1.27 on Linux
From what I can see on the group the concensus is to go with jk2 / AJP
Has anyone recently done this - if so please let me know if there are any issues /
performace issues.
Thomas
Ought! Thanks, this was really stupid mistake. Thanks for that.
Honza S.
Christopher Williams wrote:
Change keystrokeFile to keystoreFile and keystrokePass to
keystorePass.
Chris.
-
To unsubscribe, e-mail: [EMAIL
Howdy,
Even though i think you're mistaking here, it might be even more reason
to update the Application Developer's Guide on the tomcat 5 docs ;)
Feel free to contribute...
Why would a target be deprecated? I could call it jake-the-snake if i
For the normal reason things are deprecated:
Howdy,
Also keep in mind that 4.1.28, like any other release, could have
regression bugs ;) You'd have to test on it anyhow before going to
production and finishing documentation. Unless you really need a fix
from 4.1.27, you could just stick to 4.1.24 without a hotfix.
Yoav Shapira
Millennium
Howdy,
Yeah, this is not always an easy task. Recent browsers are supporting
the CSS route better: the page-break-before and page-break-after CSS
elements are what you're looking for, google those.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Graham Reeds
Howdy,
Does path=../jsp/error.jsp work for you?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 4:48 AM
To: Tomcat Users List
Subject: webapp/path
Hi!
In my struts-config.xml i have the
Howdy,
Ignore my reply, it's probably very wrong, as the getRequestDispatcher
call in the forward action needs a path with a leading /.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Shapira, Yoav
Sent: Friday, October 03, 2003 8:52 AM
To: Tomcat Users List
Subject:
On 02 October 2003, Andy Eastham said:
Standard one is java.net.URLEncoder.encode() and
java.net.URLEncoder.decode()
No. HTML quoting and URL encoding are quite different.
URLEncoder.encode() on my test string returns
Jeb+said%2C+%22Hell+%26+damnation%21+Is+5+%3E+4%3F%22
(It would also be
On 02 October 2003, Tim Funk said:
JSTL by default escapes all output to be HTML friendly
c:out value=${myValue}/
and to disable:
c:out value=${myValue} escapeXML=false/
Alas, I'm working on some crufty old servlets that are chock full of
System.out.println( ... boatloads of HTML ...);
We
Shapira, Yoav wrote:
Howdy,
Also keep in mind that 4.1.28, like any other release, could have
regression bugs ;) You'd have to test on it anyhow before going to
production and finishing documentation. Unless you really need a fix
from 4.1.27, you could just stick to 4.1.24 without a hotfix.
[This message cc:ed to tomcat-user in case anyone else is browsing for
the solution]
Stan,
There is a new version (1.0.4) of jakarta's jstl libs:
jakarta-taglibs-standard-1.0.4.zip or jakarta-taglibs-standard-1.0.4.tar.gz
This worked for me! Also, thanks for the link you found:
Chaps,
where can I get mod_jk2.so as bin or do I need to build for linux RH
-Original Message-
From: Curley, Thomas
Sent: 03 October 2003 13:33
To: [EMAIL PROTECTED]
Subject: APJ v WARP
I am connecting Apache 1.3.x to TC 4.1.27 on Linux
From what I can see on the group the concensus
Hi everyone,
Is it possible to compile all of the jsp pages of a given context when it
starts ?
( As far as I know they are compiled each time the server get a request
for that particular jsp page ).
Many thanks,
Gianluca
-
Howdy,
By default, JSP pages are compiled as needed at runtime. That means
once when first accessed, and once thereafter every change to the JSP.
It does NOT mean recompile on every access -- that would be pretty
terrible ;) If you change reloadable to be false for your context, JSPs
are not
Here's a simple method to quote the most important character entities:
/**
* Handles a couple of problematic characters in strings that are
printed to
* an HTML stream, replacing them with their escaped equivalents
* @param s an input string
* @return the escaped string
Hi,
No, Not that I'm an expert but,
JSPs compile only on the first request and then every time they are
changed.,
knd rgrds,
Luke
On Fri, 2003-10-03 at 20:08, [EMAIL PROTECTED] wrote:
Hi everyone,
Is it possible to compile all of the jsp pages of a given context when it
starts ?
( As
It's possible with CSS. Check out:
http://www.w3.org/TR/CSS21/page.html
Chris.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi there,
We were using a web application using iPlanet. Now we want to try Tomcat as
a standalone Application container for the same application. We have
migrated the application in the desired directory structure under Tomcat
directory with the apropriate changes to the application's Web.xml
My Tomcat configuration defines 3 hosts : it is the same
machine known under 3 different names. Basically there is one context by host.
I have a listener for one of my context but this listener is
initialized twice. I do not understand why !
Actually the method contextInitialized() is called
Howdy,
How is your server configured? Specifically, what is the directory structure under
webapps, what's in the web.xml for your apps, and what's in server.xml for your
contexts/hosts?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jean-Paul Le Fèvre
Hi :)
Shapira, Yoav wrote:
Howdy,
Feel free to contribute...
A discussion like this turns out to be more of a learning course for me
than a contribution to the docs i suppose :D
Should i post the tomcat-dev mailinglist for contributions to the docs
as well? Maybe i'll try to work out some
Howdy,
This is a FAQ -- you should search the archives before posting.
Instead of using a File I/O based API to read properties, use
ServletContext#getResourceAsSteeam(/WEB-INF/classes/JTS.props);
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED]
Howdy,
Should i post the tomcat-dev mailinglist for contributions to the docs
as well? Maybe i'll try to work out some updated tutorial... in the
not-so-near future that is...
You would put an enhancement issue into Bugzilla and attach your
documents/patches/whatever to that issue.
Yoav
I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page. I have
defined it in web.xml as
error-page
error-code500/error-code
location/errorpage.hmtl/location
/error-page
and none of them works. The page displayed is Tomcat's default error page. The
error-page tag
- Original Message -
From: Carlos Pereira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 03, 2003 4:24 PM
Subject: error-page directive
I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page.
I have defined it in web.xml as
error-page
Hello guys,
Can anybody advise me on this...is it possible to create a virtual
directory in Tomcat which points to a directory on a different
machine? ... something similar to what IIS does?
I need to store lots of images for my website and am hence using a
separate machine with lot of space
I think this is part of the problem. My server root is:
/usr/lib/apache2 with a sym link from /usr/lib/apache2/conf to
the actual config dir at /etc/httpd/conf.
Apache loads JK2 and server-info see's it, but no config options
are listed. So I assume apache can't find workers2.properties.
It does not depend on the detail of the configuration : I have
tested many different approaches. The problem occurs when
there is one default host and one virtual host.
--
___
Jean-Paul Le Fèvre * Mail : [EMAIL PROTECTED]
Hi Ashish,
You should put your props file under WEB-INF/classes and call it as
JTS.props. This should work..
Kailas
Enterprise Web Infrastructure
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 10:43 AM
To: [EMAIL PROTECTED]
Subject:
cheers
Shapira, Yoav wrote:
Howdy,
Should i post the tomcat-dev mailinglist for contributions to the docs
as well? Maybe i'll try to work out some updated tutorial... in the
not-so-near future that is...
You would put an enhancement issue into Bugzilla and attach your
On Fri, October 3, 2003 at 5:33 am, Curley, Thomas sent the following
I am connecting Apache 1.3.x to TC 4.1.27 on Linux
From what I can see on the group the concensus is to go with jk2 / AJP
Has anyone recently done this - if so please let me know if there are any
issues / performace
I tried changing the removeAbandonedTimeout to value1/value and then
to test it was working - here's what I did.
1. My app opens 2 connections to MySQL - one for the JDBCRealm and one for
the database connection pool.
2. Logged into mysql to monitor the number of connections - it was intially
Howdy,
Then what do you think it depends on? ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jean-Paul Le Fèvre [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 11:35 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: contextInitialized() called
Howdy,
You may also have to disable Show Friendly Error Pages (or something similar) in
Internet Explorer's Internet Options pages.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Carlos Pereira [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 11:25 AM
To:
If you refuse to or cannot use the
org.apache.commons.lang.StringEscapeUtils (noted by Mike Curwen here),
or the JSP functionality (noted by Tim Funk) it might help to know that
a character entity doesn't have to be named. All characters have their
respective character entity using the format
Actually, I was looking at the wrong count - it was the total number of
sessions. So looking at the right number of connections - I only see it
increase by 1 each time - presumably because the JDBCRealm does not release
its connection when the context is stopped and started again.
Matt
Howdy,
You may also have to disable Show Friendly Error Pages (or something
similar) in Internet Explorer's Internet Options pages.
(Yoav Shapira)
Thanks. That worked fine, with both error-code and exception-type. It is not the best
solution, though... users have to change their
Howdy,
You may also have to disable Show Friendly Error Pages (or
something
similar) in Internet Explorer's Internet Options pages.
(Yoav Shapira)
Thanks. That worked fine, with both error-code and exception-type. It
is
not the best solution, though... users have to change their
Instead of worrying so much about the appearance of your custom error
pages, try to code your app not to get as many errors ;)
(Yoav Shapira)
Nice one there :)
I do, but i wanted to make sure no error message with stack traces is sent to the
user. And I use RuntimeExceptions for those
Thanks for the suggestions. I made all of the changes except for using a
text realm. Here are 2 thread traces. One is for a quiet server. The
other is after the server sat overnight. I did a wget and the server
hung. I immediately did a kill -QUIT.
Looks like there is a hang in the Logging?!
New info: If I add JkSet server.root /usr/lib/apache2 to httpd.conf
I get the following error:
[notice] mod-jk2: Unrecognized option server.root /usr/lib/apache2
Any ideas on how to resolve this?
Note: I built this from the cvs yesterday, I've successfully built
and run mod_jk and mod_webapp
It is obvious then that a space would be #032; or #x20; since 32 is
the ascii code for a space. Though i cannot quite figure out why you
would want to escape a space...
I escape spaces and character entities in form fields; if you do the
following:
input name=x size=20 maxlength=20
Howdy,
Attachments don't come through the list server...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Joe Zendle [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 1:03 PM
To: Tomcat Users List
Subject: RE: Tomcat hanging!! About to change container!! Please
Following the advice from this link
http://books.mcgraw-hill.com/betabooks/aug02/taylor/0072225653_ch10.html
I tried to get SSL client authentication to work by setting the following
entry in tomcat-users.xml:
user username=CN=x, OU=y, O=z, L=a, S=b, C=c password= roles=user/
where x,y,z,etc.
Hello,
I have a jsp page with a SpellChecker applet defined using the applet
tags. For some reason this doesn't seem to work when the app is deployed in
tomcat but the same app works when deployed from IPlanet webserver. It seems
that the browser isn't able to download the applet code when it's
Sorry, here are the thread traces
--
Happy Server:
--
Full thread dump Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode):
MonitorRunnable daemon prio=1 tid=0x0872d0d8 nid=0x223b in
Object.wait() [4e684000..4e684714]
at java.lang.Object.wait(Native Method)
Howdy,
Oh, interesting...
Thread-2 daemon prio=1 tid=0x084201a0 nid=0x223b waiting on condition
[4e08..4e080714]
at java.io.PrintWriter.print(PrintWriter.java:375)
at java.io.PrintWriter.println(PrintWriter.java:515)
- locked 0x44a33ae0 (a java.io.FileWriter)
Tomcat List,
I am trying to help a friend with a problem where his
JSP pages served by Tomcat can't display characters that are of
ISO-8859-1 charset. I have no problem showing them on my box,
http://65.116.245.3/Jeremy/Charset.jsp , but he still can't get his to
work using the
Howdy,
Is there a difference between his and your JAVA_OPTS? Maybe this will
help:
http://lists.freebsd.org/pipermail/freebsd-java/2003-July/000545.html
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03,
Yoav,
That is a good place to start but that thread dead ended there.
I'll search Google in the mean time. Anyways, if anyone has an answer
off the top of their heads, let me know. Thanks, Jeremy
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday,
I have created a webapp and put a log4j.properties in the classpath, but
the logging doesn't seem to work. So now I want to enable log4j
debugging, but don't know how to set this system property with tomcat:
Ie: can I set the system property '-Dlog4j.debug=true' in web.xml, is
that possible? If
Howdy,
Set JAVA_OPTS='-Dlog4j.debug=true' in $CATALINA_HOME/bin/catalina.sh.
RTFM
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Ilja [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject: log4j logging and tomcat
I have
Thanks, did that, but still no debuggin information is showing up in my Mac
OSX console... Looks like log4j isn't used, however it is in my WEB-INF/lib
dir of my webapp...
Ilja
From: Shapira, Yoav [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
Howdy,
If log4j.jar is in your WEB-INF/lib, and log4j.properties is in your
WEB-INF/classes, and your server is set up correctly (i.e. all examples
work), and you set log4j.debug=true as a system property, and nothing
shows up, I'm lost. If any of those conditions are false, correct them
;)
Hi Anton, sorry i haven't replied earlier. The native code is ok. It
works perfectly without Tomcat. It's related to reloading web
application. I've actually worked it out. But by taking a bit differen
way.
Bests
daniel
-Original Message-
From: Anton Tagunov [mailto:[EMAIL PROTECTED]
all prerequisites are true I'm affraid :(
Directory listing:
/Library/Tomcat/webapps/Mathesis/WEB-INF/classes:
hibernate.cfg.xml log4j.propertiesorg osuser.xml
/Library/Tomcat/webapps/Mathesis/WEB-INF/lib:
cglib.jar hibernate2.jar
Howdy,
Ahh, I should've known commons-logging was in the mix... Let's try
temporarily to remove commons-logging*.jar from your WEB-INF/lib. See
what happens...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED]
Sent: Friday,
Nothing changed :(
I'm outa luck... Does log4j.jar also needs to be placed in
$catalina_home/common/lib?
From: Shapira, Yoav [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: log4j logging and tomcat
Date: Fri, 3 Oct 2003
Hello,
I'm using the Tomcat 5.x branch. I'm having an issue with Tag libs
apparently. I downloaded an installed the mailer tag libraries. The
examples with installed from a WAR file to the main server run fine, but
when I take the libs and move them into another host I get this error
I thought I would give a run down of my setup.
I have my web.xml file. I am not using long URIs. I am using URIs of
the form apache_taglibname in my web.xml file, but don't assume this is
the problem. The URIs are definitely unique in the host or context.
The host I am running has it's files
I'm not sure why the email appeared three times. I apologize. I've
never had that happen on a list before.
Wade Chandler
Software Engineer
Red-e Set Grow, LLC
Email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL
Dear all,
I know not too many did this before. I enabled cgi support of Tomcat instead of
integrating it to apache. Everything worked fine for the old cgi scripts except one
fatal thing: the email script failed. Seemed to me Tomcat has some security
restriction on openning socket to
Shapira, Yoav wrote:
Howdy,
Oh, interesting...
Thread-2 daemon prio=1 tid=0x084201a0 nid=0x223b waiting on condition
[4e08..4e080714]
at java.io.PrintWriter.print(PrintWriter.java:375)
at java.io.PrintWriter.println(PrintWriter.java:515)
- locked 0x44a33ae0 (a
Laurence,
I have the same problem and could not figure it out. It seems that the CGI
program isn't allowed to open a new socket.
You could try to enable the Security Manager and set it up so it allows for
opening sockets. However, I don't believe CGI scripts/programs are affected
by the Security
Check WEB-INF directory to see if its name is in the same way as
web.xml, because its case-sensitive.
Regards,
Edson
--
De: Wade Chandler[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: sexta-feira, 3 de outubro de 2003 16:29
Para:
Here is code that we use. It depends on our own variant of String
Buffer, but you get the idea:
public String htmlEncode(String cVal) {
if (cVal==null || cVal.length()==0) {
return ;
}
MHBuffer buf=new MHBuffer(cVal.length()2);
final String[] aOld=
Hello,
When i run tomcat in a debugger, i get the following error when it is
trying to compile ANY jsp:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
it works fine , if it is not wrunning in debug mode.
alex k.
Has anyone ever tried to use an alias that did not begin with www.?
Every time I do that it doesn't work unless I make it the name of the
Host element. But then if I do that no other Alias will work. So, I
end up with multiple Host elements. I think I'm going to join the
developer list and see
tools.jar is not in your classpath
- Original Message -
From: Alex Korneyev [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, October 03, 2003 2:00 PM
Subject: com.sun.tools.javac.Main is not on the classpath error
Hello,
When i run tomcat in a debugger, i get the following error
Hello Filip,
i checked that, and as you can see it is in fact in classpath:
C:\j2sdk1.4.2_01\bin\javaw.exe
-Djava.endorsed.dirs=C:\tomcat\jakarta-tomcat-4.1.27\bin;C:\tomcat\jakarta-tomcat-4.1.27\common\lib
-Dcatalina.base=C:\Documents and
I believe this is the incorrect way of starting tomcat.
if you start bootstrap, your command line should only be like this
java.exe -Djava.endorsed.dirs=..\common\endorsed
-classpath
C:\Software\jdk-1.4.2\j2sdk1.4.2\lib\tools.jar;..\bin\bootstrap.jar
-Dcatalina.base=.. -Dcatalina.home=..
I would like to implement a fix to this. I think having users bookmark the
login page is a very likely frequent problem.
But..
What happens if you implement this solution and the user has disallowed
cookies? Don't you get an ugly loop?
If the referer header was set, you could use that, but
Well I checked the file names, and they are fine. Then to make sure it
was finding them I changed the path in web.xml to look for my file (to
see what error I would get), and this tells me that it was finding the
tld fine before keying in an invalid path.
org.apache.jasper.JasperException: File
Here are two fixes for the problem.
http://forum.java.sun.com/thread.jsp?thread=330109forum=45message=1344266
http://raibledesigns.com/page/rd/20020828
However, they don't work for me. My problem isn't that the user goes
directly to the login page, but that a login form is available on every
Hi all:
We recently installed Tomcat 4.1.24, but we want to change The Logger
Component configuration, the reason is that we want all the catalina log or
access log to use one file per purpose, but the default file logger from
Catalina, org.apache.catalina.logger.FileLogger, will use a new file
1 - 100 of 108 matches
Mail list logo