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  and
 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 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 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 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 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 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 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
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 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]



I need help about deploying a servlet in tomcat

2004-06-30 Thread Brian SJ Wong
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 

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: 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=navclient&q=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]



I need help: Configure log4j in Tomcat/Windows 2000

2004-05-17 Thread Dotterweich Juergen
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]



I need help with JspC

2004-01-07 Thread Ikonne, Ike

Hi all,


I am new to this group, but I have a problem:  I am trying to compile my
jsps using the following command

 java -classpath
javax.servlet.jar:jasper-compiler.jar:jasper-runtime.jar:commons-logging.jar

 org.apache.jasper.JspC -v8 newAccount.jsp 

But I am getting the following error messages:

2004-01-01 09:21:43 - uriRoot implicitly set to
"/home/nis02/iikon1/ceu2200/ceunix/src/ceuadmin" 
2004-01-01 09:21:43 - ERROR-the file '/jsp/newAccount.jsp' generated the 
 following general exception: java.lang.NullPointerException 
 error:null 


What am I doing wrong?  


Thanks,


Ike


-
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 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 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 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 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]



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

2003-10-02 Thread batristain
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 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)
I’ve set up the filter in the default web site for tomcat (it has a green
arrow)
I’m 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)]: Int

I need help please (Tomcat 4.1.24 and IIS)

2003-06-09 Thread Jeffrey Cummings
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)
I’ve set up the filter in the default web site for tomcat (it has a green
arrow)
I’m 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
jk_ws_service_t::write
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13 #2
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (995)]: HttpExtensionProc
service() returned OK
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1382)]: Into
jk_endpoint_t::done, recycling connection

What have I missed?


Jeff




I need help

2003-04-05 Thread anurag vijay kumar rahangdale
To,

 Tomcat Help Desk

 I am Java Programmer I have developed application in JSP using
 Apache Tomcate 4.0 server. It okay when ever I am using it in 
our
 company in stand alone system but when we are going to upload 
it
 on net it create problems. Actually we purchase space in 
server
 there our companies website(general html pages) is running, 
after
 developing our companies product web site which is in JSP when 
I
 upload its .war file on server machine
 jakarta-tomcat-4.0-b7/webapp folder it is running on server
 machine when I access it through http://localhost:8080/sales
 (sales is my .war name) but I want it t access remotely through 
my
 company web site i.e. http://www.xyz.com:8080/sales ut it will
 show server/page not found error. Can you tell me how I can
 configure it for my requirement, please reply me soon.
 I am waiting for your reply

 Thanks

 Anurag rahangdale

___
Odomos - the only  mosquito protection outside 4 walls -
Click here to know more!
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Time Out (I need help!)

2002-10-23 Thread Webmaster - Unimed Piracicaba
Hi people!

I am getting some problems with time out when a client tries to send
a (around) 800kb file to my server via JSPSmartUpload. I think that
if I set the timeout to a bigger time this problem will be solved, but
I don't know how to do it...

1) How do I to re-set the timeout of tomcat (or apache)? (not the 
session time-out)

2) Does Somebody have the same problem with JSPSmartUpload or other 
upload package??

Thank u all!!

Marcelo Mathias Lima
[EMAIL PROTECTED]
Java/JSP Developer



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



Re: Tom cat does not load class -- Urgent I need help

2002-04-04 Thread David M. Karr

> "Uma" == Uma Munugala <[EMAIL PROTECTED]> writes:

Uma> Hi David 
Uma>Thanks for replying.
Uma> Iam using Metrowerks CodeWarrior IDE for compiling, it uses JDK1.3
Uma> and tomcat also uses JDK1.3

Uma> The only directory name which has space is tomcat installation directory.
Uma> i.e Apache Tomcat 4.0.

Just to eliminate those possibilities, I would suggest the following:

First reinstall (not rename) your Tomcat installation so that it resides in a
directory path without spaces.  Then retest.

>From a DOS prompt, type "java -version".  Make sure it's what you expect.  Also
type "javac -help", although it's a little harder to tell from this what
version you're getting.

