added.
and I want it to include the database stuff.
What am I doing wrong?
Kind regards.
Luke.
--
._..
.| .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi.
I solved this myself by placing the database resource tag in the server.xml
instead of in a separate context.xml file in the META-INF directory.
I don't know why that has to be that way.
KR.
Luke.
29Aug2005 @ 15:39 [EMAIL PROTECTED] thusly spake
Hi.
I have a domain resolving
web until I restart server.
have you modified your build.xml file in netbeans to copy the .war to tomcat
when you rebuild?
kr,
Luke
--
._..
.| .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
-
To unsubscribe, e
:
/~~~
10:32:18|luke @bench [bin] ls -l
total 452
-rw-r--r-- 1 luke luke 22547 Mar 27 04:52 bootstrap.jar
-rwxr-xr-x 1 luke luke 2667 May 11 12:58 catalina.bat
-rwxr-xr-x 1 luke luke 2311 May 11 12:58 catalina.sh
-rw-r--r-- 1 luke
Hi,
13May2005 @ 20:18 Vinicius thusly spake
where to get a good tutorial about JSP, please?
Download the j2ee tutorial from sun, then from chapter 12 onwards.
http://java.sun.com/j2ee/1.4/download-docs.html
hth,
Luke
--
._..
.| .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282
sure that all
subsequent installations had no spaces.
How about CATALINA_HOME?
Could help,
kind regards,
Luke
--
._
:| .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
into the conf/Catalina/localhost/ directory of your tomcat installation
2. place the admin directory from the unpacked bundle
into the server/webapps directory of your tomcat installation
hth,
Luke
--
._
:| .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282
. Many programs exist that can do this. Ethereal
(http://www.ethereal.com/) is one such program that has the added benefit of
being Free.
Luke
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 19:37
To: Tomcat Users List
Subject: Re: HTTP/POST
what you've done and how.
The usual way to undertake this is to use ant to build your war file and copy it
to the webapps directory where tomcat deploys it.
Take a look at the ant manual:
http://www.google.com.au/search?hl=enq=ant+manualbtnG=Google+Searchmeta=
hth,
kind regards,
Luke
test
--
._
:| .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
11Apr2005 @ 12:57 Scott Purcell thusly spake
My question is, so I need anytype of doctype heading for this, since it is a
xml file?
Or do I just create the context.xml in an editor, and start with my Context
elements?
Following is a version of a context.xml file that goes in
you'll have to check back later.
Luke
P.S. In the interest of full, squeaky clean disclosure, I've submitted a patch
to the project.
-Original Message-
From: Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 14:58
To: Tomcat Users List
Subject: How to redirect to a different
is the tutorial I got started with:
http://www.developer.com/open/article.php/10930_3097221_1
HTH
Luke
Hi everyone
Im looking for some tips on implementing a logging system in tomcat. Ive
got log4j installed and am about to write code but im just looking for
some tips before i get started
:
http://java2.5341.com/
Luke
Thats the same approach im using. I have a commons-logging.properties and
a log4j.properties file in my WEB-INF\classes directory. But I only get
the same loggin as before in stdout.log Im using Win2k as OS. Where do
my defined log files go? Im confused
You are right. A lot of changes were made to my configuration based on
advice I recieved on the forum.
There could be several things that fixed my problem.
The main thing is I know how to set it up now :-)
Luke
Luke Shannon
Web Design/Development
Java Programmer
http://www.lukeshannon.com
This is a good point. I do have a firewall on the server blocking all
external ports on the DB server. Tomcat is connect through localhost so I
thought this would be ok. Maybe its not.
I will try disabling the firewall and the memory realm and see what happens.
Thanks,
Luke
Luke Shannon
Web
to trouble shoot?
Thanks,
Luke
- Original Message -
From: LERBSCHER Jean-Pierre [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Friday, February 11, 2005 12:21 AM
Subject: RE : RE : Security Newbie - Need Help
Could you try MemoryRealm to evict filter
Hello;
I finally got this. It turned out I had my:
login-config
auth-methodBASIC/auth-method
/login-config
Inside my security-constraint instead of being in the web-app.
Once I moved this to the correct place in the document. Everything worked
fine.
Thanks to all that posted advice.
Luke
an authenticated principal) has been
forbidden.
Apache Tomcat/5.0.28
Thanks,
Luke
- Original Message -
From: LERBSCHER Jean-Pierre [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Thursday, February 10, 2005 12:27 AM
Subject: RE : Security Newbie - Need Help
Hi
Where would the security-role be declared? WEB-INF/web.xml?
The tables I have are roles, user_roles and users. When you say wrong role
table which of the tables I have should be renamed?
Thanks for you help,
Luke
It seems that you have a wrong role table (roles or user_roles).
Have you
No I think you are right.
I have user_roles in the server.xml realm and the table in tomcatusers is
called roles.
Is there a correct naming (user_roles vs roles)?
Concerning the security-role is this required when using a JDBCRealm?
Thanks,
Luke
Sorry, i understand what you mean.
Your
Configuration error: Cannot perform access control without an
authenticated principal
description Access to the specified resource (Configuration error: Cannot
perform access control without an authenticated principal) has been
forbidden.
Apache Tomcat/5.0.28
Thanks,
Luke
- Original Message
varchar(15) not null,
primary key (user_name, role_name)
);
How can I trouble shoot this? The log doesn't show anything. Any tips would
be great.
Thanks,
Luke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
with someone more experienced first whether there were
concerns or limitations I am unaware off.
Thanks,
Luke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is there an easy way to specify that one of the apps in the webapps
folder be served off one port (e.g. 80) whereas another app should be
served off another port (8080)?
Thanks for your help,
Luke Fernandez
Weber State University
anything back in the browser. The Sakai instance
still serves pages correctly.
However, if the Sakai Tomcat server is turned off I can turn on my
other instance and serve pages from it. Is there a way to make both
Tomcat engines run simultaneously without conflict?
Cheers,
Luke Fernandez
-provider
sakai-shared
sakai-z-last
servlets-examples
TomProj
The Sakai app should continue to be served (as it is currently) using
the 8080 port. I'd like the TomProj app to be served from port 80. If
you feel like I should figure this out myself maybe point me to a clear
tutorial?
Cheers,
Luke
There would be port conflict even though the Sakai Tomcat app serves
from port 8080 while my Tomcat instance serves from port 80?
Luke
[EMAIL PROTECTED] 10/28/2004 12:28:46 PM
you have conflict in ports, both tomcats can not run on the same port
at the
same time.
instead of calling start.bat
.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
C:\tomcat\jakarta-tomcat-5.0.28\bin
Any ideas?
Luke
[EMAIL PROTECTED] 10/28/2004 12:28:46 PM
you have conflict in ports, both tomcats can not run on the same port
at the
same time.
instead of calling start.bat, call catalina.bat run to have
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false redirectPort=8443
acceptCount=100
debug=0 connectionTimeout=2
disableUploadTimeout=true /
I need to go read the doc?
Luke
[EMAIL PROTECTED] 10/28/2004 1:08:28 PM
you
not output attempting to create port 8005 instead of
create[8005]?
But those are standard quibbles about cryptic error messages.thanks
again for your help.
Luke
[EMAIL PROTECTED] 10/28/2004 1:09:55 PM
yes, and if you actually read the message
StandardServer.await: create[8005
. Is this a sensible
impression or maybe I'm misunderstanding something?
Cheers,
Luke
[EMAIL PROTECTED] 10/21/2004 4:41:14 PM
--On Thursday, October 21, 2004 10:03:17 AM -0400 Shapira, Yoav
[EMAIL PROTECTED] wrote:
This usually indicates multiple versions of either the JSP APIs
BufferedReader(new InputStreamReader(
u.openStream()));
while((htmlText = htmlPage.readLine()) != null){
System.out.println(htmlText);
}
regards,
Luke
On Thu, 2004-10-07 at 07:39, David Wall wrote:
I've been looking
Has anybody else had difficulty running the JSP 2.0 examples after
Tomcat 5.0 install? The JSP 1.2 Examples work correctly but 2.0 do
not.what am I doing wrong?
Here's a typical exception when running the HelloWorld Tab example:
javax.servlet.ServletException: Error instantiating servlet
Hi,
You are right!
that statement should be there!
kind regards,
Luke
On Tue, 2004-09-14 at 06:08, Caroline Jen wrote:
I saw your Tomcat connection pool class.
Your class opens and gets a 'conn' object from the
connection pool. Where in your code returns the
'conn' object for use
Hi,
Caroline is referring to my 'openConnection()' method which is missing a
'return' statement.
see below
regards,
Luke
Your class opens and gets a 'conn' object from the
connection pool. Where in your code returns the
'conn' object for use? Should there be a statemenet
like
destroy() {
ds = null;
} //end method destroy()
==
--
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi Chuck,
you are right! however this is now too redundant to go in to.
See my next post on this topic for a further evolution of this database
connection subject matter.
regards,
Luke
On Tue, 2004-09-14 at 11:44, Caldarale, Charles R wrote:
From: Luke (Terry) Vanderfluit [mailto:[EMAIL
) {
}
~~
Appreciate your help,
kind regards,
Luke
--
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
but in terms of
overhead?)
/remarks
Would this be the 'leanest' scenario for a database connection?
thanks again,
Luke
--
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
Hi,
Try also to look at the server spec 2.4, namely the web.xml DTD, where
it tells you what the order of elements in the web.xml should be.
You have resource-ref before servlet, that causes problems.
hope that helps,
regards,
Luke
!ELEMENT web-app (icon?, display-name
--
!-- ~~~ --
~~~
--
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am running tomcat 5.0.27.
I'm looking for a copy of the xml schema for the server.xml file.
I've looked on the jakarta website and in the 2.4 servlet spec, but
can't find it,
Maybe there's only a DTD at this stage,
Anyone know where to find it?
TIA,
Luke
-Original Message-
From: Luke (Terry) Vanderfluit [mailto:[EMAIL PROTECTED]
Sent: Sun 8/29/2004 10:53 PM
To: [EMAIL PROTECTED]
Subject: tomcat 5.0.27 xml schema or DTD for server.xml
Hi,
I am running tomcat 5.0.27.
I'm looking for a copy of the xml schema
(request, response);
hope this helps,
kind regards,
Luke
On Fri, 2003-11-28 at 01:10, P.vanKemenade wrote:
Hi
what is the correct way to redirect users to a completely different
server when they try to acces some address ? I'm looking for a
config option (in server.xml or web.xml) that will return
Hi,
Sorry but I don't understand what you are trying to do,
could you be more explicit, then maybe we can help :-)
kind regrards,
Luke
my real problem is, I have two different
tomcats looking at the same folders.
for each tomcat, I would like
folder A to redirect to tomcat
Hello Everybody!
my name is luke
I'm trying to connect apache 1.3 with tomcat 4.1. IS there some obvious thing or
document I am missing?
What I have read has told me to get binaries for mod_jk...My problem is there are no
binaries for jk for Linux on the apache site, or any mirrors.
http
Hi,
I want to specify a database connection in the web.xml file for an
application.
How do I do this?
Where can I find docs to describe it,
Thanks,
kind regards,
Luke
--
when my computer smiles, I'm happy
===.~ ~,
Luke Vanderfluit
,
kind regards,
Luke
--
when my computer smiles, I'm happy
===.~ ~,
Luke Vanderfluit |'/']
Mobile: 0421 276 282\~/`
/* A servlet to display the contents Bookmarks database */
import java.io.*;
import
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
is totally versed in the english language
and it's by no means required for everyone to have perfect english
spelling and grammatical skills in order to post to this list.
I have no problem with that at all.
hope this contributes to an inclusive all welcome approach,
kind regards,
Luke
On Tue, 2003-09
classes in one directory, be it the default package
or explicitly specified?
I've read about this problem, but not to the extent that a solution or
workaround or has been presented.
Any input is appreciated,
kind regards,
Luke
--
when my computer smiles, I'm
then you copy
cp build/jk2/apache2/mod_jk2.so /usr/local/apache2/modules/
cp build/jk2/apache2/jkjni.so /usr/local/apache2/modules/
then you create the simplest version of 'workers.properties' and
'jk2.properties' mentioned in the documentation.
kind regards,
Luke
fork.chipcity.com.au
/VirtualHost
Hope this helps,
kind regards,
Luke
On Thu, 2003-09-18 at 17:05, Johan Louwers wrote:
:-) I will post the message again that contains the original message. The
question was:
# --begin original message --
Ok, finaly have apache and tomcat
Hi Johan,
I don't know what your httpd.conf looks like,
When using VirtualHost the first block must be the main domain,
then your virtual domains.
post your full httpd.conf
kind regards,
Luke
On Wed, 2003-09-17 at 20:54, Johan Louwers wrote:
Ok, finaly have apache and tomcat running both
(StandardContext.class) in the 'core'
directory.
hope this helps,
Luke
On Tue, 2003-09-16 at 03:36, Neil Aggarwal wrote:
Paul:
When I modify a class and put it in my webapp, I don't
get the changes loaded.
There is also usually a message in the catalina.out stating
that the class was reloaded
#
Can someone help out?
thanks,
kind regards,
Luke
--
when my computer smiles, I'm happy
===.~ ~,
Luke Vanderfluit |'/']
Mobile: 0421 276 282
, to avoid redundancy I'll delete
devpgjdbc3.jar from its old location and change the CLASSPATH to reflect
the new.
Thanks greatly for your help :-)
kind regards,
Luke
Is the postgres jar locate somewhere the app have access to? Good
places are: commons/lib in $CATALINA_BASE or WEB-INF/lib
is not working?
I'm using
Redhat 9, tomcat 4.1.27, java sdk 1.4.2
Apparently tomcat 4.x complies with jsp spec 1.2, which as far as I can
see includes the XML syntax used above.
thanks,
kind regards,
Luke
--
when my computer smiles, I'm happy
this helps,
kind regards,
Luke
On Mon, 2003-09-01 at 16:13, Dean Searle wrote:
Hello All!
I am new to this mailing list and somewhat new to Apache and Tomcat. I
recently have rebuilt my server from the ground up and need to rebuild
mod_jk2.
Here is what I have so far:
Freebsd 4.8
=DriverManager.getConnection(jdbc:postgresql:mboard,
luke, );
%
/body
/html
=-=-=-=-=-=-=-=-=-=-=-=-=-=
servlet code
=-=-=-=-=-=-=-=-=-=-=-=-=-=
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
import java.text.DateFormat;
/**
* ShowEmployees creates an HTML
Hi,
I am working on a servlet that checks a form content without using
javascript.
Does anyone know if there is a way to set the focus to a particular
field using java?
thanks for any help :-)
kind regards,
Luke
--
when my computer smiles, I'm happy
someone help and tell me why that is,
thanks,
kind regards,
Luke
--
when my computer smiles, I'm happy
==.~ ~,=
Luke Vanderfluit | |'/']
Mobile: 0421 276 282
webapps, which is
much faster than restarting tomcat,
but with the above fix tomcat detects the changed classes.
hope this helps
kind regards,
Luke
On Tue, 2003-08-26 at 14:43, Atreya Basu wrote:
I'm having trouble reloading servlets on Tomcat 4.1.27.
The log files indicate that Tomcat notices
be doing wrong
kind regards,
Luke
--
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL PROTECTED
the startup.sh in an editor and change the last line where is says
'start' to 'run'
alternatively, simply do
'catalina.sh run'
same thing,
kind regards,
Luke
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile
roles=tomcat,admin,manager/
user username=role1 password=tomcat roles=role1/
user username=both password=tomcat roles=tomcat,role1/
/tomcat-users
###
then restart tomcat and voila! you're in :-)
kind regards,
Luke
On Thu, 2003-08-21 at 05:15, Sjoerd van Leent
that feedback by using System.out.println?
thanks,
kind regards,
--
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e
output to the console.
Regards,
Peter
--
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL
that feedback by using System.out.println?
thanks,
kind regards,
--
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e
the classes without having to
restart each time?
Thanks,
kind regards,
--
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile: 0421 276 282
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that feedback by using System.out.println?
thanks,
kind regards,
--
when my computer smiles, I'm happy
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e
Thanx in advance,
p.s. In tomcat3.2 it works as I expect.But in tomcat4.1.12 it isnt.
-Alexius Luke
content length header.Why does this happen.
Can anyone help me out.
How to set 304 not modified status code correctly thro tomcat.
-Alexius Luke
directory - it works again.
Looks like something in the unix version is not picking up paths properly.
Anybody else come across this - and especially anyone know how to fix it?
Regards
Luke
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles
I think if you read the Spec you can only use 2 sorts of patterns:
*.xxx
xxx/x/xx*
I.e prefix or postfix. These are not regular expressions.
I might be wrong - look at the servlet spec.
Luke
-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 18
directory - it doesn't work from common. Then all my other common stuff
excluding realms goes in the common/lib dir.
Hope that helps
Luke
-Original Message-
From: Renato Romano [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2002 09:50
To: Tomcat Users List
Subject: R: Another Question
it works when you have it in WEB-INF/lib.
[Aside: Have they fixed that awful bug in JAXB yet that doesn't allow
optional elements in the DTD? That made it unusable for me a few months
ago.]
Luke
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED
.
Is it possible to get access to the HttpRequest in the Realm to check for
other parameters?
Cheers
Luke
-Original Message-
From: Ricardo Ramalho [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2002 14:51
To: Tomcat Users List
Subject: Custom Authentication
Hi ppl! Again
It looks
-
but it is fine for small scale data extraction from XML sources.
Luke
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto
How are you specifying the JNDI connection settings for JBoss?
If you are just doing
InitialContext context = new InitialContext();
Won't you get a Tomcat provided JNDI implementation - not a JBoss one?
-Original Message-
From: Frank Morton [mailto:[EMAIL PROTECTED]]
Sent: 06 January
. Whereas JNDI is now the Servlet spec recommended
way of binding to environment/servlet configuration etc. If not that then
maybe the new JNDI in tomcat 4 overrides any settings in your
jndi.properties file that may have worked for you in Tomcat 3. All total
guess work of course!!]
Luke
-Original
?
Thanks
Luke
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
.
Looking in the DefaultServlet code there doesn't seem to be any reason why
it would access any other stream.
Anybody have any cluesas to what I am doing wrong.
Luke
PS Also if I am sending my response wrapper to be called by the default
servlet - does my wrapper class have to reside at the same
Also if I use a named dispatcher to call the DefaultServlet it does not use
the HttpServletResponse object I send it.
Surely this is wrong?!
Anybody else find this behaviour?
Anybody else successfully place response filters on static resources?
Regards
Luke
-Original Message-
From
Also maybe try disabling sessions tracking through cookies in the
server.xml.
-Original Message-
From: Stefano Bonnin [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2001 13:23
To: [EMAIL PROTECTED]
Subject: Session with Tomcat
Hi,
I have developed a web application with Tomcat+Cocoon.
scenario:
running 1 apache, 2 tomcats, mod_Jk using load balancing.
This all works fine but requests from the client always go to the same
tomcat that the original request went to (sticky sessions).
I would prefer them to go to tomcats at random. I think this is to do with
the cookie/ URL set by
ly what the specificcation means.
For example:
Can the hostname string be symbolic,
e.g. Host name="my.domain.com" ... ?
One would expect serveral hostname
(virtual) declarations...
hostname name="my.domain.com"
/host
hostname name="my.otherdomain.com"
...
Members,
Does Tomcat 3.2.1 support multiple hosting for a single IP address?
If so, how do I set 2 domain names up (my.domain1.com and mydoman2.com) .
Thanks,
Regards, Luke P. Immes
508 842 1033
508 579 2683cell
www.mutisegment.com
wouldn't be asking for help.
Can anyone suggest what the problem might be? Thanks.
-Luke Flesch
91 matches
Mail list logo