Re: Tomcat 4 Embedded in JBoss - Logging?

2001-10-03 Thread Craig R. McClanahan
hat's what I thought but they are not ending up there... > > I think there's something with JBoss integration where server.xml is not > read? Is this true? > I'm afraid I haven't got a clue ... you might want to ask that question on a JBoss mailing list. Craig

Re: Quick question?

2001-10-04 Thread Craig R. McClanahan
want to be portable should read config files using ServletContext.getResource() instead. > Thanks, > James > Craig McClanahan

Re: Changin Content-type header for JSP pages

2001-10-04 Thread Craig R. McClanahan
ava.sun.com/products/jsp/download.html > Any help would be appreciated. > > -- > Stephanos Piperoglou <[EMAIL PROTECTED]> > bolero.net<http://www.bolero.net/> > Craig

Re: Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread Craig R. McClanahan
In order to avoid this problem report getting lost, *please* report it in our bug tracking system: http://nagoya.apache.org/bugzilla/ Craig McClanahan On Thu, 4 Oct 2001, Scott Ahten wrote: > Date: Thu, 04 Oct 2001 10:14:21 -0400 > From: Scott Ahten <[EMAIL PROTECTED]> > R

Re: clientAuth problems

2001-10-04 Thread Craig R. McClanahan
$JAVA_HOME/jre/lib/ext). This messes up Tomcat execution. Craig McClanahan

RE: Driver fails to load on two webapps

2001-10-04 Thread Craig R. McClanahan
ry directory. * JDBC driver installed in the /WEB-INF/lib directory. You'd need to investigate the methodology of your connection pool to see if this is what is happening to you. However, the general rule of "put the connection pool and the JDBC driver in the same place" should take care of nearly every possible class loading difficulty. > hth > Craig McClanahan

Re: Question on FORM based authentication in Tomcat 4.0

2001-10-04 Thread Craig R. McClanahan
own login management (instead of using container managed security). There is absolutely no way you are going to be happy if you expect users to attempt to bookmark, or link to, the login page directly. > Regards, > > Willie > Craig McClanahan

RE: Question on FORM based authentication in Tomcat 4.0

2001-10-04 Thread Craig R. McClanahan
On Fri, 5 Oct 2001, Willie Vu wrote: > Date: Fri, 5 Oct 2001 12:14:27 +0800 > From: Willie Vu <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: Question on FORM based authentication in Tomcat 4.0 > > Thanks for you

Re: Question on FORM based authentication in Tomcat 4.0

2001-10-05 Thread Craig R. McClanahan
d authentication in Tomcat 4.0 > > Among many options proposed by Craig, I personally like the > "Get Some New Users" option. Wouldn't it be wonderful to > be able to work in the environment we have a such option. :-) > I wish ... :-) > I will be more than happy to hear a

Re: Multipart form data in Tomcat 4.0

2001-10-05 Thread Craig R. McClanahan
at Tomcat is. You might give that a try. > Kind regards in advance, > Stefan Freyr Stefansson > Craig

Re: How to disable automatic context loading in Tomcat 4 ?

2001-10-05 Thread Craig R. McClanahan
INA_HOME, but could really be anywhere. If you don't want your applications deployed automatically, either put them somewhere other than the "appBase" directory, or change the "appBase" directory to point at an empty directory. > Thanks in advance, > Wolfgang Stein > Craig

Re: Reading Files?

2001-10-05 Thread Craig R. McClanahan
that doesn't expand WAR files, or uses some other technique to store the static resources. InputStream stream = getServletContext().getResourceAsStream("/WEB-INF/myconfig.xml"); > > Thanks, > Hunter > > Craig

RE: How to change session key name

2001-10-17 Thread Craig R. McClanahan
locked yourself in to it by depending on a Tomcat-specific feature, I would be just as disappointed. PLEASE do yourself and your employer a favor, and pay attention to what's important here! > Firestar > Craig

Re: how unique is the session key?

2001-10-17 Thread Craig R. McClanahan
dom number generator and there are only so many possible numbers. > if so, does this just apply to tomcat or is this part of the spec and > container independent? > Why do you need anything other than assigning your own ids, and making sure that you never assign the same id more than once? > thanks, > > ~scott > > > Craig

