Tomcat Manager won't undeploy

2002-12-02 Thread Mark
is? I stopped the app first but that doesn't help. I searched the archives to no avail. I'm looking at integrating TC manager functions into our Ant build for a complete clean build/redeploy, but have hit a wall here. Thanks in advance. Mark

TC 4.1.12 auto re-deploy problem/confusion

2002-12-03 Thread Mark
Tomcat'. My goal is to have automatic continuous-integration, including auto-deployment. Having to manually restart TC each time throws a wrench into that process. Thanks Mark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: TC 4.1.12 auto re-deploy problem/confusion

2002-12-03 Thread Mark
At 12/3/2002 09:09 AM, you wrote: Mark writes: I have an expanded-war app where it will initially auto-deploy (ie. expand the directories under /webapps), but not able to get it to hot redeploy after changes are made. By 'hot', I mean automatically have a new.war file re-expanded without

Re: TC 4.1.12 auto re-deploy...revisited

2002-12-03 Thread Mark
At 12/3/2002 09:09 AM, you wrote: Mark writes: I have an expanded-war app where it will initially auto-deploy (ie. expand the directories under /webapps), but not able to get it to hot redeploy after changes are made. By 'hot', I mean automatically have a new.war file re-expanded without

Re: TC 4.1.12 auto re-deploy...revisited

2002-12-03 Thread Mark
At 12/3/2002 01:19 PM, you wrote: Mark writes: At 12/3/2002 09:09 AM, you wrote: Mark writes: I have an expanded-war app where it will initially auto-deploy (ie. expand the directories under /webapps), but not able to get it to hot redeploy after changes are made. By 'hot', I mean

Re: Tomcat BOOK List Request

2002-12-03 Thread Mark
At 12/3/2002 03:13 PM, you wrote: Hello, as Micael wanted me to do, I am making a formal request of the group of any and all good books on Tomcat technology! I want books specifically on the subject of deploying either JSP's and/or Servlets in the Tomcat container. I have gone WAY TOO DAMN

Re: remote logging

2002-12-08 Thread Mark
At 12/8/2002 03:56 PM, you wrote: Hello, I just got around to using logging. Although *really* simple to use, it would be even better with remote logging. I did some searching in the archives and on the net, without finding much. Before writing my own servlet that dumps the logs/stderr.log as a

Re: session and dtd questions for tomcat 4.0.1

2002-02-05 Thread Mark
under Tomcat 4.0.1. My DOCTYPE syntax is basically the same as yours. Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Oracle JNDI DataSource example?

2002-02-15 Thread Mark
of their web.xml, server.xml and Java code I'd appreciate it. Thought I'd ask before posting everything I'm flailing away at now. Thanks Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Datasources context ?

2002-02-17 Thread Mark
Actually, I (Mark) fixed my problem. I was specifying the wrong class as a parameter in server.xml due to utter ignorance and lack of documentation/examples. I originally had it set up to use OracleDataSource as the driverClassName (which seemed logical at the time), but after looking

Pooled connection JNDI DataSource?

2002-02-18 Thread Mark
of different combinations including oracle.jdbc.pool.OracleConnectionPoolDataSource to no avail). I've spent gobs of time spent trying to research this on the web and surprisingly came up empty. If anyone has done this, I'd really appreciate seeing your your web.xml and server.xml settings. Mark

java.lang.NoSuchMethodError from Tomcat 3.3 on HPUX

2002-02-19 Thread mark
boxes both dev and prod. Aside from the obvious differences in = platform the configuration is the same as are the application binaries = (our app bins). If anyone has any clue as to what may be happening I'd = appreciate your feedback. Thanks in advance for your help! Mark -- To unsubscribe

RE: TomCat's XML parser

2002-02-19 Thread Mark
, and at runtime I then got ClassCastException errors under Tomcat. I removed the one from my .war, and xerces SAX parsing worked great. Hope this helps at least a little... Mark At 09:44 PM 2/19/2002 -, you wrote: Mehjabin Never got a reply! Wondering if I might have said something offensive

