Re: mod_webapp to connect Apache-Tomcat

2003-04-05 Thread James Williamson
> > How about posting it to the CVS tree? Sounds like it is something that a > lot of people would want. Will do, shall I just send the patch to the dev list? Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7411615 > > John > > On Thu, 3 Ap

Re: override catalina logging in web.xml

2003-04-03 Thread James Williamson
he default area for client's applications. However, although it sounds like his ISP is pretty restrictive. Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7411615 > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >

Re: override catalina logging in web.xml

2003-04-03 Thread James Williamson
and deploy a webapp (including the logging). I haven't tested it but you can set the privileged attribute to true, it would certainly have security implications if you're on a shared machine. Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7

Re: mod_webapp to connect Apache-Tomcat

2003-04-03 Thread James Williamson
ase drop me an email. Regards, James Williamson www.nameonthe.net Tel: +44 208 7415453 Fax: + 44 208 7411615 - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 8:09 PM Subjec

Re: problem..plz help me out

2002-06-09 Thread James Williamson
Puneet, You've made things harder for yourself by defining a separate engine in your server.xml, it's much easier to reuse an existing engine. Have you taken a look at the appBase and docBase attributes, is your application really in $TOMCAT_HOME/webapps/sachar/? Regards, James

Re: Using bean in JSP files

2002-06-09 Thread James Williamson
*"%> > > The JSP 1.2 specification actually states that the class attribute should contain the fully qualified name of the class. To quote: The fully qualified name of the class that defines the implementation of the object. The class name is case sensitive. Regards, James Willia

Re: Access-Control for Tomcat-Webserver (Version 4.0.1)

2002-06-06 Thread James Williamson
Actually, you shouldn't need to, on my box it only binds itself itself to the loopback interface. If you're on a Un*x box try a netstat -lp -t to see the interface(s) it's listening on, hopefully you should see something like this: tcp0 0 localhost:8005 *:*

Re: CrossContext. Is there a easier solution?

