Hi,
I found that in my 4-node TC5.5.5 cluster, whenever I call
request.getSession(true), a session is normally created by the master node
and replicated to all slaves. However, each slave node will mysteriously
create one additional session by its own (not replicated to others, each
with
Hi
I installed tomcat5.5.4 and jdk1.5 in the windows xp machine. Iam using
beanfactory 0.99 framework. I get this error , can anybody help on this...
HTTP Status 500 -
type Exception report
message
Hi
I installed tomcat5.5.4 and jdk1.5 in the windows xp machine. Iam using
beanfactory 0.99 framework. I get this error , can anybody help on this...
HTTP Status 500 -
type Exception report
message
Hello,
configuration: tomcat 5.0.28
redhat linux 7.1
vm: 1.4.2_03
I'm trying to install tomcat 5.0. Everything works fine as far as using
the startup and shutdown scripts provided.
However, when I try to start the server as a linux daemon with jsvc, the
server
Hi Hassan ,
yes, the .js and .css are externally-accessible, but the .jsp aren't
so my jsp can't refer to those .js and .css
and after viewing this thread, I think I would take QM approche but u
mentioned I can put all jsp into one folder and protect it. How? Is it
a web container level or
There have been lots of posts about this and for a while now 99.9% of
the problems have been caused by configuration or coding problems. I
would suggest building up a very simple test case along the following
lines and making sure everything works as expected at each stage.
1. Simple JSP that
Say you have a number of TC instances running from different boxes/IP
addresses/locations, and you develop from one of the boxes.
How do you replicate all data/code in all other instances in a reliable way
are there RFC or a standard replication protocol to do that?
I have read a number of
I am facing problems in running Tomcat on User mode Linux server. It crashes
soon after it is started. I tried renaming /lib/tls to /lib/tls-disabled and
then starting tomcat. But no success. Please help me.
Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn
Amit, I am using a dedicated server.
Rodrigo
Amit Gupta wrote:
You are using User mode Linux or dedicated server?
Amit Gupta
Mobile: 91-9818052171
-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED]
Sent: Monday, December 27, 2004 11:18 PM
To: tomcat-user@jakarta.apache.org
I have written a simple servlet which reads a init
parameter from the web.xml file and displays on the
browser. I'm a beginner and trying to learn simple
servlets, I have reached where I can read some init
params from the web.xml file and displays on the
browser, but all the simple servlets are
I am facing similar problem on user mode Linux.
Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn
-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 5:05 PM
To: Tomcat Users List
Subject: Re: JVM Crash
Amit, I
I cannot understand your situation. If you use the include directive,
then the JAVA Servlet file will include the info in the JSP file which
is included. If you use the include element, then the included JSP
file will have its own separate JAVA Servlet file. Accordingly, the
include element
Hi
I installed tomcat5.5.4 and jdk1.5 in the windows xp machine. Iam using
beanfactory 0.99 framework. I get this error , can anybody help on this...
HTTP Status 500 -
type Exception report
message
description
What if you don't include the JSP file but include the related JAVA
file and use CLASSPATH? Will that work? You cannot, of course, make
this dynamic, since you have class loader issues. The biggest issue
is the class loader issue. You might create a set of interfaces and
implemenations outside
On Tue, Dec 28, 2004 at 06:08:06AM -0500, John Smith wrote:
: Say you have a number of TC instances running from different boxes/IP
: addresses/locations, and you develop from one of the boxes.
:
: How do you replicate all data/code in all other instances in a reliable way
: are there RFC or a
On Mon, Dec 27, 2004 at 07:11:24PM -0800, [EMAIL PROTECTED] wrote:
: Is there any way to include jsp code dynamically besides the jsp:include
: method?
:
: I'm thinking of using symbolic links... with the allowLinking flag. Then,
: I can access jsp files outside of the web app by following the
There are a few ways.
1) Make sure all your changes are in CVS. Then have your servers build the
webapp from CVS. You'll need a script to detect when a new release is
available - this should be easy to accomplish.
2) Use mirror/rsync to publish all the files to each server. I suggest not
Hi,
Which tomcat version?
For tomcat 4.X put a LOGGER component inside the context and specify the
directory that you want. Take a look at
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html)
This procedure works with TC 5.0.X, but it's deprecated.
For TC 5.5, look at
Can somebody help me?
I installed the jdk 1.5 in whitebox 3.0 but to install tomcat the follow
message was showed:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lan/Object
Thanks
Paul
___
Saludos,
Paul Viteri
ssk 2001 wrote:
Hi
I installed tomcat5.5.4 and jdk1.5 in the windows xp machine. Iam using beanfactory 0.99 framework. I get this error , can anybody help on this...
1. Please don't post the same message multiple times if you don't get a
reply straight away. At best it does nothing to help and
I am replying to both posters tryin gto consolidate both ideas
1/ please post a *new* message when writing to the list.
Sorry, I just got distracted after answering to some people's problems on
the list.
2/ What I've seen a lot of people (myself included) do: develop your app
on your
Koon Yue Lam wrote:
yes, the .js and .css are externally-accessible, but the .jsp aren't
so my jsp can't refer to those .js and .css
Of course they can; most of my sites work this way.
Your JSP is sending HTML to *the client UA* with the URL of the CSS
and JavaScript files -- it's the UA that
Possibly related to deployment versioning. If the entire WAR file is
deployed at once I have not had problems, it is usually when I try to
Hot Fix a single servlet. Tomcat acts like it is keeping track of the
'version' of the servlet and coughs up a hairball sometimes if it is
different.
If you are running Linux or Unix check the syntax for the 'nice'
command.
[EMAIL PROTECTED] 12-27-2004 18:55
Frank W. Zammetti wrote:
It's interesting, Craig and I had an exchange about threads in
servlet
containers last week... I can't find a link to the thread
unfortunately.
Anyway, the
Quoting Koon Yue Lam [EMAIL PROTECTED]:
Hi Hassan ,
yes, the .js and .css are externally-accessible, but the .jsp aren't
so my jsp can't refer to those .js and .css
Huh? Why would you say that? Let's say I have the following structure...
myapp
/assets
/style/my.css
on my own previous post.
frontend TC instances don't need to be restarted.
Backend servers could run ant tasks on the front end insts. to reload each
webapp instead of restarting the TC instances
It would also be a nice extra if there is kind of a voting system for
admins to approve updates
Dennis Payne wrote:
If you are running Linux or Unix check the syntax for the 'nice'
command.
[EMAIL PROTECTED] 12-27-2004 18:55
Frank W. Zammetti wrote:
It's interesting, Craig and I had an exchange about threads in
servlet
containers last week... I can't find a link to
Dennis Payne wrote:
Frank,
I'm using threads and didn't know I was vulnerable.
I'm not sure vulnerable is really the right word, but I'll go with it :)
Here's how I've
done it. I created a class that implements runnable and call its
initialize method from a servlet init method at application
Quoting Hassan Schroeder [EMAIL PROTECTED]:
Koon Yue Lam wrote:
yes, the .js and .css are externally-accessible, but the .jsp aren't
so my jsp can't refer to those .js and .css
Of course they can; most of my sites work this way.
Your JSP is sending HTML to *the client UA* with the
Laba diena.
Dkojame, kad mums parate.
Js atsista inut isaugota ms duomen bazje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for all the reply, I will try it out tonight and let u all know
the result ^^
Regards
On Tue, 28 Dec 2004 18:52:37 +0200 (EET), [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Laba diena.
Dkojame, kad mums parate.
Js atsista inut isaugota ms duomen bazje.
ok, it is really strange that I need to specify full path
/myApp/js/myJS.js
rather then just
js/myJS.js
but if I use full path , everything works fine
I am using Tomcat 5.028 with Struts 1.1
thanks for all the help
Regards
On Wed, 29 Dec 2004 01:08:31 +0800, Koon Yue Lam [EMAIL PROTECTED]
The minimum thread priority is 1, maximum is 10 and medium or normal is 5. See:
http://java.sun.com/j2se/1.4.2/docs/api/constant-values.html#java.lang.Thread.NORM_PRIORITY
You can set a good neighbor poilicy with MIN_PRIORITY. Hunter on
Servlets covers this with a daemon servlet.
Jack
On
I am working on migrating approx 10 applications from Tomcat 4.0.6 on
Solaris to Tomcat 4.0.6 on AIX. I am running into an issue related to
having Java Security turned on. On the Solaris catalina.policy, I was
getting the following security exception:
Security Violation, attempt to use Restricted
One more thing to add: I am using the default catalina.policy verbatim and
just added the grant statement below. So it already contained this:
grant codeBase file:${catalina.home}/server/- {
permission java.security.AllPermission;
};
I was surprised that this grant staement did not imply
From: Koon Yue Lam [EMAIL PROTECTED]
ok, it is really strange that I need to specify full path
/myApp/js/myJS.js
rather then just
js/myJS.js
You shouldn't. Or, at least... I don't. It's better not to embed the name
of the webapp if you don't have to-- I run the same code under 3 different
I put EVERYTHING under WEB-INF except one index.jsp file, which merely
passes the first incoming request to the secret stash! By
everything I mean everything!
Jack
On Sun, 26 Dec 2004 22:31:32 +0800, Koon Yue Lam [EMAIL PROTECTED] wrote:
Hi, I want to protect my JSP from direct access, so
Hi all!
How increasing output buffer size for servlets/jsp's will affect the
overall server performance?
As I know this should lead to more intensive memory usage...
What about response time?
Regards.
Denis.
-
To unsubscribe,
I don't know why you are saying that css and/or js must be placed
directly under WebRoot. Why do you? I can give you various
solutions, once I find out what the problem is supposed to be. There
is no issue, by the way, with putting your JSP files under WEB-INF.
There are other ways to protect
Hi all!
How increasing output buffer size for servlets/jsp's will affect the
overall server performance?
As I know this should lead to more intensive memory usage...
What about response time?
Regards.
Denis.
-
To unsubscribe,
I have reviewed the log files to no end on this issue. I see nothing at all in
terms of errors.
The problem is we are running jboss-3.2.5 in conjunction with j2sdk-1.4.1_04 on
a Red Hat Linux 9 system with the 2.4.20-31.9smp kernel and I have had to
restart the jboss services.
I have
Hi,
I am running Suse Linux Enterprise Server 9.2 with,
1. Sun Java 1.4.2_03-b02
2. Kerne 2.6.5-7.79-smp
3. Tomcat version jakarta-tomcat-5.0.19-29.1
When running using NPTL, verified using ldd java the tomcat under heavy load
i.e. 300 concurrent threads per second gradually leaks memory.
A kill
I think his problem is probably linking to stylesheets and such...
Actually, now I have to ask you... if you put *everything* under
WEB-INF, I assume you are serving all graphics from a fronting web
server then? Otherwise, any document returned to the user that links
back to a resource under
Mark Thomas and others,
I started out trying to determine how to allow the Tomcat WebDAV servlet
to serve a filesystem tree outside the webapp. I've determined it will
be easier for me to just roll my own WebDAV servlet from scratch,
allowing me to do custom operations (such as security checks)
On Tue, 28 Dec 2004, Dakota Jack wrote:
I am not sure what the problem is with overwriting. I am also not
sure what you mean by them existing outside the web application. If
by being edited outside and included in a web application is what you
mean by existing outside, what is the problem?
On Tue, 28 Dec 2004, Dakota Jack wrote:
What if you don't include the JSP file but include the related JAVA
file and use CLASSPATH? Will that work? You cannot, of course, make
this dynamic, since you have class loader issues. The biggest issue
is the class loader issue. You might create a
Frank W. Zammetti wrote:
Dennis Payne wrote:
Frank,
I'm using threads and didn't know I was vulnerable.
I'm not sure vulnerable is really the right word, but I'll go with
it :)
Here's how I've done it. I created a class that implements runnable
and call its initialize method from a servlet
On Tue, 28 Dec 2004, QM wrote:
On Mon, Dec 27, 2004 at 07:11:24PM -0800, [EMAIL PROTECTED] wrote:
: Is there any way to include jsp code dynamically besides the jsp:include
: method?
:
: I'm thinking of using symbolic links... with the allowLinking flag. Then,
: I can access jsp files
I think what you describe is probably more properly implemented as some
sort of queueing system. Something along the lines of setting up a
queue on each data collection server that lazily updates the central
server (there's other ways to structure it of course).
Otherwise, I myself would tend
You know, I'm not sure how often this comes up for people, but it might
make a good custom tag... I can imagine simply a version of
jsp:include that allows for absolute paths. Sure, it'll tie you to an
OS to some degree (i.e., change paths from Windows forms to Unix forms),
but that might be
Quoting Koon Yue Lam [EMAIL PROTECTED]:
ok, it is really strange that I need to specify full path
/myApp/js/myJS.js
rather then just
js/myJS.js
but if I use full path , everything works fine
I am using Tomcat 5.028 with Struts 1.1
The server does not matter. The application framework
I'm trying to move my Tomcat directory from a Windows machine to a Linux
box, and I've already modified the server.xml to take care of path
differences, but I've noticed that stdout.log and stderr.log are no
longer being generated in the logs directory (I can't find them!). Does
anyone have any
Hi,
I'm Trying to apply JNDIRealm to the LDAP structure, where each user
belong to some group (organizationalUnit):
dn: ou=Group1, o=myorg
objectclass: organizationalUnit
ou: Group1
dn: uid=user1, ou=Group1, o=myorg
objectclass: person
uid: user1
dn: ou=Group2, o=myorg
objectclass:
Garret Wilson wrote:
* I note that WebDAVServlet keeps a static SimpleDateFormat around for
quickly formatting the creation date/time. The Java API docs for
DateFormat indicate that date formats are not synchronized. Does this
raise the potential for corrupted date printing, should multiple
Peter Crowther wrote:
From: D. Stimits [mailto:[EMAIL PROTECTED]
I'm trying to debug something, and the individual
webapps/myapp/WEB-INF/web.xml file seems to be a bit of an
enigma to me.
[...]
I went to the DTD's to see what was
written there. Initially I used this DTD:
!DOCTYPE web-app
Dear all,
I installed the JDK 1.5 packages for Solaris (on Solaris 9). Seemingly
the JDK is in /usr/jdk/instances/java1.5.0. Installed tomcat 5.5.6 as
well. However, setting JAVA_HOME to this location results in the
following message from the tomcat startup script:
The JAVA_HOME environment
Quoting D. Stimits [EMAIL PROTECTED]:
Peter Crowther wrote:
From: D. Stimits [mailto:[EMAIL PROTECTED]
I'm trying to debug something, and the individual
webapps/myapp/WEB-INF/web.xml file seems to be a bit of an
enigma to me.
[...]
I went to the DTD's to see what was
written there.
From: Mark Thomas [mailto:[EMAIL PROTECTED]
The best way forward is to create a bugzilla item for
this and list the issues you find in that. Even better, would
be if you had patches for some (or all) of these ;)
The Bodington III project over here in the UK will also have to face and
fix
Peter Crowther wrote:
From: Mark Thomas [mailto:[EMAIL PROTECTED]
The best way forward is to create a bugzilla item for
this and list the issues you find in that. Even better, would
be if you had patches for some (or all) of these ;)
The Bodington III project over here in the UK will also have
I will be out of the office starting 23.12.2004 and will not return until
03.01.2005.
I will respond to your message when I return. For urgent matters, please
contact Elisabeth Ziller on her mobile (076/577 99 78).
_
The information
A lot of what you're after is well beyond the scope of current Tomcat
releases, especially the automagic staging/voting/sync/no-restart. (It
sounds as though you want a lot of this to happen within Tomcat, or at
least within the same all-encompassing solution.)
It's certainly *possible*. BEA
On Tue, Dec 28, 2004 at 08:13:54PM +0200, Denis Navitaniuk wrote:
: How increasing output buffer size for servlets/jsp's will affect the
: overall server performance?
: As I know this should lead to more intensive memory usage...
: What about response time?
In theory:
if you send a lot of output
On Wed, Dec 29, 2004 at 12:19:17AM +0100, Emil Petkov wrote:
: I installed the JDK 1.5 packages for Solaris (on Solaris 9). Seemingly
: the JDK is in /usr/jdk/instances/java1.5.0.
: [snip]
: [Error message:]
: The JAVA_HOME environment variable is not defined correctly
: This environment variable
QM wrote:
Which init() overload do you use?
init()
init( ServletConfig )
Using the latter, you should be able to call:
ServletConfig#getServletContext() -- getInitParameter()
Hah. Thank you! Yes, I mean the latter version.
Hi All,
I'm a newbie to Tomcat. What is the user name and password for the
Status and Tomcat Manager links, in the administration area? How do I change
the passwords as well, I assume it is a XML file?
Thanks Marco.
Frank W. Zammetti wrote:
I think what you describe is probably more properly implemented as
some sort of queueing system. Something along the lines of setting up
a queue on each data collection server that lazily updates the
central server (there's other ways to structure it of course).
The problem is solved. It is due to an environment variable JAVA_OPTS set.
Bill
Bill Fung wrote:
Currently, tomcat 4.1.18 is running fine on host a. I want to upgrade
tomcat from 4.1.18 to 4.1.31 on host a.
I install 4.1.31 and use the default config (only uncomment the ssl
part). It startup
Hi,
I've integrated Tomcat successfully into Apache using mod_jk, but there's
something I've found nothing about: forwarding *all* webapps with only one
static statement in the configuration files.
I've thought about something like this:
JkMount /tomcat/* ajp13:* (which of course is wrong I
Yep,
TOMCAT_HOME/conf/tomcat-users.xml
Just add admin to the list of roles for a user.
On Tue, 2004-12-28 at 21:06, Marco Mastrocinque wrote:
Hi All,
I'm a newbie to Tomcat. What is the user name and password for the
Status and Tomcat Manager links, in the administration area? How
Your problem is almost certainly the base tag. Why do you have it
there? The href in base will skew the way the browser looks at relative
paths and make it so that they are not resolved to the URL in the location
bar of the browser, but to the URL in the href of the base tag. Besides,
the
Hello,
I am desperate, for I have been trying to find a solution to this
problem for two weeks now. Can anybody help me with this?
Tomcat 5 crashes as it is starting up using jsvc. It does not crash if I
start Tomcat 5 as a regular application. It could be connected to struts
and database
Yay! That's what I was hoping to hear :-)
Jake
At 02:10 PM 12/29/2004 +0800, Koon Yue Lam wrote:
YES !!! Everything works fine now after remove the base tag and
correct the typo !!
I want to give my deepest thanks to you for helping me out with such
great effort
Regards
A stack trace or some other error report would help. It's a bit vague when
you simply describe it. Show the evidence and you will be more likely to
get assistance.
Jake
At 06:54 AM 12/29/2004 +0100, you wrote:
Hello,
I am desperate, for I have been trying to find a solution to this
problem
Hello Jacob,
thanks for your reply,
Jacob Kjome schrieb:
A stack trace or some other error report would help. It's a bit vague
when you simply describe it. Show the evidence and you will be more
likely to get assistance.
that's what I did yesterday, but got no response at all. Then I figured
Ok, I just figured out that for the Windows box, we specified the
location of the files that the stdout and stderr get routed into in the
service install script. However, we're not using any service install
script on Linux (should we be doing that?), so where can I specify that
all the stdout and
75 matches
Mail list logo