Bojan Smojver wrote:
>
> Still a bit confused with it...
>
> When I put class files into WEB-INF/classes, Tomcat reports something
> like this:
>
>
> DependManager: Added
> /home/httpd/html/binarix.dev/WEB-INF/classes/com/binarix
Jim Cheesman wrote:
> I have to back this statement up - jar reloading on TC4/Win2000 is a risky
> business, to say the least. Sometimes it works, sometimes not... I wonder
> if it's anything to do with the server checking for a new jar at the same
> time as the filesystem overwrites the old one?
Still a bit confused with it...
When I put class files into WEB-INF/classes, Tomcat reports something
like this:
DependManager: Added
/home/httpd/html/binarix.dev/WEB-INF/classes/com/binarix/velocity/PumpServlet.class
class com.binarix.velocity.PumpServlet
--
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 :
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 Cata
"Craig R. McClanahan" wrote:
> When you set an application's 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.
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).
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 reloa
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)
>
> than
"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
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 to
It's explained in the server.xml file... Promise to brush up on my
reading skills :-)
Bojan
Bojan Smojver wrote:
>
> I've been looking through the docos to find how to bind Tomcat's
> connectors of Tomcat itself to just a single IP address (ie. 127.0.0.1),
> whi
What's the actual error message?
Maybe you can print out the SQL statement to see if the syntax is OK. It
could be invalid SQL. Are you running this under Windows NT/2000 or
9x/ME? Maybe the user Tomcat runs under doesn't have access rights on
this database?
I don't really use Access, I'm just t
Maybe you can use getRemoteUser, isUserInRole, getUserPrincipal etc.
from HttpServletRequest interface to find out who's logged on?
Once the user is authenticated, you'll always get its info from the
above and Tomcat will make sure that this guy is part of the correct
session. Does that answer yo
Maybe you can use application init parameters instead?
Bojan
Viktors Krebss wrote:
>
> Hello,
>
> Does anyone know how can I access servlet init parameters form another
> servlet ?
> I mean I can access servlet context ( ) using
> getServletContext().getContext("/some_servlet")
> but what I ne
I've been looking through the docos to find how to bind Tomcat's
connectors of Tomcat itself to just a single IP address (ie. 127.0.0.1),
which is handy for securing it. Couldn't find anything...
Can someone point me in the right direction?
Bojan
inating file is wa_connection.c. Since the
WebAppConnection has been defined in the first pass, it won't accept the
same one in the second pass because it checks for duplicate connections.
Bojan
Bojan Smojver wrote:
>
> I've posted to this list a few days ago a message related t
I've posted to this list a few days ago a message related to the
compilation problems of mod_webapp. It seems that the versions that come
with b2 and b3 of Tomcat 4.0 are screwed (even after cleaning double new
lines in Makefiles). I didn't have the patience to go through the code
to determine why
Anyone out there had any luck compiling the mod_webapp? Even after
removing double new lines from the Makefiles, there is a whole heap of
compilation error messages (mostly undeclared stuff)...
And if mod_webapp is not ready, can mod_jk be used with Tomcat 4.0?
Configuration:
RedHat Linux 7.0
T
Try to put the plugin in ~/.netscape/plugins instead.
Bojan
"Robert B. Easter" wrote:
> cd /usr/local/netscape/plugins
> ln -s /usr/local/j2sdk1.3.0/jre/plugin/i386/javaplugin.so javaplugin.so
conf/web.xml is not used in Tomcat 3.2.x.
Try this in server.xml:
Bojan
James Bromberger wrote:
>
> Hello all,
>
> I and a colleague have been looking through the list archives, trying to find out
>how to disable the welcome-file feature. I have edited /conf/web.xml and altered the
>welc
In tomcat's conf directory there is a file called tomcat-users.xml.
There are a few user accounts already there (Tomcat 3.2.1), one is
called 'tomcat', having a role 'tomcat' (a bit confusing but Java
Servlet API Spec 2.2 might clear that up for you). Next set you web.xml
file up. Something like:
All the answers about virtual hosting are in mod_jk HOWTO documentation:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
JDK's, huh, hard one... JDK 1.3.0 from http://www.blackdown.org/ and
Sun's JDK 1.3.0_01 do the job most of the time on Linux... Maybe IBM's
1.3.0?
B
I just compiler the attached file into a class, put the class into the
webserver.jar (to avoid changing CLASSPATH for testing) and modified
server.xml file with:
after the WebXmlReader section and restarted Tomcat and Apache.
The errors are still going to the browser and generated java files a
I've been trying for a while to implement the init parameters for JSP
engine mentioned in Tomcat FAQ's but without much luck.
First, I think the 'org.apache.jasper.runtime.JSPServlet' is wrong,
there is no such class in Tomcat 3.2.1. It should probably be
'org.apache.jasper.servlet.JspServlet' in
This is *FAR* from being a good set of instructions. A few of the
scripts are also extremely primitive. All of this applies to RedHat
Linux 7.0.
Please note that I still haven't received confirmation from the
developers of mod_jk if static linking of the module is a technically
sound option.
Her
How about HotSpot 2.0...
Bojan
"Robert B. Easter" wrote:
>
> I'm running Linux and so far have used Blackdown.org JDK 1.2.2 FCS with
> Tomcat 3.2 final.
>
> JDK 1.3.0 FCS is also available from blackdown.org. Are there any good
> reasons for upgrading or not upgrading to JDK 1.3.0?
>
> --
>
I didn't actually say that the configuration works. It'll be some time
before I know that for sure. But it does compile and link :-)
If I understand correctly, DSO is described in Apache INSTALL file as
optional.
I have seen references in the jk code to dl related functions (and
actually -ldl ne
I've noticed that there aren't any instructions about compiling and then
statically linking mod_jk.so into Apache (mod_jk HOWTO from Tomcat 3.2).
Is this intentional (ie. do you want to move people away from doing
that) or is it just missing because most people prefer DSO?
I've been able to compi
29 matches
Mail list logo