Hi,
I have a simple security filter for authentication used for a custom MVC
framework application. Everything works properly, however, if a large file
is uploaded (about 17MB), I get the error listed below. As you can see the
root cause is RTIFilter.java line 67. This line has the following
Hi,
I compile my prodject manualy, remove soureces and everything is running OK. But the
question is:
Is it possible to compile the whole prodject when tomcat is starting and remove
prodject's source after compilation?
I use tomcat 4.1.18
Piotr
In your web application's Context, you need a ResourceLink to specify
that the global resource is accessible in a given context. Look at the
example at the bottom of the page at...
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html#Resource
%20Links
--
Sean Dockery
[EMAIL
What do you mean when you say, Tomcat creates an error report? What
exactly do you see?
Morten Mortensen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Is it possible to avoid error reports?
I have an application, where in some cases it is appropriate
Actually, the recommended way to go is to create
$CATALINA_HOME/bin/setenv.sh (or %CATALINA_HOME%\bin\setenv.bat on Windows).
In that file, you should set things like CATALINA_HOME, and JAVA_HOME if
they are not already set at the O/S level.
Turner, John [EMAIL PROTECTED] wrote in message
Tim Moore wrote:
Is the Tomcat process running with the appropriate permissions to read
and execute the directory? ;-)
Permissions are fine. Apache can access all the sub-directories, not Tomcat.
I run Tomcat as root (home project, so do not bother lecturing me. :)) so
permissions should
Hans Deragon wrote:
Greetings.
I am baffled. I have setup the following context:
Context path= docBase=deragon debug=0/
Now, I have the following directory:
..jakarta-tomcat/webapps/deragon/generic
Tomcat renders any file under the deragon directory. For instance,
Hi,
I made a migration from Tomcat 4.0.3 to Tomcat 4.1.18. With Tomcat 4.0.3
I never had problem with accessing sub domain name. I could load a page
using sub1.mydomaine.com or sub2.mydomaine.com. Now only mydomaine.com
works, the web page/servlet is never reach. Is there a sub-domain name
Depending on the tomcat version, this might not be not needed. The
exception occurs because unknown file extensions used by includes
attempt to grab the ServletOutput stream. In a JSP page, a Writer is
already being used. Therefore bad things happened.
A patch was put in to (4.1.11 and 4.0.6)
Hello to all,
I am facing a strange problem while using JasperReports Xerces with Tomcat v4.1.12.
I found that xercesImpl.jar and xmlParserAPIs.jar were present in the common\endorsed
folder and assumed that they would be loaded for use with my application. The
application that I am
Here is the problem,
I defined DataSource in Server.xml in Context for my app like this :
Resource name=jdbc/TestDB auth=Container
type=javax.sql.DataSource/
and that connection is working OK from my test servlet like this :
Context initCtx = new InitialContext();
Context
The question seems obvious. Read the fine manual right? No. I tried
it. You then say, just put ... in the web.xml page. Yes, I did it. It
works for the global web.xml, but not for the application level web.xml.
I must have done something wrong or the application level does not
allow
I am not sure what you mean, but under Unix, I created a symbolic link
for a directory and it works just like a real directory. I haven't test
with symbolic link for file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
hi,
just add allowLinks=true to your context config, like:
Context path=/dealernet docBase=dealernet debug=0
reloadable=true allowLinking=true /
On Sat, 2003-02-08 at 06:58, Hans Deragon wrote:
Greetings.
Simple question: How to configure Tomcat to follow symbolic links? I have
Thanks Sean,
You were right. I did not have that covered. And, now the document you
refer to makes much more sense to me. However, after a tomcat restart,
hitting the .jsp still fails. I'm fairly convinced I've messed up
server.xml. I think I'll go back and build up server.xml from the
Keep getting the error from mod_jk2 about Error connecting to tomcat 12
Using Apache 2.0.44 with Tomcat 4.1.18 on Win2K. Checked my config 1000 times
everything looks
good. Is this a know issue ? Is there ant doc/reference on workers2.properties ?
Attached are my config files.
[Sat Feb
Re-posting with the relevant files
attached.
Keep getting the error from
mod_jk2 about Error connecting to tomcat 12.
Using Apache 2.0.44 with Tomcat
4.1.18 on Win2K. Checked my config 1000 times everything looks
good. Is this a know issue ? Is there
ant doc/reference on
Hi,
I'm using Tomcat 4.1.18 with a form based auth method.
My login.jsp is in a directory context/login/ and for that directory
I've also set a security contraint which switches to https for logon
(and stays in https, of course)
I have no problem when I use cookies, but I see a bit strange
On Sat, 8 Feb 2003, Manavendra Gupta wrote:
Date: Sat, 8 Feb 2003 14:12:38 -0800
From: Manavendra Gupta [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Filter problems
Hi,
I have a simple security filter for
Hi,
Sorry for the last email, the problem is elsewhere.
E.L.
-Original Message-
From: Etienne [mailto:[EMAIL PROTECTED]]
Sent: February 8, 2003 8:28 AM
To: 'Tomcat Users List'
Subject: Tomcat 4.1.18 and Sub Domain Name access
Hi,
I made a migration from Tomcat 4.0.3 to Tomcat
I just got Apache 2.0.44 and Tomat 4.1 working with a little twist. I think
we are trying to accomplish the same thing. I think server.xml is not the
culprit. jk2.properties and worker2.properties are. Also web.xml in Tomcat
home as well as the webapp could affect servlet and jps execution. What
Did you declare the Realm after your Resource or before it?
--
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
Uros Kotnik [EMAIL PROTECTED] wrote in message
017501c2cf7f$9684b170$[EMAIL
Jeff
I have just come to the same conclusion myself after much
fiddling with the system and a complete disk backup and
restore onto a clean disk :-( It is definitely the SOCKS proxy
setting. Many thanks for the confirmation of this.
Hugh
On Thursday, January 30, 2003, at 06:53 pm, Jeff Self
Mike Johnson wrote:
hi,
just add allowLinks=true to your context config, like:
Context path=/dealernet docBase=dealernet debug=0
reloadable=true allowLinking=true /
Tried, but does not work. I have the following:
lrwxrwxrwx1 root root9 Feb 8 10:33 aaa - graphics/
Hi,
What would be the best way to access a singleton
running in the JVM that runs Tomcat?
What I have is this:
The classes in question are singleton because they
take a huge amount of time to start up but little to
call methods.
Tomcat contains one webapp, that has those singletons
running
Hi, I am running Tomcat version 4.1 with JDK1.3.1 onWin98. I can run all the Tomcat
examples servlets no problem. I am trying to run a simple servlet. I do the following:
(1)Write a simple Servlet called HelloWorld
(2)I compile the servlet and put it in under webapps/Root/Web-Inf/classes.
http://www.pubbitch.org/jboss/mod_jk2.html talks about mod_jk2
and apache2, tomcat4.0.4 I have several questions:
1) Can I skip step 5-7 in that document if I use tomcat 4.1.18?
Or do I still need to compile the jtc.jar and replace several
tomcat jars as described in step 6.
2) uri mapping
I got Apache 2.0.43 and Tomcat 4.1.18 working with jk2 on my Windows 2K
Advanced Server, and I got all the virtual hosts working. I am now trying
to get SSI (server-side includes) to work though I followed all the
directions, but that is a minor issue for me right now.
I also have RH Linux 8.0
I believe that there is more to this than that.
allowLinking is a property of org.apache.naming.resources.FileDirContext,
not org.apache.catalina.core.StandardContext. FileDirContext is the default
class for a Resources declaration--of which Context must be the parent.
So, you would start with
Hi,
why when i try to make:
http://127.0.0.1:8080/manager/deploy?path=/examples,
it gives an error:
FAIL - Unknown command /deploy
Thanks
AAM
Hi Brian, or Bio Jazz. Ya, I am wondering about the very same thing that you are now
agonizing about! Re. putting your classes that you need to execute a jsp/servlet in
the Tomcat container is a long-time problem of mine! I am still trying to learn the
fine art of packaging up classes, lemme
Frank -
On Question 1, yes, you can skip those steps with 4.1.18. Don't know
about # 2, though.
Lajos
Frank Liu wrote:
http://www.pubbitch.org/jboss/mod_jk2.html talks about mod_jk2
and apache2, tomcat4.0.4 I have several questions:
1) Can I skip step 5-7 in that document if I use tomcat
I haven't seen that one, but I did get this one once. Can't reproduce it,
though
Running under Win2k SP3 on a 2ghz AMD Athalon wth 512m RAM
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D5A19BB
Function=JVM_FindSignal+0x3C19B
I have redhat 7.3 with apach tomcat running on it
I put HelloServlet on following directoy:
usr/local/jwsdp-1_0_01/server/webapps/admin/WEB-INF/classes/HelloServlet.class
Then i try http://mango.ctegd.uga.edu/servlet/HelloServlet; to invoke the
servlet. but failed
in error_log i got:
[Sat Feb 8
Hi,
I had a problem with getting Apache and Tomcat to share the same document root
cleanly, with Apache serving requests that were outside Tomcat's perview (e.g.
static pages, PHP).
Essentially, I have a system with Apache2 doing name based vhosting, with a tree
that looks something like this:
I'm deploying a war file with unpackWARs=false. I am trying to grant
permissions to this war in 04webapps.policy.
Here is what I've tried...
Given the examples this is what I would expect to work but doesn't:
grant codeBase file:${catalina.home}/webapps/iface.war!/- {
permission
Hi C. Davies -
I can't help you with mod_webapp, which I avoid like the plague, but it
would certainly work with mod_jk. Each Apache VirtualHost block should
contain a JkMount something like this:
JkMount /*.jsp ajp13
which means that any page ending in *.jsp will be passed to Tomcat.
Then,
mod_jk2 (tomcat 4.1.18) seems to compile fine with apache13,
but only mod_jk2.so is generated. There is no libjkjni.so.
Is that a problem? Is libjkjni.so really needed? The mod_jk2
works fine without it in my test.
BTW, what is this jni thing in the jk2 connector? I understand
we already have
2 things..
1. the deploy command uses the HTTP PUT method. No browser out there
supports this. You need to use the Catalina Ant tasks to run
deploy. What you want is install.
2. Tomcat-4.1.19 had the manager app retooled. In the process, the servlet
mapping for the deploy command was
Hi,
Sadly this doesn't appear to work.
Both domains get redirected to Tomcat's docBase (in this case /www) and you get
a 404.
Am I formatting the Context tags wrong? Can you give me an example of how they
are supposed to look?
Thanks,
C.Davies
Quoting Lajos [EMAIL PROTECTED]:
Hi C. Davies -
Hi Chris -
Oops - I realize my mistake. I was thinking something entirely
different. You should have two Host blocks, one for each vhost, one
with appBase of /www/cust1 and one with appBase of /www/cust2. Sorry for
leading you the wrong way.
If that still doesn't work, email me your
Hello all, I am having yet more trouble with executing a jsp in the right way! The jsp
in question this time is a calendar.jsp, which as the name of it suggests, displays
a calendar. I placed/put it into the right folder, the
C:\jakarta-tomcat\webapps\ROOT\WEB-INF\classes, but alas, when I go
Hi Jimmy,
I have solved some of the problems you are facing. I can get Apache
to startTomcat via JNI cleanly. The TomcatStarter problem was solved
by putting $TOMCAT/bin/tomcat-jni.jar on the path. I have couple
of startup servlets which were correctly loaded. I use Cactus so had
to put the
Hi all,
I am trying to compile jk2 isapi dll with VS7.0. I downloaded and built
apache2 to get the apr.h header files and some libraries that jk2
requires from apache.
When I compile jk2 I get an error message that _strncpy is already
defined in e.g.
MSVCRTD.lib(MSVCR70D.dll) : error LNK2005:
OK solved it.
I needed to have the sdk library Advapi32.lib in the link library list
;)
=
Mark Clarke - Exotic Pets
E-Mail: [EMAIL PROTECTED]
WWW: www.ExoticPets.co.za
=
-Original Message-
From: Mark
I run Tomcat 4.1.18 on my Win2K box.
Because my project will use bouncycastle cryptographic
bundle (known as BC version 1.18), I have this package
properly installed on my system. If you don't believe
it, look at the following output:
C:\Javajava ListCryptoProviders
SUN version 1.2
SunJSSE
46 matches
Mail list logo