Is anyone working on a tomcat connector based on MINA?
TIA,
Neil
--
View this message in context:
http://www.nabble.com/Tomcat-connector-based-on-MINA-tp15540286p15540286.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
Hi,
I'm using Tomcat v5.5.25 with two webbaps deployed as plain files (not
wars). Both of them use JNDI and do some initial binding upon webapp
(context) startup.
The "startup" event is determined by implementing a listener
(javax.servlet.ServletContextListener's contextInitialized method) and
pla
Mohamed Mohamedin wrote:
This message "http://readlist.com/lists/tomcat.apache.org/users/9/46003.html";
talked about APR. Which I don't use.
But I found in the last these lines
" Anyway: since you've not configured an HTTPS Connector in Tomcat, I
don't really have an explanation for the slow st
Hi there
We use resin here in my work. Resin allows in its web.xml an element like:
/jsp/*
c:/resin/resin-2.1.4/apps/ucs/
This can also be used in resin.conf, amking the war more portable.
Now we are starting a migration to tomcat. But as far as I know TC
doesnt not allow
The policy of our company is to deploy the jsp's separated from the
war file, to allow a finer grained control over deployment. I'm not
very fan of it, but it's something I won't be able to change. So I
need a way to point the following URL's to another place in the file
system.
http://server/[cont
Once the .war is expanded why would you want to map to JSPs outside of the file
system package?
emerson cargnin wrote ..
> Hi there
>
> We use resin here in my work. Resin allows in its web.xml an element like:
>
>
> /jsp/*
> c:/resin/resin-2.1.4/apps/ucs/
>
>
>
>
>
> Thi
Hello!
I'm getting the following message on Tomcat:
18/Fev/2008 12:07:50
org.apache.catalina.cluster.tcp.ReplicationValvecreatePrimaryIndicator
FINE: Context /outpatient: Found session
07EEE91093046F13672F88402F03C5A2.node02 but it isnt a ClusterSession.
Why this happen?
Thanks a lot
AH
jean-frederic clere wrote:
> Nope, the entropy is collected when starting the listener
> SSLEngine="off" />
> Should help.
I didn't know that. Thanks for the hint.
Regards
mks
-
To start a new topic, e-mail: users@tomcat.apa
Hi,
Is there any backward incompatibility in JASPER libraries in Tomcat
(v4.x.y, 5.x.y & 6.x.y)?
If 'YES', could you please share appropriate URL about it.
Thanks,
-Hitesh
> From: Mindaugas Žakšauskas [mailto:[EMAIL PROTECTED]
> Subject: JNDI question/problem
>
>
>
>
>
> type="java.util.Map"/>
>
>
> type="java.util.Map"/>
>
>
>
>
You appear to be trying to define two default contexts (path=""), which is
obv
The same delay approx.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Monday, February 18, 2008 12:56 AM
To: Tomcat Users List
Subject: Re: Why Tomcat take about 15 minutes to start?
And without the enhydra app?
Leon
On Feb 17, 2008 9:36 PM, Mohamed Mohamedin <[
Hi!
I use:
Also myFaces 1.2 unter Tomcat 5.x dürfte sowieso nicht laufen, da Tomcat 5.x
nicht JSP 1.2 und Servlet Container 2.5 unterstützt?
Demnach müsste der Tomcat 6.0 her:
Hab das Teil installiert, Classpath und Catalina_Home gesetzt, Sysdeo Plugin
(3.2.1) installiert und lt. Release Notes
I have the following situation (I try to simplify it):
1. I have a standalone Apache Tomcat server (5.5.26), on which is
running a web application:
- A Welcome jsp page (Welcome.jsp) and 2 Servlets: CalculatorServlet
and MyProtectedServlet
- The CalculatorSevlet servlet has to acc
Hello tomcat users!
I have a problem using the connection pool in Tomcat. The function
getConnection() throws the following error message:
[Error message]
When trying to get a Connection an SQLExcpetion occurred:
java.sql.SQLException: Already closed.
at
org.apache.tomcat.dbcp.dbcp.Poolab
Hi Folks
Sorry I'm not very knowledgeable about technical aspects of Tomcat. I
am having some problems with an application I am running acting rather
weird. So what I want to do is download a newer version of Tomcat to
try and rule out some possibilities.
Currently I am running t
Hi,
I'm having trouble sending mail with Apache Commons Email in Tomcat 6.0. At
the top of the stack trace the mail server I'm sending to (that is known to
be working ok) is mentioned but further down the trace there are _Caused by_
messages mentioning problems sending to localhost.
It seems lik
When I run "ps ax" on our Linux server, I'm seeing dozens of Tomcat
processes running. Is this normal?
Shouldn't there be just 1 Tomcat process?
Occasionally, we have to restart Apache to kill all those processes, because
they are slowing the machine down.
thanks
Hi Charles,
...and thanks for your reply.
> You appear to be trying to define two default contexts (path=""), which is
> obviously incorrect <..>
Just to be more precise and address your point:
- I am running Tomcat without its default apps (manager, root), only
my own apps are set up;
- when
In the future to get the gurus to reply supply more info about your systems
overall (OS, JDK, TC version, hardware, network topology, etc.). If you are
running a NIX box you could possibly create some soft links in the directories
you have named below. I have not tried something like that nor ha
It looks to me like you're bypassing the connection pool and messing
up the way it handles connections. You've only shown a snippet of
code, so I have a couple of questions:
1. After dconn is returned from getConnection, how and when does it get closed?
2. Does the exception happen every time getCo
I have the same exact problem with my installation of Tomcat and the ISAPI
redirector. I have the Web Service Extension in IIS, mapped to the location
of the isapi redirector dll, and set it to "allowed"?
If anyone can follow-up with the post it would be greatly appreciated.
Leo Donahue -
Hi Mike.
First, could you fix your system time? Your email came through w/ a
time stamp of 5/11/2004, 11:04am. Unless you've found a really cool
time machine somewhere and can sent email in to the future, this is just
slightly annoying to me.
Regarding your question, if your effort is to e
I made a mistake I wanted instead of war file I wrote a jar file. So the web
application has been already created. My question is if I have to compile a
java class that extends one of the classes included in a jar file. Do I have
to extract from war file necessary libraries need for the compilatio
Hi;
I have a webapp which uses a pipe to read from a process under 2003
Server. The webapp sort of wrappes zhe output in objects and displays
them in
tables. Today i found that the app does not work anymore. The strange
thing is it still works as a UNIT Test from the commandline. it only
I'm guessing you're running an older version of linux w/ a 2.4 or
earlier kernel. In such systems the threads within a process show up as
processes themselves. That changed in newer versions of the linux
kernel which report one entry per process regardless of how many threads.
--David
Jonat
We have a similar need. But doing this with JSPs is very dangerous since
they can have java code within them. Instead, using a templating
language like Velocity would seem to be a mucn better approach.
emerson cargnin wrote:
The policy of our company is to deploy the jsp's separated from the
We also do this with Velocity (we use Spring MVC rather than JSP) and point our
Velocity ResourceLoader to somewhere else on the filesystem (away from any
Apache document root so they aren't accessible). This brings benefits of being
able to do hot-deploy of content/templates for urgent copy cha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ksh,
[EMAIL PROTECTED] wrote:
|> If you want to swallow output under certain conditions, why not use
|> a Filter or Valve? Much easier than trying to redirect output.
|
| Are you referring to filters and valves as defined in the server.xml?
| If so,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohamed,
Mohamed Mohamedin wrote:
| I am using Tomcat 5.5.25 on SUSE Linux 10.1 (X86-64) and Java 1.5.0_10
from
| Sun.
| When I run Tomcat using "catalina.sh start" and watching the log it
stop at
| "INFO: XML validation disabled" and take about 15 m
Hi Len! Thanks for the reply.
The dconn was closed by simply calling the close function when I was
done with the connection.
This is something that has worked in the past so I'm a bit confused
when it stopped working now.
I have solved the problem now by just returning the connection from
the pool
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ksh,
[EMAIL PROTECTED] wrote:
| | Not using the servlet container in any usual way. You could email
| the | response somewhere or something like that, or POST it to
| another URL or | whatever. I'm not sure why you'd want to do that,
| though.
|
| I'
No matter what I try where I go I just keep hitting a wall with this ISAPI
redirector for IIS/Tomcat.
I have been trying to get this to work since 9:00 AM est, and I am losing
steam.
I tried supplying any useful information for trouble shooting below
Error:
HTTP Status 404 - /jakarta/isapi_red
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David and Jonathan,
David Smith wrote:
| I'm guessing you're running an older version of linux w/ a 2.4 or
| earlier kernel. In such systems the threads within a process show up as
| processes themselves. That changed in newer versions of the linux
-- follow up from "FileDirContext fails to immediately recognise new
files" --
My application has in META-INF/context.xml:
This works just beautifully in tomcat-6 but in tomcat-5.5 the application
warfile fails to unpack.
Not a single related log line is written in any of tomcat's logfiles!
It looks like you've got more than one thing going on.
The debug log refers to a worker named 'ajp13', which is the default name,
and not the one you've got configured in your
uriworkermap.properties/worker.properties
- This usually points to your filter config and the ISAPI extension DLL
(the o
Yes, it should be OK if you close the pool connection at the
appropriate time and don't close the one from getInnermostDelegate -
the pool takes care of that one.
--
Len
On Feb 18, 2008 2:48 PM, Petter Olofsson <[EMAIL PROTECTED]> wrote:
> Hi Len! Thanks for the reply.
> The dconn was closed by s
agreed...
if by *Strange* you mean *you dont understand* then I would advise you to
take a look at Mladen Turks paper on fronting Tomcat with IIS
http://people.apache.org/~mturk/docs/article/ftwai.html
I would specifically note the built-in restrictions of Windows Workstation
products to managing <
Hi!
i tried two things to improve the startup time for
my Tomcat5.5.25 versio ncompiled with native
libraries:
1)Djava.security.egd=file:/dev/urandom added this to
the Startup script of Tomcat
2) and also compiled APR with /dev/urandom and again
compiled Native libraries
Still it takes 12 min
> From: Neha Agrawal [mailto:[EMAIL PROTECTED]
> Subject: Re: Why Tomcat take about 15 minutes to start?
>
> Still it takes 12 minutes to restart tomcat:
> What are possible solutions ?
You won't get any solutions without doing some investigative work. To
repeat suggestions made over the weeken
I have tried both Tomcat 4.1.x and the latest 6.x on my networked Windows XP
desktop at work. It is a government office so there could be plenty of
firewalls in effect. The Windows XP firewall however is not operational.
The experience that I am having is that in one case, Tomcat seems to start
bu
Is it possible to use mod_jk to get the Apache2 web server to forward
web requests to programs other than Tomcat?
E.g. can workers.properties be set to point to a non-Tomcat program? If
so, what would that program have to do to interpret the incoming
requests? Are the requests still in http form
mod_rewrite can also do proxy forwarding, where the web server will
route the forwarded resource to the client. Use the P flag.
On Feb 18, 2008 2:35 PM, Daniel Winterstein
<[EMAIL PROTECTED]> wrote:
> Is it possible to use mod_jk to get the Apache2 web server to forward
> web requests to programs
Start fixing it by *not* commenting out the worker.list=ajp13w and set
your connection pool size to something reasonable (default is 1, start
with let's say 50).
Then follow Tim's adviceand please also tell us which isapi redirector
version you are using.
Regards,
Rainer
doepain schrieb:
On Feb 18, 2008 2:30 PM, perry anderson <[EMAIL PROTECTED]> wrote:
> The computer at work is running firewalls of some nature and also has McAfee
> running on the desktop. Don't know if this has anything to do with it. At
> this point I don't even know where to check first to even begin to address
Hi Daniel,
mod_jk uses a special protocol to talk to the backend server. It's
called AJP13. Several backends implement the protocol, e.g. Tomcat,
Jetty, Glassfish, JBoss, Geronimo (I guess because it includes Tomcat or
Jetty).
If you are looking for a simple solution, you might also just use
Unless you have some manner of virus running on that computer your browser
*should* be able to access localhost specifically put the address
http://localhost:8080/manager/index.jsp
in your browser's address
and you should see the manager application..
Please verify..
M-
- Original Message
We checked the System logs for Windows it just showed that it tried to
execute but failed for some "unspecified" reason. Also, I installed the
latest version of Java, 1.6...04
But will try to check log files where ever I see them...
Thanks
- Perry
On Feb 18, 2008 7:20 PM, Hassan Schroeder <[EMA
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Difficulty with the latest Tomcat 6.x on Windows XP
>
> Unless you have some manner of virus running on
> that computer your browser *should* be able to
> access localhost specifically put the address
> http://localhost:8080/manage
Hi!
i recompiled my APR 1.2.7 with /dev/urandom
and hence recompiled Native libraries
(because Native library builds with --with-apr-)
i did not recompile the jsvc part though
I dont have X server installed on the machine.
So cannot use Jconsole.
I am attaching two outputs displayed by
js
Hi all,
I installed java jdk 1.4, tomcat 4.1 and jwsdp-1.3, it are configured and is
working ok.
I create a servlet that handle SOAP messages, but it have strange result.
see my codes...
*base servlet class*
package test;
import java.io.IOException;
import java.io.OutputStream;
import java.ut
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neha,
Neha Agrawal wrote:
| i tried two things to improve the startup time for
| my Tomcat5.5.25 version compiled with native
| libraries:
Do you mean "configured" with native libraries? Recompiling Tomcat will
not change anything...
| Still it tak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| 2) Try taking periodic stack traces to find out where the threads are
| spending their time (jstack helps here, as would a profiler).
Definitely. If you have a 12 minute delay, do something with that time.
One of
The required jar files will have to be made available to the java
compiler. They can be made available either by pulling them from your
war file or by downloading them from the sites that host them.
Personally I would have an IDE (NetBean and Eclipse are both good, open
source choices) or bui
I'm trying to get all of the above working together peacefully with no
success whatsoever. I've got Tomcat working, and Apache has always
worked as per usual, but mod_jk will simply not work.
I'm running all this on freebsd server, and when I navigate to /webapps
on the server I get a 404 error- b
Hi,
I've web-app developed to run with Tomcat 4.2. It used to work perfectly
fine with Tomcat 4.2.
When same web-app is deployed on Tomcat v5.5.x or v6.0.y, it fails by
throwing NullPointerException.
It works perfectly fine, when we replace JASPER libraries from Tomcat
v4.2 (from \common\lib fold
The Apache Tomcat team is proud to announce the immediate availability
of Tomcat 4.1.37 stable. This build contains numerous library updates,
a small number of bug fixes and two important, one moderate and six low
severity security fixes.
Apache Tomcat is an implementation of the Java Server Page
56 matches
Mail list logo