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
"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
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
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)
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
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 --
***
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
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
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
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
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
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
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
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
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
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 .
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
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
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
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
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
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
--
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
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,
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
I've 3 front-end apache with a java webapp over a Oracle DB.There're 2 Server
application with 4 Tomcat5(2 Tomcat for machine).For example:
Tomcat1-prode --->TAP1 //*tap is the name of the machine
Tomcat1-stage --->TAP1
Tomcat2-prode --->TAP2
Tomcat2-stage --->TAP2
Tomcat work only for the JAVA
Y.W.Yang wrote:
> Tomcat works well on my pc since the first configuration. But recently, I
> can't start Tomcat through Elipse, "the ports required by tomcat are used
> by other processes, or tomcat are started in other processes". Even
> http://localhost:8080 doesn't work! I checked the port, no
Why don't you try this tutorial, which does what you want.
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0509cline/i
ndex.html
John Langan
-Original Message-
From: Jitendra Kharche [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 10:26 AM
To: Tomcat Users List
In each case it's the ROOT context, so is it appending "" where there's
no Context name/path: ie
SEVERE: Context manager doesn't exist:host1+context1
where context1=""
?
It would still seem that the name parameter supplied to the
getManagerName is carrying over it's previous value, and appendin
Hi,
Tomcat works well on my pc since the first configuration. But recently, I can't
start Tomcat through Elipse, "the ports required by tomcat are used by other
processes, or tomcat are started in other processes". Even
http://localhost:8080 doesn't work! I checked the port, no process use the
Hello
By default it's 30 minutes
You change it in the web-inf/webxml by setting the tag
3
after the mapping oy your sevlets
Jean-Claude
-Message d'origine-
De : bhavik shah [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 22 juin 2006 15:14
À : users@tomcat.apache.org
Objet : how to
Pid,
Thanks for everything!
Regards,
Bob
-Original Message-
From: Pid [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 10:31
To: Tomcat Users List
Subject: Re: pdf documents
Bob Wyatt wrote:
> Pid,
>
> Your question sent me hunting, and we were specifying no path at all, so
it
configure a logger for that Context and set swallowOutput="true" in the
context below.
the log output for the Context will have more info about why it's failing.
Deepak Gupta wrote:
> I'm using Tomcat 5.5.17.
>
> I've trawled the web for this error, but haven't found a solution so far.
>
> I b
Makes sense, can we please ask you to open up a bug for us,
http://issues.apache.org/bugzilla/
thanks
Filip
Pid wrote:
OK,
I'm probably being dense here.
(There's only 1 context in each host, the ROOT context)
If I take the Host/Context offline in one node and restart it, the logs
on that no
Bob Wyatt wrote:
> Pid,
>
> Your question sent me hunting, and we were specifying no path at all, so it
> was a relative reference. I have changed it to an absolute reference, and it
> is now working.
Great.
> Can I have multiple docBase assignments in the pdf.xml file for multiple pdf
> file so
I'm using Tomcat 5.5.17.
I've trawled the web for this error, but haven't found a solution so far.
I believe my "server.xml" which defines the context is valid XML.
I also removed all installations of Tomcat and re-installed Tomcat
5.5.17since one website said there was an issue with T
Hi,
Can anybody help me to get a working copy of a simple database
application (using DataSource) in Tomcat 5.5?
Desperately looking for your help.
Regards,
Jitendra Kharche
-
To start a new topic, e-mail: users@tomcat.apache.
Pid,
Your question sent me hunting, and we were specifying no path at all, so it
was a relative reference. I have changed it to an absolute reference, and it
is now working.
Can I have multiple docBase assignments in the pdf.xml file for multiple pdf
file sources (assuming I use different paths a
OK,
I'm probably being dense here.
(There's only 1 context in each host, the ROOT context)
If I take the Host/Context offline in one node and restart it, the logs
on that node start showing the following:
SEVERE: Context manager doesn't exist:host1
As the Context doesn't exist, which is the sa
Sorry, Tomcat users - just a correction to technical wording:
In previous,
meant:
"asymmetric " configuration of total bi-directional bandwidth
Maurice
Maurice Yarrow wrote:
Hello Tomcat users
I am using TC 5.0.28 on a machine with an AMD Athlon 3000+
(not particularly strong, by current st
I was thought Tomcat can be set up as a proxy server like Apache. But actually
not. Right?
I have Tomcat installed. How nice to have another instance running as a proxy
server?
If I cannot do this, I would rather find a nother proxy server instead of
Apache because I like everything in JAVA.
Hello Tomcat users
I am using TC 5.0.28 on a machine with an AMD Athlon 3000+
(not particularly strong, by current standards)
I use an applet for uploading, which uses
(pretty much) something like
httpsOutput = httpsUrlCon.getOutputStream();
OutputStream bos = new BufferedOutputStream( httpsOut
HI
I want to modify the time out of web app in tomcat where should i change
that?
what is the default value of time out?
thanks
bhavik
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)
to be run when a url like this is used
http://xsoftware.biz/
and I want the req.war app to be run when this url is used
http://xsoftware.biz//re
Hmm,
look at o.a.c.cluster.tcp.SimpleTcpCluster
L 626ff
private String getManagerName(String name, Manager manager) {
String clusterName = name ;
if(getContainer() instanceof Engine) {
Container context = manager.getContainer() ;
if(context != null &&
What are the error messages you are seeing during tomcat startup ? Or try
giving the log.
-Sameer
veena v <[EMAIL PROTECTED]> wrote: I have windows xp installed on my system. I
installed tomcat 4.1 and it
was working properly. But after installing oracle 9i tomcat is not working
though i have in
Hello,
I am using the JK connector version 1.2.15 with IIS 5.
When trying to load through IIS a powerpoint ppt file served by Tomcat I get
only garbage (it might be the binary displayed in the
browser).
I can see getting the HEAD through IIS that the Content-Type is not there,
while opening the
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 code of the coyote connector
and have some questions about it.
My problem is:
I am wr
Hi Jithendra,
Try with this. Some misconfiguration it seems with your resource definition.
I added auth="Container" attribute to resource "jdbc/MyDB"
Follow tomcat globle data source configuration for more details.
Regards,
Dilan
mailto:[EMAIL PROTECTED]
Sent: Thursday, J
Thanks Rémy,it works. And thanks Markus, you help me go through all the
discussion and make it work. :)
Regards,
Jeff
Markus Schönhaber wrote:
Remy Maucherat wrote:
On 6/22/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote:
I've just tried to configure a Connector which uses the
Http11BaseP
Hi all,
Is there any way to set a timeout for a request that has been already
stablished?
Currently, I can perform a DoS attack to my tomcat server just by
starting enough requests, sending a few bytes in each one, and letting
the connections open during a large time.
I was wondering if th
Leon Rosenberg-3 wrote:
>
> 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
> report