Hello all,
How can i make the Tomcat opens to my servlet once i call it, using this
call "http://localhost:8080"; ???
What i wan to say that i want me own servlet be the default page, and I am
using apache-tomcat-5.5.17
Thanks
you can create a filter that does response.setContentType("UTF-8") or
whatever encoding you need
filip
Ramez Ghazzaoui wrote:
Hi,
I have exposed a specific Windows file system folder on my Tomcat HTTP
5.5.9 server box's local hard drive so I can access files in that
folder remotely. For sim
this is JK/AJP connector, and it sucks, cause you can't remove it. later
versions of tomcat its only logging this under debug.
Filip
Terry Orechia wrote:
How do I control the logging of username/password in tomcat logs when a user
logs into the tomcat website. There are no logging statement
The admin application is by default protected by security-constraints
which are defined in its web.xml file. In the delivery version, the
admin application required a user with the "admin" role.
You may remove the security constraints (not recommended except
for development purposes) or create a
Hi, I have installed tomcat 5.5.17 and web administration tool. After to
put login and password, I get that error:
HTTP Status 403 - Access to the requested resource has been denied
type Status report
messag
OK we finally pinnned the issue down to a client's
proxy server.
We have few ajax refreshes happening on our html
pages. Under certain conditions IE sends a RST when
its unable to serve these requests (you can quickly
verify this by running ethreal while viewing new Yahoo
pages with real time updat
> I have a problem with some tomcat servers that regularly start thowing
> exceptions about too many open files (the stacktrace is in a network socket
> aperture). One solution is increasing the ulimit but would disabling http
> keepalives reduce the open file count?
Do you use Runtime.getProce
Thanx tim,
I have one last question, which would be probably the hardest to answer...
How do I now _which_ servlet is behind me in the chain?
regards
Leon
On 5/26/06, Tim Funk <[EMAIL PROTECTED]> wrote:
Yes you will ...
doFilter(...) {
// log and set other timing variables
try {
cha
Hi,
I have exposed a specific Windows file system folder on my Tomcat HTTP
5.5.9 server box's local hard drive so I can access files in that folder
remotely. For simplicity, let us say I've inserted the following Context
in my server.xml:
trusted="false" crossContext="
Yes you will ...
doFilter(...) {
// log and set other timing variables
try {
chain.doFilter(...)
} finally {
/*
servlet done executing - log some more
*/
}
}
If the filter is invoked on includes and forwards too - you can also get more
granually logging.
-Tim
Leon R
Are you sure this is your config?
Your mail:
"I am using .Form Based Authentication using Memory Realm via
tomcat-users.xml file"
Your web.xml:
"
FORM
JDBCRealm "
also, might be good if you check / send the context.xml of your webapp.
This all looks to me like a request dump valve has bee
I'm not sure I will have control of the end of the servlet execution
with the filter, would I?
regards
Leon
On 5/26/06, Tim Funk <[EMAIL PROTECTED]> wrote:
You might have an easier time using a Filter. But this might not offer the
same amount of granularity. (Using a HttpServletRequestWrapper()
On 5/26/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I thought the welcome page had to be a .jsp or .html according to the
servlet spec?
? Where do you see that in the spec?
--
Hassan Schroeder [EMAIL PROTECTED]
You might have an easier time using a Filter. But this might not offer the
same amount of granularity. (Using a HttpServletRequestWrapper() might help too)
-Tim
Leon Rosenberg wrote:
Hi,
sorry if my research hasn't been very deep, but does someone know how
to patch the servlet instantiation i
I tried a and it worked.
I thought the welcome page had to be a .jsp or .html according to the
servlet spec?
I'll try removing the white space before the redirect or forward and
see if that works.
Shawn
-- Forwarded message --
From: "Garner Shawn" <[EMAIL PROTECTED]>
To: users@
Hi,
sorry if my research hasn't been very deep, but does someone know how
to patch the servlet instantiation in tomcat the easiest way?
The background is, that I'd like to insert an own class (via
java.lang.reflect.Proxy) between the connector and the actual servlet
instance to perform some addit
Prashant kumar wrote:
> Hi All,
>
> 1) Is there any means by which GC takes less CPU, I mean that it
> can take longer time to complete its one cycle (as memory is not a
> constraint) ?
You've set quite a lot of heap 3400m. Do you really need that much
memory? The more you set, the more t
Dirk Moolman wrote:
> A quick question about CATALINA_HOME and JAVA_HOME - I do not have both
> set in my profile on my server. I only set the JAVA_HOME - will this
> cause a problem for me in future ?
No... catalina.bat or .sh (at least TC 5.x+) can guess CATALINA_HOME by
simply checking what dir
Hi,
somehow I don't get it. Why not simply assume that JAVA_HOME is properly
set on every environment you want to run Tomcat? You need a proper Java
installation anyway. Then there should not be any need to "configure"
JAVA_HOME yourself.
It looks different in case you want to get independend als
El Jueves 25 Mayo 2006 22:47, Wade Chandler escribió:
> I'm sure it's a different case. If you would like to
> ask a question it would be polite not to hijack
> someone elses thread. Please create your own email to
> the list with a specific subject and message/question.
Sorry. I think i
Hi,
I have no experience with Windoze, but I see one solution to detect
drive letter:
what about to use small script written in Perl???
Install perl distribution on to your Memory Stick; under UNIX systems
is perl always present (99%).
Perl has more features then CMD.EXE...
Only idea
Good lu
How do I control the logging of username/password in tomcat logs when a user
logs into the tomcat website. There are no logging statements in my servlet
to print this data and there is no code to catch the login request . Each time
a user logs into the website , the username and password are
Are you talking about the thread I had started regarding build the
native connector on HP?
http://marc.theaimsgroup.com/?l=tomcat-dev&m=113156765527679&w=2
If so, I don't believe that is relevant to my current issue.
,
Josh.
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTEC
Good Morning Josh-
You asked Yoav Shapira (from Apache) on a very similar topic and he provided a
suggestion last November
I would be interested to know what were the results when you followed his
suggestion?
Thanks,
Martin --
*
I tried too, no success :p
-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: May 26, 2006 9:16 AM
To: Tomcat Users List
Subject: Re: jsessionid
Oh yeah! Parameters are case sensitive. You need to make sure the case
is
the same as what is produced automatically. I do
Oh yeah! Parameters are case sensitive. You need to make sure the case is
the same as what is produced automatically. I don't recall it being all
lowercase.
On 5/26/06, Gilbert, Antoine <[EMAIL PROTECTED]> wrote:
Tried these without success
http://myurl;jsessionid=xx?otherparams
http://myur
Then I am way off base.
On 5/26/06, Fenlason, Josh <[EMAIL PROTECTED]> wrote:
I don't follow what you're getting at. I'm just trying to get Tomcat to
startup. Apache isn't up yet. I have Tomcat's HTTP connector disabled.
The only two ports that Tomcat is using is the shutdown port and the aj
Tried these without success
http://myurl;jsessionid=xx?otherparams
http://myurl?jsessionid=xx&otherparams
http://myurl?otherparams;jsessionid=xx
-Original Message-
From: Marc Farrow [mailto:[EMAIL PROTECTED]
Sent: May 26, 2006 9:10 AM
To: Tomcat Users List
Subject: Re: jsessionid
shou
I don't follow what you're getting at. I'm just trying to get Tomcat to
startup. Apache isn't up yet. I have Tomcat's HTTP connector disabled.
The only two ports that Tomcat is using is the shutdown port and the ajp
port. I know that nothing else is using those ports. Thanks.
,
Josh.
> -O
should not the jsessionid be just another parameter like the rest?
have you tried this?
http://myurl?jsessionid=xx&otherparams
On 5/26/06, Gilbert, Antoine <[EMAIL PROTECTED]> wrote:
Hi
I have a problem related to http sessions.
I have an image tag in a page. Using JavaScript I change
I am making a blind stab in the dark here, but it seems as though your
Tomcat AJP connector is listening is on another port than what your actual
AJP is running on.
On 5/26/06, Fenlason, Josh <[EMAIL PROTECTED]> wrote:
Thanks for the suggestion, but the port isn't in use. If I disable the
nati
Hi
I have a problem related to http sessions.
I have an image tag in a page. Using JavaScript I change the source of
the image and calling a servlet hosted by tomcat 5. In this particular
case I have to specify the jsessionid in the url to bind the call to an
existing session.
http://my
Thanks for the suggestion, but the port isn't in use. If I disable the
native connector, Tomcat starts up fine. I ran netstat and nothing was
using that port. Changing the AJP port to something else that I know is
open doesn't fix it either. I'm pretty sure there is something fishy
going on (at
The issue is, he doesn't know which drive letter he is being assigned
in windows
the start.sh script would need to call
DIRECTORY = `cd`
and then base JAVA_HOME on this
but don't ask me how to do this in deMeSDOS
Andrew
On 26/05/2006, at 1:15 PM, Harshal Joshi wrote:
Hi,
I am
Hi,
I am sending sample command which u can write in bat file...
cd\
set JAVA_HOME = C:\jdk142_04;
set CATALINA_HOME = C:\Tomcat 5_0_28;
just write appropriate path of your Java & Tomcat in above code...now save
above file with ext. of bat & run it...
I hope this is what you want & will help y
* Markus-Alexander Metz wrote (26/05/06 11:51):
> Hi Andrew
>
> Thanks for your feedback. I'm running the stick under windows based systems.
> Java (jre and SDK) is also installed on the stick. You wrote:
>
>> Why do you not define JAVA_HOME and CATALINA_HOME in the startup scripts?
>
> This wou
Hi Andrew
Thanks for your feedback. I'm running the stick under windows based systems.
Java (jre and SDK) is also installed on the stick. You wrote:
Why do you not define JAVA_HOME and CATALINA_HOME in the startup scripts?
This would be the solutions I was seeking. But how does this script ha
You can do it. But there are a few quirks.
Your Realm classes have to be accessible to the server class loader.
This means another layer of indirection is needed to keep all your
webapp specific classes out of the common/server classloader.
What we did, where:
Common Classloader:
An interfac
You must set CATALINA_HOME.
Variable Name: CATALINA_HOME
Variable Value: C:\Tomcat 4.1
Tomcat 4.1 is the main directory.
>A quick question about CATALINA_HOME and JAVA_HOME - I do not have both
>set in my profile on my server. I only set the JAVA_HOME - will this
>cause a problem for me in fut
A quick question about CATALINA_HOME and JAVA_HOME - I do not have both
set in my profile on my server. I only set the JAVA_HOME - will this
cause a problem for me in future ?
-Original Message-
From: Markus-Alexander Metz [mailto:[EMAIL PROTECTED]
Sent: 26 May 2006 11:07 AM
To: Tomcat
I am not sure I understand the problem?
Are you running on Windoz or a UNIX(tm) based system?
Why do you not define JAVA_HOME and CATALINA_HOME in the startup
scripts?
How do they start TOMCAT in your scenario - why don't you just do a
'pwd'
and base the other variables relative to that?
I
Markus
One possible solution would be to use something else than a Memory Stick.
You could set a Virtual Private Server with a popular provider like
Spinweb, Webappcabaret or EApps for a small monthly fee, then set your home
and work dev environment to point to it.
I currently run something simila
Hi David
Thank you very much for your feedback :-) ... I have no problems when
running tomcat on my memory stick ... the problem is another one. For
getting running tomcat you have define CATALINA_HOME and JAVA_HOME. This
values have to be defined on every pc, on which I wanna run tomcat. So the
43 matches
Mail list logo