Between random intervals our website running with Liferay + Tomcat 6.0.14 gets
Stuck with all http-worker threads runnable, but hanging in
java.net.SocketOutputStream.socketWrite0.
I have also taken a netstat with 30s interval, and we see trend of growing
number of connections in
SYN_RECV and CL
Error seems to originate from the MySQL JDBC driver, weird if you say it was
working earlier.
Can you write a simple Java class to use the same driver to execute the same
query and run it with same JDK version under which your Tomcat is running, see
if its working or still throwing the error.
You can write a simple JSP which will run a freeMemory/totalMemory call in your
JVM and possibly send a mail/log when the limits are reached.
You could set a refresh interval and have this page refresh say every 5 minutes
in your browser.
Alternatively you can tweak with the manager app code.
I have not used Eclipse so cant say about the same, Netbeans can build a war
file (so Iam assuming Eclipse can do the same too) for a web project.
You can just copy the war file into webapps folder of Tomcat if directory
sharing is done else ftp it to that folder, depends on how your machines a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lloyd,
DIGLLOYD INC wrote:
| What is a viable workaround for switching to http from https once
| the user is authenticated?
Simple: make sure that the user has a session before you switch into
HTTPS mode.
- -chris
-BEGIN PGP SIGNATURE-
Ver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| To talk in concrete terms, this here is filter B :
| http://jcifs.samba.org/src/docs/ntlmhttpauth.html
The details of Filter B are entirely irrelevant.
| After filter B, I have my own filter C, which must remain in pla
That error looks like a communication problem between Tomcat & MySQL,
but I don't know why it would only happen when accessing certain
columns. Perhaps someone who knows more about JDBC & MySQL can explain
what it means.
--
Len
On Sun, Aug 3, 2008 at 13:21, Glyn Thomas <[EMAIL PROTECTED]> wrote
Hi Nadun,
Did you install a Tomcat version from tomcat.apache.org or is it from
Ubuntu's repository?
If the latter you will find much more success with the former.
Also nothing good usually results from adding CLASSPATH with Tomcat
Nadun Herath wrote:
Thanks a lot Alessandro
When I type that
I've been having the same issues others have been asking about. This
discussion has been useful, but...
===> What is a viable workaround for switching to http from https once
the user is authenticated? And is that idea unreasonable (see use
case below).
My main concern is that sending l
See Thread at: http://www.techienuggets.com/Detail?tx=46841 Posted on behalf of
a User
That's exactly it. Thanks for pointing me in the right direction! Now I have to
figure out which version of JBoss will be built around that version of Tomcat.
In Response To:
[EMAIL PROTECTED] wrote:
> A
[EMAIL PROTECTED] wrote:
A request like:
HEAD /SomeServlet?id=10471 HTTP/1.1" 500 returns a 500 error. The log has the
following:
javax.servlet.ServletException: Original SevletResponse or wrapped original
ServletResponse not passed to RequestDispatcher in violation of SRV.8.2 and
SRV.14.2.5
See Thread at: http://www.techienuggets.com/Detail?tx=46841 Posted on behalf of
a User
A request like:
HEAD /SomeServlet?id=10471 HTTP/1.1" 500 returns a 500 error. The log has the
following:
javax.servlet.ServletException: Original SevletResponse or wrapped original
ServletResponse not passe
Well if something is listening on port 8080 when tomcat is not running, then
that is the reason (port 8080 is already used), check tomcat logs under
logs/catalina.out to see if there are any port conflict errors, or any other
exceptions thrown at startup.
--
Signed,
Alessandro Ferrucci
On Sun,
Len,
Thanks for your comments and interest.
I hadn't thought to check the Tomcat log because the majority of the query
appeared to execute, but there is an error being put into the log, see below.
Note, this is with a slight variation on the query that I added in my earlier
post, but has the s
Ravi
Thanks for that. That was the mistake. Tomcat is up and running but another
problem came. I ran a sample webservices program in intellijidea. It says
another program is running on 8080. Thanks again.
On Sun, Aug 3, 2008 at 8:52 PM, Ravi Sharma <[EMAIL PROTECTED]> wrote:
> i guess u need t
Sam Wun ha scritto:
Hi,
Can anyone link me an example about deploy application from windows
eclipse to linux Tomcat?
Thanks
The target operating system is not so important, I use eclipse on mac
and deploy applications on linux. Simply copy the content of WebContent
folder in a folder under w
There might be a simpler solution than migrating to a completely
different OS. :-)
What exactly do you mean by "don't get retrieved"? Does it throw an
exception? Is there an error message in Tomcat's log?
When you execute the query in MySQL, do you get exactly the same
results as on the old syste
i guess u need to write localhost*:*8080 and not localhost*/*8080(See
the : and / , and if its typo then may be some other problem)
Ravi.
On Sun, Aug 3, 2008 at 4:21 PM, Nadun Herath <[EMAIL PROTECTED]> wrote:
> Thanks a lot Alessandro
> When I type that command.
> this appeared
>
> tcp6
- Original Message -
From: "Robert Drescher" <[EMAIL PROTECTED]>
To:
Sent: Sunday, August 03, 2008 12:27 PM
Subject: Creating a new Service
Hello everyone in this list!
This is my first post in the users-help, after successfully installing
Tomcat5.5
The default applications are ru
Thanks a lot Alessandro
When I type that command.
this appeared
tcp6 0 0 :::8080 :::*
It seems tomcat working well isn't it.? What is wrong.
Thanks again.
On Sun, Aug 3, 2008 at 7:43 PM, Alessandro Ferrucci <
[EMAIL PROTECTED]> wrote:
> Make sure none of the ports spe
Make sure none of the ports specified in conf/server.xml are being used.
You can check this by running
netstat -na | grep
if nothing comes up then the port is free.
--
Signed,
Alessandro Ferrucci
On Sun, Aug 3, 2008 at 10:07 AM, Nadun Herath <[EMAIL PROTECTED]> wrote:
> I am a newbie to tom
I am a newbie to tomcat. I installed it ubuntu
added the following line to bashrc file
export
CLASSPATH=/usr/local/tomcat/common/lib/jsp-api.jar:/usr/local/tomcat/common/lib/servlet-api.jar
When I run startup.sh it runs ok. Giving this message
Using CATALINA_BASE: /usr/local/tomcat
Using CA
hello Robert-
first looking at your present folder layout
Not under tomcats control.. /usr/share/myapp/
Not under tomcats control.. /usr/share/myapp/webapp
I would suggest reading how to configure your tomcat engine at /conf/server.xml
http://tomcat.apache.org/tomcat-5.5-doc/virt
Hi and Welcome to the list.
I can't answer your questions below, but since you are new to the list,
allow me to make a couple of predictions :
The first thing you are going to be asked is under which OS you are
running this, and from where you downloaded and installed Tomcat 5.5.
So you might
Assaf Vizner wrote:
Hi
I have a .keystore file which doesn't matches the SSL definitions in the
server.xml.
tomcat 4 handled it well - it was unable to connect to it but the logs
showed a friendly messages and the server continue working fine.
However in tomcat 6 when I configured the conn
Richard S. Huntrods wrote:
SO - my question - is there a relatively easy way to create something
(say a servlet) to watch the stack *just like I can do manually using
the manager application* but email me when the stack approaches the
memory limits?
Richard,
Tomcat is open source so if you w
Hello everyone in this list!
This is my first post in the users-help, after successfully installing
Tomcat5.5
The default applications are running (in the /usr/share/tomcat5.5-webapps
folder), but for testing my application, I'd like to move mine to a
different location in the filesystem.
Am I ri
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| Can one dynamically disable a servlet filter under some conditions, from
| within another preceding filter ?
|
| In other words, suppose I have a servlet configured approximately like
| this :
Hi
I have a .keystore file which doesn't matches the SSL definitions in the
server.xml.
tomcat 4 handled it well - it was unable to connect to it but the logs
showed a friendly messages and the server continue working fine.
However in tomcat 6 when I configured the connectors in the server.x
On Sat, 2008-08-02 at 19:18 -0700, Richard S. Huntrods wrote:
>
> SO - my question - is there a relatively easy way to create something
> (say a servlet) to watch the stack *just like I can do manually using
> the manager application* but email me when the stack approaches the
> memory limits?
30 matches
Mail list logo