2002-06-06 Thread James Williamson
Christian, If you're on a Un*x platform why not just create sym. links? Regards, James Williamson www.nameonthe.net "Christian J. Dechery" wrote: > As I can see, > > and for what I've tried to acomplish, this CrossContext thing is no picnic. It isn't >

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-06 Thread James Williamson
"Trenton D. Adams" wrote: > > IMNSHO? > > In My N?? S?? Honest Opinion > > -Original Message- > From: Phillip Morelock [mailto:[EMAIL PROTECTED]] > Sent: June 5, 2002 11:38 PM > To: Tomcat Users List > Subject: Re: Improper timing using Calendar class (JSP/servlet) > > This is the ri

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-05 Thread James Williamson
George McKinney wrote: > > > -Original Message- > > From: James Williamson [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, June 05, 2002 2:58 PM > > To: Tomcat Users List > > Subject: Re: Improper timing using Calendar class (JSP/servlet) > > >

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-05 Thread James Williamson
> > <%! is seldom used and is largely discouraged except in certain situations, > perhaps like yours, although I haven't looked too closely at yours. I'm not being a troll, but who says it's largely discouraged? James > > fillup > > -- > To unsubscribe, e-mail: > F

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-05 Thread James Williamson
<%! long startTime = Calendar.getInstance ().getTimeInMillis();%> The <%! is a declaration expression, used for defining functions and class variables, this means it appears outside the _jspService subroutine, not what you want. change it to <%. If you view the generated source code you

Re: Improper timing using Calendar class (JSP/servlet)

2002-06-05 Thread James Williamson
<%! long startTime = Calendar.getInstance ().getTimeInMillis();%> The <%! is a declaration expression, used for defining functions and class variables, this means it appears outside the _jspService subroutine, not what you want. change it to <%. If you view the generated source code you

Re: Cannot retrieve session after visiting a different servletcontex t

2002-05-28 Thread James Williamson
ember Netscape were instrumental in introducing cookies. It's be relatively easily to check, but I don't have the time... > > fillup > > > On 5/28/02 9:02 PM, "James Williamson" <[EMAIL PROTECTED]> wrote: > > > > > - Original Message - &g

Re: Cannot retrieve session after visiting a different servlet contex t

2002-05-28 Thread James Williamson
houldn't do this (see above), I can see an problem if you have a context mounted at / and one at /context although I'm not totally sure which cookie(s) the browser will send back, an intelligent browser would either send both or the cookie more specific to the path requested. Regards,

Re: Postgres JDBCRealms : Tomcat-4.0.1

2002-05-09 Thread James Williamson
Grant, The stack trace tells you exactly what's going wrong, you need to relax the security regarding opening sockets. Modify the catalina.policy file in your conf directory. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Grant Edwards &l

Re: Help me: URGENT!!!

2002-05-04 Thread James Williamson
eferer when the browser sends it. The alternative is to send an extra parameter in the url. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Laura <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]>; Anton Schoultz <[EMAIL PROTEC

Re: JNDI: datasource is null

2002-05-03 Thread James Williamson
Are you using the warp connector? Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Cindy Ballreich <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 10:22 PM Subject: JNDI: datasource is null > I know there&

Re: Urgent.. Please help me

2002-05-03 Thread James Williamson
Are you using the WARP connector by any chance? Regards, James Williamson www.nameonthe.net UK Tomcat Hosting > > - Original Message - > From: "Alvin Wang" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday,

Re: cgi-bin

2002-05-03 Thread James Williamson
It all depends what Tomcat/Apache connector you're using, by default you can't stop requests being redirected to Tomcat using mod_webapp, although you can with jk. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Ken Anderson <[EM

Re: Tomcat and JSP Custom Tags

2002-04-29 Thread James Williamson
Javier, There's a jspversion element within the tag descriptor file, you need to change it to 1.2 James www.nameonthe.net UK Tomcat Hosting - Original Message - From: Javier Urbaneja Fan <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 12:35 PM

Re: Which Apache-To-Tomcat Connector

2002-04-24 Thread James Williamson
Can anyone confirm/deny this? > > > > > > Lance We wrote a quick and dirty patch which I should get round to sending to the Tomcat dev list which allows you to tell mod_webapp to ignore certain types of content. It basically introduces WebappIgnore directive to ignore

Re: DataSource from JNDI always null

2002-04-23 Thread James Williamson
x27; section to see if it can find a matching context within Tomcat. Send your server.xml file and httpd.conf file and I can tell you what's going wrong. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting > I have also experienced 1. below. Does anyone know of there is an

Re: Apache serving static content

2002-04-16 Thread James Williamson
Hi Ken, That won't work, mod_webapp only looks at the uri, the Alias directive modifies the filename (as do things like mod_rewrite) during the uri translation phase, obviously doing this has no effect. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Me

Re: Apache serving static content

2002-04-16 Thread James Williamson
Ken, I've send the dev list a few e-mails about this (and other bugs I've seen) and I should really send this patch to them. However, I need to eradicate a few issues with it before I send it to them. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Origin

Re: Apache serving static content

2002-04-16 Thread James Williamson
tion). Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Gabriel Maffia <[EMAIL PROTECTED]> To: Tomcat Users List Service <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 5:07 PM Subject: Apache serving static content Hello Again: I k

Re: Tomcat 4 + PHP + CGI

2002-04-16 Thread James Williamson
y appear to function OK). Regards, James Williamson www.nameonthe.net - Original Message - From: Chris Pheby <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Tuesday, April 16, 2002 1:50 PM Subject: RE: Tomcat 4 + PHP + CGI > Hi James, you can get a wo

Re: Tomcat 4 + PHP + CGI

2002-04-16 Thread James Williamson
Chris, That won't work, the mod_webapp connector doesn't work on Windows platforms. Regards, James Williamson www.nameonthe.net - Original Message - From: Chris Pheby <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Tuesday, April 16, 200

Re: Tomcat 4.0.3 manager reload bug?

2002-04-12 Thread James Williamson
to be done. Regards, James Williamson www.nameonthe.net - Original Message - From: David Farb <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 4:07 PM Subject: Tomcat 4.0.3 manager reload bug? > My appologies if I sent this twice, I sent it as

Re: Problem building mod_webapp.so for Solaris 8

2002-04-08 Thread James Williamson
Carol, I've never actually done it, but why not install GCC on a dev box and cross compile mod_webapp for your Solaris box? Regards, James Williamson www.nameonthe.net - Original Message - From: Carol Oakes <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]

Re: Webapp and warp

2002-04-05 Thread James Williamson
interested to know how you get on. Regards, James Williamson www.nameonthe.net - Original Message - From: Gabriel Maffia <[EMAIL PROTECTED]> To: Tomcat Users List Service <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 2:03 PM Subject: Webapp and warp Hello all, I´m act

Re: mod_webapp problem

2002-04-04 Thread James Williamson
Julien, Does that mean that patch I hacked together works OK? I haven't had time to properly test it yet. Regards, James Williamson www.nameonthe.net - Original Message - From: Julien OIX <[EMAIL PROTECTED]> To: Tomcat list <[EMAIL PROTECTED]> Sent: Thursday, April

