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
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]
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
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
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
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
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
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]
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]
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
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
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
, 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
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
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
,
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
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
-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
=../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
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
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
, 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]
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
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
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
, 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
(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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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]
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
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
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
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
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
R( /MyApp + /servlet/images + /imagename.gif) null
What do I need to do to tell tomcat how to find these
images?
Thanks,
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
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
/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
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
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
. 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
);
}
}
When tomcat starts up, it will print out like ¡G
blah blah blah...
Constructor
Init
Destroy
blah blah blah...
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
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
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
=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
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
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
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]
)
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]
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
. Thanks in advance.
Mark Steere
[EMAIL PROTECTED]
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
. 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]
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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 ;)
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
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
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
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
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
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
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
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
+, 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
.
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
:
HttpSession ses = req.getSession(false);
I really dont 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
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
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
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
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
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.
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
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, and that's
1 - 100 of 2257 matches
Mail list logo