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 and

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 Tomcat-4.

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 it

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 ServletExcep

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
ost? John -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 progr

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 b

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 essa

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 Messag

Re: Oracle connection pooling

2003-08-09 Thread Mark
other tomcat 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 clus

Tomcat running as NT service can't locate JNI DLLs

2004-02-14 Thread Mark
lling, then re-installing the Tomcat service using the '-path' option pointing to D:\myDLLs directory, but it still fails. I have a feeling I'm missing something fundamental, but I'm just not seeing it. Has anyone dealt with this before

Re: Tomcat 4 or 5 and SOAP

2004-02-18 Thread Mark
Apache Axis works very well: http://ws.apache.org/axis/index.html At 2/18/2004 10:48 AM, you wrote: Hello does anyone knows how can I make SOAP working on my Apache Tomcat server ? On the version 3.2 I had no problem, but with the 4 or 5 I can do nothing. Do you know a good tutorial for Tomcat 5

Tomcat Manager won't undeploy

2002-12-02 Thread Mark
'/myapp' Anyone know what the problem 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
ntation and searched the archives/Internet. In almost all cases, the last step is to 'restart 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 un

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-expand

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-expand

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

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 LONG

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

Loading Properties from class within a jar file

2001-04-17 Thread Mark
properties"); if (is == null) throw new Exception("Properties file not found"); props.load(is); } It doesn't work (the exception gets thrown). Any suggestions on a way to do this that works? Thanks, Mark

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

Re: How to read property files?

2001-04-18 Thread Mark
properties file is not in the jar. 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]&q

Re: image manipulating via servlets on tomcat4

2002-03-12 Thread Mark
mages were generated, 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 al

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=1247&count=3702&tot=3&page=2 At 12:37 PM 3/19/2002 -0500, you wrote: >i havent done ejb in forte community

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 (/my

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

2001-11-21 Thread Mark
work. Get my drift? The post is just some text that >should match 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

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

2001-11-26 Thread Mark
t myservlet /servlet/myservlet 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 particul

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

2001-11-26 Thread Mark
lease bear with me (again). BTW - I've fiddled with the example servlet index.html to use FORM vs. "href=../servlet/abc" method of running servlets. POST always results in a 404. GET does however work. Example: - doen't work - works. Mark At 09:30 AM 11

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

2001-11-26 Thread Mark
iddled with the example servlet index.html to use FORM vs. >"href=../servlet/abc" method of running servlets. POST always results in a >404. GET does however work. > >Example: > > - doen't work > - works. > >Mark > > > >At 09:30 AM 11/26/2

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

2001-11-26 Thread Mark
my app to work using servlet mapping, I also found if I leave all mapping out of web.xml and have , 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 need to as

.gif images not displaying with JSPs

2001-11-27 Thread Mark
(" \r\n\r\n\r\n \r\n"); The page displays except for the images, and the resulting html pushed to the browser has the tags. The JSPs work under other environments (eg. VAJ, Sun SDK, etc). What am I doing wrong this time under Tomcat? Thanks Mark -- To u

Re: .gif images not displaying with JSPs

2001-11-27 Thread Mark
rectory, could this have something to do 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/,

RE: .gif images not displaying with JSPs

2001-11-27 Thread Mark
anks again 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 c

Re: .gif images not displaying with JSPs

2001-11-28 Thread Mark
en us is in docBase, where you prepend 'webapps/'. I simply followed the examples when I updated server.xml 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 th

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: <

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

2001-11-29 Thread Mark
g* worked even after backing out the simple change (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

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

2001-11-30 Thread Mark
r my initial servlet 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 <[EMA

Anyone using JDO with Tomcat?

2001-12-04 Thread Mark
sist objects, and if I move classes 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

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: In my case I have a directory of images as ../webapps/myapp/myimages Hope this fixes your problem... At 02:33 PM 12/

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

2001-12-06 Thread Mark
, then forwarded to a JSP for rendering. Sorry my suggestion didn't help. Obviously some other mapping issue is keeping your app from displaying images. Ditto on the TC4 documentation comment but you get what you pay for, right? Mark At 12:23 PM 12/6/2001 -0600, you wrote: >what does your

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. Tomca

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

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] wro

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 follow

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,

relative paths

2001-09-03 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

Re: Newbie, JNDI Error - Help Required

2001-12-24 Thread Mark
that can't be found)? If you look in jndi.jar you'll see it does 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 PR

Re: tomcat servlet output

2002-01-01 Thread Mark
At 05:13 PM 12/31/2001 -0800, you wrote: > >My servlets in Tomcat works just fine, but I was wondering where does the 'System.out.println("bla bla...")' goes when the servelet is executed. I would like to use this to debug my servlet. > >thanks, > >Sanjeev In my case (Win 2K), System.out.printl

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 me

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 con

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

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
HOME/common/lib > The xerces.jar file that comes with tomcat 4.0.1 is 1.72 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 <[EMAI

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 th

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 con

Re: One Solution (JSP-Compilation error)

2002-01-27 Thread Mark
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 -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

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 se

Re: session and dtd questions for tomcat 4.0.1

2002-02-05 Thread Mark
ROTECTED] I'm using SAX parser validation with a DTD and xml in the same directory (WEB-INF) and not having any problems 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
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 at the

Pooled connection JNDI DataSource?

2002-02-18 Thread Mark
a mess 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.x

java.lang.NoSuchMethodError from Tomcat 3.3 on HPUX

2002-02-19 Thread mark
= all 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 u

RE: TomCat's XML parser

2002-02-19 Thread Mark
er, 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 somet

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 the

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 t

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 r

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
mpile-time either). I'm 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 prob

Re: JSP not using latest version of included file

2002-12-20 Thread Mark
lse, 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 > Using doesn't work ei

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 hairy

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 P

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

2003-01-02 Thread Mark
le and it seems like 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 fr

Test servlet won't run - help?

2003-01-16 Thread Mark
Tomcat is not seeing my myApp application. Any help would be greatly appreciated. Thanks in advance. Mark Steere [EMAIL PROTECTED]

Test servlet won't run - correction

2003-01-16 Thread Mark
nd neither 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 s

Game server - two player board game

2003-01-18 Thread Mark
board. 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]

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

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

