Hi,
setup Tomcat to use a jdk1.3 (or higher) switch on the external debugging
interface. Then use your preferred IDE and setup remote debugging.
there you go
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 10:38 PM
To:
Is there any way to make Tomcat create the JkMount directives in the
conf-auto file with a path not containing '/servlet/...' ?
And what about options like FollowSymLinks, etc. for Directory...? Is
this configurable somehow?
In our environment we are currently using a hand-written server
hi,
there seems to be a bug in the rc1 of tomcat4:
when i enable the ManagerServlet the following exception comes up in
catalina_log:
2001-09-11 09:48:55 HttpProcessor[8080][4] process.invoke
java.lang.NullPointerException
at
The most likely cause of this is that you have outdated entries for your
JRE
/ JDK in your Windows registry.
Thanks for the suggestion, but this is a clean install of JDK1.3.1! Any
other ideas?
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi!
I tried to run the tomcat windows version on an iPAQ. The webserver is
running and the servlet engine works fine. But the JSP doesn't run. This is
the jasper.log file from tomcat:
2001-09-11 09:53:48 - Scratch dir for the JSP engine is:
/zCat/work/localhost_8080%2Fexamples
2001-09-11
Hi there
Just been reading your postings. Am I right in saying that Tomcat does not
support EJBs? What about tomcat 4?
Thanks
Peter
- Original Message -
From: Shay Mandel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 8:47 PM
Subject: RE: why tomcat
If
Tomcat is only a servlet/jsp container...
To get EJB support you need an EJB container such as Jboss...
Go to www.jboss.org and download a bundled jboss with tomcat for a
simple setup and all the reading material you need.
hope it helps,
-r
-Original Message-
From: peter
I'm running Tomcat 3.2.1 with Apache, it seems that whenever Tomcat is
running the load average steadily increases, even without any hits.
Running ps -ef | grep java reveals many instances of -
root 8226 8020 5 19:27 ?00:05:55
/usr/java/jdk1.3/bin/i386/native
This is driving me
I've looked at Caucho resin, Blazix. How does JBoss compare with them? I'm
aware that Resin is just a web server but it does support EJBs. Is JBoss
robust and secure enough to compete with Weblogig and other app servers.
Thanks
Peter
PS. I'm currently downloading JBoss now.
- Original
Just been reading your postings. Am I right in saying that Tomcat does
not
support EJBs? What about tomcat 4?
Tomcat isn't an EJB container, but it can be an EJB client. You can't
host EJBs within Tomcat them, but if you have an EJB container somewhere
else on your network, you can access
hi again,
I guess this is probably a bit off-topic (for the tomcat mailing list).
for more info on Jboss, check out following urls on it:
http://www.theserverside.com/reviews/thread.jsp?thread_id=6215
http://www.theserverside.com/reviews/thread.jsp?thread_id=2918
Hi all.
I hope I'm not being too dumb here.
My servlet code wants to load classes dynamically at runtime. Instances of
these classes will call back into the servlet code.
So, my server.xml looks like this:
Context path=/prosumer
docBase=c:\Products\suite\current\peng\webapp
I've fixed the problem myself. I had to modify (only slightly) the scripts
supplied with JavaService 1.2.0, by specifying the current directory from
which to launch Tomcat 4.0. See the modified version below (sorry for any
line breaks...).
-Chris
@echo off
echo
echo Usage: %0
In conf folder there is a web.xml file. To send wml content u have to
modify this file and add following block in it.
Thanks for the help. From what I had seen, this type of configuration was
no longer supported in the conf/web.xml file as of Tomcat 3.3(the package
doesn't even include this
Hi Matt,
Congratulations on getting this far. Off the top of my head, I'm
not sure if tomcat/classes is supported. I'll try to review
what methods are available to add classes rather than jars to
Tomcat 3.3's classloader hierarchy. I suspect there is room for
improvement here.
In the
Hello,
This is perhaps off-topic, I am looking for an open-source database
connection pool.
Any good advises?
Thanks
Alexandre
It 's hard to reply you without more details: what is your database? Which language do
you use? On which plateform?
-Message d'origine-
De: Alexandre Victoor [SMTP:[EMAIL PROTECTED]]
Date: mardi 11 septembre 2001 16:49
A: [EMAIL PROTECTED]
Objet: Database pool
Hello,
This
Sorry
I code Java servlets and I am looking something like
http://javaexchange.com (which is not open source)
Thanks
Alexandre
Hi,
Could anyone point me to a feature list Tomcat 4.0 vs. Tomcat 3.x. In order to drive
our development decisions in the right direction I need to know what additional
features Tomcat 4.0 offers compared to Tomcat 3.x. Is this or will this be part of the
forthcoming Tomcat 4.0 package?
Hi everybody,
I am here in Brazil and I can´t believe what happened this morning at NY
(and other places too) !
I really didn´t see anything like that !!
Regards
Daniel
___
Daniel de Almeida Alvares
Sao Paulo - SP - Brasil
[EMAIL PROTECTED]
www.codestudio.com
Wes
-Original Message-
From: Alexandre Victoor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 11:09 AM
To: [EMAIL PROTECTED]
Subject: RE: Database pool
Sorry
I code Java servlets and I am looking something like
http://javaexchange.com (which is not
From the website: Source Code is available upon request
/Rasmus
-Original Message-
From: Alexandre Victoor [mailto:[EMAIL PROTECTED]]
Sent: 11. september 2001 17:09
To: [EMAIL PROTECTED]
Subject: RE: Database pool
Sorry
I code Java servlets and I am looking something like
On Tue, 11 Sep 2001, simon wrote:
Date: Tue, 11 Sep 2001 13:53:42 +0900
From: simon [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: on startup
- Original Message -
From: Kamran Mazandrani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday,
On Tue, 11 Sep 2001, naveen wrote:
Date: Tue, 11 Sep 2001 14:51:14 +0900
From: naveen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: virual domain problems.
hi,
I have configured the DNS server which will direct all the virtual hosts of
my domain to my
On Tue, 11 Sep 2001, Thomas Crook wrote:
Date: Tue, 11 Sep 2001 16:08:45 +1000
From: Thomas Crook [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Repost: Does jspc.sh work for you in Tomcat 4.0b7 ?
I posted this problem a couple of weeks ago but got no
Because you got NoClassDefFoundError instead of ClassNotFoundException, it
is *not* ProsumerTestTag that is the missing one. Instead, check the
sources of ProsumerTag for references to *other* classes, and make sure
all of *those* classes are also available in your web app.
Craig McClanahan
Although there is nothing wrong in principle with doing this, I
***strongly*** urge you to write your applications in a manner that does
not depend on it. Otherwise, you are locked in to Tomcat forever, because
there is no guarantee you will be able to control the current working
directory of
How does Tomcat 4.0 compare to 3.2 in terms of performance?
3.3 has better performance than 3.2. Is that a worthwhile update
or should I skip to and go to 4.0 directly?
Bill
Hi Craig, and thanks for your reply.
Because you got NoClassDefFoundError instead of
ClassNotFoundException, it is *not* ProsumerTestTag that is the
missing one. Instead, check the
sources of ProsumerTag for references to *other* classes, and
make sure all of *those* classes are also
On Tue, 11 Sep 2001 [EMAIL PROTECTED] wrote:
Date: Tue, 11 Sep 2001 17:12:58 +0200
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Feature List Tomcat 4.0 vs. Tomcat 3.x
Hi, Could anyone point me to a feature list Tomcat 4.0 vs. Tomcat 3.x.
In order to
On Tue, 11 Sep 2001, Guy Verbist wrote:
Date: Tue, 11 Sep 2001 16:49:14 +0100
From: Guy Verbist [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: RE: Problem with loading classes dynamically,
new objects can't see things in webapp.
I have been using JDBC Realms (with v3.3) with success for some months. I
have come to a point where I need to add some new features (expiry dates
mainly). I expect I can hack the code to do it, but is there any
documentation on how best to proceed with this? (since I'd prefer my hack to
be
Hi Craig,
Thank you for your prompt reply. How do I get a copy your JavaOne presentation? Do I
need to go via Java Learning Center?
Regards
Marc
-Ursprüngliche Nachricht-
Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 11. September 2001 17:50
An: [EMAIL
Try following the procedure outlined at
http://www.jguru.com/faq/view.jsp?EID=323083
making changes as necessary for newer software versions. It worked fine for
me.
Cheers
Thomas Crook
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, 10 September
Tomcat is a web application server, implementing the latest Servlet and JSP
specifications.
It does not support EJB in version 3.x or 4.0 and as far as I know, it will
not in the near future.
For an open source EJB server with integration with Tomcat 3.x, I would
recommend JBoss mentioned
Hi,
I have created a WebApplication with tomcat 3.2
and gave security rights to a directory called 'test'
to a special role admin. Within this directory I want
to create a subdirectory called 'img' that could be
used by everyone.
How do I implement this in the web.xml descriptor?
I tried to do
Hi,
I read a FAQ on tomcat that it does not include jar file putted on
web-inf/lib directory of a web application.
Is it still a bug ?
Do you know if I must put a jar file on the classpath when I build a web
application with ant ?
Thx
Teva Lautier
Hi
I am facing a problem thought that you might be able to help me out with
this. I have installed IIS 5.0 on my box and I am using Tomcat Server
along with this. And the redirector which you have written
isapi_redirect.dll
Now I am facing a weird problem which I am unable to pinpoint and is
Christoph,
In Tomcat 3.3, I would recommend the following steps
1. Copy and rename the ApacheConfig.java, say MyApacheConfig.java
for example purposes.
2. Implement your functionally in MyApacheConfig.java
3. Compile MyApacheConfig.java and put the class in a jar file.
4. Put the jar in
It's not a patch for Tomcat, it's an update for an example script for a
third-party tool (a very good one, not just for tomcat).
I don't think there are any portability issues really, as it's not concerned
with web applications directly, it's more to do with how the servlet engine
is launched,
I posted this the other day but no one responded.
I've since moved from Tomcat 4.0-b7 to 4.0-rc1 and the
problem still exists so I thought I would try again...
I have one jsp that jsp:include's another and augments the
request parameters using jsp:param. The included jsp uses a
taglib tag with
I just answered this in the bug report, but will answer here as well since
it's been raised here.
Request URIs (including the query string) processed by servlet containers
must conform to the requirements of HTTP. In this case, the relevant spec
is RFC 2396, Section 3.2, which describes the
Thanks, I'll make sure I properly encode things from now on.
In the mean time, I removed any special characters and have
only alphabetic characters in my jsp:param list and I still
get:
org.apache.jasper.compiler.ParseException:
/WEB-INF/jsp/od.jsp(11,53) Attribute from has no value
Lets try to keep traffic down to let those who need information or
communication with loved ones use the bandwidth. Lets have no traffic
for 24 hours. Thanks.
--
My ally is the Force, and a powerful ally it is. -Yoda, Jedi Master
Kevin,
Assuming your post doesn't have typo's, I think the JSP 1.2 spec
still requires the inner quotes to be escaped. I don't recall
that changing. Try changing:
opf:orderDetail from=%= request.getParameter(from) %
to:
opf:orderDetail from=%= request.getParameter(\from\) %
I've started looking into deploying a WAR file to
distribute my application. I used the dist target
from the sample build.xml file in the tomcat documentation
to build the WAR file itself (app.name is opf):
jar jarfile=${dist.home}/${app.name}.war
basedir=${deploy.home}/
I put the
I believe that this portion of the spec is stating that the contents
of the META-INF directory should not be accessible (you shouldn't be able to
view the contents of the META-INF directory using the web browser, like the
contents of the WEB-INF directory is not available to a web
On Tue, 11 Sep 2001, Kevin HaleBoyes wrote:
Date: Tue, 11 Sep 2001 19:57:10 +0100 (BST)
From: Kevin HaleBoyes [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: servlet spec section 9.5 question
I've started looking into deploying a WAR file to
distribute my
From: Larry Isaacs
Assuming your post doesn't have typo's, I think the JSP 1.2 spec
still requires the inner quotes to be escaped. I don't recall
that changing. Try changing:
opf:orderDetail from=%= request.getParameter(from)
%
to:
opf:orderDetail from=%=
Hi,
How can I map the my jar files?
I know how to do that in the classpath.
I would like to know how to that in a another file
web.xml? or server.xml?
and not in the tomcat.sh, where users can destroy
other applications tha are allready running.
Thanks in advance.
I asked this question before, but I didn't get any
reply. I post it again in hope someone could give me
some hint.
I have a file download servlet serves web browsers.
request to file is like this
http://192.168.1.105/download/servlet/download?filename=song.mp3
The file on the server side is
Hi,
How can i map de .jar files of my application?
The only way I no how to do this is to put on my classpath editing de
tomcat.sh.
Shouldn't there be q way of mapping these on the web.xml of each
application??
Thanks in advance.
On Tue, 11 Sep 2001, Craig R. McClanahan wrote:
If ProsumerTestTag is being loaded from the class path, it's being loaded
by the system class loader.
If CustomTag is being loaded from the web app, it is being loaded from the
webapp class loader.
Classes loaded from the system class
Hi,
I cannot make the Sample from Developing Applications
with Tomcat
(http://jakarta.apache.org/tomcat/tomcat-3.2-doc/appdev/sample/)
to work :(
I installed Tomcat-3.2.3, with Apache-1.3.20 on
MS-Win2000-5.00.2196 (w/SP2). I also installed
j2sdk-1.3.1.01.
Everything seems to be working fine,
On Tue, 11 Sep 2001, Antonio Trigo wrote:
Date: Tue, 11 Sep 2001 20:27:44 +0100
From: Antonio Trigo [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat-User (E-mail) [EMAIL PROTECTED]
Subject: WEB-INF\lib
Hi,
How can i map de .jar files of my application?
The only way I no how
On Wed, 12 Sep 2001, Dmitri Colebatch wrote:
Date: Wed, 12 Sep 2001 08:02:47 +1000
From: Dmitri Colebatch [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: RE: Problem with loading classes dynamically,
new objects can't see things in
On Tue, 11 Sep 2001, Craig R. McClanahan wrote:
Exactly the same issue. That's why the Struts documentation tells you
(over and over again :-) to put struts.jar *inside* your web app (in
/WEB-INF/lib) and nowhere else.
oops (o: should have read the doco... I skipped straight to the archives
Yes we do use custom tags so that would account for the problem.
Thanks for your help.
On Tue, 11 Sep 2001, Thomas Crook wrote:
Date: Tue, 11 Sep 2001 16:08:45 +1000
From: Thomas Crook [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Repost: Does jspc.sh work for
I looked through the source code and in the documentation of the Loader
to see if the change of web.xml will cause an application reload in TC4
when relaodable is set to true, but I couldn't find anything that would
tell me that explicitly.
I'm sure this is the case in TC3.3, I was just trying
A little bit off topic, sorry about that.
I see most of the examples using EJB from Servlet.
However, is there any example of using JSP with
EJB directly? (without too much scriplet, and
hopefully more efficient than create a bean to
interact with the EJB)
thanks a lot
Hi,
I have an app that runs just fine on three different
development machines, making use of a ResourceBundle
(spans.ansGW), in the /WEB-INF/classes directory.
We're adding a new developer have setup his machine
to exactly match the directory structure environment
variables of the other
On Wed, 12 Sep 2001, Bojan Smojver wrote:
Date: Wed, 12 Sep 2001 10:40:21 +1000
From: Bojan Smojver [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Subject: TC4: web.xml and reloading
I looked through the source code and in the documentation of the
On Wed, 11 Sep 2002, Huaxin wrote:
Date: Wed, 11 Sep 2002 18:53:04 -0600 (Mountain Daylight Time)
From: Huaxin [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Subject: JSP/Servlet --EJB
A little bit off topic, sorry about that.
I see most of the
Craig R. McClanahan wrote:
On Wed, 12 Sep 2001, Bojan Smojver wrote:
Date: Wed, 12 Sep 2001 10:40:21 +1000
From: Bojan Smojver [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat User List [EMAIL PROTECTED]
Subject: TC4: web.xml and reloading
I looked through the source
Huaxin wrote:
A little bit off topic, sorry about that.
I see most of the examples using EJB from Servlet.
However, is there any example of using JSP with
EJB directly? (without too much scriplet, and
hopefully more efficient than create a bean to
interact with the EJB)
thanks a lot
java.io.IOException: Error: Attempt to clear a buffer that's already been flushed
at org.apache.jasper.runtime.JspWriterImpl.clear(JspWriterImpl.java:180)
at org.apache.jsp.view_0005fout_jsp._jspService(view_0005fout_jsp.java:1947)
at
Hello
I am having a problem when using a GET request in combination with a #
anchor. If I call a page with an included servlet with a link such as:
http://blah.com/index.html?user=frank
everything is fine, if on the other hand I use
http://blah.com/index.html#halwaydown?user=frank
the
My question was about web.xml, not the classes and jars (that's
explained in Loader docs). If web.xml changes, TC3.3 will dump the app
and reload because web.xml gets stored in the DependManager (from
memory). Does TC4 behave the same?
No web.xml reloading in TC 4.
Remy
Remy Maucherat wrote:
My question was about web.xml, not the classes and jars (that's
explained in Loader docs). If web.xml changes, TC3.3 will dump the app
and reload because web.xml gets stored in the DependManager (from
memory). Does TC4 behave the same?
No web.xml reloading in TC
Remy Maucherat wrote:
My question was about web.xml, not the classes and jars (that's
explained in Loader docs). If web.xml changes, TC3.3 will dump the app
and reload because web.xml gets stored in the DependManager (from
memory). Does TC4 behave the same?
No web.xml reloading
Hi,
I'm trying to build tomcat v3.2.3 from source (on Solaris 2.7) and I'm
following the README that comes w/ the src distribution. I got stuck on
the ant directives. The README says that after running bootstrap.sh for
the ant src, I'll get an ant.jar file which I'll use later to build Tomcat.
Remy Maucherat wrote:
Remy Maucherat wrote:
My question was about web.xml, not the classes and jars (that's
explained in Loader docs). If web.xml changes, TC3.3 will dump the app
and reload because web.xml gets stored in the DependManager (from
memory). Does TC4 behave the
Craig R. McClanahan wrote:
When you set an application's Context entry to say reloadable='true',
Tomcat starts a background task that watches for changes to *any* class
that was originally loaded from /WEB-INF/classes or /WEB-INF/lib. If such
a change is detected, the app will be reloaded.
My question is:
1) Can TC4 work with jboss ?
2) is so, how can I do it ?
Thanks,
Dongsheng Song
SongDongsheng wrote:
My question is:
1) Can TC4 work with jboss ?
2) is so, how can I do it ?
Thanks,
Dongsheng Song
Although I don't use that combination, I don't see any reason why not.
Unless, of course you want to run them in the same JVM. JBoss manual
mentions that Catalina
Craig R. McClanahan wrote:
When you set an application's Context entry to say
reloadable='true',
Tomcat starts a background task that watches for changes to *any* class
that was originally loaded from /WEB-INF/classes or /WEB-INF/lib. If
such
a change is detected, the app will be
Remy Maucherat wrote:
Essentially, yes.
JAR reloading is not very reliable on my Windows box, though (and you can't
remove JARs; but strangely you can ovewrite them). Sometimes, the changes
get picked up, sometimes they do not. I have yet to find the reasons for
this, unfortunately :-(
See the Servlet Specification information about
RequestDispatcher.forward(), available at:
http://java.sun.com/products/servlet/download.html
Once a response has been committed back to the client, it is not legal to
call RequestDispatcher.forward() (which is what jsp:forward does under
the
Use http://blah.com/index.html?user=frank#halwaydown; instead. The #
thing goes last.
Craig
On Wed, 12 Sep 2001, Stuart Allen wrote:
Date: Wed, 12 Sep 2001 11:40:09 +1000
From: Stuart Allen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: GET parameters and
Attempt to clear a buffer that's already been flushed--when use jsp:forward;
why?Anybody?
How to replace xxx? Example?
Thanks Craig and Bojan
I always kept the module 2 in mind, as well as efficiency. Using
JSP for presentation, forward request to Servlet, then forward to
EJB, and the same procedure back involves lots of overhead.
Using JSP for presentation, invoke a JSP bean, and from that
bean to EJB... I
See the JSP Specification, which you can download from
http://java.sun.com/products/jsp/download.html
In JSP 1.2, it is in Section 2.10.1.
Craig
On Wed, 12 Sep 2001, Rock Luiss wrote:
Date: Wed, 12 Sep 2001 13:31:26 +0800
From: Rock Luiss [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Thanks, Craig
A silly mistake, but I couldn't find any clues on the net anywhere...
Stuart
At 21:30 11/09/2001 -0700, you wrote:
Use http://blah.com/index.html?user=frank#halwaydown; instead. The #
thing goes last.
Craig
On Wed, 12 Sep 2001, Stuart Allen wrote:
Date: Wed, 12 Sep 2001
1) Windows98.
2) jakarta-tomcat-3.3-b2(installed in E:)
I have got my webapp in D:\ua.
I added apps-ua.xml in TOMCAT_HOME/conf/ While starting tomcat it finds the
apps-ua.xml file but when i go to localhost/ua i get a FILE NOT FOUND ERROR.
When the tomcat is started i also do not see any
Hi,
have you tried with different browsers? I remember vaguely that
this kind of stuff can also be working in one browser and
not work in another one...
regards
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 11:53 PM
While a commendable idea, my peering reports show all major networks fully
functioning... I'm not sure if there is a bandwidth crisis at the moment.
From: Thomas Cherry [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Tue, 11 Sep 2001 13:41:26 -0500
To: [EMAIL PROTECTED]
Subject: NYNY
86 matches
Mail list logo