Steve R Burrus ha scritto:
I need some pretty immediate help/assistance with always getting a
NullPointerException Java exception when I try to view a particular
image in my favorite web browser!!! The line of text in my servlet file
which is, I think, problemmatic is a while loop. Well here is
Is the while... line number 19? If so make atest that is != null before you
continue.
Regards
Nils-Olov Fransson
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
I need some pretty immediate help/assistance with always getting a
NullPointerException Java exception when I try to view a particular
image in my favorite web browser!!! The line of text in my servlet file
which is, I think, problemmatic is a while loop. Well here is my entire
servlet file for
I am using both the RequestDumperValve and LiveHTTpHeaders plus other tools
to monitor the request. I know that I am am missing request parameters
intermittently. I was able to monitor also that am getting an extra call to
get/post - which shouldn't.
Mark Thomas-11 wrote:
>
> rache wrote:
>> T
Dear Martin,
I am not sure where that would be. I found that bug more than a year ago
when trying to run an axis client inside an applet. Dims fixed it and
somehow the fix is included in commons jar file included with the Axis
release since the version 1.3, allowing Axis to work inside applets
One people in IRC tell me about SSO + Clustering, do you know if this
is possible?
Sorry I don't have a firsthand experience but I wonder if clustering and
SSO are two orthogonal issues... except for scalability ... I found a
somewhat rlevant discussion.
http://tp.its.yale.edu/pipermail/cas/
Hello,
I'm going to assume that you want server authN to function between the two
machines, in which case you should exchange the certificates between IIS and
Tomcat. These certificates that you exchange between IIS and Tomcat will
ofcourse be the certificates that you export from the keypairs in
rache wrote:
> This is also related to the missing request parameters thread. After
> looking on the logs, it seems like the browser is calling an extra
> get/post call after a redirect. This would cause my application to get a url
> without any request parameters.
>
> What may cause the browse
Shankar Unni wrote:
Raju Balugu wrote:
So,On which basis it will load that?(For example Alphabetical ..etc)
What MarkT said.
Tomcat will load the webapps in whatever order it gets them from
File.listFiles() (which is *not* guaranteed alphabetical!), and then
during shutdown, it unloads t
Concerning the questions on Realm ...
I think if you re-read the section
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JDBCRealm you will
find the answer.
The names of the tables are not important, they can be specified using the
XML attributes userTable and userRoleTable on the Real e
Dims and Luigi--
I ran into this bug today and applied dims fix of Aug 2005 to all affected
source files to fix and rebuilt the jar..
I have a strange feeling that we should be submitting this patch to someone
higher up on the food chain (but I dont know who that is?)
Thanks,
Martin --
Raju Balugu wrote:
So,On which basis it will load that?(For example Alphabetical ..etc)
What MarkT said.
Tomcat will load the webapps in whatever order it gets them from
File.listFiles() (which is *not* guaranteed alphabetical!), and then
during shutdown, it unloads them in some internal ha
The servlet spec would offer a world of insight into the proper places
of files. But let's take all this one step at a time. My comments are
intermixed.
David Salisbury wrote:
I'm not sure if I have a tomcat configuration problem or some other problem.
I'm try to get Oracle's XSQLServer
a
I would think SSL/HTTPS on the Tomcat server, unless it's running at port 80,
too.
-Original Message-
From: TomcatED [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 3:06 PM
To: users@tomcat.apache.org
Subject: SSL - IIS OR both IIS/Tomcat
Hello Everyone,
I'm looking for some S
What is the best? JOSSO or CAS? Anyone has experimented them?
Thanks in advance
Paulo
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I'm not sure if I have a tomcat configuration problem or some other problem.
I'm try to get Oracle's XSQLServer
application up and working under tomcat... but something's amiss. In trying to
get a proof of concept going, I'm
installing under servlets-examples under the tomcat installation direc
Thank you Ben!
One people in IRC tell me about SSO + Clustering, do you know if this
is possible?
On 8/29/06, Ben K. <[EMAIL PROTECTED]> wrote:
> I have two distincts applications in different machines, both using
> Tomcat 5.5.x. I want to make a single sign-on. Is it possible? What is
> the be
Hello Everyone,
I'm looking for some SSL guidance.
I have IIS 6.0 and Tomcat 5.5.17 setup on 2 seperate Windows 2003 servers.
Currently I have IIS setup with an SSL certificate.
Should I expect IIS to handle ALL HTTPS requests or should I ALSO setup
SSL/HTTPS for Tomcat on the seperate server?
Hi,
I have two distincts applications in different machines, both using
Tomcat 5.5.x. I want to make a single sign-on. Is it possible? What is
the best approach?
Thanks in advance
Paulo
-
To start a new topic, e-mail: users@tomc
From: "Steve Ochani" <[EMAIL PROTECTED]>
To: Jim Weir <[EMAIL PROTECTED]>, Tomcat Users List
Subject: Re: Using tomcat auto configure
Date: Tue, 29 Aug 2006 14:02:58 -0400
On 29 Aug 2006 at 13:20, Jim Weir wrote:
> Tomcat 5.5.14
> Apache 2.2.3
> JK-1.2.18 released compiled from source
On 8/29/06, David Smith <[EMAIL PROTECTED]> wrote:
I know this is a later response, but better late than never.
Strictly and technically speaking, your Kerberos JAAS realm is weakening
the the intense security offered by kerberos.
... and whatever you do, DO NOT turn the debug level up above
Not that I know of.
--David
HORSTMAN, MARK A (SBCSI) wrote:
Assuming Apache HTTPD is compiled with SSL support, does the mod_jk/ajp
connection between Apache mod_jk and the Tomcat AJP connector support
encryption without employing an 'external' tool like stunnel?
Mark Horstman
Chances are, no. The message you site is only and INFO level log
event. Tomcat is continuing using it's standard Coyote connectors.
Send us some details of the failure and we might be able to help.
--David
Marcos Glas wrote:
When starting Apache Tomcat I receive the following info: *"INFO:
I know this is a later response, but better late than never.
Strictly and technically speaking, your Kerberos JAAS realm is weakening
the the intense security offered by kerberos.
Depending on the real risk of a username and password release, this may
be acceptable if the exchange only happen
Assuming Apache HTTPD is compiled with SSL support, does the mod_jk/ajp
connection between Apache mod_jk and the Tomcat AJP connector support
encryption without employing an 'external' tool like stunnel?
Mark Horstman
-
To star
This is also related to the missing request parameters thread. After
looking on the logs, it seems like the browser is calling an extra
get/post call after a redirect. This would cause my application to get a url
without any request parameters.
What may cause the browser to send this extra cal
When starting Apache Tomcat I receive the following info: *"INFO: The Apache
Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path"*.
Then when using a deployed application, it fails.
Do you think that the message and the later fai
On 29 Aug 2006 at 13:20, Jim Weir wrote:
> Tomcat 5.5.14
> Apache 2.2.3
> JK-1.2.18 released compiled from source
>
> This is the latest server.xml setting I tried,
>
>
> configHome = "/usr/opt/tomcat/conf/"
> jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
>
From: "Bill Barker" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: users@tomcat.apache.org
Subject: Re: Using tomcat auto configure
Date: Mon, 28 Aug 2006 19:54:01 -0700
Tomcat version? Older versions didn't support ApacheConfig under Engine.
"Jim Weir" <[EMAIL PROTECTED]> wrote in mess
Hi Jose,
Are you using Java 5.x(1.5.x) ? If so, you can watch your JVM's runtime
behavior using the JConsole( in the JAVA_HOME/bin directory) ? It has helped
me earlier on to debug OOM situations.
You need to restart your tomcat so that you can add the required parameters
in your startup.bat/
> From: Robert Harper [mailto:[EMAIL PROTECTED]
> I've seen the memory rise and fall so if the GC releases
> memory, it should be returned to the OS.
... at some point, assuming the GC is capable of compacting the heap to
give an entirely free block of memory that can be returned to the OS,
and
I've seen the memory rise and fall so if the GC releases memory, it should
be returned to the OS. It would be my guess that you may not be handling
removing all references to an object the way you think you are. You can test
this out by adding a log in the finalize() method of your object and see i
José,
> Looking Windows Task
> Manager I perceived the natural memory increase.
>
> I noticed that when I
> call my logout method (It calls session.invalidate()) or my user session
> expieres the memory is still in use, in other words, the memory is not
> cleaned.
Windows only reports the size of
I don't now a guide and I'm not using Maven. You may try
1st way:
Preferences - Server - Installed Runtimes - Add ...
project node - right click - Debug On Server
Every time a file changes, Tomcat reloads the app.
Temporary location of deployed files is
...\workspace\.metadata\.plugins\org.ecl
Anybody know of a good guide to using WTP to deploy to tomcat?
I'm current replacing my ant scripts with maven and have lost the ability to do
a "file deploy", i.e. just jsps and not entire war file.
-
To start a new topic, e-
Hello, I am with a big problem! I have two applications and I want to
use Single Sign-ON... What is the best approach?
Is it possible? Share session with clustering?
Is it possible clustering two differente applications in 2 different machines?
Thanks in advance
Paulo
--
I have IIS 6.0 and Tomcat 5.5.17 on separate servers.
When using the keystore to import a certificate on the Tomcat server, do I:
1. Import the SSL cert that exists on the separate web server?
OR
2. Import a server certificate created specifically for the Tomcat server?
OR
3. or…???
--
From: "Bill Barker" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: users@tomcat.apache.org
Subject: Re: Using tomcat auto configure
Date: Mon, 28 Aug 2006 19:54:01 -0700
Tomcat version? Older versions didn't support ApacheConfig under Engine.
"Jim Weir" <[EMAIL PROTECTED]> wrote in mess
Good Morning Luis and Dims-
I am following up on a nasty bug (which I am experiencing) which Luis reported
and dims fixed Aug 2005 in commons-discovery
Here is the link
http://svn.apache.org/viewvc/jakarta/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK12Hooks.java?
Is there anything more about this (ProtocolHandler, Adapter, etc...), other
than the (very poor) javadocs, or is the only option is looking in the code?
That did it.
Thank you so much.
David Smith wrote:
Yes... in 4.1, the context definition is supposed to be in
$CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF.
Santosh Puranshettiwar wrote:
Any ideas?
Santosh Puranshettiwar wrote:
Here is my config file: -
type="javax.sql
In windows, I am able to see all output on console. It must be the case
in Linux where the output goes in logs/catalina.out.
Mark Thomas wrote:
Santosh Puranshettiwar wrote:
Any ideas?
The above lines are in a file named mcs.xml inside webapps/mcs/WEB-INF
But still t
on a multihomed machine, you might only want to bind your multicast
socket to one interface, hence you use the bind address
Filip
Patrick Wang wrote:
Hi,
I am currently setting up 2 linux server and enabled the clustering and
multicast for these 2 servers.
I verified using the cat /p
Yes... in 4.1, the context definition is supposed to be in
$CATALINA_HOME/conf/server.xml, not on it's own under WEB-INF.
Santosh Puranshettiwar wrote:
Any ideas?
Santosh Puranshettiwar wrote:
Here is my config file: -
type="javax.sql.DataSource"/>
Hi everyone,
I'm trying to install and configure Apache 2.048 and Tomcat4.1.29 in
order to Install ArcIMS.
After installation in order to configure the two I downloaded two files.
A module mod_ssl.so and copied it to my apache2/module directory
A config file workers2.properties and co
Santosh Puranshettiwar wrote:
> Any ideas?
>>
>>
>> The above lines are in a file named mcs.xml inside webapps/mcs/WEB-INF
>>
>> But still the RequestDumperValue does not print anything on the console.
>From the docs:
Standard Output Logger (org.apache.catalina.logger.SystemOutLogger)
The St
Any ideas?
Santosh Puranshettiwar wrote:
Here is my config file: -
factory
org.apache.commons.dbcp.BasicDataSourceFactory
url
jdbc:mysql:/
Andrés González wrote:
> Mmmm... i've been "investigating".
>
> I think what you say iw the reason for
> jvm-max-memory != jvm-total-memory
>
> The reason of "free memory" being != "max-memory - total-memory" i
> think is that "free memory" does not mean "size of aditional memory
> that can be
On 8/29/06, Mark Thomas <[EMAIL PROTECTED]> wrote:
Andrés González wrote:
> Hi.
>
> I'm searching a way to understand every detail of the manager/status
> page. I've tried the doc, the source code... but can't answer
> something like:
>
> - why is jvm-free-memory != jvm-max-memory - jvm-total-mem
Tanks for your reply.
You are quite right, there must be better ways to do this than the
approach that I've
been following. But the application evolved from running on a single
computer to a cluster, and
things was not so straight forward as I thought getting a application in
a cluster
So
Andrés González wrote:
> Hi.
>
> I'm searching a way to understand every detail of the manager/status
> page. I've tried the doc, the source code... but can't answer
> something like:
>
> - why is jvm-free-memory != jvm-max-memory - jvm-total-memory
Because the initial memory java requests (-Xms
OK.
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/RequestInfo.java
Provides the description of "erroCount":
(...)
// number of response codes >= 400
private int errorCount;
(...)
On 8/29/06, Andrés González <[EMAIL PROTECTED]> wrote:
Hi.
I'm searching a way to understan
Hi.
I'm searching a way to understand every detail of the manager/status
page. I've tried the doc, the source code... but can't answer
something like:
- why is jvm-free-memory != jvm-max-memory - jvm-total-memory
- what does requestInfo -> errorCount mean
etc.
the manager webapp source code di
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
What do you get in your ISAPI logs ?
you can browse down to the registry entrie with regedit, and review the
paths, etc. one thing comes to mind, that is that the directories
pointed at (for example the log file directory) must have been made on
b
Il giorno lun, 28/08/2006 alle 20.40 +0200, Markus Schönhaber ha
scritto:
> Andrea Bondi wrote:
> > The problem is that when I submit a form, accented letters I insert into
> > text fields aren't managed well. For example, if I have a form field
> > named "saySomething", if I write into the field "
> From: gurusamy.senthil [mailto:[EMAIL PROTECTED]
> I am trying to learn some web technologies and I
> choosen Tomcat with jsp/servlet to develop small application.
If you're learning a new technology for your own interest, Java plus
J2EE is considerably smaller than .Net Framework (although the
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Leon is correct...IIS -- without help from something like
> Tomcat -- cannot host web apps in Java, only ASP (or in
> Win2003 and above, ASP.NET).
Just so as not to spread misinformation: IIS5 (in Windows 2000) can
quite happily handle ASP.Net
Is there anything more about this, other than the (very poor) javadocs, or is
the only option is looking in the code?
"Viraj Turakhia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
> I am starting to work with Tomcat's code and have no clue where to start
> from.
> Any po
Hey Bill,
Thanks alot for this help of yours.
I will get back to you if I face problems in it. :)
Viraj K. Turakhia
On 8/29/06, Bill Barker <[EMAIL PROTECTED]> wrote:
"Viraj Turakhia" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
> I am starting to work with Tomcat's
Can ethereal be executed without a screen? (automated "on the server" sniffing).
I use tcpdump for that matter. If you are using https you may also try ssldump.
On 8/29/06, Santosh Puranshettiwar <[EMAIL PROTECTED]> wrote:
A sniffer may help in that matter.
I used Ethreal. Its a pain to use it
Thank you all for helping, I found the issue was related to SELinux, which
simply needs to be disabled or altered (I just disabled it - and everything
started to work)
--
Eugene N Dzhurinsky
-
To start a new topic, e-mail: users
Here is my config file: -
factory
org.apache.commons.dbcp.BasicDataSourceFactory
url
jdbc:mysql://localhost/mirage?useUnicode=true&characte
62 matches
Mail list logo