RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
Did you compile the .java file and place the .class file in that folder?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: I need help about deploying a servlet in tomcat
:: 
:: Dear friends,
:: 
:: I just installed tomcat 5 in my machine. I put it in the the folder
c:\Program
:: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet examples
and they
:: are ok. However, I would like to try my own servlet. I wrote the
HelloWorld.java and
:: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access it
by
:: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
would
:: compile the java code automatically. However, it didn't happen and I got
the status
:: code 404, stating that the servlet couldn't be found.
:: 
:: These are the stuff that I did
:: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: 2. I put the description of the servlet HelloWorld to the file web.xml in
the webapp
:: folder.
:: 
:: I really appreciate if I could get some helps. Thank you very much.
:: 
:: Cheers,
:: 
:: Brian
:: 
:: 
:: 
:: -
:: ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
Also can you post the code in your web.xml where you set-up the servlet and
where did you place the web.xml?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: I need help about deploying a servlet in tomcat
:: 
:: Dear friends,
:: 
:: I just installed tomcat 5 in my machine. I put it in the the folder
c:\Program
:: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet examples
and they
:: are ok. However, I would like to try my own servlet. I wrote the
HelloWorld.java and
:: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access it
by
:: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
would
:: compile the java code automatically. However, it didn't happen and I got
the status
:: code 404, stating that the servlet couldn't be found.
:: 
:: These are the stuff that I did
:: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: 2. I put the description of the servlet HelloWorld to the file web.xml in
the webapp
:: folder.
:: 
:: I really appreciate if I could get some helps. Thank you very much.
:: 
:: Cheers,
:: 
:: Brian
:: 
:: 
:: 
:: -
:: ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Brian SJ Wong
Dear Schalk,
 
When I tried to compile it there are  some errors which says the same things when i 
tried to compile the .java file from the servlet-examples folder. I guess I missed 
doing some configurations which I am not familiar with.

Schalk [EMAIL PROTECTED] wrote:
Did you compile the .java file and place the .class file in that folder?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za

This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:08 PM
:: To: [EMAIL PROTECTED]
:: Subject: I need help about deploying a servlet in tomcat
:: 
:: Dear friends,
:: 
:: I just installed tomcat 5 in my machine. I put it in the the folder
c:\Program
:: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet examples
and they
:: are ok. However, I would like to try my own servlet. I wrote the
HelloWorld.java and
:: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access it
by
:: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
would
:: compile the java code automatically. However, it didn't happen and I got
the status
:: code 404, stating that the servlet couldn't be found.
:: 
:: These are the stuff that I did
:: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: 2. I put the description of the servlet HelloWorld to the file web.xml in
the webapp
:: folder.
:: 
:: I really appreciate if I could get some helps. Thank you very much.
:: 
:: Cheers,
:: 
:: Brian
:: 
:: 
:: 
:: -
:: ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself
:: 
:: 
:: -
:: ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself 

RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
Is you CLASSPATH set-up for Java? i.e. CLASSPATH=c:\j2sdk1.4.2\lib\tools.jar

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, June 30, 2004 11:30 PM
:: To: Tomcat Users List
:: Subject: RE: I need help about deploying a servlet in tomcat
:: 
:: Dear Schalk,
:: 
:: When I tried to compile it there are  some errors which says the same
things when i
:: tried to compile the .java file from the servlet-examples folder. I guess
I missed
:: doing some configurations which I am not familiar with.
:: 
:: Schalk [EMAIL PROTECTED] wrote:
:: Did you compile the .java file and place the .class file in that folder?
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.co.za
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: :: Sent: Wednesday, June 30, 2004 11:08 PM
:: :: To: [EMAIL PROTECTED]
:: :: Subject: I need help about deploying a servlet in tomcat
:: ::
:: :: Dear friends,
:: ::
:: :: I just installed tomcat 5 in my machine. I put it in the the folder
:: c:\Program
:: :: Files\Apache Group\Apache\Tomcat 5.0. I tried to run the servlet
examples
:: and they
:: :: are ok. However, I would like to try my own servlet. I wrote the
:: HelloWorld.java and
:: :: put it in the folder C:\Program Files\Apache Group\Apache\Tomcat
:: :: 5.0\webapps\ROOT\WEB-INF\classes. I thought that I could just access
it
:: by
:: :: http://localhost:8081/servlet/HelloWorld. I was hoping that the Tomcat
:: would
:: :: compile the java code automatically. However, it didn't happen and I
got
:: the status
:: :: code 404, stating that the servlet couldn't be found.
:: ::
:: :: These are the stuff that I did
:: :: 1. I set the environment variable CATALINA_HOME and CATALINA_BASE to
:: :: c:\Program Files\Apache Group\Apache\Tomcat 5.0
:: :: 2. I put the description of the servlet HelloWorld to the file web.xml
in
:: the webapp
:: :: folder.
:: ::
:: :: I really appreciate if I could get some helps. Thank you very much.
:: ::
:: :: Cheers,
:: ::
:: :: Brian
:: ::
:: ::
:: ::
:: :: -
:: :: ALL-NEW Yahoo! Messenger - so many all-new ways to express
yourself
:: ::
:: ::
:: :: -
:: :: ALL-NEW Yahoo! Messenger - so many all-new ways to express
yourself
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Wendy Smoak
 From: Brian SJ Wong [mailto:[EMAIL PROTECTED] 
 When I tried to compile it there are  some errors which says 
 the same things when i tried to compile the .java file from 
 the servlet-examples folder. I guess I missed doing some 
 configurations which I am not familiar with.

What did you type, and what error message did you get?  It's probably
just a CLASSPATH issue.

Then you need to configure your Servlet in web.xml.  You mentioned using
a URL with /servlet/ in it, you may be working from an old example that
assumes that the Invoker Servlet is enabled by default.  It isn't, and
it's just as well that you leave it off and learn to edit web.xml.  A
bit harder up front, but much better in the long run.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Brian SJ Wong
Well, I guess that I am totally lost:( This is the first time I use Tomcat and I don't 
know nothing about it. I already installed JDK and set the environment variable such 
as JAVA_HOME and set the class path very well. I used java before and every thing is 
fine. I am going to use the ROOT folder to store my servlets. There is a web.xml file 
in that folder and I only alter the information about the servlet that I am going to 
put, which is the HelloWorld. I only wrote the HelloWorld.java and put them in the 
../ROOT/WEB-INF/classes folder. Actually I also tried to put the HelloWorld.java to 
the ../Servlet-Examples/WEB-INF/classes. I was hoping that when I invoke the 
http://localhost:8081/servlet/HelloWorld, it will automatically compile the 
HelloWorld.java and make the class. I tried to read the tomcat documentation but I am 
still not be able to make any progress.
 
Please give me a thorough and step-by-step guidance. Thank you very much.
 
Brian
 


-
 ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself 

RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
When trying to compile your HelloWorld.java file what error do you get?

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, July 01, 2004 12:22 AM
:: To: Tomcat Users List
:: Subject: RE: I need help about deploying a servlet in tomcat
:: 
:: Well, I guess that I am totally lost:( This is the first time I use
Tomcat and I don't
:: know nothing about it. I already installed JDK and set the environment
variable such
:: as JAVA_HOME and set the class path very well. I used java before and
every thing
:: is fine. I am going to use the ROOT folder to store my servlets. There is
a web.xml
:: file in that folder and I only alter the information about the servlet
that I am going to
:: put, which is the HelloWorld. I only wrote the HelloWorld.java and put
them in the
:: ../ROOT/WEB-INF/classes folder. Actually I also tried to put the
HelloWorld.java to
:: the ../Servlet-Examples/WEB-INF/classes. I was hoping that when I invoke
the
:: http://localhost:8081/servlet/HelloWorld, it will automatically compile
the
:: HelloWorld.java and make the class. I tried to read the tomcat
documentation but I
:: am still not be able to make any progress.
:: 
:: Please give me a thorough and step-by-step guidance. Thank you very much.
:: 
:: Brian
:: 
:: 
:: 
:: -
::  ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Schalk
By this I mean compiling it outside of Tomcat i.e. from command line etc.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Schalk [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, July 01, 2004 12:33 AM
:: To: 'Tomcat Users List'
:: Subject: RE: I need help about deploying a servlet in tomcat
:: 
:: When trying to compile your HelloWorld.java file what error do you get?
:: 
:: Kind Regards
:: Schalk Neethling
:: Web Developer.Designer.Programmer.President
:: Volume4.Development.Multimedia.Branding
:: emotionalize.conceptualize.visualize.realize
:: Tel: +27125468436
:: Fax: +27125468436
:: email:[EMAIL PROTECTED]
:: web: www.volume4.co.za
:: 
:: This message contains information that is considered to be sensitive or
:: confidential and may not be forwarded or disclosed to any other party
:: without the permission of the sender. If you received this message in
error,
:: please notify me immediately so that I can correct and delete the
original
:: email. Thank you.
:: 
:: :: -Original Message-
:: :: From: Brian SJ Wong [mailto:[EMAIL PROTECTED]
:: :: Sent: Thursday, July 01, 2004 12:22 AM
:: :: To: Tomcat Users List
:: :: Subject: RE: I need help about deploying a servlet in tomcat
:: ::
:: :: Well, I guess that I am totally lost:( This is the first time I use
:: Tomcat and I don't
:: :: know nothing about it. I already installed JDK and set the environment
:: variable such
:: :: as JAVA_HOME and set the class path very well. I used java before and
:: every thing
:: :: is fine. I am going to use the ROOT folder to store my servlets. There
is
:: a web.xml
:: :: file in that folder and I only alter the information about the servlet
:: that I am going to
:: :: put, which is the HelloWorld. I only wrote the HelloWorld.java and put
:: them in the
:: :: ../ROOT/WEB-INF/classes folder. Actually I also tried to put the
:: HelloWorld.java to
:: :: the ../Servlet-Examples/WEB-INF/classes. I was hoping that when I
invoke
:: the
:: :: http://localhost:8081/servlet/HelloWorld, it will automatically
compile
:: the
:: :: HelloWorld.java and make the class. I tried to read the tomcat
:: documentation but I
:: :: am still not be able to make any progress.
:: ::
:: :: Please give me a thorough and step-by-step guidance. Thank you very
much.
:: ::
:: :: Brian
:: ::
:: ::
:: ::
:: :: -
:: ::  ALL-NEW Yahoo! Messenger - so many all-new ways to express
yourself
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help about deploying a servlet in tomcat

2004-06-30 Thread Wendy Smoak
 From: Brian SJ Wong [mailto:[EMAIL PROTECTED] 

 I am going to use the ROOT 
 folder to store my servlets. There is a web.xml file in that 
 folder and I only alter the information about the servlet 
 that I am going to put, which is the HelloWorld. I only wrote 
 the HelloWorld.java and put them in the 
 ../ROOT/WEB-INF/classes folder.

The Java source code does not go in ROOT/WEB-INF/classes.  That's where
the compiled code goes.  

 I was hoping that when I invoke the
http://localhost:8081/servlet/HelloWorld, it will 
 automatically compile the HelloWorld.java and make the class. 

AFAIK, Tomcat will not automatically compile your Servlets.  So, first
thing, compile your HelloWorld.java file into HelloWorld.class.  Your
previous comments indicate that you know how to do that.  If not, post
the commands you're typing and the exact error message you're getting,
and someone will help.

Even when you get that done, the URL you intend to use will NOT work.
URLs with /servlet in them generally depend on the Invoker Servlet being
enabled.  The Invoker Servlet is disabled by default.  So drop the
/servlet part of the URL, and edit web.xml to include servlet and
servlet-mapping tags for your Servlet.

Here's the example web.xml file from the Tomcat 5 docs:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/web.xml.txt

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help: Configure log4j in Tomcat/Windows 2000

2004-05-17 Thread Shapira, Yoav

Hi,
Log4j is a logging toolkit from Apache.  Its home page and docs are at 
http://logging.apache.org/log4j.  It is used by many applications and libraries 
directly, and by many applications and libraries via commons-logging 
(http://jakarta.apache.org/commons/logging).  If commons-logging finds log4j on the 
classpath, log4j is used for logging.

The message you got means something in your code (or more likely, the Axis or Slide 
code) made a log4j logging statement before log4j was configured.  This is not a fatal 
error.  It means you're losing logging statements until you configure log4j.

A good way to configure log4j is to create a properties files, log4j.properties, and 
put it in the WEB-INF/classes directory of your web application.  The free short log4j 
manual (http://logging.apache.org/log4j/docs/manual.html) contains examples of 
configuration files.  There are many additional examples available via a simple Google 
search: http://www.google.com/search?sourceid=navclientq=log4j%2Eproperties+example.

There are many other ways to configure a use log4j, and you might eventually want to 
change this, but start with a simple file in the WEB-INF/classes directory and log4j 
will configure itself automatically.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Dotterweich Juergen [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 5:54 AM
To: '[EMAIL PROTECTED]'
Subject: I need help: Configure log4j in Tomcat/Windows 2000

Hello,

I need to now, how to configure the log4j from
Tomcat in Windows 2000.

What is log4j?

I am new with Tomcat.

I have installed jakarta-slide-2.0-tomcat-4.1.30 with Axis1_1 under
the operating system
Windows 2000 and it runs.
But I get a WARNING if I start and stop the Tomcat.

The WARNING is:

LOG4j:No appender could be found for logger
org.apache.common.digester.Digester.sax.
Please initialize the log4j system properly.

What should I do that this WARNING never appears and HOW to do this
action.

Thanks in advance.

Kind Regards
   Jürgen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help: Configure log4j in Tomcat/Windows 2000

2004-05-17 Thread Shane Linley
The honorable Yaov Shapira once wrote:

I've added it to the misc page of the tomcat FAQ:
http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j.

Jake, if you have another explanation of this issue/solutions on a web
page somewhere, let me know and I'll link that from the above location
as well.

Yoav Shapira

Regards,
Shane.

-Original Message-
From: Dotterweich Juergen [mailto:[EMAIL PROTECTED]
Sent: Monday, 17 May 2004 5:54 PM
To: '[EMAIL PROTECTED]'
Subject: I need help: Configure log4j in Tomcat/Windows 2000


Hello,

I need to now, how to configure the log4j from
Tomcat in Windows 2000.

What is log4j?

I am new with Tomcat.

I have installed jakarta-slide-2.0-tomcat-4.1.30 with Axis1_1 under
the operating system
Windows 2000 and it runs.
But I get a WARNING if I start and stop the Tomcat.

The WARNING is:

LOG4j:No appender could be found for logger
org.apache.common.digester.Digester.sax.
Please initialize the log4j system properly.

What should I do that this WARNING never appears and HOW to do this
action.

Thanks in advance.

Kind Regards
Jürgen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I need help explaining why lock box doesn't show up - PLEASE

2003-10-03 Thread Bill Barker
I'm going to assume that like any good webmaster these days, you have access
to MSIE.  Go to tools-Internet Options-Security-Custom Level.  Under
'Miscellaneous' select the 'Disable' option for 'Display mixed content'.
Click on enough Ok buttons to get to the main IE screen.  Attempt to access
your page.  If it looks like sh*t, then the problem is that you are
referencing images/stylesheets with the HTTP protocol from an HTTPS page.

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Greetings,
 I'm running Apache with mod SSL on a linux box.  I'm also running Tomcat
and
 using the JkMount statements to send all of the jsp pages to Tomcat.  The
 clients that I set this up for are complaining that the little lock box in
 the browser doesn't show up on the jsp pages - but isn't the connection
 still secure b/c it's going through apache?


 Thanks,
 Bobbie

 Bobbie Atristain
 Internet Systems Administrator
 Media General, INC.
 804.649.6156




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I need help explaining why lock box doesn't show up - PLEASE

2003-10-02 Thread David Rees
On Thu, October 2, 2003 at 6:25 am, [EMAIL PROTECTED] sent the
following
 Greetings,
 I'm running Apache with mod SSL on a linux box.  I'm also running Tomcat
 and
 using the JkMount statements to send all of the jsp pages to Tomcat.  The
 clients that I set this up for are complaining that the little lock box in
 the browser doesn't show up on the jsp pages - but isn't the connection
 still secure b/c it's going through apache?

It should be unless for some reason the users are being redirected to
another port.  You should be able to detect this by looking through your
server logs.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help explaining why lock box doesn't show up - PLEASE

2003-10-02 Thread batristain
Hi Dave,
When it's in Apache it's going through port 80 and when it's in Tomcat it's
going through the default 8080 port.

-Original Message-
From: David Rees [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 02, 2003 11:45 AM
To: Tomcat Users List
Subject: Re: I need help explaining why lock box doesn't show up - PLEASE


On Thu, October 2, 2003 at 6:25 am, [EMAIL PROTECTED] sent the
following
 Greetings,
 I'm running Apache with mod SSL on a linux box.  I'm also running 
 Tomcat and using the JkMount statements to send all of the jsp pages 
 to Tomcat.  The clients that I set this up for are complaining that 
 the little lock box in the browser doesn't show up on the jsp pages - 
 but isn't the connection still secure b/c it's going through apache?

It should be unless for some reason the users are being redirected to another
port.  You should be able to detect this by looking through your server logs.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I need help explaining why lock box doesn't show up - PLEASE

2003-10-02 Thread David Rees
On Thu, October 2, 2003 at 9:30 am, [EMAIL PROTECTED] sent the
following
 When it's in Apache it's going through port 80 and when it's in Tomcat
 it's going through the default 8080 port.

You're not using mod_jk to forward requests from Apache to Tomcat?  Either
way, if you are using port 80, that is the standard http port, you should
be using https://website/ and mod_jk to forward requests to Tomcat over
the AJP13 port.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I need help please (Tomcat 4.1.24 and IIS)

2003-06-09 Thread John Turner
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/localhost/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
Please post your .properties files, without them we can't be much help, it 
looks like one of them has a munged up URL.

John

On Mon, 9 Jun 2003 07:47:30 -0400, Jeffrey Cummings [EMAIL PROTECTED] wrote:

I am trying to setup tomcat 4.1.24 with IIS. When I request a page I get 
the
following message:-

HTTP Status 404 - /tomcat/isapi_redirect.dll
___
type Status report
message /tomcat/isapi_redirect.dll
description The requested resource (/tomcat/isapi_redirect.dll) is not
available.
_
Apache Tomcat/4.1.24
My registry settings

extension_uri - /tomcat/isapi_redirector.dll
worker_file - C:\Jakarta-4.1.24\conf\workers.properties
worker_mount_file - C:\Jakarta-4.1.24\conf\uriworkermap.properties
log_file - C:\Jakarta-4.1.24\logs\mod_jk_iis.log
log_level - debug
I have a virtual directory tomcat - C:\Jakarta-4.1.24\conf
(isapi_redirector.dll is in the conf directory)
Ive set up the filter in the default web site for tomcat (it has a green
arrow)
Im running XP (this is where I test then move to Win2K)
By the way, http://localhost:8080/examples/jsp/index.html works fine
Here is the isapi log when I make the request for
http://localhost/examples/jsp/index.html
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, 
Found a
match ajp13
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp13
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (766)]: HttpFilterProc
started
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (829)]: In HttpFilterProc
Virtual Host redirection of /localhost/tomcat/isapi_redirect.dll
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to 
map
URI '/localhost/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (835)]: In HttpFilterProc
test Default redirection of /tomcat/isapi_redirect.dll
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to 
map
URI '/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (899)]: HttpFilterProc
[/tomcat/isapi_redirect.dll] is not a servlet url
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (908)]: HttpFilterProc 
check
if [/tomcat/isapi_redirect.dll] is points to the web-inf directory
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (948)]: HttpExtensionProc
started
[Sat Jun 07 09:18:40 2003]  [jk_worker.c (132)]: Into 
wc_get_worker_for_name
ajp13
[Sat Jun 07 09:18:40 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (983)]: HttpExtensionProc 
got
a worker for name ajp13
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1448)]: In
jk_endpoint_t::ajp_get_endpoint, time elapsed since last request = 497
seconds
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (432)]: 
ajp_marshal_into_msgb -
Done
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (642)]: sending to ajp13 
#314
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13 
#81
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (483)]: 
ajp_unmarshal_response:
status = 404
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (488)]: 
ajp_unmarshal_response:
Number of headers is = 2
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]: 
ajp_unmarshal_response:
Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]: 
ajp_unmarshal_response:
Header[1] [Content-Language] = [en-US]
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (432)]: Into
jk_ws_service_t::start_response
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13
#747
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (566)]: Into