Re: Using a servlet for authorization

2001-10-18 Thread Craig R. McClanahan
s to use a Filter for performing this kind of authentication. There was a thread on this over the last couple of days on TOMCAT-USER -- check the archives for some good ideas. > > I'm sure I'm making some simple mistake here. Any sugestions? > > Thanks > Craig

Re: EJB & Sevlets HOW-TO???

2001-10-18 Thread Craig R. McClanahan
se Tomcat is STILL not an EJB server. If you want to use the J2EE RI (which includes Tomcat and an EJB container), then you have to follow the processes defined in the J2EE RI's documentation for building and deploying web applications on it. Craig

RE: j_security_check

2001-10-18 Thread Craig R. McClanahan
ad of an HTML page. Note that the user *never* references the pop-up dialog box directly -- it is just used when necessary. Form based login is designed to work exactly that way. > Randy > Craig > > > -Original Message- > > From: Wayne Hefner [mailto:[

Re: regd classloader

2001-10-19 Thread Craig R. McClanahan
On Fri, 19 Oct 2001, simon wrote: > Date: Fri, 19 Oct 2001 09:16:26 +0900 > From: simon <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: regd classloader > > And would it be right to say: > > - Original Message -

Re: AW: j_security_check

2001-10-19 Thread Craig R. McClanahan
case, that means "[EMAIL PROTECTED]" because the behavior is defined in the Servlet Specification. Download the 2.3 version from <http://java.sun.com/products/servlet/download.html> and read Chapter 12, which defines the behavior that is required by containers. Craig

Re: Custom Realm and Authenticator

2001-10-19 Thread Craig R. McClanahan
nd have that working rather well > but have run into an issue described earlier in this list ("Realm > classes and ClassLoaders" - Mar 6, 2001). The following was the > suggestion from Craig McClanahan. This sounds like a great solution > except that FormAuthenticator is a final c

Re: Win200 crashing with Tomcat 4

2001-10-19 Thread Craig R. McClanahan
is entirely possible for bugs in that code to cause coredumps in the JVM process -- but an OS that reboots is a faulty OS. I would start with applying all of the recent patches to W2K Pro. > > Pae > Craig McClanahan

Re: Logging from a servlet in Tomcat

2001-10-19 Thread Craig R. McClanahan
goes by setting up a element to do what you want. Configuration information is included in Tomcat's download, or available online at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html > Thanks > Craig

RE: Logging from a servlet in Tomcat

2001-10-19 Thread Craig R. McClanahan
;[EMAIL PROTECTED]> > Subject: RE: Logging from a servlet in Tomcat > > One question about this subject. Why the Tomcat (4) team (Craig and > others) didn't use log4J to trace the server ? > Using Log4J for Tomcat internally is on the TODO list, but has never been high

Re: Réf. : I'm using Tomcat, do I also need Apache

2001-10-19 Thread Craig R. McClanahan
be if you need other functionality that it provides. > As the guys from Jakarta say: the best way to know which one is better for > you, is to try both... > And *that* is the correct answer. :-) > Raul Davidovich Craig

Re: JDBC Realms

2001-10-19 Thread Craig R. McClanahan
, you should also check out the "Single Sign On" capability, if you've got users that use more than one application on the same virtual host. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html then scroll down to "Single Sign On" under the Special Features section. > > Thanks for any help. > > Mark Muffett > > Craig

Re: Log Visitor's IP address?

2001-10-19 Thread Craig R. McClanahan
On Fri, 19 Oct 2001, Roy K. Mayr R. wrote: > Date: Fri, 19 Oct 2001 11:13:29 -0300 > From: Roy K. Mayr R. <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Log Visitor's IP address? > > I Craig... > > In "localho

Re: To get back content from getRequestDispatcher()...

2001-10-19 Thread Craig R. McClanahan
the Jakarta Taglibs project <http://jakarta.apache.org/taglibs> that do this sort of thing for you using JSP custom tags. In particular, check out the "Scrape" and "XTags" libraries for some interesting techniques. Craig

Re: Tomcat uptime...

2001-10-19 Thread Craig R. McClanahan
that the application cannot recover from without being restarted -- so it's really the application that needs a restart, not Tomcat itself. Details obviously depend on the precise nature of the exceptions you are getting, but an error 500 is most often caused by an application that throws an uncaught exception. > -chris > > Craig

Re: I'm using Tomcat, do I also need Apache

2001-10-19 Thread Craig R. McClanahan
s does not matter -- because it wasn't sent anyway. A request where the resource was actually downloaded will be a status 200 instead. > Gerry > Craig

Re: SingleThreadModel only giving 1 thread

2001-10-19 Thread Craig R. McClanahan
nts to is welcome to submit a patch to Tomcat to make is support instance pooling for STM servlets. This has been discussed a few bazillion times before on this list, if you want to check the archives. Craig McClanahan

Re: Debugging in Tomcat 4

2001-10-20 Thread Craig R. McClanahan
J in your application, that works fine as well - just put log4j.jar inside your /WEB-INF/lib directory and go for it. Craig

Re: Win200 crashing with Tomcat 4

2001-10-20 Thread Craig R. McClanahan
2K system and try it there -- if it doesn't crash there, then you've definitely got hardware or OS problems on your system. > Tom. > Craig

Re: USE TOMCAT INSTEAD OF IIS

2001-10-20 Thread Craig R. McClanahan
ot suffer. Yet people who need full featured capabilities can still use the same basic platform. To me, that's the best of both worlds. Craig

RE: webapps' classpath

2001-10-18 Thread Craig R. McClanahan
n still load application classes from the webapp class loader if you take steps like this: ClassLoader cl = Thread.currentThread().getContextClassLoader(); Class clazz = cl.loadClass("... classname ..."); Craig McClanahan

Re: regd classloader

2001-10-18 Thread Craig R. McClanahan
7;s likely that you had some class in the common package that was trying to load your app's classes. That won't work unless the app's classes are also in the Common loader, OR unless the service classes take advantage of the Context Class Loader mechanism to get access to the webapp class loader for the current request: ClassLoader cl = Thread.currentThread().getContextClassLoader(); Class clazz = cl.loadClass("W.Foo"); Craig

Re: How to set up multiple auth-method in single webapps

2001-10-22 Thread Craig R. McClanahan
If you are using container-managed security, that is not possible -- you must pick one and only one login method. Craig On Mon, 22 Oct 2001, Kar YEOW wrote: > Date: Mon, 22 Oct 2001 12:45:10 +1000 > From: Kar YEOW <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], Kar YEOW &l

