Develop App: Message says JAVA_HOME is not set

2002-12-19 Thread Paul Campbell
I'm stuck and have no more ideas of how to proceed. I am trying to run ant to list and install a web application using jdk 1.3.1_06, tomcat 4.1.17(not the jdk1.4 version), RH 8.0, Ant 1.5.1 Used the Application Developer docs and set up the build.xml based on the example. Ant was running prev

Re: slightly OT: tag library for paging

2002-12-19 Thread Paul Campbell
JSTL has sql. http://jakarta.apache.org/taglibs/doc/standard-doc/standard/index.html <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql"; %> SELECT NAME< IQ FROM USERS WHERE IQ> 220 [EMAIL PROTECTED] covers taglibs. At 09:26 PM 12/19/2002 -0800, you w

Re: custom 404 error behaviour - obtaining the url requested

2002-12-19 Thread Paul Campbell
in web.xml 404 /NotFound.jsp # note the / is NOT a typo At 09:59 AM 12/20/2002 +1100, you wrote: >Hi all, > >I'm sure I've seen this discussed before so apologies for repeating but I can't >manage to find it in the archives nor via googling. > >Can anyone enlighten me on th

Where did my Unicode go in 4.1.17?

2002-12-20 Thread Caton, Paul
n 4.0.6 and 4.1.17 that would explain my vanished Arabic? Thanks, Paul. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: JAVA_HOME problem with 4.1.18

2002-12-20 Thread Paul Campbell
I had the same sort of problem yesterday in 4.1.17 that I have not yet solved. When startup.sh is executed, it echos the value of JAVA_HOME and it is correct. When I run ant -diagnostics list (or install) I get: java.home=/var/java/jre which is NOT what the JAVA_HOME points to. JAVA_HOME is set

Deploying/Installing war using Tomcat 4.1 manager

2002-12-20 Thread Paul Mahoney
ncountered exception java.net.MalformedURLException: no protocol: The form has a third field: Config URL. I'm leaving this blank as I don't know what to put in it. Is this my problem? Is so, what goes here? Many thanks Paul --- Paul Mahoney, Director, X-Act Solutions Ltd smail: 71 South C

Solved: Develop App: Message says JAVA_HOME is not set

2002-12-20 Thread Paul Campbell
Like so problems, they seem so obvious when you find the error of your ways. I had changed the connector port from 8080 to 6060 in conf/server.xml but not in ant build.xml. The manager was still trying to run the catalina-ant commands list, install etc against an http-proxy and not against tomcat

RE: Configuring mod_jk - Again! [getting desperate]

2002-12-21 Thread Paul Campbell
I usually put my html and jsp files in CATALINA_HOME/webaps/XXX I said XXX to represent the context you are planning to use. I would hope your use of examples is just an example, because I would think it might conflict with the "distribution examples" Best Wishes At 07:45 PM 12/21/2002 -0500, yo

Re: SSL Certificate

2002-12-22 Thread Paul Yunusov
On Sunday 22 December 2002 04:41 pm, Rafael Fernandez wrote: > Can somebody send me a link where I can find information on making my > own SSL certificate? http://www.google.com/search?q=own+ssl+certificate Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional

Re: Directory for classes

2002-12-22 Thread Paul Campbell
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html the url above discusses the organization in detail. It also discusses how to use ant to build and deploy and test you application. To answer what I think your question: I put the classes in: $CATALINA_HOME/webapps/some_project_nam

Re: Still problem with directory

2002-12-22 Thread Paul Campbell
1. I think you may want to say $CATALINA_HOME/webapps/YOUR_PROJECT_NAME_HERE/WEB-INF/classes/package/names/actual.class. The change is that you specify a context name. 2. You will use that context name as follows: . http://localhost:8080/YOUR_PROJECT_NAME_HERE/servlet/package/names/MyServlet or

Re: Tags