Re: Tool for validating web.xml ?

2002-02-22 Thread Mark
I've used CookTop which is free. It seems to work quite well and has lots of features. http://www.xmlcooktop.com/ At 06:18 PM 2/22/2002, you wrote: Hi all, I have a bunch of users using Tomcat 3.3 and Catalina. I found that the biggest problem I have is that usually they mess up with their

Re: Writing a bean

2002-02-25 Thread Mark
For starters, your lines of code using request.getParameter() seem to have syntax errors. The method getParameter() takes a String as it's argument and returns a String. At 10:01 PM 2/25/2002 +0530, you wrote: Hi, I wanted to write a java bean inside my JSP programme. My requirement is like

Re: image manipulating via servlets on tomcat4

2002-03-12 Thread Mark
, guaranteeing the browser would load the desired image each time. Hope this helps, if I understand the problem that is... Mark At 10:54 PM 3/12/02 +0800, you wrote: Hi everybody, I am using tomcat4 on win 2000. I have searched all the archives and almost all websites related with java, to no avail

Re: Off Topic: Free J2EE IDE: Which one?

2002-03-19 Thread Mark
I've been using JDeveloper 9i (free) from Oracle. I like it MUCH better than VA Java and has some very nice features. Here's some info... http://www.sys-con.com/java/article2arick.cfm?id=1247count=3702tot=3page=2 At 12:37 PM 3/19/2002 -0500, you wrote: i havent done ejb in forte community

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Mark
-pattern/servlet/myservlet/url-pattern /servlet-mapping /web-app Am I still missing something? This is driving me berserk... TIA. Mark. At 12:22 AM 11/22/2001 -0500, you wrote: Mark, The servlet tag is used to assign a name to a particular servlet class file. servlet

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Mark
=../servlet/HelloWorldExample method=GET - works. Mark At 09:30 AM 11/26/2001 -0800, you wrote: Okay, Mark, Part II, I want to make sure we are communicating properly before going further. No sense wasting time. Your note is not correct about at least somethings -- for example (no pun intended

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Mark
to use FORM vs. href=../servlet/abc method of running servlets. POST always results in a 404. GET does however work. Example: FORM ACTION=../servlet/HelloWorldExample method=POST - doen't work FORM ACTION=../servlet/HelloWorldExample method=GET - works. Mark At 09:30 AM 11/26/2001

Re: TC 4.0 newbie - servlet app runs now!!

2001-11-26 Thread Mark
using servlet mapping, I also found if I leave all mapping out of web.xml and have FORM ACTION=servlet/myservlet METHOD=POST, Tomcat will still find/run the servlet under ..WEB-INF/classes. Is that by design? At 12:51 PM 11/26/2001 -0800, you wrote: Mark, I don't have webapps/examples running, so I

.gif images not displaying with JSPs

2001-11-27 Thread Mark
, etc). What am I doing wrong this time under Tomcat? Thanks Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: .gif images not displaying with JSPs

2001-11-27 Thread Mark
with it? Frustration mounting again... Mark At 08:27 AM 11/27/2001 -0800, you wrote: I have a directory called graphics on the same level as WEB-INF, i.e. root_directory/webapps/myapp/graphics/flags/ and root_directory/webapps/myapp/WEB-INF/, and I use img src='graphics/flags

RE: .gif images not displaying with JSPs

2001-11-27 Thread Mark
for the help Carsten! Mark At 12:50 PM 11/27/2001 -0500, you wrote: I've run into problems with images showing on JSPs in the past as well, and I found that using request.getContextPath() solves the problem to give you an absolute path within the context. example: img src

Re: .gif images not displaying with JSPs

