We have a Tomcat application, which binds to port 8080 and AJP 6135. At
3 am we restart this application (because of a memory leak). But
sometimes it is unable to bind to it's own port, and it just dies and
never starts. Naturally this causes unhappiness. The server.xml is:
And the
Well, it's turned out that the log messages were misleading. I wiped
out my old Apache config and re-assembled it piece by piece. I haven't
re-added everything, but mod_jk now functions properly.
Thanks,
-Chris
Chris Mayes wrote:
Sadly, no. The mapping isn't functional when it's in the
Vi
On Nov 15, 2006, at 5:12 PM, Caldarale, Charles R wrote:
I hope you're aware that 6.0 is still highly experimental - the fact
that it is downloadable has not even been officially announced.
You're
pretty much on your own with that level at the moment. That said,
there
is a 6.0.1 at the dow
It looks like the codebase attribute helped. Now I'll see what I can do from
there.
Thanks. Just don't let preliminary testing dictate what you don't try later
I guess.
Robert S. Harper
Information Access Technology, Inc.
-
To
I'm not trying to do any extra work with Swing or such. I want to keep this
as dumb as possible so I don't have to require the latest and greatest or
test in every browser. This is very minimalist. I have tried playing with
the codebase attribute in other testing and IE just got even more confused.
Turns out the issue was I had:
*
when I should have had each of the roles entered.
Whew! The things we learn by trial and error...thanks everybody who
had advice for me on this, especially here:
http://www.nabble.com/auth-constraint-in-web.xml-in-tomcat-5.5.15-
tf1054280.html#a2742541
Jo
Not to mention security permissions one must grant thru either
updates to policy files OR
running your bundled code thru SecurityManager PlugIn
http://java.sun.com/developer/technicalArticles/Security/applets/
Be mindful that this will have to work in every browser and every JVM your
client su
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harper wrote:
> Snippet of the HTML
>
> width=584>
> value='https://127.0.0.1:8443/ctimpact/servlet/CTImpact/?User=001TEST&List=C
> 001MAIN'>
>
>
You need to provide the "codebase" attribute for the tag, which
tells the browser w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Crosson wrote:
> I believe that a strategy will be more trouble than it is
> worth beacuse it seems you can't pass a regular expression, but so far I
> have not been able to nail down a Filter.
Filters are really the way to go, here, an
Snippet of the HTML
Snippet from Java Console
network: Connecting
https://localhost/ctimpact/servlet/com/iat/ctimpact/CTImpactStatisticsApplet
/class.class with proxy=DIRECT
load: class com.iat.ctimpact.CTImpactStatisticsApplet.class not found.
java.lang.ClassNotFoundException:
com.iat.ctimp
Greetings,
I am attempting to configure Tomcat (5.5.9) to disregard URL requests that
contain "../" and similar high-risk expressions. So far I have been
unsuccesful. I recognize two possibilities here:
A. Use in the web.xml to identify this URL and disregard it
B. Configure a filter that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Harper wrote:
> This has probably been covered before but I’m having a hard time getting
> an applet on a servlet generated page to load. I keep getting a
> ClassNotFound exception even though the class is in several possible
> areas fo
Where are you putting the applet class? It can't be in WEB-INF because
that isn't available to the client.
--David
Robert Harper wrote:
>The browser is. The Java console and an error box is displayed by IE when it
>tries to load the applet. I see nothing in the Tomcat logs. Either for
>security
The browser is. The Java console and an error box is displayed by IE when it
tries to load the applet. I see nothing in the Tomcat logs. Either for
security problems or not finding the class.
Robert S. Harper
Information Access Technology, Inc.
-Original Message-
From: Martin Gainty [mail
Hi Robert
Which class is throwing the ClassNotFoundException?
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby notified that you have
You could implement a filter that passes on a request wrapper. Then
just override the getContextPath() method to return "".
Eric Jain wrote:
> Is it possible to trick an application into believing that it is the
> ROOT application (i.e. getContextPath returns ""), even when it isn't?
>
> The rea
I've encountered the problem again that I described in some posts from
last month.
I had figured that the problem was resolved when I explicitly included
the jsessionid as a param with the URL. The situation was this: I have a
page that refreshes every few seconds with updates to a list of results
Is it possible to trick an application into believing that it is the ROOT
application (i.e. getContextPath returns ""), even when it isn't?
The reason for this is that managing virtual hosts with Tomcat can be a bit
cumbersome, and some management applications won't work in such a setup.
The
Thanks.
Do you know if it's actively supported?
I submitted a bug report 2 months ago (maybe in the worng place) and got
no feedback.
http://issues.apache.org/jira/browse/DAEMON-86
I also would like to submit an enhancement request to be able to set the
processor affinity mask from the procru
This has probably been covered before but I'm having a hard time getting an
applet on a servlet generated page to load. I keep getting a ClassNotFound
exception even though the class is in several possible areas for it to load.
It is a package that is like com.company.service.MyApplet.class. If Tom
Marziou, Gael wrote:
Hello,
Tomcat5.exe from 5.5.20 is half the size of 5.5.17 but I can't find any
change mentioned in Tomcat's change log page.
Is there a place to find out what has changed?
There is no change.
The latest build used dynamically linked MSVCRT,
while the previous was having
i would say you have to check your encoding through all layers.
Default encoding in java is latin1 (iso-8589-1). You should rely on
cp-1251. Utf-8 could also do the job, but I'm not sure about it :-)
regards
Leon
On 11/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Good day,
my name is Pl
On Thu, Nov 16, 2006 at 05:03:29PM +0100, Rainer Jung wrote:
> It's not the right list to discuss, but:
> As a user I would expect configuration info for load-balancing with
> mod_proxy_balancer on the mod_proxy_balancer page.
> The fact, that all configurations for the proxy balancer are done b
Thanks for the help. I will try Mladen's suggestion over the weekend and
post the outcome then.
On 11/16/06, Rainer Jung <[EMAIL PROTECTED]> wrote:
Ah sorry, I didn't notice Mladen's changes when I wrote my answer a
minute ago. So yes, could you please try with his patch (build
1.2.20-dev) and
Hi Jim,
It's not the right list to discuss, but:
As a user I would expect configuration info for load-balancing with
mod_proxy_balancer on the mod_proxy_balancer page.
The fact, that all configurations for the proxy balancer are done by
attributes, and the only full size apache directives co
On Thu, Nov 16, 2006 at 03:13:48PM +0100, Rainer Jung wrote:
> I didn't want to shoot at you, and yes, mod_jk documentation could be
> much better.
> Concerning the docs: Documentation contribution will be welcome. We try
> to add all new things in there, but parts of the documentation are
> i
On Nov 15, 2006, at 5:42 PM, Caldarale, Charles R wrote:
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Subject: Re: Apache 2.2.3 Tomcat 5.5.20 - mod_jk or proxy?
If you want to use mod_proxy, it is important to know, that most
documentation for mod_proxy_balancer is contained in apaches
document
Henk Fictorie wrote:
The problem reproduces itself automagically, but not at the moment I
want.
Well ...
I think I will snoop the traffic with Tomcat during one hour or so (appr. 1
Gig of data, on a different filesystem). Using editcap to divide the
capturefile in reasonable sized parts.
Hello,
Tomcat5.exe from 5.5.20 is half the size of 5.5.17 but I can't find any
change mentioned in Tomcat's change log page.
Is there a place to find out what has changed?
Thanks,
Gael
-
To start a new topic, e-mail: users@tom
On Nov 16, 2006, at 9:13 AM, Rainer Jung wrote:
Hi Michael,
I didn't want to shoot at you, and yes, mod_jk documentation could
be much better.
Assuming it's up to date :)
-
To start a new topic, e-mail: users@tomcat.ap
The problem reproduces itself automagically, but not at the moment I
want.
I think I will snoop the traffic with Tomcat during one hour or so (appr. 1
Gig of data, on a different filesystem). Using editcap to divide the
capturefile in reasonable sized parts. Examining the logfile will reveal a
Apache 1.3 get request and map it to local system, and when
with "required" is hit, it denies access and will not even try to
forward to mod_jk.
In Apache 2.0 it first try to forward using mod_jk and then if no
JKmount fits it checks
In both situations it firsts checks so always work.
So s
Hello,
I know that the default behavior of Tomcat is to print all error messages /
exception stacktraces to stdout, for me this is to catalina.out.
In some cases the exception stacktrace is printed to catalina.out, but there
are errors where the stacktrace without the root cause is printed only t
I am not saying this is 100% correct, or the best documentation ever
but I wrote a small install guide for Apache 2.2 and Tomcat 5.5 with
mod_jk. I used the same steps on a RH7.3 box and a Slackware 10.2 box.
http://www.crankhouse.com/howto.php?f=modjk
On 11/16/06, Christopher Schultz <[EMAIL PR
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
[EMAIL PROTECTED] wrote:
> All I can say is that I googled around extensively, trying to learn
> how to set up Tomcat 5.5 with Apache 2.2 as the front end, and found
> many sites saying to stay away from mod_jk, along with mailing list
> mess
Hi Michael,
I didn't want to shoot at you, and yes, mod_jk documentation could be
much better.
Concerning the docs: Documentation contribution will be welcome. We try
to add all new things in there, but parts of the documentation are
indeed rudimentary.
Concerning Apache 2.2: There is no k
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marx,
Marx wrote:
> One more information, everything works ok if I use directive ,
> bu I want to be more secure and I want to use
> Marx
This isn't going to work for you. You can't rely on Apache httpd's
protections to protect directories what Tom
Hi Marx,
I didn't go into the details, but I find it normal, that Directory
directives don't apply to mod_jk. The module simply forwards URLs and
not requests mapped to a file system. So using it together with Location
seems natural to me (and you can argue, if this is more secure or less
tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robbert wrote:
> Christopher Schultz-2 wrote:
>> Whether or not you use struts, I highly recommend that you avoid tricks
>> like calling a servlet from a JSP in order to execute your business
>> logic. If you have a waterfall-style logical flo
On Wed, Nov 15, 2006 at 11:25:20PM +0100, Rainer Jung wrote:
> [EMAIL PROTECTED] schrieb:
> > On Wed, Nov 15, 2006 at 12:22:02AM +0100, Lars Nielsen Lind wrote:
>
> > Everything I have read says that mod_jk will not work with 2.2. What
> > little information is available says use the proxy modul
Hello,
I'm working for an University. Our workstations are unmarked so each
student is able to work on every workstations. But we must save students
data on their home directoy wich is a network drive mounted on a Windows
sharing.
They' ll use Tomcat 5.5.20 so we must configure this software
Good day,
my name is Plamen Ivanov and i am looking for solution regarding my =
problem. I user Apache Tomcat 5.5.12 and MySQL database. When i am =
submitting forms with cyrillic characters in the fields i receive =
records in the database like "??". Can you tell me what =
configuraiton i
Good day,
my name is Plamen Ivanov and i am looking for solution regarding my =
problem. I user Apache Tomcat 5.5.12 and MySQL database. When i am =
submitting forms with cyrillic characters in the fields i receive =
records in the database like "??". Can you tell me what =
configuraiton i
One more information, everything works ok if I use directive ,
bu I want to be more secure and I want to use
Marx
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello
I configured Tomcat5,Apache2,mod_ssl and mod_jk.
I use certification, but I want some of directiories not tu require
certificate.
Choosing which directories needs cetrtificate is configured via
SSLVerifyClient none
SSLVerifyClient require
SSLVerifyDepth 2
It works ok with A
General diagnostics:
1. The bean class has to be in a package
2. The bean has to be declared public
3. The bean has to have a default, public, no-arguement constructor.
--David
Lijin wrote:
>Please help me in the following problem occuring in my project.
>One of our project is running currect
Sadly, no. The mapping isn't functional when it's in the VirtualHost.
It works outside of the VH definition, but that's obviously not where I
want it :-) I'll try to provide more details when I get home.
Thanks,
-Chris
Rainer Jung wrote:
Hi,
I tried to reproduce. It looks like the mappin
Hello All,
I have a requirement to start and stop the Tomcat server through a perl
script on Windows platform.
I know that I can use the command "net START \"Apache Tomcat\" " to
start the Tomcat server and similarly the command "net STOP \"Apache
Tomcat\" " to stop the Tomcat server through the
Please help me in the following problem occuring in my project.
One of our project is running currectly in the Tomcat 4 version with one old
version of Jasper report. Now we our requirment is that, we have to trasfer
it to new Tomcat 5 environment. But when we transfer this into the new
Tomcat ve
Please help me in the following problem occuring in my project.
One of our project is running currectly in the Tomcat 4 version with one old
version of Jasper report. Now we our requirment is that, we have to trasfer
it to new Tomcat 5 environment. But when we transfer this into the new
Tomcat ver
Raffaele Viola wrote:
> when I try to start Tomcat in the catalina.out I can find these lines
>
> 16-Nov-2006 10:07:34
> org.apache.catalina.core.AprLifecycleListenerlifecycleEvent INFO: The
> Apache Tomcat Native library which allows optimal performance in production
> environments was not found o
Tomcat doesn't track DST begin and end. That's taken care of in the JRE
or JVM. Take a look at you Java vendor's website (Sun or IBM) for support.
--David
Ranendra N Ghoshal wrote:
Hello:
As you are aware Beginning in 2007, DST will start the second Sunday of
March and end on the first Sund
You can't split a webapp into protected and not protected with the
valve. It's all or nothing. You'd be better off implementing a filter
in your webapp that pay's attention to request.getRemoteAddr() and
either chains the request or redirects to an error page.
--David
Peter Neu wrote:
I ju
Hi all,
when I try to start Tomcat in the catalina.out I can find these lines
16-Nov-2006 10:07:34 org.apache.catalina.core.AprLifecycleListenerlifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path
Hi,
I tried to reproduce. It looks like the mapping actually works, but the
logger is not correctly initialized for the virtual server.
Could you please confirm, that the mappings you enter to the virtual
servers work, and the problem is only the misleading log lines?
Regards,
Rainer
Chris May
Ah sorry, I didn't notice Mladen's changes when I wrote my answer a
minute ago. So yes, could you please try with his patch (build
1.2.20-dev) and try again and if the problem persists, open a bugzilla
as described.
Mladen Turk schrieb:
> Gilberto E. Espinoza wrote:
>>
>> I changed the file tonigh
No way to look at the modification time inside mod_jk. The module will
log the followinf when loading the file during request processing:
Log-Level info: Reloaded urimaps from FILENAME
And a little later one can see the usual request mapping (Log-Level debug):
Attempting to map URI 'REQUE
HI all,
at Tocat startup I get this error:
INFO: Deploying web application archive CMM_EU.war
- IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
Can someone help me?
Thanks
Raffo
Hello,
Here is my situation: I have audio files that are not named "foo.wav"
but "foo". As a consequence, Tomcat does not define a content-type for
these files as "audio/x-wav" since they are not matching with the
extension ".wav". Finally, they are not correctly interpreted by the
client.
I
I get this err msg when I am starting tomcat 5.5.20:
2006-11-16 09:22:02 org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet CewolfServlet as unavailable
2006-11-16 09:22:02 org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
delegate: false
Solved with mod_jk without JNI, and thanks for all the tips.
In my /etc/hosts there was this line:
::1 localhost.localdomain localhost
And I added this line:
127.0.0.1 localhost.localdomain localhost
and now I can ping localhost.
Christopher Schultz skrev:
-BEGIN PGP SIGNED M
We are using tomcat 5.0.28 with jdk1.4.2_13 on redhat rhsl9. We
configured the context with an JDBCRealm on a Oracle9i database
From time to time we get the following error on the logfile.
2006-11-16 08:13:43 JDBCRealm[/GRIP]: Exception performing authentication
java.sql.SQLException: Io exce
62 matches
Mail list logo