thanks all for your reply.
actually, I have this kind of directory hierarchy:
myapp/build.properties
myapp/build.xml
myapp/web/*.jsp
myapp/web/WEB-INF/web.xml
myapp/web/WEB-INF/lib/requiredlibs.jar
myapp/web/WEB-INF/classes
myapp/src/../*.java
and after running ant install, I have this
Hi tomcat list,
I'm trying to setup a JNDIRealm and I recieved a NPE if the user is not in
the LDAP Server:
java.lang.NullPointerException
at
org.apache.catalina.realm.JNDIRealm.getPrincipal(JNDIRealm.java:1555)
at
[EMAIL PROTECTED] a écrit :
thanks all for your reply.
actually, I have this kind of directory hierarchy:
myapp/build.properties
myapp/build.xml
myapp/web/*.jsp
myapp/web/WEB-INF/web.xml
myapp/web/WEB-INF/lib/requiredlibs.jar
myapp/web/WEB-INF/classes
myapp/src/../*.java
This is the
Dear David,
yes, there is a target in the build.xml which is used to deploy an
application: ant install.
I found the deployment directory as you suggested as follows:
conpro/apache-tomcat-5.5.17 $ ls webapps/prolog/WEB-INF/lib/
activation.jar commons-logging-1.1.jar jstl.jar
Sorry David,
I have found the problem. We have to declare the external dependencies
in the build.xml file so that the compilation can find required *.jar.
thanks for for help.
Cheers,
Gop
- Originalnachricht -
Von: David Delbecq [EMAIL PROTECTED]
Datum: Donnerstag, 23. November 2006
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robbert wrote:
Christopher Schultz-2 wrote:
Whether or not you use struts, I highly recommend that you avoid tricks
like calling a servlet from a JSP in order to execute your business
logic. If you
Hello,
After receiving some excellent help on my other topic, I thought I'd try
here again. This problem is related to the application I am making in my
other thread, but you needn't know the specifics. I'll just give you the
necessary information.
The webapp has to register hits and those have
I am trying to port my Web app from Tomcat 5.5 to Tomcat 6.0. I would
like to perform the migration in two steps, first by upgrading Tomcat,
then migrating from JSF 1.1 to JSF 1.2. I currently get some errors in
my JSF 1.1 pages. The first time I use a managed bean in one of the
expression
On 11/23/06, Martin Dubuc [EMAIL PROTECTED] wrote:
I have seen a posting that seems to suggest that the same issue exists
when running JSF 1.2.
Such a post does not exist. A JSF bug with EL validation has been
reported and fixed in 6.0.1. It could be that the TLDs are not valid
(Tomcat is
If you are replacing jars, you should trigger a reload of the whole web-app.
You can easily do this by redeploying its war file containing the new
jars, or do a unix touch of its context file, or reload it from the
manager.
vasilis
asaf.lahav wrote:
Is it possible to refresh a webapp
Hello,
i've set up my Tomcat with form based authentication and a JDBCRealm
(besides i use an AJP-Connector to attach it to Apache1.3). Everything works
fine when calling simple jsp-files such as the jsp-examples. Unfortunately
the application i want restricted access for uses sessions itself. I
Hi
Yes, of course. But it still doesn't work, sorry...
Regards,
Pierre
2006/11/23, Gaurav Kushwaha [EMAIL PROTECTED]:
I am not sure if putting log4j.properties in WEB-INF will work. It has to
be
in the classpath. So he will need to put it in WEB-INF/classes.
On 11/23/06, Andrew
hi
What do you mean by start the application ? Restart tomcat ?
On 11/23/06, Dipl.-Ing. Holger Evers | Cybay New Media [EMAIL PROTECTED]
wrote:
Hello,
i've set up my Tomcat with form based authentication and a JDBCRealm
(besides i use an AJP-Connector to attach it to Apache1.3). Everything
Hello,
i have a quick question.
if i wanted to restrict what directories tomcat server sees or
if i want to prevent someone running System.exec( delete
everything!!! ) where would i start?
--
Best regards,
Alexmailto:[EMAIL PROTECTED]
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/SecurityManager.html
You can apply your own Security Manager like web browser does with
applets.
Thursday, November 23, 2006, 6:45:00 PM, you wrote:
AK Hello,
AK i have a quick question.
AK if i wanted to restrict what
Hi,
What do you mean by start the application ? Restart tomcat ?
no, i just meant calling the pages i want to restrict. There is a start
page without internal session management (except for the RDBCRealm) where
everything works, but the application behind uses sessions. The Tomcat
isn't
In the original posting I mentioned a monitoring tool which was triggered by
this behaviour. This monitoring tool has several machines watching our
website. I have been snooping the port 80 requests from these machines for
the last two days, but they haven't triggered the 300 sec. delay. I will
I've read the entire thread and decided to go back to the original post
for a re-read.
Have you considered the possibility that your tomcat (or wtp) install
has suffered some corruption during the HD crash? You might want to try
backing up the current setup, then re-install and add back in
Hi !
Inline
2006/11/23, David Smith [EMAIL PROTECTED]:
I've read the entire thread and decided to go back to the original post
for a re-read.
Yes, thank you !
Have you considered the possibility that your tomcat (or wtp) install
has suffered some corruption during the HD crash? You
I requested this URL a few seconds ago, using
curl -D - http://www.kpn.com/kpn/show/
and it had the header
Transfer-Encoding: chunked
set. This somehow contradicts your first mail.
Regards,
Rainer
Henk Fictorie wrote:
In the original posting I mentioned a monitoring tool which was
Hi again !
Just tell me one thing : does Tomcat 5.5 support Java EE 5 ?
Regards,
Pierre
--
L'une des raisons pour lesquelles la vie est complexe
C'est qu'elle a une partie réelle et une partie imaginaire.
Well... tomcat in general only supports a subset of java ee. Other
features might be added if you add the requisite jars.
Specific to your request, both tomcat 5.5 and java ee 5 support servlet
spec 2.4. Jsp support splits between tomcat 5.5 and java ee 5 in that
tomcat 5.5 supports jsp 2.0
I am using the ant command below to inject an alias into a host.
When I look at http://localhost/host-manager/list it shows that the
alias has been added but when I try to access the alias using a browser
or telnet it does not respond. I found in the documentation
ADD_ALIAS_EVENT: The
Hi !
No, still no way. After a complete re-install I've put a
log4j.propertiesalternatively in all the places you all told me to,
but it does nothing :
still the same exception...
Here's the file :
* * * * * * *
*
#définition du
Any BBS software that can be integrated well with JSF application deployed on
Tomcat?
Thanks.!
-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
I would like some assistance with using apache soap. My client and
server are configured to use SSL (client authentication). When I send a
message by invoking the send method on a Message instance, I get the
following stack trace:
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Premature end
Hi,
I am using Tomcat 5.0, and I need to track all the invoked elements in the
web container. How can I log which JSP or servlet is invoked in each client
request in an application?
(I am using Tomcat with JBoss)
Thanks,
Ignacio
Isn't it possible to simply make the class loader reload all the jars in its
classpath?
It is possible to replace the main webapp class loader at runtime?
-Original Message-
From: Vasilis Katsoulis [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 23, 2006 5:24 PM
To: Tomcat Users
28 matches
Mail list logo