2001-11-28 Thread Mark
for my app. I'm just happy to say it now works 100% under Tomcat! Mark At 10:03 PM 11/27/2001 -0800, you wrote: At any rate, Mark, I would be interested in what the path you get is. Just put %= request.getContextPath() % before img src='%= request.getContextPath() %/blah/blah.gif'/ -Original

Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Mark
, but that's not a good long term solution. I found having the driver in the CLASSPATH doesn't work. I suspect web.xml and/or server.xml is the place to configure the deployment details. Any examples or references to examples would be greatly appreciated. Mark -- To unsubscribe: mailto:[EMAIL

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-29 Thread Mark
(even had to reboot to get things in working order again). I suspect I'm again missing/not understanding something. Thanks again for your help... Mark At 10:17 AM 11/29/2001 -0800, you wrote: Hi, Mark, Moving on, I see. Great! Here is a bunch of junk to look at and maybe learn from. (I

Re: OKAY: HERE GOES. THIS IS GETTING INTERESTING. Re: Tomcat 4.0/JDBC driver configuration?

2001-11-30 Thread Mark
mapping problems/ignorance). Next... I'll make my first attempt at using the Sun RI of Java Data Objects. Anyone used JDO in conjuction with Tomcat? At 09:20 AM 11/30/2001 -0800, you wrote: Did you get my messages? -Original Message- From: Mark [EMAIL PROTECTED] To: Tomcat Users List

Anyone using JDO with Tomcat?

2001-12-04 Thread Mark
from under ../webapps/myapp/WEB-INF/classes/test I then get a ClassNotFoundException. Anyway, if anyone's messed with JDO and Tomcat I'd really like to hear from you. Thanks Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles

RE: images won't load with tomcat4.0.1 and apache 1.3 using WebApp_Mo dule

2001-12-05 Thread Mark
I recently had the same problem. Thanks to the help of someone else on the Tomcat mailing list, I resolved it by prepending the context path to the images in the JSP, eg: img src='%=request.getContextPath()%/myimages/image.gif' In my case I have a directory of images as

RE: images won't load with tomcat4.0.1 and apache 1.3 using WebApp_Mo dule

2001-12-06 Thread Mark
documentation comment but you get what you pay for, right? Mark At 12:23 PM 12/6/2001 -0600, you wrote: what does your web.xml look like Mark? do you have filters defined for the images directory. I tried what you have listed here and it doesn't work. I can't believe it is this hard to get

Re: DataSource and Pooled Connection

2001-12-13 Thread Mark
At 09:07 PM 12/13/2001 +0100, you wrote: I have a stupid question ? in the JNDI tomcat how to, it says : The J2EE Platform Specification requires J2EE Application Servers to make available a DataSource implementation (that is, a connection pool for JDBC connections) for this purpose. Tomcat 4

Re: DataSource and Pooled Connection

2001-12-13 Thread Mark
At 09:33 PM 12/13/2001 +0100, you wrote: thanks. I've already read that. So I do a ConnectionPoolDataSource with the use of JNDI in tomcat... As simple as that ? Christophe The web page I forwarded has an example of setting up then getting a pooled connection using JNDI. I'm assuming you have

Re: JAXP

2001-12-13 Thread Mark
In offline-mode, you may find the O'Reilly book 'Java and XML' to be a decent resource for Java SAX and DOM parsing. At 05:27 PM 12/13/2001 -0600, you wrote: Here is the first place that I started reading. http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/index.html [EMAIL PROTECTED] wrote:

Re: Problems executing Conn Pool example that comes with JSQLConnect

2001-12-19 Thread Mark
Greetings, I'm currently evaluating the JSQLConnect Driver. I downloaded jndi1_2_1.zip from the sun site, followed the instructions and installed it in the following directory - C:\jdk1.3\jre\lib\ext\jndi.jar; I also added this path to my classpath. My problem is that I get the following

Re: Problems executing Conn Pool example that comes with JSQLConnect

