Hi
I'm using Tomcat 5.0.26 that comes with JBoss 3.2.5
with default configurations
A servlet creates pie/bar charts using JFreeChart.
This is refreshed every 5 seconds via javascript
refresh in the brower. All this has been workign fine
for most customers.
Suddenly for a specific customer
A trusted certificate is one signed by a CA. You might need to be
storing the entire certifcate chain?
Jack...
On 16/05/06, Srikanth Madarapu [EMAIL PROTECTED] wrote:
I am sorry forgot to mention the error message, the error I get is
java.rmi.RemoteException: ; nested exception is:
Hello all
I am using tomcat 5.0 for my application. My application in created
be using struts+jsp
Tomcat was functioning very well before few days
Mean while I deploy another module on server in my
application
After few days tomcat become
slow, means it give starting page fast
but
Sorry I forgot to include couple of more stats
Tomcat is running on linux FC4
Client browser is IE 6.0
First line of the dump is
http-0.0.0.0-80-Processor99 daemon prio=1
tid=0x8b09b4b8 nid=0x46ec runnable
[0x84be7000..0x84be91c0]
Thx
--- Kumar Pandey [EMAIL PROTECTED] wrote:
Hi
I'm using
Hi ,
just wondering if anyone has come across similar problem (pls refer to the
email below).
Kind regards,
Alex.
-Original Message-
From: Akoulov, Alexandre [SB]
Sent: Wednesday, 17 May 2006 2:17 PM
To: Tomcat Users List
Subject: Reloadable context
Hi ,
I am using
Thanks - that was simpler than I thought. Follow up bonus question:
what's the new current directory of ServletContext? Here's what I mean:
I had the following code in servlet context listener inside myapp.war
getting properties from a .properties file *outside* the .war:
Hello,
I'm not sure if I understand your question, but for finding files that
are relative to the current context, I use
ServletConfig config
config.getServletContext().getRealPath(your_file_here)
Maybe that's not the correct way to be doing things??? But it works for me.
Martin
Nikita
Hi list
As i am a newbie to tomcat this question might be easy to answer for you:
I have succesfully deployed a .war application with eclipse wtp.
Installing that .war file to tomcat works fine, but...
After stopping the application and starting it again, tomcat comes up with
errors telling
what does the logs say? turn debug on and check the logs.
Also see if the DB URL, user password etc are correct.
And I dont think people will like your posting image blobs in mail.
Thanks
- Rajeev.
Patil, Sheetal wrote:
Hello all
I am using tomcat 5.0 for my application. My application in
looking at http://www.jfree.org/jfreechart/javadoc/ ,
org.jfree.chart.encoders.EncoderUtil.writeBufferedImage does not look
thread-safe.
try checking sun.awt.image.codec.JPEGImageEncoderImpl.encode API.
Try increasing the latency by re-requesting the servlet every 30 secs/ 1 min
and see if
Undeploy the other application and make sure that the problem is
caused by the new application or some changes in older one. Also check
the database for performance. There can be many reasons like, the
buffers may not be configures correctly to share the load etc on the
db.Aslo check that whether
Short description :
Without virtual host everything works fine.
But, when I set my Virtual Host http://www.mysite.com
then http://www.mysite.com/widget/index.jsp doesn't find imported classes and
can't compile.
Longer description :
In server.xml I have something like :
Host name=www.mysite.com
Try synchronizing the code that uses Jfreechart classes.
-Sameer
Kumar Pandey [EMAIL PROTECTED] wrote: Hi
I'm using Tomcat 5.0.26 that comes with JBoss 3.2.5
with default configurations
A servlet creates pie/bar charts using JFreeChart.
This is refreshed every 5 seconds via javascript
refresh
Hi!
Two question, one problem.
I've an application running on tomcat 5.5. And before it apache is running.
The primer aim is to join tomcat application session with ssl session to
avoid session hijacking.
1.) Which mod should I use?
Configuration: Apache and Tomcat are running on same
PROXY_AJP_.CONF ***
ProxyPass /contact/*.jsp ajp://localhost:8080/contact/
ProxyPassReverse /contact/*.jsp ajp://localhost:8080/contact/
Use port 8009 (the ajp connector uses 8009) instead of 8080
Add a line in your HTTPD.conf to include
Michael Decker wrote:
1.) Which mod should I use?
Configuration: Apache and Tomcat are running on same pc. I expect low
traffic, because it's an intranet application.
I've read about mod_jk, mod_jk2, mod_proxy [1], mod_proxy_ajp [2]
According to Apache FAQ [3] and JBoss FAQ [4] only mod_jk or
This seems to be similar to a post that got started under another
thread. I have included the info below.
What I have found so far is that the complete tree does not get
transfered to the Tomcat webapps folder from the .war.
I have to do some testing to see if I can come up with exactly what it
Hi!
1.) Which mod should I use?
mod_proxy (is a supporting library in apache, which I think you need to
load in order to use mod_proxy_ajp or mod_proxy_xyzanything).
The advantage seems to be, that it's easier to configure.
2.) How to join application and SSL session?
I've read in
On 5/17/06, Parsons Technical Services [EMAIL PROTECTED] wrote:
Now I will assume you have reviewed
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
for a per context and
Yes
http://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html for a
global
Hi
Can you provide a direct link(s) for that Tomcat online
documentation?
Any information is appreciated. Thank you.
It's a book, Professional Apache Tomcat 5, by Wrox.
Regards,
Gaël
Stephen Suen wrote:
The call to sendError should be ignored, then why a 404 error page returns?
I think maybe Tomcat overrides this behaviour or does some trick elsewhere.
Can you give me more help?
The RequestDispatcher is created in this class:
hi ppl,
Is there any criteria/way to determine the suitable heap sizes ( -Xms nad
-Xmx ) for JVM in tomcat ??
Thanks in advance
Siddesh
-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min
Michael Decker wrote:
The AJP protocol will convery the SSL information to tomcat fairly
seamlessly, the idea being from the web-app's point of view it can't
tell the difference between an Apache fronted HTTP session and one
coming in via a AJP connector.
You mean, that the session will be
Hello world,
I'm trying to use javamail api in order to fecth/sen mails in a tomcat servlet.
Sor far, it's fine. more : it works.
But my needs are going beyond this firsyt step.
As i understand, the mail servers (smtp, pop, ...) are defined as
resources in tomcat (or watever servlet) in its
Hi!
My problem is, that the application session (set by cookie or url
parameter) is not associated with the SSL session. And I hope, there is
an easy way to that.
I dont understand why you want to connect to two (under my definition of
each explained above).
Why I want that? If
Dynamically-defined mail servers work fine in Tomcat; I'd be in deep
kimshe if they didn't. Here are some excerpts from the code I use:
Properties props = new Properties();
props.put( mail.smtp.host, however you get the
server name );
Session
Thanks for the quick response!
I think I've discovered some more problems while looking into this class
and references to it.
JSSEImplementation contains code to select the correct factory based
upon the JVM version. However, it appears that there is a typo in the
class name.
IIUC, this
Your right, thanks.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 9:06 PM
To: Tomcat Users List
Subject: Re: [javajni.c] [error] CreateJavaVM Failed
Asensio, Rodrigo wrote:
Hello, I have a production server tomcat 5.5 java 1.5_06 I have
On 5/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
But, when I set my Virtual Host http://www.mysite.com
then http://www.mysite.com/widget/index.jsp doesn't find imported classes and
can't compile.
In server.xml I have something like :
Host name=www.mysite.com debug=0
Michael Decker wrote:
My problem is, that the application session (set by cookie or url
parameter) is not associated with the SSL session. And I hope, there is
an easy way to that.
I dont understand why you want to connect to two (under my definition of
each explained above).
Why I want that?
Hassan Schroeder wrote:
The appBase is where you place your webapps: ROOT, widgets, etc.
So your default app would go in 'webapps/mysite/ROOT', widgets (if
it's a separate all) 'webapps/mysite/widgets', and so on.
{appBase}/{docBase}/WEB-INF
/index.jsp
Hi!
Why I want that? If you've an application with session. So you can get
the application information by spying (XSS, browser plugin etc.) or
copying (URL with session ID).
Because of that the idea was to join SSL session id and application
session id, you can avoid that.
If it was synchronization issue at the code level then
I should have seen the issue during load test in our
env.
We see the issue only for the traffic coming from this
specific network even for just one user in the system.
Cpu is 99% idle.
Also IE just allows 2 socket connection from the
browser
Hello Tomcat Users:
We are running Tomcat 5.5 on Windows 2003 Server and having a problem of
Tomcat service dying without a trace.
There are no exceptions in server log or any of the servlet logs.
We are using JRE 1.4.2_10-b03.
Is there a way I can find out why the Tomcat is exiting on us?
Hi,
If a web application wants to access a object being used by another
web-application(with a different context root) running on the same
webserver, is that possible?
If yes, how can it be achieved?Through sharing attributes of ServletContext?
Will getting an attribute from the servletContext,
-
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.
Hi everybody,
I am trying to convert the tomcat container from http to
https. First of all I created the keystore by reading the documentation and
also made necessary changes to $CATALINA_HOME/conf/server.xml by uncommenting
the SSL Connector HTTP tag and added new
keyur sheth wrote:
I am trying to convert the tomcat container from http
to https. First of all I created the keystore by reading the documentation
and also made necessary changes to $CATALINA_HOME/conf/server.xml by
uncommenting the SSL Connector HTTP tag and added new
On 5/19/06, keyur sheth [EMAIL PROTECTED] wrote:
So can you tell me the reason why I am unable to do that.
No. :-)
Certainly not without seeing the relevant part of your server.xml and
the relevant parts of your server logs.
P.S. Using a real subject line would be a good idea...
--
Hassan
Thankyou for your reply, but the thing is that even if I give
https://coit-grid04.uncc.edu:8443/gridsphere or
https://coit-grid04.uncc.edu:8443
it doesn't work. And in the connector tag for non-SSL there is a parameter
called redirectPort which is already 8443. So it should be redirected to
On 5/19/06, keyur sheth [EMAIL PROTECTED] wrote:
So attached is the part of the server.xml file for non-SSL and SSL
!-- Define a SSL HTTP/1.1 Connector on port 8443 --
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
Ok I will add the keystorePass tag in the SSL connector. But I don't know what
should see in the log directory and which file specifically. Can you please let
me know
Keyur
Hassan Schroeder [EMAIL PROTECTED] wrote:
On 5/19/06, keyur sheth wrote:
So attached is the part of the
On 5/19/06, keyur sheth [EMAIL PROTECTED] wrote:
But I don't know what should see in the log directory and which file
specifically.
There shouldn't be that many to choose from, but in any case, the
one with errors in it :-)
--
Hassan Schroeder [EMAIL PROTECTED]
Well, unfortunately our network is down due to power outage so I cannot connect
to the server remotely. I was just going to see the log file generated for
today and it got disconnected. So will mail later regarding the error in the
log file
Hassan Schroeder [EMAIL PROTECTED] wrote: On
Hello list,
I'm using tomcat 5.5.16 .
I'm trying to use JSP's error page mechanism. In my main.jsp I have [EMAIL
PROTECTED] errorPage=error.jsp %When an exception is thrown in main.jsp it
is indeed forwarded to error.jsp, where I have [EMAIL PROTECTED]
isErrorPage=true % I can see the code in
Actually, I eventually was able to build it without downloading JSX; but
there were several things I needed to do that didn't appear in the
BUILDING.txt file:
1. I had to downloat jakarta-tomcat-connectors using svn, because it's
not available any other way that I could find. To build
Joe Bohn wrote:
IIUC, this code in JSSEImplementation:
static final String JSSE13Factory =
org.apache.tomcat.util.net.jsse.JSSE13Support;
should be:
static final String JSSE13Factory =
org.apache.tomcat.util.net.jsse.JSSE13Factory;
since there is no
keyur sheth wrote:
And in the connector tag
for non-SSL there is a parameter called redirectPort which is already 8443.
Which is completely irrelevant. If try to connect to a HTTP Connector via
HTTPS this will fail before any data is transmitted that would enable Tomcat
to decide whether or
R. Christian Call wrote:
1. I had to download jakarta-tomcat-connectors using svn, because it's
not available any other way that I could find. To build version 4.1.24
of Tomcat, I used the TOMCAT_4_1_25 tag (there was no 4.1.24 tag for the
connectors).
That's not good. I'll go take a look.
Mark Thomas wrote:
R. Christian Call wrote:
1. I had to download jakarta-tomcat-connectors using svn, because it's
not available any other way that I could find. To build version 4.1.24
of Tomcat, I used the TOMCAT_4_1_25 tag (there was no 4.1.24 tag for the
connectors).
Where were you
For my case, I do not use war. I exported jar files
directly to WEB-INF/lib. But it is not pick up when I
re-started Tomcat. I have to re-start Tomcat a couple
of times for it to be used.
Tony
--- Calvin Deiterich [EMAIL PROTECTED] wrote:
This seems to be similar to a post that got started
On 5/19/06, Mark Thomas [EMAIL PROTECTED] wrote:
The RequestDispatcher is created in this class:
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContext.java
ApplicationDispatcher implements RequestDispatcher
Darryl Miles [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Michael Decker wrote:
My problem is, that the application session (set by cookie or url
parameter) is not associated with the SSL session. And I hope, there is
an easy way to that.
I dont understand why you want to
Hi, Mark
Thanks for your patient help. I have figured out the problem. It's
not relevant to Tomcat.
I tested my web application from NetBeans IDE with HTTP monitor enabled,
NetBeans put a wrapper on the Tomcat's response object. I think that wrapper
caused the problem.
Thanks
Best Regards
Well, I can't figure out this directory structure and finding stuff at all.
Here are my directory listings
docroot= /usr/share/tomcat5/webapps/smsinfo
***
anw-dev:/usr/share/tomcat5/webapps/smsinfo$ ls -laF
total 20
drwxr-xr-x 3 anw root 4096
55 matches
Mail list logo