request.getSession(false) randomly returns null in servlet

2004-10-12 Thread Mark
: AMD 2700+, 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.co

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

2004-10-12 Thread Mark
client side(browser). When I look at the source page URL is not encoded. > > David > Any other ideas? > - Original Message - > From: "Mark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 12, 2004 8:36 AM > Subject: re

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

2004-10-15 Thread Mark
working properly!!! and I able to get session using: 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? Than

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: welcome /Welcome

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. ---

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 :((( > &

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 qu

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 curre

Re: session tracking enforcement

2004-10-19 Thread Mark
In my case it looks like I do have encode all URLs: firewall problem with stripping out sessionId left me with no choice ;) Is it right way of doing it? Thanks a lot. Mark. --- David Wall <[EMAIL PROTECTED]> wrote: > > But that's details, the main point I made still holds,

adding HTTP headers for all responses in web application

2004-10-20 Thread Mark
o all my servlet/JSP responces. But I'd rather do it in one place and not go through all serlvets/JSPs in .war file. Thanks, Mark ___ Do you Yahoo!? Declare Yourself - Register online t

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Mark
Sound like a good idea! Can you please point to a good filters-HOWTO? --- Phillip Qin <[EMAIL PROTECTED]> wrote: > Have you thought of filter? > > -Original Message----- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: October 20, 2004 10:40 AM > To: [EMAIL PROTECTED

RE: adding HTTP headers for all responses in web application

2004-10-21 Thread Mark
question: will the filter applied to response for custom error pages defined in web.xml: example: MyException /errorPage.jsp --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Hi, > There are filters that ship with Tomcat's example webapp. Beside > being > the best how-to possible, there

Re: cookies problem with Tomcat 4.1.30

2004-10-25 Thread Mark
Hey, Is proxy involved on client's side ? -Mark. --- Todor Todorov <[EMAIL PROTECTED]> wrote: > Hello there, > > We experienced strange behavior with Tomcat under heavy load. > > Fairly simple JSP generates a page based on a persistent cookie, > unfortunately

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

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 <[EM

RE: sessionS info persistence when restart Tomcat

2004-11-04 Thread Mark
onths at least (and it's been around for years now) so 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

  1   2   3   4   5   6   7   8   9   10   >