Re: tomcat examples

2006-03-29 Thread Yoav Shapira
Hey,
Sorry for the late response on this, I've been swamped.

What's the consensus of the committers, are we in decent shape to do a
5.5.17 release?  I have time for it this weekend.  I will test the
.exe in 5.5.17 prior to uploading to make sure it's alright.

Yoav


On 3/20/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
  From: erha [mailto:[EMAIL PROTECTED]
  Subject: Re: tomcat examples
 
  Download the apache-tomcat-5.5.16.exe, install and run the service.
  Got this error immediately.

 You are correct - the 5.5.16 .exe is broken.  The .zip download (the one
 I normally use) is fine.  Looks like someone tried an ASCII mode FTP of
 some of the .class files, resulting in a linefeed byte being added at
 the end.  This was not a problem in 5.5.15.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.



--
Yoav Shapira
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

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



RE: tomcat examples

2006-03-20 Thread erha

Hi Chuck, 
 And below is the error from the log file for my case. Anybody 
 body know what is wrong ? 
 
 java.lang.ClassFormatError: Extra bytes at the end of class file 
 listeners/ContextListener 

As I stated before: that class file is bad.  It appears to be one you 
created, not from the Tomcat installation.  You need to recompile it or 
otherwise correct it. 

Sorry I am quite new with Tomcat/Java. 
But here is what I have done: 
Download the apache-tomcat-5.5.16.exe, install and run the service. 
Got this error immediately. 
Havent got chance to create any class yet. 

 - Chuck 

Rudy 

--
View this message in context: 
http://www.nabble.com/tomcat-examples-t1307951.html#a3493587
Sent from the Tomcat - User forum at Nabble.com.


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



Re: tomcat examples

2006-03-20 Thread Konstantin L Kouptsov



Hi Chuck,

And below is the error from the log file for my case. Anybody
body know what is wrong ?

java.lang.ClassFormatError: Extra bytes at the end of class file
listeners/ContextListener



As I stated before: that class file is bad.  It appears to be one you
created, not from the Tomcat installation.  You need to recompile it or
otherwise correct it.


Sorry I am quite new with Tomcat/Java.
But here is what I have done:
Download the apache-tomcat-5.5.16.exe, install and run the service.
Got this error immediately.
Havent got chance to create any class yet.



I did the same. Fresh install of Win XP, Tomcat-5.5.16 and everything 
else.


I had put some external example to webapps, and both jsp and servlets in 
it work fine. So, the problem is only with examples that come with 
Tomcat-5.5.16.


Konstantin.




- Chuck


Rudy


--
View this message in context: 
http://www.nabble.com/tomcat-examples-t1307951.html#a3493565
Sent from the Tomcat - User forum at Nabble.com.


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

2006-03-20 Thread erha

Thanks Chucks.

Will try to download the zip then.

Rudy
--
View this message in context: 
http://www.nabble.com/tomcat-examples-t1307951.html#a3505817
Sent from the Tomcat - User forum at Nabble.com.


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



RE: tomcat examples

2006-03-19 Thread Caldarale, Charles R
 From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED] 
 Subject: tomcat examples

 However, when I try to access JSP examples or servlet 
 examples in the left panel menu, I get a 404 page

Sounds like something in your installation failed to complete, or
perhaps you've got a file permissions problem.  If you're running Tomcat
as a service, does the account it's running under have access to all of
the directories in the installation path?  You might try looking at the
directory structure from the .zip download and make sure you've got
everything.

 Also, is there a way to have a non-default location 
 of the pages to be served (i.e. other than
 $CATALINA_HOME/webapps/ROOT/)?

RTFM:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html

In particular, look at the doc for Host and Context, and read the
Servlet spec.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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