Hi Gibby,
Thanks for your response.Does the configuration mean that there are changes
in web.xml and server.xml files based on the OS?
regards
sat
- Original Message -
From: "Daniel Gibby" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 3:35
The Java code should be the same, the only issue I know of is
configuration of your server. Environment variables are handled
differently, and paths to resources and configuration files are of
course different..
Daniel Gibby
kgsat wrote:
>Hi folks,
>
>I have been into a development for a video d
Do you see errors in your catalina.out when this happens?
I believe that I am having the same problem with IBMJava, tomcat 4.1.27,
mod_jk2.0.2 unixSocket connectors and apache 2.0.40...
I'm hoping that setting LD_ASSUME_KERNEL will solve the issue.
My catalina.out has errors as follows:
[Mon Oct
Hi folks,
(B
(BI have been into a development for a video download site using jsp and
(Bservlets. And it was intended to run on windows 2000 with apache and
(Btomcat.
(Bnow the OS has been changed to linux9.0
(BCan i run the same code in linux also.Or i need to do any changes in order
(Bto
> -Message d'origine-
> De : Zhao Hui [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 21 octobre 2003 01:35
> À : Tomcat Users List
> Objet : Re: tomcat jitters, then hangs - please help
>
> Hi folks,
>
> We encountered the same problem where tomcat on our linux box will
> hang
> occasionall
I know I can use the <[EMAIL PROTECTED] extends="" %> to set the base class of a
jsp page, but is there a similar thing for interfaces?
I'm just rambling at the moment, trying to think up an easily
implementable security scheme for our system.
--
"I'm sick of the Internet. I want a yabby net."
I get this compile-time error:
/tmp/jakarta-tomcat/src/catalina/src/share/org/apache/catalina/core/ApplicationFilterConfig.java:79:
package org.apache.tomcat.util.log does not exist
import org.apache.tomcat.util.log.SystemLogHandler;
^
Where can I find the org.ap
Hi folks,
We encountered the same problem where tomcat on our linux box will hang
occasionally after several days, and we have yet to find the cause of the
problem. Looks like this might solve our problem :). Here is our
configuration :
OS : Redhat
Tomcat : 4
JVM : IBM JDK1.4
I would like to kno
Hi guys,
I've successfully set up SSL with my Tomcat
installation (4.1.27) with a CA-signed cert I bought,
but now Tomcat presents the certificate everytime I
try to even connect using regular http over port 80.
I thought it was only supposed to be presented when
the browser requests a secure co
Howdy,
>/%CATALINA_HOME%/webapps/ReportEngine
> - This directory basically contains a set of pretty
>simple jsp's which execute methods from a custom
>data layer.
>/%CATALINA_HOME%/webapps/ReportEngine/WEB-INF/classes
> - my log4j.properties file lives here
>/%CATALINA_HOME%/webapps/Rep
sorry...i copied and pasted that from the line
above...that should be /WEB-INF/lib.
--- Mike Curwen <[EMAIL PROTECTED]> wrote:
> log4.jar in WEB-INF/classes ?
>
> Packaged classes go in WEB-INF/lib, unless you've
> unpacked the log4j.jar
> file, in which case 'loose' class files go in the
> WEB-
log4.jar in WEB-INF/classes ?
Packaged classes go in WEB-INF/lib, unless you've unpacked the log4j.jar
file, in which case 'loose' class files go in the WEB-INF/classes
directory.
> -Original Message-
> From: El Toro [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2003 3:55 PM
i'm still having a heck of a time getting log4j to
work for my webapp in tomcat...i even looked at the
mailing list archives but nothing really helped...here
is my current configuration (lots of info below):
i have a webapp under:
/%CATALINA_HOME%/webapps/ReportEngine
- This directory basically
Hi List,
we would like to use jasperreports (of sf.net) for printing in our webapp. I
am not sure though were to store the xml files for the reports so that they
will be found during runtime. Has anyone used jasperreports from within his
webapp and can give me a hint?
Thx
Jan
-
You've posted code for:
recuperaDicaTopico
but the stack trace shows the problem is in:
recuperaTopicoAssunto
> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2003 1:41 PM
> To: 'Tomcat Users List'; '[EMAIL
When I try and run the following command:
http://localhost:8080/manager/stop?path=/foo
I get the following error:
java.lang.NoSuchMethodError:
org.apache.naming.resources.ProxyDirContext.getDirContext()
Ljavax/naming/directory/DirContext;
at org.apache.catalina.core.StandardContext.st
Bogdan,
This recommendation is just how you want your source code. For
deployment, you would need something more like:
jsp_xml\
FirstPage.jsp (could still be in jsp_xml\src, see note below)
docs\
WEB-INF\
web.xml
classes\
lib\
Your build.xml n
Ok, here it is:
private void recuperaDicaTopico( String topico1 , String id,
HttpServletRequest request, HttpServletResponse response, DataSource ds)
throws ServletException,IOException
{
try
{
// NOVO Connection con = null;
this.ds = ds;
//con = ds
Which version of MySQL are you using 4.1(alpha)? I have had strange
issues on Linux vs. Windows. I was running MySQL 4.1 on Linux. I could
not for the love of anything connect using the jdbc driver on the Linux
VM, but could from a Windows workstation. I revert MySQL to version 4.0
(release) an
Jose,
I understand that the error is occuring on line 413 from this
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
But what that fails to tell me is the exact call it is failing on. Can
you paste that actual code to the
Howdy,
What you did wrong is not read the documentation. entries in server.xml
are JNDI bindings, not servlet context attributes or init parameters. See
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
IMHO I wouldn't put the jar in your Java installation. I would put it in
/common/lib.
Mark Lenz
Software Engineer
Control Systems Group
Pierce Manufacturing, Inc.
(920) 832-3523
[EMAIL PROTECTED]
|-+--->
| | "Wilson, Allen" |
|
Hello folks, i´m trying to create a default attribute for all
sessions in my context, to do it i wrote this in my server.xml:
My problem here is, how do i get this value from a servlet? I´m
trying to do this on init( ) method as follow:
public void init( ServletConfig
Answering your question...
DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 4.0 SP6.0a
Place where the error occurs:
line 413 --> soon after the statement rs.next()
con.prepareStatement(query);
rs = pstmt.executeQuery();
if ( !rs.next() )
LINE 413-> {
If you have an
Answering your question...
DataBase: Oracle 8i - ORACLE THIN DRIVER / SERVER: WINDOWS NT 4.0 SP6.0a
Place where the error occurs:
line 413 --> soon after the statement rs.next()
con.prepareStatement(query);
rs = pstmt.executeQuery();
if ( !rs.next() )
LINE 413-> {
If you have an
Where can you look up what these error numbers mean?
SEVERE: receive error: 21000
Daniel Gibby wrote:
David Bolshoy had this problem on Jun 2. 2003
Did you ever get this figured out? I have the same problem with much
the same setup as you.
Apache and tomcat seem to run fine for a while, but th
This happens sporadically to me to.
I've nothing found to change that.
(I didn't try it with a different jvm)
> -Original Message-
> From: Jim Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2003 6:50 PM
> To: Tomcat Users List
> Subject: Re: What did I do to get an (Unknown
David Bolshoy had this problem on Jun 2. 2003
Did you ever get this figured out? I have the same problem with much the
same setup as you.
Apache and tomcat seem to run fine for a while, but then after some time
(more quickly with more usage), I start receiving errors and connections
to apache a
Thanks for the comments on the problem. I recompiled with debug on. No
help.
A few more details.
This application is one of three that are running on this machine. The
other two work fine and all three a structured almost identically. I
use very similar build.xml and build.property files.
I would say it is a permissions error. You are getting a
NullPointerException. Which probably means something was not found. It
could even be a targeting error. The service is probably being ran as a
user with no permissions. What are you doing on the lines in the code
from here:
at Ba
Oracle 8i - Oracle Thin driver
what database are you using?
If it's MSAccess, then make sure you set up your DSN to be a 'system'
DSN.
> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2003 11:24 AM
> To: '[
hello,
well, that would be bad. I don't have the time to re-install
everything now, ...
hmm ...
> -Ursprüngliche Nachricht-
> Von: Mike Curwen [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 20. Oktober 2003 18:25
> An: 'Tomcat Users List'; [EMAIL PROTECTED]
> Betreff: RE: RE: newbie: se
what database are you using?
If it's MSAccess, then make sure you set up your DSN to be a 'system'
DSN.
> -Original Message-
> From: Jose Euclides da Silva Junior - DATAPREVRJ
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2003 11:24 AM
> To: '[EMAIL PROTECTED]'
> Subject: Urg
I once purchased an HP laptop with XP Home. I eventually had to return
it for a number of reasons:
*at the time, I hated XP, and I couldn't get 2000 to install correctly.
*more importantly (for this list), I couldn't get tomcat to function
properly.
It's as if it ignored both JAVA_HOME and
Hi Guys,
i am still having problems since Tomcat 4.1.18 was configured as a NT 4.0's
service. This error (showed below) always happens whenever my app try to
work with the result set. Is it a hint? Of course, if i stop making TomCat
a NT service, the problem doesnt happen anymore and my app runs
Hi,
has anyone setup the warp connector? for tomcat 4.1? I know that this
connector is part of the tomcat 4.0, but i start my service configured with
the warp connector without problems. but i do not see my application with
http://localhost:portNumber.
I did this:
1.-mod_webapp,
hello,
i am using windows xp home edition.
CATALINA_HOME is the same as TOMCAT_HOME:
c:\tomcat
thanx
sven
> -Ursprüngliche Nachricht-
> Von: Mike Curwen [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 20. Oktober 2003 18:06
> An: 'Tomcat Users List'; [EMAIL PROTECTED]
> Betreff: RE: ne
Are you on XP Home or XP Pro ?
What's CATALINA_HOME ?
If you're using the LE version of Tomcat, remove it, and try installing
the 'full' (non-LE) version.
> -Original Message-
> From: Sven Busse [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 20, 2003 8:50 AM
> To: 'Tomcat Users Li
hello,
ahmm, still having this problem and don't know
what to do, sorry ...
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 19. Oktober 2003 18:37
> An: Tomcat Users List
> Betreff: Re: newbie: servlet examples work, jsp not
>
>
> he
Oops.. I forgot the comment line in xml, not the same as usually.. I feel a
(Blittle bit dummy.
(B
(BThnx :-)
(B- Original Message -
(BFrom: <[EMAIL PROTECTED]>
(BTo: "Tomcat Users List" <[EMAIL PROTECTED]>
(BSent: Monday, October 20, 2003 10:21 AM
(BSubject: Re: tomcat runs nut no
That gave me the info I needed. The configuration has to be in my
context.xml file. Or an appropriate place in the server.xml file. I
tried to put in in a global resources section and that wasn't working.
Thanks,
Jim.
Shapira, Yoav wrote:
Howdy,
That depends on which SendMail example you're u
Hi,
LD_ASSUME_KERNEL
> > Problem: Tomcat Server becomes unresponsive to new requests after
> several
> > hours, regardless of load.
> > OS RH9; Tomcat 4 or 5; VM Sun or IBM (JDK 1.4)
> > Solve: (tcsh): setenv LD_ASSUME_KERNEL 2.2.5
[...]
> Q: would the assume kernel 2.4 work as well ? I believe i
Howdy,
That depends on which SendMail example you're using ;) If your SendMail
code uses a JNDI Mail Session, then yes you need to modify server.xml.
You don't need to post all of server.xml, only your context and its JNDI
definitions.
Yoav Shapira
Millennium ChemInformatics
>-Original Me
Before I post an 11k file, I wanted to make an observation. The
SendMail example works fine, doesn't it require a working server.xml file?
Jim.
Shapira, Yoav wrote:
Howdy,
Try to list the bindings in your context. Your server.xml is probably
not set up correctly, so tomcat isn't binding a mai
On Mon, 20 Oct 2003, Shapira, Yoav wrote:
|
| Howdy,
| You compiled it without debug enabled in javac.
It usually show line# anyway, but actual debugging is pretty limited when
not compiled with debug.
I'd assume that it was "JIT'ed away" - the Just In Time compilation have
made the original lin
hello,
ahmm, still having this problem and don't know
what to do, sorry ...
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 19. Oktober 2003 18:37
> An: Tomcat Users List
> Betreff: Re: newbie: servlet examples work, jsp not
>
>
> he
True dat!!
Thanks Larry, Yes actually I had an old servlet.jar in my setup plus the client jar
files that come with jboss-3.0.0.
I guess I have to look for a newer JBOSS huh??
thanks once again.
Edward
Larry Isaacs <[EMAIL PROTECTED]> wrote:
The constructor being looked for exists only in the J
True dat!!
Thanks Larry, Yes actually I had an old servlet.jar in my setup plus the client jar
files that come with jboss-3.0.0.
I guess I have to look for a newer JBOSS huh??
thanks once again.
Edward
Larry Isaacs <[EMAIL PROTECTED]> wrote:
The constructor being looked for exists only in the J
Yes, I will. But so far it doesn't look good! Hopefully, I will find something. Or at
least a work around.
-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 17 octobre, 2003 14:02
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector
Sorry, out of my ran
Are you trying to make the connection to MySQL as part of the tomcat
startup (Connection Pooling)? If so, I put the jar file in the
jre/lib/ext of my java installation.
Allen
-Original Message-
From: Nuno Paquete [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 7:16 AM
To: [EMAIL
Howdy,
>At 9:39 -0400 2003/10/09, Shapira, Yoav wrote:
>>Howdy,
>>He didn't ask about 5.0.12, as the subject says.
>>
>>Yoav Shapira
>>Millennium ChemInformatics
>
>on similar grounds, could you tell me how hard is for you to edit the
>content of your replies...
I don't understand your question
Guys,
i am still having problems when Tomcat 4.1.18 became a NT 4.0's service.
This error (showed below) always happens whenever my app try to work with
the result set. Is it a hint? Of course, if i stop making TomCat a NT
service, the problem doesnt happen anymore and my app runs fine...
A hint:
Hi all there,
do you know if the "warp connector" still works on the tomcat 4.1.27 ? I have
an apache 1.3(solaris), this is already setup with mod_webapp. On the other
side i have tomcat 4.1.27 and my application that want to present. Do you
know if this tomcat version still have the warpC
Noam Camiel wrote:
Hi folks,
A week's gone by and all seems fine. Server is stable and working properly.
Thanks for all who helped out! Ryan, Remi Yoav and Arthur, many thanks.
It may be a good idea to document this for others who may stumble over this
problem.
All the best
Noam Camiel
Details:
P
At 9:39 -0400 2003/10/09, Shapira, Yoav wrote:
Howdy,
He didn't ask about 5.0.12, as the subject says.
Yoav Shapira
Millennium ChemInformatics
on similar grounds, could you tell me how hard is for you to edit the
content of your replies...
g
--
Howsy,
Then maybe someone else did, or if it's a 3rd party distribution maybe
they just compiled it without debug (which is a fairly routine thing to
do).
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Jim Lynch [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 20, 20
Howdy,
Try to list the bindings in your context. Your server.xml is probably
not set up correctly, so tomcat isn't binding a mail/Session JNDI entry
into your env context. Post your server.xml.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Jim Lynch [mailto:[EMAIL
hi
I want to build jk2 from source, but i only can run the ./configure command.
when i type make nothing hapens. I only can see the mod_jk2.c and mod_jk2.dsp
on apache13. But noting about mod_jk.so
regards,
Tino
-
This mail sent
Hm. That's strange. I don't even know how to change the debug setting.
Thanks,
Jim.
Shapira, Yoav wrote:
Howdy,
You compiled it without debug enabled in javac.
Yoav Shapira
Millennium ChemInformatics
-
To unsubscribe, e-mail:
hi
I want to build jk2 from source, but i only can run the ./configure command.
when i type make nothing hapens. I only can see the mod_jk2.c and mod_jk2.dsp
on apache13. But noting about mod_jk.so
regards,
Tino
-
This mail sent through IMP
This is not starting the week out very good. I'm trying to duplicate
the code in the Tomcat example, SendMail.java. I'm getting the
following error:
03-10-20
09:06:46|ERROR|gi.oasis.servlets.FeedbackRequestHandler|Feedback error
java.lang.Exception: OpusMail encountered exception:
javax.nam
You can also set-up a servlet mapping that points all url's that end with
*.hello (* meaning anything such as hi.hello or whatever else) to point to
your Hello servlet. That way you can access the servlet by simply going to
for example:
http://localhost:8080/myapp/hi.hello
Kind Regards
Schalk Nee
Howdy,
You compiled it without debug enabled in javac.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Jim Lynch [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 20, 2003 7:38 AM
>To: Tomcat Users List
>Subject: What did I do to get an (Unknown source>
>
>I'm getting
Howdy,
Yup, it's good to document, so I'm glad you did. Now if only people
would search the archives before asking questions for the zillionth
time, we'd be in good shape ;) Glad it's working for you.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Noam Camiel [mail
Howdy,
It's your servlet-mapping url-pattern (/servet/*) that's wrong. Use
/servlet/Hello and go to http://yourserver/yourapp/servlet/Hello. Read
the spec about servlet-mappings.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Swapan Mazumdar [mailto:[EMAIL PROTECTE
Howdy,
What does your JSP look like that's throwing this error? Or is this
just thrown by a default tomcat installation with none of your personal
stuff?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Anson Zeall [mailto:[EMAIL PROTECTED]
>Sent: Monday, October 20,
The constructor being looked for exists only in the JSP 2.0
implementation. Your error implies that the TagAttributeInfo
class, found in jsp-api.jar in tomcat-5.0.12's common/lib
directory, is being overridden by an older JSP 1.2 or 1.1
version of this class, probably in a servlet.jar or j2ee.jar
On Mon, Oct 20, 2003 at 07:37:35 -0400, Jim Lynch wrote:
> I'm getting the following trace as a result of calling
> printStackTrace(). What have I done to cause it to lose the source
> locations?
>
> java.lang.ClassCastException: java.lang.NullPointerException
> at com.sgi.patches.dao.PatchDa
I'm getting the following trace as a result of calling
printStackTrace(). What have I done to cause it to lose the source
locations?
java.lang.ClassCastException: java.lang.NullPointerException
at com.sgi.patches.dao.PatchDao.getPatchList(Unknown Source)
at com.sgi.patches.servlets.PatchesR
Hi folks,
A week's gone by and all seems fine. Server is stable and working properly.
Thanks for all who helped out! Ryan, Remi Yoav and Arthur, many thanks.
It may be a good idea to document this for others who may stumble over this
problem.
All the best
Noam Camiel
Details:
Problem: Tomcat Serv
A simple way is to extend the default servlet. Then when the default servlet
is asked to doa directory listing you can .forward() to your jsp or servlet.
Otherwise you can call super and keep the default functionality for serving
images and other static assets.
-Tim
Eric Bessette wrote:
Is th
Sorry for sending unfinished email
(I don't like Microsoft software - too many shortcuts...).
Thank you very much, that was exactly this problem.
After adding "manager" role for tomcat user
my application is succesfully installed
and running on Tomcat server. I have another
"dummy" question: where
Thank you very much, that was exactly this problem.
After adding "manager" role for tomcat user
my application is succesfully installed
and running on Tomcat server. I have another
"dummy" question: where should I put
my FirstPage.jsp file? My application context name
is /jsp_xml/ (Tomcat manager s
Hey there,
I am quite a newbie, but I have just gone through the process of setting
up MySQL (4.0.15, I think) for Tomcat (4.1.27).
I used the mysql-connector-java-3.0.9-stable-bin.jar from MySQL.com, and
put this in the common/lib directory of Tomcat.
I can post up the contents of the server.xm
Probably, "mv myapp.jar myapp.war". In the case of Tomcat, you would drop
the resulting war-file into $CATALINA_HOME/webapps. For your app server,
please consult their documentation.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I have packed an existing WebApplication in
And using the is deprecated in Tomcat 5.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hello
>
> >
> > that means
> comment-out this Connector Directive.
>
>
>
> >Hello all,
> >
> >I discovered since a while tomcat and d$BqD(Bided to install the version 5.
> >Everythings
The driver should go into your WEB-INF/lib directory.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
:: --
hello
(B
(B>
(B> that means
(Bcomment-out this Connector Directive.
(B
(B
(B
(B>Hello all,
(B>
(B>I discovered since a while tomcat and d$BqD(Bided to install the version 5.
(B>Everythings runs, except the ssl. The port is still no open. The
(B>certificate is created and is
Hi everyone.
I'm having problems to connetc to MySQL.
I put the connector driver in the respective directory, like it's writen in
MySQL web site but i can connect. I think it's not a problem of source code,
i think it a problem with the driver.
Does anyone can tell me where should i put the drive
Hello all,
I discovered since a while tomcat and décided to install the version 5. Everythings
runs, except the ssl. The port is still no open. The certificate is created and is the
homedir of the user who runs the service.
I see nothing in the log.
Oct 17, 2003 5:09:25 PM org.apache.coyote.htt
>i am new to Tomcat. iam able to run jsp fine but not able to run even
HelloWorld servlet.
Ashish,
It seems that you might be getting some sort of exception explaining root
cause too.
It would be of help to diagnose if you can post the exception report here.
rg,
SM
81 matches
Mail list logo