Hi
Tomcat 5.0.16 release-note says :
... the application must also ensure that the library is
not loaded more than once. If the above code were placed in a class inside
the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the
application were reloaded, the loadLibrary() call
Hi
I use Tomcat 5.0.16 and attempt to call natives methods from one of my DLL
by JNI (works fine outside tomcat).
I follow these steps :
1) I put -Djava.library.path=/path/to/dll in CATALINA_OPTS environement
variable.
I use System.loadLibrary(mylib) in a static context of a
Hi,
How to fix CATALINA_BASE when i use Tomcat 5.0.16 as windows service ?
I attempt to configure service with procrun options (like with
%CATALINA_HOME%\bin\tomcatw //ES//Tomcat5')
and put my path for catalina_base in WorkingPath but doesn't work. What
is WorkingPath ?
thks for help
Hello,
I use Tomcat 5.0.16 with apache and mod_jk (1.2.5) since a few days. (i
used before 4.1.29).
Every night my Linux reboot, and stuff restart according to my rc files.
Every morning, the first response of my web app is a http code 500 with
exception below
After that, another request
Hello,
I attempt to use the admin tool in tomcat 5.0.16.
It was working for a while, but now every access to a Service node throw
this exception in the right frame
javax.servlet.ServletException: Define tag cannot set a null value
Hello,
I attempt to use jsvc from commons-daemon project to launch my tomcat instance.
How can I specify the '-security' option (used with catalina.sh)?
If I write some system properties (like in catalina.sh):
$CATALINA_HOME/bin/jsvc
[...]
-Djava.security.manager \
think i've solved the problem
I add a '=' sign after the property
-Djava.security.manager= \
for bypass jsvc command line verification
After for Tomcat 4.1.29, i had to add permissions for commons-daemon in my
catalina.policy (take in tomcat 5 policy file)
// These permissions apply to the
Hi all,
I have a strange pb with my tomcat 4.1.29 and jstl
this jsp works :
%@ taglib prefix=fmt uri=http://java.sun.com/jstl/fmt; %
fmt:setLocale value=en scope=session/
this one not :
%@ taglib prefix=fmt uri=/tags/jstl-fmt %
fmt:setLocale value=en scope=session/
(+ in web.xml
taglib
?
--
De: Maxime Colas des Francs[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: terça-feira, 9 de dezembro de 2003 13:14
Para: [EMAIL PROTECTED]
Assunto: fmt setLocale
Hi all,
I have a strange pb with my tomcat 4.1.29 and jstl
this jsp works
in your TLD. What do you
have inside /WEB-INF/tld/fmt.tld?
--
De: Maxime Colas des Francs[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: terça-feira, 9 de dezembro de 2003 15:38
Para: Tomcat Users List
Assunto: RE: fmt setLocale
What do you get from
Hi all
For keep my files (configuration, log, lib) clearly separate from the Tomcat
distribution files, i attempt to use $CATALINA_BASE variable.
But i can't move some of my jar files from $CATALINA_HOME/common/lib
(JDBC driver, JCE provider, DBCP Pool jar ...)
Is there a way to put this stuff
Hi,
For keep my files (configuration, lib) clearly separate from the Tomcat
distribution files i attempt to use CATALINA_BASE
I use JDBC Reaml with mysql driver, cryptographic external provider ...
where can i put my jar file under CATALINA_BASE ?
i test $CATALINA_BASE/common/lib
Hi,
I think i have a good raison
I use an authentification with a JDBC Realm and Mysql defined in my
server.xml, where can i put driver jar ?
Tks
At 11:03 2003-09-16, you wrote:
Howdy,
For keep my files (configuration, lib) clearly separate from the Tomcat
distribution files i attempt to use
Hi,
In my tomcat i have two virtual host defined like this in my server.xml :
Host name=host.domaine1.com debug=0
appBase=/path/webapps/host.domaine1.com
workDir=/path/webapps/host.domaine1.com/tmp
unpackWARs=false autoDeploy=false
Hi,
In my web application i use a FORM-based authentification.
After an athentification failure, request is forward to the jsp file
form-error-page defines in my web.xml.
Is it possible to get the user ID of the failed attempt ? get back
j_security_check params ?
Thks
Hi,
In my web application i use a FORM-based authentification.
After an athentification failure, request is forward to the jsp file
form-error-page defines in my web.xml.
Is it possible to get the user ID of the failed attempt ? get back
j_security_check params ?
Thks
can read the JavaDoc for
HttpServletResponse#sendRedirect and RequestDispatcher#forward.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Maxime Colas des Francs [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 3:37 PM
To: [EMAIL PROTECTED]
Subject: forward error
/.
Before that is a c:forEach items=${ctcRow.rows} var=row loop. You
are probably filling up the buffer with whitespace, then the repsonse gets
committed when the buffer is full.
-Tim
Maxime Colas des Francs wrote:
Hi
thks for your response, but here is my code, i don't understand where
Hi,
- If at the end of on of a jsp file, i put a jsp:forward, i have this :
java.lang.IllegalStateException: Error: Attempt to clear a buffer that's
already been flushed
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:415)
at
:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 11:23 PM
To: [EMAIL PROTECTED]
Subject: Re:crypto problem
Maxime Colas des Francs wrote:
I attempt to use openpgp in my web application
For that i use an external provider.
I put jar files in WEB-INF/lib and in a 'load-on-startup
hello,
I attempt to use openpgp in my web application
For that i use an external provider.
I put jar files in WEB-INF/lib and in a 'load-on-startup' servlet, i call
Security.addProvider() and i read a public key from a file for futur
encryptions.
I start tomcat manually (with startup.sh) and
Hi
In a jsp application i want to calculate digested passowrds dynamically
According to the Realm How To ... i write this code in a jsp :
% String digest =
org.apache.catalina.realm.RealmBase.Digest(request.getParameter(password),
MD5); %
Here is the result :
Hello
How can we specifie to a user that his session terminate by timeout
(accroding to session-timeout in web.xml) ?
thks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I resolve that with copying criptyx jar in $CATALINA_HOME/shared/lib
Smbdy can explain this ?
At 13:46 2003-08-07 -0400, you wrote:
Hi
I detect a stange comportement of my tomcat when using an external
security provider
I want to use openpgp in my web application with cryptix provider
In a
Hi
I detect a stange comportement of my tomcat when using an external security
provider
I want to use openpgp in my web application with cryptix provider
In a 'load-on-startup' servlet i add security provider like this :
java.security.Security.addProvider(new
Thks for your response !
But I have now another pb .
javadoc for org.apache.catalina.realm.RealmBase.Digest() says :
... Digest password using the algorithm especificied and convert the
result to a corresponding hex string ...
So how to convert my base64(MD5()) digest to the correct hex
Hello
I use tomcat with multiple virtual host.
I want to open access to Tomcat Manager for all virtual host
independently only for list/start/stop their web applications from an
html page.
My first idea was to extends the
org.apache.catalina.servlets.ManagerServlet and insert it in manager
Hi,
Is there a typical security configuration for a web application in
catalina.policy ?
I have a lot of
java.security.AccessControlException: access denied
(java.lang.RuntimePermission accessDeclaredMembers)
and i don't understand where it comes from
tks
of course yes
i start tomat with -security and -Djava.security.debug=access,failure for trace
else no security exception
At 15:16 2003-06-10 -0400, you wrote:
Did you start tomcat with start security? If not, some else messed up.
-Original Message-
From: Maxime Colas des Francs [mailto
Hi,
I build an application with a private zone (protected by a FORM-LOGIN page).
Is there a method to redirect automaticly a user in the private zone
(after his inscription for exemple),
without display the form-login-page ?
(like a POST to j_security_check ...)
Thks
Hi
I attempt to use jspc (in tomcat 4.1.12)
#jspc -webapp $CATALINA_HOME/webapps/myapp
2002-12-18 04:24:04 - ERROR-the file '/test.jsp' generated the following
general exception: java.lang.NullPointerException error:null
I use some jstl tags in my jsp code
thks for help
_
M
--
To
Hi,
I attempt to use Virtual Host with tomcat 4.1.12
in server.xml, each host and context are defined like this :
[...]
Host name=www.foo.com debug=0 appBase=/var/webapps/www.foo.com
workDir=/var/webapps/www.foo.com/work ... /
Context path= docBase=webapp ... /
[...]
Hello ,
A strange thing about 'load-on-startup' servlet.
I use tomcat 4.1.12 with multi-host, and log4j 1.2.7
in my web.xml i wrote these lines :
servlet
servlet-nameSetup/servlet-name
servlet-classinit.SetupServlet/servlet-class
load-on-startup/
/servlet
and i put an
Hi,
I use tomcat 4.1.12 with taglibs and i try to Internationalize my
application.
But i have some problems with special chars like accent char.
in a test jsp page, i write :
c:if test=${empty param.test}
jsp:forward page=/test.jsp
jsp:param name=test value=éèêàç/
/jsp:forward
/c:if
1:
Hi
I upgrade from tomcat 4.1.10 to tomcat 4.1.12
i recompile connector-4.1.12 for mod_jk2
and .. i need help ...
now during tomcat start :
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
8 [main] ERROR server.JkMain - Can't create apr
java.lang.NoClassDefFoundError:
after installing my webapp in $CATALINA_HOME/webapps,
how can i pre-compile compile all my jsp in one shot ?
thxs
Hi,
I want to use log4j in a tomcat 4.1.10 web application.
and I think I don't understand relation between tomcat and log4j.
I have a log4j-1.2.6.jar
If i don't put it anywhere i have a :
java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator
in my 'onload' servlet (so i
How to use log4j with a tomcat application ?
I put the log4j.properties in WEB-INF/classes
No error but no file created (certainly rights ?)
Can i put some log in a directory of the webapp ?
Tks.
-on-startup1/load-on-startup
/servlet
...
/web-app
- Dan
- Original Message -
From: Maxime Colas des Francs [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 9:08 AM
How to use log4j with a tomcat application ?
I put the log4j.properties in WEB-INF/classes
No error but no file
but I'm still trying to digest it, and how I can use
it in
Tomcat, myself.
-Original Message-
From: Maxime Colas des Francs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 12:57 PM
To: Tomcat Users List
Subject: Re: log4j
tks
i'm sorry but where can i find
Hi
I try to load a servlet during webapp first loading and :
== /usr/local/tomcat/logs/catalina.out ==
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
Hello
I use Tomcat 4.1.10 and mod_jk2
Can we change log level in jk2.properties ?
I have too much ( info ) [jk_jni_aprImpl.c (470)] jkInvoke() invoke in my
catalina.out
tks
Hi
I use tomcat 4.1.10 (with Apache 2 and mod_jk2)
In a very simple application i attempt to use JSTL librairie, so i put some taglib
section in my web.xml ...
After that everything was wrong and tomcat see strange XML Error ..
In a very simple web.xml, i make some tests and the result is :
Hi
I use Tomcat 4.1.10, Apache 2 and mod_jk2
Can we stop these logs in catalina.out ?
[...]
[Thu Sep 19 11:12:06 2002] ( info ) [jk_jni_aprImpl.c (470)] jkInvoke() invoke
4cffedec
[Thu Sep 19 11:12:06 2002] ( info ) [jk_jni_aprImpl.c (470)] jkInvoke() invoke
4cffedec
[Thu Sep 19 11:12:15
Hi
I use a Form based authentification in web.xml :
[...]
login-config
auth-methodFORM/auth-method
realm-nameAuthentication Area/realm-name
form-login-config
form-login-page/login.jsp/form-login-page
form-error-page/login_failed.jsp/form-error-page
/form-login-config
/login-config
[...]
45 matches
Mail list logo