2001-12-19 Thread Mark
At 11:05 AM 12/20/2001 +1000, you wrote: Hi Mark, Thanks for the prompt response. The files you suggested i add (fscontext.jar providerutil.jar) are not in the jndi1_2_1.zip. I am searching for them at the sun site. Any ideas where I can get them? Cheers, Rudi This is one of the oddest

Re: Newbie, JNDI Error - Help Required

2001-12-24 Thread Mark
not contain this class. Also, what version of Tomcat are you using? That makes a difference on whether classpath is an issue or whether it's the location of the jar. Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list

Re: Problem with file URL

2002-01-07 Thread Mark
At 06:51 PM 1/6/2002 -0800, you wrote: How come I can access this URL: http://intranet.xxx.com:8080/reportsArchive/par/ProductDD.xls But cannot access this URL: file://intranet.xxx.com:8080/reportsArchive/par/ProductDD.xls I get an error message that it cannot find the file. The error message

Re: howto get the context path from a ServletContext?

2002-01-08 Thread Mark
Is getContextPath() possibly what you're looking for? It's found in the HttpServletRequest interface. At 07:23 PM 1/8/2002 +0100, you wrote: Is there a way to figure out the context path from a given ServletContext? I'm inside one context and am trying to dispatch to a resource in another

Re: Java question: From one stream to another

2002-01-10 Thread Mark
At 01:17 AM 1/11/2002 -, you wrote: Hi, this is partially a Java question and partially a Tomcat question. I looked through Java Servlet Programming and some other books and I couldn't find a good answer. I am writing a program which uses Jmagick to generate some images which will be sent

TC 4.0.1/SAXParserFactory.newInstance() error

2002-01-12 Thread Mark
this dragon before? If so, any help would be greatly appreciated. Mark -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: TC 4.0.1/SAXParserFactory.newInstance() error

2002-01-12 Thread Mark
MB in size (1,808,883 bytes) 4. Just a question, is your app also bundling Xerces/crimson ? Look for the jars in the WIB-INF/lib sub-directory. Sriram 1/12/02 11:17:36 PM, Mark [EMAIL PROTECTED] wrote: I'm attempting to port a working application to Tomcat 4.0.1 and hit a problem with SAX

Re: List of jsp pages

2002-01-13 Thread Mark
Have you taken a look at the Jarfile class? It has some methods that may prove useful. At 01:15 PM 1/13/2002 -0800, you wrote: Is there an easy way to get a list of JSP pages that are inside the war file? I can do this with the java.io.File class but would like to do it by get access to the

Re: POST method returns an error

2002-01-17 Thread Mark
I believe you'll get this error if the servlet only has the doGet() method implemented and not doPost(). At 01:48 PM 1/17/2002 -0500, you wrote: Has anyone ever gotten this error? HTTP method POST is not supported by this URL there is no security constraint in the web.xml file for the context

Re: One Solution (JSP-Compilation error)

2002-01-27 Thread Mark
during development. Removing the package under my Tomcat WEB-INF directory fixed the problem. My problem was not with a JSP however, so this issue isn't limited to XML parsing in JSPs. Not sure what you mean about this parser is being used to compile application's JSPs though. Mark

Re: Please help! How to create images with JSP under Tomcat ?

2002-01-30 Thread Mark
At 08:43 AM 1/27/2002 +0100, you wrote: Please help! Does anybody already used a free good JSP/Java library which generates gif or jpg files (JavaSide excluded)? Any suggestion? Thanks If you're looking for a charting package, check out http://chart2d.sourceforge.net. I've used it for

relative paths

2001-09-04 Thread Mark
R( /MyApp + /servlet/images + /imagename.gif) null What do I need to do to tell tomcat how to find these images? Thanks, Mark

TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the example servlets, but not my own. My html displays and I can execute my JSPs, but a POST to a servlet does not work (this app has run under Forte and VA Java in the past). I get a 404 error with the requested resource

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
the pattern and that will then refer the app to your servlet. -Original Message- From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, November 21, 2001 12:39 PM Subject: TC 4.0 newbie - servlet app won't run I installed Tomcat 4.0.1 under Win 2k using JDK

