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
7;docBase="/progs/tomcat559/webapps/megaboard02"'
and try accessing the address www.albino.info,
there's no content from the database.
I want to use www.albino.info as the home page without anything added.
and I want it to include the data
ccess these files via 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:
-
that's weird, I'd download it again and be sure you have the right tar.gz file.
this is my bin directory:
/~~~~~~~
<10:32:18|luke @bench [bin]> ls -l
total 452
-rw-r--r-- 1 luke luke 22547 Mar 27 04:52 bootstrap.jar
-rwxr-
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
x27;ve made 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 PRO
to 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 2
ned for that purpose. 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
Su
nly help if you'd post exactly 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=en&q=ant+manual&btnG=Googl
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 elements?
Following is a version of a context.xml file that goes in the META-
test
--
._
:| .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
n right now, so
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 t
list:
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
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
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
Hello;
I finally got this. It turned out I had my:
BASIC
Inside my instead of being in the .
Once I moved this to the correct place in the document. Everything worked
fine.
Thanks to all that posted advice.
Luke
Luke Shannon
Web Design/Development
Java Programmer
http
ed to trouble shoot?
Thanks,
Luke
- Original Message -
From: "LERBSCHER Jean-Pierre" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Friday, February 11, 2005 12:21 AM
Subject: RE : RE : Security Newbie - Need Help
> Could you try MemoryRealm
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
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
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 is this required when using a JDBCRealm?
Thanks,
Luke
> Sorry, i understand what you mean.
> Your role
Where would the 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 declare e
den.
Apache Tomcat/5.0.28
Thanks,
Luke
- Original Message -
From: "LERBSCHER Jean-Pierre" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Thursday, February 10, 2005 12:27 AM
Subject: RE : Security Newbie - Need Help
> Hi,
> Could you v
,
role_name 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
ll data that is
sent to the server. It seems to me that no system should be without. But I
wanted to check with someone more experienced first whether there were
concerns or limitations I am unaware off.
Thanks,
Luke
-
To unsu
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]: java.net.BindExce
So its more complicated than configuring server.xml for first instance
(e.g. Sakai) as:
And the second server.xml for the second tomcat instance to be (notice
8080 is now 80):
I need to go read the doc?
Luke
>>> [EMAIL PROTECTED] 10/28/2004 1:08:28 PM >>
otstrap.main(Bootstrap.java:425)
Oct 28, 2004 12:59:07 PM org.apache.coyote.http11.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 por
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.
nent
sakai-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?
#x27;t get 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
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
s insulation from outside environments. 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 PROTECTE
new 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 wro
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 cl
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:
ss DBConnection
==
4. The destroy method within the calling class.
public void destroy() {
ds = null;
} //end method destroy()
==
--
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
---
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
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&q
sitting in multiple classes.
Would that be a good idea? (maintainability, yes but in terms of
overhead?)
Would this be the 'leanest' scenario for a database connection?
thanks again,
Luke
--
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
} // end while block
rst.close();
stmt.close();
conn.close();
} // end try block
catch(Exception e) {
}
~~
Appreciate your help,
kind regards,
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 before , that causes problems.
hope that helps,
regards,
Luke
~
> Error with realm using DataSou
30
maxWait
1
removeAbandoned
true
username
against, but it was
> kind of a bear. What are you trying to do?
>
> -- Benjamin Armintor
>
>
> -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
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
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 red
tRequestDispatcher("otherServletOrJSPOrHtml");
rd.forward(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 so
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.
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"
==
hanks,
kind regards,
Luke
--
"when my computer smiles, I'm happy"
===.~ ~,
Luke Vanderfluit |'/']
Mobile: 0421 276 282\~/`
/* A servlet to display the contents Bookmarks databas
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
hat everyone 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,
ki
n with all 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
e you do:
make
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
could look
like this.
Simplified for testing and tested to work.
NameVirtualHost 192.168.25.5
DocumentRoot /home/httpd/htdocs/
ServerName knife.chipcity.com.au
DocumentRoot /home/httpd/htdocs/virtual1/
ServerName fork.chipcity.com.au
Hope this helps,
kind regards,
Luke
On Th
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
classfile (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 catalin
rialbeans/studentMenuPage_jsp.java:7:
'.' expected
import LoginBean;
^
1 error
#
Can someone help out?
thanks,
kind regards,
Luke
--
====
"when my computer smi
he XML 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
, 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
t;org.postgresql.Driver");
Connection myConn=DriverManager.getConnection("jdbc:postgresql:mboard",
"luke", "");
%>
=-=-=-=-=-=-=-=-=-=-=-=-=-=
servlet code
=-=-=-=-=-=-=-=-=-=-=-=-=-=
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import ja
hope 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.
>
>
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
,
thanks,
kind regards,
Luke
--
"when my computer smiles, I'm happy"
==.~ ~,=
Luke Vanderfluit | |'/']
Mobile: 0421 276 282 | \~/`
---
Hi,
I'm running Java 1.4.2 on RedHat 9
I have enabled SSI in tomcat 4.1.27
SSI directives work,
for example:
but apparently you can call a servlet from a servlet block.
I can't get the
block to work,
any ideas on what I might be doing wrong
kind reg
can easily stop and start 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.
>
scrolling DOS Window.
open 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
Hi Sjoerd,
It's in /tomcat/conf/tomcat-users.xml
should look like this:
##
###
then restart tomcat and voila! you're in :-)
kind regards,
Luke
On Thu, 2003-08-21 at 05:15, Sjoerd van L
I can't invoke any more servlets at all.
what am I doing wrong?
my servlet.xml file is as follows (relevant part):
##
I really need to get tomcat to reload those servlets
otherwise it's useless!
thanks,
kind regards,
--
regards,
--
"when my computer smiles, I'm happy"
Luke Vanderfluit
Mobile: 0421 276 282
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
n get that feedback by using System.out.println?
thanks,
kind regards,
--
"when my computer smiles, I'm happy"
Luke Vanderfluit
Mobile: 0421 276 282
---
ich will start a new process, use catalina.sh run
> which will put all output to the console.
>
> Regards,
> Peter
--
"when my computer smiles, I'm happy"
Luke Vanderfluit
Mobile: 0421 276 282
n get that feedback by using System.out.println?
thanks,
kind regards,
--
"when my computer smiles, I'm happy"
Luke Vanderfluit
Mobile: 0421 276 282
---
n get that feedback by using System.out.println?
thanks,
kind regards,
--
"when my computer smiles, I'm happy"
Luke Vanderfluit
Mobile: 0421 276 282
---
expect.But in tomcat4.1.12 it isnt.
-Alexius Luke
when I access the pages(but
the old jsp's log messages).
Is this a unsolved issue, 'coz I have been searching for 2 days could'nt get one +ve
solution.
Please help me out.
-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
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 Que
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:[E
.
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
e the more advanced SAXON functions -
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: <mai
- but I think I might have read somewhere that Tomcat 3 did not
have a JNDI implementation. 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 m
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
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
creen.
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 a
?
Thanks
Luke
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
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
symbolic,
e.g.
One would expect serveral hostname
(virtual) declarations...
Any help would be greatly appreciated.
Thanks.
Regards,
Luke P. Immes
www.multisegment.com
508 842 1033
508 579 2683
cell
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
new what
was wrong I wouldn't be asking for help.
Can anyone suggest what the problem might be? Thanks.
-Luke Flesch
92 matches
Mail list logo