Re: I need help

2002-01-17 Thread Otávio Augusto R . de França

Nao entendi corretamente... vc quer mudar o nome do diretorio classes ,
que vem dento de WEB-INF?



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: I need help

2002-01-17 Thread Nikola Milutinovic

 How can i to change the name of directory classes in WEB-INF for servlet,
 i want to rename the directory classes.

Why? This is standard, it's VERY difficult to change.

Nix.



Re: i need help for mod_webapp/TCb7

2001-09-05 Thread Pier Fumagalli

Francis Lapique [EMAIL PROTECTED] wrote:

 Tomcat b7 + mod_webapp
 How in apache do get numguess.jsp to be executed correctly?
 
 http://mysite/examples/jsp/num/numguess.jsp

I don't see anything wrong in those log files... What happens?

Pier




RE: I need help in tomcat configuration with Oracle 8.1.7

2001-07-05 Thread Mike Braden

Tobias,

Here is an example that should help:

http://www.thejspbook.com/solaris-oracle-howto.html

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: Internet Total Solutions LLC - Customer Liaisons Department -
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 6:37 AM
To: [EMAIL PROTECTED]
Subject: I need help in tomcat configuration with Oracle 8.1.7


Hello,

I would like to know whether anyone is able to give me a hint towards
solving the following scenario. If anyone is available on consultation
basis, it is fine too.

