You could try importing java.sql.Connection (not javax.sql.Connection).
Maybe this would help.
Regards,
Andy
-Original Message-
From: Sexy Prague
To: [EMAIL PROTECTED]
Sent: 05/09/2004 18:12
Subject: Connection class unknown...
Hello everybody,
I've got a problem with creating
Could your jsp source files have been modified In the future?
-Original Message-
From: Duncan Krebs
To: Tomcat Users List
Sent: 26/03/2004 09:39
Subject: Re: Tomcat4 performance issue when manually removing compiledjsps
in work folder
Peter,
I'm getting closer. I installed the latest
I think you want to use getServletContext().getInitParameter(companyName);
There is a difference between a servlet init parameter (defined in web.xml)
and a servlet context init parameter (defined in the context.xml or
server.xml file)
-Original Message-
From: Jon Wingfield
To: Tomcat
Think of a stateful session bean as an extension of the client. By
storing the remote reference inside your session, you are attempting to
persist your Client extension across 2 different clients (2 different
tomcat instances). I don't think this is a sensible idea, and I'm not
sure it's even
Without wanting to cause too much alarm, that is the kind of message that
could potentially contain a virus.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 25 February 2004 10:59
To: Tomcat Users List
Subject: Réf. : read it immediately
the attached file is
The BASE tag may help you here (or html:base if you are using struts)
-Original Message-
From: Juergen Weber [mailto:[EMAIL PROTECTED]
Sent: 22 February 2004 00:20
To: [EMAIL PROTECTED]
Subject: Relative links do not work with controller servlet.
I want to run all requests through a
It's in the documentation:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
-Original Message-
From: secam secam [mailto:[EMAIL PROTECTED]
Sent: 23 February 2004 10:00
To: [EMAIL PROTECTED]
Subject: tomcat certificate
hello,
I'm a new user of tomcat.
Can tomcat
What is in your H:\Tomcat\WEB-INF\web.xml file?
-Original Message-
From: Didier Croutz [mailto:[EMAIL PROTECTED]
Sent: 23 February 2004 14:22
To: [EMAIL PROTECTED]
Subject: Touble with context container
Hello,
I'm starting with Tomcat and I've got a configuration
: Didier Croutz [mailto:[EMAIL PROTECTED]
Sent: 23 February 2004 16:12
To: Bodycombe, Andrew
Subject: RE: Touble with context container
Hi,
First thanks for your response. I have no H:\Tomcat\WEB-INF\web.xml file
but C:\Program Files\Tomcat 5.0\conf\server.xml.
Regards.
A 14:42 23/02/2004 +
I don't know if this would work because I've never tried it, but you could
try overriding the default servlet in each of your webapps (just copy the
servlet and servlet-mapping from the TOMCAT_HOME/conf/web.xml)
Then you can control the 'listings' parameter in each individual web
application,
You could try jmeter http://jakarta.apache.org/jmeter/index.html
-Original Message-
From: kwirirai [mailto:[EMAIL PROTECTED]
Sent: 11 February 2004 17:32
To: Tomcat Users List
Subject: Re: Servlet thread safety in Tomcat
Thanks to All for your help ! :-)
Sofar it seems to be working
I think the problem with your listener is that you assume the number of
active sessions will be 0 when the server starts up. Tomcat may persist
(passivate) sessions when the server is shut down. These sessions will be
re-activated the next time the server starts up.
If you reduce your session
If you moved engine.jar from the shared/lib folder to the common/lib folder,
would that remove the need to explicitly set the classpath?
-Original Message-
From: Robert Ensinger [mailto:[EMAIL PROTECTED]
Sent: 06 February 2004 16:49
To: 'Tomcat Users List'
Subject: RE: need help adding
Tomcat does not expose it's JNDI resources to the outside world. Therefore
you cannot access any Tomcat Data Sources from an application outside
tomcat.
-Original Message-
From: asd [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 09:41
To: [EMAIL PROTECTED]
Subject: an question occured
You have mapped your servlet to the /sampleapp URL, so to access your
servlet, you need to use the following URL:
http://localhost:8080/sampleapp/sampleapp
I suggest changing your servlet-mapping as follows:
servlet-mapping
servlet-nameHelloServlet/servlet-name
This indicates your server.xml is invalid.
-Original Message-
From: Avinash Sridhar [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 16:07
To: [EMAIL PROTECTED]
Subject: Please help Console Problem in tomcat 5.0.16
have my own directory as sampleapp which has the necessary structure
If you read a bit further down:
When traversing a graph, an object may be encountered that does not support
the Serializable interface. In this case the NotSerializableException will
be thrown and will identify the class of the non-serializable object.
If you want session serialization, you will
and not User?
Cheers, hope this is clearer, ADC
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 10:46
To: 'Tomcat Users List'
Subject: RE: IOException while loading persisted sessions continued..
If you read a bit further down:
When traversing a graph
In web.xml:
web-app
servlet
servlet-namedigfidl/servlet-name
servlet-classse.two4hr.servlet.DLServlet/servlet-class
/servlet
servlet-mapping
servlet-namedigfidl/servlet-name
url-pattern/digfidl/url-pattern
Could the 10 second delay be caused by tomcat recompiling your jsp?
-Original Message-
From: Hooper, Brian [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 16:16
To: Tomcat Users List
Subject: RE: What does this mean? ajp13.service() Error sending initial post
-1 0 0
Not sure about your
Try catalina run instead of catalina start
-Original Message-
From: K. Harvatis [mailto:[EMAIL PROTECTED]
Sent: 19 January 2004 12:26
To: Tomcat Users List
Subject: Re: TC5 won't start on Xeon
No change - window closes as soon as I hit enter...
In Catalina.bat replace the below line
I have to disagree with you on this point. A war file is the standard way to
deploy a web application.
See the servlet specification:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
-Original Message-
From: Emile Coetzee [mailto:[EMAIL PROTECTED]
Sent: 15 January
Sounds like you need to use a stateful session bean instead.
-Original Message-
From: Chirs Wahl [mailto:[EMAIL PROTECTED]
Sent: 11 December 2003 03:11
To: Tomcat Users List
Subject: How to get session in Session Bean ?
Hi,
I am using sevlet and stateless Session Bean ,
I want to get
A word of warning - synchronizing the forward() method does not stop another
thread from changing the values of the 'req' and 'res' variables, so you
will still get problems if you implement the first solution.
-Original Message-
From: Altankov Peter [mailto:[EMAIL PROTECTED]
Sent: 11
Look at the com.beganto.listeners.SessionListener class.
In the sessionDestroyed() method, check for a call to
Session.getAttribute().
This is not allowed here because the session has been invalidated.
If you are interested in Session attributes, perhaps you should be using an
The sessionCreated() method is called when the session is first created, and
therefore has no attributes set.
If you are interested in session attributes, perhaps you should look at
HttpSessionAttributeListener or HttpSessionBindingListener.
Hope this helps
Andy
-Original
www.jedit.org
www.eclipse.org
Both are free and up to the task.
Andy
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: 28 November 2003 09:54
To: Tomcat User List
Subject: JSP Editors
Sorry if off topic but...
What do people use to edit JSPs?
I'm after an editor, free
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
-Original Message-
From: dakavara [mailto:[EMAIL PROTECTED]
Sent: 27 November 2003 12:14
To: Tomcat Users List (E-mail)
Subject: How to deploy a WAR file in Tomcat
Hi,
How to deploy a WAR file in Tomcat.
Thanks
Please read the tomcat FAQ:
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
-Original Message-
From: Charles Gardner [mailto:[EMAIL PROTECTED]
Sent: 24 November 2003 14:35
To: Tomcat Users List
Subject: Moving from 3.3.1 to 4.1.29 question
I am converting from 3.3.1 to
You could try the JAI (Java Advanced Imaging) API.
http://java.sun.com/products/java-media/jai/
You can generate jpegs and pngs but not gifs because the gif image format is
commercial. I think you must have a license to create gif images.
-Original Message-
From: Thorsten Möller
I have fixed similar problems in the past by setting CATALINA_OPTS to
-Dfile.encoding=ISO-8859-1 and restarting tomcat.
-Original Message-
From: chad kellerman [mailto:[EMAIL PROTECTED]
Sent: 28 October 2003 19:27
To: Tomcat Users List
Subject: character sets showing as ?
Hey guys,
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
-Original Message-
From: Miles, Fiske III [NTWK SVCS] [mailto:[EMAIL PROTECTED]
Sent: 28 October 2003 20:10
To: [EMAIL PROTECTED]
Subject: Servlet Deployment Problem
I've spent 6-8 hours trying to figure out why Tomcat (ver 4.1.27)
Sounds like your servlet is not thread-safe. Have you got any instance
variables declared in your servlet class?
-Original Message-
From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]
Sent: 29 October 2003 13:07
To: 'Tomcat-User List'
Subject: Multiple requests to the same servlet is
could change this situation?
--
De: Bodycombe, Andrew[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: quarta-feira, 29 de outubro de 2003 9:08
Para: 'Tomcat Users List'
Assunto: RE: Multiple requests to the same servlet is problem
Sounds like your
Where are your req and res variables defined? They should be local to the
doFilter() method or you could get concurrency issues.
Andy
-Original Message-
From: Bradley Beddoes [mailto:[EMAIL PROTECTED]
Sent: 28 October 2003 07:50
To: [EMAIL PROTECTED]
Subject: Servlet.Service()
Many requests may share the same Filter instance, so having instance
variables to store the state of a request is a bad idea. You should look at
re-coding your Filter to remove any instance variables.
Andy
-Original Message-
From: Bradley Beddoes [mailto:[EMAIL PROTECTED]
Sent: 28
You could implement a ServletContextListener. The contextDestroyed() method
will be called when your application is about to be removed.
-Original Message-
From: Julie McCabe [mailto:[EMAIL PROTECTED]
Sent: 27 October 2003 13:30
To: [EMAIL PROTECTED]
Subject: modifying shutdown
Try placing those jars in /common/lib instead
-Original Message-
From: Lawence [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 16:39
To: Tomcat Users List
Subject: JavaMail doesn't work
Dear all,
I installed Tomcat4.1.27 on one win2000 and one winXP. I tried the
SendMailServlet that
You have not mapped your servlet to the /com/scheduler/addDataServlet URL.
Try adding the following to your web.xml, before your welcome-file-list:
servlet-mapping
servlet-nameaddDataServlet/servlet-name
url-pattern/com/scheduler/addDataServlet/url-pattern
/servlet-mapping
You
Check the FAQ
http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Original Message-
From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
Sent: 22 September 2003 11:33
To: [EMAIL PROTECTED]
Subject: Problem finding class files in tomcat-4.1.24
Hi All,
I am not able to find unpackaged class
I suggest setting the file.encoding system property.
export CATALINA_OPTS=-Dfile.encoding=utf-8
Then restart tomcat.
I once had a similar problem with German umlaute characters and this seemed
to fix it.
Andy
-Original Message-
From: Yair Zohar [mailto:[EMAIL PROTECTED]
Sent: 17
This problem can usually be fixed by changing the file.encoding system
property.
Set CATALINA_OPTS to -Dfile.encoding=utf-8 (or iso-8859-1 or whatever
character set you like) and restart tomcat
Hope this helps
Andy
-Original Message-
From: Robert Priest [mailto:[EMAIL PROTECTED]
I suppose there could be two different classes called BasicDataSource, in
two different packages...
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 05 September 2003 16:03
To: Tomcat Users List
Subject: Re: Using jndi to get a DBCP BasicDataSource give
this error.
Adam: Is there a tag named GlobalResourceLink that I am not aware of? I
am using ResourceLink as the docs tell me.
--Angus
(3 A's)
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 11:11 AM
To: 'Tomcat Users List'
Subject
The easiest way is probably to have a single listener that implements both
the HttpSessionListener and HttpSessionActivationListener interfaces. This
has a single count of active sessions.
In the sessionCreated() method, increment the count
In the sessionDestroyed() method, decrement the count
In
what happens when the server is
restarted?
Thanx,
Christian
Bodycombe, Andrew wrote:
The easiest way is probably to have a single listener that implements both
the HttpSessionListener and HttpSessionActivationListener interfaces. This
has a single count of active sessions
Hi Shanta,
The order of your elements is important:
(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),ini
t-param*,load-on-startup?,security-role-ref*)
Your servlet-class tags must appear before your init-param tags.
display-name and description must appear before
It may be better to use relative URLs (like '/shop/category.jsp') instead of
the complete URL.
This removes the need to hard-code your server name and port.
Alternatively, you could use
http://%=request.getServerName()+:+request.getServerPort()%/shop/categor
y.jsp
Note you may run into problems
Try setting CATALINA_OPTS=-Dfile.encoding=iso-8859-1
I think Sun changed the default character set in JDK1.4 - It is now ASCII
HTH
Andy
-Original Message-
From: Hans Wichman [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 09:24
To: [EMAIL PROTECTED]
Subject: question marks appearing
You may find the java.text.DecimalFormat class useful.
-Original Message-
From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
Sent: 12 August 2003 10:57
To: [EMAIL PROTECTED]
Subject: Problem Generating ID
Hi All,
I am generating a ID to use as primary key in my table with the follwing
code.
The request.getCookies() will return null if no cookies were sent with the
request.
You should check that cookies != null before checking cookies.length
-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: 12 August 2003 17:13
To: Tomcat Users List
Subject: cookie problem
I
Maybe you could try rewriting your URL as
/myjsp.jsp?time=timestamp_in_millis
instead of /myjsp_timestamp_in_millis.jsp
-Original Message-
From: Mailing Listen [mailto:[EMAIL PROTECTED]
Sent: 28 July 2003 11:16
To: Tomcat Users List
Subject: Filter and servlet mapping problem
I have
There are 2 ways you can use wildcards in URL mappings:
1. /content/* - maps all URLs in the content directory to your servlet
2. *.vp - maps all URLs with a .vp extension to your servlet
You cannot mix these (/content/*.vp, for example)
The servlet specification discusses this. Look at section
Look at the HttpSessionListener interface.
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/
Create the sessionDestroyed() implementation and add a listener element to
web.xml:
http://java.sun.com/dtd/web-app_2_3.dtd
-Original Message-
From: Robert Priest [mailto:[EMAIL PROTECTED]
Sent:
Just one question:
The output from a servlet/JSP is dynamic, so why would you want to cache the
output?
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 18:03
To: 'Tomcat Users List'
Subject: RE: Servlet Caching question
Okay,
So if I want to do some
a URL-based caching filter. One
does not come with tomcat, but it's less than a 20 minutes effort to
write I think.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 1:06 PM
To: 'Tomcat Users List
You need to make sure that you delete the webapps/nsfs directory before
starting tomcat, or tomcat won't unpack the .war file. Place the .war file
directly in the webapps directory.
From: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
Copy the web application archive
I'm guessing, but I suspect that the classes in weblogic.jar probably have
dependencies on j2ee.jar. You may need to include the complete j2ee.jar in
common/lib (and remove the servlet.jar, because that forms part of j2ee.jar)
Andy
-Original Message-
From: Will Hartung [mailto:[EMAIL
Yes. System properties are set for the JVM not each individual web
application.
http://java.sun.com/docs/books/tutorial/essential/system/properties.html
If you require properties specific to your web application, you should use
Servlet initialization parameters or ServletContext Initialization
It depends on your servlet mapping in the web.xml file.
-Original Message-
From: Lenandlar Singh [mailto:[EMAIL PROTECTED]
Sent: 22 July 2003 14:57
To: [EMAIL PROTECTED]
Subject: Problem with Dir Structure...
Hello,
I have the following directory structure for an application under
url-pattern//url-pattern
/servlet-mapping
!-- The mapping for the invoker servlet --
!--
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
--
Bodycombe, Andrew [EMAIL PROTECTED] wrote:
It depends on your servlet mapping
The 'javax.servlet.request.X509Certificate' request property will give you
the client certificate chain. It contains an array of
java.security.cert.X509Certificate Objects. Element [0] is the client
certificate, Element [1] is the CA for the client certificate etc.
-Original Message-
: javax.servlet.request.cipher_suite
attribute: javax.servlet.request.key_size
attribute: javax.servlet.include.request_uri
any other ideas?
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 22. Juli 2003 17:39
To: 'Tomcat Users List'
Subject: RE: achieving
Tomcat 4.1.24 comes with commons-fileupload-1.0-beta-1.jar bundled in the
$CATALINA_HOME/server/lib directory. Tomcat needs this file to work, and
also this version because the interface changed between this beta and the
1.0 final release. Tomcat is relying on the interface from the beta version
A very quick and very dirty solution is to change to setClasspath.sh (or
.bat) script and include all your required .jar files in the tomcat system
classpath.
However, I would not recommend this solution. A better solution is to copy
all your jar files into the WEB-INF/lib directory. Why are you
Make sure your DTD is the correct servlet 2.3 DTD. The listener element was
introduced in version 2.3 of the servlet spec.
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 04:58
To: Tomcat Users List
Subject: Re: Servlet Context Listener problem...
Try commenting out the following lines and see if that works:
RequestDispatcher rd = request.getRequestDispatcher(BidProxy);
rd.include(request, response);
It may be that the include is writing output to the response.
-Original Message-
From: Abid Ali Teepo [mailto:[EMAIL
You may problems using RMI if tomcat is installed in a directory containing
whitespace. (e.g. C:\Program Files\Apache Group\...).
-Original Message-
From: Sanjay [mailto:[EMAIL PROTECTED]
Sent: 09 July 2003 14:02
To: Tomcat Users List
Subject: Re: RMI on Tomcat
Anybody has any ideas
Hi Shanta
You get an OutOfMemoryError when the stack or heap space is exhausted. You
can increase the heap size by setting the -Xmx option in the startserver
script, but I think it already allocates 300Mb at startup. 300Mb should be
plenty of memory for these applications, so I suspect there is a
Try putting the jars you need in WEB-INF/lib
-Original Message-
From: brainSucka [mailto:[EMAIL PROTECTED]
Sent: 08 July 2003 00:32
To: [EMAIL PROTECTED]
Subject: Re: TomCat and EJBs in WebSphere
absolutely no one out there, who can help me :-(((
- Original Message -
From:
Tomcat, by default, has symbolic links disabled.
-Original Message-
From: Peter Flynn [mailto:[EMAIL PROTECTED]
Sent: 08 July 2003 10:54
To: Tomcat Users List
Subject: Where to put java code
I'm running jakarta-tomcat-4.1.18 for the purpose of serving with
Cocoon, and that's working
Sounds like you may have a corrupted .jar file.
-Original Message-
From: harsh [mailto:[EMAIL PROTECTED]
Sent: 08 July 2003 10:18
To: Tomcat Users List
Subject: strange error
I ran the tomcat for second time and now when i try to stop
it behaves like this..
[EMAIL PROTECTED]
Just create a new context in server.xml
Andy
-Original Message-
From: Shanta B [mailto:[EMAIL PROTECTED]
Sent: 07 July 2003 17:07
To: Tomcat Users List
Subject: how to configure diff web applications under one tomcat
Hi
I would like to know how to configure different web
Yes.
-Original Message-
From: Eric J. Pinnell [mailto:[EMAIL PROTECTED]
Sent: 03 July 2003 17:08
To: Tomcat Users List
Subject: RE: reply urgently tomcat installation query !!!
Hi,
This is off topic but does tomcat/JDK even work on windows 98?
-e
On Thu, 3 Jul 2003, Shapira,
The sun java compiler (javac) seems to run out of memory fairly quickly when
compiling a large number of files. I found that using jikes from IBM got
round this problem.
Andy
-Original Message-
From: B.A.S.Perumal [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 11:53
To: [EMAIL PROTECTED]
jikes settings goes like this.
:runAntWithJikes
%_JAVACMD% -Xms256m -Xmx384m -classpath %LOCALCLASSPATH%
-Dant.home=%ANT_HOME% -Djikes.class.path=%JIKESPATH% %ANT_OPTS%
org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
with luv,
bas
Bodycombe, Andrew [EMAIL PROTECTED] wrote:
The sun java compiler
... Could you please tell me how
to set that attribute.
bas
Bodycombe, Andrew [EMAIL PROTECTED] wrote:
Did you set your build.compiler property to jikes?
-Original Message-
From: B.A.S.Perumal [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 12:01
To: Tomcat Users List
Subject: RE: Can any body
Try the following URL: http://host:port/bugtracker/servlets/LoginServlet
Hope this helps,
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 27 June 2003 18:17
To: [EMAIL PROTECTED]
Subject: Servlet mapping error
I'm trying to map a Servlet URL and
You have to specify the file.encoding system property
export CATALINA_OPTS=-Dfile.encoding=iso-8859-1
Then restart tomcat.
HTH,
Andy
-Original Message-
From: David Del Sacramento [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 15:04
To: [EMAIL PROTECTED]
Subject: Special
)
-
Do you have any idea?
I will apreciate your help
David
--- Bodycombe, Andrew [EMAIL PROTECTED]
wrote:
You have to specify the file.encoding system
property
export CATALINA_OPTS=-Dfile.encoding=iso-8859-1
Then restart tomcat.
HTH,
Andy
-Original Message
You need to import your personal certificate into your browser.
In IE:
Select 'Internet Options' from the Tools Menu
Select the Content tab
Press the certificates button
This takes you to the screen showing all your certificates
Select the 'Personal' tab
Press Import to import your certificate
You could try setting your file.encoding system property.
That might help.
Sun changed the default value for this property in JDK1.4
On *nix systems it changed from ISO-8859-1 to ASCII.
Andy
-Original Message-
From: Carole Mah [mailto:[EMAIL PROTECTED]
Sent: 26 March 2003 17:19
To:
JspServlet is found in jasper-compiler.jar.
It should be in $CATALINA_HOME/common/lib
Andy
-Original Message-
From: Herbert G. Fischer [mailto:[EMAIL PROTECTED]
Sent: 26 March 2003 14:13
To: Tomcat Users List
Subject: Re: Class not found
And why there is no JspServlet on Tomcat
You can write a class that implements the X509TrustManager interface.
Then initialize your SSLContext with this TrustManager.
Get a SocketFactory for your SSLContext.
Finally, set this as the default SocketFactory for all HttpsUrlConnections.
The code in your checkClientTrusted method will
I'm sure the tomcat developers would be delighted if you provided this
documentation...
-Original Message-
From: Chris Dodunski [mailto:[EMAIL PROTECTED]
Sent: 14 March 2003 12:07
To: Tomcat Users List
Subject: Apache - Tomcat connectors
I'm honestly astounded at the number of people
You can use the solution offered by nogoop
http://www.nogoop.com
You can download an evaluation copy of the software for free, but you need
to
purchase it if its going to be used commercially...
I've been evaluating this solution with good results - it gets round the
NTLM authentication problem
I am having a problem with Tomcat 4.1.18 running on Windows NT 4, and JDK
1.4
I have a servlet accessing a remote server via RMI, and the RMI calls fail
with an UnmarshallException,
but only when the tomcat install directory contains spaces. e.g. C:\Program
Files\Apache Group\Tomcat 4.1\,
the
Fetching the HTML is straightforward. Just create a URL connection and read
the data from the stream.
You could try the following:
1. Implement your report as a JSP or Servlet
2. Write an email component that acts as a client to this servlet which
a) opens a URL connection to your servlet
Sounds like you have hit your CORBA implementation limit.
See the CORBA documentation for more details.
Andy
-Original Message-
From: Xu, David [mailto:[EMAIL PROTECTED]]
Sent: 08 January 2003 17:49
To: '[EMAIL PROTECTED]'
Subject: CORBA initialization error with Tomcat 4.1
Importance:
Try this:
servlet
servlet-nameHelloWorld/servlet-name
servlet-classHelloWorld/servlet-class
/servlet
servlet
servlet-nameHolasAlMundo/servlet-name
servlet-classHolasAlMundo/servlet-class
/servlet
servlet-mapping
servlet-nameHelloWorld/servlet-name
url-pattern/HelloWorld/url-pattern
Try the following in your web.xml:
web-app
servlet
servlet-nameMemberAuth/servlet-name
servlet-classMemberAuth/servlet-class
/servlet
servlet
servlet-nameMemberAuth2/servlet-name
servlet-classMemberAuth2/servlet-class
/servlet
servlet-mapping
There is a memory leak in the Sun javac compiler which could be the cause of
this problem.
You could use the jikes compiler to get around this problem.
Andy
-Original Message-
From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]]
Sent: 04 January 2003 12:21
To: Tomcat Users List
Subject:
You have a global servlet variable 'trafficCop'. If two requests come in at
the same time, they will be sharing this variable. The code is not thread
safe.
Move your trafficCop instance variable - make it a local variable of the
doGet method, and invoke the constructor inside the doGet method.
You can turn SSL debugging by setting the following environment variable
CATALINA_OPTS=-Djavax.net.debug=ALL
Then, restart tomcat. You will then see much more info in the log.
This might help you to debug your problem.
Andy.
-Original Message-
From: Donie Kelly
To: 'Tomcat Users List'
. I'm not sure.
Andy
-Original Message-
From: Donie Kelly
To: 'Bodycombe, Andrew'; Donie Kelly; ''Tomcat Users List' '
Sent: 12/12/2002 16:14
Subject: [OT] RE: Creating a signed SSL certificate with my own CA
Here's a trace of the SSL using CATALINA_OPTS=-Djavax.net.debug=ALL
It's large
If there are libraries you require both inside and outside tomcat, you could
consider placing them in /jre/lib/ext. They are then available to all java
applications using the particular JRE instance, including tomcat. For pre
1.4 versions, I found this useful for things like JSSE and regular
I've not done it myself in tomcat, only in EJB containers, but as a starting
point, I would suggest trying to get it to work by setting the connection
pool as a global resource instead of a resource specific to your context.
Then try and get your context-specific connection pool working.
I too
In earlier versions of the servlet spec, you must call setContentType()
before you call getOutputStream().
Although I thought this was changed in later versions, so maybe this is a
red herring.
Andy.
-Original Message-
From: Chris Parker
To: Tomcat Users List
Sent: 09/12/2002 16:01
This could be an issue with your browser.
Maybe the page has been cached?
Andy
-Original Message-
From: Vy Ho
To: Tomcat Users List
Sent: 06/12/2002 16:46
Subject: Tomcat went unconcious :-)
When a dog sneeze and the cat got knocked down. The following case show
that simple things
with a different users/pass/role,
then you get error. This should be fixed by browsers (that is to detect
that you went to a differernt directory now). For the server, it may be
able to address this too, but I don't know much about it.
On Fri, 6 Dec 2002, Bodycombe, Andrew wrote:
This could be an issue
1 - 100 of 115 matches
Mail list logo