sorry for not indicating this. It's Suse Linux 10 and JDK 1.5.09.
-- Juerg
From: Caldarale, Charles R [EMAIL PROTECTED]
Sent: Monday, February 04, 2008 1:48 AM
To: Tomcat Users List
Subject: RE: MBeanServer is not available
> From: Juerg Meier [mailto:[EMA
On Feb 3, 2008, at 10:58 AM, Konstantin Kolinko wrote:
Konstanin,
Thank you for your response! Below are responses to your statements...
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
Why are you using such an old version of specification? Why not 2.4
or 2.5??
I think my question was m
Mark,
Thank you very much! Your suggestion worked perfectly and has given me
an area to focus on.
Terence.
On Feb 3, 2008, at 10:51 AM, Mark Thomas wrote:
Terence Kent wrote:
Conclusion:
My understanding from this configuration is that all requests on
port 8010, that end with the extensi
Hi All,
My Apache 2.2 (win32) + Tomcat 6 are running very well in my production
environment but I am noticed that jk are sometime spend unexpected long time
to response. (4-5 seconds, it's too long. Those pages are very static with
no database connection, no file io).
Here is my environment:
Ap
Hi!
I'm developing 4 web shops that has the same war file but will have
different looks. What is the best approach to set up the hosts?
I would prefer if I could set domain, some context settings when loading the
webapp. 4 different domains, same server, same war different storeid,
language
//
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Huragan,
Huragan wrote:
| I am new to j2ee and have been trying to understand how cookies work.
Cookies are independent of the J2EE specification: they are part of the
HTTP specification. The servlet specification (part of J2EE) says that
cookies ar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
|> Use two separate instances of the web browser.
|
| this is the best solution. Is there a way for openning a new
| instance of web browser such as IE by clicking a link on JSP page?
Not reliably. Aren't thin clients great?
- -c
> From: Juerg Meier [mailto:[EMAIL PROTECTED]
> Subject: MBeanServer is not available
>
> I installed the tomcat web administration tool/application on
> a tomcat 5.5.23 instance. Should not be a big deal, and the
> app runs fine, but all functions relying on JMX do not seem
> to work.
What J
> From: Paul Wallace [mailto:[EMAIL PROTECTED]
> Subject: RE: appBase
>
> unpackWARs="true" autoDeploy="true"
>xmlValidation="false" xmlNamespaceAware="false">
> and in
>
> C:\myapp.build.target\gs-mydir\site\META-INF\context.xml
The above is incorrect. The appBase attribute s
(please only reply to the list).
What errors are described in tomcat/logs/catalina.out or any other
relevant log files? (e.g. the log for localhost)
Which OS are you deploying on?
p
Paul Wallace wrote:
Thanks Pid,
My folder structure is as you expected.
In server.xml I have:
and in
Thanks Pid,
My folder structure is as you expected.
In server.xml I have:
and in
C:\myapp.build.target\gs-mydir\site\META-INF\context.xml
An HTTP 400 error is still returned however when the server is started and I
access localhost.
I am not unpacking any WAR.
Thanks
Paul.
-O
The second POST should still occur, but it should occur after the
initial GET is recovered after authentication.
Your confusion is that you are seeing the 1st GET, when you expect
(incorrectly) the POST.
When you make the first request, you are not authenticated, which causes
the 401 & the r
Sorry I missed this information - it's been a long day.
Clearing the browser cache and opening a new window - works fine. Don't know
what the problem was, as I've made a few changes since I first posted, but
it works now.
Thanks very much.
John
On 03/02/2008, Konstantin Kolinko <[EMAIL PROTECTE
What do you observe?
When authentication form is shown, does it include session id in its
target url (in its HTML source)? Does jsessionid shows up in the url
in the address bar?
Is the problem reproducible if you clear the browser cache and start
from a new (blank) browser window?
What Tomcat v
I am new to j2ee and have been trying to understand how cookies work. I am
using tomcat 6.0.13. I have tried setting cookies on client browsers(both IE
& Firefox). However, it never succeeds. mostly am getting a
NullPointerException. I narrowed it down to the part of code where cookies
get retriev
Hi,
I have just implemented url encoding in my app, so that it now works in
Opera, FF, IE7 with cookies either enabled or disabled. When cookies are
disabled, I get the jsessionid showing up in the url. (Most pages require
the user to be logged in ).
It doesn't work for ie6 though. With cookies d
Hi,
I installed the tomcat web administration tool/application on a tomcat 5.5.23
instance. Should not be a big deal, and the app runs fine, but all functions
relying on JMX do not seem to work. E.g. when I press the "Environment Entries"
link, the following exception appears:
javax.servlet.S
You may look into FormAuthenticator.java of package
org.apache.catalina.authenticator and see it with your own eyes.
2008/2/3, Ashok Venkat <[EMAIL PROTECTED]>:
> Thanks for the detailed explanation, as you mentioned it seems that the
> second request is being ignored ,but i am not clear how com
Thanks for the detailed explanation, as you mentioned it seems that the second
request is being ignored ,but i am not clear how come the original request is
matching with the second request? The original is GET and the second one is
POST? does tomcat compare just the URL strings?
- Origina
>"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
Why are you using such an old version of specification? Why not 2.4 or 2.5??
Nowadays, with tomcat 5.5 and 6.0 it is very rare (and discouraged) to
configure context in server.xml.
For the root application it is sufficient to name it "ROOT"
Terence Kent wrote:
Conclusion:
My understanding from this configuration is that all requests on port
8010, that end with the extension .ext should be forwarded to the
servlet "mycompany". From what I've read, any paths created in the
${APP_BASE} directory should be irrelevant in this mapping
Hello all,
I am new to tomcat and running into a problem that I am unable to
resolve. I don't know all the correct vocabulary to use here, so bare
with me as I attempt to describe the problem I'm running into. Here
goes...
In a nutshell:
All requests to:
dwww.mycompany.com:8010/foor/bar.
You do
1) GET call
> int_result = httpClient.executeMethod( getMethod );
The server caches your request and returns html page that contains the
login form.
2) POST call
> postMethod = new PostMethod(
> "https://localhost:8444/j_security_check"; );
> int_result
Yes, it might be.
Michele
On 3 Feb 2008, at 17:05, Mark Thomas wrote:
Michele Mazzucco wrote:
Any idea?
Maybe http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
Mark
-
To start a new topic, e-mail: users@tomcat.apach
>
> Yes. I manage the log4j configuration myself when my webapp loads -
> from a props file - I'm not using any of log4j's auto configure /
> discovery stuff.
>
Tomcat uses commons-logging for its logging needs. Apache commons
logging does decide what logging implementation to use at the time
whe
Michele Mazzucco wrote:
Any idea?
Maybe http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
As everyone knows by now, the POJO Application server is a new invention, it
runs pure Java applications, in contrast to just beans.
Its a mean powerful machine using pure Java as its specification, and what
started as fun, just hasnt stopped.
Whether its a typical biz type dB backed application
Konstantin,
Man - you are so right. Thanks for hanging in there. I should have looked at the target/classes directory and the log a little closer :-).
Thanks again,
- Ole
Once again, just to be sure.
The compiler creates two files, "TestFilter.class" and
"TestFilter$1.class". Do you c
Tough to say without seeing the source..
Can we see the code for GetMethod.java ?
Can we see the code for PostMethod.javaMartin
__Disclaimer and confidentiality
noteEverything in this e-mail and any attachments relates to the official
business of Send
Hi, Ole
> In this case I just recompiling the filter and copying it over the the classes
> folder of the webapp. It's definitely there.
Once again, just to be sure.
The compiler creates two files, "TestFilter.class" and
"TestFilter$1.class". Do you copy both of them? You wrote "it", not
"they"
Hello everybody,
I'm running tomcat 6.0.14 on Linux. It worked fine for a couple of days
then, after a reboot, the NIO connector failed throwing the following
exception
03-Feb-2008 14:37:05 org.apache.tomcat.util.net.NioEndpoint
setSocketOptions
SEVERE:
java.lang.NullPointerException
at
o
Ashok Venkat wrote:
Hi,
I have the following code in a scheduler class, which is trying to
invoke a servlet
String url = "https://localhost:8444/servlet/TestServlet";;
// Get HTTP client instance
HttpClient httpClient = new HttpClient();
// Create H
Paul Wallace wrote:
Hi,
Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully
formed path e.g:
or
(assuming mysite is two folders above CATALINA_HOME)
Neither work and an HTTP 400 is returned.
This stops the show also in server.xml:
How do I point th
33 matches
Mail list logo