2002-12-23 Thread Paul Campbell
This book has good examples and explanations. See Chapter 14 At 12:08 PM 12/23/2002 -0200, you wrote: >I don't know if this question is off-topic...but... >I'm looking for a simple example of tag in jsp, for example "hello World, today is >..." >But i can't find this, i found complex examles that

with the URL Re: Tags

2002-12-23 Thread Paul Campbell
http://pdf.coreservlets.com/ At 09:31 AM 12/23/2002 -0800, you wrote: >This book has good examples and explanations. >See Chapter 14 > >At 12:08 PM 12/23/2002 -0200, you wrote: >>I don't know if this question is off-topic...but... >>I'm looking for a simple example of tag in jsp, for example "hell

Re: localhost [OT]

2002-12-25 Thread Paul Campbell
You need to have a file hosts hosts.sam was a "sample" provided by MS. copy hosts.sam hosts and then try it again. At 09:43 PM 12/25/2002 -0800, you wrote: >I got the windows\hosts.sam file and assigned my actual ip address. Browser >still doesn't recognize localhost a

RE: Question - Form Validation

2002-12-28 Thread Paul Campbell
Advanced Java Server Pages by Geary (Prentice Hall 2001) At 03:30 PM 12/28/2002 -0500, you wrote: >It seems to me that Struts is more for large scale enterprise webapps. >Eventually once my webapp is up and running in a production environment, if >our project seems to be more popular than expected

Re: Newbie: Java Mail Problem

2002-12-28 Thread Paul Campbell
In/localhost:8080/examples/jsp/mail/sendmail.txt it notes that the assumption is that no user authentication is required. Is it reasonable to assume that verizon.net will expect user authentication? -- Example Mail Sending Form

Re: reducing tomcat & jasper memory footprint

2002-12-30 Thread Paul Yunusov
ology. JSP is a templating solution whereas one JSP describes a layout of any number of end documents. I suggest you change your software to generate an HTML file per artcile rather than a JSP. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Tomcat Ant custom taks

2002-12-30 Thread Paul Campbell
Some other books Java Tools for ExtermeProgramming also handles EE and Junit etc I think the Java Development with Ant is way far better than O'reilly book. The project documentation is actually pretty good too. At 05:18 PM 12/30/2002 -0500, you wrote: >Not sure if this is what you're looking

Re: Ant Build Script Fails to Invoke Manager with "install" command

2002-12-30 Thread Paul Campbell
Did you update conf/web.xml to add a manager username/password/role? 401 means unathorized access to a password protected page At 12:21 AM 12/31/2002 -0500, you wrote: >Can anyone suggest what's wrong? As a relative newbie, I've been modifying and using >the example build.xml file provided wit

Re: Placement of Java Bean [fixed typo]

2003-01-01 Thread Paul Campbell
I agree with Jason. The other thing may be to do an import of the class(bean). Since your'er error msg errors on line2 it suggests you may not have that import. At 07:56 PM 1/1/2003 -0500, you wrote: >I did not read your posting very carfully so be warned: > >my first hack at this would be to pla

Setting up a JNDI entry for Sybase

2003-01-04 Thread Paul Carpenter
on("Boom - No Environmental Context"); DataSource ds = (DataSource)envCtx.lookup("java:comp/env/jdbc/DBmultileague"); I'm sure I'm close, and my server.xml and web.xml both seem to comply to the rules. Is there something I need to do to have InitialContext java:comp/en

Re: timestamps in catalina.out ?

2003-01-04 Thread Paul Yunusov
or you. You just need to set the appender to console and define the timestamp format. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Setting up a JNDI entry for Sybase

2003-01-04 Thread Paul Carpenter
m the envCtx, for some reason that will not work. But I still don't know why the ds.getConnection doesn't fails? Confused... Paul On Saturday, January 4, 2003, at 05:55 PM, Paul Carpenter wrote: Hi Has anyone managed to get Tomcat talking to Sybase via a JNDI resource? I&#

Re: JSPs throwing exceptions under new installation of Tomcat

