Hi,
I have the following db structure for my user / role tables:
User User-Role Role
-- --- --
id -- user_id
usernamerold_id --- id
passwordrolename
Is there a realm implementation that support
Hi,
Sorry, I thought you had it setup and wanted only to know how to pass NTLM to
Tomcat. For IIS-Tomcat in general you will need to install and configure the
JK1.2.8 connector.
http://jakarta.apache.org/tomcat/connectors-doc/
Cheers, Allistair.
-Original Message-
From: Denny Lee
Kiran Patel wrote:
I have a application runing on Tomcat 4.1. I want to change to Tomcat 5.0. I already installed Tomcat 5.0.28 and configured server.xml and web.xml according to the document. But when I click startup.bat, I get the error windows can not find '-Djava.endorsed.dirs=' . I get
Kiran Patel schrieb:
get the error windows can not find '-Djava.endorsed.dirs='
hi!
look at your environment-variables JAVA_HOME should be set correctly!
hth
-Christian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
If I enable the snippet below I can access my Web Services but if I call a JSP
I'm facing a weird error.
Using BASIC-auth-method I can sign-in and I'm being forwarded to the
appropriate page, but the JSP-expressions within this page are not evaluated
(Hello ${user.name}).
With
Ok, I gave this a test run, so from app1 I called
req.getRequestDispatcher(/app2).include(req,res);
However, it seems that doing this loops i.e. re-requests app1 rather
than passing the request to app2. It this an error with Tomcat or a
misunderstanding by me?
PJ
Peter Johnson wrote:
it would
Use a view
-Tim
Nathan Coast wrote:
Hi,
I have the following db structure for my user / role tables:
User User-Role Role
-- --- --
id -- user_id
usernamerold_id --- id
passwordrolename
Is there a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Barker wrote:
| Chong Yu Meng [EMAIL PROTECTED] wrote in message
| news:[EMAIL PROTECTED]
|
| The daemon starts up ok, but when shutting down, I get this error:
|
| Feb 28, 2005 3:23:40 PM org.apache.coyote.http11.Http11Protocol pause
| INFO:
Just done this this morning:
CREATE VIEW fw_user_roles AS SELECT USERS.USER_NAME AS USER_NAME, ROLES.NAME
AS ROLE_NAME
FROM fw_users AS USERS, fw_user_role_rltns AS RLTNS , fw_roles AS ROLES
WHERE USERS.DATA_KEY = RLTNS.PRIMARY_KEY
AND ROLES.DATA_KEY = RLTNS.SECONDARY_KEY
ORDER BY USER_NAME,
In your context definition, you have Resource name=TestDB..
In your web.xml, you have res-ref-namejdbc/TestDB/res-ref-name
These two need to match. If one is jdbc/TestDB, so must the other.
--David
Darryl Wagoner wrote:
Greetings,
Not sure if this made it the first time. I didn't see it show
I guess (I don't use mysql)
-Tim
Mark Benussi wrote:
Just done this this morning:
CREATE VIEW fw_user_roles AS SELECT USERS.USER_NAME AS USER_NAME, ROLES.NAME
AS ROLE_NAME
FROM fw_users AS USERS, fw_user_role_rltns AS RLTNS , fw_roles AS ROLES
WHERE USERS.DATA_KEY = RLTNS.PRIMARY_KEY
AND
Hi friends,
i've a program that takes in date from the user in a text box.Everything works
fine except the log files shows something like this:
--
(Http11Protocol.java:738)
at
Ok, I am not sure if anyone knows this and the documentation for tomcat does
not indicate if you can use parameter /parameter for configuring a
JDBCStore. Here is an example that I have seen in the tomcat documentation,
with the modification for jtds that does not work.
Manager
That sql isn't mysql specific. Should work for you fine.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 02 March 2005 12:33
To: Tomcat Users List
Subject: Re: realm configuration
I guess (I don't use mysql)
-Tim
Mark Benussi wrote:
Just done this this morning:
I'm running Tomcat 5.5.7 on a Windows
XP sp1 and I can't seem to get the Tomcat service to startup automactically
when the machine boots up. I do have the service startup type set
to automatic.
Has anyone encountered this problem?
If so, how did you get the service to start up automatically?
This will be a problem if the requests from the frames use the same Struts form.
Else it should be fine, since the framework will set the request into the
Struts form for each request, so transient will still work.
- Jim
From: Caldarale, Charles R
David,
I have been looking at this off and on for weeks and could not see the
problem. I changed the context to
be jdbc/TestDB and it worked.
Thank you very much
David Smith wrote:
In your context definition, you have Resource name=TestDB..
In your web.xml, you have
On Mar 1, 2005, at 6:45 PM, Remy Maucherat wrote:
On Tue, 01 Mar 2005 18:18:49 -0500, Adrian Robert
[EMAIL PROTECTED] wrote:
However, I can't seem to find the right combination of
log4j.properties
lines, or maybe I'm trying something impossible. (I can't find good
docs on the uses of
Hello,
Iam trying setting up multiple instances of Tomcat 552. I saw that in tomcat
4 you can do that with defining CATALINE_BASE for each new application
pointing to the same Tomcat installation. Problem is that for Tomcat 5.5
there are no startup and shutdown scripts (windows..only
On Mar 2, 2005, at 12:25 AM, Jacob Kjome wrote:
You first talk about ServletContext.log(), but then talk about log4j
loggers in your app. These are two completely separate things. Which
were you focusing on? With your setup, it it makes sense that
ServletContext.log() messages are going
No problem. Amazing what an extra set of eyes will catch, isn't it?
Enjoy!
David
Darryl Wagoner wrote:
David,
I have been looking at this off and on for weeks and could not see the
problem. I changed the context to
be jdbc/TestDB and it worked.
Thank you very much
David Smith wrote:
In
Thank you.
I setup an environment variable JAVS_HOME and it is working now.
Now, I have another question. How to setup a context? In Tomcat 4.1, I have
it in server.xml. What I found from the documentation is that to create a
separate file for context, but I don't know where to put the file
On Wed, 02 Mar 2005 09:22:33 -0500, Adrian Robert
[EMAIL PROTECTED] wrote:
...
log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localho
st].[/myapp]=INFO, MYAPP
log4j.additivity.org.apache.catalina.core.ContainerBase.[Catalina].[loc
alhost].[/myapp]=false
I don't
I get errors like this in mod_jk.log when running Apache/1.3.33 (Unix)
mod_jk/1.2.8 mod_ssl/2.8.22 OpenSSL/0.9.7e with Tomcat 5.0.28 on
SPARC/Solaris 8. I did the compile itself on SPARC/Solaris 9, but used
--host=sparc-sun-solaris2.8 when configuring mod_jk (Apache didn't
appear to have a
On Wed, 02 Mar 2005 09:21:08 -0500, Adrian Robert
[EMAIL PROTECTED] wrote:
On Mar 1, 2005, at 6:45 PM, Remy Maucherat wrote:
On Tue, 01 Mar 2005 18:18:49 -0500, Adrian Robert
[EMAIL PROTECTED] wrote:
However, I can't seem to find the right combination of
log4j.properties
lines, or
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: Multiple instances
Please don't hijack existing e-mail threads; if you have a new question, start
a new message.
Problem is that for Tomcat 5.5 there are no startup and
shutdown scripts (windows..only Tomcat5.exe).
Use the .zip
Hi,
(I work on Tomcat 5.0.30).
When my servlet (http://myVhost/proxy/testProxy) forward to another servlet :
try {
ServletContext ctx = getServletContext();
ctx = ctx.getContext(/myNewContext);
RequestDispatcher dispatcher = ctx.getRequestDispatcher(/myNewServlet);
getRequestDispatcher() will always return a servlet. (The default servlet)
-Tim
Lionel Farbos wrote:
Hi,
(I work on Tomcat 5.0.30).
When my servlet (http://myVhost/proxy/testProxy) forward to another servlet :
try {
ServletContext ctx = getServletContext();
ctx = ctx.getContext(/myNewContext);
Yes : it's my problem.
ctx.getContext(/myNewContext) always return a Context (even if myNewContext
is not deployed :-(
and
ctx.getRequestDispatcher(/myNewServlet) always return a dispatcher (even if
myNewServlet is not here :-(
So How can I avoid a 404 ?
On Wed, 02 Mar 2005 10:24:37 -0500
Tim
Hi,
I have managed to compile the mod_jk shared object that comes
with jakarta-tomcat-5.5.7-src.tar.gz. That could have been
easier!
Here's a problem I encountered on Red Hat ES 4, just wanted
to share.
If anyone thinks this belongs into bugzilla, I will gladly
add it.
Running ant native yields a
Hi,
I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
run the startup script the CMD prompt window show up, throw an error and
closes automatically. So Anyone know what the error could be?? There is no
errorlog sterr or something else available. Please help!!
Maarten
On Mar 2, 2005, at 9:39 AM, Kiran Patel wrote:
Thank you.
I setup an environment variable JAVS_HOME and it is working now.
Now, I have another question. How to setup a context? In Tomcat 4.1,
I have it in server.xml. What I found from the documentation is that
to create a separate file for
I don't know about Tomcat 5.5 specifically, but in Tomcat 5.0, startup.bat calls
catalina.bat which calls setclasspath.bat. You'll see it runs the following,
and if it can't find any of the files (probably because your JAVA_HOME is a JRE
and not a JDK), it'll call exit and close your window:
if
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: startup script not working
When I try to run the startup script the CMD prompt window show up, throw
an error and closes automatically.
The startup.bat script does little other than kick off catalina.bat. You can
run catalina.bat
On Sun, 2 May 2004 17:01:44 +0200, Bedrijven.nl [EMAIL PROTECTED] wrote:
Hi,
I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
run the startup script the CMD prompt window show up, throw an error and
closes automatically. So Anyone know what the error could be??
I've created a new thread, just in case this got lost in the shuffle...
Does anyone know anything about the below solution (+ or -) and/or
recommend (or not recommend) it?
Thanks,
-Matt
On Mon, 28 Feb 2005, Matt wrote:
Something else you may want to look into (and I'd LOVE to hear feedback on
Dear Friends,
please tell me, whether server TomCat with EJB is able to work
Thank you for answer.
Best regards,
Sergey Bogomolov
---
Centre Of New Technologies
phone +7 (095) 783-2601 ext. 214 (8-hours HotLine)
fax783-2601
mailto: [EMAIL
This is my error...
D:\Tomcat557\bincatalina run
Using CATALINA_BASE: D:\Tomcat557
Using CATALINA_HOME: D:\Tomcat557
Using CATALINA_TMPDIR: D:\Tomcat557\temp
Using JAVA_HOME: C:\jdk
java.lang.reflect.InvocationTargetException
at
Hello,
I'm developing Tomcat apps using Eclipse with the Tomcat plugin. I
thought I layed out my directory structure correctly but Tomcat is
still failing to locate my Java class. Here's my setup.
Java src file location:
your web.xml needs to have
servlet
servlet-namenuthin/servlet-name
servlet-classcom.visualio.business.NuthinClass/servlet-class
/servlet
instead of just the class name.
On Wed, 2 Mar 2005 11:30:24 -0500, Douglass Turner
[EMAIL PROTECTED] wrote:
Hello,
I'm developing
Thanks so much Jason. That was it.
Cheers,
Douglass Turner
On Wed, 2 Mar 2005 10:39:41 -0600, Jason Bainbridge
[EMAIL PROTECTED] wrote:
your web.xml needs to have
servlet
servlet-namenuthin/servlet-name
servlet-classcom.visualio.business.NuthinClass/servlet-class
Error In web.xml
You write:
servlet-classNuthinClass/servlet-class
Correctly to specify a package:
servlet-classcom.visualio.business.NuthinClass/servlet-class
Sergey Bogomolov
- Original Message -
From: Douglass Turner [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Wednesday,
I've used it since 08/04 on an IIS v5 Tomcat v4 system. It's okay but it
has some major bugs. The biggest glitch is that it spits out random
strings in the returned HTML which can make the page render incorrectly.
My pages display fine when I'm viewing them locally, but when I go to a
local
I'm experiencing, what I believe to be, strange behavior with Tomcat 5.5.4.
I'm using Oracle connection pooling and the pool is initialized, and
connections made to the database, upon startup. I can query the v$session
view to verify that the connections were made. I put the connection pool
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: RE: startup script not working
Caused by: java.lang.NoSuchMethodError:
javax.management.ObjectName.quote(Ljava/lang/String;)Ljava/lang/String;
It looks like you're trying to use Tomcat 5.5.7 with a 1.4 JDK. You can either
install a 5.0
==
Date: Wed, 2 Mar 2005 19:23:19 +0300
From: Bogomolov Sergey [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Subject: EJB
==
Dear Friends,
please tell me, whether server TomCat with EJB is able to work
Thank you for answer.
Try commenting out the listeners in server.xml:
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener /
Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
/
Listener
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
Or upgrade
ok..the errors are away by commenting out. But now the next error shows up:
D:\Tomcat557\bincatalina run
Using CATALINA_BASE: D:\Tomcat557
Using CATALINA_HOME: D:\Tomcat557
Using CATALINA_TMPDIR: D:\Tomcat557\temp
Using JAVA_HOME: C:\jdk
java.lang.NoSuchMethodError:
If you really want the browser not to cache images, you are better off
putting a timestamp on
the end of the requests - as no-cache does not convince every browser
all of the time...
ie: http://localhost/image.gif?78927842303
On Mar 2, 2005, at 6:46 AM, [EMAIL PROTECTED] wrote:
Is there a way
Quoting Adrian Robert [EMAIL PROTECTED]:
On Mar 2, 2005, at 12:25 AM, Jacob Kjome wrote:
You first talk about ServletContext.log(), but then talk about log4j
loggers in your app. These are two completely separate things. Which
were you focusing on? With your setup, it it makes sense
You need to upgrade to the latest commons-logging.
See:
http://jakarta.apache.org/commons/logging/api/index.html
You still seem to have logging 1.0.2 =:-o
http://jakarta.apache.org/commons/logging/commons-logging-1.0.2/docs/api/
Make sure that you have the packages at the version described in the
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: RE: startup script not working
ok..the errors are away by commenting out.
You really can't comment those lines out. As I said before, you must use the
proper JRE/JDK or the Compat.zip package. No shortcuts here.
- Chuck
THIS
On Wed, 2 Mar 2005 19:23:19 +0300
Bogomolov Sergey [EMAIL PROTECTED] wrote:
Dear Friends,
please tell me, whether server TomCat with EJB is able to work
no : Tomcat is a servlet container.
For EJBs, you can use full J2EE servers like JBoss, JOnAS, WebSphere, WebLogic,
...
On 02.03.2005 16:13, Caldarale, Charles R wrote:
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: Multiple instances
Please don't hijack existing e-mail threads; if you have a new question,
start a new message.
I don't see that the OP has hijacked any existing thread (which seems to
listeners will not be invoked on a state transfer, as it is not
considered an event.
when a new member joins the cluster, it requests a state transfer from
one of the other members.
Joseph Lam wrote:
I have it turned on already. But seems that after a node is killed and
then started up again,
Hi *,
We have read some docs, but so far we haven't found any solution for our
problem. If it's mentioned in the doc, and we missed it, sorry. Just say
us where we can find it :-)
1.
Is it possible to switch off connectors or services while tomcat is
running?
If not, is there anything to remove
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Subject: Re: Multiple instances
I don't see that the OP has hijacked any existing thread
(which seems to be the exeption, not the rule, lately).
IIRC, the original post contained a completely unrelated message from Sng Wee
Jim at the
Can anyone tell me if Tomcat 5.0.2x runs reliably on Windows 2003 server? If
so, what are the minimum system requirements?
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Wed, 2 Mar 2005 11:09:56 -0600, Jacob Kjome [EMAIL PROTECTED] wrote:
Quoting Adrian Robert [EMAIL PROTECTED]:
exists. This would continue to make Tomcat-5.5 more involved in logging than
it should, though. I think Yoav Shapira has it right when he says that Tomcat
should not really be
We have it running on Win2K3 w/ IIS 6, so I imagine the requirements are
about the same as Win2K3 (if only b/c you intend to run Tomcat on
Win2K3), that is, if you can run Win2K3 reliably, then adding Tomcat
(and JDK 1.5) isn't going to be much of an issue...having extra RAM can
never hurt, but if
I appreciate the response. Have a good day.
Ron
From: Matt [EMAIL PROTECTED]
Date: 2005/03/02 Wed PM 01:08:17 CST
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Tomcat on Windows 2003 server
We have it running on Win2K3 w/ IIS 6, so I imagine the requirements are
It seems as though my jk2 configuration isn't failing over properly.
If a tomcat machine drops, it compensates properly. However, if a
single application on one of the tomcat machines fails then apache/jk2
keeps that faulty app in the mix. When a user gets directed to a
tomcat instance where
Richard Russell wrote:
[Wed Mar 02 12:09:09 2005] [info] jk_handler::mod_jk.c (1691):
Service returned error=1 with status=200 for worker=ajp13
This is the client error, probably meaning that the client has
closed the connection before sending all the data expected.
(like setting
It is me ... I wasn't calling the other context rather just a resource
within the context
Peter Johnson wrote:
Ok, I gave this a test run, so from app1 I called
req.getRequestDispatcher(/app2).include(req,res);
However, it seems that doing this loops i.e. re-requests app1 rather
than passing
Hello,
I am trying to create a WAR file of the following directoy:
duglaDataModel/
duglaDataModel/DataController.as
duglaDataModel/duglaDataModel.mxml
duglaDataModel/Employee.as
duglaDataModel/employees.xml
duglaDataModel/locations.xml
duglaDataModel/WEB-INF/
duglaDataModel/WEB-INF/classes/
Hi all,
I am including another context's servlet output however the filter that
should be applied isn't.
e.g. seems to be doing
context1 context2
|--| |--|
-- Filter -- Servlet -- Servlet |
Correction it is doing
context1 context2
|--| |--|
-- Filter -- Servlet -- Servlet |
-- Servlet |
Peter Johnson wrote:
Hi all,
I am including another context's servlet output however the filter
Hi,
I am using the code below in a jsp to write a jar file to the browser so that
user can download it. However, after the user hit download to save the file,
the tomcat server display an error caused by flushing the buffer. Does anyone
know why it happens? Thank you for your help
I am looking for 1-2 mid level Java programmers for a job in Marina Del
Rey,California. The operating system we use is Linux, the web servers
Tomcat/Apache and programming language Java, Python, Jython, Perl, PHP.
Network and Linux knowledge a definite plus.
There is a lot of potential for
test
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'll send you my resume Saturday, I'm on vacation.
-Original Message-
From: Manish Poddar [EMAIL PROTECTED]
Sent: Mar 2, 2005 2:59 PM
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Looking for Java programmers
I am looking for 1-2 mid level Java programmers for a job in
Sounds like an exciting vacation...monitoring the Tomcat User List...
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 3:51 PM
To: Tomcat Users List
Subject: Re: Looking for Java programmers
I'll send you my resume Saturday, I'm on
I am using Tomcat as my web server. I am using AXIS for SOAP. I notice
via ethereal that the are a lot of
port opening from the client side for the HTTP (SOAP) requests. I would
like to keep the socket open
for the client. How do I make the tomcat server keep the socket open?
Is there a
thanks for your suggestions,
I started to dig around in the code, and also looked at a jaas login
module from jboss.
the jboss solution is to have a login module that takes two parameters
(queries)
1) to return credentials for a username
2) to return the rolenames for a username
this is
Title: Mensaje
Hi,
everyone
I´ve a serius
problem to call the servlet.
This is my first
implementation, and I cannot make the servlet work.
I send you the code
(ziped), it´s very simple, but I don´t know if the web.xml is well
done.
Thanks for
everything
Hernán D.
Pezzano
Hi,
In one of my page, when the page is loading -- it is a page with large
ammount of data from database, I clicked a button. I see the exception on
the monitor window:
Connection reset by peer: socket write error. The detal error is attached.
This message might be harmless.
I think it is
We have a Struts based application deployed on JBoss
3.2.6 (Uses Tomcat 5.0.28). In our production
environment under load the servers throw Stream
closed errors and after that
the servers do not work and forced to restart. We
have not seen this problem in
test regions where the load is lower. We
JspIsapi is good but I don't know if they have already
fixed some old issues before.
1. Like request.getRemoteUser(), where it fails to yield values
on other browsers othen than IE.
2. Have problems on windows xp clients. hangs.
please confirm these issues to their tech support akash kava's
Every once in a while when I am compiling JSPs I get this error:
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated
Ok, I've searched the archives and Googled for this, but I can't find
the answer.
If I create a page with the following at the top:
%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %
and save it in the root of my web site, it executes just fine.
If I create a subdirectory and have the
Is it possible to start a socket server from code called by Tomcat?
Specifically, is it possible to run the server side of RMI communication
from code called by ServletContainerListener.contextInitialized()?
I seem to recall that an old version of Tomcat did not allow this. Is
this still
Thanks to everyone for the response. My problem
solved. I could able to find help by googling and my
table issue has been solved.
Thanks again.
--- U K Laxmi [EMAIL PROTECTED] wrote:
Thanks David for the reply. Yes i could able to
submit using javascript. Usually i use submit
button.
I have placed my directory under %catalina_home%/webapps/
now i want to configure tomcat to display my index.jsp
page by entering only http://localhost:8080/; what
changes should i make.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best
Not so new Tomcat user here, but looking to learn more about what is
going in there and what I can make it do for me!
I have configured server.xml in tomcat to read users, groups, and roles
using mysql easily and successfully.
Now I would like to edit these tables from tomcat as well - seems
We have 3 Tomcat instances on 3 different machines and all machines have
Windows 2003 Server. This works fine.
Each machine have 2048MB RAM and one 3Ghz CPU. I don't know the minimum system
requirements.
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
After some further logging within the filter it would appear that the
following is happening
context1 context2
|--| |--|
-- Filter -- Servlet -- Servlet |
|---Filter -- Servlet ---|
|-Filter -- Servlet -- Servlet
86 matches
Mail list logo