I have developed website personalization engine in java that comes with it's
own kind of application server to handle the client access requests to the
oracle 8.1.7 db through the use of tomcat 3.1 I am using the oracle thin
driver and classes111.zip in order to handle the requests through the jdbc.
However tomcat giving me serious errors and my client application can't
login to the database. Would anyone be able to help me on that matter?

Thanks

Tobias Hansen




Re: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread Sam Newman



I don't know anything too specific about use with 
Oracle, but I've certainly used servlets/JSP's to access DB's via JDBC in the 
past (read: maintained code which did it, not developed it!), so its certainly 
possible. Firstly, could you give the exact error you are getting from tomcat? 
Also, you might want to try using 3.2.2, which is the current stable release and 
might contain fixes to your problems already.

sam

  - Original Message - 
  From: 
  Internet Total 
  Solutions LLC - Customer Liaisons Department - 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, July 03, 2001 11:37 
  AM
  Subject: I need help in tomcat 
  configuration with Oracle 8.1.7
  
  
  Hello,
  
  I would like to know whether anyone is able togive me 
  a hinttowards solving the following scenario. If anyone is available on 
  consultation basis, it is fine too.
  
  I have developed website personalization engine in 
  javathat comes with it's own kind of application server to handle the 
  client access requests to the oracle 8.1.7 db through the use of tomcat 3.1 I 
  am using the oracle thin driver and classes111.zip in order to handle the 
  requests through the jdbc. However tomcat giving me serious errors and my 
  client application can't login to the database. Would anyone be able to help 
  me on that matter? 
  
  Thanks
  
  Tobias Hansen
  


