Hi,
It is possible, there are 2 different methods. The JDBC-ODBC bridge,
here's a link on the subject
http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html
And, depending on your version of SQL Server you could use the one
provided by Microsoft,
For SQL Server 2000
http://
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Tomcat users,
>
> My web application was working fine the last 12 months but all of the
> sudden
> I can't display SVG inside the JSP pages by using the embed tag. The
> Tomcat
> server can display the SVG when I'm not using SSL but
[EMAIL PROTECTED] wrote:
> Any help will be appreciated.
I have seen similar issues reported and it appears to be a
browser/plug-in issue although I never got as far as finding the root
cause.
Have you tried with other browsers?
Mark
-
Tomcat users,
My web application was working fine the last 12 months but all of the sudden
I can't display SVG inside the JSP pages by using the embed tag. The Tomcat
server can display the SVG when I'm not using SSL but fails when I switch to
SSL. I'm using the correct mime-types for SVG in
Hello all,
Some answers to requests freeze and never return, which is a problem for
setting up the load balancing in production environment. Usually if the
user refreshes and the request is made again it doesn't freeze again, so
it's pretty random.
This seems to happen only:
- when the answer
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Hi,
We just identified the problem. We had following tags/lines in our
web.xml too. And we didn't notice that global_error.jsp wasn't there in
the directory and hence it was giving the file not found error. So, it
is working fine now with Struts as well.
401
/global_error.jsp
Hi,
I have recently upgrade from tomcat 5.0.28 to 5.5.20 and everything seems to
be working fine for most of my apps except for the ones that have context
with multi-level path. Also I should mention that I am not unpacking any of
my war files. (unpackWARs="false" autoDeploy="true")
I deployed my
I'm having trouble creating a file in Java through Tomcat.
I'm using Tomcat5.5 on Ubuntu 6.10.
I'm trying to create a file from inside a servlet:
File auditLogFile = new File(getInitParameter("audit.log"));
When I get to this line, this is the error that is thrown:
SEVERE: StandardWrap
I have Tomcat 5.5 installed on a Win2000 server with IIS 5.0, and I'm using
the isapi_redirect.dll ver 1.2.19. I have deployed this on a development
server, and it worked like a charm (only difference is that the dev server
is Win2003 server with IIS 6.0). I am now deploying it on the previously
Gregor Schneider schrieb:
yes. simply don't use meta-tags, since according to some rfc browsers
do not have to interprete them.
use http-headers instead, simples as:
Expires: (Actual date - 1 month)
Write a filter that modifies the headers of each response.
Worked for us, although it was the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shilpa,
Shilpa Arora wrote:
> We also tried another thing. Our *web.xml* was for a Struts application,
> so we had following tags in it.
>
>
>/tags/struts-html
>/WEB-INF/struts-html.tld
>
>
> We commented out all such tags and the appli
Hi,
We also tried another thing. Our *web.xml* was for a Struts application,
so we had following tags in it.
/tags/struts-html
/WEB-INF/struts-html.tld
We commented out all such tags and the application worked fine i.e. it
prompted us for the login and we were able to see *about.h
Thanks Christopher for the quick reply. Pls, see my answer to your
questions below:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shilpa,
Shilpa Arora wrote:
register-ucr
/pages/about.html
manager
BASIC
register-ucr
| From: Priya Khanna [mailto:[EMAIL PROTECTED]
| Sent: Friday, 19 January, 2007 03:58
|
| But how can I use VFS in an intranet application which is web based?
I can't answer exactly, since I've never used VFS, but I imagine all you
would have to do is create a FileObject that points to the remote
> From: Andy Moller [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 4.x (Major Problem)
>
> I have a strange problem that I think Tomcat is causing it,
> and I need to confirm if my assumptions are correct.
We obviously don't have access to all the data you have available, but
from what's been stat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shilpa,
Shilpa Arora wrote:
>
>
> register-ucr
> /pages/about.html
>
>
> manager
>
>
>
>
>BASIC
>register-ucr
>
This configuration looks okay.
> When we try to access the page we give in , we get an er
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andy,
Andy Moller wrote:
> While debugging the database query logs, the reason was that the
> field type is integer, while the passed value was a "string", we went
> and inspected the code design and semantics and it was an impossible
> case that the
> My client has observed connections to the webapp on this Apache Tomcat
> server building up and not timing out but I can't see why this is.
Just curious: How exactly has he observed the connections building up over
the time? What does the /manager/status report for the ajp-8009 say?
(Current t
Hi,
In our project, we are trying to use */Basic HTTP Authorization/* so
that it prompts us with a window to login before seeing any page. Here,
are the tags we put in our web.xml file.
register-ucr
/pages/about.html
manager
BASIC
register-ucr
Hi All,
I have a strange problem that I think Tomcat is causing it, and I need to
confirm if my assumptions are correct.
We have a Tomcat-Standalone (Apache Tomcat/4.0.3) running as a service, we
have been working with that version of tomcat for quite sometime with
different applications. Most
Hello Chris,
> Check to see if these sessions ever go away. There is a bug in TC 5.5 up
> to and including 5.5.20 (could be 5.0 as well, I'm not sure) where
> sessions can live forever under load. If you are load testing to check
> out the memory usage, you might be triggering this bug where sess
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Juergen,
JNeuhoff wrote:
> Is this also the reason for an occasional rapid increase in the number of
> HTTPSessions? I noticed that at times Tomcat reports 3 to 4 times more
> active sessions than there were users (as defined by their IP-address and
>
Hi Experts,
Is there a Tomcat parameter to rotate catalina.out ?
Is there one to add a timestamp ?
I suppose if you rename catalina.out to catalina.out.1 there could be
impact on logging ?
We have java exceptions in this file and want to correlate with other
events (which have time stamps)
And th
Hi There,
I am having a problem with my application. When I develop the application
to one of the test server, I got the following error. But I also tested on
three other servers. It worked fine. Any one know what it is wrong? Is the
log4j set up at the tomcat server wrong? and where is it wrong
Caldarale, Charles R wrote:
From: Libor Arndt [mailto:[EMAIL PROTECTED]
Subject: Is there a way to get access to request object
without servlet?
I need to have access to request in a JAAS logim module.
Is there something similar in Tomcat like in JBosss:
If you're trying to implement JAAS, o
Reinhard,
I am using Sun Java 1.5.0.10 for x64 (JRE)
-Original Message-
From: Reinhard Moosauer [mailto:[EMAIL PROTECTED]
Sent: 19 January 2007 13:54
To: Tomcat Users List
Subject: Re: Tomcat 5.5 and x64 Windows
Please do not forget that you need a 64-bit JVM in this case!!
Am Donner
> From: Libor Arndt [mailto:[EMAIL PROTECTED]
> Subject: Is there a way to get access to request object
> without servlet?
>
> I need to have access to request in a JAAS logim module.
> Is there something similar in Tomcat like in JBosss:
You should be able to configure a filter or valve to pro
Hi Satya,
I am using RMI (IIOP) to communicate with Webpshere. How can I increase the
debug level? Sorry, I am a little new to this.
Regards
Suneet
On 1/19/07, Satya Narayan <[EMAIL PROTECTED]> wrote:
Sunnet,
Cheers,
Satya
- Original Message
From: Suneet Shah <[EMAIL PROTECTED]>
T
Thanks Darren and Satya.
I will check these.
Regards
Suneet
On 1/19/07, Darren <[EMAIL PROTECTED]> wrote:
http://www.owasp.org/index.php/Securing_tomcat covers some areas
which may be of interest to you.
On 19 Jan 2007, at 14:04, Suneet Shah wrote:
> Hello,
>
> I am using Tomcat as a Revers
http://www.owasp.org/index.php/Securing_tomcat covers some areas
which may be of interest to you.
On 19 Jan 2007, at 14:04, Suneet Shah wrote:
Hello,
I am using Tomcat as a Reverse Proxy through a pluggin that we have
built.
One of the questions that I am being asked is how do we make the
> From: Sampath Kumar Rallapalli [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.5.20: issue with tomcat service &
> defining application specific environment variables
>
> I set the environment variable, -Djava.library.path
This is _not_ an environment variable - it's a Java system prop
> From: JV832 [mailto:[EMAIL PROTECTED]
> Subject: Using the manager for multiple hosts
>
> Is it possible to use the manager for differents hosts on one
> instance of Tomcat 5.5? And how can I get this working?
The manager app is normally located in server/webapps, not the regular
webapps dire
Tomcat docs and Bugzilla should help you.
Cheers,
Satya
- Original Message
From: Suneet Shah <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Friday, 19 January, 2007 9:04:06 AM
Subject: Securing Tomcat
Hello,
I am using Tomcat as a Reverse Proxy through a pluggin that we have bu
Sunnet,
Cheers,
Satya
- Original Message
From: Suneet Shah <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Friday, 19 January, 2007 8:58:50 AM
Subject: Classpath Issue
Hello,
I am working in creating a proxy that will run in Tomcat 5.5. I have the
module registered in the server
I managed to configure the tomcat proxy behind my apache 2.2 worker threads
not to crash anymore, but still it stutters, while I observe the following
conditions on my high load, complex site:
When the users come in with 500-1500 request/second the apache process
collects the incoming request
Hello,
I am using Tomcat as a Reverse Proxy through a pluggin that we have built.
One of the questions that I am being asked is how do we make the
installation of tomcat secure as it needs to be placed in the DMZ. Is there
any place where I can find a list of known security issues in Tomcat and
Am not usre to understand you. First you request to limit the number of
session, then you say you application is anyway already doing this?
When you close browser, the SessionId cookie is detroyed in the browser.
About 30 minutes later (in default tomcat installation) the Session
object stored in
Hello,
I am working in creating a proxy that will run in Tomcat 5.5. I have the
module registered in the server.xml. The module needs to communicate with
some ejbs running on Websphere 6.1. I placed the necessary IBM jar files in
the tomcat/common/lib directory. On a a windows box, it works fi
yes. simply don't use meta-tags, since according to some rfc browsers
do not have to interprete them.
use http-headers instead, simples as:
Expires: (Actual date - 1 month)
Write a filter that modifies the headers of each response.
Worked for us, although it was the otehr way round (we wanted
Please do not forget that you need a 64-bit JVM in this case!!
Am Donnerstag, 18. Januar 2007 17:38 schrieb Darren Kukulka:
> Thanks for the pointers Mladen.
>
> I carried out the steps you outlined, however the "service install"
> command fails...as follows;
>
> F:\Tomcat5\bin>service install
>
Hi Chuck,
Thanks for your follow up and here is an update from me.
I set the environment variable, -Djava.library.path on the java tab of
'Tomat Service Monitor' for java.library.path and it appeared to me that the
Tomcat picked up this value as it gave me a different error as "Can't
BTW: Tomcat (which is still running and which I can access via port 8080)
claims this in its manager status report:
Max threads: 40 Min spare threads: 0 Max spare threads: 0 Current thread
count: 14 Current thread busy: 1 Keeped alive sockets count: 0
Max processing time: 3109 ms Processing time:
Hi,
JBoss implements this with ThreadLocal-Variables.
Tomcat does not use them like JBoss, but you can quite easily do it by
yourself.
see java.lang.ThreadLocal
There may be pitfalls, mainly caused by the very limited lifetime of a request
object. But for a loginModule this could be appropriate
normaly yes.
but by this application the connection can only handle one session with one
sessionid. but by the local installation the session id is not importand.
Only by the web application we need the session id and here we can oly
handle one sessionid for one connection.
by the local install
Connection has nothing to do with session. A session lives across
several connections to server. Are you trying to prevent 2 different
user from logging in at the same time? This is an application specific
issue and should be handled, probably using an HttpSessionListener. It's
not the tomcat's job
I have just managed to repeat the error. 2 of us, from 2 different
workstations, hammered our website for a minute, by rapidly clicking on
links within the same site before it ended up always responding with a
standard Error 503 (Service unavailable) coming from the Apache frontend. I
checked all
ok. i know. nothing will be work is not correct.
i mean. i can allways connect 4 until 6 times at the same time. I have not
tested more. i have open 3 session on my local pc with localhost and 3
session on a remote pc with the ip address.
what i need is. that i can only connect with localhost or
Thank you.
Elisabeth
-Original Message-
From: Noah White [mailto:[EMAIL PROTECTED]
Sent: jueves, 18 de enero de 2007 17:53
To: Tomcat Users List
Subject: Re: How to modify the log4j log filename during runtime?
First off this is a log4j question not a Tomcat question and should be
dir
I have here manager running with 2 virtual hosts
One host is mapped to webapps/, another one (the default host) is mapped
to webapps-alternate/
I just used a unix symlink from webapps-alternate/manager to
webapps/manager. Now i have manager on both host with a common
installation. However, be awar
I need to have access to request in a JAAS logim module.
Is there something similar in Tomcat like in JBosss:
PolicyContext.getContext(key)?
thanks a lot for any advice
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Dear All,
I put my applet and servlet in a directory (using
package statement in the java file) which I defined.
When I called the servlet in a web browser, the first
page of the applet was displayed. But when I login a
valid user name and password, the applet cannot link
to the next page which is
Can you describe with more details the "nothing will work" and your
intended behaviour. Explain how you tested configuration. According to
your configuration, the connector should work like this:
1) Serves exactly one request at a time (maxProcessors).
2) When another connection is attempted and y
Hi there,
Is it possible to use the manager for differents hosts on one instance
of Tomcat 5.5? And how can I get this working?
Thanks!
JV
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAI
> > Yes, it starts out with a much smaller memory, around 10 to 15 MB or so,
> > even after a few initial connections to Tomcat from one user session.
> >
> I see, any idea, how the delta 70-15=55MB relates to connections (if you
> do stress tests with real parallelity e.g. 20, 50, 100, 200, how
But how can I use VFS in an intranet application which is web based?
-Original Message-
From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 11:29 PM
To: Tomcat Users List
Subject: RE: Accessing files from file server
| From: Priya Khanna [mailto:[EMAIL P
Probably best if you do some reading first.
If you're new to java then you should read up on how to compile .java
files into .class files, and how to place them in packages. Tomcat
likes things to be packaged neatly.
E.g.
http://java.sun.com/docs/books/tutorial/
You'll need to know a littl
I will limited the connection for tomcat to one. I have tryed any
configuration with the connector in server.xml. but nothing will work.
Can anyone say what i must do to get the right parameters. here my last
configuration string.
Thanks for your help.
Frank
--
View this message in context:
58 matches
Mail list logo