Re: How do you invalidate a single sign on session?

2001-10-22 Thread Craig R. McClanahan
BASIC or DIGEST mode login. Craig On Mon, 22 Oct 2001, Kar YEOW wrote: > Date: Mon, 22 Oct 2001 13:39:37 +1000 > From: Kar YEOW <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], Kar YEOW <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: How do you invalida

Re: TagLibs in Tomcat4.0.1

2001-10-22 Thread Craig R. McClanahan
you definitely cannot put directives ahead of things like or . Craig On Mon, 22 Oct 2001, Jonathan Pierce wrote: > Date: Mon, 22 Oct 2001 12:55:35 -0400 > From: Jonathan Pierce <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: TagLibs in T

Re: Pls fix SSLAuthenticator.java

2001-10-22 Thread Craig R. McClanahan
It's more likely that things like this will be dealt with if you submit them as bug reports in the bug tracking system: http://nagoya.apache.org/bugzilla/ Craig On Mon, 22 Oct 2001, Kar YEOW wrote: > Date: Mon, 22 Oct 2001 15:50:25 +1000 > From: Kar YEOW <[EMAIL PROTECTE

Re[2]: TagLibs in Tomcat4.0.1

2001-10-22 Thread Craig R. McClanahan
On Mon, 22 Oct 2001, Jonathan Pierce wrote: > Date: Mon, 22 Oct 2001 16:15:06 -0400 > From: Jonathan Pierce <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re[2]: TagLibs in Tomcat4.0.1 > > Thanks Craig... &

Re: Compilation Error when building Tomcat

