From the API docs
public class NoSuchElementException
extends RuntimeException
Thrown by the nextElement method of an Enumeration to indicate that
there are no more elements in the enumeration.
The line number in the trace is from the generated code and bears no
relation to line numbers in
Experts,
I have test with success loadbalancing with tomcat, my config was:
1 apache to serve static pages
2 TC with two webapp folders
my webapp use struts 1.0.2...
this configuration works fine
Now I want to use only one webapp folder. The problem is that I want to
use two different
Or of course you could be using a Vector ... or something else that
extends AbstractList and a call to (Iterator).next() is causing the
problem.
Too many late nights.
Rgds
Duncan
On 7/18/07, Lyallex [EMAIL PROTECTED] wrote:
From the API docs
public class NoSuchElementException
extends
Thanks for your link but it deals about webapp deployment. I do not have any
deployment problem. It's about catalina.out.
Stéphane
P.S. Leon, Sorry I didn't see your PS. Thanks for your proposal but I'm not
able to give the access of our server.
-Message d'origine-
De : Timothy Wonil
well, again, go to
http://tomcat.apache.org/download-55.cgi
and download a working binary copy :-)
regards
Leon
On 7/18/07, Stéphane Hanser [EMAIL PROTECTED] wrote:
Thanks for your link but it deals about webapp deployment. I do not have any
deployment problem. It's about catalina.out.
Hi all,
I have one question regarding running Apache HTTP Server to run/serve
Servlets as well as PHP content. I have installed the following:
1. Apache 2.2.4 (Win32) HTTP Server
2. Apache-Tomcat 6.0.13 Servlet container and
3. PHP 5.2.3
I have configured Apache HTTP Server to load PHP
Hi,
When sending requests to Tomcat during the startup phase, I got a NPE in
the AprEndpoint run method, line 1495:
getPoller().add(socket);
This can happen because in the start method, the pollers are initialized
after the acceptor threads already have been started so that the
getPoller()
Dear Users,
I have been fighting with it for good few weeks now and I cannot manage to
make it work myself so any help would be appreciated.
With the below setup, only www.domain1.com works fine by HTTPS. I can reach
the content of the others by HTTP but HTTPS is giving me 404 for all of
them.
On 7/10/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Artur Rataj [mailto:[EMAIL PROTECTED]
Subject: Re: Context.xml error
I have a web app that has servlets on /library/*, and want tomcat to
also display some directory listing under /files or something like
that.
Directory
Hi Martin,
As far as I can tell everything is ok in your setup - I tried to replicate the
error you get without success.
You might want to check the IIS logs, the file permissions on the isapi dll,
check if the /jakarta alias on IIS has execute
permissions, try to set it as a global filter..
I'm Trying to connect a JSP tomcat-based application to Oracle using
OracleConnectionPoolDataSource and related classes. I have used
javax.sql.DataSource an it did work fine. I have made changes I need for
using that classes and when I get the DataSource it throws exception
From: Artur Rataj [mailto:[EMAIL PROTECTED]
Subject: Re: Context.xml error
But is not url-pattern defining the page address, and not a
listed directory?
The DefaultServlet - the one that produces directory listings - treats
the URI path as a webapp subdirectory.
Also, would not the page
From: Julio J. Suárez Salinero [mailto:[EMAIL PROTECTED]
Subject: OracleConnectionPoolDataSource
I'm Trying to connect a JSP tomcat-based application to Oracle using
OracleConnectionPoolDataSource and related classes.
Don't suppose you'd be interested in telling us the version of Tomcat
Hi all,
I'm using the HTTP connector and am having a few issues delivering
PDF's from Tomcat 4.1 and was wondering if anyone could shed any
light.
The problem:
When requesting a PDF about 1.3MB in size, on the local LAN bypassing
the reverse proxy, it works fine, however when using wget to
Munna Dee escribío:
Hi all,
I have one question regarding running Apache HTTP Server to run/serve
Servlets as well as PHP content. I have installed the following:
1. Apache 2.2.4 (Win32) HTTP Server
2. Apache-Tomcat 6.0.13 Servlet container and
3. PHP 5.2.3
I have configured
Hi,
There is error in driverClassName.
Try use this:
driverClassName=oracle.jdbc.driver.OracleDriver
Zdenek
On 7/18/07, Julio J. Suárez Salinero [EMAIL PROTECTED] wrote:
I'm Trying to connect a JSP tomcat-based application to Oracle using
OracleConnectionPoolDataSource and related classes. I
Hello,
Trying to check serialization of our web application under tomcat, i get
the exception below. Basically, catalina is trying to use a
webappclassloader for it's logging purpose. Can somebody explain me how
this can happen? I suspect a bad interaction between logging facilities
in tomcat and
Zdeněk Vráblík escribió:
Hi,
There is error in driverClassName.
Try use this:
driverClassName=oracle.jdbc.driver.OracleDriver
Thanks, but I already have tested that with the same results.
Zdenek
On 7/18/07, Julio J. Suárez Salinero [EMAIL PROTECTED] wrote:
I'm Trying to connect a JSP
Caldarale, Charles R escribió:
From: Julio J. Suárez Salinero [mailto:[EMAIL PROTECTED]
Subject: OracleConnectionPoolDataSource
I'm Trying to connect a JSP tomcat-based application to Oracle using
OracleConnectionPoolDataSource and related classes.
Don't suppose you'd be interested in
Hey everyone,
I'm not sure if I'm in the right place to ask about JSPs but I'm using the
tomcat 5.5.27 container and i cannot access my webapp on it. ( described
below)
I'm trying to create a simple login webapp which has a html form -
loginForm.html, a servlet called LoginApp, and a jsp file
Hi guys,
the following sympomps:
We have 2 Apache HTTPD-instances (SSL) behind a CISCO-loadbalancer,
the HTTPDs serving static content, dynamic content (servlets) are
served by 2 Tomcat instances (5.5).
HTTPD and Tomcat are linked via mod_jk 1.2.19
I've specified a session-timeout of 240 (8
More info:
Sorry i forgot to mention that on the first webapp ,the hello world one, i
had no jsp pages,just a form and servlet. Maybe I'm going about creating the
login app in the completely wrong way..
Hope someone c an help...
thanks,
Pinky
pinky88 wrote:
Hey everyone,
I'm not sure if
Gregor Schneider wrote:
I've defined the SingleSignLogonValve in
$catalina_home/conf/server.xml as specified below:
I don't use SingleSignLogon often, but once I did I noticed, that there
were at least two session cookies set. It looked like a typical session
for application, and other
Hello,
A few days ago, Tomcat (5.5.20 on linux) suddenly refused to initialize one
of my webapps,
claiming that a HttpSessionListener that I have implemented has 'unresolved
compilation
problems':
2007-07-18 15:39:15,496 ERROR - StandardContext - Error configuring
application
listener of
Hi All
This may be a trivial issue for most, but I am quite new to tomcat.
I am trying to configure SSL, These are the steps I took:
- I have created a key/value pair using the keytool in suns jdk no
problem there
- I have configured the http connector in tomcats server.xml like this:
Hi Mikolaj,
the 2 cookies you're talking about are
JSessionID
and
JSessionIDSSO
However, JSessionID is sent for encrypted sessions only (https),
JSessionIDSSO for any type of connection.
The request-headers do show, for each request only JSessionIDSSO is
passed together with the response,
In fact I found why I don't have any catalina.out file. In my install, all
the logs go in /var/log/syslog
With the logs, I was able to find a non ending loop. I just need to try it
now ;)
Thanks all
Stéphane
-Message d'origine-
De : Leon Rosenberg [mailto:[EMAIL PROTECTED]
Envoyé :
This is the right forum for this problem.
Some simple things to look at.
What is in the Tomcat logs? Always a good place to start.
What do you see on the Tomcat status page localhost:8080 and click
Status then List Applications?
Somebody found something that they didn't like and Tomcat is
Urvish,
Urvish Shah wrote:
In our application we are using Tomcat 5.5.9. Our tomcat session time
out is 30 minutes
We have one bottom html frame in our web page which automatically
gets refreshed every 10 seconds to poll some event notifications
after user logs in.
Hmm, that could be a
Hi Friends,
I am trying to make an installer for a small Tomcat web application and so
i am planning to include Tomcat in the cd itself. I have read the license
agreement for both Tomcat and JRE and I guess I can do that as long as I
distribute the appropriate license files.I have two doubts:
Is this static content or served by a custom servlet?
If you can set the content-length of the response it shouldn't use chunked
encoding.
Ronald.
PS: I'm not a Tomcat developer, so I could be wrong about this.
On Wed Jul 18 14:45:42 CEST 2007 Tomcat Users List users@tomcat.apache.org
wrote:
Broken,
broken connection wrote:
I have read the license
agreement for both Tomcat and JRE and I guess I can do that as long as I
distribute the appropriate license files.
You might want to re-read the JRE license agreement. It used to be that
you needed to force your users to separately
Thanks Chris,
But if I make the users run the JRE installer and install it anywhere they
want to.then how would the Tomcat silent install locate the JRE. The
whole purpose of why I was suggesting to include JRE inside Tomcat was to
resolve this path issue to JRE.
The end-users of the app
Hello i am trying to integrate shibboleth(shibboleth.internet2.edu) as
a tomcat application.
i am using central authentication
service(http://www.ja-sig.org/products/cas/) as my authentication
system.
when i try to accesses a protected directory by shibboleth, it
redirects me to the cas for
Hi!
Using Tomcat 5.5 with environment setting in context (in server.xml) the
auto(live)deploy doesn't work anymore (noting happens when touching the war
in webapps). If I remove the context from the host tag in server.xml it works
again.
Host appBase=webapps
name=localhost
Thanks Chris,
But if I make the users run the JRE installer and install it anywhere
they want to.then how would the Tomcat silent install locate the
JRE.
I don't know the details about the installer you are making but if you can
access the registry
then have the installer look in this
looks like a proxy error.
-Original Message-
From: christopher pax [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 11:05 AM
To: users@tomcat.apache.org
Subject: Fwd: unable to find valid certification path to requested
target
Hello i am trying to integrate
Caldarale, Charles R wrote:
Any chance you're running out of heap space or some other resource
(e.g., file handles)?
Memory usage is normal as far as I can see and increasing the memory
available to the JVM
from -Xmx512M to -Xmx1024M doesn't help. No files are created/written and
the
Thanks Steve,
My installer is totally ant-based and it does not have the capability to
search the registry and locate the entries...instead if you could tell me
which location in the Tomcat points to this JRE, I could over-write that
value instead...i think that would be much easier.
If I am not
From: broken connection [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat and JRE redistribution
If I am not wrong, it use to be in catalina.bat but Tomcat6
does not ships that file anymore...
The .bat files are in the .zip download, not the .exe.
- Chuck
THIS COMMUNICATION MAY CONTAIN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Broken,
broken connection wrote:
My installer is totally ant-based
Heh. How are you running ant if you don't know where the JRE is located?
I'm guessing that the JRE is already on the PATH so you might be
good-to-go already.
and it does not have
pinky88 wrote:
[...]
applicationWebConfig
SEVERE: Parse error in application web.xml file at
jndi:/localhost/LoginApp-1.0-SNAPSHOT/WEB-INF/web.xml
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
[...]
applicationWebConfig
SEVERE: Occurred
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balázs,
[EMAIL PROTECTED] wrote:
Using Tomcat 5.5 with environment setting in context (in server.xml) the
auto(live)deploy doesn't work anymore (noting happens when touching the war
in webapps). If I remove the context from the host tag in
SEVERE: Parse error in application web.xml file at
that's your error, meaning you have an error in your web.xml
if that's the one you posted previously:
you missed the entry
/web-app
at the end.
if you're using the standard-realm, you can lookup your passwords at
From: broken connection [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat and JRE redistribution
At the end, the only thing that should matter to TOMCAT or
ANT is that they should be able to find the classes in the
JREso I don't understand, why you guys don't recommend
this
You're
Hi folks,
I am using Tomcat 5.5.23. I am trying to use org.apache.jasper.JspC to
pre-compile the JSP files. I notice all the file paths were added 005f if
there is a _ in the path like ../my_package/test.jsp will change to
../my_005fpackage/test_jsp.java. What did I do wrong?
Thanks!
Billy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Broken,
broken connection wrote:
At the end, the only thing that should matter to TOMCAT or ANT is that they
should be able to find the classes in the JRE...
Tomcat and Ant don't need to be able to fine JRE classes. When the JRE
starts up, it will
Hi
I'm trying to run a context using facelets in a tomcat 6.10
I'm getting the following error :
java.lang.LinkageError: loader constraints violated when linking
javax/el/ExpressionFactory ...
I'm using maven and in my POM I declare the EL RI dependencies
I have searched through the web
are you importing the following packages?
You maybe should.
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
-Original Message-
From: Julio J. Suárez Salinero [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 8:07 AM
To: Tomcat
Hello,
please, consider the situation:
We have a product that consists of several web applications deployed to
embedded tomcat container.
All the web applications share the same realm (configured on engine level)
and use the SingleSignOn valve.
engine.setRealm(polarionRealm);
Thanks very much everyone, including the missing /web-app solved the
problem! sorry for not letting you all know sooner, had to attend to
something!
Thanks a million,
Karen =)
Gregor Schneider wrote:
SEVERE: Parse error in application web.xml file at
that's your error, meaning you have
I have forgot to attach some details:
* embeded apache-tomcat-5.5.16-embed.tar.gz running in eclipse 3.1 runtime
platform
* java 1.5
* both winxp server, linux
Best,
Jiri
-Original Message-
From: Jiri Walek [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 11:58 PM
To:
Sam Klin wrote:
The line number from the exception trace is 259.
There have been a couple of bug fixes in this area recently. They'll
be in the next release.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Kwok Ng wrote:
Hi folks,
I am using Tomcat 5.5.23. I am trying to use org.apache.jasper.JspC to
pre-compile the JSP files. I notice all the file paths were added
005f if
there is a _ in the path like ../my_package/test.jsp will change to
../my_005fpackage/test_jsp.java. What did I do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
Propes, Barry L wrote:
are you importing the following packages?
You maybe should.
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
Erm if he weren't importing those packages,
I went ahead and created an issue:
http://issues.apache.org/bugzilla/show_bug.cgi?id=42934
On 7/17/07, Michael Youngstrom [EMAIL PROTECTED] wrote:
I'm using Seam and a Seam app depends upon the Seam application being
initialized before you can do much of anything in Seam.
That said Seam puts
56 matches
Mail list logo