Re: Recommendations for JSP development tools?

2001-02-08 Thread Brett W. McCoy
On Thu, 8 Feb 2001, John Coonrod wrote: I'd like to improve the productivity of my people here. To date, I've done all my JSP development with a text editor. Has anyone had any luck with JSP and any of the FrontPage type programs (including FrontPage?). Borland JBuilder is a good choice.

RE: Recommendations for JSP development tools?

2001-02-08 Thread Brett W. McCoy
On Fri, 9 Feb 2001, Chris Janicki wrote: I used to be a Cafe user, and hated every minute. Then I moved to Kawa and was very happy, but limited to Windows environments. Now with Forte I am *very* satisfied. (And its free too!) Dare I say it...? emacs (or xemacs) is actually my preferred

JServ - mod_jk

2001-02-23 Thread Brett W. McCoy
I am trying to migrate some applications from Apache/JServ to Tomcat using mod_jk, and I am having trouble getting Tomcat to find servlets that are in my classpath. The web application is really just a presentation layer on top of a proprietary application server built with Java. Many of the

Global Init Parameters

2001-02-26 Thread Brett W. McCoy
I have in http://www.chapelperilous.net/~bmccoy/ --- A rock store eventually closed down; they were taking too much for granite.

global init param context-param

2001-02-26 Thread Brett W. McCoy
I am using context-param to set global variables for my servlets, but my servlets are still not seeing them (the value is showing up as null). Here is an example: context-param param-namebw.client.configDir/param-name param-valueD:\dev\src\conf/param-value /context-param And the

RE: global init param context-param

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Brett Knights wrote: oamFileProps.load(config.getInitParameter("bw.client.configDir") + System.getProperty("file.separator") + "SystemPref.properties"); Context.getInitParameter for globals Argh, I was hoping you wouldn't

RE: JServ - mod_jk

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Adam Fowler wrote: Mod_jk has its own config file called mod_jk.conf.auto you'll need to caopy this to something like mod_jk.conf.correct and edit it for your paths etc. After this make sure apache is including it. I got the problem sorted out (not having mod_jk.conf

RE: JServ - mod_jk

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Brett W. McCoy wrote: *sigh* At least I'm the programmer who has to do the re-coding... Oops, that should be "At least I'm NOT the programmer..." :-) -- Brett http://www.chapelperilous.n

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Randy Layman wrote: I've found it easire to simply pass the session ID as a parameter, and then in my servlet receive it back and use the HttpSessionContext.getSession(sessionID). I find it easier than messing with the cookies. According to the 2.2 spec of the

Re: Missing folders under Tomcat webapps

2001-02-27 Thread Brett W. McCoy
On Tue, 27 Feb 2001, c cw288 wrote: I downloaded the Tomcat 3.2.1 on my NT and under the directory there should be 4 folders (admin, examples, ROOT and test) and 4 files (admin, examples, ROOT and test). I only see 4 files listed. the folders are not list, What's happening here? The files

Re: tomcat-apache.conf and startup

2001-02-27 Thread Brett W. McCoy
On Tue, 27 Feb 2001, Michael Whitman wrote: Everytime i run tomcat/bin/startup.sh my modified tomcat-apache.conf gets overwritten with the original version of the file. Any idea why this is happening? Because Tomcat creates that file everytime you start it up. Copy the modified file to a

More on JServ to Tomcat

2001-02-27 Thread Brett W. McCoy
In my JServ properties file, there is a section on servlet aliasing, like this: servlet.CallClient.code=com.company.clients.commpilot.servlets.CallClient Does anyone know if this the same as the servlet mapping statement in the web.xml file? If not, what would be the equivalent? -- Brett

Aliases mappings

2001-02-27 Thread Brett W. McCoy
Found the information in the old JServ docs -- servlet aliases in JServ and servlet mappings in Tomcat are one in the same. Might be handy to have a tool to convert JServ servlet zones to something Tomcat can deal with (like web.xml). Might even do it myself... -- Brett

Re: Newbie: mod_jk

2001-02-27 Thread Brett W. McCoy
On Tue, 27 Feb 2001, Xu, Lifeng wrote: We are now running Apache mod_jserv Tomcat and would like to know about mod_jk. Can someone points me to the direction where I should start? such as where I can find doc about mod_jserv, what it does and who to install, etc. Will mod_jk replace

Re: get init parameters

2001-02-27 Thread Brett W. McCoy
On Tue, 27 Feb 2001, Carlos de la Flor wrote: in the web.xml i have some init parameters: param namename/param-name param-valuevalue/param-value in the jsp page with the %=request.getInitParameter("name")% i print the value. But how can i this value put in a string? (String name2 = ... )??

Re: log() ?

2001-02-27 Thread Brett W. McCoy
On Tue, 27 Feb 2001, Shahed Ali wrote: Sorry for this stupid question, but how do I use the log() method in servlets ? In JSP application.log() seems to work, but in servlets, I tried getServletContext().log("adad") etc and I keep getting NullPointerExceptions The function signature is