Re: error loading taglib

2002-03-24 Thread James Williamson
Hi Isak, Are you sure you've put the class (CounterTag) in a place the classloader can find it? Regards, James Williamson www.nameonthe.net - Original Message - From: Isak Rickyanto <[EMAIL PROTECTED]> To: Tomcat User Group <[EMAIL PROTECTED]> Sent: Monday, March

Re: Apache and Tomcat contexts

2002-03-23 Thread James Williamson
t loads of seg faults. However, the little testing I did do looked encouraging. If you want a binary for a Linux machine let me know. Regards, James Williamson www.nameonthe.net - Original Message - From: Robert Nicholson <[EMAIL PROTECTED]> To: Tomcat-User <[EMAIL PROTECTED]&

Re: Unable to create jar cache

2002-03-21 Thread James Williamson
You sure you haven't run out of disk space? James Williamson www.nameonthe.net - Original Message - From: Yu-Meng Chong <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Thursday, March 21, 2002 10:28 AM Subject: Unable to create jar cache > Hi Al

Re: reloadable doesn't work with warpconnector

2002-03-20 Thread James Williamson
still looking for the previous id. The solution to this is to restart apache, the point where mod_webapp indexes the applications. Regards, James Williamson www.nameonthe.net - Original Message - From: Mike Johnson <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sen

Re: TC 4 - URLRewrite :: repost

2002-03-20 Thread James Williamson
ite mechanism (which mod_webapp normally ignores completely). I should have finished my tests by this evening is you want to give it a try. Regards, James Williamson www.nameonthe.net - Original Message - From: Reynir Hübner <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTE

Re: TC 4 - URLRewrite :: repost

2002-03-20 Thread James Williamson
ilter->Value->Container->Connector Regards, James Williamson www.nameonthe.net - Original Message - From: Reynir Hubner <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 6:18 PM Subject: RE: TC 4 - URLRewrite :: repost &g

Re: automatic loading..