Both of these are long shots.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tom cat does not load class -- Urgent I need help

2002-04-04 Thread Uma Munugala


Hi David 
   Thanks for replying.
Iam using Metrowerks CodeWarrior IDE for compiling, it uses JDK1.3
and tomcat also uses JDK1.3

The only directory name which has space is tomcat installation directory.
i.e Apache Tomcat 4.0.

Thanks
Uma


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Tom cat does not load class -- Urgent I need help


>>>>> "Uma" == Uma Munugala <[EMAIL PROTECTED]> writes:

Uma> Hi 
Uma> Iam trying to convert a standalone application to web based
application
Uma> using Tomcat.

Uma> Iam running a servlet called Login in Tomcat 4.0.3-b1 on NT 4.0. I
tried
Uma> different versions of tomcat also like tomcat 4.0.3 and lower.
Uma> In the above servlet Iam trying  to load a class file called
Uma> com.CellFusion.Relational.RelConnection.  using Class.forName,  I
get an
Uma> error 
Uma> java.lang.ClassFormatError: com/CellFusion/Relational/RelConnection
(Illegal
Uma> Variable name "") 
Uma> I can load all other class files but i cant load this particular
file.

Uma> Iam attaching the file any help in this regards would be very much
Uma> appreciated

Uma> . <>   <> 

Uma> When I take some java files (including the said file) from my
application
Uma> and seperately compile them and place them in D:\Apache Tomcat
Uma> 4.0\webapps\CellFusion\WEB-INF\classes  i dont have any problem.

Uma> I am not sure what is  problem with the tom cat loader, Iam stuck
can any
Uma> body please explain.

How are you compiling your source files?

What compiler are you using?

What JDK/JVM are you using?

Are you certain you're using the compiler that goes with the JVM you're
running
Tomcat with?

This may be unimportant, but are you using any directory names which contain
spaces?

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


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

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




Re: Tom cat does not load class -- Urgent I need help

2002-04-04 Thread David M. Karr

> "Uma" == Uma Munugala <[EMAIL PROTECTED]> writes:

Uma> Hi 
Uma> Iam trying to convert a standalone application to web based application
Uma> using Tomcat.

Uma> Iam running a servlet called Login in Tomcat 4.0.3-b1 on NT 4.0. I tried
Uma> different versions of tomcat also like tomcat 4.0.3 and lower.
Uma> In the above servlet Iam trying  to load a class file called
Uma> com.CellFusion.Relational.RelConnection.  using Class.forName,  I get an
Uma> error 
Uma> java.lang.ClassFormatError: com/CellFusion/Relational/RelConnection (Illegal
Uma> Variable name "") 
Uma> I can load all other class files but i cant load this particular file.

Uma> Iam attaching the file any help in this regards would be very much
Uma> appreciated

Uma> . <>   <> 

Uma> When I take some java files (including the said file) from my application
Uma> and seperately compile them and place them in D:\Apache Tomcat
Uma> 4.0\webapps\CellFusion\WEB-INF\classes  i dont have any problem.

Uma> I am not sure what is  problem with the tom cat loader, Iam stuck can any
Uma> body please explain.

How are you compiling your source files?

What compiler are you using?

What JDK/JVM are you using?

Are you certain you're using the compiler that goes with the JVM you're running
Tomcat with?

This may be unimportant, but are you using any directory names which contain
spaces?

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tom cat does not load class -- Urgent I need help

2002-04-04 Thread Uma Munugala

Hi 
Iam trying to convert a standalone application to web based application
using Tomcat.

Iam running a servlet called Login in Tomcat 4.0.3-b1 on NT 4.0. I tried
different versions of tomcat also like tomcat 4.0.3 and lower.
In the above servlet Iam trying  to load a class file called
com.CellFusion.Relational.RelConnection.  using Class.forName,  I get an
error 
java.lang.ClassFormatError: com/CellFusion/Relational/RelConnection (Illegal
Variable name "") 
I can load all other class files but i cant load this particular file.


Iam attaching the file any help in this regards would be very much
appreciated

. <>   <> 