packages under WEB-INF/classes

2001-04-16 Thread Mark
/classes, it works. All defaults are being used as far as the configuration files (ie. for this example I only added the directory under myapps and added nothing to tomcat.con or server.xml). What am I missing? What is the correct way to add a servlet that has a package declaration? Thanks, Mark

Re: packages under WEB-INF/classes

2001-04-16 Thread Mark
Sam, I had no web.xml for the context. I was able to fix things by adding it. I guess web.xml is not optional in a case like this, where the servlet is in a package. I think the FM should be more clear on this. Thanks a lot for the help! Mark - Original Message - From: &quo

Re: How to read property files?

2001-04-18 Thread Mark
InputStream is = this.getClass().getResourceAsStream("myapp.properties"); Properties p = new Properties(); try { p.load(is); } catch ( java.io.IOException e ) { // Can't load props file } That way the properties file can be anywhere in the classpath. Have you tried

Re: How to read property files?

2001-04-18 Thread Mark
. Just the class that tries to access it. I didn't try it with the properties file inside the jar, so it may work. But I don't want to do that. I want to make it readily editable. Mark - Original Message - From: "Samson, Lyndon [IT]" [EMAIL PROTECTED] To: [EMAIL PROTE

Why File.toURI() makes ServletContextListener jump contextDestroyed() directly?

2002-10-12 Thread mark
); } } When tomcat starts up, it will print out like ¡G blah blah blah... Constructor Init Destroy blah blah blah... Mark.

RE: I don´t understand the objective of this open list !

2002-12-09 Thread Mark
At 12/9/2002 07:37 PM, you wrote: Notice that I didn't ask a question JOEL BERGMAN (are you a Jakarta developer). I simply chimed in when someone else expressed dissatisfaction with this list. I have been disappointed and frustrated by the that is called documentation. I stopped trying

JSP not using latest version of included file

2002-12-20 Thread Mark
My app has several JSPs that include an html file (ie. %@ include file=banner.html %) that displays the app's version number. banner.html gets updated every now and then with a new version number via Ant and pushed to the Tomcat webapps/myapp directory along with the JSPs (forced overwrite

RE: JSP not using latest version of included file

2002-12-20 Thread Mark
using straight Tomcat/Coyote vs. Apache and connector by the way. At 12/20/2002 12:51 PM, you wrote: Mark, Sounds like you are using a %@ include file=file.html% style include. This is a static, compile-time include. That means that Tomcat is probably compiling the html file in along with the jsp

Re: JSP not using latest version of included file

2002-12-20 Thread Mark
=Expires CONTENT=0 META HTTP-EQUIV=Cache-Control CONTENT=no-cache If nothing else, it can't hurt... Mike - Original Message - From: Mark [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 20, 2002 3:28 PM Subject: RE: JSP not using latest version of included file

Re: For anyone with unexplainable, unsolvable Tomcat problems (Win32)

2002-12-21 Thread Mark
At 12/21/2002 02:39 PM, you wrote: Just a quick mail which might help some of you experiencing similar problems. I just spent 3 days solid trying to debug a Servlet which incorporates Jini, into Tomcat 4.1. Not to bug you with the specifics of Jini, but suffice it to say there is some real

Re: Tomcat Ant custom taks

2002-12-30 Thread Mark
Not sure if this is what you're looking for, but you can go here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/index.html and click on the org.apache.catalina.ant package link. BTW, a good Ant book is Java Development withAnt. Mark At 12/30/2002 01:59 PM, you wrote: I

OT - java:comp/env issues in standalone unit testing

2003-01-02 Thread Mark
it's something we'd want eventually, but also seems more complex than what we need today. Any thoughts will be appreciated. Thanks Mark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Help with Tomcat 4.1 installation please?