2001-10-22 Thread Craig R. McClanahan
Map parameters = hreq.getParameterMap(); > [javac] ^ > > Could you please help. > Since this method was added in Servlet 2.3, the most likely cause is that you have an old servlet.jar in your compile classpath (or in $JAVA_HOME/jre/lib/ext). > Regards, > Nitin > Craig

Re: How to call code in catalina.jar from a servlet?

2001-10-22 Thread Craig R. McClanahan
n -- the classes in catalina.jar are deliberately stored in a class loader that is not visible to servlet classes. You'd need to copy out the classes you need. Craig

Re: Catching NPE's in JSPs

2001-10-23 Thread Craig R. McClanahan
Of course, using an MVC-oriented application architecture, and avoiding scriptlets in the first place, means the number of problems like this go way way down. Of course, page developers who don't understand what an NPE even is, let alone how to test for it, are going to struggle on any development technology. Craig

Re: Tomcat and firewalls...

2001-10-23 Thread Craig R. McClanahan
If Windows is crashing, you have either a Windows problem or a hardware problem (or both), not a Tomcat problem. Craig On Tue, 23 Oct 2001, Thomas Diamond wrote: > Date: Tue, 23 Oct 2001 03:47:02 +0300 > From: Thomas Diamond <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTE

Re: Can't get SecurityRoleRef/Tomcat4 working

2001-10-23 Thread Craig R. McClanahan
Unless you have changed something in tomcat-users.xml, the role assigned to the "tomcat" user is "tomcat", not "Tomcat". Role names, like pretty much everything else in servlets and JSPs, are case sensitive. Craig On Tue, 23 Oct 2001, Antony Bowesman wrote: >

Re: How does Tomcat know what process to kill

2001-10-23 Thread Craig R. McClanahan
ssue the shutdown request, the code that is executed simply reads server.xml and figures out what port and password to use. The key to making this work is that you have to use the same CATALINA_HOME for both startup and shutdown, so that both of them read the same server.xml file. Craig

Re: how to add context element to conf/server.xml file

2001-10-23 Thread Craig R. McClanahan
ed applications for virtual host localhost > > /examples:running:0 > > /webdav:running:0 > > D:/exp:running:0 > > /tomcat-docs:running:0 > > /manager:running:0 > > /:running:0 > > > > it looks D:/exp is running. > > > > What might be the problem? Thank you very much for help. > Craig

Re: Environment Entries via JNDI Woes

2001-10-23 Thread Craig R. McClanahan
alContext(); > String loc = (String) > initCtx.lookup("java:comp/env/parms/filesLocation"); > > Thanks for your help. > In this particular scenario, the "null" value from the web.xml file overrides the setting from server.xml. To make sure that does not happen, change your server.xml entry to: > = > ~~~ > Scott Craig

RE: Compilation Error when building Tomcat

2001-10-23 Thread Craig R. McClanahan
On Tue, 23 Oct 2001, Nitin Vira wrote: > Date: Tue, 23 Oct 2001 10:12:43 -0700 > From: Nitin Vira <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: Compilation Error when building Tomcat > > Hi Craig, > > I figured as much

Re: the include action - is this possible

2001-10-23 Thread Craig R. McClanahan
ssion.getAttribute("baseUri")%>include/stylepicker.jsp" > > flush="true" /> When you use a runtime expression, it must replace the *entire* attribute value, not just part of it. Try this instead: Note that I used single quotes around the entire expression to avoid confusion with the double quotes inside the expression. Craig

RE: Compilation Error when building Tomcat

2001-10-23 Thread Craig R. McClanahan
e. The quickest way to set this up is to copy "build.properties.sample" to "build.properties" and then edit it to suit. The properties that matter for this purpose are "servlet.home", "servlet.lib", and "servlet.jar". Craig

Re: encodeURL,servlet,jsp,IO taglib problem

2001-10-23 Thread Craig R. McClanahan
This definitely sounds like an issue for the IO tag library authors. In similar tag libraries that I've written, I've had my custom tag check to see if the "included" request is part of the same webapp or not, and manually encoded the session id. Craig McClanahan

Re: webapps/lib jar load order

