The Http10Connector refers to HTTP/1.0. It also means that you've got a TC
3.x server running there. If you've got a conf/modules.xml then it's
probably TC 3.3.1a (since 3.3.2 uses the CoyoteConnector by default).
Otherwise, it's probably TC 3.2.4.
It also explains why there is no /manager we
Mark Thomas wrote:
> You will need to send the war directly to me rather than to the list
> as it will get stripped out.
OK. Test war received. IIS installed (I'd be lost without VMWare).
ISAPI 1.2.15 installed. ISAPI configured to talk to Tomcat 5.5.x HEAD.
I can reproduce the problem. (So far so
Without knowing what book you refer to, and what class or interface
ConnectionPoolDataSource represents, it is difficult to know for sure.
DataSource (javax.sql.DataSource) is an Interface, not a class. Objects
returned from tomcat are sure to implement this interface, and are pooled
behind the
Stefan Baramov wrote:
> Using the tag I was hoping to link the login configuration
> for each application to a particular JAAS Realm. However this is not
> happening. Both application will use the second JAAS Realm and it seems
> that tag is completely ignored.
>
> Finally, I have to say I trie
Is it possible to confiugrat a LoginModule (according to JAAS
guidelines) which will apply different authorization strategies
according to the application requesting the JAAS service.
My initial thoughts were around configuring two separeta JAAS Realms in
this way:
conf/server.xml
...
T
Use of the webXmlFragment attribute with Jasper produces an xml fragment
requiring inserting into
web.xml. Although I could write some custom code to perform this task, probably
using xslt, this
seems like a common enough use case that a solution should already exist. Does
anyone know of such
a
Thanks Mark for the reply...
But do we have any way so that tomcat extracts the ROOT.war and replaces
only the missing/changed files (can be based on the time stamp) in the ROOT
folder even though the ROOT is not deleted..?
Sorry if my question sounds dumb.
Regards,
Shashidhar V
-Original
I got the configuration working now and I thank the responders for their
feedback and help.
Although I created a completely new work set, I did copy my source files
over to it.
With this I also copied the web.xml file. What I forgot was that I had a
servlet definition and mapping which didn
I followed the howto about connection pooling at
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
and I had following question:
Do I use the DataSource class like in the example or the
ConnectionPoolDataSource class (like it says to do in my book)?
Any insights wou
[EMAIL PROTECTED] wrote:
>
> I have a case where in I have some files missing in the ROOT folder.
> I wanted to know why Tomcat does not replace the missing files in the ROOT
> folder after I place a new ROOT.war in the webapps and restart the Tomcat.
> Here I am not deleting the ROOT folder.
As p
François wrote:
> I've successfully implemented this type of authentication for jsp files
> (using /path/to/my/folder/*), but any other
> type of ressources, and in particular .txt type of files, are not
> protected at all.
Test
/test/*
*
BAS
Hi All,
I have a small question. Please excuse me if this is a trivial question.
I have a case where in I have some files missing in the ROOT folder.
I wanted to know why Tomcat does not replace the missing files in the ROOT
folder after I place a new ROOT.war in the webapps and restar
David Thielen wrote:
> Hello;
>
> I am using 1.2.14 so that's not the problem. And yes, Tomcat is on the same
> box as IIS and so they can talk. Port 8009 is blocked by our corporate
> firewall but is not blocked internally.
>
> And it works - you can go to
> http://www.windwardreports.com/store/
Hello;
I am using 1.2.14 so that's not the problem. And yes, Tomcat is on the same
box as IIS and so they can talk. Port 8009 is blocked by our corporate
firewall but is not blocked internally.
And it works - you can go to
http://www.windwardreports.com/store/pages/demo.faces and that is served u
Markus wrote:
> Setting clientAuth to true / false in the Connector configuration
> works fine, but how do I configure client authenticaton on a
> per-directory or even per-servlet basis?
> And here are the results I get:
>
> https://domain/anypage : OK
> https://domain/html/anypage : HTTP Stat
Tobias Illik wrote:
> How can I establish this link/mapping in Tomcat?
It has to be performed in web.xml
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
go to tomcat/bin
type "catalina.sh version"
output will look like:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/java
Server version: Apache Tomcat/5.5.12
Server built: Sep 23 2005
2006/2/1, Tim Lucia <[EMAIL PROTECTED]>:
> I use log4j as the logging implementation, and then chose the
> RollingFileAppender (Daily or Size--your choice)
>
Or use logrotate (that is, if you use some Unix variant and the program exists).
--
Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED],
Hi
Yes, it is possible. From connector configuration doc:
clientAuth:
Set this value to true if you want Tomcat to require all SSL clients to
present a client Certificate in order to use this socket.
Set this value to want if you want Tomcat to request a client Certificate,
but not fail if
Hi,
I have a question about java logging within a context.
I´d like to have a way to isolate the jdk1.4 log between Tomcat contexts.
In my own lines of code, I create a JDK1.4 logger with an associated name,
Handler and Formatter. This way, I have one log file per context.
My problem is when I a
Tomcat is like any server based java app. It will always require a convulted
classpath as well as multiple classloaders to do anything interesting.
The most failsafe way to get the version regarless of the packaging is to do
the following: (no, i'm not kidding)
1) find catalina.jar. It *should*
There are also a few other things. I had this happen one time, and it
was a dns problemanother time it was another networking problem.
Whatever it is, like I said beforeor should have restated as:
it appears that java is attempting to make the connection, but is being
refused for some re
it is the smtp server that is rejecting the connection.do you need
to authenticate to your smtp server?
Matthew Evans wrote:
I don't think so. The webapp is currently able to make SOAP calls to another
server on the network. And connect to a SQL Server database.
Where would you suggest I
Yees!
I had tried to put the filename as a URL pattern, but without the path Tomcat
didn't like it. Now, just adding a slash in front a the filename solves my
problem!
Thanks!
Martin
Christian Andersson <[EMAIL PROTECTED]> wrote: if you just want to do it for
this file, just add th
$JAVA_HOME/jre/lib/security/java.policy
tomcat permissions are configured in
$TOMCAT_HOME/conf/catalina.policy
regards
Leon
On 2/1/06, Matthew Evans <[EMAIL PROTECTED]> wrote:
> I don't think so. The webapp is currently able to make SOAP calls to another
> server on the network. And connect to
Creating client certs is no problem, I already had client
authentication working on the Connector-Level.
Nick:
In other words: it is NOT possible in tomcat to have a webapp with
BOTH, a private part with ssl AND client authentication and a public
part with ssl but WITHOUT client authentication?
T
Two things:
1) format of your import statement
(from your first email)
<%@ page import="primeReports/bl/MemGrossBl"%>
should be:
<%@ page import="primeReports.bl.MemGrossBl.*" %>
periods, not slashes.
end it with a .*, if you are importing every class within the package, or
(better) fu
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 11:35 AM
To: tomcat-user@jakarta.apache.org
Subject: Desperate for help with isapi_redirect.dll
Hi;
David,
As I understand it, you want the jk version 1.2.x NOT jk2. jk2 was a splitter
Yes, and it worked fine. That's what made me even more confused.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 February 2006 3:02 AM
To: Tomcat Users List
Subject: Re: can't send email from tomcat using javamail api
P.S.
Have you tried to execute sa
I don't think so. The webapp is currently able to make SOAP calls to another
server on the network. And connect to a SQL Server database.
Where would you suggest I check to be sure?
Cheers
Matt
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 Februar
Glen, thanks for the suggestion on the search terms. After reading some search
hits, I copied all
the jars in TOMCAT_HOME\common\lib to ANT_HOME\lib and everything works now.
--- Glen Mazza <[EMAIL PROTECTED]> wrote:
> Olinga K. Abbott wrote:
>
> > Glen, thanks for responding. I placed both the
Hi;
Is there anyone on this list that know isapi_redirect? I have this bad
feeling that there is only 1 person who knows this code (the one who wrote
it) and that he/she is not on this list. If I have to pay for support that's
fine but I really need to get this answered (or we'll be forced to s
Oh, as to your original question about log/syslog. I believe since the later
versions of Tomcat 5.5.x all can use Log4J for all logging, you can do this.
I believe reading that Log4J has a syslog appender that will re-direct
output to syslog.
You will need to go to the Log4J site
(http://logging.a
Mark,
I've been using SLES 8, and now SLES 9 for over two years. Novell/SuSE's
policy of patching the shipped version of Tomcat rather than upgrading
probably works for some customers and provides a bit more stability to
production installations. But it did not work well fo me either.
My solution
Are you sure this is not a network/TCP/IP failure? I could see one function
having problems but when you datasources start getting errors, I think network.
Earnie!
-Original Message-
From: Jonathon Reeve [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 10:36 AM
To: users@tomc
P.S.
Have you tried to execute same code without tomcat? Sending a mail
from a java executable program (One with main method).
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
just shooting from the hip...
do you have any java policies configured, which forbids connections to
another server?
Leon
On 2/1/06, Matthew Evans <[EMAIL PROTECTED]> wrote:
> No, it's running on a different server.
>
> -Original Message-
> From: Steve Ochani [mailto:[EMAIL PROTECTED]
>
if you just want to do it for this file, just add the filename instead
of the *, for example
jsp
/path/file
in your web.xml
this has worked for me, when I've done it for files in the main path
anyway, but I suppose it will work for other parts also..
/Christian Andersson
Mart
Hi Tim,
thanks for referring me to the Tomcat FAQs.
That's for sure the first source of information one should read
before nagging the list community with redundant questions.
At least did I find therein a description how to enable CGI
support.
Yet, the trivial task of identifying a running Java
I have a page that has some JSP directives in it and I would like my Web server
to process it as such, but the filename for this page is fixed and does not
contain an extension. Is there a configuration item I can use in Tomcat to
indicate that this file must be processed by the JSP engine? I ha
Hi all,
Don't know if anyone remembers my original mail about this from
20/1/06, but it's just happened again. I've pasted the section where the
connector went nuts below (at end of mail). This is the first thing to
appear in mod_jk's log. Then, about 30 seconds later, The JBoss server
on the same
Thank you Tim, I'll try your suggestions.
Scott
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> The code says (in FormAuthenticator)
> if (session == null)
> session =
> request.getSessionInternal(false);
> if (session == null) {
> if (containerLog.isDebugEna
Could you publish the stack trace for this?
ND
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 8:06 AM
To: users@tomcat.apache.org
Subject: BUG in Tomcat 4.3.31 with Oracle 9?
Hi!
I tried the following code from a jsp-page one tim
No, it's running on a different server.
-Original Message-
From: Steve Ochani [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 February 2006 1:59 AM
To: Tomcat Users List; Matthew Evans
Subject: Re: can't send email from tomcat using javamail api
On 2 Feb 2006 at 0:12, Matthew Evans wrote:
>
The code says (in FormAuthenticator)
if (session == null)
session = request.getSessionInternal(false);
if (session == null) {
if (containerLog.isDebugEnabled())
containerLog.debug
("User took so long to log on the session
The clientAuth attribute of the connector has to be set to true. Then
you will need a client cert to access resources under /html/*, but not
other pages. See the Tomcat SSL guide on how to create the client cert.
ND
-Original Message-
From: Markus [mailto:[EMAIL PROTECTED]
Sent: Wednes
I am getting this error occasionally and am unable to
figure out the problem.
--
HTTP/1.1 408 The time allowed for the login process
has been exceeded.
If you wish to continue you must either click back
twice and re-click
the link you requested or close and re-open your
brows
On 2 Feb 2006 at 0:12, Matthew Evans wrote:
> Hi Guys
>
> I'm running a web application on Tomcat 5.5.12, and I cannot connect
> to my SMTP server using javamail from it for some reason. The error I
> am getting is the following:- javax.mail.MessagingException: Could not
> connect to SMTP host: sm
[EMAIL PROTECTED] wrote:
Hi!
I tried the following code from a jsp-page one time on a tomcat 4.1.30 and
one time on a tomcat 4.1.31.
String up = "update test_double set test_value = '26.5' where oid = '1'";
Statement st = dbConn.createStatement();
st.executeUpdate(up);
Interestingly this code
Thanks Warren, Tim and Charles,
Right now I'll leave it as $CATALINA_HOME/conf/context.xml since at this
time I'm only deploying one webapp. I had hoped to make it webapp
specific, but oh well...
If I do end up having more webapps I'll create a shell script (linux OS
here) that copies a webapp sp
Setting clientAuth to true / false in the Connector configuration
works fine, but how do I configure client authenticaton on a
per-directory or even per-servlet basis?
This is my current configuration:
In server.xml:
In web.xml:
/html/*
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: How to identify version of a running Tomcat and
> similar trivia
>
> 3. How to identify a Tomcat's config?
> 4. Parsing the config
> 5. Tool for monitoring a Tomcat's state
For all of the above, try the manager and admin apps tha
Hello,
I have to connect an Apache location to a Tomcat webapp with a different
name. How can I achieve this?
e.g. http://localhost/edu/fedora should point to
http://localhost:8080/fedora
Any ideas?
Many thanks in advance
Dieter
Hi Guys
I'm running a web application on Tomcat 5.5.12, and I cannot connect to
my SMTP server using javamail from it for some reason. The error I am
getting is the following:-
javax.mail.MessagingException: Could not connect to SMTP host:
smtpServer, port: 25;
nested exception is:
java.net.Conne
I've done code similar to this. Yore can go one of two ways:
1) Store your properties file in WEB- INF/classes and then call
propFile.load(this.getClass().getClassLoader().getResourceAsStream("application.properties''));
2) Store the properties file anywhere in the webapp and call
propFile.loa
Hi!
I tried the following code from a jsp-page one time on a tomcat 4.1.30 and
one time on a tomcat 4.1.31.
String up = "update test_double set test_value = '26.5' where oid = '1'";
Statement st = dbConn.createStatement();
st.executeUpdate(up);
Interestingly this code works with tomcat 4.1.30 bu
I'm not sure "properly" is the correct word to use in your
situation. Doing things based on bug is always a big risk. If one day
Apache corrects this bug, your customer will have a great pain in the *ss!
abdurrahman sahin wrote:
hi David;
I am aware of the case. As I stated before Apache
Hi All
Can any one tell me exactly from wher can i download POI.jar and POI API
documents . I tried
http://www.reportmill.com/rm4/
&
http://apache.mirrors.tds.net/jakarta/poi/release/src/
when i clik on jar or tar the page keeps on waitign for download to happen.
Thanks in Advance
Birendar S
You could have the back end deploy a .war file, and force the students to
build the .war (give them a template build.xml for ant and it should not be
too difficult).
Or, how about if you make the back end deploy just the .xml context file,
setting docBase to point back at the user's home? I.e.,
On a recent project, we did exactly this. I.e., had an install shield
wrapper that managed the context (and embedded data sources), the server.xml
(for global data source definitions) and the war to be deployed. The
installer managed an off-line (separate) copy of the application, and knew
how to
See the FAQ. http://tomcat.apache.org/faq/
There are a few ways to get the version
1) Use version.sh (or vertsion.bat)
2) Look at the manager webapp (in url /manager/html/)
3) More ways that I can't remember
-Tim
[EMAIL PROTECTED] wrote:
Hi Tomcatters,
I beg your pardon for this affront to a
Hi Dronesh,
after lots of testing I've got it working now. It's looks like that I just had
a wrong struts.jar in my classpath.
Thanks, Lothar
"Tomcat Users List" schrieb am 31.01.06 19:47:58:
>
> Hi Lothar,
> Seems there is some configration problem or tld file is not in place.Can
> you send
If this were fixed, there would be a host of people complaining about the
opposite. The URL below is inavlid based ont the RFC. getParameter has some
basic assumptions that the url is correctly encoded.
If you wish to place bad data in the query string, I recommend using
request.getQueryString
hi David;
I think I'll try your 2nd solution offer.
thank you for your help.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 1:16 PM
To: Tomcat Users List
Subject: Re: percent sign in URI
How does your customer system handle this?
htt
hello,
kindly tell me where Business Logic(BL) files are been put?i'd put in
TOMCAT_HOME\webapps\primeReports\WEB-INF\classes\Reports\
where,
primeReports is the name of the folder which i'd created.
the following error is coming:-
org.apache.jasper.JasperException: Unable to
How does your customer system handle this?
http://localhost:8080/aSite/aPage?query=I%fear%dead%results
badly, obviously :)
Possible solutions:
1) You can still try in servlet 'aPage' to grab the request using
request.getQueryString() which should returns you "query=hi%everybody"
2) You can write
hi David;
I am aware of the case. As I stated before Apache2 server properly handles
that problem and I need that functionality because our customer's system
built on it.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 11:58 AM
To: Tomca
Hi Tomcatters,
I beg your pardon for this affront to any self-respecting servlet
coder's mind.
I am but merely a Unix sysadmin plagued with a varying zoo of
Tomcats on different Unices who is largely Java-ignorant and only
has to maintain these cats (sorry, but Perl suits my mundane
admin tasks mu
Hello abdurrahman,
Your url is incorrect, replace it with
http://localhost:8080/aSite/aPage?query=hi%25everybody
According to rfc 1738, 2.2. URL Character Encoding Issues
Octets must be encoded ..., if the use of the corresponding character is
unsafe, ...
The character "%" is unsafe be
hi;
my friend tried it, reported that it didn't work.
abdurrahman
-Original Message-
From: Aurélien DEHAY [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 11:29 AM
To: Tomcat Users List
Subject: Re: percent sign in URI
Hello.
abdurrahman sahin wrote:
> I realized apache2
Thank you for your responses Vinu and Chuck
I got rid of the definition as Vinu suggested, and it seems that I do not have
to have any context.xml in the META-INF for the app.
The jsp file appears in my browser window, except it doesn't evaluate the jsp
expression I include. Maybe you can tell
Hello.
abdurrahman sahin wrote:
I realized apache2 web server properyl handles % sign in URIs, i need =
exact functionality on tomcat 5 too.
When I try to pass a parameter containing % sign, the parameter value on =
the server seems null.
like
http://localhost:8080/aSite/aPage?query=hi%everybody
Hi,
I'm a new user of this list.
I have an Apache + tomcat + mod_jk2 running on my linux box.
My Webapp control users log on and I have static content which could be
accessed only by authorized user.
I want to apache serve all static content. Is there a solution??
Thanks.
Olinga K. Abbott wrote:
Glen, thanks for responding. I placed both the property and path element
references to servlet-api
at the beginning of their respective sections, and defined jdk.javac.path. I
still get the same
error.
Any ideas on why build.xml provided by the Tomcat website doesn't w
Hi,
I am trying to work out, how exactly I map Tomcat Users/Groups
(defined in a JDBCRealm) to security roles, which are defined in my web
application deployment descriptor.
I am trying to understand the following in the context of formbased login:
As the tomcat administrator, I have no knowl
I realized apache2 web server properyl handles % sign in URIs, i need =
exact functionality on tomcat 5 too.
When I try to pass a parameter containing % sign, the parameter value on =
the server seems null.
like
http://localhost:8080/aSite/aPage?query=hi%everybody
Tomcat 5 cannot handle that, Is th
Glen, thanks for responding. I placed both the property and path element
references to servlet-api
at the beginning of their respective sections, and defined jdk.javac.path. I
still get the same
error.
Any ideas on why build.xml provided by the Tomcat website doesn't work?
--- Glen Mazza <[EMAI
77 matches
Mail list logo