Re: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread pete

'Serious Errors'? you'll have to be a bit more specific than that.

Exactly what errors is tomcat giving you? - Segmentation faults? 
NullPointerExceptions? NoClassDefFoundException?

Also, be aware that Tomcat 3.2.2 is the latest stable version, and it 
has fixes for a number of problems with versions prior to it.

This may have nothing to do with1 your problems, but it is advisable to 
upgrade to 3.2.2, unless you have a particular reason to stick with 3.1

-Pete

 Hello,
 
  
 
 I would like to know whether anyone is able to give me a hint towards 
 solving the following scenario. If anyone is available on consultation 
 basis, it is fine too.
 
  
 
 I have developed website personalization engine in java that comes 
 with it's own kind of application server to handle the client access 
 requests to the oracle 8.1.7 db through the use of tomcat 3.1 I am 
 using the oracle thin driver and classes111.zip in order to handle the 
 requests through the jdbc. However tomcat giving me serious errors and 
 my client application can't login to the database. Would anyone be 
 able to help me on that matter?
 
  
 
 Thanks
 
  
 
 Tobias Hansen
 
  
 





RE: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread Hughes, Tim



I am not sure that I 
understand the problem exactly but I do know that there are a number of problems 
that can occur with connecting to a JDBC driver, the most common of which is 
that classes111.zip needs to be placed in TOMCAT_HOME/lib/and renamed to 
classes111.jar so that Tomcat can detect it and put it on the 
classpath.

See if this 
helps.

Tim.

 Tim Hughes Cap Gemini Ernst 
 Young  Addr.: Sandbrugt. 5-7, Postboks 