2001-10-23 Thread Craig R. McClanahan
; classloader loads/searches second.jar before first.jar, or vice versa? > There are no guarantees about order of JAR file searching, and no way to configure this. (Even if there was, it would be Tomcat-specific because this is not defined in the spec.) > Thanks, Carl > > Craig

Re: getNamedDispatcher

2001-10-24 Thread Craig R. McClanahan
mapped to "/*" (and therefore sees every single request), without disrupting what servlets are mapped to the various paths. In the Filter, you can make the choice to just pass the request on, or use a request dispatcher to redirect it somewhere else. Craig On 24 Oct 2001, Dr.

Re: Questions on tomcat heap usage and garbage collection (avoidingO utOfMemoryError exceptions)

2001-10-24 Thread Craig R. McClanahan
the session id that was assigned in the first place and then reuse it on the subsequent requests, and/or whether your test JSP page can temporarily be set to not use sessions so that this doesn't happen. Craig On Wed, 24 Oct 2001, Bang, Steinar wrote: > Date: Wed, 24 Oct 2001 09:21:19 +020

Re: tomcat 4.0: Plug in custom Realm

2001-10-25 Thread Craig R. McClanahan
parsing > server.xml ? > The class itself needs to be unpacked under $CATALINA_HOME/server/classes, or in a JAR file under $CATALINA_HOME/server/lib. > Is this procedure documented anywhere ? > > Regards > Maneesha > > Craig

Re: Automatic Application Deployment

2001-10-25 Thread Craig R. McClanahan
What you are describing should work. Are there any messages in the log files that might point at problems in deploying the app? Craig On Wed, 24 Oct 2001 [EMAIL PROTECTED] wrote: > Date: Wed, 24 Oct 2001 11:07:11 -0500 > From: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] >

RE: Compilation Error when building Tomcat

2001-10-25 Thread Craig R. McClanahan
Did you download the "optional.jar" file that goes with Ant, and put it in the $ANT_HOME/lib directory? Did you add xalan.jar (from JAXP/1.1) to the $ANT_HOME/lib directory? Both of these requirements are documented on the "BUILDING.txt" step about downloading and install

Re: tomcat session problem

2001-10-25 Thread Craig R. McClanahan
least 4.7.x) always runs -- but in IIS it's configurable. But the bottom line is that you cannot expect each window to be running in its own session. Craig On Wed, 24 Oct 2001, Rinku Randhawa wrote: > Date: Wed, 24 Oct 2001 14:46:25 -0400 > From: Rinku Randhawa <[EMAIL PROTECTED]&

Re: Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine.

2001-10-25 Thread Craig R. McClanahan
s. See the docs at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html > One way to solve this of course is to use Apache as a front for Tomcat. > But I would like to use Tomcat as a standard alone web server if at all > this is possible. > > Thanks for any help. > Prasanna. > > Craig McClanahan

Re: jasper directory missing in distribution

2001-10-26 Thread Craig R. McClanahan
will use whatever parser is in "common/lib" or "lib" (which must be JAXP/1.1 compliant). Craig

Re: Can't open InputStream to manager??

2001-10-26 Thread Craig R. McClanahan
ation). It's more likely to be related to the order of calls on your URLConnection -- see the javadocs for java.net.URLConnection (and the Networking Trail in the online tutorial at <http://java.sun.com/docs/books/tutorial>) for more information on this. > > Thanks! > > Yoav Shapira > Millennium Pharmaceuticals > Craig

Re: Questions on tomcat heap usage and garbage collection (avoidingO utOfMemoryError exceptions)

2001-10-26 Thread Craig R. McClanahan
ons on tomcat heap usage and garbage collection (avoiding > O utOfMemoryError exceptions) > > I wrote earlier: > > > Craig R. McClanahan [mailto:[EMAIL PROTECTED]] writes: > > [snip!] > > But it doesn't address my real worry at the moment: > > tha

Re: switch between http and https. how?

2001-10-26 Thread Craig R. McClanahan
as encrypted. > with best wishes, > Taavi > > > Craig

Re: how to keep form data

2001-10-26 Thread Craig R. McClanahan
on frameworks like Struts <http://jakarta.apache.org/struts> solve this problem for you by associating the data on a particular form with a JavaBean in either request scope or session scope, and use that bean to automatically repopulate the form when it is redisplayed. There are also a bunch of other nifty features -- check it out! > --David Smith > Craig McClanahan

