In user's ".profile"
-Original Message-
From: NanFei Wang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 6:45 AM
To: users@tomcat.apache.org
Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
Hi,
In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' at the
Mirek Kopriva wrote:
Not sure if I'm sending this question to the right forum, but
Thanks a lot for any help.
#properties
workers.ajp13.1.host=127.0.0.1
workers.ajp13.1.port=8009
workers.ajp13.2.host=xx.xx.xx.xx (other server IP)
workers.ajp13.2.port=8009
worker.list=loadbalancer, ajp13.1, ajp1
Hi,
Not sure if I'm sending this question to the right forum, but
anyway I will try as anybody might have experienced this already.
I'm trying to loadbalance (no clustering, session replication...)
our web application by using tomcat (2 instances) + httpd + mod_jk module
and have run into the folo
Hi,
I have set up BASIC authentication on Tomcat 5.5.9. I have also set up
a custom error page for HTTP 401 and HTTP 403.
When the username/password box pops up, I purposefully enter wrong
credentials. After 3rd unsuccessful attempt, it forwards me to an HTTP
401 page.
The problem is that the 40
Thanks a lot, it worked... =)
"Longson, Robert" <[EMAIL PROTECTED]> wrote: lalyne,
Either
a) edit service.bat and change the PR_CLASSPATH to include your stuff then type
service remove followed by service install.
or
b) run tomcat5w.exe //ES//tomcat, go to the java tab and edit the Java
Class
Len - Ahh, nice to know it's not my imagination. Well never mind, I just
wrote a
kludge to work around it for now.
Tim - Thanks for the reply but I test stuff using Spring's mock objects so
no actual JSP's are involved, anyway seems it is broke in some cases.
Andy.
-Original Message-
Mark,
I found and deleted the admin folder you mentioned. However, I'm still
not getting the "real" admin folder on my web server. Tomcat is still
responding but with a "404 - The requested resource (/admin/) is not
available.
I even tried killing the entire webapps\ROOT folder, but that didn't
[EMAIL PROTECTED] wrote:
Hi Mark,
Yes, as I mentioned, we can access "non-swf files without a problem". We
have exactly the same setup, I believe, for 2003 Server and XP Sp2 - it
runs from the same installer, which has no checking to distinguish between
the two.
We also have Apache talking to
Jarrod Holder wrote:
Mark,
The \conf\catalina\localhost directory is empty and there isn't an admin folder
at \server\webapps.
The admin interface is not installed, I'm only trying to get Tomcat to stop
responding when I hit the WEB_ROOT/admin folder from a web browser. The reason
being Tom
thanx again :-)
On 11/15/05, Tim Funk <[EMAIL PROTECTED]> wrote:
> A filter can trap all requests before the servlet is invoked. Thats why I
> like them better for this situation (in the root webapp). You can use a
> filter to rewrite the request to another context with the same code as you
> woul
I found an archived email on the dev list that shows
the latest version being mx4j-2.1.0.tar.gz. This did
work.
--- Creeping Death <[EMAIL PROTECTED]> wrote:
>
> I am trying to build tomcat 5.0.28 on a Sun 410 with
> Solaris 9. I downloaded the source, setup ant and
> have tried to build.
>
I am trying to build tomcat 5.0.28 on a Sun 410 with
Solaris 9. I downloaded the source, setup ant and
have tried to build.
I get the following error:
downloadgz:
[get] Getting:
http://telia.dl.sourceforge.net/sourceforge/mx4j/mx4j-2.0.1.zip
[get] To: /usr/share/java/file.tar.gz
Can you supply the relevant sections of your web.xml? I am using FORM-based
authentication--tested with both the Memory and JAAS realms--but maybe this
will give you some hints:
...
home page
/index.jsp
GET
POST
myrole
FORM
/login.jsp
/loginError.jsp
Hiya,
I am using Tomcat and Apache to host a simple website. I need to
have some security on the site. At least to start with. Eventually
I need to have security, period. :) So, following the documentation
and several walk-thrus from many sources, I cannot get tomcat to
cooperate. I
got it. needed AllowEncodedSlashes On.
On Tue, 2005-11-15 at 14:35 -0500, Dan Adams wrote:
> Okay, i'm using tomcat 5.5 and mod_jk with apache 2. It looks like I've
> got jk set up okay for the most part. I'm able to use the site as I did
> before switching to mod_jk except for one thing. When I t
Okay, i'm using tomcat 5.5 and mod_jk with apache 2. It looks like I've
got jk set up okay for the most part. I'm able to use the site as I did
before switching to mod_jk except for one thing. When I try to access
the following url I got a 404 from apache and tomcat never gets a chance
to touch the
Have checked and can't see anything...do you know how to turn up logging to
the maximum to really see what's going on?
cheers,
David
x54680
|-+>
| | Ryan McDonald|
| | <[EMAIL PROTECTED]|
| | brand.com
have you looked at the mod-jk and apache log files?
On 15-Nov-05, at 11:19 AM, [EMAIL PROTECTED] wrote:
Hi Mark,
Yes, as I mentioned, we can access "non-swf files without a problem".
We
have exactly the same setup, I believe, for 2003 Server and XP Sp2 - it
runs from the same installer, w
Hi I have question concerning Tomcat and Web Services. I have a web
services running on a server named 'DTJAS' under tomcat with JWSDP 1.6,
that sits behind a firewall. I would like to publish this to the
outside, so we came up with a name of LLOYDS, we have a web server
sitting outside the fire
A filter can trap all requests before the servlet is invoked. Thats why I
like them better for this situation (in the root webapp). You can use a
filter to rewrite the request to another context with the same code as you
would do it with a servlet. (Via a cross context forward)
-Tim
Leon Rose
Hi Mark,
Yes, as I mentioned, we can access "non-swf files without a problem". We
have exactly the same setup, I believe, for 2003 Server and XP Sp2 - it
runs from the same installer, which has no checking to distinguish between
the two.
We also have Apache talking to Tomcat via mod_jk quite hap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
you need to insert something like this :
com.your.package.YourContextListener
your servlet class might look something like this :
import javax.servlet.*;
public final class MyContextListener implements ServletContextLi
Thanx Reynir, it helps ... although I wouldn't mind if you could give me
more details ;-)
I have many web services that are initialised only when invoked the
first time.
I must admit that this init part looks a bit confused to me.
Any example based on servlet or singleton would be very much appr
thanks tim.
What is the benefit of using Filter instead of servlet?
The only thing I see, is that I can reconfigure it without changing
the web.xml and therefore without restarting the server. Anything
else?
I wanted to keep this functionallity out of the root webapp, not to
save the server from
It is my understanding that when you start Tomcat (version 5.0.28
customized for Liferay portal) from the command line (Windows XP Pro) via
the startup.bat with no parameters you do not have security turned on. In
order to use catalina.policy I would have to run "startup -security" Since
I'm no
Hi! I've been following the posts on special characters and have a
similar problem. I hope this is an appropriate list to post it to. I am
not a java programmer, but support a vertical market application written
in java for which I do not have source and for which the vendor is
unhelpful at b
Are the contexts stored in a certain text file? Sorry, I don't know much about
Tomcat.
Thanks again.
>>> [EMAIL PROTECTED] 11/15/2005 6:34 AM >>>
Ok. This only makes sense if you have a connector like mod_jk or the
isapi_redirector mapping contexts from Apache or IIS back to tomcat. In that
c
Hello All,
i am posting this question to the tomcat user group assuming people in this
group are familiar with eclipse IDE.
I am new to eclipse IDE. I have a question on the setup. I have 3 different
packages built in ecplise. I want to be able to direct the ouput of these
packages to 3 differen
IMO, it's a bad idea to still use Latin-1 these days. The best way
is to find out why you can't insert those characters. Well, I don't
know why you can't do so. Maybe there's because the MySQL provided by
EasyPHP is quite old.
By the way, since you use EasyPhp, that implies you're using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
there are several implementations of webservices available. the one most
successfull is axis from apache, you should read all about it on the
axis website..
http://ws.apache.org/axis/
of course it dependes on what you are going to do, but starting som
Hi Mark,
Is there any way to allow servlets to auto-logout a user when the timeout
has been reached.
We solved the problem slightly different.
We use a rather small timeout for the session (say 10 minutes) and put a
small iframe (nearly hidden, just changing colors) on the page where we
use a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I would suggest that you do this by using somethinglike JSON or AJAX.
See jasonspec: http://www.crockford.com/JSON/index.html
You could make the client query your server, in some interval and check
the session state.
hope it helps
- -reynir
Ma
> From: Mark [mailto:[EMAIL PROTECTED]
> So there is no way to provide this functionality using just
> servlets :(
You could sort-of hack something together using meta-refresh directives
on the pages so that the browser knew to refresh the page just as the
server timed out the session, but you n
So there is no way to provide this functionality using just servlets :(
On 11/14/05, Darryl L. Miles <[EMAIL PROTECTED]> wrote:
>
> Mark wrote:
>
> >Is there any way to allow servlets to auto-logout a user when the timeout
> >has been reached. Right now, I have tomcat configured for a 20 minute
>
Hi,
I made a Net Disk named P:\
The file ' test.jsp ' as following:
-
<%@ page import="java.io.File" %>
<%
String net = "P:\\";
java.io.File netDir=new java.io.File(net);
out.print(net+" exist = "+netDir.exists()+"");
out.print(net+" is Directory
If the servlet is that simple. I would
1) rewrite it as a filter
2) Put it in the root webapp
3) Map the filter to all requests
4) Use a config file to handle all your mappings
5) make the filter smart enough to re-read the config file
(servletContext.getResourceAsStream()) to detect changes so y
asking again...
any ideas, anyone?
thanx
leon
On 11/15/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have following situation:
>
> Business wishes (God knows why) to have a proxy proxying 6 different
> context's on our server and fetching context from another server:
>
> http://ourser
If you are using jsp - you need <[EMAIL PROTECTED] session='false'%> in your page
otherwise - a session is created for your whether you use it or not.
-Tim
Andy wrote:
Hi,
When I deploy my web app and call request.getSession(false), according to
the
javadoc, if a session does not exist null i
Ok. This only makes sense if you have a connector like mod_jk or the
isapi_redirector mapping contexts from Apache or IIS back to tomcat. In that
case, review your config and unmount the tomcat admin context from your
front-end web server.
--David
> Mark,
>
> The \conf\catalina\localhost direct
Hi all,
Could someone explain me or point me to an explanation of how tomcat
initialize web services? I'd like to initialize them automatically at
tomcat start-up instead of just before their invocation.
Thanx,
--mike
-
T
Hi again!
Markus Plail <[EMAIL PROTECTED]> writes:
> Since 5.5.10 my JAAS LoginModule doesn't work anymore. I saw that
> JAASRealm was changed in 5.5.10 and I wonder if anyone can tell me
> what I am doing wrong.
Is no one else seeing this problem?
If there is someone, who successfully uses a JAA
Hey, thanks for your fixes, sadly it didn't fix my problem. That is if I
am doing things right, which there are no guarantees for. I will
continue to hunt down the problem(s).
If I configure my cluster as you suggested in your first mail, the
Exceptions disappears, if I use my original config it
lalyne,
Either
a) edit service.bat and change the PR_CLASSPATH to include your stuff then type
service remove followed by service install.
or
b) run tomcat5w.exe //ES//tomcat, go to the java tab and edit the Java
Classpath.
restart tomcat and it should work.
Best regards
Robert.
-Origina
ZK is an AJAX-based, event-driven, XUL-compliant, all Java framework to enable
rich user interfaces for Web applications. With ZK, you represent your Web
application in feature-rich in XUL and HTML components, and manipulate these
components by listening to events triggered by users, all at the
Regarding the classloader: The read and save methods, respectively, reside
in two different classes. The read method is static and called like
ReadClass.GetProperties (i.e. without an object). The save method is part
of a servlet class and is not static. May this cause problems?
I know practica
Hi,
I would like to ask about my observation on Tomcat run on different ways.
First, I run Tomcat on the command-line. I encountered no errors and I can
access my webapp succesfully.
Then, I try to re-run Tomcat as Windows service. I execute the ff command:
C:\Tomcat\bin>NET S
Hi Dhaval
Are you the same Dhaval Patel from Chico State
ilango
Dhaval Patel <[EMAIL PROTECTED]> wrote: Thanks again to all of you.
First I was thinking about trying mod_jk via YaST. Then I looked up the version
in YaST. It was something like 4.1.30 (mod_jk-ap20), which I wasn't sure whet
Thanks for pointing me in the right direction.
What I ended up doing was
svn checkout
http://svn.apache.org/repos/asf/tomcat/build/tc5.5.x/resources/
mkdir build-tomcat
cp resources/build.xml build-tomcat
cd build-tomcat
ant
Subversion complained that I couldn't check out a single file, so I
gr
48 matches
Mail list logo