hi ,
I click and browse through some of the features accessing applets in
the application, quite often I get the following "Null Pointer
Exception" in the java console.
I really do not understand the cause of the problem.I am using
tomcat4.1.
the error is :
Exception in thread "Thread-47" jav
Applets are a client side technology not a server side one. This means
that applets are executed by browsers, not by Tomcat. As far as Tomcat
is concerned, an applet is just a file delivered to the browser.
This is a bug in the applet you are using or possibly an error in the
way you are using
hi , I have some questions in using tomcat 5.5.9:
I create my web application under "myapp" directory (the structure of directory
is below:)
{
myapp(dir)---
---WEB-INF(dir)---classes(dir)---HelloWorld.class
---web.xml
Hi subi,
you hav did servlet deployment almost correct but in url-pattern you hav
made a little mistake.Change it to:
TestServlet
/servlet/TestServlet
Try it and reply.
- Original Message -
From: "subi" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 18, 2005 11:28 AM
Subje
Well I can also think of one more issue ...
Installing tomcat in a directory with spaces in them
I would rather suggest that you install tomcat in directory without spaces (
not C:\Program Files\Apache Group\Tomcat 4.1\ )
c:\Server\tomcat4.1\ will be a good option. I had loads of problems
Just guessing, but are your servlets in a package? Packageless classes
do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html
Mark
subi wrote:
Hello All,
I am using Tomcat 4.1. I just started working in it,
so this asking may be childish, if so, pls don't
mistake me.
Her
Good spotted
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 18 August 2005 10:00
To: Tomcat Users List
Subject: Re: Http-status 500 error in Tomcat 4.1
Just guessing, but are your servlets in a package? Packageless classes
do not work. See http://jakarta.apache.or
Hi,
I'm using the domain property in the same situation as the one
discussed in this thread. Any reason why I shouldn't use the domain
property and rely on the worker names instead?
Thanks in advance,
-- Edgar Alves
Rainer Jung wrote:
>That should not work!
>
>The correct way to configure
I'm not sure the whitespace in your directory structure came out right
so I'll make a few comments:
web.xml should be in myapp/WEB-INF
context.xml should be in myapp/META-INF (or rename it to myapp.xml and
move it to the webapps directory)
Your servlet class should be in a package. Have a loo
The following example JSP page seems to be interpreted incorrectly.
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="g" uri="http://domain.com/taglibs/generic-0.1"; %>
TAG GENERIC PAGE
attrFour="<&">"/><
Thank you Christian - you are correct. A colleague also referred me to:
http://www.systemmobile.com/wp/?p=152
I had a copy of jsp-api.jar in my app (/WEB-INF/lib/jsp-api.jar)
And Tomcat (both 5.0.28 and 5.5.9) has a copy under
$CATALINA_HOME/common/lib/jsp-api.jar
This makes the copy in my app
Edgar Alves wrote:
Hi,
I'm using the domain property in the same situation as the one
discussed in this thread. Any reason why I shouldn't use the domain
property and rely on the worker names instead?
Domain is supposed to be used with multiple workers sharing the
same jvmRoute having session
Hi,
Writing a jsp page in my app, I need to include other file in it, but
I got this issue in my Tomcat 5.5.9, when I write the include without
parameters like this:
I doesn't like written like this, so I write it like this and it works:
But, I tested the same page in a Tomcat 4.1.12 and it
Hi Mladen,
I've used the domain property because it seemed the more general
approach (i.e., supports clusters but can be used with a single worker).
What this thread got me curious about is if using the domain property in
this fashion is "officially" supported, or on the other hand if it can
onl
No, this is not a bug.
- Original Message -
From: "Gabriel Belingueres" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 18, 2005 4:57 PM
Subject: Problem including a file in Tomcat 5.5.9
> Hi,
>
> Writing a jsp page in my app, I need to include other file in it, but
> I got this issue
i am using apache tomcat 5.0.28.
how to access symbolic link using the apache tomcat 5.0.28 web server?
I have modified the context in server.xml as follow; still does not work
-
To unsubscribe, e-mail: [EMAI
i am using apache tomcat 5.0.28.
how to access symbolic link using the apache tomcat 5.0.28 web server?
I have modified the context in server.xml as follow; still does not work
TIA - sade
-
To unsubscribe, e
Hi Sade,
try
docBase="edoc"
don't use the '/' in the docBase param
Regards,
Peter
Sade schrieb:
>i am using apache tomcat 5.0.28.
>how to access symbolic link using the apache tomcat 5.0.28 web server?
>I have modified the context in server.xml as follow; still does not work
>
>workDir="/edoc
Hi Gabriel,
TC 5 needs strictly correct XML-Syntax.
If you take
TC 5 expects some other fields (like "value" or "name") inbetween these
2 tags.
Hth
Peter
Rakesh schrieb:
>No, this is not a bug.
>
>
>- Original Message -
>From: "Gabriel Belingueres" <[EMAIL PROTECTED]>
>To:
>Sent: T
So how do you point to content outside of a war? I have the same
problem with 5.0.28 pointing to static content outside of a war. Even
a symlink included in the war (and setting "followsymlinks="true" in
the context) does not work.
Ben Ricker
On 8/18/05, Peter Miller <[EMAIL PROTECTED]> wrote:
>
Peter,
BUT, docbase indicates a directory, doesn't it?
rgds - sade
> So how do you point to content outside of a war? I have the same
> problem with 5.0.28 pointing to static content outside of a war. Even
> a symlink included in the war (and setting "followsymlinks="true" in
> the context) does
Hi,
I am new to tomcat and having problems bringing up tomcat after
configuring it to work with apache and web focus..below are the error
messages...any help is appreciated!
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Catalina.start using /usr/jakarta-tomcat-4.1.31/conf/serve
Looks like your server.xml syntax is not correct. You will need to look
through it figure it out...
-Original Message-
From: Kuruganti, Lakshmi, ALABS [mailto:[EMAIL PROTECTED]
Sent: 18 August 2005 14:03
To: tomcat-user@jakarta.apache.org
Subject: tomcat 4.1.31
Hi,
I am new to tomcat
> From: Oleg [mailto:[EMAIL PROTECTED]
> Now regarding shared/lib directory I thought that every
> application loads
> its own copy of those libraries, but if its only one time
> load and since all
> my applications are identical copies (only data changes) I
> might as well
> move all my cla
Hi...
Any idea why I got error message while I go to ADMIN page?
Aug 18, 2005 8:52:39 AM org.apache.struts.action.RequestProcessor processMapping
SEVERE: Invalid path /login was requested
But while I am using ADMIN page which is no problem... Any idea.
I appreciate your assist...
Tom
I would like to pass an array to my application using inside
. Manual says that only primitive types are available. But... I need
an
array.
How would you handle this problem? My only, little dummy idea is to do
something
like:
...
And get them using context.lookup() until exception.
Be
Hi,
I have a problem with Log4j. I have several webapps running on Tomcat.
They all use Log4j. The problem is that they all log to the same file.
The file they log to depends on which app is used first. It seems to
be picking up the settings from the log4j.properties file of the app
that is run fi
shouldn't that be
log4j.logger.voteLogger=DEBUG, vote
?? else where will it get voteLogger from?
> -Original Message-
> From: Derek Merren [mailto:[EMAIL PROTECTED]
> Sent: 18 August 2005 15:42
> To: tomcat-user@jakarta.apache.org
> Subject: Log4j writing to the same log file for differe
My solution for this is not elegant. I run 8 apps on one instance of
Tomcat and it will be growing to 12 soon. All of those apps are set
with autoReload set to true. When I need to update something I
manually copy the individual class or JSP file to the proper folder to
over write the exis
I think I missed something here. Are you not still bouncing Tomcat
here? If so isnt the service still going down? What is the benifit of
changign the ports around? I have a feeling I missed something in the
expliation.
George Sexton wrote:
The technique I use is this:
Run the HTTP con
Seth Ladd wrote:
The frequency is so much that the uptime of all of our applications is
affected as we continually take down Tomcat servers in production to
deploy a new application (or new version of the application). Because
hot deploy does not work (the old favorite OOM error w/ too many
we used to just schedule updates and let all our staff know there would be a
small amount of downtime (for our intranet) but you can't do this on external
production servers, so you need to go with either load balancing/clustering
that allows you to close a node down *while also* letting session
Hi,
I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK
to balance with stick sessions. The following configuration works in that JK
routes requests to both the tomcats and so on.
The issue is that if I look in the access logs for each tomcat I can see that 1
sess
The net effect is that users have to re-login, but there is no down time. They
get bounced, but can immediately log back in.
Right now, startup time for my hosted machine is running in the area of 5
minutes. So, I'm eliminating a 5 minute startup cycle.
I'm running 60 virtual hosts on one machi
Sorry still not following. If Tomcat is being restarted how do you not
have start up time? Is it that you have two instances of Tocmat and you
are having the firewall just point to one instance while you bounce the
second?
If so is there an advantage to doing that over clustering?
George
Allistair Crossley wrote:
Hi,
I thought I had this sussed but it seems I haven't :( 2 tomcats, 1 machine, JK to balance with stick sessions. The following configuration works in that JK routes requests to both the tomcats and so on.
Did you set the jvmRoute="tomcat1" inside server.xml
wor
Hi Mladen,
Damn, no, I didn't :) Thanks very much indeed, seems to have done the trick :)
Cheers, Allistair.
> -Original Message-
> From: Mladen Turk [mailto:[EMAIL PROTECTED]
> Sent: 18 August 2005 17:17
> To: Tomcat Users List
> Subject: Re: load balancing 2 tomcats on 1 machine questi
In the meantime since the last post in this thread BEA has released updates
to JRockit such that it now supports the -Xrs switch. Has anybody on this
list now had success running 5.5.x as a windows service with JRockit as the
jvm?
I am still getting errors when trying to start the service (Tomcat
I've been trying to use the code below to validate a username/
password against an LDAP (ActiveDirectory) server
When I use this in a main from the command line with a bad password I
get
Exception in thread "main" javax.naming.AuthenticationException:
[LDAP: error code 49 - 80090308: Lda
Does JRockit support the JNI standard for a native
interface?
Wade
--- Brad Baynes <[EMAIL PROTECTED]> wrote:
> In the meantime since the last post in this thread
> BEA has released updates
> to JRockit such that it now supports the -Xrs
> switch. Has anybody on this
> list now had success runni
Mikolaj Rydzewski wrote:
Seth Ladd wrote:
The frequency is so much that the uptime of all of our applications is
affected as we continually take down Tomcat servers in production to
deploy a new application (or new version of the application). Because
hot deploy does not work (the old favori
Hi
how do i pass startup parameters when starting tomcat
as service in windows 2000 server,
what i have to pass is as below
-Dsun.io.useCanonCaches=false
-Djava.security.auth.login.config=%CATALINA_HOME%\conf\login.conf
When i add this to catalina.bat file and start as
"c:\tomcat5.0.28\bin\catali
Allistair Crossley wrote:
we used to just schedule updates and let all our staff know there would be a
small amount of downtime (for our intranet) but you can't do this on external
production servers, so you need to go with either load balancing/clustering
that allows you to close a node down
.NET and PHP may have better development/deployment environments, but
quite frankly I would rather use Java than C# or PHP to develop web
applications. Just look at the robust Java open-source frameworks that
exist (i.e. Spring, Turbine, Struts, JSF) just to name a few. Also, .NET
applications are
Thanks for the input.
Any idea how I can *catch* errors during serialization? I am guessing
I will have to create my own PersistanceManager and override some
functions..
Has anyone done this (or any other method of doing this)?
On 8/17/05, Christoph Kutzinski <[EMAIL PROTECTED]> wrote:
> I didn
To re-start tomcat, I start a second instance running on a different port and
after the second instance is running, change the port forwarding to activate
it.
> If so is there an advantage to doing that over clustering?
It's a simple configuration that only requires one machine.
As nice as clu
Asad Habib wrote:
.NET and PHP may have better development/deployment environments, but
quite frankly I would rather use Java than C# or PHP to develop web
applications. Just look at the robust Java open-source frameworks that
exist (i.e. Spring, Turbine, Struts, JSF) just to name a few. Also, .N
Hi all,
I'm using Tomcat 5.0.29. I've created a custom tag and I need to be able
to use runtime expressions for certain attributes. But it isn't working
and I'm beating my head on the desk trying to figure out why.
Here's my TLD:
http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>
1.2
Where do certificates and keys go in Tomcat?
I'm developing a Tomcat application that uses certificates and keys for
authentication. Right now they are simply files that I have put in
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin so that they
are found. This works, but I'm sure there i
On 8/18/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using Tomcat 5.0.29. I've created a custom tag and I need to be able
> to use runtime expressions for certain attributes. But it isn't working
> and I'm beating my head on the desk trying to figure out why.
>
> Here's my
Question: why do you want to catch errors during serialization.
If you want to check that your attributes are serializable, you can use
a SessionListener as I have shown. I can not think of any other reason
why one would want to catch serialization exceptions.
Nishant Deshpande wrote:
Thank
Don't know exactly, but a good place to look is the
source code for the JSTL from commons. They are
making some calls in there to transform the values of
EL and expressions.
Wade
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using Tomcat 5.0.29. I've created a custom ta
OK, thanks Mladen: I have to correct myself.
1) Traditional use
Until mod_jk 1.2.6 there was no concept of domains. You had to specify the
worker name to be exactly the same as the jvmRoute to make sticky sessions
work. This way of configuring stickyness is wel known to mod_jk users.
2) I introd
Hi there
first time mailing to this list so apologies if this is not the place to
ask
this question. if so, please tell me where to go. (yes, I know. whole
heap of
dodgy replies to that last sentence. :)
I've recently configured an apache front end with virtual hosting on
port
8000 to relay to
Hi there
first time mailing to this list so apologies if this is not the place to ask
this question. if so, please tell me where to go. (yes, I know. whole heap of
dodgy replies to that last sentence. :)
I've recently configured an apache front end with virtual hosting on port
8000 to relay to
Greetings,
I can't seem to make mod_jk connect successfully with Apache. Apache
and Tomcat both works fine on their own (apache on :80 Tomcat on
:8080), but I seem to be getting a permissions problem using mod_jk. I
am able start Tomcat without special privileges, but when I try and
start Ap
Hello Everyone,
PROBLEM DESCRIPTION: I'm developing a JSP page which lunches a JFrame
(basically it's a panel with a button). There is a listener to the
button and when the user click it, it calls a boolean function. And I
want depending on the returned result from this function to show
different
I dunno if it's the same in Apache 1.3, but in Apache 2.x the example
httpd.conf file has a pair of small tags showing how to run
Apache under non-root user for diff. OS's.
Basically you have to start Apache as root and it will then switch over,
or so the example file says. To do this irrespe
On Aug 18, 2005, at 5:45 PM, Kyle wrote:
I dunno if it's the same in Apache 1.3, but in Apache 2.x the example
httpd.conf file has a pair of small tags showing how to run
Apache under non-root user for diff. OS's.
Basically you have to start Apache as root and it will then switch
over, or
hi guys
i am wondering .. is it possible for me to disable and internet (http / ftp
) connection on particular machine just buy knowing the Ip address
or logout the current user after certain amount of time
currently i have jsp codes which allow users to login .. now i want to know
how to te
Invalidate user session, assuming you check if user session
is valid every visit to the page.
On Fri, 19 Aug 2005 01:53:10 +
"ganesan malairaja" <[EMAIL PROTECTED]> wrote:
>hi guys
>
>i am wondering .. is it possible for me to disable and
>internet (http / ftp ) connection on particular mach
Hi Subi,
> 1. C:\Program Files\Apache Group\Tomcat
> 4.1\webapps\testapp\classes
>-here i have my servlet
But ur class files shud be in :
C:\Program Files\Apache Group\
Tomcat4.1\webapps\testapp\WEB-INF\classes
And in ur html file ur form action
Hi,
Or u can use a comma separated list of strings and
parse them using StringTokenizer.
With Regards,
Litty Preeth
--- Konrad Billewicz <[EMAIL PROTECTED]>
wrote:
> I would like to pass an array to my application
> using inside
> . Manual says that only primitive types are
> available. But..
Hello all,
I tried both the options:
1. I uninstalled the tomcat and reinstalled so that not it resides
c:\tomcat1.4
2. I tried changing my URL Patern"
/servets/TestServlet
Now I am able to get the html file correctly and after clicking the show
button it gives the following error:
"HTTP Statu
64 matches
Mail list logo