I have a problem with a JComboBox placed in an applet which is having a
ToolTip text set on it. While moving the mouse over the ComboBox I am
getting the following error stack in the Java Console.
java.lang.Error: Destination component not connected to component tree
hierarchy
at
Has any of you tried defining a realm inside the context.xml taken form
META-INF file from inside the war file?
I have the following context definition:
context path=/test1 override=true docBase=webapps/test1
realm
className=org.apache.catalina.realm.MemoryRealm
debug=
I'm using Tomcat 5.5.9 with Tapestry and Spring. Given my usage of Spring,
I've found that I need to reload my project on occasion to pick up new XML
configurations. To this point, I've accomplished this by writing a simple
Ant script that simply touches my web.xml file. The file update
Hello,
when I tried to build Tomcat 5.5 using Ant 1.6.2 and the packaged
build-file,
an error occurred telling, that Ant was unable to expand file.zip and that
there
has been an error in the build-file. I have tried several versions of Tomcat
5.5, but
it does not work.
Anyone having
Hi All
I have found a Bug in Java 1.4.2_08 and Java 1.4.2_09.
Goto this address to read about it:
http://forum.java.sun.com/thread.jspa?threadID=599301tstart=0
The new versions will break your jstl code and create errors in the log
and create blank pages.
I have tried a new Tomcat version, no
David,
Thanks for the link. I have followed the instructions but unfortunately
get similar errors to what I had previously I am afraid.
In a situation like this I am sure I could get the company to pay for some
support for this type of problem, but I am unsure who would be best to help
with
Hi,
Can you please send more information, such as error messages, stdout logging
and the configuration for your pool.
Cheers, Allistair.
-Original Message-
From: Wylie, Ian [mailto:[EMAIL PROTECTED]
Sent: 11 August 2005 10:28
To: Tomcat Users List
Subject: RE: Has anyone used
Hi,
I am trying load balancing with Tomcat 5, fornted with Apache's mod_jk
connector.
It is always the local one that serves my request. Cannot get my remote
Tomcat to serve any.
http://localhost/jkstatus also gives a error page
Have workers.properties and all configured but ...
Doing a
Paul Wallace wrote:
Thanks Len,
And what of other protocols? Are sockets then required? What are
some other protocols that might be used to push/pull data? (off Tomcat I
know ;))
Paul.
I'm interested in the answer to this too. What terms do I stick into
google to find generic
Alistair,
For configuration purposes I attach the Context.xml, web.xml and
mininPCO-practise.xml - which is the web application file which resides in
TOMCAT_HOME\conf\Catalina\localhost directory.
The error message is basically Cannot create resource instance. (Full
Error message attached
Hi,
You can only configure a web application in 1 place. You can't use *both*
context.xml AND a webappname.xml. I think the
TOMCAT_HOME\conf\Catalina\localhost method is tried first, and because this
does not have any of your datasources in it you get your problems. Decide on
either
Alistair,
Well I have learned something that I was doing wrong, but after removing the
webappname.xml I get the same error.
Any more ideas?
Thanks,
Ian
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: 11 August 2005 11:53
To: Tomcat Users List
Subject: RE:
Hi,
A) First, can you clarify which method you have opted for now of;
1.
TOMCAT_HOME/webapps/webappname/META-INF/context.xml
or
2.
TOMCAT_HOME/conf/Catalina/localhost/webappname.xml
B) Ensure your database JAR(s) are in TOMCAT_HOME/common/lib (not in your
webapp lib).
C) Try something
Hello to all,
I have made one simple Intranet in my home and i'm using Apache Tomacat as a
server.
I have my all jsp pages and index.html inside Webbapps/test/
What i want to do is access to intarnet with my others computers.
I configure in hosts (on System32) with the IP of my Server
Hi,
I'm not convinced by that forum thread.
It's very hard to believe that there is such a severe bug in Java
1.4.2_06 *that isn't fixed yet*
Do you have a link to a Sun Bugparade entry describing the problem?
Christoph
Martyn Hiemstra wrote:
Hi All
I have found a Bug in Java 1.4.2_08
This doesn't sound like a tomcat question--or am I missing something?
Brian
[EMAIL PROTECTED] wrote:
I have a problem with a JComboBox placed in an applet which is having a
ToolTip text set on it. While moving the mouse over the ComboBox I am
getting the following error stack in the Java
From: Wylie, Ian [mailto:[EMAIL PROTECTED]
Subject: RE: Has anyone used Tomcat 5.5.9 connecting to MS
SQL Server using JNDI?
In my opinion the people who develop Tomcat should provide an
example of JNDI for ALL major databases.
Question: How much have YOU contributed to Tomcat? The
From: Michal Kwiatek [mailto:[EMAIL PROTECTED]
Subject: realm in context in war file
I have the following context definition:
context path=/test1 override=true docBase=webapps/test1
realm
className=org.apache.catalina.realm.MemoryRealm
debug=
I've sorted it out: the problem was in the syntax! I was using context
instead of Context, and tomcat (5.0.28) simply ignored it without
writing any error message.
But thanks for the tip for 5.5 - I'm going to migrate soon, so it will
be useful.
Michal.
-Original Message-
From:
And the other thing is, the link I gave you is for a setup that works - I
know so because I am using it right now and I figured it out last week. So
while you may not have it running on your system, that is not due to lack of
how to do it being documented.
- dave
David Thielen
303-499-2544
Has any of you managed to configure tomcat JNDIRealm to talk to Active
Directory?
I'm having a hard time setting it up and my wild guess is that the
JNDIRealm does not support SASL mechanism.
Here's my config:
Realm className=org.apache.catalina.realm.JNDIRealm debug=99
Hello,
I have added a mimetype for the crt-extension to the
$CATALINA_HOME/conf/web.xml-file. I have a file with this extension in the
ROOT-webapp-directory. The ROOT-webapp has no web.xml-file. I also restarted
tomcat. However, when I open the crt-file, it is still presented as a
text-file. Any
Peddireddy,
how about your project? I have finally found a solution here ;-) If the
database handles requests faster, the load on my Tomcat(s) are lower,
because of the lower count of active threads. This does not resolve the
problem induced by the apparent connection limit on Windows 2003
If you are calling it though a servlet I believe you will still need the
set the MIME type in the HttpResponse object with a call like
response.setContentType(text/html);
I am not sure how you would do it for a JSP page. Unless you just went
for the inelegant option of
%
What client browser are you using. MS IE can ignore the mime-type presented
by the server and make decisions based on its own voodoo. See:
http://www.spartanicus.utvinternet.ie/file_extensions_and_mime_types_on_the_web.htm
Hi list! Long time lurker, first time poster. I've been trying to
figure out how to do this all day and it's driving me crazy. Any help
greatfully accepted! Also, apologies for this being slightly OT --
it's more about J2EE in general than Tomcat. If anyone knows a decent
J2EE mailing list they
It looks like you are configured for anonymous bind.
By default, the AD LDAP implementation does not allow anonymous bind. You
have two ways of handling this:
1. Configure your AD tree to allow anonymous bind. Essentially, you will
need to create an ACL against the appropriate object
I have just seen that it works. But I don't understand it: if tomcat
uses bind to authenticate the user accessing the webpage, why does it
need a different AD user?
Isn't it a bug in the realm implementation?
Michal.
-Original Message-
From: George Sexton [mailto:[EMAIL PROTECTED]
We're using Tomcat 5.5.9, and I'm looking for good books (or other resources)
for learning JSTL and JSF. These will be for a person with a novice-level
understanding of Java and Tomcat, so I'd like something that will take him from
beginner to intermediate (or better). He'll be learning Java at
Starting out, I suggest the Core Servlets and JavaServer Pages by Marty
Hall to gain an understanding of the Java EE web technologies. It's
about as good of a book as I've seen on any technical subject matter,
particularly for a beginner. I still reference it after several years.
For JSF I
Hi. I just has beginning to use the Tomcat, for programming in JSP.
I have the 5.0 version.
When an error occurs, i get an HTTP 500 page with the details.
But, i can not find an information that told me the exact line of my JSP
where the error happens.
What can i do for know that ? thank.
I have the jdom-1.0.jar in the application library
directory, that is WEB-INF/lib, where other jar files
are. The jar doesn't seem to be loaded. I get the
following error:
ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/icommunity].[jsp].invoke:704
- Servlet.service() for
In order to query the LDAP tree, you have to bind to it. Binding requires
that anonymous bind be enabled, or that you bind with a user id and
password. This is just how LDAP works.
The information that I sent you was information I learned while creating an
LDAP authentication module for our
Works for me.
Show us the snippet of the jsp with the import statement...
Jon
Vernon wrote:
I have the jdom-1.0.jar in the application library
directory, that is WEB-INF/lib, where other jar files
are. The jar doesn't seem to be loaded. I get the
following error:
ERROR
JSF In Action and JSTL in Action are both very good.
- dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: Joe Plautz [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 10:31 AM
To: Tomcat Users List
Subject: Re: OT: JSTL and JSF book
Fermin,
This information is usually recorded in your log files, or alternately
printed into the console window if Tomcat is running in windowed mode
(because you manually launched the tomcat5 executable).
Look in {Tomcat Home}/logs/ for a file like stdout_20050802.log
(stdout_MMDD.log). There
Hi
Does anyone know how to get the refferal address from a servlet
request I have dumped the header and it does not seem to be there. On
apache it was an enviroment variable called HTTP_REFERER (May of had 2
f's)
Thanks
Oscar
Thanks for answering.
That I mean, is this:
i get this error message (and it is in the logs, too)
C:\Tomcat50\work\Catalina\localhost\activation\org\apache\jsp\secundarios_js
p.java:55: not a statement
ocsa;
I make that error intentionally.
I thought that the tomcat say the error
The spec is actually pretty striaghtforward to read. If you insist reading
books other than the spec, I would recommend Sun's Core JSTL, Core JSF or
Manning's JSTL in Action.
-Original Message-
From: Joe Plautz [mailto:[EMAIL PROTECTED]
Sent: August 11, 2005 12:31 PM
To: Tomcat Users
Well
String referer = req.getHeader(Referer);
Log.say(INTERNALE: referer is [+referer+]);
Date d = new Date( );
Log.say(INTERNALE: [+d+] Dumping HTTP header START);
Enumeration e = req.getHeaderNames( );
while(e.hasMoreElements()){
String name =
Hi, Jon,
Thank for your quick response.
Here is more log messages:
ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/icommunity].[jsp].invoke:704
- Servlet.service() for servlet jsp threw exception
java.lang.Error: Unresolved compilation problems:
The import
Ah. Looks like I answered the wrong question. It's a two step process
to make a servlet from a .jsp file: first is translate it (make a .jsp
into a .java), the next is compile it.
When the jsp is made into a servlet it gets all of the stuff added to
it that makes it into a real java file (public
That import statement looks ok but the error is being reported for line
21 in SyndFeedInput. Looking at the code (link below) it's a common or
garden import statement.
That's the answer, Patrick !!! Thank you very much.
-Message d'origine-
De : Patrick Thomas [mailto:[EMAIL PROTECTED]
Envoyé : Jueves, 11 de Agosto de 2005 07:56 p.m.
À : Tomcat Users List
Objet : Re: Knowing the line when the error happen
Ah. Looks like I answered the wrong question.
Dave Morrow wrote:
I am receiving some NDR's when sending to this list.
This shouldn't happen. Please forward the NDR including all the
headers to [EMAIL PROTECTED] ir directly to
[EMAIL PROTECTED] and I will investigate futher.
Thanks,
Mark
Hello,
I am using Tomcat5.0.28. When I try to run my web application, I got
this message:
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.OutOfMemoryError
How can I solve this problem? I tried to uninstall tomcat5 as service
using
Oscar Mechanic wrote:
Why would it get a null ? Every page has a referrer.
Are you sure? What if I click on a bookmark or type in the URL manually?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi
Do you have a link to a Sun Bugparade entry describing the problem?
No I don't.
I have performed a test of my own.
I have installed j2sdk 1.4.2_05 and j2sdk 1.4.2_08 and j2sdk 1.4.2_09.
I have installed these to the /opt directory. I have my JAVA_HOME pointed
to /opt/java.
First I point
Oscar Mechanic wrote:
Why would it get a null ? Every page has a referrer.
Simply not true -- a page accessed by having the URL hand-typed into
a browser's address field has no referer. And PC anti-virus software
frequently *blocks* sending a referer header regardless...
--
Hassan Schroeder
I'm having a problem reloading / redeploying one of my web applications using
the ant tasks.
The target I am trying to run is this and it fails on when stopping the
application.
target name=redeploy description=Reinstall the existing web application
stop url=${url}
From: Paul Wallace [EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005 6:38 PM
Hi and thanks for that,
That's the crux of my question! The data (I am unsure of the
protocol it is delivered in) is sent at random points in time i.e not from
any request. I wish to create particularly the client
Yes apologies of coarse you are right but in this scenario It is a link
from a different site.
On Thu, 2005-08-11 at 14:32 -0400, Charles Meier wrote:
Oscar Mechanic wrote:
Why would it get a null ? Every page has a referrer.
Are you sure? What if I click on a bookmark or type in the
Thanks I will conclude that the REFERER is not a reliable source of info
so cannot be used.
On Thu, 2005-08-11 at 11:38 -0700, Hassan Schroeder wrote:
Oscar Mechanic wrote:
Why would it get a null ? Every page has a referrer.
Simply not true -- a page accessed by having the URL hand-typed
Hi!
I'm hardening a Web Server running Tomcat for a client, but I'm having
difficulty in finding information on how to accomplish the following
tasks (bored of googling so I decided to ask here):
1. Remove/modify the banner presented by the coyote connector on the
server header of an http reply.
The Server header can be configured in the Connector declaration.
server='Sun Solaris IIS/6.0'
To limit the HTTP methods this can be done a few ways;
1) Use a servlet filter
2) Use web.xml and security constraints on those method types
3) ???
-Tim
LFM wrote:
Hi!
I'm hardening a Web Server
Hi. I just has beginning to use the Tomcat, for programming in JSP.
I have the 5.0 version.
I make a web app that uses, in some jsp's files, the command
response.sendRedirect.
When i execute the pages locally in my computer, works fine, but, i if try
to
test the pages from another computer, i
Tim,
Thanks for the reply, but I can't get in working:
In conf/server.xml I added server=TEST, as shown:
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8180 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8180 minProcessors=5 maxProcessors=75
enableLookups=true
copied share to meb/robo
laters!
On 8/11/05, LFM [EMAIL PROTECTED] wrote:
Tim,
Thanks for the reply, but I can't get in working:
In conf/server.xml I added server=TEST, as shown:
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8180 --
Connector
On Windows try the tomcat5w binary in the bin directory of tomcat.
Hope this helps.
Ken
- Original Message -
From: Yun Yang [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, August 11, 2005 2:31 PM
Subject: Out of memory
Hello,
I am using
I have a standalone Tomcat 5.0 instance, and a third-party webapp that has
support for authentication via LDAP. Of course, we don't have LDAP, we have
Kerberos. It should be a simple matter to plug in a different Realm, right?
I'm finding it hard to believe that no one has done this (Tomcat
Darryl,
Your remark about POJOs being part of the API prompted me to chime in
-- William pretty much gave you the general answer, that Tomcat
doesn't seem to be the best way to go for this (because everything is
passed via http). I would point out that just as you can
serialize/stream objects to
Hi,
I don't know when this started to happen but suddenly those warning messages
started to show up every time a JSP page is compiled. Has anyone got these
message before, if yes how do we get rid of these?
ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to
parser for
Greetings,
Does Tomcat itself ever use either the
workers.properties or the worker2.properties files?
My understanding is that these files are just example
property files for the Apache2 mod_jk(2) modules and
that Tomcat itself never references these files? Is
this true?
Thank you for your
I have having problems with a servlet using Tomcat 5.0.25. In my research it
appears to be associated with the Invoker. However, when I go through the
Environmental and Container Dependencies everything checks out. I have my
system set up to run both a Tomcat project and a JBoss project
Setting the server header is a tomcat 5.5 feature.
-Tim
LFM wrote:
Tim,
Thanks for the reply, but I can't get in working:
In conf/server.xml I added server=TEST, as shown:
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8180 --
Connector
correct.
-Tim
Nathan Hook wrote:
Greetings,
Does Tomcat itself ever use either the
workers.properties or the worker2.properties files?
My understanding is that these files are just example
property files for the Apache2 mod_jk(2) modules and
that Tomcat itself never references these files?
Hi. I have searched through archives and online for such solutions for the
depreciated Logger element. We have a virtual host setup and requires
separate logs for each host. We have followed the instructions such as this:
jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
we've put
Thank you Tim.
Nate
--- Tim Funk [EMAIL PROTECTED] wrote:
correct.
-Tim
Nathan Hook wrote:
Greetings,
Does Tomcat itself ever use either the
workers.properties or the worker2.properties
files?
My understanding is that these files are just
example
property files for
i have a ウェブ.jpg (japanese filename) in images directory.
while requesting that file url encode to %E3%82%A6%E3%82%A7%E3%83%96.jpg
but tomcat doesn't serve ウェブ.jpg instead it says file not found.
my question is how to make tomcat to decode
%E3%82%A6%E3%82%A7%E3%83%96.jpg as ウェブ.jpg
69 matches
Mail list logo