I have a login form that works fine in my local
development environment with a single webapp deployed
to the default localhost host. However, in a hosted
environment with multiple hosts defined in my
server.xml Tomcat returns a 404 response and a blank
page. The html form follows the servlet
Using the standard scripts, you would pass the options via the TOMCAT_OPTS
environment variable. The actual options depends on the JVM vendor, but for
the Sun JVM you would do something like:
TOMCAT_OPTS=-Xms128M -Xmx512M
Tomcat just uses the default values for the JVM.
nyhgan [EMAIL
Hi all,
I put some name-value properties in the context putting them in the web.xml
in this way:
context-param
param-namecompanyName/param-name
param-valueMy Company, Incorporated/param-value
/context-param
Is this right?
Now I need to read them from within my classes... How can I
Mario Moroni wrote:
Hi all,
I put some name-value properties in the context putting them in the web.xml
in this way:
context-param
param-namecompanyName/param-name
param-valueMy Company, Incorporated/param-value
/context-param
Is this right?
yes
Now I need to read them from within my
I find no implementation for jvm.dll in j2sdk1.4.2/src.zip provided as a
source code zip of java.
Where must I ask for exact source code. specially the .c files which operate
on AggressiveHeap or a function who displays following message.
You need at least 256mb of memory to use
Hi Yoav
The usual reason for this error is a mismatch between the contents of
your web.xml file and what you actually want to do ;)
hmm ... :)
The second most common reason is a server.xml configuration error.
Is Login.html really a static HTML file or a servlet/JSP? If the
latter, is it
Hi,
Please mark questions that have nothing to with Tomcat with [OFF-TOPIC]
in the subject line. Thanks,
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Monday, August 30, 2004 3:14 PM
To: Tomcat Users List
Subject:
Hi.
Someone knows how Tomcat 4.x (or 5.x) using mod_jk2 can be configured to
merge tomcat context path and httpd path like mod_jk do.
Thanks in advance
LFung
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I'm familiar with using AXIS webservices to send SOAP-XML to Tomcat and back. But how
do i receive a request and send a response with raw XML data so that I can then parse
the request with SAX?
Thanks so much,
Tom
-
Do you Yahoo!?
Win 1 of
On Mon, Aug 30, 2004 at 01:36:40PM -0700, tom ly wrote:
:
: I'm familiar with using AXIS webservices to send SOAP-XML to Tomcat and back. But
how do i receive a request and send a response with raw XML data so that I can then
parse the request with SAX?
[I've marked your thread as off-topic.]
Duh haven't slept for 48 hours and forgot about servlets. Thanks a lot for
reminding me!
-Tom
QM [EMAIL PROTECTED] wrote:
On Mon, Aug 30, 2004 at 01:36:40PM -0700, tom ly wrote:
:
: I'm familiar with using AXIS webservices to send SOAP-XML to Tomcat and back. But
how do i receive a
I've developed a servlet on my windows laptop using a product called Turbine and it
normally starts using http://localhost:8080/apt/servlet/apt.
I'm now trying to deploy this to a Linux server running Redhat Linux and SSL. I've
tarred the webapp up into a war file and transferred it to my
Hi,
I am trying to put Tomcat as part of my program installation on
a Windows system and would like to change the script a little bit.
I understand that Apache Tomcat uses NSIS (Nullsoft Scriptable
Install System) for their Windows installer. Can anyone tell me
whether, where, and how I can get
In your web.xml, you might want to try add the following
web-app
...
!-- must add the following servlet mapping after tomcat v.4.12 --
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
/web-app
This is required after
for easy installing you dont need to unzip files just use the tomcat
.exe installer, and check option to install tomcat as a service. make
sure to have a j2sdk installed first.
On Mon, 30 Aug 2004 13:58:56 -0400, John Villar
[EMAIL PROTECTED] wrote:
Have you verified that your personal firewall
Hello!
Is there a way to get the user login of a client in windows
using JSP/Servlet?
I'm working on something, i want to get the user login of a
client and verify it in Active Directory.
Thanks in advance!
aris
Running JspC as an Ant task in Tomcat 5.0 and it appears to be loading JSPs as part
of the compilation process. This is problematic when a usebean constructor or static
initializer attempts to use a service not available.
Let's say you you have a usebean whose constructor makes a database
That is really an opened ended question. Are you talking about getting the
username and password if you use SingleSignOn? If so then you would do
request.getUserPrincipal() cast it to a GenericPrincipal and do a getName
and getPassword. If you are using a roll your own then just have your JSP
when i use request.getRemoteUser(), it returns null value.
I don't see GenericPrincipal, only GenericCredential interface in API.
what i want to do is get first the login username then verify it in
active directory if it exists...
thanks
-Original Message-
From: Keith Bottner
On Mon, Aug 30, 2004 at 06:42:46PM -0700, Treespace wrote:
: Let's say you you have a usebean whose constructor makes a database call. The
: datasource is loaded in the J2EE container but it is not available to Ant when
: running the JspC task. Likewise, attempting to get an object from the JNDI
:
On Tue, Aug 31, 2004 at 10:37:58AM +0800, Aris Javier wrote:
: when i use request.getRemoteUser(), it returns null value.
:
: what i want to do is get first the login username then verify it in
: active directory if it exists...
Does JNDIRealm work with AD?
If so, you could setup your auth
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
1. Is it possible to know how much RAM is used by
servlets by per domain basis?
2. Is it possible to specify the maximum RAM could
be
used by per domain basis?
The domain is as example.com, my-domain.com, etc.
Pretty much no to
On Mon, Aug 30, 2004 at 08:37:24PM -0700, Sagara Wijetunga wrote:
: Since the servlet resides in the RAM once it is
: loaded, the memory consumption and possible abuse is
: my concern.
There's much more to memory in a Java webapp than just the servlets.
Read on:
: 1. Is it possible to run
--- QM [EMAIL PROTECTED] wrote:
On Mon, Aug 30, 2004 at 08:37:24PM -0700, Sagara
Wijetunga wrote:
: Since the servlet resides in the RAM once it is
: loaded, the memory consumption and possible abuse
is
: my concern.
There's much more to memory in a Java webapp than
just the servlets.
24 matches
Mail list logo