Re: gmake

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001 [EMAIL PROTECTED] wrote: To run pgsql with Tomcat I need a soft name gmake (GNU make) the only thing i found is a make version by GNU, but no gmake software, does anyone know where I can find gmake It's very important thks for your answer Don't worry, gmake is

Re: Help with Cable Modem

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001, Dave Parkin wrote: I have an RCA cable modem supporting ATT high speed cable modem internet service. I installed tomcat. Got examples running (started tomcat successfully, etc.). http://localhost:8080 Big problem resulted - now I cannot ping the gateway. Does

Re: Can tomcat do ASP in VBScript

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001, mike thomas wrote: So back to my question, can tomcat serve up ASP pages written in VBSCript? Nope. -- Brett http://www.chapelperilous.net/~bmccoy/ --- The best

Re: newbi javabeans

2001-02-28 Thread Brett W. McCoy
On Thu, 1 Mar 2001, teh j wrote: I am fairly new to java beans but i was wondering if it were possible for one java bean to call another should it need to? Im fairly certain it is possible its just that i havent really seen this done before. A Javabean is just a Java class that adheres to

Re: alias servlet in Tomcat

2001-02-28 Thread Brett W. McCoy
On Wed, 28 Feb 2001, AC wrote: Does anyone know how to configure it so all I need is http://servername:port/? We solved this problem by having an index.jsp in the root directory that does a little bit of validation (checking for cookie support, etc.), then redirects to the real login servlet.

SSL Tomcat

2001-03-01 Thread Brett W. McCoy
I have some questions regarding the use of mod_ssl with Apache and Tomcat. The onlie docs don't go into great detail about configuration, so hopefuly someone here has more clue than I. In the online docs, the author recommends putting the mod_jk directives under the SSL port 443 virtual host

SSL Tomcat, continued

2001-03-01 Thread Brett W. McCoy
I forgot one more question, that is more of a programming question than a configuration question. I need to be able to use a custom error page that gets served if SSL is not available. Can this be accomplished with a JSP file, by capturing the error and redirecting to the error page in a manner

Re: ask a don't exists page and show other

2001-03-01 Thread Brett W. McCoy
On Thu, 1 Mar 2001, Carlos wrote: i have my pages from asp to jsp the problem is that there are users that asks asp pages. there is any way for make this: if my browser asks a *.asp page forward (show) the index.jsp page? You'd have to have a redirection in your ASP page to the new JSP

Re: default error page

2001-03-01 Thread Brett W. McCoy
On Thu, 1 Mar 2001, Carlos de la Flor wrote: can anybody says me how can i configure a default error page? if in my pages there is any error i want to show a error page, my error page. is thios posible? how can i make it? In your web.xml file for you r application, you will want to have

Re: Beans

2001-03-02 Thread Brett W. McCoy
On Fri, 2 Mar 2001, Brett W. McCoy wrote: Why does the creation of a Bean fail when I do this: jsp:useBean id="usersTable" scope="session" class="Table" But when I do this: jsp:useBean id="usersTable" scope="session" class="co

Re: Mail

2001-03-03 Thread Brett W. McCoy
On Fri, 2 Mar 2001, Arafat Mohamed wrote: I apologize if this is the wrong forum, but I really need a quick solution. I have a jsp page with an error associated with it. How do I set it up so that the error.jsp emails me with the error message? Can you dump the stack trace from an exception

Re: More on JServ to Tomcat

2001-03-03 Thread Brett W. McCoy
On Fri, 2 Mar 2001, Craig R. McClanahan wrote: ApacheCon Advertisement I am doing a session at ApacheCon next month in Santa Clara that highlights the important issues of migrating from Apache JServ to Tomcat. /ApacheCon Advertisement Dang, probably won't be there. And my deadline to have

Re: set auto-apache-config to ajp13

