Mohamed Rafi S wrote:
Hi Jean,
Jeanfrancois ;-)
There is no exception getting thrown, verified this. Immediately after
appLoader.startTomcat(), if I give a Thread.sleep(1), then till that
duration, I am able to access http://localhost:8080/ successfully
without any issue.
So, any pointers
From the source, it possible our code need a fix. Can you open a bug
and attach a test case? Mainly, this line is failling:
199 // The first scenario occurs when the jsp is not directly under /
200 // example: /utf16/foo.jsp
201 if
Bill Hughey a écrit :
Our application has several catalina engines embedded in it and I am trying to
determine if it makes sense or is even possible to use the catalina security manager
in this setting. Specifically, what takes the place of the '-security' switch on
tomcat in an embedded
You need to update to Tomcat 5 if you want that problem fixed. The
required changes are too critical to apply them to the 4.1.x trunk. Wait
a couple of days and try it with soon to be release 5.0.15, which is a
stable Tomcat 5.
-- Jeanfrancois
Matthew Boeckman wrote:
Hello list,
I have
Yes, just define two security-constraint, one for the FORM and one for
BASIC and use a different url-pattern. The problem is they will have 2
different url pattenr which may not be convenient for your users.
-- Jeanfrancois
Matthew Oatham wrote:
Hi,
Is it possible to have a web app that uses
Peter Maas wrote:
Hi,
I wondered if there is a way detect somehting like a
'sessionWillBeDestroyed' event.
since the sessionDestroyed method in a sessionListener seems to be
called after the session was destroyed.
Use Tomcat 5 ;-) The Servlet spec has been modified to do exactly what
you
The Servlet Spec is also good :-)
http://www.jcp.org/en/jsr/detail?id=154
-- Jeanfrancois
Yann ? wrote:
Are there any recommendations for a tomcat security book? I've found this
one on amazon.com, but there are no reviews on the book so I thought I
would
run it by the list first
Duncan wrote:
Is it normal to loose your session when using the
response.sendRedirect() command?
If so is there a way to redirect without loosing the session?
Yes, do a RequestDispatcher.forward(...) instead.
-- Jeanfrancois
Cheers, Duncan.
Decker Telecom Ltd
Avoid putting space in the installation folder or define catalina home
using quote.
Use D:\Tomcat4.1 instead (less pain)
-- Jeanfrancois
Gopalakrishnan. Govindakrishnan wrote:
Hi:
Anyone know why do I get this error during startup?
D:\Tomcat 4.1\bincatalina run
Press any key to continue
Shapira, Yoav wrote:
Howdy,
Assuming you mean beyond the classpath documented in the Classloder
HOW-TO, you'd have to write some tomcat specific code. In your webapp,
you would do:
import org.apache.catalina.Loader;
...
ClassLoader cl = this.getClass().getClassLoader();
Loader catalinaLoader =
You should read a good Servlet tutorial :-) You need to bundle your code
with a war file, or create a context entry in server.xml. See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
for more info.
-- Jeanfrancois
benoit wrote:
Hi,
I'm writing to ask a question that
Suze is not a supported platform
http://java.sun.com/webservices/downloads/webservicespack.html
-- Jeanfrancois
r h wrote:
Hi,
I tried to install Java web service developer pack 1.3
which has a built in tomcat container on my suse linux
8.0 OS. But I am getting the following message..
# sh
See inline
[.]
root cause
java.lang.NullPointerException
at org.apache.xerces.parsers.AbstractSAXParser.setErrorHandler(Unknown
Source)
at xpert.DocXML.loadXML(DocXML.java:80)
What this class actually doing? Seems a null is passed to Xerces? Not
sure the problem is with the JSP. Is
Check your xerces version. Are they the same? Still make sure you don't
pass a null
-- Jeanfrancois
Nicolas Fabry wrote:
What is strange is that exactly the same program is running on another PC
(but with Windows XP -- I don't think the problem is that one).
Thus, Is it really the java
Mark W. Webb wrote:
James Rome wrote:
I have installed Tomcat5 on Solaris in the Sun jwdsp-1.3. I created
the certificates as per the instructions in the server.xml file, and
uncommented the ssl server section. But when I try to connect to it,
after the server presents me with its
BTW, if you are building using the CVS branch, just look at
jakarta-tomcat-5/build.property.default and search for Xerces. You will
get the version used.
-- Jeanfrancois
Sriram N wrote:
Luigi,
Creating a Maven script would be a great idea. Since I've never used Maven
before, this should give
No that's not true. you *don't* need 1.4. Should work with 1.3.x
Open your catalina.bat file and add a line at the end of the script:
pause
Then start your script and post the exception you are seeing here.
-- Jeanfrancois
Basavaraju P. Banakar wrote:
correct me if I'm wrong
Tomcat 5
That's not true.
Do your own tests and see if Apache + Tomcat or just Tomcat fullfill
your requirement. Tomcat 4.1.x in some case is as good as Apache/Tomcat.
-- Jeanfrancois
Florian Ebeling wrote:
Hi,
Apache is faster for static content and has shorter startup times. And
HTTP implemenation
[EMAIL PROTECTED] wrote:
I am having trouble with the configuration of Tomcat for SSL. I have
requested a certificate from Verisign and
I have imported both my Chain Certificate and my signed certificate from
Versign. All works well except for
Once I access my tomcat site I get a prompt
Shapira, Yoav wrote:
Howdy,
It appears that Tomcat 4.1.29 brings the MBeans architecture (from
Tomcat
5.x) into its invocation process. I'm not sure if it was intentional
to
bring the MBeans architecture into Tomcat 4.1.x or not...
A change of this magnitude doesn't
Vincent Aumont wrote:
Hello,
I need your opinion on a solution I found to allow a single webapp to
support two authentication modes.
The application Im working on has two types of clients: HTML and WML.
The controller (Struts) can forward a request to the appropriate JSP,
depending on the
Vincent Aumont wrote:
How do you manage the case when someone else deploy a web app that
requires basic authentication using the browser? If Tomcat is used
only by your app, then your solution seems correct.
An HTML browser will never require Basic Auth.
?? Why? I'm missing something
Or download JDK 1.4.2_02 (the bug has been fixed in _02)
-- Jeanfrancois
Larry Isaacs wrote:
Since JDK 1.4.2 is being used, try the workaround specified
for (you will need to register to see the bug):
http://developer.java.sun.com/developer/bugParade/bugs/4895132.html
which is:
Specify
In Tomcat 5, you can customize the location of the common/lib, endorsed,
etc. Just take a look at $CATALINA_HOME/conf/catalina.properties.
Double check that to see if you can do what you want :-)
-- Jeanfrancois
Rodrigo Ruiz wrote:
Thanks for your responses, I will follow your suggestions
Have you file a bug on java.sun.com? That would be good to make them
aware of the problem (and there is possibly a workaround described
there). This is clearly not an issue with Tomcat, but with the JDK.
-- Jeanfrancois
David O'Brien wrote:
I face the same problem but haven't found a solution
the
security manager just adds protection and doesn't allow you to do more
things then normally would be allowed.
patrick
-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 12:05 PM
To: Tomcat Users List
Subject: Re: Socket permission in a CGI
Sriram N wrote:
All:
I had once developed a GUI that used the Tomcat code TC 4.0.1 to deliver a
Swing UI that is functionally similar to IBM's Websphere GUI Console in a
limited sort of way. I'd referred to Embedded's main(), to learn how to create
Contexts, Connectors, etc, and create these
I'm not a servlets-cgi expert (never used), but I think, if Tomcat runs
with a Security Manager, you can fix the problem by adding the following
in server.policy:
// Give all permission to servlets-cgi.jar
grant codeBase file:${catalina.home}/server/lib/servlets-cgi.jar {
permission
Shapira, Yoav wrote:
Howdy,
The docs are in the Embedded class' javadoc:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap
ache/catalina/startup/Embedded.html
It's largely the same for tomcat 5 as tomcat 4. There are several
articles, references, etc online for using
Jonas probably starts Tomcat using the Embedded interface, and do not
use the server.xml file. That's why it doesn't work. With Tomcta 5 it
will be easy for you to add your valve using JMX.
-- Jeanfrancois
Shapira, Yoav wrote:
Howdy,
What seems to be happening with the Valve?
(And should I
What do you mean by not working? It's like saying Tomcat 5 is not
working and you want help :-)
Please add example/config/more info about what you are trying to do.
Look at the jsp-eamples also. The EL the is working!
-- Jeanfrancois
Wade Chandler wrote:
Has anyone been able to use the
Try org.apache.catalina.startup.Embedded.addValve(...) or use the JMX
Embedded API.
-- Jeanfrancois
Mike Kellstrand wrote:
OK, adding a Valve to server.xml worked great for a standalone Tomcat.
Now Part II, how do I do this with an embedded Tomcat?
I get the impression that embedded doesn't
My first guess is that Cocoon have a thread that doesn't die when you
stop the application (they probably have a shutdown listener). How do
you stop Tomcat?
Can you also add a thread dump (CTRL-\) to this mail (do that before
stopping and then after if the console is still up)
-- Jeanfrancois
Hi,
are you sure you have all the patches to run java? Be sure you have
everything...if that still doesn't work, go the a java.sun.com forum and
ask the question there (this is a jdk/vm problem)
-- Jeanfrancois
[EMAIL PROTECTED] wrote:
Hi,
I am getting the following error with Tomcat
Send an email to [EMAIL PROTECTED]
-- Jeanfrancois
RobDel wrote:
Good morning,
I need know if can use tomcat to inegration between Java e Flash using Flash Remoting
MX with JavaBean.
Sorry by my english, but i am brazilian.
Bye
Robson Del Angelo
I think pointbase has all what you want (that's the one shipped with
J2EE 1.4 beta 2 sdk) and as far as I know, it's a pure java
implemenation (but unfortunaly not open-source).
-- Jeanfrancois
Ralph Einfeldt wrote:
One free to add:
http://www.simpledb.org/ (A spin off of instantdb)
As you
Sorry I've just realize this thread may be related to bugtraq #4895132
(thanks to Jeff for the wake up mail on tomcat-dev ;-) ). The workaround
is to add the following property when starting Tomcat:
-Dsun.io.useCanonCaches=false
Can someone try it and let me know if it change something. If
Dmitry Beransky wrote:
I'm trying to integrate a custom compiled Tomcat 4.1.27 with Intellj
IDEA (using a third-party plugin allowing invocation of Tomcat 4.1 from
inside IDEA).
Tomcat quits almost immediately with the following exception:
java.lang.reflect.InvocationTargetException
at
Try adding the mx4j jar file to the classpath command line to see if it
work. Or start using Netbeans or Eclipse (just kidding :-) )
-- Jeanfrancois
Dmitry Beransky wrote:
At 10:07 AM 8/8/2003, Jean-Francois Arcand wrote:
This plug-in is for which version?
The plugin itself is from Sean
the
servlet. Any advise ? Thanks . - Chinh
Jean-Francois Arcand wrote:
Dinh, Chinh wrote:
I have a tomcat question for you .
In Tomcat's server.xml, we define a realm (only ONE)
When tomcat starts, I think it will instantiate a realm object of this
type .
I am trying to find a way
Joe Reger, Jr. wrote:
I'm having the same problem on Tomcat 5.0.2. Tried restarting the app.
Then tried restarting Tomcat. Then rebooted the machine. Still getting the
stack trace. I assumed for a while that I had a compilation error in my
error.jsp so I made error.jsp a very simple page
Dinh, Chinh wrote:
I have a tomcat question for you .
In Tomcats server.xml, we define a realm (only ONE)
Realm classname = com.mypackage.myRealm
When tomcat starts, I think it will instantiate a realm object of this type .
I am trying to find a way to access this realm object
Jagan S wrote:
Hello
I am a newbie to apache-tomcat and I am sorry if this has been answered before. I have one instance of
tomcat server running on Windows NT server. It uses port 8080. Since
there are more than one developers, I need to configure it such
that each developer can run his/her
will find very good recommendations on how to do it. The filter
have access to the principal (via the HttpServletRequest object). From
that, I'm sure you can implement what you want.
-- Jeanfrancois
Jean-Francois Arcand [EMAIL PROTECTED] wrote:
Dinh, Chinh wrote:
I have a tomcat question for you
Mike Curwen wrote:
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:53 PM
To: Tomcat Users List
Subject: RE: How to protect static HTML's
Howdy,
(2) Use filters. All filters set for a particular request are run
*once*
Right. The mechanism is only supported in Tomcat 5 since it is in
Servlet 2.4
-- Jeanfrancois
Michael Duffy wrote:
Aren't those new keywords in the 2.2 servlet spec?
They don't do any good for anyone who uses Tomcat
4.1.24 or earlier. Right?
--- Justin Ruthenbeck [EMAIL PROTECTED] wrote:
Hi,
that's a bug in Tomcat. You should not received that exception, which
means that the classloader is unable to load some package protected
classes. The
org/apache/coyote/tomcat4/CoyoteRequest$PrivilegedGetSession needs to be
loaded when Tomcat starts, not when you do your first invokation
Well, are you sure your complex object doesn't have any reference to an
Eclipse object? I guess that's the problem. Since the missing object is
not on the Tomcat classpath, then it is normal you receive that error.
-- Jeanfrancois
Marc Chamberlin wrote:
Thanks Chris for your thoughts... Hmmm
www.netbeans.org
www.eclipse.org
Those are IDE who integrate ANT and have a simili GUI around ANT.
-- Jeanfrancois
[EMAIL PROTECTED] wrote:
Hi,
Being a newbie to ant ( have to use it ) ... can any one give me a
link to a s/w with GUI for ant ???
Vano Beridze wrote:
Hello
I have tomcat 4.1.18
I need to know if there is a possibility to have only
one (my application's) context running in tomcat.
I commented out all other contexts (admin,manager) from
my $TOMCAT_HOME/conf/server.xml, but as I can see from logs
those apps are still
OK I will give a try. I think you have to define your
QueueConnectionFactory
in your web.xml file in order. Is it the case? Look at the Servlet Spec for more info:
http://jcp.org/aboutJava/communityprocess/first/jsr154/
Specifically in the DTD section. Also, maybe a j2ee related list might be
Ujwal Oswal wrote:
How do I overwrite the default xerces parser for Tomcat 4.1.12. I am having
existing application on Tomcat 4.05 which works great but
when I migrated to Tomcat 4.1.12. its giving me problems. I tried copying
xerces.jar into common/endorsed directory. It gave me
That the
The Servlet spec is your life saver. Look at section SRV.9..5
http://jcp.org/aboutJava/communityprocess/first/jsr154/
-- Jeanfrancois
Gloria wrote:
I downloaded tomcat version: jakarta-tomcat-4.1.10, I know
where to place my
servlet class files and JSP files, but I don't know where I place
The error you are seeing is relate to the way you create a process under
win32. Read to avoid it.
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
-- Jeanfrancois
[EMAIL PROTECTED] wrote:
If i understand your mail correctly, you are attempting to call/run an
external program.
What is exactly the exception you are seeing? Which Tomcat version are
you using? Are you running Tomcat under the SecurityManager?
-- Jeanfrancois
Tom Mildinhall wrote:
This is the first time I have used mailing lists, so apologies if my
etiquette is bad! I am having a problem with
Well, his bug is more related to where the xerces.jar should go, I
think. Under 4.1.12, place your jar file under the common/endorsed
folder. Tomcat uses that directory at startup: -Djava.endorsed.dirs.
More info at:
http://java.sun.com/j2se/1.4/docs/guide/standards/
-- Jeanfrancois
Greg
Is alvolo.servlet.DispatcherServlet.initialiseSession try to get access
to org.apache.catalina.core.ApplicationDispatcher ? That's the normal
behaviour if your answer is yes. Tomcat internal classes are protected
against package access/insertion. If you really want to use that class,
add to
)
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
at java.lang.Thread.run(Thread.java:536)
/pre/p
On Wednesday, October 23, 2002, at 04:02 PM, Jean-Francois Arcand wrote
http://java.sun.com/j2se/1.3/
-- Jeanfrancois
Altug B. Altintas wrote:
Hi,
I need j2sdk-1_3_1_03-windows-i586.exe because of nohup bug, formally i need
java1.3.1_01, java1.3.1_02 or java1.3.1_03 for windows..
I couldn't find these releases on java.sun.com, any one who know the exact
URL of
In ${CATALINA_HOME}/conf/tomcat-user.xml, add a user and a role like this
user name=XXX password=XXX roles=manager /
Then restart Tomcat.
-- Jeanfrancois
Billy Ng wrote:
If you copied the war file to the TOMCAT_HOME/webapps directory, TC should
recognize it and expand it for you. Is it
Seems to be related to a parsing error. Are you sure your web.xml file
is a proper XML instance? Try to validate your XML file againts the DTD
included in the DOCTYPE element of the file.
-- Jeanfrancois
Becky Phaneuf wrote:
Hello,
After installing Tomcat 4.1.12 I copied a relatively simple
Euhmm..turn off the JMX stuff by commenting the follwoing in server.xml:
!--
!-- Uncomment these entries to enable JMX MBeans support --
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
Listener
Lior Shliechkorn wrote:
function SetDomain(d) { document.domain = d; }Hi,
I need help in adding some extra security to the login servlet for my application. I wanted to know how I can secure servlets without having to declare realms in Tomcat. I have a login page that posts to a servlet, and
Please include your errors when you post a question like that. They are
several solutions, and without the exact exception, it's very hard to
help you.
-- Jeanfrancois
Sandeep Murphy wrote:
hi all,
I perused the procedure provided for creating and using connection pools (with mysql and other
You need to add the something like that:
grant codeBase file:${catalina.home}/webapps/your app/- {
permission java.net.SocketPermission dbhost.mycompany.com:5432,
connect;
permission java.net.SocketPermission *.noaa.gov:80, connect;
};
-- Jeanfrancois
Andrew Cheng wrote:
Quick
/myServlet/- {
permission java.security.AllPermission;
permission java.net.SocketPermission the.third.machine:8080, accept,
connect, listen, resolve;
};
-Original Message-
From: Jean-Francois Arcand [mailto:jfarcand;apache.org]
Sent: Thursday, October 17, 2002 11:41 AM
To: Tomcat Users
Have you try to directly invoke builder.build outside the
AccessController? Also, I think you have an extra ! at the end of the
jdom jar file:
grant codeBase
file:${catalina.home}/myApplication/WEB-INF/lib/jdom.jar!/-
{
permission java.net.SocketPermission the.third.machine:8080, accept,
definitely appreciate it!
-Original Message-
From: Jean-Francois Arcand [mailto:jfarcand;apache.org]
Sent: Thursday, October 17, 2002 4:08 PM
To: Tomcat Users List
Subject: Re: socket permission catalina.policy question
Well, then let go back and do something simple. First, set:
grant
Well, then let go back and do something simple. First, set:
grant codeBase file:${catalina.home}/myApplication/WEB-INF/lib/jdom.jar
{
permission java.net.SocketPermission the.third.machine:8080, accept,
connect, listen, resolve;
permission java.security.AllPermission;
};
Then in your code, just
;
};
grant codeBase file:${catalina.home}/path/to/my.jar!/- {
permission java.security.AllPermission;
};
-Original Message-
From: Jean-Francois Arcand [mailto:jfarcand;apache.org]
Sent: Thursday, October 17, 2002 10:20 AM
To: Tomcat Users List
Subject: Re: socket permission catalina.policy
/to/my.jar!/- {
permission java.security.AllPermission;
};
-Original Message-
From: Jean-Francois Arcand [mailto:jfarcand;apache.org]
Sent: Thursday, October 17, 2002 10:20 AM
To: Tomcat Users List
Subject: Re: socket permission catalina.policy question
You need to add
Go under ${catalina.home}/bin
and then type jspc.{bat or sh, depending on which machine}. You will
invoke manually Jasper (The JSP compiler used by Tomcat) . The following
options will be displayed:
where jsp files is any number of:
file A file to be parsed as a jsp page
-webapp
http://localhost:8080/admin/login.jsp is the admin tool that comes with
Tomcat 4.1.x
To access the tool, you need to define in conf/omcat-user.xml a user
that has the admin role.
ex:
user username=tomcat password=tomcat roles=tomcat,admin/
-- Jeanfrancois
Kristján Rúnarsson wrote:
Ist
Here is an example:
%@ page isErrorPage=true %
i%=exception.getMessage()%/ibr/
% exception.printStackTrace(new java.io.PrintWriter(out)); %
-- Jeanfrancois
Wendy Smoak wrote:
Using Tomcat 4.1.12 on Win2000.
I have this in web.xml:
error-page
Can you give more information about how you try to get sam.xml file?
Are you using something like:
yourClass.class.getResource(sam.xml)
or getResourceAsStream ?
-- Jeanfrancois
Sam Seaver wrote:
OK I have a package created by JAXB called sam.xml within my
WEB-INF/classes folder, this
Which vendor VM are you using? SUN or IBM? If it's an HotSpot error,
look for a file like xxx.log
-- Jeanfrancois
Vandana Malik wrote:
We are running Tomcat 3.2 on Win2K. This is running as servlet only along
with IIS as the web server for the main application. The Tomcat server keeps
dying
As simple as it look like, have you try to reboot your machine? I
knowthat's the only solution I have when I have those Socket errors.
-- Jeanfrancois
Luis Manuel Menes Barajas wrote:
Please help me, after installing the service pack 3, my application stops to function
properly.
The
John Byrd wrote:
Good evening all. Excuse me if you've seen this issue before, but my
cursory search of the archives did not turn it up.
I have been using Tomcat for several years. Currently on my Linux box I
have versions 3.3.1, 4.0.4, 4.0.5, 4.0.6, 4.1.3, 4.1.6 and 4.1.12.
They all work
Seems to be a VM bug. Which VM are you using?
-- Jeanfrancois
[EMAIL PROTECTED] wrote:
We are running Tomcat running on a Win2000 SP2 box and Computer Associate
JASMINE/OPAL with HTTP Host Connector to access a IBM Mainframe with a JSP
application.
We have this message :
An unexpected
:-)
-- Jeanfrancois
[EMAIL PROTECTED] wrote:
We installed
Java(TM) 2 SDK, Standard Edition
Version 1.3.1
Thank you,
Hervé Caparros
Ville de Montréal
- Réacheminé par Hervé CAPARROS/MONTREAL le 2002-10-11 11:40 -
Jean-Francois Arcand [EMAIL PROTECTED]
2002-10-11
http://jakarta.apache.org/site/cvsindex.html
-- Jeanfrancois
Ilya Khandamirov wrote:
Hi,
Is the source code of Tomcat's Windows NT/2000/XP Service open? I cannot
find something i can start playing with. I'd be thankful for any kind of
Information/Links.
Regards,
Ilya
--
To
to look at are under
org.apache.catalina.startup.BootstrapService and
org.apache.catalina.startup.CatalinaService.
-- Jeanfrancois
Regards,
Ilya
-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 10. Oktober 2002 18:34
To: Tomcat Users List
Subject
Eumm.. I recommend you don't call a library from your JSP, but from a
JavaBean (call the bean from your JSP). Also, you may want to read
about how to load a library in Tomcat (see file
${CATALINA_HOME}/RELEASE-NOTES
Applications that require native libraries must ensure that the
libraries
Hi,
read : http://jakarta.apache.org/site/getinvolved.html
-- Jeanfrancois
Jens Andersen wrote:
Hi all,
I would like to contribute a Redirct Valve to Tomcat for the next
release or so - but how do I do that? Whom do I contact?
Best regards,
Jens Andersen
--
To unsubscribe,
Hi,
when reviewing the code (if you find something public and you think a
user can access that class and change the value), don't forget that in
Catalina.java, we have:
// If a SecurityManager is being used, set properties for
// checkPackageAccess() and checkPackageDefinition
Andrew Gilbert wrote:
We are finding this a particularly frustrating experience, and it seems to be a
weak point either/or both in specification and implementation (or a fatal flaw in
our basic approach - but would add we are consistent at least with the intent of
the EJB specs). Would
Scott Goldstein wrote:
I'm building a feature into a web application in which I need to deploy other
web applications to Tomcat programmatically. I've taken a look at the
ManagerServlet for an example of how to do this and I have a quesion.
1. Is there any way to access the
No, you can't. The Digester (the XML Parser) doesn't know anything about
your tags (as well as any sort of nested tag).
-- Jeanfrancois
Jens Andersen wrote:
Hi all,
Currently I'm developing a redirect valve but I was wondering if it's
possible to have nested tags inside a valve? Like
I'm using Netbean 3.4 on Linux and I don' have any problems. On thing
I'm doing in order debug from the Boostrap class is by adding the
following code:
try{
Thread.sleep(1);
}catch(java.lang.Exception ex){
ex.printStackTrace();
}
This give
Which version of Xerces are you using? If it's 2.2, there is a bug
associated with the problem:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282
-- Jeanfrancois
Mark R. Diggory wrote:
I keep getting these parsing exceptions when I try to load my custom
taglibs (from JAR files) on
Hanasaki JiJi wrote:
What part of Tomcat (most interested in 4.x) does the conversion from
jsp to servlet source?
org.apache.jasper.* is where the JSP compiler source is.
Is this code the same code as from the J2EE jar files downloaded from
Sun?
Which J2EE? The J2EE RI uses
Have you change something in the server.xml file? If yes, double check
your xml file is well formed. Can you post the xml file you have changed?
-- Jeanfrancois
Shortt, Kevin wrote:
Hi All...
I am an admin of a tomcat setup.
I am putting together a new machine and am using all the
latest
Xerces 2.0.1 and Xerces 2.0.2 contains differents bug that produce
similar type of error. I recommend you move to Xerces 2.2.0 and the
lastest Xalan (I don't remember the version).
-- Jeanfrancois
Chuck Carson wrote:
I am using the latest xalan.jar, but I am using the latest 1.x release
I don't know if its the fastest, but Xalan is one of the most popular:
http://xml.apache.org/xalan-j/index.html
-- Jeanfrancois
Hauck, Joe wrote:
Hello all,
I have a servlet intranet application that gets information from the
database, converts it to xml, and then sends the xml with an xsl
Toby Saville wrote:
I tried using the file protocol in the doctype, similar to my original post,
ie:
!DOCTYPE maps SYSTEM
file:///d:/Projects/portfolio/webapps/xml/metadata.xml
And this worked. But isnt this defeating the multiplatform and
distributability benefits of Java and webapps as you
Dr A.C. Marshall wrote:
Folks
I have just switched from JServ to Tomcat - My servelt reads XML files ,
transforms them nad waps them out to the browser. Virtually everything works
fine except my #160;'s (non-breakable spaces) get auto-translated by the
xerces parser to question marks. In
You need to do
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout XXX
where XXX =
jakarta-tomcat-4.0
OR
jakarta-tomcat-connectors
OR
jakarta-tomcat-jasper
Not on the same line. If it doesn't work, one reason is you may be inside a firewall.
-- Jeanfrancois
Fenlason, Josh wrote:
www.cvshome.org
You will find all the required information.
-- Jeanfrancois
Fenlason, Josh wrote:
I can get the source for each module, but I believe that I'm getting source that is
too recent, at least for the jasper module. How do I specify which version or branch
of the module? Thanks
The Tomcat site contains the following:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html
and
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
The security manager is probably the first place to start.
-- Jeanfrancois
Steven Garrett wrote:
Hi,
I'm
See bug 11501 and bug 12076
This is currently partially fixed in 4.1.11
-- Jeanfrancois
Dan Lipofsky wrote:
I have a symbolic link from webapps/nuserve/images to a directory
outside of the tomcat directory tree. This worked fine under
tomcat 3.2.4 but I can't see my images under tomcat
1 - 100 of 115 matches
Mail list logo