Jeff Chuang wrote:
> To make port 80 use APR and port 443 NOT use APR, I have tried it
> several times, without any luck. After tomcat starts, port 80 is fine,
> but connections to port 443 are always timeout. It looks from the log
> the Http11BaseProtocol was not used on port 443. The log looks l
oh... then its magic...
ok i've tried it:
[EMAIL PROTECTED]:~$ curl -T xxx.txt http://localhost:8000/xxx/
Apache Tomcat/5.5.16 - Error
reportTAP1 //*tap is the name of the machine
Tomcat1-stage --->TAP1
Tomcat2-prode --->TAP2
Tomcat2-stage --->TAP2
Tomcat work only for the JAVA
Hi,
On http://tomcat.apache.org/connectors-doc/howto/apache.html I read that
mod_jk is "developed and tested" on Aix (and other platforms), but I
can't find any special instruction to compile it on that platform.
Did someone succeed in building it on Aix ?
Could you please give me some advices (w
You could use the session id location as an indicator, assuming there's
a session already.
if (hreq.isRequestedSessionIdFromCookie()) {
// we're good, do whatever
}
else {
// no cookies, begone!
}
if your initial point of contact does a single instant redirect to the
detector,
We have Apache load balancing five instances of Tomcat. The cluster
will run fine and have no problems. The mod_jk Status page is fast and
responsive. But, after running for a few hours, things slow down. The
Status page no longer responds. The cluster doesn't respond.
Has anyone seen thi
On 6/22/06, Per Johnsson <[EMAIL PROTECTED]> wrote:
Is 1.2.16 avaiable for download somewhere?
Not that I know of, you have to grab the source from SVN.
Found this:
http://tomcat.apache.org/connectors-doc/news/20060505.html
I wonder how that got there!
-Dave
--
I am trying to use a datasource to access an Oracle database (Tomcat
5.5.9 and Oracle 9i). I have configured a datasource in the context.xml
as follows:
WEB-INF/web.xml
In web.xml I am referring to the datasource as:
The Reports DataSource
jdbc/reportdb
javax.sq
Is there a correct way to retrieve a typed List from a request/session
attribute? The attribute is returned as an Object, but using a cast like:
List var = (List)request.getAttribute(name);
results in a warning:
Type safety: The cast from Object to List is actually checking
against the erase
On 6/22/06, David Wall <[EMAIL PROTECTED]> wrote:
Is there a correct way to retrieve a typed List from a request/session
attribute? The attribute is returned as an Object, but using a cast like:
List var = (List)request.getAttribute(name);
results in a warning:
Type safety: The cast from Obje
That means ..
even when I start the monitoring component later
it will not work beyond the first hour after starting the jvm?
Karl-Heinz
- Original Message -
From: "Andrew Miehs" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 22, 2006 1:46 AM
Subject: Re: looking
Just because it's fun to have that one last kick at the dead horse...
You really can't rely on any cookie being set, can you? I mean most users
are simply not this savvy (or stupid, depending on how you feel about it),
but I can set my browser to prompt for every cookie, and I as the (idiot?)
use
David--
Personally...I would use reflection...
try
{
List var = Class.forName(request.getAttribute(name));// get class
definitions
o = var.newInstance(); //Instantiate a new class using the class(and
consequent definitions)..
}
catch(Exception excp)
{
System.out.println("Didnt like the class .
I figured it out. I had followed Tomcat documentation while doing this.
The Oracle example in the documentation mentioned url as
jdbc:oracle:thin:[EMAIL PROTECTED]:1521:mysid
Following that I specified my url as
jdbc:oracle:thin:[EMAIL PROTECTED]:1521:rep while actually it should be
jdbc:oracle:th
Nope, with that it only gives a proper error message,
Invalid connection string format, a valid format is: "host:port:sid"
On Fri, 23 Jun 2006 00:48:54 +0530, "Ashvini K Saxena"
<[EMAIL PROTECTED]> said:
> I figured it out. I had followed Tomcat documentation while doing this.
> The Oracle exampl
Ashvini,
I have faced a similar problem. Instance of the JNDI resource is not being
created. In my case, the solution was to remove any spaces tomcat's path. I
moved Tomcat directory from c:\Program Files\Apache Software Foundation\Tomcat
to c:\Tomcat. JDK has a bug that it cannot find JNDI res
Can anyone offer any insight as to why JPDA would not shutdown after a
debugging session with Netbeans. I am using sys-internals process
explorer to watch the processes, and the JPDA process is still running
even after the tomcat debugging session has been shutdown.
XP sp2...
NB 5.0
bundled To
Hello,
I have a newbie Tomcat question.
A search application I need to work with uses RMI. When I start
Tomcat, is there a way I can run the code to create an object that I
can reference in a JSP later?
What I need to run is straight forward:
ClientServices cs =
com.mycompany.searchapp.Client
I've handled this by using a servlet filter that intercepts all requests
(something like this in your web.xml file)...
Do Startup Filter
/*
Then inside the do.. method you can set up your object and attach to either
a context such as your session or to the ServletContext (if you want
lookup ServletContextListener
Andrew Braae wrote:
> I've handled this by using a servlet filter that intercepts all requests
> (something like this in your web.xml file)...
>
>
> Do Startup Filter
> /*
>
>
> Then inside the do.. method you can set up your object and attach to either
Our web application has a search feature that can be activated by pressing
the F2 key in Internet Explorer, or by clicking a small (978 bytes) gif
image file of a magnifying glass in our myapp/images directory.
This directory is populated with 45 gif image files, the largest being 144
KB, the smal
On Jun 21, 2006, at 23:22, Derek McEachern wrote:
I've been searching the list but so far I have not been able to find a
solution to problem. I am running tomcat 4.1.31 using java 1.4.2 on a
Solaris 8 machine. In our configuration we are running two tomcat
instances
sharing binaries and web
Jørgen--
I know with 5.5 you can control Threading by implementing custom APR
ThreadPooling..
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/tomcat/util/net/AprEndpoint.html#acceptorThreadCount
Tak,
Martin --
***
i'm trying to get mod_jk to work.
i configured apache thusly:
set APVER=apache-1.3.36
setenv CC gcc
./configure --prefix=/opt/depot/$APVER \
--enable-module=so \
--enable-module=info
when i try to start apache, i get this error.
Syntax error on line 2 of /opt/depot/apach
This should work (in server.xml):
assuming that /webapps/companyName/warfilename.war
is a valid filepath.
Dan
Dean Hiller wrote:
I am trying to make a hosted service(with a few small apps) that
companies
can purchase. I want the default tomcat app(my app as I took default
over)
Apache is not sending the ajp13 port 8009 to tomcat only with xml everything
else works fine; here is my conf:
JkUriSet worker ajp13:localhost:8009
JkUriSet worker ajp13:localhost:8009
JkUriSet worker ajp13:localhost:8009
JkUriSet worker ajp13:localhost:8009
JkUriSet worker ajp13:loca
"Daniela Piacenti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello everybody,
>
> I read a lot about the coyote connector and that it is possible to write
> own connectors for Tomcat. But I did not find anything in the whole web,
> how to do this. Now I am reading the source
HI,
I wonder if you cpuld take a look at this topic:
http://forum.java.sun.com/thread.jspa?threadID=746742&messageID=4273613#4273613
My name is rypki and I am asking for setup in this topic.
Take care
--
"Trzeba szczęście swe brać, kiedy puka do twoich drzwi."
--
"Trzeba szczęści
61 matches
Mail list logo