3950, Dreggen, 5835 Bergen, Norway 
Tel: +47 55 90 66 24 / +47 48 10 06 38 
Email: 
[EMAIL PROTECTED] Web: http://no.cgey.com  

  -Original Message-From: Internet Total Solutions LLC 
  - Customer Liaisons Department - [mailto:[EMAIL PROTECTED]]Sent: 
  3. juli 2001 12:37To: 
  [EMAIL PROTECTED]Subject: I need help in tomcat 
  configuration with Oracle 8.1.7
  
  Hello,
  
  I would like to know whether anyone is able togive me 
  a hinttowards solving the following scenario. If anyone is available on 
  consultation basis, it is fine too.
  
  I have developed website personalization engine in 
  javathat comes with it's own kind of application server to handle the 
  client access requests to the oracle 8.1.7 db through the use of tomcat 3.1 I 
  am using the oracle thin driver and classes111.zip in order to handle the 
  requests through the jdbc. However tomcat giving me serious errors and my 
  client application can't login to the database. Would anyone be able to help 
  me on that matter? 
  
  Thanks
  
  Tobias Hansen
  

This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.



Re: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread Brendan McKenna

Hi,

If I remember correctly, you have to be using at least jdk1.2 
in order to run Tomcat, but the classes111.zip file is intended for use 
with jdk1.1.  You might have better luck if you used classes12.zip 
(which you can get from technet.oracle.com).


Brendan
: Hello,
: 
: I would like to know whether anyone is able to give me a hint towards =
: solving the following scenario. If anyone is available on consultation =
: basis, it is fine too.
: 
: I have developed website personalization engine in java that comes with =
: it's own kind of application server to handle the client access requests =
: to the oracle 8.1.7 db through the use of tomcat 3.1 I am using the =
: oracle thin driver and classes111.zip in order to handle the requests =
: through the jdbc. However tomcat giving me serious errors and my client =
: application can't login to the database. Would anyone be able to help me =
: on that matter?=20
: 
: Thanks
: 
: Tobias Hansen
: 
: 
: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
: HTMLHEAD
: META content=text/html; charset=iso-8859-1 http-equiv=Content-Type
: META content=MSHTML 5.00.2314.1000 name=GENERATOR
: STYLE/STYLE
: /HEAD
: BODY bgColor=#d8d0c8
: DIVFONT size=2
: DIVFONT size=2Hello,/FONT/DIV
: DIVnbsp;/DIV
: DIVFONT size=2I would like to know whether anyone is able tonbsp;give me a 
: hintnbsp;towards solving the following scenario. If anyone is available on 
: consultation basis, it is fine too./FONT/DIV
: DIVnbsp;/DIV
: DIVFONT size=2I have developed website personalization engine in 
: javanbsp;that comes with it's own kind of application server to handle the 
: client access requests to the oracle 8.1.7 db through the use of tomcat 3.1 I am 
: using the oracle thin driver and classes111.zip in order to handle the requests 
: through the jdbc. However tomcat giving me serious errors and my client 
: application can't login to the database. Would anyone be able to help me on that 
: matter? /FONT/DIV
: DIVnbsp;/DIV
: DIVFONT size=2Thanks/FONT/DIV
: DIVnbsp;/DIV
: DIVFONT size=2Tobias Hansen/FONT/DIV
: DIVnbsp;/DIV/FONT/DIV/BODY/HTML
: 

-- 
Brendan McKennaEmail: [EMAIL PROTECTED]
Development Strategist Phone: +353-61-338177
Taringold Ltd. Fax:   +353-61-338065





Re: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread Internet Total Solutions LLC - Customer Liaisons Department -



Hello Guys,

thanks for so much advises from all of you, I will try now to 
incorporate certain ideas to see whether I get it to work.

Thanks

Tobias

  - Original Message - 
  From: 
  Sam 
  Newman 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, July 03, 2001 5:43 
PM
  Subject: Re: I need help in tomcat 
  configuration with Oracle 8.1.7
  
  I don't know anything too specific about use with 
  Oracle, but I've certainly used servlets/JSP's to access DB's via JDBC in the 
  past (read: maintained code which did it, not developed it!), so its certainly 
  possible. Firstly, could you give the exact error you are getting from tomcat? 
  Also, you might want to try using 3.2.2, which is the current stable release 
  and might contain fixes to your problems already.
  
  sam
  
- Original Message - 
From: 
Internet Total 
Solutions LLC - Customer Liaisons Department - 
To: [EMAIL PROTECTED] 

Sent: Tuesday, July 03, 2001 11:37 
AM
Subject: I need help in tomcat 
configuration with Oracle 8.1.7


Hello,

I would like to know whether anyone is able togive 
me a hinttowards solving the following scenario. If anyone is 
available on consultation basis, it is fine too.

I have developed website personalization engine in 
javathat comes with it's own kind of application server to handle the 
client access requests to the oracle 8.1.7 db through the use of tomcat 3.1 
I am using the oracle thin driver and classes111.zip in order to handle the 
requests through the jdbc. However tomcat giving me serious errors and my 
client application can't login to the database. Would anyone be able to help 
me on that matter? 

Thanks

Tobias Hansen



RE: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread Eoin Woods

Firstly ... post in text, not HTML!

What sort of errors are you getting from Tomcat?

Have you checked your JDBC URL using Oracle's CheckJDBC class?

Eoin.
-Original Message-
From: Internet Total Solutions LLC - Customer Liaisons Department -
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 3:37 AM
To: [EMAIL PROTECTED]
Subject: I need help in tomcat configuration with Oracle 8.1.7


Hello,