2003-01-08 Thread Mark
) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) C:\Program Files\Apache Group\Tomcat 4.1\bin I'm not sure what's really supposed to happen at this point, but something doesn't seem right. Any help would be greatly appreciated. Thanks in advance. Mark Steere [EMAIL PROTECTED]

Re: Help with Tomcat 4.1 installation please?

2003-01-09 Thread Mark
Thank you Peng. You were correct. Tomcat was already running, having started automatically upon bootup. Now I will be unsubscribing from the list. Thanks again. Mark Steere [EMAIL PROTECTED] Are you installing tomcat from a exe ? If so you may have already started tomcat from the service

Test servlet won't run - help?

2003-01-16 Thread Mark
. Thanks in advance. Mark Steere [EMAIL PROTECTED]

Test servlet won't run - correction

2003-01-16 Thread Mark
does shutting down and rebooting the computer. The same problem exists: Tomcat doesn't recognize my test servlet when placed in the folder, webapps/myApp/WEB-INF/classes. Thanks again. Mark Steere [EMAIL PROTECTED]

Re: Test servlet won't run - help?

2003-01-16 Thread Mark
Wow, thanks for the timely response. That was right on the money. I love you guys. Thanks Erik. I will be unsubscribing now. Thanks again. Mark Steere [EMAIL PROTECTED] Try it from http://localhost:8080/myApp/myAppServlet That might work -- your URL-mapping doesn't say to look

Game server - two player board game

2003-01-18 Thread Mark
. And possibly a separate class to evaluate legal moves. I need advice on security, persistence, thread safety and anything else that I might need to know to make this a successful web site (tanbo.com). Thanks in advance. Mark Steere [EMAIL PROTECTED]

OT: sendRedirect URL not in browser history

2003-01-22 Thread Mark
When using sendredirect() from a servlet, the URL of the redirected page doesn't show in the browser's (IE 6.02) history/back button list. For example, in our login servlet: public void doPost(HttpServletRequest request, HttpServletResponse response) throws

Re: How to get IP address Tomcat bound to.

2003-01-26 Thread Mark
At 1/26/2003 04:57 PM, you wrote: I have a programming question - how can I get the IP address the TomCat is bound to ? Is this possible? I suppose, I have to use some internal TomCat API here .. With kind regards, Kirill Maximov Not sure if I understand your question, but will this

RE: How to get IP address Tomcat bound to.