RE: File Download - CSV question ****

2001-10-26 Thread Craig R. McClanahan
ype should be. Netscape Navigator is usually pretty good about respecting the "Content-Type" header sent by the server, while IE tends to make its own assumptions about the file type, no matter what yo do on the server side. Craig McClanahan

RE: switch between http and https. how?

2001-10-26 Thread Craig R. McClanahan
ing fine with both http and https protocols. > > > I would like to use http for serving most of the documents and > > > only j_security_check (form based login) should be done over > > > https. How can I configure this? > > > > > > > There is no way to con

Re: Starting up Catalina

2001-10-26 Thread Craig R. McClanahan
lications, but does so in a manner that does not use the CLASSPATH environment variable. There are too many platform-specific problems (especially on Windows) to make CLASSPATH use safe. For information on how Tomcat 4 makes classes available to various class loaders, see the included documentatio

RE: Compilation Error when building Tomcat

2001-10-26 Thread Craig R. McClanahan
On Thu, 25 Oct 2001, Nitin Vira wrote: > Date: Thu, 25 Oct 2001 18:48:15 -0700 > From: Nitin Vira <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: Compilation Error when building Tomcat > > Hi Craig, > > Thanks for your hel

RE: File Download - CSV question ****

2001-10-26 Thread Craig R. McClanahan
ME type that your browser doesn't recognize -- usually "application/octet-stream" will work. On the other hand, you can configure things to fire off Excel automatically, as well (if your browser is set up that way) by saying something like: csv application/msexcel (Check the "file types" configuration in your browser to find out what the correct MIME types should be.) Craig

Re: tomcat session problem

2001-10-26 Thread Craig R. McClanahan
f they are opened as a new application - as opposed to > Ctrl-N. Geoff Howard pointed this out just now... sorry for the > confusion. > It's actually a configuration option on IE -- "browse in a new process" determines whether windows share cookies or not. > cheesr > dim Craig

Re: Integrating PHP 4 with Tomcat

2001-10-27 Thread Craig R. McClanahan
> at org.apache.catalina.connector.http.HttpProcessor.process > at org.apache.catalina.connector.http.HttpProcessor.run > at java.lang.Thread.run(Thread.java:484) > > Any ideas on what I could be doing wrong here, or what could be amiss > with PHP's Java Servlet SAPI, since it's code hasn't changed since > its original submission by Sam Ruby last year? > The most likely explanation is that you have a servlet.jar in your $JAVA_HOME/jre/lib/ext directory. This interferes with the servlet.jar file that is included with Tomcat, and causes "x is not a Servlet" type error messages. > Greetings, > Sebastian > Craig McClanahan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: RequestDispatcher & HttpServletRequest wrapper issue.

2001-10-27 Thread Craig R. McClanahan
In servlet 2.2 (i.e. Tomcat 3.x), you are not allowed to wrap requests and responses. However, this is allowed in servlet 2.3 (i.e. Tomcat 4.0) as long as your wrappers extend the provided wrapper base classes. Craig On Sat, 27 Oct 2001, Nicolas Romanetti wrote: > Date: Sat, 27 Oct 2001

Re: Tomcat Manager question

2001-10-27 Thread Craig R. McClanahan
; > OK - Installed application at context path /Vermont > > Thank in advance: > > I am using Windows 95 (just in case: I did not say I like Window 9x, is > just the one I am using :-). > > The structure of Vermont is: > images > jsp > servlets > Web-inf &g

Re: the include action - is this possible

2001-10-27 Thread Craig R. McClanahan
gt; Then how come this is working? > > > href="/domains/registration/support/fetch.asp?displang=<%=session.getAttribu > te("displayLanguage")%>&file=whybuy.jsp">Why Buy? Why shouldn't this work? It has nothing to do with include actions. > > Thanks

Re: set SessionID (PLEASE HELP)