I would like to know whether anyone is able to give me a hint towards
solving the following scenario. If anyone is available on consultation
basis, it is fine too.

I have developed website personalization engine in java that comes with it's
own kind of application server to handle the client access requests to the
oracle 8.1.7 db through the use of tomcat 3.1 I am using the oracle thin
driver and classes111.zip in order to handle the requests through the jdbc.
However tomcat giving me serious errors and my client application can't
login to the database. Would anyone be able to help me on that matter? 

Thanks

Tobias Hansen



Re: I need help in tomcat configuration with Oracle 8.1.7

2001-07-03 Thread Darren Thamadi Roberts

As long as you have the classes111.zip in your
classpath, you should not have a problem. I just
created a simple form that allowed a user to enter
information and login. You could also hardcode these
values and they would work. Here's a little snippet of
code that works fine. You have catch the exceptions,
but the connection will work for you.

  private String url;
  private String user;
  private String password;
  private Connection conn;
  private boolean conn_s;
  private boolean hasClosed;
  public void init(ServletConfig config) throws
ServletException {
super.init(config);
conn_s=false;
hasClosed=true;

  }
  /**Process the HTTP Get request*/
  public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException
  {
   
url=jdbc:oracle:thin:@+request.getParameter(hostString);
user=request.getParameter(userName);
password=request.getParameter(password);
try
{
  System.out.println(Current connection status:
+hasClosed);
  DriverManager.registerDriver (new
oracle.jdbc.driver.OracleDriver());
 
conn=DriverManager.getConnection(url,user,password);
  conn_s=true;
  System.out.println(Connection made
succesfully);
}

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: I need help!!

2001-06-15 Thread Luba Powell

Could it be that those packages have incompatible classes:
jakarta-tomcat-4.0-b5.zipjakarta-servletapi-4.0-b5.zip

Why do you need jakarta-servletapi?  tomcat supports servlets.


- Original Message -
From: Marc-andre Thibodeau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 10:54 AM
Subject: I need help!!



 I spent too many hours trying to solve my problem.  The next step will
 be a psychotherapist!

 Here is all I did:

 Trying to install:  Tomcat 4.0 b5
 JDK:  1.3.0
 OS: Linux 6.1
 downloaded:  jakarta-tomcat-4.0-b5.zipjakarta-servletapi-4.0-b5.zip

 unzipped both of them
 set CATALINA_HOME correctly
 set JAVA_HOME correctly
 set TOMCAT_HOME to same directory as CATALINA_HOME
 put servlet.jar file downloaded in $CATALINA_HOME/lib
 executed $CATALINA_HOME/bin/startup.sh

 and here's the important parts of the logfiles I get:

 localhost_examples_log.2001-06-15.txt
 -
 2001-06-15 10:30:12 StandardContext[/examples]: Exception starting
 filter Compression Filter
 java.lang.ClassCastException: compressionFilters.CompressionFilter
 at

org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:250)

 at

org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:311)

 (... and other ClassCastExceptions, all related to filters)

 localhost_log_2001-06-15.txt
 --
 2001-06-15 10:49:34 StandardContext[]: Servlet  threw load() exception
 javax.servlet.ServletException: Class
 org.apache.jasper.servlet.JspServlet is not a Servlet
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)

 - Root Cause -
 java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)

 (... and other ServletExceptions)

 If anybody can help, I would appreciate it a lot!

 MA





Re: I need help!!

2001-06-15 Thread Marc-andre Thibodeau


I LOVE YOU!!!

It was because of the servlet.jar!  I just deleted it and now it works!!!
But could somebody tell me what is the point of putting a tomcat version with
an incompatible version of the servlet api in the same download directory???
grrr...

Well, I feel better now!

Thanks a lot!

MA

Luba Powell wrote:

 Could it be that those packages have incompatible classes:
 jakarta-tomcat-4.0-b5.zipjakarta-servletapi-4.0-b5.zip

 Why do you need jakarta-servletapi?  tomcat supports servlets.

 - Original Message -
 From: Marc-andre Thibodeau [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, June 15, 2001 10:54 AM
 Subject: I need help!!

 
  I spent too many hours trying to solve my problem.  The next step will
  be a psychotherapist!
 
  Here is all I did:
 
  Trying to install:  Tomcat 4.0 b5
  JDK:  1.3.0
  OS: Linux 6.1
  downloaded:  jakarta-tomcat-4.0-b5.zipjakarta-servletapi-4.0-b5.zip
 
  unzipped both of them
  set CATALINA_HOME correctly
  set JAVA_HOME correctly
  set TOMCAT_HOME to same directory as CATALINA_HOME
  put servlet.jar file downloaded in $CATALINA_HOME/lib
  executed $CATALINA_HOME/bin/startup.sh
 
  and here's the important parts of the logfiles I get:
 
  localhost_examples_log.2001-06-15.txt
  -
  2001-06-15 10:30:12 StandardContext[/examples]: Exception starting
  filter Compression Filter
  java.lang.ClassCastException: compressionFilters.CompressionFilter
  at
 
 org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
 Config.java:250)
 
  at
 
 org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
 terConfig.java:311)
 
  (... and other ClassCastExceptions, all related to filters)
 
  localhost_log_2001-06-15.txt
  --
  2001-06-15 10:49:34 StandardContext[]: Servlet  threw load() exception
  javax.servlet.ServletException: Class
  org.apache.jasper.servlet.JspServlet is not a Servlet
  at
  org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
 
  - Root Cause -
  java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
  at
  org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
 
  (... and other ServletExceptions)
 
  If anybody can help, I would appreciate it a lot!
 
  MA
 




