[OT] photo album software for web site

2005-07-13 Thread epyonne
All,

Sorry about this off topic post, but I am looking for a couple free software 
for the pictures on my web sites. One is to display pictures as slide show, and 
the other one is to display pictures as thumbnails (clickable for full size). 
They must be able to run on UNIX server and do not require any database. 
Currently, I am using some Java applets but they are taking up too much 
desktop's resources to open up.

Any help will be very much appreciated.

epy


Re: Tomcat Training

2005-05-25 Thread epyonne
Since Tomcat is an open source application, no school has training class on
that. You can check into the Apache organization as they might have
something set up. But frankly, most people train by themselves. There are
some good books on Tomcat that you can buy and study.

Hope this helps.


- Original Message -
From: Tim Sodergren [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Monday, May 23, 2005 1:47 PM
Subject: Tomcat Training


 We would like to send one of our employees to some type of training for
 Tomcat administration. Does anyone have any suggestions on how to find
 reliable courses? We are located in Salt Lake City and prefer something
 local.


 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005



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



Re: development environment

2005-04-22 Thread epyonne
These are mine (just the two primary machines as I have too many to list
them all):

1. Laptop: Centrino, 512MB RAM, 80GB harddrive, 802.11g, Virtual PC with
Windows XP Pro and SUSE Linux, Teradata V2R5 database, Oracle 9.2 database,
Tomcat, Eclipse, Macromedia MX Suite.

2. Desktop: Dual 3.6-GHz Intel Xeon, 1GB 400-MHz DDR2 SDRAM, three 36GB
15,000-rpm SCSI drives in a RAID 5 array, Virtual PC with Windows 2003, SUSE
Linux, and Solaris 9 operating systems, Teradata V2R5 database, Oracle 9.2
and 10g databases, MySQL 4.1 database, MS SQL Server 2005, Ascential
DataStage, Informatica, JBOSS, Tomcat, Eclipse, JBuilder Enterprise, MS
Visual Studio.NET 2003, Macromedia MX Suite, and so on.

Epy.


- Original Message -
From: Patrick Lacson [EMAIL PROTECTED]
To: Tomcat User-List tomcat-user@jakarta.apache.org
Sent: Friday, April 22, 2005 3:46 PM
Subject: development environment


hi All,

I'm curious to what everyone's dev environment looks like.  Here's mine:

hardware
Penium IV 2.0Ghz / 1GB Ram

OS
Windows XP Pro

IDE / Tools
Eclipse 3.x / Emacs

--
Patrick

-
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: Version control tool

2005-02-07 Thread epyonne
VCS is open source and is very good. Do a search on sourceforge.net.

Thanks.


- Original Message - 
From: John Najarian [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, February 07, 2005 09:24 AM
Subject: OT: Version control tool


 Does anyone know a good version control tool for code management that is
free?

 Also, a bug tracking application would be nice also.

 These need to be run on Windows.

 Thanks

 -
 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: Java / Tomcat Job Abroad

2005-02-02 Thread epyonne
Sorry to say that, but as long as you are letting the Socialists to run your
country, it will never change.


- Original Message - 
From: [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, February 02, 2005 09:48 AM
Subject: Re: Java / Tomcat Job Abroad


 I am Canadian, living down in the US now. If you are lucky enough to find
a
 job in Canada it will be for half the pay and the govt will take the rest.
 It will be better down here in the US until us Canadians pull our heads
out
 and make it more like the US in the economy.

 Phillip Qin wrote:
  You will be disappointed if you immigrate to Canada. You will end up
with
  driving a cab in best case senario.
 
  -Original Message-
  From: Aris Javier [mailto:[EMAIL PROTECTED]
  Sent: February 2, 2005 12:25 AM
  To: Tomcat Users List
  Subject: RE: Java / Tomcat Job Abroad
 
 
  Thanks Rhino for info.
 
  Yeah, big adjustment in climate...
  but that's one sacrifice I'm willing to take to make a living.
 
  =)
 
  -Original Message-
  From: Rhino [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 02, 2005 1:13 PM
  To: Tomcat Users List
  Subject: Re: Java / Tomcat Job Abroad
 
  I think you'll find that there are Java jobs in Canada. I've seen some
at
  monster.ca and workopolis.ca. I don't know about Tomcat jobs; I've never
  looked for Tomcat jobs.
 
  I hope you like living in large cities in a climate that is sometimes
  miserable (-40C in winter in Winnipeg for example) ;-)
 
  Rhino

 -
 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: [OT] Advertising website

2005-01-28 Thread epyonne
Well, our company has to hire a marketing guru to promote our web site. She
is supposed to be an expert in tweaking Google. That tells you there is no
such thing as easy and cheap.


- Original Message - 
From: Peter Crowther [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, January 28, 2005 10:09 AM
Subject: RE: [OT] Advertising website


 From: t t [mailto:[EMAIL PROTECTED]
 Does anyone know a easy and cheap (even free) way to
 advertise a website?

No effective ones.  To paraphrase: You can have any two of effective,
easy, and cheap.

Banner exchanges are easy and cheap, but are (usually) not effective.

Search engine listings might be effective, but are neither cheap nor
easy.

Adverts ditto.

Getting arrested for something spectacular and trying to warp the press
coverage to your Web site is all-too-easy, possibly effective, but
unlikely to be cheap.

Etc.

- Peter

-
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: [OT] Advertising website

2005-01-28 Thread epyonne
I am sure this can be done programmatically.


- Original Message - 
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, January 28, 2005 11:23 AM
Subject: Re: [OT] Advertising website


 Go read Google. They tell you what they look for. One thing is links from
 other pages. It helps to legitimize your site. So if you can get a bunch
of
 others to put up links to yours it helps.

 Ever make you wonder how some of these companies do their magic?

 Doug

 - Original Message - 
 From: Anil Philip [EMAIL PROTECTED]
 To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
 Sent: Friday, January 28, 2005 12:19 PM
 Subject: RE: [OT] Advertising website


 I wonder how page ratings can be improved - how to make your website pop
up
  to the top in a google search. Is there a trick, or should one simply
have
  many links to the website from other web pages.
  -
  Anil Philip
 
  -Original Message-
  From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
  Sent: Friday, January 28, 2005 11:09 AM
  To: Tomcat Users List
  Subject: Re: [OT] Advertising website
 
  SEO companies feed you a bunch of bologni (one of the recent scames
IMHO),
  don't waste your money
  you can read up on it their self
 
  http://www.google.com/webmasters/
 
  Filip
 
  - Original Message - 
  From: Didier McGillis [EMAIL PROTECTED]
  To: tomcat-user@jakarta.apache.org
  Sent: Friday, January 28, 2005 10:57 AM
  Subject: RE: [OT] Advertising website
 
 
  If your serious about this then there is no cheap and easy way.  SEO
  companies get a pretty penny to do their work, and it works and results
  are
  pretty good.  They can also give you other avenues, and the good ones
will
  work within your budget.
 
  Otherwise you will have to hire someone, it is a full time job to keep
on
  track and on top of everything.
 
  Some suggestions if you arent hiring.  Label everything out-going with
  your
 
  url and email address.  EVERYTHING  Invoices, emails, packages,
  letterhead, employees (opps), stamps, business cards, catalogs.
  EVERYTHING.
 
   Hit the big three in the search engines/directories.  Almost everyone
  else
 
  uses them for their results.  Google, Inktomi/Yahoo and MSN.  Worry
about
  those three, find out how to work those guys.
 
 From: t t [EMAIL PROTECTED]
 Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
 To: Tomcat Users List tomcat-user@jakarta.apache.org
 Subject: [OT] Advertising website
 Date: Fri, 28 Jan 2005 08:04:57 -0800 (PST)
 
 Hi,
 
 Does anyone know a easy and cheap (even free) way to advertise a
website?
 Thanks.
 
 T.T.
 
 
 
 
 
 -
 Do you Yahoo!?
   Yahoo! Search presents - Jib Jab's 'Second Term'
 
 
 
  -
  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]
 
 
  -
  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]



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



Re: Preventing directory listings in WebApplication

2005-01-10 Thread epyonne
There are two ways to do that:
1. Turn off the directory listing in one of the configuration file. But I
cannot remember which one off the top of my head.
2. Put an index.jsp with a generic message in each folder.

Hope this helps.


- Original Message - 
From: Paul Taylor [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 10, 2005 08:21 AM
Subject: Preventing directory listings in WebApplication


 Hi
 How exactly do I stop the user going into directory containing jsps and
 listing all the jsps within it as a directory listing. I dont mind them
 specifying a particular jsp and going straight to that but I would / to
 map to the default page for the particular some section.

 i.e
 myapp/section1
 i want go to myapp/section1/start.jsp

 myapp/section2
 i want go to myapp/section2/start.jsp

  I guess its something to do with mappings the applications in web.xml
 but I cant get it working.


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



[OT]web development fee

2005-01-05 Thread epyonne
Sorry if this is a little off topic. I have been developing Java web
application for my employer for a while, but these are all running on our
company's intranet only. Now someone is asking me to develop an eCommerce
site. I don't know how to charge him. Can someone please give me some ideas
of the going rate and what kind of contractual agreement I need? Is there
anything else I need to watch out for? I plan to use a commercial hosting
company to host the site.

Any help will be very much appreciated.


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



RE: [OT]web development fee

2005-01-05 Thread epyonne
I am in the United States. Thanks.


-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 6:54 AM
To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org
Subject: RE: [OT]web development fee

What country are you based in?

Original Message Follows
From: epyonne [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Subject: [OT]web development fee
Date: Wed, 5 Jan 2005 06:51:50 -0600

Sorry if this is a little off topic. I have been developing Java web
application for my employer for a while, but these are all running on our
company's intranet only. Now someone is asking me to develop an eCommerce
site. I don't know how to charge him. Can someone please give me some ideas
of the going rate and what kind of contractual agreement I need? Is there
anything else I need to watch out for? I plan to use a commercial hosting
company to host the site.

Any help will be very much appreciated.


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


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



[OT]web development fee

2005-01-05 Thread epyonne
Since I am using Outlook Express, I did not realize that I was attaching to 
someone else thread and I apologize for that. I am starting a new thread here 
and hopefully someone can help me.

I have been developing Java web application for my employer for a few years, 
but these are all running on our company's intranet only. Now someone is asking 
me to develop an eCommerce site. I don't know how to charge him. Can someone 
please give me some ideas of the going rate and what kind of contractual 
agreement I need? Is there anything else I need to watch out for?

I am in the United States and I plan to use a commercial hosting company to 
host the site. It will cost around $30-40 a month.

Any help will be very much appreciated.


Re: [OT]web development fee

2005-01-05 Thread epyonne
Daniel,

Thanks for the response. No, what I develop for my employer is not eCommerce
related. They are mostly for internal processing. Some of my web application
are used by our call centers.

Among the 3 options that you have stated, I think I will go with either #1
or #3. If I go with #3, do you know where I can find such application?

Also, can you tell me what is the going rate for a contract job like this?
$50/hr, $100/hr, or more? I don't have any idea at all.

Thank you very much for your help and all the other posters' help!


- Original Message - 
From: Daniel Watrous [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January 05, 2005 10:00 AM
Subject: Re: [OT]web development fee


 Epyonne,

 First off, I don't think that you hijacked anyone's thread, but this list
 seems to be very sensitive to that (and perhaps more affected by it than
 other lists I have seen).

 From my experience there are a couple of options you can pursue:
 1) You could build the application from the ground up and charge an hourly
 rate.  The rate will have to be agreed upon by you and the person
 contracting you.
 2) You could develop the eCommerce application at your own cost and sell a
 license to it.  In this case you would have more direct control over the
 features you build into it.  Also, while this costs you more up front
there
 is more possibility to recover the cost in selling multiple licenses.
 3) You could purchase a license to an existing application and adapt it to
 meet your clients' needs.  In this case you would likely charge a flat fee
 to recover your hard costs for the purchase and an hourly after that for
any
 adaptations.  In this case I personally would ask for the hard costs up
 front so as to not go to the expense and then have the client change
his/her
 mind.

 Now about the way you asked your question, I'm not sure if the web
 application you have developed for your employer is an eCommerce
 application.  In the event that it is eCommerce related you will likely
use
 that as a base for whatever you build for your new client.  In this case
you
 should discuss with your employer how he feels about you building off of a
 code base that he has funded.  It may be that you could work out an
 arrangement with your employer to accomplish option 3 above, and that your
 employer will give you a license at a significant savings to you.

 As far as contracts go,  you should probably consult with a lawyer for
that.

 Daniel

 - Original Message - 
 From: epyonne [EMAIL PROTECTED]
 To: Tomcat Users List tomcat-user@jakarta.apache.org
 Sent: Wednesday, January 05, 2005 7:26 AM
 Subject: [OT]web development fee


 Since I am using Outlook Express, I did not realize that I was attaching
to
 someone else thread and I apologize for that. I am starting a new thread
 here and hopefully someone can help me.

 I have been developing Java web application for my employer for a few
years,
 but these are all running on our company's intranet only. Now someone is
 asking me to develop an eCommerce site. I don't know how to charge him.
Can
 someone please give me some ideas of the going rate and what kind of
 contractual agreement I need? Is there anything else I need to watch out
 for?

 I am in the United States and I plan to use a commercial hosting company
to
 host the site. It will cost around $30-40 a month.

 Any help will be very much appreciated.

 -
 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: can any one suggest me port number! 8080 is already used by Oracle9i's http server

2004-11-06 Thread epyonne
Just pick any other 4 digit number. You don't have to use 8080.


-Original Message-
From: Raasi Potluri [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 06, 2004 6:38 PM
To: [EMAIL PROTECTED]
Subject: can any one suggest me port number! 8080 is already used by
Oracle9i's http server

Dear Friends, Many thanks to read this email. well I
have installed Oracle 9i database on my PC and it has
got its own Apache Http server at port 8080, by
default. Now I'm trying to install Tomcat5.0.28
version and installation process gives me port number
conflict please tell me what shall I do, anybody
suggest me any other port number where I can install
Tomcat bcoz i dont want to amend the oracle's usage of
port 8080, regards, Raasi, 



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.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 vs BEA Weblogic?

2004-09-19 Thread epyonne
JBOSS is as good as any EJB container out there on the market, if not
better. The only different is support. You have to pay BEA a small fortune
for support and they will help you every step of the way. On the other hand,
if you use JBOSS, you are pretty much on your own. Although you can hire the
JBOSS consulting team to assist you, but you have to have a team of
developers/admin in-house who are very knowledgeable and know what they are
doing.

Hope this helps.



-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 19, 2004 6:32 PM
To: Tomcat Users List
Subject: Tomcat vs BEA Weblogic?

I am taking over a project that's running on Weblogic 8.1 SP3 today.. They
are only using 
the jsp-container and it is time to renew the support agreement with BEA.
So I was just wondering, is it worth it? Or is Tomcat as good as WL or maybe
better? Does 
WL have features that is missing in Tomcat? When the time comes to use EJB,
is JBoss as 
good as/better than WL?

So basically, I would like some advice on why I should/shouldn't continue
with Weblogic? :)



Regards,

BTJ
-- 

---
Bjørn T Johansen
[EMAIL PROTECTED]


---
Someone wrote:
I understand that if you play a Windows CD backwards you hear strange
Satanic messages
To which someone replied:
It's even worse than that; play it forwards and it installs Windows

---

-
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: Eclipse users list/mail group

2004-07-27 Thread epyonne
Have you tried www.eclipse.org?  They have several newsgroups there.


- Original Message - 
From: Sternbergh, Cornell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 09:31 AM
Subject: OT: Eclipse users list/mail group


Hi

First, my apologies for being off-topic.

I've been searching eclipse.org for list/forum/group/whatever, for
simple users of Eclipse, not developers, without success.

Anybody know such a source?

TIA
Cornell

-
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: OT? Netbeans v Eclipse v Visual Age for Java

2004-07-07 Thread epyonne
I have not used NetBean but my colleagues do. It is very different from
Eclipse. Personally, I prefer Eclipse over NetBean.



- Original Message - 
From: Sternbergh, Cornell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 11:49 AM
Subject: OT? Netbeans v Eclipse v Visual Age for Java


Hi

Saw the references to Eclipes, and then Netbeans.  I know that this may
be a bit off topic, please forgive me...

We use Visual Age for Java (VAJ) at work, with Websphere app server and
Domino HTTP server (don't ask why;-).  I'm planning on using
Tomcat/Eclipse at home as an exercise for the student.  I'd like the IDE
to be similar to VAJ, so my experience is more useful at work.

What about Netbeans, is it similar enough to VAJ or Eclipse that what I
learn from it will be applicable?  As far as programming in Java is
concerned, any number of things could be used.  I'd like to have project
structure, HTML/JSP/Java file storage, packaging, deploying, etc. to be
fairly similar.  As well as basic debugging techniques.

Thank you for your patience
Cornell Sternbergh




-Original Message-
From: Kunthar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 05, 2004 05:27
To: Tomcat Users List
Subject: Re: Sysdeo, Eclipse, Tomcat


A better way to test JSP's at runtime is using Netbeans.
To do this, you should have total control over your server as
root/admin.
1. Install Netbeans to server. www.netbeans.org
2. Installation of Tomcat + Ant (necessary jars + Apache httpd etc.)
should be ready.
3. When you run Netbeans from your Linux client woila, you got Netbeans
working on your
local comp by strong Xserver abilities. If you sadly use Windoze try VNC
Server-Client and do not call me :=)
4. Since Netbeans has its own HTTP Monitor you can see all passing
parameters to Tomcat. This is quite good.
5. You can add break points, evaluate values and see whats up really at
runtime as you do in other IDEs.
6. Eclipse is good but as far as i compare Netbeans, Eclipse and
IntelliJ, Netbeans hits.

Final Note: 90% percent of the compilation errors are arising from the
ignorance of programmer.
Sometimes it is better to spend time for reading then spend time for
trying to find a good debugger.
I was using holly Homesite before i totally moved to Linux several days
ago :=)

Take care all,

Gokhan



Harry Mantheakis wrote:

Hello




Should I be able to set a breakpoint normally in a servlet?




Yes, as long as you have started Tomcat using the Sysdeo plugin (from
within
Eclipse).




How do I set a breakpoint in JSP?




AFAIK that is not possible, at least not with the Sysdeo plugin.
Something
like the 'MyEclipse' plugin might be able to help you there, though
that is
a commercial plugin which you can test for a month or so.




Where is my source (and binaries) supposed to be?




Source can be anywhere you like - as long as Eclipse knows where it is,
and
can compile your project, the (servlet and object) debugging will work.

Binaries go in WEB-INF/classes. It is safer to *package* your classes,
BTW.

I cannot help with the other two miscellaneous questions, though I do
not
think you need be concerned with the Tomcat 'base' attribute if you
have a
simple setup, and again, to begin with at least, I do not think you
need be
concerned with JVM settings. (There are several JVM settings that you
have
to consider on a production server, but that is another story.)

My solution to debugging JSPs is not to put any code in them at all (!)

I do everything with custom tags, which of course, are just objects
that can
debugged in the usual way.

Good luck!

Harry Mantheakis
London, UK




I am trying to figure out how to debug servlets and JSPs. I am running
Windows ME,
Tomcat 5.0, Eclipse 2.1.3, and Sysdeo Tomcat Plugin 3.0.0.alpha1.

So, how should Sysdeo be set up?

Should I be able to set a breakpoint normally in a servlet?

How do I set a breakpoint in JSP?

Where is my soruce (and binaries) supposed to be?

Miscellaneous questions:

1. What is Tomcat base? (Preferences/Tomcat)
2. Any JVM settings needed? (Preferences/Tomcat/JVM settings)

Thanks for your help. I have already tried to find a tutorial on the
Web,
but nothing has helped.




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






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


-
To unsubscribe, e-mail: [EMAIL 

RE: What is the latest version of Tomcat ?

2004-06-10 Thread epyonne
As a general rule of thumb, you should go with the stable release and not
any alpha or beta version, for production jobs.

I am still using version 4.1.24 and I am very happy with it. Version 5
should be very stable by now. You should go to the Jakarta site to find out
what is the latest stable release.

Hope this helps.



-Original Message-
From: Ben Bookey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 10, 2004 10:17 AM
To: Tomcat User List
Subject: What is the latest version of Tomcat ?

Dear List,

On 9th May 2004 - Tomcat 5.0.24 Stable was released. 

Which version would you all recomend for a critical commercial product ?

regards

Ben

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

2004-03-12 Thread epyonne
Correct me if I am wrong.  If you registered a domain, you ARE the owner.  A
hosting company simply lets you park your domain at their company in order
to host your web site.  You can move it to any other hosting company as long
as you don't have any long term contract that forbids that.


- Original Message -
From: Graham Reeds [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 07:06 AM
Subject: Re: Java Hosting


  Don't know, sorry. I have my domain name from a different company
  entirely. I could find out easily enough, but what's the difference?

 The difference is that if I don't like the hosting and decide to go
 elsewhere or start my own hosting of the domain I can ask that that they
 change the DNS accordingly.  However if they actually own the domain for
the
 purposes of hosting my website they can decide not to relinquish the
domain
 or charge a fortune for it (technically referred to as 'shafting you').
 I've emailed them asking to clarify and also asked for the response to be
 sent to my home address so I won't be able to inform this list until
monday.

 I am hoping it is the former as a tenner is good value for money.
Currently
 I am with http://easily.co.uk and wished I read the small print and not
just
 gone with a recommendation from a friend.

 G.


 -
 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: Deploying a simple servlet

2004-03-02 Thread epyonne
Usually the problem is on your deployment descriptor.  Double-check it or
post it for help.

Thanks.


- Original Message -
From: Leydhershnayder, Leon A. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 10:44 AM
Subject: Deploying a simple servlet


 I'm new to tomcat and am trying to run a very simple hello world type of
 servlet.  I've configured the web.xml to mimic a similar servlet in tomcat
 examples.  Still while all the example servlets from tomcat work mine
fails
 to run.

 I receive the following message:

 HTTP Status 404 - /MyApp/servlet/Testing

 I would greatly appreciate any advice.


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

2004-02-20 Thread epyonne
That's what we use.


- Original Message -
From: David Evans [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, February 20, 2004 02:02 PM
Subject: RE: Logging


 So is log4j the industry standard for logging in tomcat apps? Is it
 what you use?

 dave


 On Fri, 2004-02-20 at 13:54, Shapira, Yoav wrote:
  Howdy,
 
  No, I am doing it through log4j.  But would it interested in knowing
  anyone
  using J2SE 1.5.0 beta logging API.  Heard it's the same as log4j in
  principle.
 
  No significant changes were made to the java.util.logging API in J2SE
  1.5.  The API is largely the same as in JDK 1.4.  And yes, it's very
  similar to log4j in principle, not by coincidence, as large parts of it
  were inspired by log4j ;)  Which IMHO is still superior, even for log4j
  1.2.x.  Log4j 1.3 which will have an Alpha release once Ceki is back
  will blow both our of the water.
 
  Yoav Shapira
 
 
 
  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]
 


 -
 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: [ot] why tomcat is called tomcat?

2004-02-06 Thread epyonne
 What do people outside of computer world think of the name 'tomcat'?  Like
 someone who doesn't know what it does and just hear a bunch of his
computer
 friends:0 talking about it.  I am asking mostly in terms of marketing.
For
 example, most of people on this list would think Apache sounds much better
than
 IIS.


Tomcat is also the nickname of the US Naval fighter jet, it can't be any
cooler than that.  =)  I like the name Apache, but I don't like the name
Jakarta.

Just my $0.02.

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



Re: How to use MSSQL

2004-01-30 Thread epyonne
Use the Type 4 JDBC driver for SQL Server and you will be fine.  You didn't
mention what version you are using.  My suggestion is to stay away from
anything older than SQL Server 2000.

One more thing.  Be sure to check with Microsoft on the upgrade plan to the
SQL Server Yukon which is coming out later this year.  Planning ahead will
save yourself a lot of grief down the road.

Hope this helps.


- Original Message -
From: Phil Cox [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 30, 2004 10:10 AM
Subject: How to use MSSQL


 I am new to tomcat, and was trying to find info on using MSSQL as a
 datasource. Any pointers?

 Thanks

 Phil
 
 SystemExperts Corporation
 Philip C. Cox, Consultant

 +1 (888) 749-9800 (Corp HQ, toll free, USA only)
 +1 (530) 887-9251 (main)
 +1 (530) 887-9253 (fax)
 http://www.SystemExperts.com/

 Author of Windows 2000 Security Handbook
 http://www.systemexperts.com/win2k.html



 -
 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: newbie needing help seting up sql database

2004-01-29 Thread epyonne
MySQL does not need a home system variable.  Download the Control Center
from MySQL web site, it will help you a lot on the setup.


- Original Message -
From: FRANCOIS Dufour [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 08:21 AM
Subject: newbie needing help seting up sql database


 if sql is in c:/mysql whatt should i rite down there sorry im french and
im
 having a bad time understanding those computer terms
 do i have to add sql_ home?
 tanks in advance
 Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
  driverName=org.gjt.mm.mysql.Driver

 connectionURL=jdbc:mysql://localhost/authority?user=tred;password=treat
   userTable=users userNameCol=user_name
 userCredCol=user_pass
   userRoleTable=user_roles roleNameCol=role_name /
   --

   !--
   Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
  driverName=oracle.jdbc.driver.OracleDriver


connectionURL=jdbc:oracle:thin:@ntserver:1521:ORCL?user=papier;password=cul

   userTable=users userNameCol=user_name
 userCredCol=user_pass
   userRoleTable=user_roles roleNameCol=role_name /
   --


 [EMAIL PROTECTED]
 crazy-wilys webmaster





 From: Tim Funk [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Reading text file in classpath and web app
 Date: Thu, 29 Jan 2004 09:12:20 -0500
 
 How does it open the file? The solution  might be as easy as dropping the
 config file in WEB-INF/classes/(optional package heirarchy)
 
 -Tim
 
 Andi Reinbrech wrote:
 
 Hi, I have an Axis web application, which calls a 3rd party API.
 
 This API opens up a text file, emapi.cfg, which needs to be a) on the
 CLASSPATH and b) readable.  I know web apps aren't supposed to open IO
 files, but this is unfortunately something I can't do anything about, as
 Iona Orbix/CORBA insists on this config file.
 
 I eventually got it working with the Tomcat shipped with the JWSDP1-3,
 after
 putting the text file in the bin\ directory, but this does not work for
 Tomcat 5.
 
 I have changed Tomcat's setclasspath.bat to include the path to this
file,
 but it keeps on exiting with a
 java.lang.reflect.InvocationTargetException.
 Tomcat 5 ALWAYS gives this stupid exception.  The older version of
Tomcat
 with JWSDP1-3 at least gave the exception description.
 
 I have no idea where to start looking -  I have:
 
 1) Changed the .policy file
 2) Copied emapi.cfg *everywere*, bin\, WEB-INF, classes, common, shared,
 lib, endorsed and nothing works
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 _
 MSN Messenger : discutez en direct avec vos amis !
 http://messenger.fr.msn.ca/


 -
 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: SQLPLUS and TOMCAT conflict?

2004-01-12 Thread epyonne
Port 8080 is the default port for many different application.  Oracle HTTP
server is one of them.  Therefore, it is not a good idea to use the default
8080 for your Tomcat installation.  You can always change it in the
server.xml file yourself.


- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 12, 2004 08:26 AM
Subject: SQLPLUS and TOMCAT conflict?


 Hi All,

 I earlier did install Tomcat 5.0 but soon found out that i
 wasnt able to work with SQL PLUS. Everytime i try to login
 into SQL Plus i get the error message ORA 12571 : Tns
 packet writer failure.

 Since i didnt find any effective solution to avoid this
 problem, I soon had to uninstall the OS itself to enable me
 to work in SQL Plus.
 :-(

 Soon I came to know that both these applications use the
 same port-number 8080, so this conflict makes SQL Plus
 inoperable.

 Is there any way through which I can change the port-number
 of Apache, so that I can work in both these applications
 without any problems?

 Please help.

 -
 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 4.1.29 versus Tomcat 5

2004-01-12 Thread epyonne
As a general rule of thumb, version X.0 always has some problem.  You have
to wait till version X.1 or X.2 to have most of the bugs fixed.


- Original Message -
From: Daniel Gibby [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 12, 2004 03:06 PM
Subject: Re: Tomcat 4.1.29 versus Tomcat 5


 Sorry about that last reply that had no message body..
 Anyway, what about reliability, do you people who use the later versions
 of 5.0.x find it as reliable as 4.1.x?

 Thanks,

 Daniel Gibby

 Remy Maucherat wrote:

  Daniel Gibby wrote:
 
  Does anyone have a synopsis of reasons to move to or not to move to
  Tomcat 5 from tomcat 4?
 
  I've seen various reasons that moving will be beneficial, including
  better session-replication support, and manager application
  improvements, but how does 5.0 stand up as far as reliability is
  concerned? I'm usually a little gun-shy at upgrading to anything
  until most of the bugs are worked out. It could cost me thousands of
  dollars a day to have my web apps be down.
 
 
  First, you have to make sure your webapps run. You never know.
 
  Then, TC 5 vs 4.1.29:
  - is faster and generally more optimized
  - has nice server monitoring
  - has plenty of cleanups and small refactorings, to fix some of the
  more complex 4.1.x bugs
  - has JSP 2.0 (you may not care, but JSPs are actually nice now)
 
  Note: 4.1.29 and 5.0.16 use the same connectors, so reliability of the
  HTTP (or AJP) handling will be identical.
 


 -
 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 5.0.16 in XP Profesional

2004-01-07 Thread epyonne
Yes, environmental variables are still necessary in XP.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 09:19 PM
Subject: Tomcat 5.0.16 in XP Profesional


 Dear all,
 I have install  Tomcat 5.0.16 in my XP Professional with JVM1.4_02

 I wonder, do i need to set the JAVA_HOME and CATALINA_HOME in the
 Global Environment Setting ?

 I know i have to do this at Win98 or Wind95, but not sure is it necessary
 to do it in XP or more higher OS version?

 This is because i have this error when i am trying to run Eclipse with my
 Tomcat,. I got this error,

  } catch (Throwable t) {
  if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null  out.getBufferSize() != 0)
  out.clearBuffer();
   if (pageContext != null) pageContext.handlePageException(t);
  }
} finally {
  if (_jspxFactory != null)
 _jspxFactory.releasePageContext(pageContext);
}

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



