Hello all,
I tried both the options:
1. I uninstalled the tomcat and reinstalled so that not it resides
c:\tomcat1.4
2. I tried changing my URL Patern
url-pattern/servets/TestServlet/url-pattern
Now I am able to get the html file correctly and after clicking the show
button it gives the
Litty Preeth iamlitty at yahoo.com writes:
Or u can use a comma separated list of strings and
parse them using StringTokenizer.
That sounds better. It's surely more user friendly. But the chance of an error
during entering coma-separated values is bigger. It's easy to forget about coma
or
Dear Tomcat experts :)
I have encountered a problem and I have fallen into despair to solve it myself
:(
I'd appreciate it very much for an advice.
I run Tomcat 4.1.31 release under Windows XP.
I have a jsp application that exposes *.jpg files to clients. Client receives a
piece of HTML
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[Tomcat 4.1.31; Debian GNU/Linux Sarge]
Hi all,
I googled around and find someone with the same problem:
http://marc.theaimsgroup.com/?l=tomcat-userm=110151992910727w=2
... but I can't find an answer.
I also have a Realm configured using the
Hi to All,
Does anybody know of articles that discuss implementing ones own version
of DefaultServlet ( its entry is in conf/web.xml). Im trying to write a
ProxyServlet that will catch all but valid references to contexts
available on Tomcat.
Thanks in advance,
John.
The current CVS version of commons-daemon works for me with the jvm.dll from
BEA Weblogic 8.1. I ran a test java service rather than tomcat but I expect the
result would be the same with tomcat.
The current CVS commons-daemon has had the -Xrs code removed by revision
190890.
Robert
Dear developers,
I have a problem with Log4j running under Tomcat and its appender
DailyRollingFileAppender. Logger nicely appends logs into the file but when
backup time comes the only thing which occurs is trucation of log file. Simply
saying, the backup file isn't created.
My
Hi all,
I'm building Tomcat Cluster environment on the same box.
Configuring sevrer.xml and starting tomcat instance, I got
error message as attached file.
Here is my envrinment;
Apache:2.0.54 MPM worker
Tomcat:5.5.9
JK_Connector:mod_jk 1.2.14.1
JDK:J2SE 1.5.0_04
Also, I modified web.xml and
Sorry, attached file was not sent and I'll try again.
[error message]
ERROR main
org.apache.catalina.cluster.tcp.SimpleTcpCluster - Unable
to start cluster.
java.net.SocketException: error setting options
at java.net.PlainDatagramSocketImpl.join(Native Method)
at
Hi All,
I'm using client authenticate for my website (Tomcat 5.0.28) and everything
works great. However, I had an idea for something I wanted to try, and I
need to know if its possible.
Would I be able to prompt for client certificates ONLY if a certain request
parameter was present (and
Hi Folks,
Is it possible to authenticate in multiples userBase´s using JNDIRealm ?
I have a configuration as above:
Realm className=org.apache.catalina.realm.JNDIRealm debug=99
connectionURL=ldap://localhost:389;
userBase=ou=people,dc=mycompany,dc=com
Good Morning,
I am the Network Admin working with a programmer trying to get TomCat
5.5 working with SSL. She is trying to run a servlet via Oracle
JDeveloper 10.1.2. Now, on my end, I have followed the instruction for
TomCat on how to get SSL installed and it seemed to work fine. Got the
No, but code of JNDIRealm can be easily reused to create your own realm.
Le Vendredi 19 Août 2005 15:26, Rogerio Baldini das Neves a écrit :
Hi Folks,
Is it possible to authenticate in multiples userBase´s using JNDIRealm ?
I have a configuration as above:
Realm
Hi,
I have JDK 1.5 [J2SE 5.0 update 3], Tomcat 5.5.9,Win
XP SP2, Trying a e.g. session tracking [The Session
Tracking API] using HttpSession object.
The program works[ accessCount increments] when I
don't close the current browser and open new brwoser
with CTRL + N, But if i quit the browser and
Which OS you used and is your firewall open for UDP port
45564 and TCP 4001 ? Is your network interface enabled for Multicast
Packages ?
Why you used the deployer ?
Peter
SUGAHARA Toshio schrieb:
Sorry, attached file was not sent and I'll try again.
[error message]
ERROR main
Does it not increment at all or does the increment counter gets reset and
starts all over again from 0. Basically if you want to keep the counter
incrementing everytime you access that page (or hit that that servlet) you
need to make it a static variable in your servlet/jsp.
-Original
Tomcat uses commons daemon to run as a service.
tomcat5w.exe is really prunmgr.exe and tomcat5.exe is prunsrv.exe
Instructions for configuring prunmgr.exe and prunsrv.exe are here:
http://jakarta.apache.org/commons/daemon/procrun.html
Robert
Of corse it doesn't. If you close the browser you are killing the
session. So when the browser reopens it is getting a new session
object. This is exactly how it is supposed to work. You might be be
able to store the value in a cookie, but if the user blocks them or has
set their browser
hmmm wild guess here but are the cert file and the web app owned by the
same user and group that executes the Tomcat thread(s)? i.e. If Tomcat
is run by user say tomcat, and the other persons web app is owned by
another user, and the cert is owned by say root I could see it causing a
Brian,
My programmer states that she doesn't know who she is running it as. I
guess I should have mentioned we are running this app on a Windows 2000
environment for both the server and the Java app. Does that make any
sense?
-Wes
-Original Message-
From: Brian Cook [mailto:[EMAIL
Thanks for the e-mail:
First time it was 0 , then 1 , This is when the
browser was closed and opened then it never
incremented was always 0 when browser was closed and
opened.
I am attaching the Showsession.java file for
reference. May be i am missing some thing if the
variable is made static
Hi;
I have 2 domains. I need to get a cookie from domain A to domain B.
Is the best way to do this to have a img src=www.domainB.com/servlet
http://www.domainb.com/servletcookie=value cookie=value/? And if so:
1. Anyone have some sample servlet code for this so I don't have to
I think you need to read up on the java language a
bit. See what static and final mean.
Wade
--- Raghaw Goswami [EMAIL PROTECTED] wrote:
Thanks for the e-mail:
First time it was 0 , then 1 , This is when the
browser was closed and opened then it never
incremented was always 0 when
As well as the rules for session management.
Wade Chandler wrote:
I think you need to read up on the java language a
bit. See what static and final mean.
Wade
--- Raghaw Goswami [EMAIL PROTECTED] wrote:
Thanks for the e-mail:
First time it was 0 , then 1 , This is when the
browser was
From: Wendy Smoak [EMAIL PROTECTED]
I have a standalone Tomcat 5.0 instance, and a third-party webapp that has
support for authentication via LDAP. Of course, we don't have LDAP, we
have Kerberos. It should be a simple matter to plug in a different Realm,
right?
Replying to myself for the
Thanks for e-mail's.
I am new to these technologies learning on my own, I
will read on java language and session mgmt.
Thanks again.
R.
--- Brian Cook [EMAIL PROTECTED] wrote:
As well as the rules for session management.
Wade Chandler wrote:
I think you need to read up on the java
Well,
Understand that once you enter the domain of having someone edit an XML
file, you are already into error prone territory.
You might consider changing the parameter to specify a file name. The
specified file could be formatted anyway you liked, but probably with
one value on each line of
Hi
if i am running tomcat as service on windows 2000
server, and if i need to pass additional java
parameters like -Dsun.io.useCanonCaches=false,
what is the best way to do, i have already these
parameters in catalina.bat file, but it seems that
when tomcat runs as a service it does not use that
Use the tomcat5w.exe to set the appropriate parameters. If it gives you
an alert saying The specified service does not exist as an installed
service, just execute service install and tomcat5w will work
properly.
Regards,
Marius
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL
Have look at these two links:
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservc
fgpage=overview
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=jsmpag
e=overview
Thanks...
Arup
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL
Hayes, Wes wrote:
Good Morning,
I am the Network Admin working with a programmer trying to get TomCat
5.5 working with SSL. She is trying to run a servlet via Oracle
JDeveloper 10.1.2. Now, on my end, I have followed the instruction for
TomCat on how to get SSL installed and it seemed to
I'm a little fuzzy on the interaction between the components so I might be
missing something here...
I downloaded the latest nightly build of commons-daemon. This included the
java components of daemon (commons-daemon.jar) but not the native component
(procrun).
I replaced my existing Tomcat
Hi;
When I go to process a credit card I first forward to a page that has an
animated gif on it. The page then does a refresh to the page that processes
the card displays the results.
I want the enimated gif to keep running while the request is pending for the
new page - but as soon as
Hi All,
There is a requirement on the server that we have Tomcat 5.0.28 deployed
that no username/password information can be stored in plaintext (in the
open). Like many people, we are using JNDI datasources in our web
application. The datasource connection information (including the
According to the OWASP Web Application Penetration Checklist
(available from www.owasp.org), a secure application server
should:
* Ensure that supported SSL versions do not have
cryptographic weaknesses. Typically, this means
supporting SSL 3 and TLS 1.0 only.
* Ensure that the web
Hello All,
I am new to Tomcat. I am using the following for my application
Tomcat : 5.0.28
Java : 1.4.2_08
Struts : 1.1
Windows XP.
I am able to access my application that is hosted on my local box.
http://localhost:8080/XYZ/loginForm.jsp
I connect through VPN for my office
Are you saying you are taking the PC that runs Tomcat home with you and
it does not work at home? Or are you trying to connect to Tomcat
running at the office from anther PC at home? If it is the second one
then you need to use the actual IP or domain instead of just localhost.
What other
Not sure if this is the proper place for this message or if it's better in a
java discussion but I get different results depending on if Tomcat is
running as a service versus when I start it using the batch file in a cmd
window. So I'll try it here first.
I have a java application from which
Hi,
Since IIS 5.1 and isapi-redirect.dll (1.2.14) seems to have some issues
with HTTP request like OPTIONS and PUT. I posted my question on IIS
forum aswell. I got the following reply from them. Please do look at the
email sent from Microsoft:
David Wang [Msft] wrote:
Let me summarize
Tomcat is running on my local machine. Application is
using MYSQL database and it is also on my local box.
Whenever I connect to office through VPN and try to
access the application that is hosted on my local box,
then I get this error in addition to what I mentioned
before
Aug 19, 2005 4:36:30
I think its a basically a DNS / route problem, triggered by the search
for a DTD within struts (i think its struts, but dont hold me to that)
When you connect to your VPN there is no route to jakarta.apache.org
as the error says :
java.net.UnknownHostException: jakarta.apache.org
At a guess,
I was thinking along the same lines of struts unable
to reach jakarta.apache.org. But, I can access all the
web sites even if I am connected to office through VPN
(We do that browsing by using a proxy script path
mentioned under Internet Options-Connections-LAN
Settings : Use automatic
So, i think the issue is getting tomcat (well, the JVM) to use your proxy.
Im not really sure where to start with that tbh.
From what i know the jre should just use the IE proxy settings
(assuming the control panel still has 'use browser settings' checked.)
But i dont know what the standard
The SessionListener can check if the attribute implements
Serializable, not if it actually is serializable.
i.e. Nothing to stop people from storing objects which implement
serializable but will barf when actually are serialized.
So - I want to catch each time there is a serialization exception
I have a problem with Tomcat Virtual Hosting. I have my virtual host defined
like so in server.xml (the source thing there is from Eclipse Webtools):
Host name=www.mysite.com http://www.mysite.com
appBase=c:\sites\www.mysite.com\ unpackWARs=true autoDeploy=true
xmlValidation=false
All,
Has anyone successfully run Connector MXJ successfully with Tomcat, Standalone,
or with JBoss?
Connector MXJ allows you to manage MySQL databases through JDBC or JMX MBeans.
- andy
-
Start your day with Yahoo! - make it your home page
hey folks,
i'm working on the VelocityTools project, and we've run into a bit of
an issue with our mutual use of commons-logging. If you read the
emails below, you'll see that the combination of Tomcat 5.5.9 and
VelocityTools 1.1 (or 1.2-dev) create a nasty little infinite loop.
Apart from
47 matches
Mail list logo