Apache, Tomcat and authentication appear to be working correctly%String uName =
request.getRemoteUser();% //returns nullNetware 6 sp3Apache 2.0.48Tomcat 4.1.29mod_jk
1.2.5more info:
http://developer-forums.novell.com/group/novell.devsup.webserver.apache2/readerNoFrame.tpt/@[EMAIL
Everything appears to work fine except the message:
HostConfig[ServerName]: Deploying discovered web applications
repeating every 15 seconds. Any help would be appreciated.
Netware6 sp3
Apache2.0.48
Tomcat4.1.29
mod_jk1.2.5
SERVER.XML
*
Service name=Tomcat-esgwNet
Connector
Maybe some of the log might help:
*
2003-12-31 08:19:20 StandardManager[/Secure]: Seeding random number generator class
java.security.SecureRandom
2003-12-31 08:19:20 StandardManager[/Secure]: Seeding of random number generator has
been completed
2003-12-31 08:19:20
in the problem. I
think I'll try this again and make sure I didn't miss anything.
Howard Watson
Easter Seals-Goodwill N.R.M.
[EMAIL PROTECTED] 12/31/03 08:37AM
Howdy,
Are the applications deployed successfully, ever? Is anything modifying
files under any of the application directories every 15
While I was writing the following I changed reloadable to false in the context and
the problem went away. I'll post this message anyway, someone else may find this info
useful. In this case just kicking the problem around with others was what was needed.
Thanks for the replies. I have one more
Following are copies of two posts by me from the Novell Apache forum at
http://developer-forums.novell.com/group/novell.devsup.webserver.apache2/readerNoFrame.tpt/@[EMAIL
PROTECTED]@[EMAIL PROTECTED]@D-,[EMAIL PROTECTED]/@[EMAIL PROTECTED]
By referencing a JSP as the default page to load by
This is a link to a PDF with a good discussion of doing the things you talk about from
your web.xml.
http://java.sun.com/developer/Books/javaserverpages/servlets_javaserver/servlets_javaserver05.pdf
[EMAIL PROTECTED] 12/31/03 11:56AM
I'm developing an application that uses servlets and JSP.
Did you give Apache Directory rights to the directory structure for your application
and the folders where your css and images are stored?
[EMAIL PROTECTED] 12/31/03 02:20PM
OK, thanks. I got it to work using the servlet as the welcome file, but, now
I have the problem that I don't know how to
In my environment I would try something like this:
Apache.conf
---
##Alias should match Context in server.xml
Alias /tomcat full directory path to manager/html
Directory full directory path to manager/html
Options anyOptions
DirectoryIndex probably index.jsp
Order
From here: http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate
Why do I get java.lang.IllegalStateException?
These are the most common reasons how you can get an java.lang.IllegalStateException:
Calling setBufferSize and content has been written.
The response has been committed and you
Are you real sure that you do not have more than one sendRedirect in your code that
can be processed sequentially? The first one will set a header and the second will
throw an error.
Have a Happy New Year!
[EMAIL PROTECTED] 12/31/03 03:43PM
Howard,
I had already read the
May be I'm trying to help with something over my head. When I had this error I read
about using Return and could not visualize where from a servlet I would return to in a
JSP., so I know I need to research this.
However, the point is from the faq link I gave you:
These are the most common
Hello Merrill
If you're still working on this tomorrow and you want to share your code I'd be
willing to walk it through.
Howard Watson
Database Administrator
Easter Seals-Goodwill Northern Rocky Mountain
4400 Central Avenue
Great Falls, Montana 59405
(406) 771-3759
[EMAIL PROTECTED]
[EMAIL
Does anyone have any idea why a JSP referenced by name in a url would return
getRemoteUser = null and the same JSP referenced through DirectoryIndex in Apache2
would return getRemoteUser = expected user name.
Example:
http://serverAddr/DisplayUser.jsp returns null
In Apache conf
DirectoryIndex
Good Job!
[EMAIL PROTECTED] 01/02/04 11:44AM
Well--I think I've found the cause for my sudden IllegalStateException,
although I'm still not sure why.
Because it was claiming an IllegalStateException, and it was pointing to
the sendRedirect() statement, I assumed the sendRedirect() was the
Apache2.0.48
Tomcat4.1.29
mod_jk1.2.5
jvm1.4.1_02a
[EMAIL PROTECTED] 01/02/04 11:34AM
Does anyone have any idea why a JSP referenced by name in a url would return
getRemoteUser = null and the same JSP referenced through DirectoryIndex in Apache2
would return getRemoteUser = expected user
Additional Info:
Enumerate HeaderNames
===
host : myServer:port
user-agent : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
Firebird/0.7
accept :
the following for details...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12196
Jake
Quoting Howard Watson [EMAIL PROTECTED]:
Additional Info:
Enumerate HeaderNames
===
host : myServer:port
user-agent : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5)
Gecko/20031007
the connector (Apache) or from Tomcat itself. See the following for
details...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12196
Jake
Quoting Howard Watson [EMAIL PROTECTED]:
Additional Info:
Enumerate HeaderNames
===
host : myServer:port
user-agent : Mozilla/5.0 (Windows
/show_bug.cgi?id=12196
Jake
Quoting Howard Watson [EMAIL PROTECTED]:
Additional Info:
Enumerate HeaderNames
===
host : myServer:port
user-agent : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5)
Gecko/20031007 Firebird/0.7
accept :
text/xml,application/xml,application/xhtml
Do you need a webapps directory?
[EMAIL PROTECTED] 01/08/04 02:30PM
Hi all,
my environmemt:
OS: Redhat Linux
Platform: Intel x86
TC version: 4.1
tomcat4.conf:
--- cut -
CATALINA_HOME=/var/tomcat4
JASPER_HOME=/var/tomcat4
CATALINA_TMPDIR=/var/tomcat4/temp
cut -
First: There are
That's a greek character set. Is that intentional?
[EMAIL PROTECTED] 01/12/04 04:52AM
I run Tomcat 3.2 and it reports unsupported encoding iso-8859-7 when
using
FORMs. As a result, servlets receive garbage instead of data. Is there
a
workaround?
Kostas Harvatis
-
National Center for
What does the js in your JSP do and how are you including it? Some text
from your JSP might help.
[EMAIL PROTECTED] 01/12/04 09:58AM
I may be getting in over my head here as I'm really not all that
familiar
with patterns. And I'm not sure that the pattern has anything to do
with
problem. But I
Are the JSPs and servlets in the same branch of your directory tree?
[EMAIL PROTECTED] 01/12/04 11:37AM
Hmm.. The session IDs are def different.. Which begs the question -
why?
The servlet is being called from the .JSP - why would it start a new
session?
-Original Message-
From: Ben
Does any know of good document or a tutorial for using LogSetter within
a Tomcat3.3 Context? The log file is created but nothing is written to
it.
I've searched the list and the Internet and find nothing explicit about
using name= or servletLogger= in ContextLogSetter //Context.
If I don't use
I not 100% sure but I think the problem might be here:
And I have 1 webapp defined in Tomcat
[EMAIL PROTECTED] 01/14/04 03:48PM
Hi everyone.
I have the next configuration in my server:
- Windows 2000 - sorry, no chance to use Linux :-(
- Apache 2, with some virtual hosts
- Tomcat 1.4, with
Stumped you all, huh?
[EMAIL PROTECTED] 01/14/04 12:32PM
Does any know of good document or a tutorial for using LogSetter
within
a Tomcat3.3 Context? The log file is created but nothing is written
to
it.
I've searched the list and the Internet and find nothing explicit
about
using name= or
Context? If you do I'd like to
hear about it?
[EMAIL PROTECTED] 01/14/04 03:27PM
I assumed he meant he wanted to access the same webapp in Tomcat in
each
virtual host in Apache. In that case, he only wants and only needs 1
webapp in Tomcat.
Oscar
On Wed, 14 Jan 2004, Howard Watson wrote:
I
In order to have a seperate log file for each web app you will need a
logger for each context.
Tomcat3 had ContextXmlReader that would allow you put context
configuration for each webapp in its own file. It also had LogSetter
name=servlet_log that you could define in ContextManager and log all
Howdy,
I did not ask anybody to care. I asked for a reference to documentation
that I was unable to find myself. I don't remember reading that the list
was version specific or only for users that support a single platform.
But, thanks for the reply anyhow.
[EMAIL PROTECTED] 01/15/04 07:06AM
.
Howard
[EMAIL PROTECTED] 01/14/04 11:31PM
Using the CVS HEAD (aka 3.3.2-dev), I have no problems with the
default
setup (which defines a LogSetter in the 'examples' Context).
Howard Watson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Does any know of good document or a tutorial
Are all of your named VirturalHosts registered in DNS? What error are
you getting?
Just for funnies try using:
Listen ipAddrOfVirtualHost.com
VirtualHost ipAddrOfVirtualHost.com
ServerName defaultVirtualHost.com
more working defaultVirtualHost.com stuff
jkMount webapp
/VirtualHost
It sounds like you may need to configure IIS require authentication from the user no
matter how they get there by requireing authentication to the directory(s) with the
dynamic content. But, don't know enough about IIS to tell you how to do that.
[EMAIL PROTECTED] 01/15/04 02:54PM
Hello
I'm
I have some links that pass parameters like this:
a href=IPclientSelect.jsp?task=AddAdd Client IPs/a
[EMAIL PROTECTED] 01/15/04 03:45PM
hi,
I have a page called First.jsp. I have a a name='tag' on it. When i
submit a form to a servlet, the servlet needs to forward me to
First.jsp#tag.
Are the Apache connector properties set to match the connector you defined in
server.xml? And is a Location the right place to set a worker property?
[EMAIL PROTECTED] 01/15/04 21:56 PM
Dear usergroup,
When I activated the following in my Apache 2 config within the VirtualHost
block for
I'll try to do that in the morning. If it works better I can send it direct to you and
post what matters to the list afterwards.
Thanks for the effort.
Howard
Howard Watson
Database Administrator
Easter Seals-Goodwill Northern Rocky Mountain
4400 Central Avenue
Great Falls, Montana 59405
(406
What is the vailue of UseCanonicalName in your apache conf?
[EMAIL PROTECTED] 01/16/04 08:36AM
I have setup apache/tomcat/ with Vhost and everything works great!
However, I am not able to use the IP alone with the server name to
access the system i.e.
http://server_name
to be explicit.
You might want to throw this around on the httpd user list?
Howard
[EMAIL PROTECTED] 01/16/04 10:17AM
Hi,
It is set to Off.
Should it be On?
-Original Message-
From: Howard Watson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:12 AM
To: [EMAIL PROTECTED]
Subject
at it. With a quick eyeballing, I can't see anything in the
code that would produce what you describe.
Howard Watson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks for the reply:
I'm using Tomcat3.3.1a for Netware. Took a look at what you talked
about and had the same problems. But, I
39 matches
Mail list logo