2003-01-04 Thread Paul Campbell
root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main It's looking for tools.jar At 01:46 AM 1/5/2003 +0200, you wrote: >Sorry, >Just realized that the HTML attachment didn't go through :-D >Here's a piece of the exception: > >- >type Exception report > >message I

Re: Tomcat-4-1-12 Connection Pool problem JNDI Datasource

2003-01-06 Thread Paul Carpenter
d the suggestion from Iran Marcius (thread: Still can't get JNDI Datasource) which was to and an extra bit to the i.e. naming="true" But alas, no luck. Thanks Paul On Monday, January 6, 2003, at 01:06 PM, David Hemingway wrote: There was nothing meaningful in the logs no.

Re: Tomcat-4-1-12 Connection Pool problem JNDI Datasource

2003-01-06 Thread Paul Carpenter
ecify which JDK you were running in your build, and none of the threads in the archive seem to stress this. I'm quite surprised that the java source compiles in this case, but could this be the simple reason? Or is this package hidden in one of the .jar file somewhere in common/lib? Than

Re: reloading webapp from build.xml

2003-01-06 Thread Paul Campbell
"ant" does reload. Look in the Application Developer documentation http://localhost:8080/tomcat-docs/appdev/index.html At 08:04 AM 1/6/2003 -0500, you wrote: >Hi, > >I have an ant script (small, b/c I'm new to ant) that builds some classes and copies >them over to my WEB-INF/classes directory.

Re: Tomcat 3.3.1 Problem

2003-01-06 Thread Paul Campbell
Should it be apps-BS.xml? This is what I saw in the docs: · Add a entry in the Tomcat apps.xml configuration file. This approach is described briefly below, and allows you to position the document root of your web application at some point other than the $TOMCAT_HOME/webapps/ directory. D

Re: war file deploy/redeploy/reload mechanisms?

2003-01-06 Thread Paul Campbell
I also delete the existing directory and then restart. Your message didn't mention the restart. There is another gotcha. That I have encountered that occurs it you have an entry for that Is that your case? At 11:56 AM 1/6/2003 -0600, you wrote: >Reading the docs, it seems that deploying or rede

Re: Unable to compile class for JSP

2003-01-06 Thread Paul Campbell
It may be looking for tools.jar. Stick a pointer to it in a CLASSPATH and see what happens. At 06:12 PM 1/6/2003 -0600, you wrote: >I have just installed Tomcat 4.1.18 under Windows 2000 (using Java JDK >1.4.0). When I try to run the examples I get >"org.apache.jasper.JasperException: Unable to c

Re: Logger Problem

2003-01-06 Thread Paul Campbell
This is supported in log4j. http://jakarta.apache.org/log4j/docs/index.html At 01:24 AM 1/7/2003 -0500, you wrote: >I am using a simple logger I made for an application. It is used to debug my server >side Java classes and JSPs . The idea is that the logger file name is made on the >current da

Re: Tomcat-4-1-12 Connection Pool problem JNDI Datasource

2003-01-07 Thread Paul Carpenter
ources.jar jasper-compiler.jar servlet.jar jasper-runtime.jarturbine-2.1.jar jconn2.jar velocity-1.2-dev.jar jdbc2_0-stdext.jar Thanks Paul On Tuesday, January 7, 2003, at 10:01 AM, Peng Tuck Kwok wrote: Paul Carpe

Re: Tomcat Still Doesn't Display Servlet!

2003-01-07 Thread Paul Campbell
If you do what is in these docs it WILL work. http://boats:8080/tomcat-docs/appdev/index.html It may take an hour to read and understand it and it may take half and hour to install ant and cut/paste the build.xml. Please just follow the directions. and you won't need to come back with "old hors

Re: include files in server.xml?

2003-01-08 Thread paul miller
Can some one post an example on how to do this. I would love it if my app's web.xml could "include" another xml file This is what I have tried with no luck http://java.sun.com/dtd/web-app_2_3.dtd"; [ ]> §ion1; various paths to section1.xml did not change the error message: 2003-01-

Re: Repost: Can't connect to a running network-enabled mysql server on localhost

2003-01-08 Thread Paul Campbell
You might start mysql with --log and see if that gives more info. At 10:26 AM 1/9/2003 +0800, you wrote: >Since I didn't get a response the first time round, and I CAN'T believe >that nobody has ever run into this before, and I can't find what I'm >looking for in the FAQ or the archive, and the do

Re: Tomcat Still Doesn't Display Servlet!

2003-01-09 Thread Paul Campbell
apter that covers this topic online at http://developer.java.sun.com/developer/Books/javaserverpages/servlets_javaserver/servlets_javaserver05.pdf It is Chapter 5 of Marty Halls "more servlets and java server pages". Cheers At 09:32 PM 1/9/2003 -0800, you wrote: > Paul, just a quick not

Re: How do I...

2003-01-10 Thread Paul Yunusov
cat documentation rocks. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: How do I...

2003-01-10 Thread Paul Yunusov
, etc. when running the actual server startup command. That command is a part of the catalina.sh script (and its Windows equivalent). Search that script for /logs/catalina.out and you will see the output streams' redirection in action. The above is based on the assumption that you use Tom

Re: How do I...

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 02:24 pm, Luc Foisy wrote: > Thanks paul, that was some kind of answer I was looking for. > > Since the documentation said this (after looking at it again just moments > ago) Standard Error Logger (org.apache.catalina.logger.SystemErrLogger) The > Standa

Re: Logs - Logger

2003-01-10 Thread Paul Yunusov
er.html > > Has anyone more any idea? > > Thanks again! Check out the "How do I..." thread from a few minutes ago. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: dispatcher.forward(), but with new URL

2003-01-10 Thread Paul Yunusov
st to the new URL (main.jsp in your case). It results in the new URL being shown in the browser's address field. Note that the original request's parameters, which were sent to the servlet, are lost but check the sendRedirect()'s documentation for more details. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: dispatcher.forward(), but with new URL

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 03:42 pm, Erik Price wrote: > Paul Yunusov wrote: > > sendRedirect() in HttpServletResponse will send an HTTP redirect response > > to the client so the client's browser itself makes a new request to the > > new URL (main.jsp in your case). It re

Re: Context elements question

2003-01-10 Thread Paul Yunusov
context path (meaning that I would not have > anything valid to specify for docBase), would I then just create a dummy > webapp in directory ROOT (or wherever) just so that I could comply with > this ? > > - Charlie Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: How do I...

2003-01-10 Thread Paul Yunusov
pp and specifically with Logger instances. However, I think this approach would violate the KISS rule and attract the wrath of future generations of programmers (or your colleagues). It's really easier to replace System.out.print() with commons-logging calls judging from the information you supplie

Re: interesting java.lang.NullPointerException error when first viewing an index.jsp page - refresh once and page loads correctly

2003-01-10 Thread Paul Yunusov
The stack trace for the NPE gives you a clue where in the JSP to look for the culprit and what snippet to post. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: instantiating a bean in a Servlet, not a JSP

2003-01-10 Thread Paul Yunusov
) in HttpServletRequest. (HttpSession, as the name suggests, is specific to HTTP while ServletContext is application layer protocol agnostic). 2) id attribute in the jsp:useBean tag would be "nameOfInstance", not "ub". > > Thanks, > > Erik Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Cookies

