I thought I have read back in this same thread that
he had two Engine under a Service ? Only one
Engine is allowed per Service to fix one problem.
--- Nick Pellow [EMAIL PROTECTED] wrote:
HI Eric,
I have seen the same error your are getting. I am
using tomcat 5.0.28.
Make sure that
We keep forgetting that Before the war gets
unpacked, Tomcat checks if there is an existing
directory with the same name as the war file or same
name as the path attribute of the Context file,
and if it exist the war file does not get expanded and
it just attempts to work of of off the
Am curious, this jmx.jar is required in all Tomcat
5.x? I thought it was only for the jmxproxy servlet
under the manager webapp?
--- Bill Barker [EMAIL PROTECTED] wrote:
The problem is that Tomcat isn't finding the classes
in
$CATALINA_HOME/bin/jmx.jar. Either this jar got
corrupted
The new book on Tomcat5 Unleashed by Moczar covers
embedded tomcat, but for only a chapter. The wrox
book professional tomcat 5 also has chapter, but you
know, a chapter can't possibly cover it in-depth. The
book which probably covers Tomcat in-depth
programmaticallywise is the How Tomcat
Exception in thread main [SOAPException:
faultCode=SOAP-ENV:Protocol; msg=Unsupported response
content type quot;text/html;
charset=ISO-8859-1quot;, must be :
quot;text/xmlquot;. Response was:
lt;htmlgt;lt;headgt;lt;titlegt;Apache
Tomcat/4.1.30 - Error reportlt;/tit
Your error seems to point to
CalcService.java
while client runs. I
don't why, I can deploy and undeploy this
webservice,
all the code are copied from this tutorial, I don't
know why?
Best
Feilong
- Original Message -
From: sven morales [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 2:39 PM
You may want to check how your browser interprets
the encoded URL. Compare what has been sent to the
browser and what went back towards Tomcat. I was
assisting another person the other day and we found
out that the cookie is mangled, the ~ was not
urlencoded to %7.. something. I am not saying
You may want to check if your SuSe 9.x has ipv6
enabled. It slows down connectivity because it also
attempts to look up ipv6 addresses and that could
possibly be causing your timeout. Try to disable ipv6
and see how it performs.
--- Quinton Delpeche [EMAIL PROTECTED]
wrote:
Greetings,
It
Can you show us what you type in to your browser?
--- Stefan [EMAIL PROTECTED] wrote:
Hi,
I first posted this question with the wrong subject
heading ... sorry about
the duplicates.
My question:
Using Tomcat 5.0.28 standalone on windows XP with
JVM 1.4, I get this error
even
.
Stefan
www.killersites.com
- Original Message -
From: sven morales [EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Sent: Sunday, November 21, 2004 9:58 PM
Subject: Re: Servlet mapping problem.
Can you show us what you type in to your
browser?
--- Stefan
Is that statement playing a russian roulette refers
to -- classes installed in the extention dirs does not
use security policies?
__
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
Its just me, I do not fully trust the /manager app
to deploy webapps all the time. For example its
suppose to be able to deploy a war file even if the
war file is coming from a remote site, ie it should
attempt to download it but I have no luck with it
deploying a remote war file yet.
I
I do not remember on top of my head at which version
Tomcat has separated the Context element from
server.xml but assuming it applies to your situation.
On your Ant task you need to separate out from the
server.xml the element and its contents (Context ..
/Context to another file, call it
You may want to check you web.xml to make sure the
taglib definition is matching what you have on your
jsp pages. I am suggesting such because there were at
one time a change in the jstl uri namespaces and it
was causing a some problems for me.
--- Phillip Qin [EMAIL PROTECTED] wrote:
Where
Hi,
I am using axis too and am able to deploy it to a
Tomcat5.0.29 with minimal issue. I noticed you have a
META-INF/services/org.apache.axis.EngineConfigurationFactory
which does not exist on the axis 1.1 I am using.
Isnt it this META-INF/services something to do with
EJB? I dont think
The IDE suggested by others may already have this
features, but Apache Axis tcpmon is a neat tool to
have if you do not use IDE's. It allows you to see
what is being sent to a servlet running on Tomcat and
vice versa, the response coming out. Easy to use, as
it is an applet and run like so:
May I suggest the usage of Apache Axis tcpmon tool.
This is an applet based tool. Get hold of axis.jar
and put this on your classpath. Then launch it like so
in the same server as where Tomcat is running:
java -cp axis.jar org.apache.axis.utils.tcpmon 8081
localhost 8080
This tool basically
Is Tomcat affected by such? or is this a just a FUD?
the link to the article is:
http://slashdot.org/article.pl?sid=04/11/24/1323228from=rss
Sorry, I do not want to create FUD myself. I just dont
understand what a sandbox is.
__
Do you Yahoo!?
You may want to remove autoReconnect=true from
this and see if you still observe same:
valuejdbc:mysql://localhost:3306/bankapp1?autoReconnect=true/value
--- Carlos Bracho [EMAIL PROTECTED] wrote:
Hello everybody.
I am writting you because I get this exception
ramdonly, I mean,
Hi,
For the unaware, there is a top level Apache
project called Cocoon that can facilitate output
formats to just about anything. As starting point,
here are several links:
http://wiki.apache.org/cocoon/HowTos
http://marc.theaimsgroup.com/?l=xml-cocoon-usersr=1w=4
Hello,
I assume you are evaluating other frameworks, may
I suggest you look into Apache Cocoon project. It
started as a web publishing framework, and can do MVC
as Struts can, but if you have a need to provide
output to different formats WAP, PDF, Microsoft Excel,
SVG formats, just about
Hi,
If I understood your issue, you have some required
jars installed at tomcatX/server/lib because of some
reason you can not have it at yourapp/WEB-INF/lib? And
your issue is this is not accessable from your apps,
which seems to be the correct behaviour per the:
Hi,
The Apache Axis project has a tcpmon tool that
basically sits between your browser and Tomcat. It is
nice in a sense that HTTP is nicely formatted. Its an
applet based. I think most of the IDE's have similar
tool integrated but like me who does not use an IDE,
its adequate. This is just
/taglib-uri
taglib-location/WEB-INF/lib/standard.jar/taglib-location
/taglib
The jar is in that location. And your assumption is
correct. I'm using
v1.0 of the JSTL downloaded from Apache.
sven morales wrote:
Hi,
Can you paste the relevant section of your
deployment descriptor
Hi,
Please check the contents of catalina.sh. It is
more like hard coded there as oppose to a parameter
that can be changed.
People should start looking inside these
tomcatXX/bin/*.sh or *.bat scripts to see what
Environment variable gets set or not set.
aka_sergio
--- Eno Thereska [EMAIL
.
But what still puzzles me is why TomCat couldn't
find it in the jar? Is
there a special syntax for referencing .tlds in a
jar? Anyway, thanks
again for your help.
sven morales wrote:
Thats now how its defined on mine. The
taglib-location on mine points to a tld file
Hi,
I just downloaded Tomcat 5.5.4. binary and the
compat file. I then deployed the
tiles-documentation.war file by copying it over to
jakarta-tomcat-5.5.4/webapps/ and set $CATALINA_HOME
to /u02/tomcat5/jakarta-tomcat-5.5.4 where I have
un-tar the tomcat 5.5.4 binary and compat. Then I
I think there is another attribute to Listener
which is home.Base. Set this where you normally put
user/public_html directory. For example on mine, its
set as homeBase=/home and user home is
/home/sergio. Once this is working, any war files on
your /home/user/public_html should get
I have not seen previous postings but, there is the
TCPMON tool from Apache Axis project, its an applet.
This allows you to see the the request response
between client and Tomcat.
--- Justin Ruthenbeck [EMAIL PROTECTED] wrote:
Whenever I need to see the actual HTTP messages
(which is
Hi,
Can you paste the relevant section of your
deployment descriptor web.xml for your demo webapp?
Specifically, the
taglib
taglib-urihttp://java.sun.com/jstl/core/taglib-uri
taglib-location
Am assuming this is JSP 1.2?
aka_sergio
--- Tim Watts [EMAIL PROTECTED] wrote
Hi,
to
http://localhost/~username/index.jsp I just see a
pure white page. No
matter how many time I reboot the server I get the
same result
Does anyone else want to take a shoot at this or am
I to give up.
sven morales wrote:
I think there is another attribute to Listener
which
I am not sure if its already mentioned. JSP
files stashed under WEB-INF/ are not accessable
directly.
--- Parsons Technical Services
[EMAIL PROTECTED] wrote:
Jay,
I think you need the auth-constraint tags.
!--Starts the section. Located after jsp-config
near end of file--
I am not sure if its already mentioned. JSP
files stashed under WEB-INF/ are not accessable
directly.
--- Parsons Technical Services
[EMAIL PROTECTED] wrote:
Jay,
I think you need the auth-constraint tags.
!--Starts the section. Located after jsp-config
near end of file--
Hi,
I have not seen a context.xml file with those dual
ResourceLink Furthermore, the way you have the
Resource/ResourceParams defined under GlobalResource
seems to be not nested properly.
aka_sergio
--- David Uctaa [EMAIL PROTECTED] wrote:
I am running Tomcat 5.0.28 on Win XP SP1.
Umm I think you are out of luck. All sources gets
completely erased when you use undeploy on the
manager webapp. I have done it several times myself.
Maybe there are some portions of it left over in the
work/Catalina/localhost/yourwebapp/.
--- D'Alessandro, Arthur
Arthur.D'[EMAIL
Hi,
You seem to have added quite a few lines into your
catalina.sh. The stock script ends at line 287 for
me. Can you tell us what modifications you have made?
Funny that I can not find how the server.xml is
loaded by the DigesterFactory.java nor by
Bootstrap.java when I browsed their
the server has started. It is after these lines
562 long t2 = System.currentTimeMillis();
563 log.info(Server startup in + (t2 -
t1) + ms);
some test if useShutdownHook...
578 if (await) {..
Check your log file if it has made it this far.
aka_sergio
--- sven
I tried the Embedded class to work with Tomcat5
from the jakarta-tomcat-5.0.28-embed.tar.gz and am not
getting very far, ie not able to deploy even the
/manager webapp included in the webapps/.
I also tried the JMX style using an xml file (not
exactly sure why is this better than starting
already been
started
[jmx-service] Oct 22, 2004 12:17:10 PM
org.apache.coyote.tomcat5.CoyoteConnector start
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Maybe ask the book's author ;)
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: sven morales [mailto
I found a source code from
http://www.vsj.co.uk/articles/display.asp?id=319
tried it with the jakarta-tomcat-5.0.28-embed.tar.gz
and the /manager sample (after copying it over to this
embed version directory) that comes with Tomcat does
not work.
1. It seems it defaults to using JAASRealm.
What are the CLASSPATH and Classloaders used when
attempting to use the Embedded class to get a Tomcat 5
working?
On a regular bundled Tomcat5, the catalina/common/lib,
catalina/server/lib, catalina/common/endorsed are
automatically searched for jars and loads them.
Furthermore environment
1. How do I access the context file, the ones
separated from server.xml and put in the
tomcat5/conf/engine/localhost/ ?
2. Or if embedded in the war file, how to access it
from the war file's META-INF/contexfile.xml ? I
need access to Resource where the datasource and
jndi is normally
Stever Kirk: Did I read that right, Resource
nested inside GlobaNamingResource is not visible to
the webapp? I thought that was the whole purpose to
make it visible globally naming resources under
GlobalNamingResource noh? If Im wrong I stand
corrected.
In the apache side httpd.conf have something like
this
Location myapp/WEB-INF/
AlloOverride None
deny from all
/Location
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I am doing this in my code to launch Tomcat 5
host.install(, new URL(warFile));
Context context = host.findDeployedApp();
((StandardContext)context).setWorkDir(workDir +
/localhost);
((StandardContext)context).setDefaultWebXml(web.xml);
This results in
?xml version='1.0'
Hi,
Your book should be good as any. Try the samples
out on your installed Tomcat, ie get your hands dirty,
try little steps. There are jsp samples that came
with the Tomcat install, try fiddling with those. Off
course this assumes you have an installed Tomcat. I
suggest you have one
Hi,
At first glance your config seems to be okay.
However, confirm that GlobalResources can be a
sub-element within Context. I suspect it is not.
Consult this link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
aka_sergio
--- Omar Adobati [EMAIL PROTECTED] wrote:
Hi,
There is missing a step on Mario's response. You
have to add a Context at
$CATALINA_HOME/conf/server.xml or a separate context
file ending in .xml to be located at
$CATALINA_HOME/conf/[enginename]/[hostname]/
directory. See this link:
Hi,
It is not wrong to have that resource-env-ref
within his web.xml. Look at the
manager/WEB_INF/web.xml for a working application
(manager) and you will see exact elements.
aka_sergio
--- Mario Winterer [EMAIL PROTECTED] wrote:
Hi again!
I've noticed one thing in your configuration -
Hi,
This is an excerpt of my code, to get a Context.
Try and see if it works for you.
31 private void initDataSource () {
32 try {
33 Context initCtx = new InitialContext();
34 Context envCtx = (Context)
initCtx.lookup(java:comp/env);
35
Hi,
You need to download
jakarta-tomcat-5.5.7.compat.tar.gz if you plan to run
Tomcat 5.5.7 with jdk 1.4.x jre. Untar it in same
directory as the Tomcat5.5.7 and those jar files
needed will be installed in its normal places.
aka_sergio
--- Phillip Qin [EMAIL PROTECTED] wrote:
I am trying
Hi,
Do you have this class located in your
appname/WEB-INF/classes/listeners/ ? If not, do you
have it located in the appname/WEB-INF/lib/*.jar ?
Basically I think it is looking for your
listener.ContextListener class. I would expand your
war file and search for this class, then make
Not to prolong, I would think if this was the case of
misplaced element, the DTD for the web.xml would make
the Digester throw an exception because it does not
conform.
--- Luke [EMAIL PROTECTED] wrote:
Hello;
I finally got this. It turned out I had my:
login-config
,
Harry
-Original Message-
From: sven morales [mailto:[EMAIL PROTECTED]
Sent: Monday, February 07, 2005 6:16 PM
To: Tomcat Users List
Subject: Re: Java.lang.ClassNotFoundException:
listeners.ContextListener
Hi,
Do you have this class located in your
appname/WEB-INF/classes
Hi,
Another tool is TCPMON tool from Apache Axis
project, its an applet. This allows you to see the
the request response
between client and Tomcat.
aka_sergio
--- Robert Hunt [EMAIL PROTECTED] wrote:
If you've got a Valve
className=org.apache.catalina.valves.RequestDumperValve/
defined
Hi,
Can perhaps the settings of cacheAllowed nullify
the changes you just made? cacheAllowed - If the
value of this flag is true, the cache for static
resources will be used. If not specified, the default
value of the flag is true.
aka_sergio
--- Trevor Baker [EMAIL PROTECTED]
Hi,
Where are you getting this $CatalinaRoot ? I don't
see this env var set in catalina.sh.
aka_sergio
--- Joe Reger, Jr. [EMAIL PROTECTED] wrote:
Hi All.
I'm still having trouble with this issue. I'm not
able to upload a .WAR
file through the html web application manager but
that to represent the root tomcat
installation directory.
For me it's C:\Superfly\Tomcat 5.5\. For you it may
be different.
Are you having any trouble with the web.xml file
when deployinga WAR through
the manager app?
Joe
-Original Message-
From: sven morales [mailto:[EMAIL
Hi,
Can you post the pared down server.xml? The stock
server.xml is mostly comments anyways, so which
elements did you remove to cause these exceptions?
aka_sergio
--- Robert Hunt [EMAIL PROTECTED] wrote:
TC 5.0.28 running out of the box, the admin tool
works fine; tree view expands and
Hi,
Filters. There was a filter code developed by
Ivelin Ivanov and Kevin Chipalkowsky that maybe be
applicable to your needs. It is called
RequestControlFilter.
If a user makes two request, A and B then A will be
processed first while B waits. When A finishes, B
will be processed. If
Hi,
You have not modified the admin webapp at all?
This is a struts based application. If you click on
that Service (Catalina) node, the mapping should be
something like:
admin/treeControlTest.do?tree=Catalina?type:Service,serviceName=Catalina
The define tag is defined at
Hi,
How are you defining the security-constraint
security-role in your ldsecure/WEB-INF/web.xml ?
And also how do use this in your servlet or jsp to get
authentication? Maybe post your web.xml too?
aka_sergio
--- Curtis Nelson [EMAIL PROTECTED] wrote:
I know the database connection
Hi,
Does your login.jsp have something similar to
this:
form method=POST action='%=
response.encodeURL(j_security_check) %'
input type=text name=j_username
input type=password name=j_password
/form
It it does, I can't think of where to look for now.
aka_sergio
--- Curtis Nelson
Hi,
When you say you admin is not visible, what do you
actually see and if any errors at all? Check your
admin.xml and post it please.
aka_sergio
--- Paolo Beccari [EMAIL PROTECTED] wrote:
The admin.xml in
$TOMCAT_HOME/conf/Catalina/localhost.
The admin webapp under
Hi,
More of curiosity, What do you guys in Cuba uses
Apache/Tomcat for? Does it promote information access
to all or just a few well to-do people who has access
to phones and computers? Can you provide the link for
us in the outside see whats over there in Havana ?
I hope its not illegal,
Hi,
One of the things you have to do is put support
classes for jsp in a package. I dont recall when those
requirements has changed.
aka_sergio
--- Sam Halicke [EMAIL PROTECTED] wrote:
Hi all, first time posting to the list.
I'm having several problems migrating JSPs and
class/jar
Hi,
Please look at the very robust Cocoon project under
apache too. See http://cocoon.apache.org download
the code via cvs, compile it and there is an
Internationalization sample. Am positive you will
like cocoon. Im not doing it justice with my very
very simple explanation. You have to
Hi,
What do you mean by Under Windows XP it deploys
fine. ? I thought your problem is compiling? This
deployer (manager webapps) compiles okay in XP and not
in SuSE?
aka_sergio
--- Richard Mixon (qwest) [EMAIL PROTECTED] wrote:
Anybody have any ideas? I have googled this list and
others
Hi,
See if having a pair of the sequence of Resource
ResourceParams instead of having Resource, Resource
ResourceParams, ResourceParams. Also the
ResourceLink seems to be misplaced, not that it will
much difference for your set-up.
aka_sergio
--- Carl [EMAIL PROTECTED] wrote:
For various
It is in English. Did you try to visit the link I
provided?
aka_sergio
--- Antony Paul [EMAIL PROTECTED] wrote:
Is that German application you are talking about ?.
I dont know
languages other than English.
rgds
Antony Paul
On Tue, 15 Feb 2005 11:51:00 -0800 (PST), sven
morales
it and run it went
to sample
application Internationalization (i18n)
Localization (l10n) and it
is giving error.
rgds
Antony Paul
On Tue, 15 Feb 2005 22:17:56 -0800 (PST), sven
morales
[EMAIL PROTECTED] wrote:
It is in English. Did you try to visit the link
I
provided
Hi Mr. Calderale,
Do you mind sharing the tool you used to know how
many times Tomcat uses calls the system call chdir() ?
I would appreciate it if the code is readily for us to
use. Thank you.
aka_sergio
__
Do You Yahoo!?
Tired of spam?
Hi,
Are you putting your classes at
tomcat5/webapps/yourwebapp/WEB-INF/classes ?
or the corresponding
tomcat5/webapps/youwebapp/WEB-INF/lib if it is
archived?
aka_Sergio
--- Rico [EMAIL PROTECTED] wrote:
Hello Everyone.
I'm using Tomcat 4.1.31, and observed a similar
problem on 4.1.18.
Hi,
I have no problem doing that in linux, having the
jsp files and classes in another directory besides
being under $CATALINA_HOME.
I wonder if you can try using a forward slash in
windows.
aka_sergio
--- Rico [EMAIL PROTECTED] wrote:
--- sven morales [EMAIL PROTECTED] wrote:
Hi
Hi,
I have been recommending the TCPMON tool from Apache
Axis project, its an applet. This allows you to see
the the request response between client and Tomcat.
Also with nmap you can make a proxy and capture data
flowing, I just cant find my note that has this tip at
the moment.
aka_sergio
Hi,
Yeah servlet classes do get put under
yourwebapp/WEB-INF/classes or yourwebapp/WEB-INF/lib
if it has been archived (jar). If you need to
reference jsp hidden under yourwebapp/WEB-INF/ you
need to make references to its path to get to it,
modify your mapping in struts-config.xml.
I always
Hi,
Tomcat 5.5.x and newer have repackaged the commons
libraries into naming-xxx.jar files and it is probably
causing lots of headache to people doing a conversion
from older distro. A couple of items I have come
across are, the commons has been package into a path
like so:
of heads-up to people doing
a conversion to the newer 5.5.7 and newer.
aka_sergio
--- QM [EMAIL PROTECTED] wrote:
On Sun, Mar 13, 2005 at 11:56:02PM -0800, sven
morales wrote:
: Tomcat 5.5.x and newer have repackaged the
commons
: libraries into naming-xxx.jar files and it is
probably
Hi,
Try clearing the directory tomcat5/work/* and
restart tomcat. This should clear up caches.
aka_sergio
--- helena rato [EMAIL PROTECTED] wrote:
I use Tomcat 5.0.27 with apache Apache 2.0.40 and
JK2.
Just for the purpose of a test, I replace the
existing
index.jsp file in
Hi,
The server.xml has no DTD so it can not be xml
validated. I dont recall if that attribute is even
valid by setting it to true.
aka_sergio
--- N G [EMAIL PROTECTED] wrote:
Hi,
I can't understand why Tomcat goes nuts when I
enable XML validation
in my server.xml file as follows:
Host
80 matches
Mail list logo