When I take some java files (including the said file) from my application
and seperately compile them and place them in D:\Apache Tomcat
4.0\webapps\CellFusion\WEB-INF\classes  i dont have any problem.

I am not sure what is  problem with the tom cat loader, Iam stuck can any
body please explain.


Thanks 
Uma







RelConnection.java
Description: Binary data


Login.java
Description: Binary data

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


RE: XML output, I need help.

2002-03-13 Thread Jim Urban

Are you displaying raw XML, or does your XML reference a XSL stylesheet?  IE
is not current on XSL support and has problems processing XSL commands.

Jim

> -Original Message-
> From: David Smith [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 13, 2002 8:22 AM
> To: Tomcat Users List
> Subject: Re: XML output, I need help.
>
>
> This sounds like IE's old ignore the mime type issue.  Does the
> requested URL
> end in .xml?  If not, IE may not recognize it as an xml file even with
> correct mime typing.
>
> Just a thought.
>
> --David
>
> On Tuesday 12 March 2002 09:35 pm, you wrote:
> > Hi, guys,
> >
> > I tried to write a XML format output using JSP, while I remember to set
> > contentType="text/xml" and write  in the head of
> > output. Then browsing my JSP in IE 5. What I saw is just text while is
> > outside of the tag, and the source is correct XML. How can I make IE
> > defaultly render XML?
> >
> > By the way,  has been set for XML.
> >
> > Thanks in advance.
> >
> > Juguang.
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


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




Re: XML output, I need help.

2002-03-13 Thread David Smith

This sounds like IE's old ignore the mime type issue.  Does the requested URL 
end in .xml?  If not, IE may not recognize it as an xml file even with 
correct mime typing.

Just a thought.

--David

On Tuesday 12 March 2002 09:35 pm, you wrote:
> Hi, guys,
>
> I tried to write a XML format output using JSP, while I remember to set
> contentType="text/xml" and write  in the head of
> output. Then browsing my JSP in IE 5. What I saw is just text while is
> outside of the tag, and the source is correct XML. How can I make IE
> defaultly render XML?
>
> By the way,  has been set for XML.
>
> Thanks in advance.
>
> Juguang.

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: XML output, I need help.

2002-03-13 Thread Neo Gigs

Any error messages?

- Original Message -
From: "Xiao Juguang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 7:00 PM
Subject: Re: XML output, I need help.


> yes, my code is correct.
>
> Richard's comment works. :)
>
> Just remind someone that clearing your cache or restarting Tomcat still
does
> great.
>
>
> - Original Message -
> From: "Neo Gigs" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 13, 2002 11:38 AM
> Subject: Re: XML output, I need help.
>
>
> > Did ur JSP codes correct? Try to post the codes for debugging purposes?
> >
> > - Original Message -
> > From: "Xiao Juguang" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 13, 2002 11:18 AM
> > Subject: Re: XML output, I need help.
> >
> >
> > > Let me clarify that I generate a XML, not HTML,  format output by JSP.
> > >
> > > IE should know the input is XML format, especially I specify the
> > > contentType.
> > >
> > > What is the problem? Is the problem on Tomcat side or IE side?
> > >
> > > - Original Message -
> > > From: "Neo Gigs" <[EMAIL PROTECTED]>
> > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, March 13, 2002 10:50 AM
> > > Subject: Re: XML output, I need help.
> > >
> > >
> > > > You should only display a XMl file by not running the XMl file, you
> need
> > > > either a parser of some form of stylesheet like XSLT to embed the
> output
> > > >
> > > > - Original Message -
> > > > From: "Xiao Juguang" <[EMAIL PROTECTED]>
> > > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, March 13, 2002 10:35 AM
> > > > Subject: XML output, I need help.
> > > >
> > > >
> > > > > Hi, guys,
> > > > >
> > > > > I tried to write a XML format output using JSP, while I remember
to
> > set
> > > > > contentType="text/xml" and write  in the
head
> of
> > > > > output. Then browsing my JSP in IE 5. What I saw is just text
while
> is
> > > > > outside of the tag, and the source is correct XML. How can I make
IE
> > > > > defaultly render XML?
> > > > >
> > > > > By the way,  has been set for XML.
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Juguang.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands:
> <mailto:[EMAIL PROTECTED]>
> > > > > Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > > > _
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > >
> > > >
> > > > --
> > > > To unsubscribe:
<mailto:[EMAIL PROTECTED]>
> > > > For additional commands:
<mailto:[EMAIL PROTECTED]>
> > > > Troubles with the list:
<mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > > For additional commands: <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
> > _
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Re: XML output, I need help.

2002-03-13 Thread Xiao Juguang

yes, my code is correct.

Richard's comment works. :)

Just remind someone that clearing your cache or restarting Tomcat still does
great.


- Original Message -
From: "Neo Gigs" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 11:38 AM
Subject: Re: XML output, I need help.


> Did ur JSP codes correct? Try to post the codes for debugging purposes?
>
> - Original Message -
> From: "Xiao Juguang" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 13, 2002 11:18 AM
> Subject: Re: XML output, I need help.
>
>
> > Let me clarify that I generate a XML, not HTML,  format output by JSP.
> >
> > IE should know the input is XML format, especially I specify the
> > contentType.
> >
> > What is the problem? Is the problem on Tomcat side or IE side?
> >
> > - Original Message -
> > From: "Neo Gigs" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 13, 2002 10:50 AM
> > Subject: Re: XML output, I need help.
> >
> >
> > > You should only display a XMl file by not running the XMl file, you
need
> > > either a parser of some form of stylesheet like XSLT to embed the
output
> > >
> > > - Original Message -
> > > From: "Xiao Juguang" <[EMAIL PROTECTED]>
> > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, March 13, 2002 10:35 AM
> > > Subject: XML output, I need help.
> > >
> > >
> > > > Hi, guys,
> > > >
> > > > I tried to write a XML format output using JSP, while I remember to
> set
> > > > contentType="text/xml" and write  in the head
of
> > > > output. Then browsing my JSP in IE 5. What I saw is just text while
is
> > > > outside of the tag, and the source is correct XML. How can I make IE
> > > > defaultly render XML?
> > > >
> > > > By the way,  has been set for XML.
> > > >
> > > > Thanks in advance.
> > > >
> > > > Juguang.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe:
<mailto:[EMAIL PROTECTED]>
> > > > For additional commands:
<mailto:[EMAIL PROTECTED]>
> > > > Troubles with the list:
<mailto:[EMAIL PROTECTED]>
> > >
> > >
> > > _
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > > For additional commands: <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


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




Re: XML output, I need help.

2002-03-12 Thread Richard

IE has some interesting issues involving XML.. I have seen instances where you need to 
close out IE and re-open it to view your XML.. Clicking refresh while holding the 
shift key will also complete a refresh.. If that fails try taking your source saving 
it to file (locally) as source.xml or something and then try and open it.. if you 
still have issues start editing the local file until it displays properly.. Also try 
upgrading to IE 6.0.. in earlier versions of IE I would sometimes have problems 
displaying xml that while formed correctly had hidden characters which for one reason 
or another prevented IE from displaying the xml in the tree structure you are 
expecting... IE 6 seems to be a lot more forgiving in this respect.. hope that helps.. 
Richard Haag
Sr. Technical Specialist
Credit Discovery
1-877-789-4976 x8009
[EMAIL PROTECTED]
  - Original Message - 
  From: Xiao Juguang 
  To: Tomcat Users List 
  Sent: Tuesday, March 12, 2002 7:18 PM
  Subject: Re: XML output, I need help.


  Let me clarify that I generate a XML, not HTML,  format output by JSP.

  IE should know the input is XML format, especially I specify the
  contentType.

  What is the problem? Is the problem on Tomcat side or IE side?

  - Original Message -
  From: "Neo Gigs" <[EMAIL PROTECTED]>
  To: "Tomcat Users List" <[EMAIL PROTECTED]>
  Sent: Wednesday, March 13, 2002 10:50 AM
  Subject: Re: XML output, I need help.


  > You should only display a XMl file by not running the XMl file, you need
  > either a parser of some form of stylesheet like XSLT to embed the output
  >
  > - Original Message -
  > From: "Xiao Juguang" <[EMAIL PROTECTED]>
  > To: "Tomcat Users List" <[EMAIL PROTECTED]>
  > Sent: Wednesday, March 13, 2002 10:35 AM
  > Subject: XML output, I need help.
  >
  >
  > > Hi, guys,
  > >
  > > I tried to write a XML format output using JSP, while I remember to set
  > > contentType="text/xml" and write  in the head of
  > > output. Then browsing my JSP in IE 5. What I saw is just text while is
  > > outside of the tag, and the source is correct XML. How can I make IE
  > > defaultly render XML?
  > >
  > > By the way,  has been set for XML.
  > >
  > > Thanks in advance.
  > >
  > > Juguang.
  > >
  > >
  > >
  > >
  > > --
  > > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
  > > For additional commands: <mailto:[EMAIL PROTECTED]>
  > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
  >
  >
  > _
  > Do You Yahoo!?
  > Get your free @yahoo.com address at http://mail.yahoo.com
  >
  >
  > --
  > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
  > For additional commands: <mailto:[EMAIL PROTECTED]>
  > Troubles with the list: <mailto:[EMAIL PROTECTED]>
  >


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





Re: XML output, I need help.

2002-03-12 Thread Neo Gigs

Did ur JSP codes correct? Try to post the codes for debugging purposes?

- Original Message -
From: "Xiao Juguang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 11:18 AM
Subject: Re: XML output, I need help.


> Let me clarify that I generate a XML, not HTML,  format output by JSP.
>
> IE should know the input is XML format, especially I specify the
> contentType.
>
> What is the problem? Is the problem on Tomcat side or IE side?
>
> - Original Message -
> From: "Neo Gigs" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 13, 2002 10:50 AM
> Subject: Re: XML output, I need help.
>
>
> > You should only display a XMl file by not running the XMl file, you need
> > either a parser of some form of stylesheet like XSLT to embed the output
> >
> > - Original Message -
> > From: "Xiao Juguang" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 13, 2002 10:35 AM
> > Subject: XML output, I need help.
> >
> >
> > > Hi, guys,
> > >
> > > I tried to write a XML format output using JSP, while I remember to
set
> > > contentType="text/xml" and write  in the head of
> > > output. Then browsing my JSP in IE 5. What I saw is just text while is
> > > outside of the tag, and the source is correct XML. How can I make IE
> > > defaultly render XML?
> > >
> > > By the way,  has been set for XML.
> > >
> > > Thanks in advance.
> > >
> > > Juguang.
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > > For additional commands: <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
> > _
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Re: XML output, I need help.

2002-03-12 Thread Xiao Juguang

Let me clarify that I generate a XML, not HTML,  format output by JSP.

IE should know the input is XML format, especially I specify the
contentType.

What is the problem? Is the problem on Tomcat side or IE side?

- Original Message -
From: "Neo Gigs" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 10:50 AM
Subject: Re: XML output, I need help.


> You should only display a XMl file by not running the XMl file, you need
> either a parser of some form of stylesheet like XSLT to embed the output
>
> - Original Message -
> From: "Xiao Juguang" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 13, 2002 10:35 AM
> Subject: XML output, I need help.
>
>
> > Hi, guys,
> >
> > I tried to write a XML format output using JSP, while I remember to set
> > contentType="text/xml" and write  in the head of
> > output. Then browsing my JSP in IE 5. What I saw is just text while is
> > outside of the tag, and the source is correct XML. How can I make IE
> > defaultly render XML?
> >
> > By the way,  has been set for XML.
> >
> > Thanks in advance.
> >
> > Juguang.
> >
> >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


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




Re: XML output, I need help.

2002-03-12 Thread Neo Gigs

You should only display a XMl file by not running the XMl file, you need
either a parser of some form of stylesheet like XSLT to embed the output

- Original Message -
From: "Xiao Juguang" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 10:35 AM
Subject: XML output, I need help.


> Hi, guys,
>
> I tried to write a XML format output using JSP, while I remember to set
> contentType="text/xml" and write  in the head of
> output. Then browsing my JSP in IE 5. What I saw is just text while is
> outside of the tag, and the source is correct XML. How can I make IE
> defaultly render XML?
>
> By the way,  has been set for XML.
>
> Thanks in advance.
>
> Juguang.
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




XML output, I need help.

2002-03-12 Thread Xiao Juguang

Hi, guys,

I tried to write a XML format output using JSP, while I remember to set
contentType="text/xml" and write  in the head of
output. Then browsing my JSP in IE 5. What I saw is just text while is
outside of the tag, and the source is correct XML. How can I make IE
defaultly render XML?

By the way,  has been set for XML.

Thanks in advance.

Juguang.




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




I need help with Tomcat and socket permission error.

2002-02-07 Thread DG Christensen

Hey all, I'm a Tomcat noob so please forgive any doofus terminology.  First
off: Tomcat 4.0 on Win2K Pro with Java 1.3.1, browser is Netscape 6.2.

I'm using Tomcat to build HTML pages from a Java app (duh).  For demo
purposes, I want to have the main web page to be able to start the app as
HTML or an applet (see my HTML file at bottom).  I know the applet is
running (when the page is loaded) because it's painting a button.  Pushing
the button causes my app to run but I get the following error:

java.security.AccessControlException: access denied
(java.net.SocketPermission DGPORT resolve)

OK, so I look through the doc and find something in the catalina.policy
file.  I tried adding permissions to catalina.policy (and starting Tomcat
with the -security option) but nothing changes.  I even tried give ALL
permissions to ALL apps by adding:

grant {
   blah blah blah
   permission java.security.AllPermission;
}

I tried setting "CATALINA_OPTS=-Djava.security.debug=all" to see if that
would give me any clues but I don't see any messages in the output that
contain the word "FAIL".

If I load the page straight from disk (bypassing Tomcat) the applet runs
fine, so I'm pretty sure it's Tomcat that's getting in the way.

Any clues would be mucho appreciated.  Thanks.
DG

HTML page:


  

VFA Item Database
  
  



Run VFA Item database as HTML:





To run ItemBase as a Java applet:
(requires Java Swing package)



  




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




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

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:   
For additional commands: 
Troubles with the list: 




I need help

2002-01-17 Thread Silvia Isabel Lozano Argel

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

Thanks a lot for your help

Silvia

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




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




i need help for mod_webapp/TCb7

2001-09-05 Thread Francis Lapique

Tomcat b7 + mod_webapp
How in apache do get numguess.jsp to be executed correctly?

http://mysite/examples/jsp/num/numguess.jsp 

Here my  apache_log 
2001-09-05 11:24:01 [org.apache.catalina.connector.warp.WarpConnection]
Exception on socket
java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:236)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:110)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:484)