2003-01-10 Thread Paul Yunusov
with this either. I don't know if this is implementation-dependent or established somewhere in the spec. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Context elements question

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 04:36 pm, Charlie Toohey wrote: > Paul, > > That's exactly my point -- and my question. I do NOT have a ROOT directory, > THEREFORE Automatic Application Deployment does not automatically create a > Context element with context path equal to the empty

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Paul Carpenter
Daren That's interesting, I'm using the mod_jk connectot and warp, but still have the null problem. What does your Apache config look like? Paul On Saturday, January 11, 2003, at 08:52 AM, Daren R. Sefcik wrote: Humm...well what do you know..I now have it working! I was us

Re: Tomcat-4-1-12 Connection Pool problem JNDI Datasource

2003-01-07 Thread Paul Carpenter
For the list ...here's a snippet of an off-line post between myself and Manav (tahnks, Manav). His servlet (plus a tweak) may help someone identify what's happening: Thanks paul Manav So, I tweaked the code you gave me a little by adding: try { out.println(

Re: interesting java.lang.NullPointerException error when first viewing an index.jsp page - refresh once and page loads correctly

2003-01-11 Thread Paul Yunusov
On Friday 10 January 2003 05:49 pm, Brandon Rodak wrote: > Paul, > > Here is a link to the Java - http://www.flex-internet.com/java.txt > > Thanks again for your help > > Brandon Rodak > Web Services > Computer Marketing Corporation > http://www.cmcflex.com & htt

Re: HTTP Status 404 with Tomcat 4.1.18

2003-01-11 Thread Paul Yunusov
s automatically mapped to /servlet/* pattern and it invoked your servlets for you. You can find commented out lines related to that in the server's web.xml in the conf directory. If you want more info search this list and check out conf/web.xml. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Document Root

2003-01-11 Thread Paul Yunusov
you at all because it's for internal Tomcat use. The webapps directory is the default location for your web applications in Tomcat. You can change that location using the information from the first link above. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Basic questions

2003-01-11 Thread Paul Yunusov
riting a shell script to developing a native application. If you use UNIX, try man crond at the prompt. #2: Have a Controller servlet that will forward (RequestDispatcher comes to mind) to different JSPs based on any criteria including time. Ah, the advantages of Model 2... Paul -- To unsubscr

Re: A problem with 4.1.18

2003-01-11 Thread Paul Yunusov
security stuff? > > > Here is my security constraint in web.xml: > > > > > > SSLspecial > /protectedpage/* > > > specialrole > > > CONFIDENTIAL > > Did you read this? http://jakarta.apache.org/tomcat/to

Re: Basic questions

2003-01-11 Thread Paul Yunusov
n below. You got your servlet-mapping element wrong before. After that just make sure GreetingServlet.class is in webapps//WEB-INF/classes and you're ready to go (http://localhost:8080//MyOwnServlet should work then). greeting GreetingServlet greeting

Re: Changes in jsps do not appear

2003-01-12 Thread Paul Yunusov
ave the updated copy on the server or not. I personally have never had a problem like yours. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Can't find JAVA_HOME

2003-01-12 Thread Paul Yunusov
d be running Tomcat as one user and echo as another - environments are going to be different. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: http://localhost and DNS

2003-01-12 Thread Paul Yunusov
to ask any one from Canada using > Rogers' ISP about their experience, let me know please have you experienced > this problem. One question more, do I need some extra permission/service > from ISP company to run web server application at my computer. > > Regards, > Tomislav ht

Re: help - tomcat/dbcp deployment

2003-01-12 Thread Paul Yunusov
duplicate the enviroment on the development server, and I > think I have achieved duplication, BUT it still doesn't work. > > It seems not not be able to find the JDBC driver, it thinks the > driverClassName I am passing through is NULL. Try putting the driver's jar file

Re: Precompiling JSP - setup

2003-01-14 Thread paul miller
you could start an ant build script before starting tomcat check out http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html --- Hari Venkatesan <[EMAIL PROTECTED]> wrote: > Is there any documentation that explains how to setup parameters for > precompiling JSP's when Tomcat Server starts

stack trace error when viewing html source, but the display in browser is good.

2003-01-15 Thread Paul Tomsic
)); then that output shows me exactly what I see in the browser, but when I view source on it in the browser, I get a stacktrace. Any thoughts on this strange behaviour? Thank you, Paul __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordabl

Re: stack trace error when viewing html source, but the display inbrowser is good.

2003-01-15 Thread Paul Tomsic
yes, what I'm saying is that our servlet is actually sending the output to the browser, but when you view source of that output in the browser, it displays a stacktrace. The browser, however, is showing what we expect (the desired HTML). Here's the stackTrace: (I've removed the html,head,title tag

Re: mod_jk2/unixsocket: can't create apr

2003-01-16 Thread Paul Gregoire
Just a quick question related to this thread.. does Apache 2.0.43 have to be compiled with APR to get Jk2 to work? - Original Message - From: "Brzezinski, Paul J" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2

Re: Logging

2003-01-20 Thread Paul Yunusov
Assuming your Tomcat version is 4.1.x, visit here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html then scroll down to Attributes-Standard Implementation and check "swallowOutput" out. HTH, Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Logging

2003-01-20 Thread Paul Yunusov
On Monday 20 January 2003 11:42 am, Reynir Hübner wrote: > allright, how could I miss that.. > > Thanx man, > > -reynir No problemo. Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: REBOOT MACHINE

2003-01-21 Thread Paul Brinkley
At 09:11 PM 1/21/2003 -0200, Mauricio Matias wrote: Hey people, is normal i have to reboot my comp when I change anything in classhpath or server.xml or web.xml. It isnt enough restart Tomcat. It's not normal. A change in either XML file should (IIRC) take effect the next time you start Tomcat,

JWSDP and Tomcat

2003-01-26 Thread Paul Carpenter
whatever the latest release is? Can I simply dump the jakarta-tomcat-4.1.nn directories right on top of the JWSDP files? Thanks Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

JNDI jdbc resources

2003-01-26 Thread Paul Carpenter
missing? I'm sure my jars are in the right place, as a regular forClass approach in the same webapp works with no problems? Thanks Paul tomcat 4.1.12, Mac OSX 10.2.3 Output from my test servlet: Simple lookup test : dbName : org.apache.commons.dbcp.BasicDa

URL alias

2003-01-26 Thread Paul Phillips
at to my controller servlet AND at the same time include the parameter event=login. The servlet-mapping configuration in web.xml will allow me to map login -> controller, but how do I throw in the parameter and its value? Thanks Paul Phillips -- To unsubscribe, e-mail: <mailto:[EMAI

Re: hi,I need your hand to get rid of my question

2003-01-26 Thread Paul Yunusov
t reloading interval is 15 seconds,i want to > decrease the interval to 1 second to see the new jsp as soon as > possible,what shall i do ? sincerly,yours > [EMAIL PROTECTED] This should help: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.ht

Re: JNDI jdbc resources

2003-01-27 Thread Paul Carpenter
ultileague javax.sql.DataSource Container Thanks Paul On Monday, January 27, 2003, at 09:21 AM, Peng Tuck Kwok wrote: Let's have a look at your web.xml as well. Might be helpful. Paul Carpenter wrote: Hi All I've scoured the list and got so close, yet so far from maki

Re: JNDI jdbc resources

2003-01-28 Thread Paul Carpenter
s in common/lib - which I believe is right. I'm starting to think that this just plain doesn't work in Tomcat (at least not in 4.1.12 or 18) - I've tried both now. Unless MAC OSX is to blame? Paul On Tuesday, January 28, 2003, at 12:06 PM, Peng Tuck Kwok wrote: Hmm, Paul your

Re: Redirect and Tomcat

2003-01-29 Thread Paul Yunusov
status 302 with its Redirect directive by default. It's not clear what status Tomcat uses for sendRedirect() from the servlet specs, which only say "Sends a temporary redirect response to the client using the specified redirect location URL". You can

Re: Redirect and Tomcat

2003-01-30 Thread Paul Yunusov
ty with such clients is a concern, the 302 status code may be used instead, since most user agents react to a 302 response as described here for 303. Again, setStatus() and sendRedirect() in HttpServletRequest are your friends here. I pulled the information above from rfc-editor.org. Paul -

error when startup tomcat.

2003-01-31 Thread Paul Hsu
eption(Er rorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper. java:173) Paul Hsu

Need Help

2003-01-31 Thread Paul Hsu
17:59:23 StandardHost[localhost]: Removing web application at context path /admin Paul Hsu

JK2 for Apache 2.0.44 on Linux

2003-02-02 Thread Paul Gregoire
Does anyone here know where i can find jk2 2.0.2 for apache 2.0.44?? i am trying to get tomcat 4.1.18 running on my Redhat 8 box, but i cannot seem to get connectors build for myself. I also cannot find them on Apache's site. Thanks in advance

Re: JK2 for Apache 2.0.44 on Linux

2003-02-02 Thread Paul Gregoire
L PROTECTED]> Sent: Sunday, February 02, 2003 8:09 PM Subject: RE: JK2 for Apache 2.0.44 on Linux > > http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. > 1/bin/linux/i386/ > > John > > -Original Message- > From: Paul Gregoire > To

Re: JK2 for Apache 2.0.44 on Linux

2003-02-03 Thread Paul Gregoire
able on my site: > > http://www.johnturner.com/howto > > John > > > > -Original Message- > > From: Paul Gregoire [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, February 02, 2003 11:22 PM > > To: Tomcat Users List > > Subject: Re: JK2 for Apache 2.0.44 on

Re: web.xml question

2003-02-03 Thread Paul Hsu
Not really, if you have a servlet is used for startup a background process, then you do not need a mapping section. - Original Message - From: "Pooleery, Manoj" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 2:22 PM Subject: web.xml questi

tuxedo.org trouble

2003-02-11 Thread Paul Brinkley
At 08:02 PM 2/10/2003 -0800, Mike Johnson wrote: (sorry about the google cache, tuxedo.org seems to be redirecting random places right now.) I didn't know this until yesterday, but Eric S. Raymond's new home is catb.org. So now you're looking for http://catb.org/~esr/faqs/smart-questions.html

profiling the heap from within tomcat?

2003-02-11 Thread Paul Tomsic
y exception, but I'm having trouble tracking down the exact location of the problem. thanks, Paul __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com ---

[HOWTO] Apache 2.0.4x Tomcat 4.1.x JK2

2003-02-12 Thread Paul Gregoire
I have a howto that works for us at http://www.vmdirect.com/ for our windows based installs. http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Beware: Don't use JNI inprocess mode with JK2, it's badly broken

2003-02-12 Thread Paul Gregoire
In the attachments to Rahul's bug it appears he is using Win32; we have Apache 2.0.44 / Tomcat 4.1.18 / JK2 2.0.2 working inprocess just fine on our windows boxes. I ran into a problem when i tried to use inprocess on Linux and have given up for now; I can however run it out of process just fine

Tomcat 4.1.12 Form authentication with IIS 5

2003-02-13 Thread Paul Bothma
users /admin/login.jsp /error.html HP_admin I'm using the isapi_redirect.dll filter in IIS to redirect any request to *.jsp to Tomcat. (Works fine outside of the secure sections) Any ideas on how to correct this er

JDBCRealm

2003-02-13 Thread Paul Bothma
min /admin/login.jsp /error.html HP_admin Please help, Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: JDBCRealm [SOLVED]

2003-02-13 Thread Paul Bothma
Oops, I made a case mistake with usernameCol="user_name", should be userNameCol="user_name" Thanks. Paul -Original Message- From: Paul Bothma [mailto:[EMAIL PROTECTED]] Sent: 13 February 2003 17:02 To: Tomcat Help Subject: JDBCRealm Hi, I'm trying to use

RE: RE: Oracle cursor problem with Tomcat 4.1.12 and Commons BDSF

2003-02-13 Thread Paul French
The pool manager won't close a connection being used. I use oracle jdbc and I have found if I do the following I do not get any problems During the doGet or doPost { try { Get a connection from the pool Prepare a statement Execute and get a result set Close the result set when finishe

RE: Tomcat 4.1.12 Form authentication with IIS 5

2003-02-14 Thread Paul Bothma
14 10:15:23 StandardContext[/HP]: Mapped to servlet 'jsp' with servlet path '/jsp/error.jsp' and path info 'null' and update=true Log ends--- Also, for some reason when I go to /admin it takes quite a long time (about 5 sec) to redirect me to login.jsp, whereas w

Re: RTFM and Ettiquette was: MY ATTITUDE

2003-02-14 Thread Paul Brinkley
At 05:59 PM 2/13/2003 -0800, Jeff Wishnie wrote: Although I agree wholeheartedly with the sentiment--do your homework before asking for help--lets not forget that given the disorganized state of most opensource documentation, being pointed to the proper docs helps a lot. Specifically, when some

RE: servlets don't work in own webapp (finshed writing this time)

2003-02-15 Thread Paul Bothma
Hi, Look at the web.xml for /examples. You'll see that you need to map your servlet, etc. Looks something like this: SendMailServlet SendMailServlet SendMailServlet /SendMailServlet Hope this help. Paul -Original Message-

Apache 2 and Tomcat 4.1.12 on W2K

2003-02-16 Thread Paul Bothma
dule statement has been removed. I guess that the mod_jk.dll only works for version 1.3 of Apache. (I did notice something in the Apache docs that there are some changes to how modules are loaded in v. 2). Any ideas on what can be done to get Tomcat

RE: Error while running JSP's on tomcat 3.2.4

2003-02-17 Thread Paul Bothma
Hi, Could you please post the JSP file. The problem appears to be with a MessageFormat.format() call in your code somewhere. Paul -Original Message- From: Gupta, Ashish (CORP, Consultant) [mailto:[EMAIL PROTECTED]] Sent: 17 February 2003 15:24 To: [EMAIL PROTECTED] Subject: Error while

JAR problems with Tomcat 4.1.12 on Redhat 7.1

2003-02-17 Thread Paul Bothma
base using org.gjt.mm.Driver either. Doesn't give a ClassNotFoundException through. Anyway, if someone has any ideas, please help. Attached are the log files for the admin context and localhost. Thanks, Paul 2003-02-18 09:00:34 WebappLoader[/admin]: Deploying class repositories to work d

RE: Error while running JSP's on tomcat 3.2.4

2003-02-18 Thread Paul Bothma
ass, which uses the Locale information supplied by the call to org.apache.jasper.Constants.getString(). Hope some of this help. Paul -Original Message- From: Gupta, Ashish (CORP, Consultant) [mailto:[EMAIL PROTECTED]] Sent: 17 February 2003 19:59 To: Tomcat Users List Subject: RE: Error while r

RE: Tomcat querry

2003-02-18 Thread Paul Bothma
. Regards, Paul. -Original Message- From: Jayanshu Gandhi [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 07:36 To: [EMAIL PROTECTED] Subject: Tomcat querry Dear Sir, I have installed tomcat-4.1.18 on red hat linux-8.0 My problem is how to set password and username for administrator and

RE: Using Tomcat as a service in Windows 2000

2003-02-18 Thread Paul Bothma
Hi, Here is some docs on using IIS and Tomcat. http://paul.xtracker.co.za/iis.zip Paul -Original Message- From: AllStarRewards, Inc. Tech Support [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 10:26 To: [EMAIL PROTECTED] Subject: Using Tomcat as a service in Windows 2000 Hello

RE: SessionId across webapps in tomcat

2003-02-19 Thread Paul French
Not sure how tomcat implements its session management using cookies. It would make sense to keep web apps separate (i.e have their own session cookie). If you create your own cookie have you tried explicitly setting the path of the cookie to '/'. Perhaps tomcat defaults the path of a cookie to the

RE: JK2 2.0.1 and Apache 2.0.44 problem

2003-02-19 Thread Paul Gregoire
To make changes to tomcat under jboss you must edit tomcat41-service.xml not server.xml; changes made to the server.xml will not be used by tomcat. The tomcat41-service.xml file will be located in your /deploy directory of the selected configuration set. Might i suggest that you purchase the JBoss

<    1   2   3   4   5   6   7   8   9   10   >