2001-03-03 Thread Brett W . McCoy
On 2001.03.03 18:17 Thomas wrote: How do you set tomcat to create its mod_jk.conf-auto file with: JkMount /*.jsp ajp13 instead of the default: JkMount /*.jsp ajp12 You have to put that in by hand -- Tomcat defaults to using Ajp12 with Apache unless you tell it otherwise. -- Brett

Re: error cannot LoadModule jk_module libexec/mod_jk.so

2001-03-04 Thread Brett W . McCoy
On 2001.03.04 23:32 Rick Yu wrote: Now, I use startup.sh to start tomcat firstly, and use /www/bin/apachectl startssl to start apache, but it display "Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto: Invalid command 'LoadModule', perhaps mis-spelled or defined by a

Re: web.xml configuration

2001-03-05 Thread Brett W. McCoy
On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote: servlet-mapping servlet-namenData/servlet-name url-pattern/se/tj/activity/servlets/nData/url-pattern /servlet-mapping My Java applet says that the servlet file cant be found. The servlet is supposed to

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Brett W . McCoy
On 2001.03.05 12:36 Manish Shahdadpuri wrote: I am a new Tomcat user. As far as I understand, tomcat is also a web server in itself. Is it possible to use tomcat alone as a web server without using any other WebServer e.g Apache etc. Only if you are serving JSP and servlets and no static

Re: loading problem mod_j.so -apache 1.3.19

2001-03-05 Thread Brett W. McCoy
On Mon, 5 Mar 2001, Diman wrote: in jakarta-tomcat-3.2.1-src/src/native/apache1.3 I successfully ran /usr/local/sbin/apxs -o mod_kj.o -I/usr/local/jdk1.2.2/include / -I/usr/local/jdk1.2.2/include/freebsd -DFREEBSD -I../jk -c mod_jk.c ../jk/*c mod_kj.o? That should be mod_jk.o --

Re: mod rewrite, RequestDispatcher and intercepting requests to the server

2001-03-06 Thread Brett W. McCoy
On Tue, 6 Mar 2001, frederic barachant wrote: I also have the idea of doing this, and thought that we could make all accesses create a 404, simply by having an empty site) then, by having all of them going to a servlet, you would do the first part. (interception) By moving the http port of

RE: Tomcat usability as a WebServer?

2001-03-06 Thread Brett W. McCoy
On Tue, 6 Mar 2001, Samson, Lyndon [IT] wrote: Or maybe your could just pass the cgi to a shell of some sort, it would set up the enviroment ( .cshrc etc ) for you. The shell should inherit its initial environment from its parent, ie the java exec. Oh yes, this causes 2 calls to

Re: SSL

2001-03-06 Thread Brett W. McCoy
On Tue, 6 Mar 2001, Stephane Boffin wrote: Has anyone setup SSL with Tomcat ? If yes, could I get a starting point to do that. There's a document on the Jakarta website that covers SSL configuration. -- Brett http://www.chapelperilous.net/~bmccoy/

Re: Configuring Servlet for alternative URL access

2001-03-06 Thread Brett W. McCoy
On Tue, 6 Mar 2001, Gordon Rose wrote: What I can't seem to figure out is how to configure (and in which file?) in order to be able to access the HelloWorld servlet using a URL of http://localhost/GApp/HelloWorld I know I can do this with JRun (first environment with which I worked). Is

Re: CLASSPATH for beans different than WEB-INF for JSPs?

2001-03-07 Thread Brett W. McCoy
On Wed, 7 Mar 2001, David Wall wrote: This is great, but it doesn't seem like that classpath is available to the javabeans that my JSPs use. Does that make sense? Is the classpath only setup for the JSPs (and if not, why does Jasper report the classpath setting for each JSP page invoked?)?

Re: tomcat ssl config and apache

2001-03-07 Thread Brett W . McCoy
On 2001.03.07 21:36 mikhail malamud wrote: Do I need to configure anything on Tomcat for SSL if I already have SSL working on Apache and Apache works together with Tomcat. Why? There's very little you need to configure, actually. You will probably want to capture some of the SSL session

SSLRequireSSL

2001-03-08 Thread Brett W. McCoy
I am using Apache + mod_ssl with Tomcat, and can't seem to get certain directives to work with Tomcat files. I have something like this: Directory "D:/dev/public_html/Login" SSLRequireSSL /Directory in my httpd.conf, within the 443 virtual host , but acessing the URL in question without

Re: problems with conf

2001-03-10 Thread Brett W . McCoy
On 2001.03.10 18:10 [EMAIL PROTECTED] wrote: I get this message when I try to open up server.xml: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. What are you trying to open it

Re: problems with conf

2001-03-10 Thread Brett W . McCoy
On 2001.03.10 18:41 [EMAIL PROTECTED] wrote: when I open it with notepad it gets all mushed and ugly, very incoherent. Is there any other editor that can open it. Ultraedit is a good editor for Windows. I use emacs on Windows for all of my editing, but there are lots of other ones you can

Re: Classpath

2001-03-12 Thread Brett W . McCoy
On 2001.03.12 02:27 Jeff Finley wrote: I receive the following errors: javax.servlet.ServletException: Cannot create bean of class Joe Here is the source for the jsp: html jsp:useBean id='joe' scope='session' class='Joe'/ head /head /body /html Your bean needs to have the

Re: Logout of telnet session - tomcat stops

2001-03-12 Thread Brett W . McCoy
On 2001.03.12 06:41 Gary Lawson wrote: I want to be able to control tomcat on a remote (Solaris) machine by telnet from a PC. It starts fine but when I close the telnet session, tomcat stops. More detail: 1. Log in as gary. 2. su root (it runs on port 80) 3. start tomcat (runs fine)

Re: Admin, please remove me

2001-03-13 Thread Brett W. McCoy
On Tue, 13 Mar 2001 [EMAIL PROTECTED] wrote: Anyone out there with admin privileges? Whoever setup this system should re-evaluate it. There are so many people trying to unsubscribe and all we get back is a message stating that our email address are not on the list yet we keep on receiving