I would suggest you to install and work with Netbeans 5.0. Netbeans 5.0
have bundled Tomcat which work out of the box. Than you will not have
problems like these before deployment.
Allen Williams wrote:
Well, I can't figure out this directory structure and finding stuff at all.
Here are my d
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 2006-05
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
Ste
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Joe Bohn wrote:
>> IIUC, this code in JSSEImplementation:
>>
>> static final String JSSE13Factory =
>> "org.apache.tomcat.util.net.jsse.JSSE13Support";
>>
>> should be:
>>
>> static final String JSSE13Fact
"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 wh
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
http://svn.apache
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
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
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
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
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 i
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 version
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 co
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 5/19/0
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]
---
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 server.
On 5/19/06, keyur sheth <[EMAIL PROTECTED]> wrote:
So attached is the part of the server.xml file for non-SSL and SSL
? no keystorePass? or just using the default?
In any case, the critical information is: what do your logs say?
--
Hassan Schroeder [EMA
So attached is the part of the server.xml file for non-SSL and SSL
Hassan Schroeder <[EMAIL PROTECTED]> wrote:
On 5/19/06, keyur sheth wrote:
> So can you tell me the reason why I am unable to do that.
No. :-)
Certainly not without seeing
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 port
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 S
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
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 parame
-
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.
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,
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?
Tha
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
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
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
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?
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 :
The appBase is where you place your webapps: RO
> Is there any criteria/way to determine the suitable heap sizes ( -Xms nad
> -Xmx ) for JVM in tomcat ??
>
Add folling line in your catalina.sh
CATALINA_OPTS=-Xms512 -Xmx1024
or
JAVA_OPTS=-Xms512 -Xmx1024
Normally the JVM allocates an initial size of 512 MB (Java 1.5). If you
need more
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 se
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 c
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", server name> );
Session mailSession =
Ses
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 tha
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 spec
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 crea
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
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:
http://svn.apache.org/repos/asf/tomcat/conta
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
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 approa
Use ServletContext.getResourse (returns a URL) or
ServletContext.getResourceAsStream (returns an InputStream). These methods
will work for both expanded (directory) and non (war) deployments.
Tim
-Original Message-
From: Martin Grogan [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 200
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 r
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
ha
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
m
> 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 incl
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
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
refres
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 :
When I access http://ww
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
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 tha
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 cre
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 me
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 T
Between your many options you may:
* find a good tutorial online (there are lots).
* Read the official docs at jackarta website, but they may be not easy
sometimes. Still they are very valuable as reference,
* find a good book (there are lots). I have enjoyed the "Head First Servlets
and Jsp" fr
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:
ServletContext.ge
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 tomcat-5.5.12
57 matches
Mail list logo