RE: JDK is not enough. SDK is needed

2002-11-27 Thread Ben Deany

I must admit that I find the Jakata web-site a little difficult to
navigate. I am a developer, so I am somewhat used to moving through
websites to find what I need, but I would imagine that someone with less
experience would be a bit confused.
It's a great site in general, and I am a big fan of Apache and the
Jakarta project. Perhaps some work needs to be done to make information
about this project more easily accessible?

-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 27 November 2002 4:03 PM
To: Tomcat Users List
Subject: RE: JDK is not enough. SDK is needed


I couldn't disagree with you more Yoav.

The very reason there are so many "users how to's" up on the web, and 
being used, tells you that the web site for Jakarta is poorly planned.
You 
must put on the shoes of the beginner who is seeking information to 
understand.  Sure now that I've been dealing with it for awhile  I can 
find what I need at the Jakarta site, but I still remember my first 
impression as being one of total confusion to which the web site  added.

I was amazed myself at the time.  Thinking that if the main web site for

Jakarta was this jumbled then possibly the code was no better.  You 
probably have forgotten your early daze.

rls
 




"Shapira, Yoav" <[EMAIL PROTECTED]>
11/25/2002 06:05 AM
Please respond to "Tomcat Users List"

 
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc: 
Subject:RE: JDK is not enough. SDK is needed


Howdy,
Whoa there skippy ;)  Venting is good sometimes...

>According to this page, it references j2se which is the JRE, the
runtime.
>If
>you're using Tomcat binaries and not compiling any Java, you would
think
>you
>only need the runtime libraries and not the whole SDK. 
>http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#1

"This page" above is some user's howto guide.  I wouldn't count on it as
the definitive reference for anything.

The Jakarta site says you need the JDK, not the JRE.  These definitions
are uniform in their use across java.sun.com, the various apache.org
sites, theserverside, jguru, many vendor sites, etc. so there is very
little confusion as to which one is which.  The JDK is the bigger one,
containing various development tools including Javac and its tools.jar
packaging required for runtime compilation of JSPs.  The JRE is the
smaller one.

>Also Jakarta's site is one of the worst sites I visited. The home page
says
>nothing about Jakarta upfront. No intro about jakarta and what it's
about.

I find the Jakarta home page EXCELLENT.  I've used it as a model in
telling my developers, contractors, etc, how to structure their product
web sites.  If you scroll a bit down past the news, on the front page
there is a section that explains what Jakarta is quite well:

>Welcome
>The Jakarta Project creates and maintains open source solutions on the
Java >platform for distribution to the public at no charge. Jakarta
products are >developed by and distributed through various subprojects,
which are listed >the SubProjects menu the left, or in the section
below. Each subproject has >its own team of developers and committers,
and its own mailing list. 
>
>All product support is provided through the subproject mailing lists.
All >work at Jakarta is provided a volunteer basis. There is no paid
staff. >Please considerate and do your homework before asking our
volunteers to >donate additional time and energy to your project. 
>
>All active products from the Java Apache Project have been merged into
the >Jakarta website. A few retired projects (like JServ) are still
available >through the Java Apache website. 

>nothing about Tomcat. There's no 'requirements' section. Therefore I
can't
>find out what I need to run Tomcat. For someone who just wants to use
it,

The documentation for tomcat is easily accessible.  The READ-ME tells
you that the install and run document has requirements.  The install and
run document has clear, complete, and concise requirements.  Every
tomcat distribution also includes this documentation in the top level
directory when you unpack it.

>the resources are hidden in the site. There's no search function and
the
>site is not easy to navigate. I hope it wasn't developed by a
developer.
>Web developers do not necessarily design good web pages.

Not necessarily is correct.  There guys, IMHO, do design excellent web
pages.  I've found them easy to navigate and to find what I need.
There's a "Search Jakarta" link at the top left of the home page. 

I hope you've installed it all, and chilled out a bit, over the weekend.
As a future reference, I would point out that historically, calm and
well thought-out questions to this list tend to get more and better
responses.  There's a good reason most people (and believe me, a lot of
people read it) chose to ignore your message.

Yoav Shapira
Millennium ChemInformatics



--
To unsubscribe, e-mail:

For additional commands

RE: Newbie question -- help.

2002-11-26 Thread Ben Deany

Start Tomcat (from the Start Menu on Windows if that is what you are
using) and then point your browser to http://localhost:8080/.

-Original Message-
From: Shiva Paranandi [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 27 November 2002 3:05 PM
To: [EMAIL PROTECTED]
Subject: Newbie question -- help.


How do I access the ROOT web app in the default
webapps directory in tomcat? I want to access it with
a browser.

Thanks,
Shiva.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:

For additional commands, e-mail:



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




Apache Tomcat 4.1 and RMI

2002-11-26 Thread Ben Deany

Hi everyone,

I am using WebSphere to develop an enterprise application. To this end I
have a servlet which serves up a page that contains an applet. Tomcat
4.1 is my application server and I have it installed on my machine
successfully (my OS is Windows XP). The servlet's init() method creates
an RMI registry on port 1099 that holds an instance of an engine that I
want to make calls to. That works fine.

However, when the applet is downloaded and starts executing I get a
SocketPermissions exception "connection refused" (which I can see in my
plug-in console). This is caused by a call to the "Naming.lookup()"
method in the applet's "init()" method. I gather that I have not set up
my Java plug-in/Tomcat security policy files correctly. I tried adding
this to the catalina.plicy file, but with no luck:

grant codeBase= "file:${catalina.home}/webapps/salerio/-" {
permission java.net.SocketPermission "localhost:1099",
"accept,connect,listen";
};

Actually, this is my first post, but I just had an e-mail through from
this list about Tomcat and RMI. Is this a popular subject? If so, is
there any documentation that could help me address this issue?

Thanks in advance,

Kind regards,
Ben Deany
Software Developer - Lasata Pty Ltd