2003-01-26 Thread Mark
-Original Message- From: Kirill Maximov [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 26, 2003 2:04 PM To: Tomcat Users List Subject: Re: How to get IP address Tomcat bound to. On 0, Mark [EMAIL PROTECTED] wrote: At 1/26/2003 04:57 PM, you wrote: I have a programming question - how can I

classloader issues using ../common/lib vs. ../shared/lib

2003-02-03 Thread Mark
Are there any potential classloader problems with putting .jar files that are shared across webapps (ie. junit, cactus, etc) in ../common/lib vs. ../shared/lib? We've been tossing .jars into ../common/lib, but after reading the Tomcat classloader how-to it seems that's discouraged, ie. should

Re: java/jsp dynamic data

2003-02-11 Thread Mark
Have a peek at pushlet technology. Sounds like it's geared toward what you're looking for: http://www.javaworld.com/jw-03-2000/jw-03-pushlet.html At 2/11/2003 12:08 PM, you wrote: All, I'm sorry to bring this up again, but I'm just not seeing clearly and maybe someone here could help. I need

RE: MY ATTITUDE

2003-02-11 Thread Mark
Steve, please review the email guidelines: http://jakarta.apache.org/site/mail.html In particular... The level of community responsiveness to specific questions is generally directly proportional to the amount of effort you spend formulating your question. Eric Raymond has even written an

RE: huge web.xml

2003-02-16 Thread Mark
Cooktop is a good (and free) XML editor/validator for Windows. http://www.xmlcooktop.com/ At 2/16/2003 05:06 PM, you wrote: Maybe all you need to do is use a good xml editor. Why is it getting so big ? I recommend xml-spy as a good xml editor Hope it helps -reynir -Original

Re: JDBC connectivityfor ORACLE !!!

2003-02-27 Thread Mark
Actually, I believe it's classes12.zip (and needs to be renamed classes12.jar). Keep in mind Oracle recommends using ojdbc14.jar with JDK 1.4. I've used it, and it works fine. At 2/27/2003 05:15 AM, you wrote: I haven't had a chance to play with Oracle 9i, but I do have experience with 8i

Re: Accessing databases...

2003-07-01 Thread Mark
Depending on your app, you might find the the Data Access Object design pattern useful: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html At 7/1/2003 10:47 AM, you wrote: Hi, could anyone tell me which's the best way to access databases within a tomcat webapp?? is

Re: Oracle connection pooling

2003-08-09 Thread Mark
in the cluster mark it offline. During the peak traffic it isn't so bad but at the end of the day after load goes back down, it's a big problem. We initially used DBCP but it didn't work for crap with Oracle. Is there a better pool to use with Oracle and Tomcat in a cluster environment

Re: Remote debugging throught network

2003-03-07 Thread Mark
If you don't have an IDE with built in JPDA debugger, a nice (free) standalone one is JSwat: http://www.bluemarsh.com/java/jswat/ At 3/7/2003 10:54 AM, you wrote: Hello folks, i´m trying to debug my application in a special machine throught network, that machine is a Linux with

password encryption JDBC connection pool

2004-11-02 Thread Mark
Can anybody point how to encrypt password and configure Tomcat 5.0.24(or higher) JDBC connection pool. Thanks, Mark. __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com

sessionS info persistence when restart Tomcat

2004-11-04 Thread Mark
Hi, Is it possible to save sessions info, so when Tomcat restarts all previously active sessions will be loaded. I'm trying to prevent user's re-login when Tomcat goes down for short period (5-15 minutes) of time. Thanks, Mark __ Do you Yahoo

RE: sessionS info persistence when restart Tomcat

2004-11-04 Thread Mark
anybody confirm what is a status for Persistent Manager in Tomcat 5.0.X? is it stable, is it safe to use in production and if not what are other options. and here another link with detailed info on Persistent Manager: http://www.devx.com/assets/download/6264.pdf Mark. --- Steve Kirk [EMAIL

RE: sessionS info persistence when restart Tomcat

2004-11-04 Thread Mark
it's probably in good shape. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 2:14 PM To: Tomcat Users List Subject: RE: sessionS info persistence when restart Tomcat Here some info I found: http

RE: sessionS info persistence when restart Tomcat

2004-11-05 Thread Mark
The object stored in the session must implement serializable interface, right? Or any Java Class object can be stored in the session and persistence manager will take care how to save and restore it? --- Ben Souther [EMAIL PROTECTED] wrote: aha. so it looks like it's something I screwed up ;)

number of sessions and OutOfMemoryException

2004-12-02 Thread Mark
Hi, Few questions: If I set session-timeout to -1 in web.xml will I get eventualy OutOfMemoryException or Tomcat will remove the session and not die? Is there any easy way to calculate how much memory will be used per session ( I know what objects will be stored) Thanks, Maek

RE: number of sessions and OutOfMemoryException

2004-12-02 Thread Mark
I'm I getting it right: that once OOME occures I need more memory or need to deside in my application how to remove sessions ? Thanks, Mark. --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, If I set session-timeout to -1 in web.xml will I get eventualy OutOfMemoryException or Tomcat

Re: prevent multiple form posts using only servlets

2004-12-09 Thread Mark
Try this one: http://java.sun.com/developer/EJTechTips/2003/tt0114.html look on Preventing Repeated Operations Mark. --- Roberto Cosenza [EMAIL PROTECTED] wrote: Yes there is. But the problem is not really related to a servlet just to web architecture. A strategy is to put an object token

RE: JVM Crash

2004-12-30 Thread Mark
I googled around and here some good(?) news, at least somebody get around the problem: http://forum.java.sun.com/thread.jspa?threadID=307252tstart=210 on of solution is : -- cut -- now I use jdk1.3.1_06 with hospot -server and it works perfectly (and faster) -- end cut --- another one was a

using Thread object in Tomcat

2005-01-03 Thread Mark
the condition met will populate static variable in another class which will inform ( display in JSP) ALL users about THAT event ? Thanks, Mark. __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com

Java output for -X options

2005-01-10 Thread Mark
Hi there, Where the java output will be printed if I define -Xprof in JAVA_OPTS Thanks, Mark. __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo

in web.xml

2005-01-17 Thread Mark
Hi there, I need to set '' and '' characters in init-param field of web.xml Is there any standard way of setting up and reading those type of characters in web.xml file? Thanks, Mark. __ Do you Yahoo!? Yahoo! Mail - Helps protect you from

RE: in web.xml

2005-01-17 Thread Mark
will getInitParameter(...) translate lt; to ? --- Peter Crowther [EMAIL PROTECTED] wrote: From: Mark [mailto:[EMAIL PROTECTED] I need to set '' and '' characters in init-param field of web.xml Is there any standard way of setting up and reading those type of characters in web.xml file

request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
+, 512Mb, 120 GB HDD. Any comments and suggestions are welcome. Thanks, Mark. __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo

Re: request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
. David Any other ideas? - Original Message - From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 8:36 AM Subject: request.getSession(false) randomly returns null in servlet Hi All, I have unstable behavior in my web application when I try

Re: request.getSession(false) randomly returns null in servlet

2004-10-15 Thread Mark
: HttpSession ses = req.getSession(false); I really don’t understand why it happens. Is it somehow session Id get associated with servlet and reset later to correct value? And again, When no proxy involved everything looks fine. Comments? Thank you, Mark --- Mark [EMAIL PROTECTED] wrote: Thanks

wecome servlet return 404 in tomcat 4.1.31 (Linux)

2004-10-18 Thread Mark
Hi, Somehow I cannot use a servlet as a welcome-file in tomcat 4.1.31 - 404 error get returned, however it works with no problem in 5.0.24 here a part of my web.xml: servlet-mapping servlet-namewelcome/servlet-name url-pattern/Welcome/url-pattern /servlet-mapping

Re: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Mark
Now I'm absolutely lost :((( When one servlet gets null for current session, the same servlet get null in ANOTHER session, but after 3 minutes everything is back to normal: servlet now which session it belongs to. Can anybody point where whould I look for a problem? Thanks, Mark. --- Mark

Re: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Mark
One more thing: Everything works fine when I'm telling to servlet what is a sessionId: http://host/appName/servletA;jsessionid=69DAF786A6D1342C20C448EA4FD43F9E Any hint what's wrong here ? Mark. --- Mark [EMAIL PROTECTED] wrote: Now I'm absolutely lost :((( When one servlet gets null

session tracking enforcement

2004-10-19 Thread Mark
Is there any way to enforce a session cookie (JSESSIONID)to be send to the client (browser) from servlet. __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail

RE: session tracking enforcement

2004-10-19 Thread Mark
Is it true, that new sessionId will be resend if a new session get created? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Session cookies (those that don't persist) are becoming quite common actually because even small devices are able to keep that bit of session state quite easily.

Re: request.getSession(false) randomly returns null in servlet

2004-10-19 Thread Mark
Look what I found: session cookies not working with Tomcat and Apache ReverseProxy http://www.jguru.com/faq/view.jsp?EID=53878 It is a known issue/bug ? Mark. --- Mark [EMAIL PROTECTED] wrote: Now I'm absolutely lost :((( When one servlet gets null for current session, the same servlet

  1   2   3   4   5   6   7   8   9   10   >