Re: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread epyonne
As the other posters pointed out, you are pointing the variable to your
source code which is wrong.  I seriously doubt that you installed Tomcat on
a directory called jakarta-tomcat-5.0.16-src.  You need to check your
installation.


- Original Message -
From: Jason Roscoe [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 08:51 AM
Subject: RE: Tomcat 5.0.16 in XP Profesional



 I don't have a directory that has all those in it, this is Tomcat 5, not
 sure that makes a difference or not.  The directories I have are:

 jakarta-tomcat-5.0.16-src\
 jakarta-servletapi-5\
 jakarta-tomcat-catlina\
 jakarta-tomcat-connectors\
 jakarta-tomcat-jasper\

 -Original Message-
 From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 07, 2004 9:46 AM
 To: Tomcat Users List
 Subject: RE: Tomcat 5.0.16 in XP Profesional


 The value CATALINA_HOME doesn't sound valid.

 CATALINA_HOME should point to the directory that
 contains typically something like:

 bin
 webapps
 lib
 server
 conf
 common
 logs
 work
 classes

  -Original Message-
  From: Jason Roscoe [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, January 07, 2004 3:35 PM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat 5.0.16 in XP Profesional
 
  JAVA_HOME: E:\j2sdk_nb\j2sdk1.4.2
  CATALINA_HOME:
  E:\jakarta-tomcat-5.0.16-src\jakarta-tomcat-catalina\catalina\src
 
  Can someone help me???
 

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



 __
 Disclaimer: This e-mail message is intended only for the personal use of
 the recipient(s) named above.  If you are not an intended recipient, you
 may not review, copy or distribute this message. If you have received this
 communication in error, please notify us immediately by e-mail and delete
 the original message.
 This e-mail expresses views only of the sender, which are not to be
 attributed to Rite Aid Corporation and may not be copied or distributed
 without this statement.

 -
 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 5 mailing list

2004-01-07 Thread epyonne
That's because Tomcat 5 (release version) is very new and most people are
still using Tomcat 4.x in production.  It does not pay to be in the
bleeding edge in the production environment.

As time goes by, the posts will shift from mainly version 4 to mainly
version 5.  If you have a question or problem on Tomcat 5, I am sure the
gurus here can help you out.


- Original Message -
From: Mark W. Webb [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 12:38 PM
Subject: tomcat 5 mailing list


 Is there a tomcat 5-specific mailing list?  It seems that most of the
 mail deals with tomcat 4.


 thanks


 -
 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: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread epyonne
Just allow Tomcat to access the internet.


- Original Message - 
From: Riaan Oberholzer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 29, 2003 01:14 PM
Subject: [Q] Tomcat  ZoneAlarm?


 This is not a Tomcat issue, but I've tried desperately
 and could find no answer elsewhere... can someone
 please tell me how to get Tomcat working with
 ZoneAlarm (free version) as firewall?
 
 
 __
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing.
 http://photos.yahoo.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: [Q] Tomcat ZoneAlarm?

2003-12-29 Thread epyonne
I am using ZoneAlarm Pro at home and I don't have any problem with Tomcat.
I don't know if the free version has this feature or not.  You can set
ZoneAlarm to the learning mode.  That means ZA will allow the application
or program that you install to perform its function.  Then you can scale
back afterward.



- Original Message -
From: Riaan Oberholzer [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 29, 2003 01:40 PM
Subject: Re: [Q] Tomcat  ZoneAlarm?


 It doesn't work... I get a The page cannot be
 displayed.

 I try to access it using http://x.x.x.x:8080/; where
 x.x.x.x is my ip number.

 I can ping the IP number, so the server is alive... I
 just can't access Tomcat on it.


 --- epyonne [EMAIL PROTECTED] wrote:
  Just allow Tomcat to access the internet.
 
 
  - Original Message -
  From: Riaan Oberholzer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, December 29, 2003 01:14 PM
  Subject: [Q] Tomcat  ZoneAlarm?
 
 
   This is not a Tomcat issue, but I've tried
  desperately
   and could find no answer elsewhere... can someone
   please tell me how to get Tomcat working with
   ZoneAlarm (free version) as firewall?
  
  
   __
   Do you Yahoo!?
   New Yahoo! Photos - easier uploading and sharing.
   http://photos.yahoo.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]
 


 __
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing.
 http://photos.yahoo.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: Image Viewing

2003-12-11 Thread epyonne
Kiran,

Yoav is right.  The best way is to hide your files inside WEB-INF.  You are
contradicting yourself by saying you don't want people to access the images
thru URL, but then you want to access those images yourself thru URL.  You
are not making sense and it is very bad design architecture.

I am guessing your intention is to maintain the images, is that right?  If
true, you can always set yourself up as the admin to the server, then access
it thru VPN, FTP, or some sort of remote access.

Futhermore, you can always set up an administration module to your
application for maintenance purpose, which is the preferred way.

Hope this helps.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 12:29 PM
Subject: RE: Image Viewing



Howdy,
You asked how to block the user from seeing the images by putting the
address in the browser.  I told you one possible way, e.g. by putting
them under WEB-INF.  You can still access them from your servlets and
JSPs from this location, but users can't.  What part is unclear?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kiran Patel [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 1:28 PM
To: [EMAIL PROTECTED]
Subject: Image Viewing

Thank you for the replay and your help.  If I move the images under
WEB-INF
folder, I can't access the images from the application through the
internet.  The images can only be viewed if you login and start the
application not by typing the url.  For security purpose.  Please help
me
if anybody know how to do that.  Thank you.

Kiran Patel

Howdy,
Put the images directory under the WEB-INF directory and change your
servlet accordingly.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kiran Patel [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 9:53 AM
To: [EMAIL PROTECTED]
Subject: Image Viewing

I am using jsp and tomcat 4.1 for my web application.  My application=

is
viewing image which is in the webapps/image folder.  This image can
also be
viewed from the internet by just typing the url.  I want to block thi=
s
since these are the confidential images.  Does anybody know how to do=

that.
Thanks in advance.

Kiran Patel



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]


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



Re: [POLL] Logging

2003-11-20 Thread epyonne
Log4J


- Original Message - 
From: Pitre, Russell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:33 AM
Subject: [POLL] Logging 


I need to use a robbust logging api for my webapp that I'm building, so
I decided I would cast a poll to get census of what everyone prefers


Logging, Which do you prefer?

1. Log4j
2. Java.util.Logging
3. Other



Russ


-
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: Please suggest.

2003-11-17 Thread epyonne
http://forum.java.sun.com/
They have excellent discussion forums on Java.


- Original Message - 
From: Anunay Ashish [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 07:00 AM
Subject: Please suggest.


 Can you suggest a mailing list for learning java?
 
 -
 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: JDBC type 4 Driver for MSSQL Server

2003-11-15 Thread epyonne
You didn't say which version of MS SQL Server, so I have to assume it's SQL
Server 2000.  The following 3 are the Type 4 Driver for MS SQLServer 2000
that I use:
msbase.jar
mssqlserver.jar
msutil.jar

I can't remember where I downloaded them, but a quick search on Google
should point you to the right place.

Hope this helps.



- Original Message -
From: N.B.Bopanna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 10:27 PM
Subject: JDBC type 4 Driver for MSSQL Server


 hi all,
 Could anybody please tell me if i can get a JDBC type 4 Driver for MSSQL
 Server?
 If yes where can i get it. If any one has used it please comment.
 Bopanna
 RCS Technologies



 -
 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: help for tomcat

2003-11-11 Thread epyonne
It is not good programming to put any connection string or code on JSP.
Instead, those code should be encapsulated in either a servlet class or a
java bean.

To access Oracle database, simply use the DriverManager for that.  I also
recommend you to download the Type 4 JDBC driver for this task.

Hope this helps.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 10:47 AM
Subject: help for tomcat



 Dear all,
  I am university student in sri lanaka. I want to setup tomacat to access
to
 oracle database.I installed oracle 8i database and apache-tomcat5.0.14 in
 window 2000 server.Both working individually well. I want to connect thro
 JSP page. What I have to do?

 Please tell the which file i have to configure. other wise specify the
websites.
 I ran with sample code but it say this error
 org.apache.jasper.JasperException

 please help me
 thanks in advance


 
 This message was sent using IMP, the Internet Messaging Program.

 -
 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: JSP Debugging: Eclipse vs. IntelliJIDEA: integration with Tomcat

2003-11-06 Thread epyonne
I use both Eclipse and IDEA, and I like both of them.  Very often, to
compare one tool against another tool is like arguing whether Ford F150 is
better than Chevy Silverado, everyone has his/her own opinion.  They all
have their upsides and downsides.  Therefore, it usually boiled down to
simply a matter of taste.

Eclipse by default does not do much for you.  You need to install plugins to
realize its power.  MyEclipse Enterprise Workbench is a great J2EE plugin
for Eclipse.  It works with JBoss and Tomcat.  It does exploded deployment,
and it supports source-level JSP debugging on Tomcat5.  The upcoming new
release also supports UML.

Hope this helps.


- Original Message -
From: Nathan Mcminn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 08:57 AM
Subject: RE: JSP Debugging: Eclipse vs. IntelliJIDEA: integration with
Tomcat


I've been using IDEA for the past 6 months or so, and I really like it.
It makes it pretty easy to have multiple versions of Tomcat to debug
with.  The setup is straightforward, and I just like the IDE in general.
It also makes refactoring SO easy.  Before IDEA, I was using Jbuilder,
and had good experiences with it as well.  But with Jbuilder, it was the
little details that pissed me off.  Limited refactoring facilities, and
for some reason the scroll wheel on my mouse wouldn't work (I know that
is nitpicky as hell, but it bugged me ;-).  Haven't used Eclipse, but I
hear good things.  I believe it is based on IBM's Websphere Studio, so
if you think you may have to do battle with Websphere, it couldn't hurt
to know the IDE.


Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com

 -Original Message-
 From: Don Jones [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 05, 2003 9:44 AM
 To: Tomcat Users List
 Subject: JSP Debugging: Eclipse vs. IntelliJIDEA: integration
 with Tomcat


 Has anyone compared Eclipse vs. IDEA plus others as far as
 Tomcat integration and overall JSP web app development/debugging?

 Don Jones
 Madison WI, USA

 -Original Message-
 From: Harry Mantheakis
 [mailto:[EMAIL PROTECTED]
 Sent: Wed
 11/5/2003 9:38 AM
 To: Tomcat Users List
 Cc:
 Subject: Re: best way to debug JSP's ???




  The very best thing to do with JSPs is never put any
 Java code into
  them. If you can avoid that, and always use taglibs
 or other JSP
  directives, etc. then you'll be much better off.

 I second the use of tag libraries. Also, with a decent
 IDE (such as Eclipse)
 you can refactor the code in your tab libraries without
 breaking your JSPs.

 Harry Mantheakis
 London




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


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



Re: Content Type

2003-11-03 Thread epyonne
Hello All,

I vaguely remember someone has asked this similar question before, if so,
but please allow me to ask it again.

What is Tomcat's limitation on multiple connection to database?  I have a
simple servlet application that connects to Oracle database for data.  Since
it is a very simple application, no connection pooling is used.  Someone
raised a question on whether Tomcat can handle hundreds of calls to the
servlets and hundreds of connections to the Oracle database.

By the way, I am using Tomcat 4.1.24 on Windows 2000 server.  Any help will
be very much appreciated.



- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 08:50 AM
Subject: RE: Content Type



Howdy,
Add the content-disposition:attachment header.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 9:48 AM
To: [EMAIL PROTECTED]
Subject: Content Type

I have a file running as a jsp but with a differant extension (.pms).
When a user requests this file in IE/Netscape. I want it to download as
a file rather than being opened as text by the browser.

I have tried adding:
response.setContentType(application/octet-stream);
but this only seems to work some of the time.

Anyone any ideas?

Duncan Smith
Decker Telecom Ltd


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


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



Tomcat connection limitation

2003-11-03 Thread epyonne
Oops, sorry, I forgot to change the subject line.


- Original Message -
From: epyonne [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 09:28 AM
Subject: Re: Content Type


 Hello All,

 I vaguely remember someone has asked this similar question before, if so,
 but please allow me to ask it again.

 What is Tomcat's limitation on multiple connection to database?  I have a
 simple servlet application that connects to Oracle database for data.
Since
 it is a very simple application, no connection pooling is used.  Someone
 raised a question on whether Tomcat can handle hundreds of calls to the
 servlets and hundreds of connections to the Oracle database.

 By the way, I am using Tomcat 4.1.24 on Windows 2000 server.  Any help
will
 be very much appreciated.



 - Original Message -
 From: Shapira, Yoav [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, November 03, 2003 08:50 AM
 Subject: RE: Content Type



 Howdy,
 Add the content-disposition:attachment header.

 Yoav Shapira
 Millennium ChemInformatics


 -Original Message-
 From: Duncan [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 03, 2003 9:48 AM
 To: [EMAIL PROTECTED]
 Subject: Content Type
 
 I have a file running as a jsp but with a differant extension (.pms).
 When a user requests this file in IE/Netscape. I want it to download as
 a file rather than being opened as text by the browser.
 
 I have tried adding:
 response.setContentType(application/octet-stream);
 but this only seems to work some of the time.
 
 Anyone any ideas?
 
 Duncan Smith
 Decker Telecom Ltd
 
 
 -
 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]


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



Tomcat connection limitation [repost]

2003-11-03 Thread epyonne
Does anyone know if Tomcat has limitation on servlet object instantiation
and database connection, without using connection pooling?

We have the option to use Oracle 9i AS because we have the enterprise
license.  I am just wondering if it will be an overkill when a Tomcat
standalone can do the job.  Not to mention I don't have to redeploy my
servlet application if Tomcat can handle the load (i.e. 400-500 concurrent
users).

Any help will be very much appreciated.

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



Re: Tomcat 5 JBoss

2003-10-28 Thread epyonne
JBoss and Tomcat run best when bundled together.  At this point, they don't
have a bundle with Tomcat 5 yet.  Furthermore, Tomcat 5 is still in beta.
Maybe that's the reason why the jboss folks want to wait until it is in
production release.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 04:44 AM
Subject: Tomcat 5  JBoss


 Is there any way to run JBoss with Tomcat 5 instead of 4.1.27?
 I'm using JBoss 3.2.2.


 I would like to switch to 5 because of the hotswap debugging feature.


 Thanks,

 Harm de Laat
 Informatiefabriek
 The Netherlands




 -
 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: Large Scale Deploymenet on Tomcat ?

2003-10-28 Thread epyonne
I am sure the fine folks at jboss.org are glad to help you out on this.


- Original Message -
From: ARUN PRASAD [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 27, 2003 09:13 PM
Subject: Large Scale Deploymenet on Tomcat ?




 Hi !
 Are there any success stories of deploying a large scale application
 (1+ users ) on tomcat+jboss out there ? Really need to convince the
top
 bosses down here to give it a chance :)

 Arun



  Justin Ruthenbeck
  [EMAIL PROTECTED]
  ne.comTo
Tomcat Users List
  28-10-03 08:26 AM [EMAIL PROTECTED]
 cc

  Please respond to Subject
Tomcat Users   Re: Form Double Submit Detection
List
  [EMAIL PROTECTED]
   rta.apache.org








 Agreed.  One word of caution...

 At 06:46 PM 10/27/2003, you wrote:
 I've had to do this before when credit card processing was being done. A
 double-click can result in the credit card being charged twice, so
 you've really got to avoid it.
 
 We actually synchronized on the session for the duration of the
 processing, and then set a flag in the session once the processing was
 done. Any subsequent attempts would be flagged as duplicates and you'd
 just get a results screen.

 You aren't guaranteed to have the same HttpSession object for every
 request -- HttpSession is an interface which is implemented internally
 and wrapped by a facade.  Synchronizing on the actual object you get from
 req.getSession() can potentially leave you synchronizing on totally
 different objects.

 justin


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






DISCLAIMER**
*
   Information contained and transmitted by this e-mail is confidential and
 proprietary to Tata Steel Ltd. and is intended for use only by the
 addressee. If you are not the intended recipient , you are notified that
 any dissemination or copying of this e-mail is strictly prohibited and you
 are requested to delete this e-mail immediately and notify the originator.
 Tata Steel does not enter into any binding agreement with any party by
 e-mail. Any views expressed by an individual do not necessarily reflect
the
 view of Tata Steel. Tata Steel is not responsible for the consequences of
 any actions taken on the basis of information provided. While this e-mail
 has been checked for all known viruses the addressee should also scan for
 viruses. To know more about Tata Steel please visit www.tatasteel.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 ver 4.1.27

2003-10-24 Thread epyonne
Did you set the service as automatoc or manual?


- Original Message -
From: Hardee, Brenda G NAVSAFECEN [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 09:56 AM
Subject: Tomcat ver 4.1.27




 I have Tomcat ver 4.1.27 running as a service on a win2000 platform.  I
cannot connect to the service with my browser (i.e.).  If a run Tomcat in
the startup script I can connect with my browser.  Can anyone give me some
help?

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



Tomcat security

2003-10-23 Thread epyonne
Hello All,

My web application is currently in System Testing Phase.  I am planning for the 
production implementation and I like to get some expert opinion from you all.

We will install Tomcat 4.1.24 on a server which is behind our corporate firewall.  The 
port that Tomcat uses, e.g. port , will be open to public due to the fact that 
this application will be accessed from our offices all over the world thru the 
internet.

Now, my question is that, what is the common practice to guard against people 
accessing the catalina_home directory?  I plan to install Tomcat on the D drive 
instead of the C drive where the OS resides.  Just in case if the Windows OS is 
compromised, it may or may not affect Tomcat.

Since this is the first time I have application used by people outside our corporate 
firewall, I like to hear your thoughts.

Thank you very much.


Re: web.xml editor

2003-10-23 Thread epyonne
I use UltraEdit32, and it works fine for me.


- Original Message - 
From: Luiz Ricardo [EMAIL PROTECTED]
To: Tomcat-Users List [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 07:29 AM
Subject: web.xml editor


 Hi everyone,
 
 I would like to know if someone here uses some free application to
 edit web.xml files, likely this application was web-based.
 
 I also would like to know if Tomcat Team intends to do something like
 this.
 
 Thanks in advance,
 
 Luiz Ricardo
 
 
 -
 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]



JSP question

2003-10-21 Thread epyonne
Hello All,

I am pulling my hair on this problem, and since there are many Java experts
on this mailing list, I hope someone can help me on this.

I have a simple servlet that calls a JSP page where the user can enter a
search value.  When the user clicks on the submit button, the search value
will be passed back to the servlet for processing and display.  All these
are running on Tomcat 4.1.24.

Everything works fine until I added the form validation routine in the JSP
page.  Initially, my input button type was submit.  I changed it to
button and leave the submission to the form validation routine which is in
JavaScript.  Now, when I click on the button, I get the error message of:
Object doesn't support this property or method
at the line of code:
document.form1.submit();

Does anyone know why?  The following is code of the JSP page:
//code begin--
html
head
titleblah blah blah/title
link rel=stylesheet href=css/standard.css type=text/css
/head

body
form name=form1 method=POST action=
center
bPlease enter ANI for query:/bbrbr
table
tr
 tdANI/td
 tdinput type=text name=ani/TD
/tr
tr
 td/td
 td COLSPAN=2
 input type=button name=submit value=Submit
onclick=javascript:validateForm();
 input type=Reset name=cmdReset value=Reset/td
/tr
/table
/center

 script LANGUAGE=JavaScript
  function validateForm(){
   if(document.form1.ani.value == ){
alert(Please enter an ANI);
return;
   }
   document.form1.submit();//This line generated error.  The
.submit() method is not supported.
  }
 /script
/form
nbsp;
%@ include file=footer.jsp%
/body
/html
//code end

Any help will be very much appreciated.

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



Re: ResulSet Question

2003-10-21 Thread epyonne
Shouldn't the evaluation statement, i.e. Frame.equals(E), be outside the
main while loop?  When inside a while loop of a ResultSet, you should be
evaluating the value in the ResultSet.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:26 AM
Subject: ResulSet Question


 All,

 I have the following code

 rsSN = statement.executeQuery(Query);
 while (rsSN.next()){
 if (Frame.equals(E)){
 rsFrame = statement.executeQuery(QueryFrameE);
 if (rsFrame.next()){ js.append(trtd+
 rsFrame.getString(ATTRIBUTE_VALUE) +/td/tr); }
 } else{
 rsFrame = statement.executeQuery(QueryFrameF);
 if (rsFrame.next()){ js.append(trtd+
 rsFrame.getString(ATTRIBUTE_VALUE) +/td/tr); }
 }
 }

 Why it only do it once, if the ResulSet rsSN have 100 records

 Thanks in advance
 Salvador

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

2003-10-21 Thread epyonne
Thanks for the reply.  But this cannot be true.  If I leave the textbox
blank, I got the alert.  That means it is seeing the document.form1
object.  It just does not like the .submit() method which I can't understand
why.

Thanks.


- Original Message -
From: Walker Chris [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:45 AM
Subject: RE: JSP question


 Most likely document.form1 is not visible in the browser object model.
 There are various ways to address the form, but the most portable in this
 case is probably document.forms[0].

 Chris

 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: 21 October 2003 16:35
 To: Tomcat Users List
 Subject: JSP question


 Hello All,

 I am pulling my hair on this problem, and since there are many Java
experts
 on this mailing list, I hope someone can help me on this.

 I have a simple servlet that calls a JSP page where the user can enter a
 search value.  When the user clicks on the submit button, the search value
 will be passed back to the servlet for processing and display.  All these
 are running on Tomcat 4.1.24.

 Everything works fine until I added the form validation routine in the JSP
 page.  Initially, my input button type was submit.  I changed it to
 button and leave the submission to the form validation routine which is
in
 JavaScript.  Now, when I click on the button, I get the error message of:
 Object doesn't support this property or method
 at the line of code:
 document.form1.submit();

 Does anyone know why?  The following is code of the JSP page:
 //code begin--
 html
 head
 titleblah blah blah/title
 link rel=stylesheet href=css/standard.css type=text/css
 /head

 body
 form name=form1 method=POST action=
 center
 bPlease enter ANI for query:/bbrbr
 table
 tr
  tdANI/td
  tdinput type=text name=ani/TD
 /tr
 tr
  td/td
  td COLSPAN=2
  input type=button name=submit value=Submit
 onclick=javascript:validateForm();
  input type=Reset name=cmdReset value=Reset/td
 /tr
 /table
 /center

  script LANGUAGE=JavaScript
   function validateForm(){
if(document.form1.ani.value == ){
 alert(Please enter an ANI);
 return;
}
document.form1.submit();//This line generated error.  The
 .submit() method is not supported.
   }
  /script
 /form
 nbsp;
 %@ include file=footer.jsp%
 /body
 /html
 //code end

 Any help will be very much appreciated.


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



Re: JSP question

2003-10-21 Thread epyonne
Thank you Matt and Peter for the suggestion.  It works!!!


- Original Message -
From: Peter Guyatt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:42 AM
Subject: RE: JSP question


 Hi There,

 Why dont you change the button back to a submit and then add a
 onSubmit='return validation();' to you form ?

 Thats what we do

 Eg.
 Script
 function valid () {
 if (document.form.val.value.length  1) {
 alert(Please enter a value);
 return false;
 }
 return true;
 }
 /Script

 form onSubmit=return valid();
 table
 tr
 td
 input type=text name=val
 /td
 td
 input type=submit
 /td
 /tr
 /table
 /form

 Thanks

 Pete

 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: 21 October 2003 16:35
 To: Tomcat Users List
 Subject: JSP question


 Hello All,

 I am pulling my hair on this problem, and since there are many Java
experts
 on this mailing list, I hope someone can help me on this.

 I have a simple servlet that calls a JSP page where the user can enter a
 search value.  When the user clicks on the submit button, the search value
 will be passed back to the servlet for processing and display.  All these
 are running on Tomcat 4.1.24.

 Everything works fine until I added the form validation routine in the JSP
 page.  Initially, my input button type was submit.  I changed it to
 button and leave the submission to the form validation routine which is
in
 JavaScript.  Now, when I click on the button, I get the error message of:
 Object doesn't support this property or method
 at the line of code:
 document.form1.submit();

 Does anyone know why?  The following is code of the JSP page:
 //code begin--
 html
 head
 titleblah blah blah/title
 link rel=stylesheet href=css/standard.css type=text/css
 /head

 body
 form name=form1 method=POST action=
 center
 bPlease enter ANI for query:/bbrbr
 table
 tr
  tdANI/td
  tdinput type=text name=ani/TD
 /tr
 tr
  td/td
  td COLSPAN=2
  input type=button name=submit value=Submit
 onclick=javascript:validateForm();
  input type=Reset name=cmdReset value=Reset/td
 /tr
 /table
 /center

  script LANGUAGE=JavaScript
   function validateForm(){
if(document.form1.ani.value == ){
 alert(Please enter an ANI);
 return;
}
document.form1.submit();//This line generated error.  The
 .submit() method is not supported.
   }
  /script
 /form
 nbsp;
 %@ include file=footer.jsp%
 /body
 /html
 //code end

 Any help will be very much appreciated.

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



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



Re: Bugs and weakness when Tomcat works a NT Service (tcservcfg)

2003-10-21 Thread epyonne
Just a thought.  You can reinstall Tomcat to a different port, with the NT
Service checked.  Or better yet, go ahead and install the Tomcat 4.1.2x to a
different port.  This is a great opportunity to upgrade.  Put some of your
apps there for test runs.  If there is no issue, then move everything over
to the new installation.  After that, you can change the port number back.


- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 12:45 PM
Subject: RES: Bugs and weakness when Tomcat works a NT Service (tcservcfg)


Thank you, Chuck. I will do it! So, i should keep saved the existing
server.xml and web.xml files before the new installation starts, i guess...
Isnt it?
Euclides

-Mensagem original-
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:37
Para: Tomcat Users List
Assunto: RE: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Jose,

Uninstall Tomcat.
Start the installer and one of the screens has a list of products (Tomcat,
Source etc) if you scroll down, there is and unchecked item that says to
install it as a service.  You must check this one to get it installed.  If
you are re-installing you also need to make sure it installs in the same
directory to prevent other problems.

Once the installer completes you can run it as a service or disable the
service and use the startup.bat in the bin directory to start it from a
command prompt.  Sometimes this is desirable when debugging things that go
wrong at startup.

Chuck


-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:28 AM
To: 'Tomcat Users List'; Goehring, Chuck Mr., RCI - San Diego
Subject: RES: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Where is this checkbox? How can i reach there? I am talking about TomCat
4.1.18...

-Mensagem original-
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:22
Para: Tomcat Users List
Assunto: RE: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Jose,

I spent a long time trying to manually setup Tomcat to run as a service.
Finally ended up re-installing and checking the little checkbox that makes
it usable as a service.  It is unchecked by default. Once it is installed,
you can change the account it executes as in the services thingy in control
panel.

Chuck

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:11 AM
To: '[EMAIL PROTECTED]'
Subject: Bugs and weakness when Tomcat works a NT Service (tcservcfg)


Hi all,
there have been a nightmare since i ve decided to make TomCat 4.1.18 be a
Windows NT 4.0's Service.First of all, i ve the stuped idea of looking for a
program which could make it for me. So,  i found the nightmare main actor
-- tcservcfg and the second one -- windows!!!
Thus, i made the following steps:
1 - ...runned the main actor ( tcservcfg ) - OK!
2 -  started up the service - OK!
3 - test the environment - FAILURE!
NOW, THE NIGHTMARE begins
4 - Only the static pages are availables, so whenever my app tries to use
Result Sets, I get this error message:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)

LINE 413 points to a  resultset statement, see below:

ring query = Select * FROM DICAS WHERE ID_TOPICO =  + topico2;
  pstmt = con.prepareStatement(query);
  rs = pstmt.executeQuery();
  if ( !rs.next() )
 {   // -- THIS IS LINE 413 --
fechaconection( pstmt,rs,con);
chamadevolta =
getServletContext().getRequestDispatcher(/semconteudo.jsp);
chamadevolta.forward(request,response);
 }

5 - I ve tried to find something about permission but i didnt find anything.
6 - THE WORST: I stopped the service and tried to work as before --
starting TomCat by running startup.bat file. Unfortunatelly, TomCat doesnt
starts up ANYMORE !!!
7- Then, i ve disabled all TomCat's services
8- Tried step 6 again - FAILURE AGAIN
9 - Finally, i ve removed the Registry key of TomCat service.
10 -  Tried step 6 again - FAILURE AGAIN - it is a loop, isnt it...

Really, any single help will be appreciated...
Euclides.





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

Re: Bugs and weakness when Tomcat works a NT Service (tcservcfg)

2003-10-21 Thread epyonne
The Tomcat download site has an executable file which is built with
InstallShield.  If you install Tomcat using that executable file, you should
have an Uninstall Tomcat option on your Start|Programs menu.  Or you can
always go to the Add/Remove Programs to remove it.

Hope this helps.


- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 01:55 PM
Subject: RES: Bugs and weakness when Tomcat works a NT Service (tcservcfg)


I will tried it, but i am afraid of unknowed changes done by Tcservcfg on
Windows register.
Since Tomcat isnt running anyway, i will reinstall it to the same port. One
question: Do you know how could i remove the remained Tomcat service?
Euclides.
-Mensagem original-
De: epyonne [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 15:13
Para: Tomcat Users List; [EMAIL PROTECTED]
Assunto: Re: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Just a thought.  You can reinstall Tomcat to a different port, with the NT
Service checked.  Or better yet, go ahead and install the Tomcat 4.1.2x to a
different port.  This is a great opportunity to upgrade.  Put some of your
apps there for test runs.  If there is no issue, then move everything over
to the new installation.  After that, you can change the port number back.


- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 12:45 PM
Subject: RES: Bugs and weakness when Tomcat works a NT Service (tcservcfg)


Thank you, Chuck. I will do it! So, i should keep saved the existing
server.xml and web.xml files before the new installation starts, i guess...
Isnt it?
Euclides

-Mensagem original-
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:37
Para: Tomcat Users List
Assunto: RE: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Jose,

Uninstall Tomcat.
Start the installer and one of the screens has a list of products (Tomcat,
Source etc) if you scroll down, there is and unchecked item that says to
install it as a service.  You must check this one to get it installed.  If
you are re-installing you also need to make sure it installs in the same
directory to prevent other problems.

Once the installer completes you can run it as a service or disable the
service and use the startup.bat in the bin directory to start it from a
command prompt.  Sometimes this is desirable when debugging things that go
wrong at startup.

Chuck


-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:28 AM
To: 'Tomcat Users List'; Goehring, Chuck Mr., RCI - San Diego
Subject: RES: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Where is this checkbox? How can i reach there? I am talking about TomCat
4.1.18...

-Mensagem original-
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:22
Para: Tomcat Users List
Assunto: RE: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Jose,

I spent a long time trying to manually setup Tomcat to run as a service.
Finally ended up re-installing and checking the little checkbox that makes
it usable as a service.  It is unchecked by default. Once it is installed,
you can change the account it executes as in the services thingy in control
panel.

Chuck

-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:11 AM
To: '[EMAIL PROTECTED]'
Subject: Bugs and weakness when Tomcat works a NT Service (tcservcfg)


Hi all,
there have been a nightmare since i ve decided to make TomCat 4.1.18 be a
Windows NT 4.0's Service.First of all, i ve the stuped idea of looking for a
program which could make it for me. So,  i found the nightmare main actor
-- tcservcfg and the second one -- windows!!!
Thus, i made the following steps:
1 - ...runned the main actor ( tcservcfg ) - OK!
2 -  started up the service - OK!
3 - test the environment - FAILURE!
NOW, THE NIGHTMARE begins
4 - Only the static pages are availables, so whenever my app tries to use
Result Sets, I get this error message:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

java.lang.NullPointerException
at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
at BancoServlet.service(BancoServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)

LINE 413 points to a  resultset

Re: Java/JSP/Servlet Programmer

2003-10-17 Thread epyonne
Cannot find anyone?!?!?!  It is rather hard to believe based on current job
market.


- Original Message -
From: Ruben Gamez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 02:33 PM
Subject: Java/JSP/Servlet Programmer


I'm looking for an experienced JSP/Servlet programmer located in our
area.  We're located in West Palm Beach, FL.  We've tried posting the
Job on Monster, and looking for candidates on there, but still cannot
find someone that can do the job.

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



Re: Java/JSP/Servlet Programmer

2003-10-17 Thread epyonne
Correct me if I am wrong, but I think Cold Fusion is dying (if not already
dead) technology.


- Original Message -
From: Ruben Gamez [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 03:23 PM
Subject: RE: Java/JSP/Servlet Programmer


Yes, well, I'm only asking for 1 1/2+ years experience in JSP  Servlets
and I'm still having trouble.  I was asking for ColdFusion as well, but
I've given up on that.  I'll just have to train the new developer on CF
later on.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:15 PM
To: Tomcat Users List
Subject: Re: Java/JSP/Servlet Programmer

I agree. I worked for a place that listed C++ in all there job listings,

but there was not one line of C in the whole company. I asked who was
programming C, but they didn't know what I was talking about. LOL


Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813




John B. Moore [EMAIL PROTECTED]
10/17/2003 03:10 PM
Please respond to Tomcat Users List


To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: Java/JSP/Servlet Programmer


Yeah, and those of us that do have the credentials get lost in the
forest.  (Not to mention the observation that many of these job
postings want the person to have x years of experience in 6-7 different

areas, mostly unrelated and the total experience years exceeds most
normal human's productive lifespans, even accounting for reasonable
overlap...G)

John..

Hart, Justin wrote:

That's what I've found.  The market is full of tech workers, but that
doesn't mean that they're a programmer, or as familiar with technology X

(for position Y) as they should be.  I went to a job fair a couple years

ago for 4 job opennings, 2 for programmers.  2 for techs.  1000 people
showed up, and I spoke with only 4-5 that I really thought qualified for

the programming jobs or had credentials that showed that they qualified
for the job.

-Original Message-
From: Ruben Gamez [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:57 PM
To: Tomcat Users List
Subject: RE: Java/JSP/Servlet Programmer


I would think so, but it's true.  I've gotten several people that
interview well, but none that can pass a couple of simple tests (I
consider them simple).

-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:55 PM
To: Tomcat Users List
Subject: Re: Java/JSP/Servlet Programmer

Cannot find anyone?!?!?!  It is rather hard to believe based on current
job
market.


- Original Message -
From: Ruben Gamez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 02:33 PM
Subject: Java/JSP/Servlet Programmer


I'm looking for an experienced JSP/Servlet programmer located in our
area.  We're located in West Palm Beach, FL.  We've tried posting the
Job on Monster, and looking for candidates on there, but still cannot
find someone that can do the job.

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


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




-
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: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread epyonne
Pardon me that it is off topics

Speaking about re-usable ResultSet, I am having a little problem with a
ResultSet and I cannot find the solution.

I have a routine in my servlet to call an Oracle stored procedure, using
CallableStatement.  Everything works fine.  Then, I want to get the row
count of the ResultSet.  I can do that by using the rs.last() method.
However, that requires the ResultSet to be scrollable.  So I change the code
accordingly.  After that, I keep getting the error message of:
SQLException: Invalid operation of forward only resultset: last

I can't figure out why.  I thought I have defined the ResultSet to be
scrollable already.  The following is the snippets:
//code begins--
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
String url = jdbc:oracle:thin:@..;
conn = DriverManager.getConnection(url,);
String plsql = begin my stored procedure(?,?,?); end;;
CallableStatement cs = conn.prepareCall(plsql,
  ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
cs.registerOutParameter(1, OracleTypes.CURSOR);
cs.setString(2, InputParam1);
cs.registerOutParameter(3, Types.INTEGER);
cs.execute();
ResultSet rs = null;
rs = (ResultSet)cs.getObject(1);
rs.last();
//code ends

Any help will be very much appreciated.



- Original Message -
From: Mike Curwen [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 03:12 PM
Subject: RE: Java/JSP/Servlet Programmer


 I would send y'all my resume, but ever since the humiliation of the
 re-usable ResultSet, I'm sure I'm one of those that can't walk yet.   ;)



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:08 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
 
 
  I agree. I'm getting funds to hire a new person and I dread it. I've
  screened a lot of people on the last time I hired someone an
  still got a
  lemon. Lot's of people talk to talk, but can't even walk yet.
 
 
  Thank You,
 
  Justin A. Stanczak
  Web Manager
  Shake Learning Resource Center
  Vincennes University
  (812)888-5813
 
 
 
 
  Hart, Justin [EMAIL PROTECTED]
  10/17/2003 03:00 PM
  Please respond to Tomcat Users List
 
 
  To: Tomcat Users List [EMAIL PROTECTED]
  cc:
  Subject:RE: Java/JSP/Servlet Programmer
 
 
  That's what I've found.  The market is full of tech workers, but that
  doesn't mean that they're a programmer, or as familiar with
  technology X
  (for position Y) as they should be.  I went to a job fair a
  couple years
  ago for 4 job opennings, 2 for programmers.  2 for techs.
  1000 people
  showed up, and I spoke with only 4-5 that I really thought
  qualified for
  the programming jobs or had credentials that showed that they
  qualified
  for the job.
 
  -Original Message-
  From: Ruben Gamez [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:57 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
 
 
  I would think so, but it's true.  I've gotten several people
  that interview well, but none that can pass a couple of
  simple tests (I consider them simple).
 
  -Original Message-
  From: epyonne [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:55 PM
  To: Tomcat Users List
  Subject: Re: Java/JSP/Servlet Programmer
 
  Cannot find anyone?!?!?!  It is rather hard to believe based
  on current job market.
 
 
  - Original Message -
  From: Ruben Gamez [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 02:33 PM
  Subject: Java/JSP/Servlet Programmer
 
 
  I'm looking for an experienced JSP/Servlet programmer located
  in our area.  We're located in West Palm Beach, FL.  We've
  tried posting the Job on Monster, and looking for candidates
  on there, but still cannot find someone that can do the job.
 
  -
  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]
 
 
  -
  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]



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



Re: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread epyonne
Thanks for the reply.  I searched for ResultSetMetaData in JavaDoc, and
there is no method to get row count.  It only has column count.  Did I miss
something?  Please explain.

Thank you very much.


- Original Message -
From: Brendle, Douglas A. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 03:45 PM
Subject: RE: Java/JSP/Servlet Programmer [off topic]


Have you tried using ResultetMetaData to get row count BEFORE you
process the Resultset?

-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:44 PM
To: Tomcat Users List
Subject: Re: Java/JSP/Servlet Programmer [off topic]


Pardon me that it is off topics

Speaking about re-usable ResultSet, I am having a little problem with a
ResultSet and I cannot find the solution.

I have a routine in my servlet to call an Oracle stored procedure, using
CallableStatement.  Everything works fine.  Then, I want to get the row
count of the ResultSet.  I can do that by using the rs.last() method.
However, that requires the ResultSet to be scrollable.  So I change the code
accordingly.  After that, I keep getting the error message of:
SQLException: Invalid operation of forward only resultset: last

I can't figure out why.  I thought I have defined the ResultSet to be
scrollable already.  The following is the snippets:
//code begins--
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
String url = jdbc:oracle:thin:@..;
conn = DriverManager.getConnection(url,);
String plsql = begin my stored procedure(?,?,?); end;;
CallableStatement cs = conn.prepareCall(plsql,
  ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
cs.registerOutParameter(1, OracleTypes.CURSOR);
cs.setString(2, InputParam1);
cs.registerOutParameter(3, Types.INTEGER);
cs.execute();
ResultSet rs = null;
rs = (ResultSet)cs.getObject(1);
rs.last();
//code ends

Any help will be very much appreciated.



- Original Message -
From: Mike Curwen [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 03:12 PM
Subject: RE: Java/JSP/Servlet Programmer


 I would send y'all my resume, but ever since the humiliation of the
 re-usable ResultSet, I'm sure I'm one of those that can't walk yet.   ;)



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:08 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
 
 
  I agree. I'm getting funds to hire a new person and I dread it. I've
  screened a lot of people on the last time I hired someone an
  still got a
  lemon. Lot's of people talk to talk, but can't even walk yet.
 
 
  Thank You,
 
  Justin A. Stanczak
  Web Manager
  Shake Learning Resource Center
  Vincennes University
  (812)888-5813
 
 
 
 
  Hart, Justin [EMAIL PROTECTED]
  10/17/2003 03:00 PM
  Please respond to Tomcat Users List
 
 
  To: Tomcat Users List [EMAIL PROTECTED]
  cc:
  Subject:RE: Java/JSP/Servlet Programmer
 
 
  That's what I've found.  The market is full of tech workers, but that
  doesn't mean that they're a programmer, or as familiar with
  technology X
  (for position Y) as they should be.  I went to a job fair a
  couple years
  ago for 4 job opennings, 2 for programmers.  2 for techs.
  1000 people
  showed up, and I spoke with only 4-5 that I really thought
  qualified for
  the programming jobs or had credentials that showed that they
  qualified
  for the job.
 
  -Original Message-
  From: Ruben Gamez [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:57 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
 
 
  I would think so, but it's true.  I've gotten several people
  that interview well, but none that can pass a couple of
  simple tests (I consider them simple).
 
  -Original Message-
  From: epyonne [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:55 PM
  To: Tomcat Users List
  Subject: Re: Java/JSP/Servlet Programmer
 
  Cannot find anyone?!?!?!  It is rather hard to believe based
  on current job market.
 
 
  - Original Message -
  From: Ruben Gamez [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 02:33 PM
  Subject: Java/JSP/Servlet Programmer
 
 
  I'm looking for an experienced JSP/Servlet programmer located
  in our area.  We're located in West Palm Beach, FL.  We've
  tried posting the Job on Monster, and looking for candidates
  on there, but still cannot find someone that can do the job.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e

Re: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread epyonne
Thanks.  But I know for the fact that there should have data in the
ResultSet.  If I remove the definition for scrollability (is it a word?) and
remove the rs.last() method, I get data back.

Furthermore, if I do the same thing for stored procedure in SQL Server, it
works.  And if I do the same thing on regular Statement for Oracle database
like this:
Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
It works as well.

That makes me think it has something to do with calling an Oracle stored
procedure.  But I just cannot figure that out where it goes wrong.

Thank you very much.


- Original Message -
From: mike jackson [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 03:48 PM
Subject: RE: Java/JSP/Servlet Programmer [off topic]


You might have to call rs.next() first before the rs.last().  I know that
prior to getting a ResultSetMetaData object you have to call the rs.next().
Could be the rs.last() requires the same thing (in case there's no records
returned).  But that's just a guess.

--mikej
-=--
mike jackson
[EMAIL PROTECTED]



 -Original Message-
 From: epyonne [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 12:44 PM
 To: Tomcat Users List
 Subject: Re: Java/JSP/Servlet Programmer [off topic]

 Pardon me that it is off topics

 Speaking about re-usable ResultSet, I am having a little problem with a
 ResultSet and I cannot find the solution.

 I have a routine in my servlet to call an Oracle stored procedure, using
 CallableStatement.  Everything works fine.  Then, I want to get the row
 count of the ResultSet.  I can do that by using the rs.last() method.
 However, that requires the ResultSet to be scrollable.  So I change the
 code
 accordingly.  After that, I keep getting the error message of:
 SQLException: Invalid operation of forward only resultset: last

 I can't figure out why.  I thought I have defined the ResultSet to be
 scrollable already.  The following is the snippets:
 //code begins--
 DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
 String url = jdbc:oracle:thin:@..;
 conn = DriverManager.getConnection(url,);
 String plsql = begin my stored procedure(?,?,?); end;;
 CallableStatement cs = conn.prepareCall(plsql,
   ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
 cs.registerOutParameter(1, OracleTypes.CURSOR);
 cs.setString(2, InputParam1);
 cs.registerOutParameter(3, Types.INTEGER);
 cs.execute();
 ResultSet rs = null;
 rs = (ResultSet)cs.getObject(1);
 rs.last();
 //code ends

 Any help will be very much appreciated.



 - Original Message -
 From: Mike Curwen [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Friday, October 17, 2003 03:12 PM
 Subject: RE: Java/JSP/Servlet Programmer


  I would send y'all my resume, but ever since the humiliation of the
  re-usable ResultSet, I'm sure I'm one of those that can't walk yet.   ;)
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:08 PM
   To: Tomcat Users List
   Subject: RE: Java/JSP/Servlet Programmer
  
  
   I agree. I'm getting funds to hire a new person and I dread it. I've
   screened a lot of people on the last time I hired someone an
   still got a
   lemon. Lot's of people talk to talk, but can't even walk yet.
  
  
   Thank You,
  
   Justin A. Stanczak
   Web Manager
   Shake Learning Resource Center
   Vincennes University
   (812)888-5813
  
  
  
  
   Hart, Justin [EMAIL PROTECTED]
   10/17/2003 03:00 PM
   Please respond to Tomcat Users List
  
  
   To: Tomcat Users List [EMAIL PROTECTED]
   cc:
   Subject:RE: Java/JSP/Servlet Programmer
  
  
   That's what I've found.  The market is full of tech workers, but that
   doesn't mean that they're a programmer, or as familiar with
   technology X
   (for position Y) as they should be.  I went to a job fair a
   couple years
   ago for 4 job opennings, 2 for programmers.  2 for techs.
   1000 people
   showed up, and I spoke with only 4-5 that I really thought
   qualified for
   the programming jobs or had credentials that showed that they
   qualified
   for the job.
  
   -Original Message-
   From: Ruben Gamez [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:57 PM
   To: Tomcat Users List
   Subject: RE: Java/JSP/Servlet Programmer
  
  
   I would think so, but it's true.  I've gotten several people
   that interview well, but none that can pass a couple of
   simple tests (I consider them simple).
  
   -Original Message-
   From: epyonne [mailto:[EMAIL PROTECTED]
   Sent: Friday, October 17, 2003 3:55 PM
   To: Tomcat Users List
   Subject: Re: Java/JSP/Servlet Programmer
  
   Cannot find anyone?!?!?!  It is rather hard to believe based
   on current

Re: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread epyonne
Yeah, since my web application is going to be run by people in our office
locations all over the world, I try to have as little overhead as possible.
Thanks.


- Original Message -
From: Hart, Justin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 04:01 PM
Subject: RE: Java/JSP/Servlet Programmer [off topic]


Yeah, but that means you have to run the query twice.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:54 PM
To: Tomcat Users List
Subject: RE: Java/JSP/Servlet Programmer [off topic]



Howdy,
I too don't think ResultSetMetaData has row count.

There's also the hackish but usually OK approach which wraps the SQL
query in select count(*).  This has the advantage of giving you just the
row count without the whole (potentially huge) result set.  Something
like:

int getRowCount(Connection connection, String sql) {
  String countSql = select count(*) from ( + sql + );
  Statement stmt = connection.createStatement();
  ResultSet rs = stmt.executeQuery(countSql);
  rs.next();
  return rs.getInt(1);
}

Or something like that...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:49 PM
To: Tomcat Users List
Subject: RE: Java/JSP/Servlet Programmer [off topic]

I thought that resultsetmetadata had column count, but not row count.
If
it has row count, then I am distinctly interested.
-Original Message-
From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:45 PM
To: Tomcat Users List
Subject: RE: Java/JSP/Servlet Programmer [off topic]


Have you tried using ResultetMetaData to get row count BEFORE you
process the Resultset?

-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:44 PM
To: Tomcat Users List
Subject: Re: Java/JSP/Servlet Programmer [off topic]


Pardon me that it is off topics

Speaking about re-usable ResultSet, I am having a little problem with a
ResultSet and I cannot find the solution.

I have a routine in my servlet to call an Oracle stored procedure,
using
CallableStatement.  Everything works fine.  Then, I want to get the row
count of the ResultSet.  I can do that by using the rs.last() method.
However, that requires the ResultSet to be scrollable.  So I change the
code
accordingly.  After that, I keep getting the error message of:
SQLException: Invalid operation of forward only resultset: last

I can't figure out why.  I thought I have defined the ResultSet to be
scrollable already.  The following is the snippets:
//code begins--
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
String url = jdbc:oracle:thin:@..;
conn = DriverManager.getConnection(url,);
String plsql = begin my stored procedure(?,?,?); end;;
CallableStatement cs = conn.prepareCall(plsql,
  ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
cs.registerOutParameter(1, OracleTypes.CURSOR);
cs.setString(2, InputParam1);
cs.registerOutParameter(3, Types.INTEGER);
cs.execute();
ResultSet rs = null;
rs = (ResultSet)cs.getObject(1);
rs.last();
//code ends

Any help will be very much appreciated.



- Original Message -
From: Mike Curwen [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 03:12 PM
Subject: RE: Java/JSP/Servlet Programmer


 I would send y'all my resume, but ever since the humiliation of the
 re-usable ResultSet, I'm sure I'm one of those that can't walk yet.
;)



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 17, 2003 3:08 PM
  To: Tomcat Users List
  Subject: RE: Java/JSP/Servlet Programmer
 
 
  I agree. I'm getting funds to hire a new person and I dread it.
I've
  screened a lot of people on the last time I hired someone an
  still got a
  lemon. Lot's of people talk to talk, but can't even walk yet.
 
 
  Thank You,
 
  Justin A. Stanczak
  Web Manager
  Shake Learning Resource Center
  Vincennes University
  (812)888-5813
 
 
 
 
  Hart, Justin [EMAIL PROTECTED]
  10/17/2003 03:00 PM
  Please respond to Tomcat Users List
 
 
  To: Tomcat Users List
[EMAIL PROTECTED]
  cc:
  Subject:RE: Java/JSP/Servlet Programmer
 
 
  That's what I've found.  The market is full of tech workers, but
that
  doesn't mean that they're a programmer, or as familiar with
  technology X
  (for position Y) as they should be.  I went to a job fair a
  couple years
  ago for 4 job opennings, 2 for programmers.  2 for techs.
  1000 people
  showed up, and I spoke with only 4-5 that I really thought
  qualified for
  the programming jobs or had credentials that showed that they
  qualified
  for the job.
 
  -Original Message-
  From: Ruben Gamez [mailto:[EMAIL PROTECTED]
  Sent

Re: Steps to make Tomcat a NT service

2003-10-16 Thread epyonne
At the Jakarta Tomcat download site, there is an executable file which is an
install program (I believe it is built with InstallShield).  Run that and it
will set up Tomcat as NT service for you.  By the way, that is for 4.1.24,
and I don't know if they have the same install program for 4.1.18.

Hope this helps.


- Original Message -
From: Jose Euclides da Silva Junior - DATAPREVRJ
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 08:31 AM
Subject: Steps to make Tomcat a NT service


 Hi guys,
 where can i find all steps to make Tomcat 4.1.18 a NT service?
 Regards,
 Euclides.

 -
 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: Why should i use Tomcat vs .NET?

2003-10-13 Thread epyonne
Simple decision.  If your company is a pure Microsoft shop, i.e. you use
Windows desktops, Windows servers, and SQL Server databases, then it is a
no-brainer, go with .NET.

On the other hand, if your company has a mixed environment like ours, i.e.
Windows and Linux OSs, UNIX Servers, Windows Servers, Oracle databases
so on and so on. You may not want to use .NET.  Microsoft claims that .NET
can port to UNIX, but there is still a long way to go IMHO.  J2EE will be a
better choice for such diverse environment.

By the way, Tomcat is merely a web/servlet container and .NET is an
enterpirse architecture.  You are comparing apple to orange.

Hope this helps.


- Original Message -
From: Eduardo Vazquez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 10:48 AM
Subject: Why should i use Tomcat vs .NET?


I work for a small company which is seriously considering the .NET route
moving into the future. My mission if I chose to accept is to sway popular
opinion towards Tomcat (Jakarta) for reasons I've yet to summarize because I
can't confidently regurgitate any (I'm new to Linux/Tomcat for the most
part). Is there anyone who has made this argument yet? Are there anyone have
a url with the comparison done already or a list of reasons why .NET isn't
optimal versus the other options or on the flip side of that; why tomcat
rocks? Any help would be appreciated; I'm not looking forward to becoming
even more reliant on one company.



Thanks in advance,

Eduardo


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



Re: Why should i use Tomcat vs .NET?

2003-10-13 Thread epyonne
That's typical.  Almost 10 out of 10 times when an executive who champions a
humongous project, it is solely for his/her own resume or agenda.  Very
seldom it is for the good of the company as a whole.


- Original Message -
From: Eduardo Vazquez [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 12:47 PM
Subject: RE: Why should i use Tomcat vs .NET?


Up front I do need to say that the support of this user group has
been more than outstanding. I was a sole person looking for help and I
received more than I could have expected, and for that thanks to all.
Eventually I have lost the war; my CTO has decided on a new technology on
his lonesome and has hinted that any effort expended moving forward won't
result in any reconsideration of his decision (so much for standards and not
putting all your eggs in one basket) Again, I've learned much from all those
who have replied to my request and hope that others have learnt a little
sumthin' along the way.

Much Thanks,
Eduardo



-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:26 AM
To: Tomcat Users List
Subject: Re: Why should i use Tomcat vs .NET?

Simple decision.  If your company is a pure Microsoft shop, i.e. you use
Windows desktops, Windows servers, and SQL Server databases, then it is a
no-brainer, go with .NET.

On the other hand, if your company has a mixed environment like ours, i.e.
Windows and Linux OSs, UNIX Servers, Windows Servers, Oracle databases
so on and so on. You may not want to use .NET.  Microsoft claims that .NET
can port to UNIX, but there is still a long way to go IMHO.  J2EE will be a
better choice for such diverse environment.

By the way, Tomcat is merely a web/servlet container and .NET is an
enterpirse architecture.  You are comparing apple to orange.

Hope this helps.


- Original Message -
From: Eduardo Vazquez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 10:48 AM
Subject: Why should i use Tomcat vs .NET?


I work for a small company which is seriously considering the .NET route
moving into the future. My mission if I chose to accept is to sway popular
opinion towards Tomcat (Jakarta) for reasons I've yet to summarize because I
can't confidently regurgitate any (I'm new to Linux/Tomcat for the most
part). Is there anyone who has made this argument yet? Are there anyone have
a url with the comparison done already or a list of reasons why .NET isn't
optimal versus the other options or on the flip side of that; why tomcat
rocks? Any help would be appreciated; I'm not looking forward to becoming
even more reliant on one company.



Thanks in advance,

Eduardo


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


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



Re: Tomcat user guide

2003-10-09 Thread epyonne
Or the Professional Tomcat book from Wrox.  It is an excellent reference
book.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 11:50 AM
Subject: RE: Tomcat user guide



Howdy,
The tomcat docs: the reference guide and app developer's guide.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Thébault, Médérick [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 12:31 PM
To: Tomcat Users List
Subject: Tomcat user guide

Hello,

A part from this list, does someone have a good reference for a Tomcat user
guide?

Thanx,


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


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



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread epyonne
IMHO, instead of one instance per developer, I think you should have one
development server with one instance of Tomcat shared by the 3 developers.
If each of them is working on individual project, each developer can has
his/her own application directory in Tomcat.  And if they are working as a
team on one project, you can use a version control software like CVS to
control it.

Just make sure nobody modify any system file in Tomcat without consensus,
and you will be fine.  There is no need for multiple Tomcat within
development.  But you need a separate installation for the test server, and
another installation for the production server.

If you must have a separate instance for each developer, you can simply use
different port number for each instance.

Hope this helps.


- Original Message -
From: Pitre, Russell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 01:00 PM
Subject: RE: What is a good dev-enviroment for servlet/tomcat?


That's a good question, and I'd like to add a question too.

How do you setup a server so that if you had 3 developers...each one has
their own instance of tomcat running at the same time??


Russ

-Original Message-
From: joe udder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: What is a good dev-enviroment for servlet/tomcat?

Hello.

I am thinking of how I can improve my development enviroment when
doing my
webapps.
Until now, I've used a handcrafted build.xml to make my webapp, and
then
the usual

_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail


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


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



Re: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread epyonne
Just a precaution.  We had run into problem before when different developers
have different version of Tomcat with different configuration locally.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 01:55 PM
Subject: RE: What is a good dev-enviroment for servlet/tomcat?



Howdy,

IMHO, instead of one instance per developer, I think you should have
one
development server with one instance of Tomcat shared by the 3
developers.

Why oh why do you think that??

Yoav Shapira



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]


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



Re: Unable to access JSP page on local host

2003-10-06 Thread epyonne
Try not to install Tomcat in the Program Files path.  The path to Tomcat
installation SHOULD NOT have any space in between.

By the way, have you already checked if the installation of Tomcat was
indeed successful by bringing up the Tomcat page with
http://localhost:your_port_number ?

If you are simply accessing a JSP page under catalina_home/your project,
you don't have to use the deployment descriptor (i.e. web.xml).

Hope this helps.


- Original Message -
From: anunay ashish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 06:37 AM
Subject: Unable to access JSP page on local host


 Hi,
 I am using TOMCAT to host JSP pages. The directory structure is:
 C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system
 The page that I want to access is pageFormat.jsp inside Tracking_system
 through the url: http://localhost:8080/Tracking_system/pageFormat.jsp
 The web.xml file inside WEB-INF is containing only the following tag:
 web-app
 /web-app
 I am not able to access the page. Sometimes I am able to and sometimes I
am
 not with the error description coming as:
 The requested resource (/Tracking_system/pageFormat.jsp) is not available.


 In fact /Tracking_system is also not shown as a directory.

 Where am I doing wrong? What is the problem?
 Regards,
 Anunay Ashish.


 -
 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: Unable to open the servlet.

2003-10-06 Thread epyonne
Please read my reply to your previous post on the same subject.



- Original Message -
From: anunay ashish [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 06, 2003 01:31 AM
Subject: Unable to open the servlet.


 Hi,
 My servlet is placed at:
 C:\Program Files\Apache Group\Tomcat
 4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
 with the name addDataServlet

 My web.xml is as follows:
 web-app
  servlet
  servlet-name
   addDataServlet
  /servlet-name
  servlet-class
   com.scheduler.addDataServlet
  /servlet-class
 /servlet
  welcome-file-list
 welcome-filepageFormat.jsp/welcome-file
 /welcome-file-list
 web-app

 I am calling it from my JSP page as:
 form action=/com/scheduler/addDataServlet method=Post
input type=text name=newPageFormat
input type=Submit name=submitButton value=Submit
   /form

 But on clicking the submit button it takes me to:
 HTTP Status 404 - /com/scheduler/addDataServlet

 --
--
 

 type Status report

 message /com/scheduler/addDataServlet

 description The requested resource (/com/scheduler/addDataServlet) is not
 available.


 --
--
 

 Apache Tomcat/4.1.27
 Please suggest me the remedy for this.
 Regards,
 Anunay Ashish.


 -
 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: Unable to run Tomcat 5.0.12

2003-10-06 Thread epyonne
Just a wild guess is the Tomcat 5.0.11 still running?  Did you change
the port number for Tomcat 5.0.12?

What error message did you get?


- Original Message -
From: John Bell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 06, 2003 08:43 AM
Subject: Re: Unable to run Tomcat 5.0.12


 I have installed Tomcat 5.0.12 on Win 2000 using j2sdk1.4.2_01 but it will
 not run.
 Should I be havving a problem?  Toncat 5.0.11 was fine.

 - Original Message -
 From: Wade Chandler [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Monday, October 06, 2003 2:19 PM
 Subject: RE: Unable to access JSP page on local host


  One thing copy a web.xml file from one of the examples and use that.
  Reason being validation and DTD tags.  I had a problem similar to that
  once.
 
  -Original Message-
  From: epyonne [mailto:[EMAIL PROTECTED]
  Sent: Monday, October 06, 2003 8:58 AM
  To: Tomcat Users List
  Subject: Re: Unable to access JSP page on local host
 
 
  Try not to install Tomcat in the Program Files path.  The path to Tomcat
  installation SHOULD NOT have any space in between.
 
  By the way, have you already checked if the installation of Tomcat was
  indeed successful by bringing up the Tomcat page with
  http://localhost:your_port_number ?
 
  If you are simply accessing a JSP page under catalina_home/your
  project, you don't have to use the deployment descriptor (i.e.
  web.xml).
 
  Hope this helps.
 
 
  - Original Message -
  From: anunay ashish [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, October 04, 2003 06:37 AM
  Subject: Unable to access JSP page on local host
 
 
   Hi,
   I am using TOMCAT to host JSP pages. The directory structure is:
   C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system The
   page that I want to access is pageFormat.jsp inside Tracking_system
   through the url: http://localhost:8080/Tracking_system/pageFormat.jsp
   The web.xml file inside WEB-INF is containing only the following tag:
   web-app /web-app
   I am not able to access the page. Sometimes I am able to and sometimes
  I
  am
   not with the error description coming as:
   The requested resource (/Tracking_system/pageFormat.jsp) is not
   available.
  
  
   In fact /Tracking_system is also not shown as a directory.
  
   Where am I doing wrong? What is the problem?
   Regards,
   Anunay Ashish.
  
  
   -
   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]
 
 
 
 
  -
  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]



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



Re: Development Tools

2003-09-09 Thread epyonne
I use two different setups:
1. Eclipse 2.1.1 with Lomboz plugin (both are free)
2. Eclipse 2.1.1 with MyEclipse plugin (MyEclipse costs $30/year)

Both are good, but MyEclipse has better technical support than Lomboz which
is practically non-exist.  Hope this helps.


- Original Message -
From: Nihita [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 07:54 AM
Subject: Development Tools


Are there any free available development tools like Oracle Developer suite
for developing J2EE application which are also Tomcat complaint ? And will
the forms and pages developed using Oracle Internet development Suite work
with tomcat ?

Thanks
Nihita

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



Re: Any Recommended Java/Servlet Books

2003-09-03 Thread epyonne
Core Servlets.


- Original Message - 
From: Jim Si [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 11:32 AM
Subject: Any Recommended Java/Servlet Books


 Hello Everyone,
 
 Could anyone tell me some good reference books related to java
 servlets?  In
 addition,  any java books related to the Multimedia like showing
 pictures,
 playing videos and etc.
 
 Thank you.
 
 
 -
 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: JSP vs C#/.NET

2003-09-02 Thread epyonne
Totally agree.  There are plenty of forums on the web for this kind of
political discussion.  It is okay to compare (in a technical sense) the two
technologies in a technical forum like this one, but it is inappropriate to
bash Microsoft or the government.  Such discussion should be taken off-line
or somewhere else.


- Original Message -
From: Sudhir Movva [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 08:02 AM
Subject: RE: JSP vs C#/.NET


 Please do not make this a politics discussion list. Decisions to use a
 technology is made based on many factors (which technology suits the
 requirements and preference of an enterprise as a whole, availability of
 resources in that technology, support provided, confidence of the
 customers... many more). Bias towards Java or MS doesn't have to do
with
 decision making, as it's not one person's decision.

 -Sudhir.


 -Original Message-
 From: Jerry Birchler [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 01, 2003 11:02 PM
 To: Tomcat Users List
 Subject: RE: JSP vs C#/.NET

 M$ thinks they can take on the US justice department and doesn't mind
 offshoring jobs from the US. I'd say that the eventual backlash of that
 political reality will hurt them if the majority of American people
believe
 that can they elect people who will represent them--That could be a
stretch.

 Otherwise, .Net will take hold and dominate, especially if Sun
Microsystems
 and IBM does nothing to improve the performance of the virtual machine,
and
 the US Congress does nothing to protect its citizens from the exploits of
 globalization. Oddly enough, the few IT jobs I see in America these days
are
 both .Net and Java.

 I love Java, but I am willing to learn .Net as means to survive a hostile
 market. In fact, I have already written my share of C# and VB.NET. It
makes
 me sick, but I'm not going to obselete myself. Let's just hope that the US
 government goes after Linux for the obvious reasons and that this push
 results in the advances that us Java lovers  would all benefit from.

 -Original Message-
 From: Xingqun Jiang [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 01, 2003 4:12 PM
 To: Tomcat Users List
 Subject: Re: JSP vs C#/.NET


 Sorry, guys,

 I posted this messages a few days ago. And I don't why it comes up again.

 Xingqun


 - Original Message -
 From: Xingqun Jiang [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, August 25, 2003 4:16 PM
 Subject: JSP vs C#/.NET


 Hi,

 I am a pure java supporter. I don't like C# or .Net because of Microsoft's
 monopolization (sorry, kind of prejudice). However, I notice that more and
 more people pick up C#/.NET due to their new advantages. I also heard that
 C# is much faster than Java. My concern is, can Java/JSP still be
 competitive to Microsoft's products? I don't like to see java be beaten by
 Microsoft since it borrowed so many ideas from java to make up the
so-called
 C#.

 ok, feel free to talk about this topic.

 Lance


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

 -
 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: Running Tomcat off a CD

2003-08-29 Thread epyonne
MessageIf you can get access to a laptop (I thought most schools have that or am I 
wrong?), you can install everything on it and then do your demo thru a Proxima 
projector.  If you cannot get a laptop, you can use a portable USB2 hard-drive.  That 
should work.

Hope this helps.


  - Original Message - 
  From: DeVenuto, Rob 
  To: [EMAIL PROTECTED] 
  Sent: Friday, August 29, 2003 02:45 PM
  Subject: Running Tomcat off a CD


  Tomcat 4.1.24 / WINXP SP1

  Has anyone successfully run Tomcat off a CD?  I know this is a little out of the 
ordinary.  We have a J2EE app which I would like to teach to students.  The problem is 
having a quick setup environment for the students with having to install minimal 
software.  I have adjusted the variables in the startup.bat, setclasspath.bat, and 
catalina.bat files to point to a CD, but am still not having any luck.  

  Any thoughts or suggestions?

  Thanks in advance,

  Rob DeVenuto


--


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

Re: A good book about Tomcat

2003-08-14 Thread epyonne
I miss the Programmers to Programmers (P2P) that Wrox used to have.  I sure
hope Wiley or Apress will carry on.


- Original Message -
From: John Turner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 02:57 PM
Subject: Re: A good book about Tomcat



 The company is.  Others have bought up the intellectual property
 (copyrights and such).  Most of the assets were bought by Wiley and
Apress.

 John

 Angus Mezick wrote:

  Isn't wrox toast?
 
 
 -Original Message-
 From: Mubaraka Arif [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 14, 2003 3:29 PM
 To: Tomcat Users List
 Subject: Re: A good book about Tomcat
 
 
 Professional Apache Tomcat - Vivek Chopra, Ben Galbraith, Sing Li,
 Romin Irani... [Wrox Publication] is good one for TOmcat
 Administration
 and Configuration.
 
 ~ Mubaraka Arif
Software Developer
Administrative Technology  Information Services
St Mary's University
San Antonio, TX -78228
 
 
 On 2003.08.14 14:22 Alexander Vavilin wrote:
 
 Hi all, can anybody advice me a good book about Tomcat ???.
 
 --
 Best regards,
  Alexander  mailto:[EMAIL PROTECTED]
 
 
 
 
 -
 
 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]
 
 
 
 
  -
  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]



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



Re: Using Tomcat and JBoss together

2003-07-31 Thread epyonne
Tomcat is a servlet container and JBoss is a full fledge J2EE/EJB container.
Having said that, JBoss needs Tomcat (or Jetty) to be complete.  Currently,
I am using jboss-3.2.1_tomcat-4.1.24 bundle and it is great.  I highly
recommend you to use JBoss instead of Apache2.

Hope this helps.


- Original Message -
From: P. Dwayne Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:38 PM
Subject: Using Tomcat and JBoss together


 New to the world of Java... I'm confused as to why someone would want to
 run Tomcat and JBoss together.  Don't they do the same thing?

 I just recently managed to get Apache 2 and Tomcat working with
 mod_jk2... and then my boss asks me to look into JBoss.  I was expecting
 to find out how to get Apache2 and JBoss working together, not all three.

 Really confused... please help.

 Dwayne



 -
 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: Best Tomcat Book, Recommendations???

2003-07-29 Thread epyonne
You are so wrong about Wrox books.  Most of them are very good and
moderately priced.  The Professional Tomcat book from Wrox is an excellent
book.  Of course, there are some discrepancies.  But hey, there is no writer
on earth can catch up 100% with the fast pace of software development.  The
Professional Tomcat book is the best you can get out there.

By the way, I also bought the JBoss book from Wrox and it is very good as
well.  =)


- Original Message -
From: Tony LaPaso [EMAIL PROTECTED]
To: Tomcat User [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 06:11 PM
Subject: Best Tomcat Book, Recommendations???


 Hi all,

 Can some of you recommend a good Tomcat book? In the archives I've read
that
 the Wrox book, Professional Apache Tomcat, is pretty good but my overall
 impression of Wrox books is that they're generally not worth the paper
 they're printed on.

 I know O'Reilly has a relatively new TC book that looks pretty good. I was
 also hoping to find something that covered TC 5, although this is a nice
to
 have.

 Any suggestions?

 Thanks.



 -
 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: Best Tomcat Book, Recommendations???

2003-07-29 Thread epyonne
Yeah, Wiley shuts down the P2P (programmers to programmers) site.  I hope it
is just a temporary thing.  Otherwise, they are destroying something that
was great.


- Original Message -
From: John Turner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 08:19 AM
Subject: Re: Best Tomcat Book, Recommendations???



 Most of the Wrox titles have been picked up by Wiley and Apress (Wrox
 liquidated earlier this year), so its possible the books will be closer
 to what you prefer when the second printing comes around.

 John

 Collins, Jim wrote:

  I wish Wrox would bind the books the same way as O'Reilly though.
 
  -Original Message-
  From: epyonne [mailto:[EMAIL PROTECTED]
  Sent: 29 July 2003 13:43
  To: Tomcat Users List
  Subject: Re: Best Tomcat Book, Recommendations???
 
 
  You are so wrong about Wrox books.  Most of them are very good and
  moderately priced.  The Professional Tomcat book from Wrox is an
excellent
  book.  Of course, there are some discrepancies.  But hey, there is no
writer
  on earth can catch up 100% with the fast pace of software development.
The
  Professional Tomcat book is the best you can get out there.
 
  By the way, I also bought the JBoss book from Wrox and it is very good
as
  well.  =)
 
 



 -
 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 - username/password

2003-07-28 Thread epyonne
Under the Tomcat_Home\conf folder, there is a file called
tomcat-users.xml.  Open it up with a text editor and it should tell you the
password for manager and admin.

Hope this helps.


- Original Message -
From: Hari Om [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 01:25 PM
Subject: Tomcat - username/password


 when I run my Tomcat with URL as http://localhost:8080/manager or as
 http://localhost:8080/admin it is asking for Username and Password. What
 username/password should I need to enter?

 _
 Add photos to your messages with MSN 8. Get 2 months FREE*.
 http://join.msn.com/?page=features/featuredemail


 -
 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: HOW TO INSTALL THE JDBC FOR TOMCAT

2003-07-22 Thread epyonne
Since you are using MySQL, you can download the Connector-J from MySQL site.
It is the JDBC driver.

Hope this helps.


- Original Message -
From: frankie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 02:49 AM
Subject: HOW TO INSTALL THE JDBC FOR TOMCAT



 Dear ALL,
now i have setuped and intergated the apache and Tomat
 successfully!Also,i have installed the J2SDK and mysql too.
 now i want to install the JDBC but i cannot find the document that can
teach
 me how to do it!!Anyone can give me guideline of Install JDBC or some
webite
 for reference??

 --
 Frankie

 Webmail


 -
 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: Configuring Tomcat (NEWBIE)

2003-07-22 Thread epyonne
  Also, as a novice, you are setting yourself up for some potential
  grief by using Apache.

 Ok I will stick to tomcat. Does this mean I should stop the Apache server?

  There is no requirement to use Apache to learn JSP and servlet
  development.  You will make things much easier on yourself if you
  ignore Apache for now and simply use Tomcat.  Tomcat is perfectly
  capable of handling all of your needs, both as a normal web server and
  as a servlet container for JSP and servlet development.

 Er ... whats all the talk ablout JSP? All I'm trying to develop is a
 servlet. How closely are servlets related to JSP? I'm sorry to ask. Its
 only because I would like to know.


Tomcat is a servlet container.  You can run servlet on Tomcat or you can run
JSP which will be translated to servlet on Tomcat as well.  Anyway, if all
you do are servlets, you do not need the application server.  It will save
yourself a lot of grief.

Hope this helps.

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



Re: Tomcat Standalone with Jboss

2003-07-19 Thread epyonne
Harsh,

As I have said before, download and install the JBoss-Tomcat bundle and run
it on a certain port.  Then you can install the Tomcat standalone on another
port.  There is no conflict as long as they are on different ports.
JBoss-Tomcat bundle does not use CATALINA_HOME, so you can keep that for
your standalone Tomcat.  Currently, I have applications running on my
JBoss-Tomcat bundle and applications running on my Tomcat standalone, all on
the same computer, and I don't have any problem whatsoever.  Oh, by the way,
my computer has a 2GHz P4 processor with 1G memory though.  But there should
be no problem with a lesser computer.

Later on when you want to move to another computer, all you have to do is to
move the JSPs, servlets, beans, etc to the new webapps location on the new
computer.  It is very easy.

Hope this helps.


- Original Message -
From: Harsh Nagpal [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 12:38 AM
Subject: RE: Tomcat Standalone with Jboss


 Well the truth is that I'm new to Jboss and tomcat

 I need Jboss and tomcat to run on separate VMs (and later on, on diff
 machines). I need them to interact, as in the EJB would be the JBoss
 machine and the the servlet/webservice on the another machine. How do i
 accomplish this?


 Harsh

 On Thu, 2003-07-17 at 00:17, Shapira, Yoav wrote:
 
  Howdy,
  Download and install JBoss, download and install tomcat. ;)
 
  You're going to need to be more specific...
 
 
  Yoav Shapira
  Millennium ChemInformatics
 
 
  -Original Message-
  From: Harsh Nagpal [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 16, 2003 2:46 AM
  To: [EMAIL PROTECTED]
  Subject: Tomcat Standalone with Jboss
  
  Hi!
  
  How do you setup JBoss and Standalone Tomcat(4.1.24)
  
  Any help would be appreciated
  
  -Harsh
  
  
  -
  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]
 



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



unable to access after password change

2003-07-16 Thread epyonne =)
Hello All,

When I installed Tomcat, I used admin/admin for username and password.  This 
morning I changed the password to be more secure.  After that, I cannot 
access the manager or the administration page anymore.  Even by restarting 
Tomcat.  All I got is:
HTTP Status 403 - Access to the requested resource has been denied

Does anyone know why?  and how to resolve it?  I hope I don't have to 
re-install Tomcat.

Thank you very much.

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


RE: unable to access after password change

2003-07-16 Thread epyonne =)
Thanks Trevor, for the reply.  I found the problem on the tomcat-users.xml 
file.  When I changed my password, I added my name in the Full Name section. 
 It could be because of the space between first name and last name or 
something else (I am not sure), Tomcat didn't like it and I cannot access, 
even though I am using the right username and password.

Anyway, the problem is resolved by deleting the Full Name.  But if anyone 
knows exactly the reason, I still like to hear.

Thank you very much.



From: Paterson, Trevor [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: unable to access after password change
Date: Wed, 16 Jul 2003 15:47:10 +0100
you should find your passwords in {$catalina_home}\conf\tomcat-users.xml

Trevor Paterson PhD
[EMAIL PROTECTED]


-Original Message-
From: epyonne =) [mailto:[EMAIL PROTECTED]
Sent: 16 July 2003 15:43
To: [EMAIL PROTECTED]
Subject: unable to access after password change
Hello All,

When I installed Tomcat, I used admin/admin for username and password.  
This

morning I changed the password to be more secure.  After that, I cannot
access the manager or the administration page anymore.  Even by restarting
Tomcat.  All I got is:
HTTP Status 403 - Access to the requested resource has been denied
Does anyone know why?  and how to resolve it?  I hope I don't have to
re-install Tomcat.
Thank you very much.

_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-
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]
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Re: RES: unable to access after password change

2003-07-16 Thread epyonne =)
Hmm, I wonder if you have read my reply to this thread.  I kept getting the 
following email from [EMAIL PROTECTED]:
Your recent message to this server regarding `RE: unable to access after
password change` was not delivered.  Your address is listed in one or more 
suppression files
on this server or your account is configured to allow local mail traffic 
only.
Please contact the postmaster at this domain if additional information is
required.

I have no clue what they are talking about.  I can see it and people have 
replied to it prove that the post was delivered.  But I wonder if the 
delivery is only partial and to everyone on the mailing list

Anyhow, as I have said in my reply, I checked the tomcat-users.xml file.  
The username and password are correct.  Just that I added my name as the 
Full Name and I suspect that the space between the first name and last 
name caused the problem.  I don't know.  But the problem resolved after 
deleting the Full Name.

I fixed the problem but I don't know why it is fixed.  Please advise if you 
know the answer.  Thanks.



From: Christian J. Dechery - ACCENTURE [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RES: unable to access after password change
Date: Wed, 16 Jul 2003 13:32:17 -0300
Where (how) did u change the password?

check TOMCAT_DIR/conf/tomcat-users.xml to see if ur using the correct
password.
___
:: Christian J. Dechery
:: Accenture do Brasil
:: CHT - Solutions Operations
:: [EMAIL PROTECTED]
 -Mensagem original-
 De: epyonne =) [mailto:[EMAIL PROTECTED]
 Enviada em: quarta-feira, 16 de julho de 2003 11:43
 Para: [EMAIL PROTECTED]
 Assunto: unable to access after password change


 Hello All,

 When I installed Tomcat, I used admin/admin for username and
 password.  This
 morning I changed the password to be more secure.  After
 that, I cannot
 access the manager or the administration page anymore.  Even
 by restarting
 Tomcat.  All I got is:
 HTTP Status 403 - Access to the requested resource has been denied

 Does anyone know why?  and how to resolve it?  I hope I don't have to
 re-install Tomcat.

 Thank you very much.

 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


 -
 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]
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Re: Tomcat Standalone with Jboss

2003-07-16 Thread epyonne
JBoss has a version with Tomcat 4.1.24 bundled, so there is no reason to use
JBoss and Tomcat separately.  As a matter of fact, it is what the JBoss
people recommend people to do.

On the other hand, you can set up a separate Tomcat standalone on different
port, for the applications that does not require a EJB container.

Hope this helps.



- Original Message -
From: Harsh Nagpal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 1:45 AM
Subject: Tomcat Standalone with Jboss


 Hi!

 How do you setup JBoss and Standalone Tomcat(4.1.24)

 Any help would be appreciated

 -Harsh


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



newbie question on Tomcat security

2003-07-14 Thread epyonne =)
Hello All,

I just developed a JSP application called myapp,
running on Tomcat 4.1.24. How can I keep people from
accessing my files under tomcat/webapps/myapp? For
example, people can do a simple view source and find
the path to my css file, then they can type in the
path on the browser to access my files.
What kind of security that I should set up for that?
I am pretty new to Tomcat so I need help.
By the way, my OS is Windows 2000 Pro.

Any help will be very much appreciated.

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: Newbie question on Tomcat security

2003-07-14 Thread epyonne
Thanks for the reply.  Actually, I don't worry about people can do view
source.  I just don't like the fact that they can type in the folder and
list the whole directory tree on the browser.  They can open any file on the
directory and potentially alter the code.

Most web sites I've been to, if you type in the folder directory, you will
get an access deny or something like that.  I am wondering if I can set up
something similar in Tomcat?

By the way, I do have an index.jsp.

Thanks.



- Original Message -
From: Reginald Oake [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 5:58 PM
Subject: Re: Newbie question on Tomcat security


 Hi.

 I'm not certain about this but it seems to me that it would be next to
 impossible to keep the html source from being viewed by someone using
 any browser (this is not a server side issue). The source has to be
 uploaded to the browser and, once it is uploaded anyone can view source
 on the page.

 As far as keeping your directory structure at least a little bit more
 obscured you can do two things. You can never fully obscure the
 directory structure as the browser requires this information to load
 images, style sheets and links.

 The first is to put an index.jsp or index.html file in so that people
 cannot view your directory structure directly (there is probably a
 better way to do this).

 The second is to use servlet mappings.

 I'm not sure if this needs to be said but even though people can
 determine your directory structure with fairly little effort this does
 not, in itself, pose a security risk.


 Thanx


 Reg


 On Mon, 2003-07-14 at 15:49, substring wrote:
  Hello All,
 
  I just developed a JSP application called myapp,
  running on Tomcat 4.1.24.  How can I keep people from
  accessing my files under tomcat/webapps/myapp?  For
  example, people can do a simple view source and find
  the path to my css file, then they can type in the
  path on the browser to access my files.
 
  What kind of security that I should set up for that?
  I am pretty new to Tomcat so I need help.
 
  By the way, my OS is Windows 2000 Pro.
 
  Any help will be very much appreciated.
 
 
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.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]



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