2002-03-20 Thread James Williamson
hat's exactly what for it was made. > > Hope this help. > > Jean-Luc B :O) Although the manager 'install webapp feature' doesn't work with mod_webapp unless you restart Apache. Regards, James Williamson www.nameonthe.net -- To unsubscribe: <mailto:[EMA

Re: Problem with Tomcat and Apache

2002-03-19 Thread James Williamson
Hi Philip, You can't do it unless you start hacking mod_webapp or doing fancy things with Apache, such as resetting handlers, changing the order modules are called etc... Regards, James Williamson www.nameonthe.net - Original Message - From: Philip M. Meier <[EMAIL PROTEC

Re: Struggling for one week please Help Help..................

2002-03-19 Thread James Williamson
Uma, You've defined it the wrong way round, it should be: public static boolean gDefaultConnectionIsOracle = false; Regards, James Williamson www.nameonthe.net - Original Message - From: Uma Munugala <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March

Re: WebAppDeply and UseCanonicalNames

2002-03-18 Thread James Williamson
ut the 302 issue. The solution: hack mod_webapp or do something which we implemented, which is essentially moving over to using the filename, something we have on our development machine which we've been testing recently. Regards, James Williamson www.nameonthe.net - Original M

Re: Problem Compiling A JSP file

2002-03-17 Thread James Williamson
My guess, and not Tomcat related at all is you've forgotten to put the package statement in the JspCdBrowse.java file. i.e. package com.web_tomorrow.jspcd; Regards, James Williamson www.nameonthe.net - Original Message - From: Bahman Kalali <[EMAIL PROTECTED]> To: <[E

Re: OFFTOPIC: apache mod_rewrite

2002-03-15 Thread James Williamson
m, or shall I? > > Dan I've tried, they're not bothered. The now infamous 404 Apache/Tomcat bug is another example of mod_webapp's failing, closely related to a bug I reported a few days ago. I even offered to fix it but got no response. What I don't understand is why mod_

Re: OFFTOPIC: apache mod_rewrite

2002-03-15 Thread James Williamson
pretty similar (changing OK to DECLINED in > >wam_match), knowing that after a handler in the url rewrite stage has > >returned OK no other (such as mod_rewrite) gets a look in. However, this > >still didn't work for me, even though mod_rewrite in the logs said it'd > >rewr

Re: OFFTOPIC: apache mod_rewrite

2002-03-15 Thread James Williamson
it'd rewritten / as /index.jsp, I still got the 302? James - Original Message - From: Dan Lindy <[EMAIL PROTECTED]> To: James Williamson <[EMAIL PROTECTED]>; Edam Cheeseman <[EMAIL PROTECTED]> Cc: Tomcat Users List <[EMAIL PROTECTED]> Sent: Friday, March 15,

Re: OFFTOPIC: apache mod_rewrite

2002-03-15 Thread James Williamson
response which will dramatically affect your site's traffic. Regards, James Williamson www.nameonthe.net - Original Message - From: Edam Cheeseman <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 15, 2002 2:57 PM Subject: OFFTOPIC: apache mod_rewrite

Re: black magic mystery

2002-02-18 Thread James Williamson
- Original Message - From: E B <[EMAIL PROTECTED] > --- James Williamson <[EMAIL PROTECTED]> wrote: > > > > > Have you tried starting up Tomcat under a debugger > > (gdb) > > I have never used a debugger for java before, > can gdb be used on

Re: black magic mystery

2001-12-20 Thread James Williamson
From: E B <[EMAIL PROTECTED]> > This is about classloaders again. Same old problem > about message style soap services, and soap classes > in soap/WEB-INF/classes. > > 1. How do I find out which classloader loaded the > classes shown in the stack trace? Have you tried starting up Tomcat under a

Re: VERY VERY URGENT!!! PLEASE HELP!!!

2001-12-20 Thread James Williamson
- Original Message - From: Jayashree Gopal <[EMAIL PROTECTED] > Hello, > I have Tomcat version 4.0 installed which supports > servlet 2.3 API and JSP 1.2 specifications. > > I am writing a servlet which creates a session and > includes the username and password inside this > session. I

Re: mod_webapp connector on linux - HELP!

2001-10-05 Thread James Williamson
seeing a mod_webapp-eapi.so release... > > -- > > John Cartwright wrote: > > > James, > > > > I'm confused about what goes in the section. Do my > > WebAppConnection and WebAppDeploy go there? Can you point me to an > > example - something like "

Re: mod_webapp connector on linux - HELP!

2001-10-04 Thread James Williamson
> Actually, I am not setting up virtual hosts like you are, so the > mod_webapp result of application deployment *should* be localhost > (what's set as my ServerName), right? David, You have to define your context(s) within VirtualHost directives. Regards, James > > My apache error_log looks

Re: mod_webapp connector on linux

2001-10-03 Thread James Williamson
> I recognize this problem, and it seems like a connector-problem. The Apache Server > can not connect to Tomcat. > > I solved it with starting Tomcat before starting Apache. This means that everytime > I have to restart Tomcat, I have to restart Apache. > > // Matias > > > Have you tried restarti

Re: mod_webapp connector on linux

2001-10-03 Thread James Williamson
You need to deploy your contexts inside 'VirtualHost' directives in Apache. James - Original Message - From: John Cartwright <[EMAIL PROTECTED]> To: Tomcat User Mailing List <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 5:08 PM Subject: mod_webapp connector on linux > Hello All

Re: mod_webapp connector on linux

2001-10-03 Thread James Williamson
Have you tried restarting Apache? - Original Message - From: Aksel Schmidt <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 6:30 AM Subject: RE: mod_webapp connector on linux > > However, I'm still having a problem where I can reach my deployed web > > appli

Re: changes with mod_webapp

2001-09-24 Thread James Williamson
.On Mon, Sep 24, 2001 at 06:05:43PM +0200, Jos? Juan Rodr?guez wrote: >> >> Hi!! >> >> with the old mod_jk connector I have the next configuration for a context: >> >> Alias /plataforma "/opt/jakarta-tomcat-3.2.1/webapps/myexample/public" >> >> Options Indexes FollowSymLinks >> > >> JkMount /

Re: Hi! I have followed the instructions in

2001-09-24 Thread James Williamson
Hans, Can't remember but I'm sure it's mentioned in the docs, the WebAppDeploy handlers MUST be inside VirtualHost directives. i.e. NameVirtualHost 127.0.0.1 ServerName yourName WebAppDeploy your_app your_connection your_path Regards, James - Original Message - From: Hans-Erik Sky

Re: Tomcat 4.0 Apache Connector

2001-06-10 Thread James Williamson
Hi Ryan, This is actually mentioned on the tomcat-dev list, you need to modify your Makefile in apache-1.3, you need to add a -lpthread library parameter entry, changing @$(APXS) -c $(APXSFLAGS) mod_webapp.so to @$(APXS) -c $(APXSFLAGS) -pthread mod_webapp.so. I would send you a diff although I'm