Hi ,
I encountered a problem on my production server. At a certain moment the
application just stops functioning,
After following the error logs I found an hs_err_pidPID.log which seams to
show me what is the problem
so far so good, the only remaining problem is that I`m a novice at this kind
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Tue, Apr 22, 2008 at 2:18 PM, john x <[EMAIL PROTECTED]> wrote:
> thanks!
>
--
Hez
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTE
thanks!
> From: advait samant [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat on JRE 6
>
> I would like to know if tomcat is officially supported JRE 6.
Yes.
> Are there any known issues or limitation?
No.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL a
Hello,
I would like to know if tomcat is officially supported JRE 6.
Line from release notes-
Tomcat 6.0 is designed to run on JSE 5.0 and later.
Are there any known issues or limitation?
Thanks,
Advait
_
Ahh, just one more thing, do not even try to modify Jasper itself
unless you know what you are doing; Most people experimenting with
Jasper end up in nothing.
- lg
On Tue, Apr 22, 2008 at 1:40 AM, Lucas Galfaso <[EMAIL PROTECTED]> wrote:
> Hi All,
> To answer the original question, there is
Hi All,
To answer the original question, there is a mechanism that Tomcat
provides to handle the specific thing you want to achieve. The
solution is very Tomcat specific, so I do not really recommend it,
anyhow, if you really _need_to_have_this_ then the way to achieve it
is the following:
- E
Hi,
Recently, I realize such a problem with my Tomcat 6.0:
When two (almost) concurrent requests to the SAME servlet occurs (for example,
I type the same url in two individual browser window), I find that Tomcat seems
not to work on the second request until the first is done.
This is not a
On Mon, Apr 21, 2008 at 7:16 PM, Andy Clark <[EMAIL PROTECTED]> wrote:
> Many people suggested that I try various frameworks
> for the application because they contain template
> engines that may work for my purpose. Unfortunately,
> I think that this is a non-starter because the app
> is alr
On Mon, 2008-04-21 at 19:16 -0700, Andy Clark wrote:
> Notice that the JSP/tag files that compose the
> response are a mixture of the default ones and the
> custom ones that the skin overrides. Skin authors
> should not have to make complete copies of the
> default skin tree in order to edit only
Thanks for everyone with their quick responses to
my query regarding how to override tags/JSP files.
My initial posts on the subject can be found here:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200804.mbox/[EMAIL
PROTECTED]
http://mail-archives.apache.org/mod_mbox/tomcat-users/200804
The effect you are observing is because you have configured your setup
to have the jsp files in the path of the document root for apache.
Apache knows nothing about jsp files so it is just returning the source
to you.
You have not specified O/S, JVM or Apache or Tomcat version.
You might like
I can get Tomcat to render JSP content if I try to (for example) access the
JSP installation examples using http://localhost:8080/examples/jsp But when
I try to try http://localhost/examples/jsp I get nothing but the raw html
code of the page (of a specific example).
I have an Apache - Tomcat ser
You could write a simple servlet to serve up these images from any
accessible file system. The URL for it would look something like this:
http://yourtomcatserver/yourwebappcontext/getImage?name=Foo.gif
The the servlet would know what directory to look for images in and handle
streaming them out t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Hi Chris - I thought about doing that, but that existing Request
| object could have state that my newly created Request will not have -
| Request does not have a copy constructor and does not wrap another
| Request object.
T
It's also going to work a lot slower. APR is the way to go on Windows if you
need SSL and care about performance.
On Wed, Apr 16, 2008 at 2:12 PM, Sean Bababeigi <
[EMAIL PROTECTED]> wrote:
> Thank you so much Charles. I renamed the file tcnative-1.dll and it works
> fine.
>
> Thanks again.
>
> S
I have a Struts web application that periodically hangs on a logging
statement.
The application hangs on this line
DynaActionForm loginForm = (DynaActionForm) form;
String username = loginForm.getString("username");
String password = loginForm.getS
Hi Chris - I thought about doing that, but that existing Request object could
have state that my newly created Request will not have - Request does not
have a copy constructor and does not wrap another Request object. Is it OK
to just create a fresh, new, un-initialized Request object & pass it t
Easiest way to skin on Apache is dojotoolkit WidgetSkin components
http://dojo.jot.com/WikiHome/WidgetSkinning
The 'beauty' of using Dojo Skin widgets is you can wrap dojo controls within
Struts 2.x taglibs (which are callable from jsp)
http://struts.apache.org/2.0.11.1/index.html
A more difficul
On Mon, Apr 21, 2008 at 2:43 PM, Andy Clark <[EMAIL PROTECTED]> wrote:
> Pid wrote:
>
>
> > Andy Clark wrote:
> >
> > > I want Jasper to look for JSP and Tag files in a
> > >
> >
> >> specific location (e.g. based on a request param);
> >> and then fall back to a default location if the
> >> fil
Shouldn't you be able to do this with most of the web frameworks out
there (like struts, spring MVC, etc). Many of them work by forwarding
all requests to an "action" servlet. The servlet then decides what
action to perform and what jsp to forward the request to. Is there a
reason why you can't
In Tomcat 5.0 on RH Linux I was able to make a context fragment file
called tomcat/conf/Catalina/localhost/webappB.xml, which allowed me to
call webappA by specifying the name webappB
in the browser's URL. The file looked like this:
Enter Tomcat 5.5 where this no longer works. I can't
2008/4/19, Andy Clark <[EMAIL PROTECTED]>:
> I want Jasper to look for JSP and Tag files in a
> specific location (e.g. based on a request param);
> and then fall back to a default location if the
> file is not found. This would be extremely useful
> for skinning a webapp.
Must you really use
Pid wrote:
Andy Clark wrote:
I want Jasper to look for JSP and Tag files in a
>> specific location (e.g. based on a request param);
>> and then fall back to a default location if the
>> file is not found. This would be extremely useful
for skinning a webapp.
Cascading Style Sheets are an eve
The DatasourceRealm will work. Drop the autoReconnect parameter from
the database url though as it's not recommended by the MySQL folks.
Instead, add a validationQuery to your ResourceParams so database
connections are tested briefly before they are borrowed from the pool.
The query can be a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Somu,
Somu Sundar Reddy.Y wrote:
| With the new requirement, when we enter http://xyz.com in browser, we
| want to execute the xyz application.
1. Re-name the 'xyz' application 'ROOT' in your webapps directory
~ (or xyz.war to ROOT.war)
2. Make s
Hi,
Currently we are using Apache-tomcat-5.5.23 web server for running our
project.
We have developed a project lets say xyz.war and deployed under
Apache-tomcat-5.5.23/Webapps directory and we are able to run the project using
http://localhot:8080/xyz.
With the new requiremen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Jacobson wrote:
| I was authenticating using a mysql database through the JDBCRealm. I
| found some posts in the archives (
|
http://www.mail-archive.com/[EMAIL PROTECTED]/msg149130.html)
| indicating that switching from the JDBCRealm
Thanks for your help.
> There should be at least one TP-Processor thread doing an accept on a
> socket.
There is this one?
"TP-Processor4" daemon prio=1 tid=0x002b69b0e980 nid=0x655f
runnable [0x41768000..0x41768ab0]
at java.net.PlainSocketImpl.socketAccept(Native Me
Hi,
I have an existing Tomcat configuration that is working well. However,
it is running version 4.1.31. We are updating the platform, so I
thought I'd take the opportunity to update Tomcat. Unfortunately (??) I
must stick with the Tomcat 4.1 release.
I have a test machine on which I hav
Philip Wigg schrieb:
Hi,
I have several Tomcat web applications that run in separate JVMs. I
have one Apache instance that connects to the Tomcat instances via
mod_jk.
I am using:-
RHEL ES 4.0
Java 1.5.0_14
mod_jk-1.2.25-httpd-2.0.59.so
Tomcat 6.0.14.
Usually the sites work fine and are very
Never mind - I found a context.xml file in tomcat/conf/catalina - removing
that allowed the war file to work.
On 21/04/2008, John Pedersen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> When I drop a war file into my webapps folder, it doesn't explode. Nothing
> happens.
>
> Here is a part of my server.xm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Pedersen wrote:
| When I drop a war file into my webapps folder, it doesn't explode. Nothing
| happens.
Stupid questions:
1. What version of Tomcat and JDK are you using?
2. Is Tomcat actually running (does it successfully complete startu
On Mon, Apr 21, 2008 at 7:54 AM, Parag Dhanuka <[EMAIL PROTECTED]> wrote:
> I am using an apache server to act as a load balancer to my tomcat server...
I don't see anything in that conf about load balancing, but regardless,
> I pinged tomcat to see if I can connect to it and I saw I could not..
Hi,
When I drop a war file into my webapps folder, it doesn't explode. Nothing
happens.
Here is a part of my server.xml:
I have tried with and without antiJARLocking and antiResourceLocking ( I am
using windows )
Nothing written to a log file either.
Any suggestions?
TIA,
John
That was the problem. Strange how it didn't have the same behavior with JBoss
4.0.5 and Tomcat 5.5.
Thanks for your help.
"Caldarale wrote:
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Subject: Re: Can't hit tomcat by real IPAddress or Hostname
> >
> >
> The above restri
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Can't hit tomcat by real IPAddress or Hostname
>
>
Client and server are on the same local machine. There is a firewall, but I
shut it down and it isn't the problem. My Tomcat 5.5 app works fine locally.
Some more info: this is TC6 packaged with JBoss 4.2.2. Here is the config:
David Smith <[EMAIL PROTECTED]> wrote:
> If I had to hazard
If I had to hazard a guess, a firewall is in the way. Can you say more
about your network topology? From where are you attempting to connect
and what's between the client and the server? Lastly, do you have an
address attribute in the connector for port 4949 in your server.xml?
--David
[EM
Here's the situation:
- I can hit Tomcat 6 using http://localhost:4949
- I can hit Tomcat 6 using http://127.0.0.1:4949
- I CAN'T hit Tomcat using my "real" IP Address http://1xx.189.130.51:4949 or
by using the machine's hostname.
I had no problem doing this with Tomcat 5x. What would cause this
Here's the situation:
- I can hit Tomcat 6 using http://localhost:4949
- I can hit Tomcat 6 using http://127.0.0.1:4949
- I CAN'T hit Tomcat using my "real" IP Address http://1xx.189.130.51:4949 or
by using the machine's hostname.
I had no problem doing this with Tomcat 5x. What would cause this
I am using an apache server to act as a load balancer to my tomcat server...
I am using reverse proxy for doing this..
The major lines of change in my http conf are these
ProxyRequests Off
Order deny,allow
Deny from all
Allow from all
SetEnv force-proxy-request-1.0 1
SetEnv
Hi,
I have several Tomcat web applications that run in separate JVMs. I
have one Apache instance that connects to the Tomcat instances via
mod_jk.
I am using:-
RHEL ES 4.0
Java 1.5.0_14
mod_jk-1.2.25-httpd-2.0.59.so
Tomcat 6.0.14.
Usually the sites work fine and are very responsive. The problem
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Note that this entire issue would be made much more simple if there was an
| easy way to override the
| org.apache.catalina.connector.Request.configureSessionCookie method.
I have
| not found an easy way to do that.
Have your
Hi
>> Rather than looking at doc that's over four years old
The Main TOMCAT out of 4 numbers, act's a Load Balancer itself
Which is exciting and simple for configuration.
>> http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
Observed this URL, Does the topic Load Balancers /Using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
[EMAIL PROTECTED] wrote:
| One possibility is to use a servlet filter to wrap the tomcat
| instantiated request in your own request, which overrides the desired
| method.
I think you've got the wrong class, here, Chris. The
configureSessionCo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
[EMAIL PROTECTED] wrote:
| In tomcat, you can eaily config all session data to be replicated among
| nodes. How about only replicate particular object(s)? e.g. Only the login
| session to be replicated so that I can kick out multiple login users
> From: karthikn [mailto:[EMAIL PROTECTED]
> Subject: TOMCAT CLUSTERING ONJAVA
>
> Reffered to URL
> "http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1";
>
> The Load balancing using Cluster Techique for 3+ TC's,
Rather than looking at doc that's over four years old (and wa
> From: Felix Schumacher [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with JNDI using a changed context root path
>
> Remember to move the corresponding context file as well, so move
> conf/Catalina/localhost/mywebapp.xml to
> conf/Catalina/localhost/ROOT.xml.
The above .xml file is not alwa
That's a good point Matthias - in my case sessions are always created so it's
acceptable. Can you think of a good way to only replace the session cookie
when it would be naturally created by the app for those cases where always
creating it is not acceptable?
Note that this entire issue would be
On Mon, April 21, 2008 10:55 am, Stefan Dirschnabel wrote:
> Hi,
>
> I experience a problem changing the context root path of my Tomcat 5.5.
> I deploy my application using a war file. Because the Application can
> now only be accessed using www.url.de/warfilename I changed the context
> root of my
Hi,
I experience a problem changing the context root path of my Tomcat 5.5.
I deploy my application using a war file. Because the Application can
now only be accessed using www.url.de/warfilename I changed the context
root of my Tomcat. I just want the user to enter www.url.de to access
the applic
With your implementation, the valve will have the effect that a session
is created upon first access to a server,
not only when required by the application.
(see also discussion on
http://www.nabble.com/Cookie-less-session-tracking---whats-are-the-downs
ides-tp16738472p16738472.html )
Thus, the v
One possibility is to use a servlet filter to wrap the tomcat
instantiated request in your own request, which overrides the desired
method.
public class MyFilter implements javax.servlet.Filter {
..
public void doFilter(ServletRequest request, ServletResponse
response,
Hi
Reffered to URL
"http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1";
The Load balancing using Cluster Techique for 3+ TC's,
The site has also provided a SAMPLE Code "tomcatclustering.zip"
I was wondering if any body on this TOMCAT form has achieved the same on
TOMCAT
In tomcat, you can eaily config all session data to be replicated among
nodes. How about only replicate particular object(s)? e.g. Only the login
session to be replicated so that I can kick out multiple login users, while
I don't want other session data (order form / credit card form) to be
replic
56 matches
Mail list logo