Hi Tomcat gurus
I use Mac OSX Server 10.3.9.
After an electricity black-out I can not start Tomcat over Server
Admin - Appication Server.
The panel shows, that Tomcat is running, but it is not. After press on
Stop there happens nothing.
Over the Terminal with the script startup.sh I am able to
Has anyone here used securityfilter for authetntication? The samples
doesn't have any database realm example. If anyone got this working
using db for authetnication pls let me know, I would like to ask some
questions
thanks
-
The Apache Tomcat team is proud to announce the immediate availability
of Apache Tomcat 5.5.11-alpha, which includes bugfixes over Apache
Tomcat 5.5.10-alpha.
The Release notes are available at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES
Please refer to the change log for
You could log all requests using the access log valve:
Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs prefix=localhost_access_log.
suffix=.txt
pattern=common resolveHosts=false/
(more about at
Hi all,
We are using catalina in production environment for one of our production
product/platform Apache/mod_jk and Ajp13Connector, average traffic is around
15 req/s (catalina entries).
Apache http server 1.3.x version, mod_jk and two load balanced catalina
workers. Tomcat version is 4.1.30,
Hi all,
We are using catalina in production environment for one of our production
product/platform Apache/mod_jk and Ajp13Connector, average traffic is around
15 req/s (catalina entries).
Apache http server 1.3.x version, mod_jk and two load balanced catalina
workers. Tomcat version is 4.1.30,
Hi Mark,
I'm using SecurityFilter in my application successfully . What are your
questions?
Regards,
--
Andrew Stepanenko,
Software engineer,
Ukrainian-Dutch Faculty of Economics and Management
Ternopil State Economic University
Shevchenko Street 9, Office 24-25
Ternopil, 46000 UKRAINE
Tel:
Hi,
I am using IIS and tomcat together for the first time and have one
little problem... Even though I have a
/web-app/welcome-file-list/welcome-file='index.html' in my web.xml and
the IIS server has index.html set as a default index page in the IIS
manager, it seems that IIS does not
Robert Koberg wrote:
it seems that IIS does not recognize index.html as an index page. In
other words, I get an IIS 404 when trying to hit something like:
'http://server.com/some/folder/'. The uriworkermap.properties has
*.html set to be served from tomcat. Has anybody seen this?
It's
Mikolaj Rydzewski wrote:
Robert Koberg wrote:
it seems that IIS does not recognize index.html as an index page. In
other words, I get an IIS 404 when trying to hit something like:
'http://server.com/some/folder/'. The uriworkermap.properties has
*.html set to be served from tomcat. Has
Mikolaj Rydzewski wrote:
Robert Koberg wrote:
it seems that IIS does not recognize index.html as an index page. In
other words, I get an IIS 404 when trying to hit something like:
'http://server.com/some/folder/'. The uriworkermap.properties has
*.html set to be served from tomcat. Has
A simple test works for me. Are you accessing Tomcat 3.3.2
directly or through another web server?
Larry
-Original Message-
From: Code Rebel [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 8:39 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 3.3.2: Not able to
I have the security filter .jar in my /lib directory but not the /lib
directory of the webapp. But the server's /lib.
-Original Message-
From: Andrew Stepanenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 8:21 PM
To: Mark Goking
Subject: Re: Securityfilter for
In server.xml I configured an ssl connector like this:
Connector port=8443 address=${jboss.bind.address} maxThreads=100
strategy=ms maxHttpHeaderSize=8192 emptySessionPath=true
scheme=https secure=true clientAuth=true
keystoreFile=${jboss.server.home.dir}/keystore keystorePass=xx
password=yy
Hi everyone.
I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface
to a classical 2-tier application. My problem is, I need to access the
existing API of this application, a single jar located outside the
tomcat install. Copying this jar inside tomcat commmon lib dir or
webapp
From: Fabien Benoit [mailto:[EMAIL PROTECTED]
I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface
to a classical 2-tier application. My problem is, I need to access the
existing API of this application, a single jar located outside the
tomcat install. Copying this jar
By the lack of response to my question, I take it that it is not possible to
override the following web.xml settings by redefining them in Tomcats
server.xml
security-constraint
login-config
security-role
Any changes to those values must be made after the
Is posible to force redirect to 443 when a non-ssl request is received
(without having a security-constraint )?
Thanks
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Is posible to force redirect to 443 when a non-ssl request is
received (without having a security-constraint )?
You could, for example, write a filter for your webapp that checked
whether the protocol was secure on an icoming request and
Hi Wade,
Can you perhaps resend the configuration files
server.xml
web.xml
yourapp.xml
listing of files in common/lib
listing of files in yourapp/WEB-INF/lib
Again?
Cheers, Allistair.
-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: 22 August 2005 17:58
To:
I read the doc and found out that in tomcat 5.5 we are suppose to use
log 4 j to handle getServletContext.log. However i rather liked the old
ways Is it stil supported?
if i put this in my context
Logger className=org.apache.catalina.logger.FileLogger
prefix=servlet.
On 8/23/05, Alain Gaeremynck [EMAIL PROTECTED] wrote:
I read the doc and found out that in tomcat 5.5 we are suppose to use
log 4 j to handle getServletContext.log. However i rather liked the old
ways Is it stil supported?
if i put this in my context
Logger
On 8/23/05, Peter Crowther [EMAIL PROTECTED] wrote:
From: Fabien Benoit [mailto:[EMAIL PROTECTED]
I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface
to a classical 2-tier application. My problem is, I need to access the
existing API of this application, a single jar
thanks for the info. I ws afraid of that but i wanted to make sure
sigh ***
Remy Maucherat wrote:
On 8/23/05, Alain Gaeremynck [EMAIL PROTECTED] wrote:
I read the doc and found out that in tomcat 5.5 we are suppose to use
log 4 j to handle getServletContext.log.
actually you don't *have* to use log4j, since 5.5.8/9 tomcat has shipped with a
customised jdk logging configuration (juli) that sets up a localhost log for
you out of the box
-Original Message-
From: Alain Gaeremynck [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 16:09
To: Tomcat
Yes you can use JNDI with out using JSTL. But the only way to configure
it is to define the JNDI resources in the web.xml and context.xml files.
Technically you should be able to use the globally defined JNDI
resources in server.xml, and I have seen configuration set ups doing it
when
Brian, thank you for replying. I was afraid my topic was dead. If you
could look at my first post, I listed all the files that you have
suggested I take a look at. I have done everything you have suggested,
but am still getting errors. The error I am getting now is
Hi,
The documentation says;
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup(java:comp/env);
DataSource ds = (DataSource)
envCtx.lookup(jdbc/EmployeeDB);
However, we use;
try {
Context ctx = new InitialContext();
dataSource = (DataSource)
Does anyone know when JSP 2.1 support is expected? Will that be in Tomcat 6?
Jon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
no, that didn't help. thanks though.
could this maybe be a class problem? am i using the wrong jar files? i
can list the files i'm using if anyone thinks it might be the problem
Allistair Crossley wrote:
Hi,
The documentation says;
Context initCtx = new InitialContext();
Context envCtx
There has been no talk of tomcat 6. It is expected that once the 2.5 version
of the servlet spec is announced (in draft form) - work would begin on tomcat6.
-Tim
Jonathan Eric Miller wrote:
Does anyone know when JSP 2.1 support is expected? Will that be in
Tomcat 6?
If you could please send
1. server.xml
2. web.xml
3. context.xml or yourwebapp.xml
4. list of files in common/lib
5. list of files in yourwebapp/WEB-INF/lib
I'd be happy to see if I can spot anything.
-Original Message-
From: Sean Rowe [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005
thank you, i will
Allistair Crossley wrote:
If you could please send
1. server.xml
2. web.xml
3. context.xml or yourwebapp.xml
4. list of files in common/lib
5. list of files in yourwebapp/WEB-INF/lib
I'd be happy to see if I can spot anything.
-Original Message-
From: Sean Rowe
Actually the files I listed are NOT in the first post. It shows the
server.xml and the code calling it but does not show web.xml or context.xml.
The error you are getting just means that that the JNDI resource being
called in the code is not defined in both web.xml and context.xml.
In
Hi Sean,
It looks from a quick glance that your JNDI configuration is done globally,
rather than in the Context configuration, and you do not link to it using a
ResourceLink.
Try adding
ResourceLink name=myLinkToAppJndi
global=jdbc/appname
type=javax.sql.DataSource /
Into the Context
The first post on this included the server.xml, and further down in the
page is the relevant part of web.xml ( i just double checked that ). as
for context.xml, i have listed it in my webapp.xml file, as well as
server.xml as all other examples have suggested. i then tried it in the
admin
i will try that. thanks allistair, i really do appreciate this
Allistair Crossley wrote:
Hi Sean,
It looks from a quick glance that your JNDI configuration is done globally,
rather than in the Context configuration, and you do not link to it using a
ResourceLink.
Try adding
Our company has standardized on newsyslog for squid and apache log file
rotation and management for our production servers. I am in charge of
implementing newsyslog for Tomcat log files and have a few questions:
How can I keep Tomcat from adding the date to the end of the log filename?
How can
Ok but do you have the resource defined in context.xml? If you go to
Tomcat Dir/conf/Cataliana/localhost/ do you see a file with the name
of the module ending with .xml? If so is the resource defined in that
file? If not you need to add it.
From the description it sounds like nothing in
Hi,
He isn't using that method of configuration, that's just 1 option of 3. He is
nesting his Context definition within the server.xml Host element. Although
this is now scorned, it's still valid. The 2 other methods are contextname.xml
as you say, and also META-INF/context.xml within the
--- Allistair Crossley [EMAIL PROTECTED]
wrote:
Hi Wade,
Can you perhaps resend the configuration files
server.xml
web.xml
yourapp.xml
listing of files in common/lib
listing of files in yourapp/WEB-INF/lib
Again?
Allistair,
Sorry man, but I only wrote to you about reading up on
Hi,
I just noticed that the schema:
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
allows //filter-mapping/filter-name's that have not been defined in a
//filter/filter-name
At tomcat startup however, there is a validation error (of course).
I would say the SUN schema is wrong.
best,
Hello,
I am just starting out with Tomcat 5 and I am experimenting with loading
classes from a servlet.
I have placed my .class files in $CATALINA_BASE/shared/classes.
My servlet tries to instantiate a class located in
$CATALINA_BASE/shared/classes I get
javax.servlet.ServletException: Servlet
I will try all 3 once again, and provide screen shots of the errors I
see. I have tried these methods before, but I will try them again for a
sanity check.
sean
Allistair Crossley wrote:
Hi,
He isn't using that method of configuration, that's just 1 option of 3. He is nesting his Context
I give up. MVC baby!
On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote:
How can I programmatically load servlets and servlet mappings in
Tomcat? I'm using Tomcat 5.0.28.
I'm trying to extend StandardContext to automatically map/assign a
batch of servlets from a specified jar at startup.
Do not need the screen shots. Just copy and paste the stack trace error
of the exception(All the gobblay gook that shows up on screen or in
catalina.out when an exception is thrown.), the details of which ever
combination of config files you are using, the code actually calling the
JNDI
I can confirm that you can't override these web.xml settings in server.xml
It should be simple enough in Ant to generate two .war files that only
differ by the web.xml file
Mark
Jim Henderson wrote:
By the lack of response to my question, I take it that it is not possible to
override the
I am using Tomcat 5.0.28 and need to have a pdf document open as a plug-in
in Internet Explorer.
I tried using the response.class file (pertaining to the content-type)
recommended in the
bug documentation 24970, but it did not make a difference. Is there any
additional information/solutions that
Thank you, thank you, thank you! I have looked for over a day using GOOGLE,
etc., just to be sure I was not missing anything!
Again, thanks!
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 4:00 PM
To: Tomcat Users List
Subject: Re: Override
I am not familiar with 24970. But what we have done is use an iframe (or a
frameset) where the source url points back to a servlet that would set the
mime type and pass back the PDF data stream.
Hope that helps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
What issue? If you are needing to get a page to load a PDF you have two
options.
1. Set an A tag with the source value set to the location of the
PDF. This will load the PDF in the entire window assuming that they
have the PDF plug in installed.
2. The other option is to use
Greetings, I'm using Tomcat 5.9 and Spring1.2.3, and Hibernate3.
I have to stop and start Tomcat each time I need to reload my web app,
otherwise, ehcache is holding onto a resource which prevents the old web
app from being deleted so it can be replaced by the reloaded one.
I searched the
*
THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO
*
The email you sent was not delivered to the desired recipient because
it was blocked/filtered for a
Hi,
I am evaluating the migration to Tomcat from Resin and encounted the
following problem.
The following exception is raised when I am trying to use tag libraries
packaged as JAR files in the web application with both Tomcat 5.5.9 or
5.5.11 (I have the JAR file with the tld in META-INF/tlds
*
THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO
*
The email you sent was not delivered to the desired recipient because
it was blocked/filtered for a
I am trying to get Tomcat 4.0.6 to work with Apache
2.0 runnning under Fedora Linux.
Tomcat was installed by my web host, which does not
seem to believe in the concepts of documentation or
technical support for Tomcat, so I, a newbie, am
trying to work through configuring all the files to
get it
*
THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO
*
The email you sent was not delivered to the desired recipient because
it was blocked/filtered for a
Hi,
Ive successfully used securityfilter with jboss/tomcat. But the problem
is, securityfilter has a securityfilter-config.xml and within this is
required a realm tag for db authentication.
If I don't use securityfilter, I can just add this line
realm-namemark-login/realm-name (which is
*
THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO
*
The email you sent was not delivered to the desired recipient because
it was blocked/filtered for a
Hi people,
I'm a bit stumped as to what to track/trace in this instance. Can
someone point me in the right direction please?
Apache 2.0.54
Tomcat 5.5.9 4.1.30
mod_jk 1.2.14
I am trying to integrate Apache with the 2 different versions of Tomcat
into 2 different Apache VirtualHosts. I am as
*
THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO
*
The email you sent was not delivered to the desired recipient because
it was blocked/filtered for a
61 matches
Mail list logo