Re: I need help!!

2001-06-15 Thread Luba Powell

I understand that these are 2 different products.
Technically speaking - they don't have to keep them
in sync.

I've been desperate more than once...

- Original Message -
From: Marc-andre Thibodeau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 12:32 PM
Subject: Re: I need help!!



 I LOVE YOU!!!

 It was because of the servlet.jar!  I just deleted it and now it works!!!
 But could somebody tell me what is the point of putting a tomcat version
with
 an incompatible version of the servlet api in the same download
directory???
 grrr...

 Well, I feel better now!

 Thanks a lot!

 MA

 Luba Powell wrote:

  Could it be that those packages have incompatible classes:
  jakarta-tomcat-4.0-b5.zipjakarta-servletapi-4.0-b5.zip
 
  Why do you need jakarta-servletapi?  tomcat supports servlets.
 
  - Original Message -
  From: Marc-andre Thibodeau [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, June 15, 2001 10:54 AM
  Subject: I need help!!
 
  
   I spent too many hours trying to solve my problem.  The next step will
   be a psychotherapist!
  
   Here is all I did:
  
   Trying to install:  Tomcat 4.0 b5
   JDK:  1.3.0
   OS: Linux 6.1
   downloaded:  jakarta-tomcat-4.0-b5.zip  
jakarta-servletapi-4.0-b5.zip
  
   unzipped both of them
   set CATALINA_HOME correctly
   set JAVA_HOME correctly
   set TOMCAT_HOME to same directory as CATALINA_HOME
   put servlet.jar file downloaded in $CATALINA_HOME/lib
   executed $CATALINA_HOME/bin/startup.sh
  
   and here's the important parts of the logfiles I get:
  
   localhost_examples_log.2001-06-15.txt
   -
   2001-06-15 10:30:12 StandardContext[/examples]: Exception starting
   filter Compression Filter
   java.lang.ClassCastException: compressionFilters.CompressionFilter
   at
  
 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
  Config.java:250)
  
   at
  
 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
  terConfig.java:311)
  
   (... and other ClassCastExceptions, all related to filters)
  
   localhost_log_2001-06-15.txt
   --
   2001-06-15 10:49:34 StandardContext[]: Servlet  threw load() exception
   javax.servlet.ServletException: Class
   org.apache.jasper.servlet.JspServlet is not a Servlet
   at
  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
  
   - Root Cause -
   java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
   at
  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
  
   (... and other ServletExceptions)
  
   If anybody can help, I would appreciate it a lot!
  
   MA
  





Re: I need help!!!

2001-02-02 Thread Narayanan



HI 

 Where u have placed 
the application 
 If u have not 
created any application just place the JSP under root 
and all the java files under web-inf . 


 Narayanan
 s.w Engineer 
 Enhancement Technologies
 Chennai-17 
 [EMAIL PROTECTED]

  - Original Message - 
  From: 
  Rajashanin 
  To: [EMAIL PROTECTED] 
  Sent: Friday, February 02, 2001 5:35 
  PM
  Subject: I need help!!!
  
  
  Hi 
  This is Rajashanin from India, I installed 
  Apache and Tomcat in my machine to run JSP based project, I have tried a lot 
  but I am unable to run my project, can you please tell me, where to put the 
  JSP files, templates and the Java files?, does the Java files need to be 
  compiled before placingthem in the concerned folders, please do lemme 
  know.
  
  Thankyou
  Regards
  Rajashanin


Re: I need help!!!

2001-02-02 Thread Rajashanin



Dear Narayanan
I have placed the JSP files and HTML files in 
the Web-apps folder and theand .class files in the Web-inf - classes 
folder, and now it's working fine, Thankx for ur reply and timely help 
Mr.Narayanan

Cheers
Rajashanin

  - Original Message - 
  From: 
  Narayanan 
  To: [EMAIL PROTECTED] 
  
  Sent: Friday, February 02, 2001 5:40 
  PM
  Subject: Re: I need help!!!
  
  HI 
  
   Where u have 
  placed the application 
   If u have 
  not created any application just place the JSP under root 
  and all the java files under web-inf . 
  
  
   Narayanan
   s.w Engineer 
   Enhancement Technologies
   Chennai-17 
   [EMAIL PROTECTED]
  
- Original Message - 
From: 
Rajashanin 
To: [EMAIL PROTECTED] 

Sent: Friday, February 02, 2001 5:35 
PM
Subject: I need help!!!


Hi 
This is Rajashanin from India, I installed 
Apache and Tomcat in my machine to run JSP based project, I have tried a lot 
but I am unable to run my project, can you please tell me, where to put the 
JSP files, templates and the Java files?, does the Java files need to be 
compiled before placingthem in the concerned folders, please do lemme 
know.

Thankyou
Regards
Rajashanin