2001-10-31 Thread Craig R. McClanahan
ard session id could. If you're trying to improve the security of your session identifiers, I suggest you forget about this approach and just use SSL connections. That is what they are for. Craig McClanahan On Wed, 31 Oct 2001, Michael wrote: > Date: Wed, 31 Oct 2001 15:37:15 +0100 >

RE: Shutdown Tomcat

2001-10-31 Thread Craig R. McClanahan
omcat bug to the bug tracking system at: http://nagoya.apache.org/bugzilla/ Craig McClanahan On Wed, 31 Oct 2001, Evan Swanson wrote: > Date: Wed, 31 Oct 2001 10:21:42 -0800 > From: Evan Swanson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> &g

RE: tomcat stand alone and multiple ips.

2001-10-31 Thread Craig R. McClanahan
he same port number, you definitely need to do something like the above. > Is this functionality already available? Is there a workaround? > Does the multiple services approach outlined above do what you need? > Thanks, > ig > Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: comparison between SERVLET/JSP to Cold Fusion

2001-11-01 Thread Craig R. McClanahan
t to most users. A book that is on my bookshelf (except when I'm writing an app, where it is sitting open on my desk :-) is "Core J2EE Patterns" by Deepak Alur, John Crupi, and Dan Malks. It is a tremendously useful catalog of design patterns -- not only for new apps, but also for

Re: Java beans

2001-11-01 Thread Craig R. McClanahan
in your bean code -- there is just no way to know without seeing the rest of the message. Craig On Thu, 1 Nov 2001, Tarwinder Dhak wrote: > Date: Thu, 1 Nov 2001 09:24:54 - > From: Tarwinder Dhak <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> &

Re: Filters in Tomcat 4.0

2001-11-01 Thread Craig R. McClanahan
tartup of Tomcat the filter fails to run the first time. It > works on subsequent requests without problems though. > What does "fails to run" mean? Does it throw an exception? It's difficult to respond to a question like this without a lot more details. > Any idea my t

RE: Filters in Tomcat 4.0

2001-11-01 Thread Craig R. McClanahan
On Thu, 1 Nov 2001, Donie Kelly wrote: > Date: Thu, 1 Nov 2001 17:17:42 - > From: Donie Kelly <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Filters in Tomcat 4

RE: admin pages.

2001-11-01 Thread Craig R. McClanahan
ks up users (I don't use the JBoss integration, so I have no clue what they tell you to do), then you'll need to define a user with the appropriate role *there* rather than here. Craig On Thu, 1 Nov 2001, McDowell, Mark wrote: > Date: Thu, 1 Nov 2001 12:45:17 -0600 > From: "Mc

RE: admin pages.

2001-11-01 Thread Craig R. McClanahan
hoose to package Tomcat. For Tomcat 4, that is done with a element -- I'm afraid I don't remember how it was done in 3.2 but there is something similar. > Mark Craig > -Original Message- > From: McDowell, Mark [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01

Re: Form authentication/ password changing

2001-11-01 Thread Craig R. McClanahan
e system administrator for a password when Tomcat is started up. Some progress towards building such stuff has taken place with regards to the "keystore" files used for SSL certificates, but not yet for database passwords. And, you have to balance the security with the extra hassle that

Re: tomcat 4.0.1 & jetspeed

2001-11-02 Thread Craig R. McClanahan
Could you quote the entire exception traceback? I don't think there is anything in Tomcat that cares whether or not there is a MANIFEST.MF file (which would make this a Jetspeed question rather than a Tomcat one), but the only way to know for sure is to see the stack trace. Craig On T

Re: disabling shutdown port

2001-11-02 Thread Craig R. McClanahan
The only way to do this would be to embed Tomcat inside your own app somehow. By the way, if there *was* such a configuration setting, how would you plan on shutting Tomcat down? Craig On Fri, 2 Nov 2001, Taisto Qvist wrote: > Date: Fri, 2 Nov 2001 08:51:55 +0100 > From: Taisto Qvist &

Re: Embedding Tomcat with intra-app Servlets

2001-11-02 Thread Craig R. McClanahan
a with a pattern of "/*"). There's no need for interceptors (3.x) or valves (4.x) to do this. I would recommend you implement the application logic as a standard servlet, in its own class, and separate the startup/shutdown issues out to their own class. There is nothing to be gain

RE: The Infamous ClassCastException Problem

2001-11-02 Thread Craig R. McClanahan
way to use one copy of a class between webapps is to put that class in a *parent* classloader -- for Tomcat, that means put the shared class in the "lib" directory, which is loaded into a classloader that is the parent of the webapp class loader for each app. For more info on class loading

Re: Automatic generation of user webapps (http://localhost/~user/webapp)

2001-11-02 Thread Craig R. McClanahan
om. To do this through Apache, you'd need to convince Apache to do some things for you -- I don't know how that would be done. > thanks, > Christoph Craig -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: Embedding Tomcat with intra-app Servlets

2001-11-02 Thread Craig R. McClanahan
only issue becomes, how do I start the web container up when I needed it? That's easy to manage, using either Bootstrap.main() or the embedded class. > Todd > Craig > On Friday 02 November 2001 14:10, Craig R. McClanahan wrote: > > Here's the Tomcat 4 approach -- 3.x has

Re: catalina shutdown problem - waiting for instance to be deallocated

2001-11-02 Thread Craig R. McClanahan
There was a bug in the 4.0 release that made Tomcat think a servlet was still in use when it wasn't. I thought this was fixed in 4.0.1 -- which are you using? Craig On Fri, 2 Nov 2001, Tsai, Eddie wrote: > Date: Fri, 2 Nov 2001 14:07:33 -0600 > From: "Tsai, Eddie" <[E

Re: The Infamous ClassCastException Problem

2001-11-02 Thread Craig R. McClanahan
27;t. You have to have the stubs available to your client application in the client classloader (or a parent of it). > Frank Lawlor > Athens Group, Inc. > (512) 345-0600 x151 > Athens Group, an employee-owned consulting firm integrating technology > strategy and software solutions.

RE: catalina shutdown problem - waiting for instance to be deallocate d

2001-11-02 Thread Craig R. McClanahan
27;s much safer to create a new directory for the new release and them import your stuff into it, rather than installing on top of an existing release. > i copied > > bin/bootstrap.jar > common/lib/* > jasper/* > server/lib/* > > thank you very much! > > eddie > -- >

Re: Realms - info/documentation?

2001-11-02 Thread Craig R. McClanahan
a.Realm interface. Conventionally, most of the modules have a "debug" property, but that's up to you. > Thanks for the help in advance > > Regards, > > Adrian Hall > Craig -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: ClassLoader woes in Tomcat 4.01

2001-11-11 Thread Craig R. McClanahan
omcat 3.2 because the class loader architecture is different -- the system class loader in 3.2 contains these JARs. Use ClassLoader.getResource() instead, and you will be much happier. For more information on how class loaders are configured in Tomcat 4, see: http://jakarta.apache.org/tomcat/tomcat-4.0-d

Re: InitialContext

2001-11-11 Thread Craig R. McClanahan
ct: Re: InitialContext > > On Fri, 9 Nov 2001, Craig R. McClanahan wrote: > > > ... > > I assume you mean what you get when you call: > > > > InitialContext context = new InitialContext(); > > > > right? That is a per-web-application place where the conta

Re: non-serializable objects in sessions

2001-11-11 Thread Craig R. McClanahan
ents support for this. If you need persistence, you have to be aware of what can and cannot be persisted. It's possible that Enterprise JavaBeans (EJBs) might be a better solution to the types of problems you are looking at, because they deal with low level persistence issues for you. > --

Re: RequestDispatcher.forward() ?

2001-11-11 Thread Craig R. McClanahan
tion, so it looks up the right path and issues an HTTP redirect (302). Try a request dispatcher for "/index.html" (or "/index.jsp", or whatever is appropriate for your application), and you will find that it's all done on the server side. The "/" path will e

Re: Error in catalina.out after launching app.

2001-11-12 Thread Craig R. McClanahan
he weekend, so you'll want to update to the most recent nightly build available. Craig McClanahan On Mon, 12 Nov 2001, Jean-Luc BEAUDET wrote: > Date: Mon, 12 Nov 2001 09:25:21 +0100 > From: Jean-Luc BEAUDET <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PR

<    5   6   7   8   9   10   11   12   13   14   >