Here is my webapp_module directives in httpd.conf:
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples  warpConnection  /examples
WebAppInfo /webapp-info

Here the  apache_log  when i restart apache server
apache_log.2001-09-05.txt 
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2242 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2243 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2244 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 WarpHost[empc19.epfl.ch]: Installing web application
at context path /examples from URL
file:/var/jakarta-tomcat-4.0-b7/webapps/examples
2001-09-05 11:20:55 WebappLoader[/examples]: Deploying class
repositories to work directory
/var/jakarta-tomcat-4.0-b7/work/empc19.epfl.ch/examples
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2245 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 StandardManager[/examples]: Seeding random number
generator class java.security.SecureRandom
2001-09-05 11:20:55 StandardManager[/examples]: Seeding of random number
generator has been completed
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2246 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2247 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2248 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 ContextConfig[/examples]: Added certificates ->
request attribute Valve
2001-09-05 11:20:55 ContextConfig[/examples]: Configured an
authenticator for method FORM
2001-09-05 11:20:55 ContextListener: contextInitialized()
2001-09-05 11:20:55 SessionListener: contextInitialized()
2001-09-05 11:20:55 ContextListener:
attributeReplaced('org.apache.catalina.WELCOME_FILES',
'[Ljava.lang.String;@3000e7')
2001-09-05 11:20:55 StandardWrapper[/examples:default]: Loading
container servlet default
2001-09-05 11:20:55 default: init
2001-09-05 11:20:55 StandardWrapper[/examples:invoker]: Loading
container servlet invoker
2001-09-05 11:20:55 invoker: init
2001-09-05 11:20:55 StandardWrapper[/examples:jsp]: Using Jasper
classloader for servlet jsp
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2249 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 jsp: init
2001-09-05 11:20:56 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2250 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:56 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2251 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:56 StandardWrapper[/examples:ssi]: Loading container
servlet ssi
2001-09-05 11:20:56 ssi: init
2001-09-05 11:20:56 StandardWrapper[/examples:cgi]: Loading container
servlet cgi
2001-09-05 11:20:56 cgi: init
2001-09-05 11:20:56 cgi: init: loglevel set to 6
2001-09-05 11:20:56
[org.apache.catalina.connector.warp.WarpConfigurationHandler] Filter
mappings (2)
22001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2242 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2243 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 [org.apache.catalina.connector.warp.WarpConnector]
Connection from localhost.localdomain/127.0.0.1:2244 to
localhost.localdomain/127.0.0.1:8008
2001-09-05 11:20:55 WarpHost[empc19.epfl.ch]: Installing web application
at context path /examples from URL
file:/var/jakarta-tomcat-4.0-b7/webapps/examples
2001-09-05 11:20:55 WebappLoader[/examples]: Deploying class
reposito

