I found the solution to my problem. It was very simple.
If I link to the servlet as "/servlet/ServletName" tomcat will start a new
session;
however if I specify the context name in the URL:
/contextName/servlet/ServletName,
then everything works ok.
thanks,
suha.
[EMAIL PROTECTED] on 03/15
Thanks Todd.
Unfortunately, I'm getting a 404 error on that link.
As an FYI: I found some archives at http://archive.covalent.net/ but they
are not searchable.
If you know of any searchable archives, please let me know.
~ suha.
"Ganey, Todd" <[EMAIL PROTECTED]> on 03/15/2002 01:50:57 PM
Pl
This list is not archived at google. Any idea where I can find searchable
archives to this list?
thanks,
suha.
[EMAIL PROTECTED] on 03/15/2002 10:57:23 AM
Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Tomcat starts new session in servlet. I
Hello all,
I recently added a new context (virutal directory) to Tomcat.
My original context does not have this problem. In the new context,
Tomcat maintains two sessions per one user session. The JSPs
have one session id and the servlets have a different session id.
I must have mis-configured th
I solved the tag library problem temporarily.
I had to specify the classpath for myapp/WEB-INF/lib/xsl.jar + xerces.jar +
xalan.jar
in the classpath variable of $tomcat_home/bin/startup.sh
If there is a better solution out there, I would appreciate the info.
thanks,
suha.
[EMAIL PROTECTED
Hello,
are your examples working: http://server/examples/ ?
You may have a problem with your server settings.
"Dan & Sharon" <[EMAIL PROTECTED]> on 04/23/2001 01:01:40 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject: seems as though
Hello,
I tried to install the XSL tag library so I can transform an XML file into HTML
via an XSL stylesheet.
I followed the instructions located in the apache website.
1) I downloaded the binaries for the XSL tag library
2) I placed the xsl.tld file under /MyApp/WEB-INF/
3) I placed: xerces.j
Thanks very much Benoit and thanks Sam for your help.
You both came to the same conclusion: move all contents of mod_jk.conf-auto to
the httpd.conf file for apache
and set up apache default files to index.html and index.jsp
I will try to set that up and let you know if there's a problem. Otherwi
Thanks. It's still not working. I get a 404 error now when I go to my
application directory (http://mysite.com/myapp/).
I also get a 404 error when I type in the full path
(http://mysite.com/myapp/index.jsp).
myapp is a virtual directory. The physical path is something along the lines of
/users/
Hello David,
you do not have to place your application directories inside webapps.
In server.xml you can define (for example the application dir.) myIntra in the
following way (I'm using unix format /myIntra is a physical directory in on the
root level):
However you will still have to place
I have tomcat running within apache. This was recommended by the user guide for
performance reasons. I'm wondering if running tomcat within apache has anything
to do with why I can't serve index.jsp as a default file for my application
directories. Do I have to anything on the apache end?
Than
Better yet, could someone please send me a functioning copy of web.xml that sits
in the WEB-INF directory of your context and that loads index.jsp as a default
file for that context.
Thanks in advance.
[EMAIL PROTECTED] on 04/16/2001 12:44:42 PM
Please respond to [EMAIL PROTECTED]
To: [
Hello,
I looked at the web.xml which I copied from TOMCAT_HOME/conf and it complies
with the dtd that it refers to on the Sun site:
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
I'm still trying to get tomcat to load index.jsp when I hit the context
directory. No luck yet.
A few questions:
1)
did u try using out.println("test")?
"Sam Newman" <[EMAIL PROTECTED]> on 04/16/2001 09:13:21 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject: Re: Where does System.out.println go under Tomcat
Hmm, well they will get displayed in t
Are you compiling your code on the same box that your tomcat server is located?
If no, then make sure that your development machine has a servlet.jar file in
the jdk.
If yes, then:
- add the path to servlet.jar in your classpath variable. servlet.jar
should be somewhere in TOMCAT_HOME.
I ho
Kamesh,
We had the same problem. In the server.xml file comment out the HTTP port part
that tells tomcat to use port 8080. Make sure that ajp12 is talking to apache
via port 8007. This should be in the server.xml file also.
Hope this helps.
Kamesh J <[EMAIL PROTECTED]> on 04/10/2001 02:15:1
I'm having a similar problem. I'm running tomcat in-process within apache. Will
I need to set the welcome file setting on apache? I tried setting index.jsp as
my welcome file in web.xml but the browser/server ignores this setting. I
restarted both apache and tomcat.
thanks,
~ suha.
Joar Va
Nico,
- is your servlet class file located in:
D:\tomcat\webapps\imsapps\WEB-INF\classes
- are you calling your servlet via:
http://localhost:8080/imsapps/servlet/dejonge
I think this is how tomcat is set up. Correct me anyone if I'm wrong.
~ suha.
"Nico den Boer" <[EMAIL PROTECTED]> on
I figured it out. It was as I expected, Tomcat needs to have root access so that
it can write to the "work" directory.
This means that only the sys admin. can restart tomcat : (
Just thought I would share this.
thanks,
suha.
[EMAIL PROTECTED] on 03/15/2001 12:19:02 PM
Please respond to [EM
Manish,
you're the best. Thanks for replying.
Unfortunately, I do have an entry for jsp files:
JkMount /*.jsp ajp12
I also have on specifically for the examples context:
JkMount /examples/*.jsp ajp12
I did not add these. They were in there originally.
Any other suggestions are welcome.
t
Does apache have any type of support for tomcat other than this list ...
I've followed all the documentation, but I cannot run all of the examples.
I am able to run servlets on tomcat but not JSPs. Is this caused by a tomcat
setting or an apache setting?
Details:
- tomcat is running in-pr
Hello,
I posted this message yesterday, but I have not received any responses. If you
have any information I would greatly appreciate it.
Thanks in advance.
I recently installed Tomcat (via mod_jk) on apache 1.3.14 on a Solaris machine.
The java_home and tomcat_home classpaths are set in worker
This may be off the subject, but I am unable to run any JSPs on
tomcat/apache/solaris. Could that be because the work folder must have write
permissions for everyone ... ?
"Andy C" <[EMAIL PROTECTED]> on 03/15/2001 02:14:29 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc
(Not sure if this went through the first time - sorry if it's a repost)
Please help. I have searched the web up and down, left and right, but I cannot
find any answers.
I recently installed tomcat to run in-process within apache 1.3.14 on a solaris
machine.
I have no problem executing the ser
Please help. I have searched the web up and down, left and right, but I cannot
find any answers.
I recently installed tomcat to run in-process within apache 1.3.14 on a solaris
machine.
I have no problem executing the servlets at /examples/servlets/ but when I try
to execute
the JSPs at /exampl
25 matches
Mail list logo