AW: I need help about sessions!

2001-08-02 Thread Ralph Einfeldt

Sorry, can't provide direct help, just some hints
that might help you to track this down:
 
- check that the servlets are in the same context
- redirect to a modified snoop servlet that logs some 
  additional attributes:
   request.getRequestedSessionId()
   request.isRequestedSessionIdValid()
   request.isRequestedSessionIdFromCookie()
   request.isRequestedSessionIdFromUrl()

> -Ursprüngliche Nachricht-
> Von: Loïc Lefèvre [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 2. August 2001 14:30
> An: Mailing List Tomcat
> Betreff: http://198.70.186.1/help.gif";
> onclick="alert('I need help about sessions!')" border=0>
> 
> 



Re:RE: I need help in tomcat configuration with Oracle 8.1.7

2001-07-05 Thread Jonathan Pierce

Tobias:

You need to use the newer thin client driver from Oracle classes12_01.zip with
the 8.1.7 release. If you are more specific with your problems, I can help you
further.

I recommend that you also switch to the 3.2.2 release. Notice however that the
3.2.2 uses a newer version of the Servlet API (2.2) so you may need to check
your code for deprecated 2.1 dependencies.

Jonathan ([EMAIL PROTECTED])



Reply Separator
Subject:RE: I need help in tomcat configuration with Oracle 8.1.7
Author: [EMAIL PROTECTED]
Date:   7/5/2001 9:45 PM

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-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 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 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 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 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 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
: 
: 
: 
: 
: 
: 
: 
: 
: 
: 
: 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
:  
: 

-- 
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 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 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
   

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 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 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 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
   


I need help in tomcat configuration with Oracle 8.1.7

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




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!!

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.zip  &  jakarta-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-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.zip  &  jakarta-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-06-15 Thread Luba Powell

Could it be that those packages have incompatible classes:
jakarta-tomcat-4.0-b5.zip  &  jakarta-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
>




I need help!!

2001-06-15 Thread Marc-andre Thibodeau


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(ApplicationFilterConfig.java:250)

at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.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 Rajashanin



Dear Narayanan
I have placed the JSP files and HTML files in 
the Web-apps folder and the and .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 placing them in the concerned folders, please do lemme 
know.
 
Thankyou
Regards
Rajashanin 


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 placing them in the concerned folders, please do lemme 
  know.
   
  Thankyou
  Regards
  Rajashanin 


I need help!!!

2001-02-02 Thread Rajashanin




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 placing them in the concerned folders, please do lemme 
know.
 
Thankyou
Regards
Rajashanin