Re: Servlet Mapping...:(

2001-11-17 Thread BacardiWasabi

My servle class is ActionSerlvet (No pACKAGE). I have
placed under WEB-INF/classes

Still getting error



--- Frank Lawlor [EMAIL PROTECTED] wrote:
 A couple of things to check
 
 Is your servlet class really ActionServlet and not
 something
 like com.mycom.ActionServlet?  
 If it IS ActionServlet then
 the class file should be in WEB-INF/classes (if it
 is
 com.mycom.ActionServlet then it should be in 
 WEB-INF/classes/com/mycom/).
 
 Frank Lawlor
 Athens Group, Inc.
 (512) 345-0600 x151
 Athens Group, an employee-owned consulting firm
 integrating technology
 strategy and software solutions.
 
 
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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




build error

2001-11-17 Thread Papo Napolitano

Hi!

I'm getting this error when I make a rebuild of a WebApp. I think that I
have some problem saving the sessions to be loadef after the rebuild, but I
couldn't solve it.

Any idea ??

I'm using Tomcat 4.0 with JBoss.

Cheers,

Papo.


--
[EmbeddedCatalinaServiceSX] StandardManager[/bcu]: Seeding random number
generator class java.security.SecureRandom
[EmbeddedCatalinaServiceSX] StandardManager[/bcu]: Seeding of random number
generator has been completed
[EmbeddedCatalinaServiceSX] StandardManager[/bcu] ClassNotFoundException
while loading persisted sessions: java.lang.ClassNotFoundException:
dac.ejb.usermanager.UserManager
java.lang.ClassNotFoundException: dac.ejb.usermanager.UserManager
at javax.management.loading.MLet.findClass(MLet.java:800)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:712)
at
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
82)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at org.apache.catalina.session.StandardSession.readObject(Unknown
Source)
at
org.apache.catalina.session.StandardSession.readObjectData(Unknown Source)
at org.apache.catalina.session.StandardManager.load(Unknown Source)
at org.apache.catalina.session.StandardManager.start(Unknown Source)
at org.apache.catalina.core.ContainerBase.start(Unknown Source)
at org.apache.catalina.core.StandardContext.start(Unknown Source)
at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa
talinaServiceSX.java:349)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal
inaServiceSX.java:250)
at
org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:181)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:509)
at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
at java.lang.Thread.run(Thread.java:484)
[EmbeddedCatalinaServiceSX] StandardManager[/bcu] Exception loading sessions
from persistent storage
java.lang.ClassNotFoundException: dac.ejb.usermanager.UserManager
at javax.management.loading.MLet.findClass(MLet.java:800)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:712)
at
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
82)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at org.apache.catalina.session.StandardSession.readObject(Unknown
Source)
at
org.apache.catalina.session.StandardSession.readObjectData(Unknown Source)
at org.apache.catalina.session.StandardManager.load(Unknown Source)
at org.apache.catalina.session.StandardManager.start(Unknown Source)
at org.apache.catalina.core.ContainerBase.start(Unknown Source)
at org.apache.catalina.core.StandardContext.start(Unknown Source)
   

Re: This would be cool in tomcat as well...

2001-11-17 Thread Vladimir Grishchenko

Tomcat is a _reference_ implementation.
I doubt it will be polluted by non-portable extensions, even if they seem to
be useful.

--V.


- Original Message -
From: Geir Magnusson Jr. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, November 17, 2001 9:43 AM
Subject: This would be cool in tomcat as well...



 http://www.caucho.com/products/resin/ref/velocity.xtp

 :)

 geir

 --
 Geir Magnusson Jr. [EMAIL PROTECTED]
 System and Software Consulting
 Whoever would overthrow the liberty of a nation must begin by subduing
the
 freeness of speech. - Benjamin Franklin



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



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




RE: This would be cool in tomcat as well...

2001-11-17 Thread Barney Hamish

Velocity is part of the Jakarta project of which Tomcat is one part. You can
use this syntax already by using Velocity with Tomcat.
http://jakarta.apache.org/velocity (I think, I can't get to the website to
check)

-Original Message-
From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 17, 2001 6:43 PM
To: Tomcat Users List
Subject: This would be cool in tomcat as well...



http://www.caucho.com/products/resin/ref/velocity.xtp

:)

geir

-- 
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
Whoever would overthrow the liberty of a nation must begin by subduing the
freeness of speech. - Benjamin Franklin



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

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




Re: This would be cool in tomcat as well...

2001-11-17 Thread Geir Magnusson Jr.

On 11/17/01 1:41 PM, Barney Hamish [EMAIL PROTECTED] wrote:

 Velocity is part of the Jakarta project of which Tomcat is one part. You can
 use this syntax already by using Velocity with Tomcat.
 http://jakarta.apache.org/velocity (I think, I can't get to the website to
 check)
 

I'm one of the Velocity developers, so I have some idea of what it can do
and where :)

The point is that a mainstream servlet engine is adding extensions to JSP
for what appears to be usability reasons, that's all - I thought the
community might be interested.

geir

 -Original Message-
 From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 17, 2001 6:43 PM
 To: Tomcat Users List
 Subject: This would be cool in tomcat as well...
 
 
 
 http://www.caucho.com/products/resin/ref/velocity.xtp
 
 :)
 
 geir

-- 
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
He who throws mud only loses ground. - Fat Albert


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




Re: This would be cool in tomcat as well...

2001-11-17 Thread Geir Magnusson Jr.

On 11/17/01 1:37 PM, Vladimir Grishchenko [EMAIL PROTECTED] wrote:

 Tomcat is a _reference_ implementation.
 I doubt it will be polluted by non-portable extensions, even if they seem to
 be useful.

Such as connectors to specific web servers?  :)

While I did post this knowing I was at risk of appearing to troll,  I
wasn't, and thought it was interesting.

Come visit us in Velocity-land sometime.

geir

 
 --V.
 
 
 - Original Message -
 From: Geir Magnusson Jr. [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, November 17, 2001 9:43 AM
 Subject: This would be cool in tomcat as well...
 
 
 
 http://www.caucho.com/products/resin/ref/velocity.xtp
 
 :)
 
 geir
 
 --
 Geir Magnusson Jr. [EMAIL PROTECTED]
 System and Software Consulting
 Whoever would overthrow the liberty of a nation must begin by subduing
 the
 freeness of speech. - Benjamin Franklin
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

-- 
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
Whoever would overthrow the liberty of a nation must begin by subduing the
freeness of speech. - Benjamin Franklin



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




Please help save Tomcat for a high profile project in Switzerland: Problem compiling mod_webapp for IBM HTTP Server 1.9.19 running on AIX 4.3.3.

2001-11-17 Thread Oleg

My insufficient knowledge of AIX platforms prevents me from successfully 
compiling mod_webapp (as well mod_jk) on AIX 4.3.3 platform.
Hardware: IBM pSeries 660 model 6H1
OS: AIX 4.3.3 (not sure about exact maintenance level)
Web server: IBM HTTP Server 1.3.19
Servlet Engine: Tomcat 4.0.1
Tools  libraries: IBM's port of common GNU  other open-source packages 
available at
http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html

Tomcat itself appears to be running flawlessly. Unfortunately due to my 
poor knowledge of AIX I have been so far unable to recompile neither 
mod_webapp nor mod_jk for the specified platform. Actually compilation 
worked fine in both cases. What did fail was the 'ld' linker. As far as 
I can judge about possible cause of failure, the linker requires a 
module export (.exp) file in order to be able successfully complete 
linking process. In this respect AIX appears to differ from Unixes, as I 
had no problems at all building mod_webapp  mod_jk under Linux 
(Mandrake 8.0  Mandrake 8.1) as well as Solaris 8. The problem is 
aggravated by the management's desire to use IBM HTTP Server instead of 
plain Apache mainly due to IBM's SSL support, which is perceived to be 
more secure.

Is my assumption right? If yes, is there a way I could generate that 
damn .exp file for mod_webapp or somehow do without it? Has anyone ever 
succeeded in compiling mod_webapp for IBM HTTP Server on AIX 4.3.3?

I have been informed by the management that if problem is not resolved 
by mid next week Tomcat will be replaced with WebSphere 3.5 Standard 
Edition. :(((

Please help save Tomcat for the project. Our work is highly visible. The 
system will serve population of an entire Swiss canton. If successful 
the system may be adopted by other cantons with Tomcat prominently 
featured alongside some leading commercial products.

Many thanks in advance

Oleg Kalnichevski


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




Sealing violation Error

2001-11-17 Thread Sanjay bahal

I get this Sealing violation error not only when I try
to run tomcat but also when I try to execute a class:
My Class Path is -
  
C:\xerces\xerces.jar;C:\soap\lib\soap.jar;C:\wstk\wsdl4j\lib\wsdl4j.jar;C:\wstk\uddi4j\lib\uddi4j.jar;C:\wstk\lib\soapenc.jar;C:\wstk\lib\wstk.jar;C:\wstk\lib\xalan.jar;C:\wstk\lib
  
\xss4j.jar;C:\jsse\lib\jsse.jar;C:\jsse\lib\jnet.jar;C:\jsse\lib\jcert.jar;C:\wstk\soap\lib\pop3.jar;C:\wstk\soap\lib\mail.jar;C:\wstk\soap\lib\mailapi.jar;C:\wstk\soap\lib\activat
  
ion.jar;C:\wstk\soap\lib\smtp.jar;C:\soap\SOAPEnv\SOAPEnvelope.jar;c:\webservices\classes;.;C:\jsdk2
.1\server.jar;C:\jsdk2 .1\servlet.jar;
  
c:\ant\lib\ant.jar;C:\Kawa4.1\kawaclasses.zip;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\lib\i18n.jar
   I get the error:
   java.lang.SecurityException: sealing
violation 
   at
java.net.URLClassLoader.defineClass(URLClassLoader.java:234)

   at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
   at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at
java.security.AccessController.doPrivileged(Native
Method)
   at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at
java.lang.ClassLoader.loadClass(ClassLoader.java:297)
   at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
   at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
   at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88)
   at
com.ibm.uddi.client.UDDIProxy.send(UDDIProxy.java:1180)
   at
com.ibm.uddi.client.UDDIProxy.find_business(UDDIProxy.java:192)
   at tutorial.UDDI1.main(UDDI1.java:78)
   java.lang.NullPointerException at
com.ibm.uddi.request.FindBusiness.saveToXML(FindBusiness.java:194)
   at
com.ibm.uddi.client.UDDIProxy.send(UDDIProxy.java:1186)
   at
com.ibm.uddi.client.UDDIProxy.find_business(UDDIProxy.java:192)
   at tutorial.UDDI1.main(UDDI1.java:78)
   Exception in thread main Process Exit...


   When I try to run Tomcat: C:\ tomcat run

   FATAL: configuration error
   java.lang.SecurityException: sealing
violation
   at
java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
   at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
   at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at
java.security.AccessController.doPrivileged(Native
Method)
   at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at
java.lang.ClassLoader.loadClass(ClassLoader.java:297)
   at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
   at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:120)
   at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:92)
   at
org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:210)
   at
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187)
   at
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
   Tomcat classpath is:
  
CLASSPATH=.;c:\jdk1.3\lib\rt.jar;jswdk-1.0.1\lib\jspengine.jar;C:\jsdk2
.1\server.jar;C:\jsdk2 .1\servlet.jar;
  
c:\ant\lib\ant.jar;c:\xerces\xerces.jar;c:\soap\lib\soap.jar;c:\wstk\uddi4j\lib\uddi4j.jar;c:\wstk\wsdli4j\lib\wsdl4j.jar;c:\wstk\lib\wstk.jar;;c:\wstk\lib\xss4j.jar;c:\wstk\soap\l
  
ib\smtp.jar;c:\wstk\soap\lib\mail.jar;c:\wstk\soap\lib\smtp.jar;c:\wstk\soap\lib\mailapi.jar;c:\wstk\soap\lib\activation.jar;c:\webservices\classes;c:\jsse\lib\jcert.jar;c:\jsse\li
  
b\jnet.jar;c:\jsse\lib\jsse.jar;c:\tomcat\classes;c:\tomcat\lib\SERVLET.JAR;c:\tomcat\lib\PARSER.JAR;c:\tomcat\lib\JAXP.JAR;c:\tomcat\lib\ANT.JAR;c:\tomcat\lib\WEBSER~1.JAR;c:\tomc
 at\lib\JASPER.JAR;C:\jdk1.3\lib\tools.jar

I am using tomcat_3_2,soap_2_2,jdk1.3 on Windows 98.
I have tried palying with the Tomact configuration
using Sun's Xml files instead of Tomact's etc but no
success.

Thanks all,
Sanjay

__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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




Beginner Questions

2001-11-17 Thread Satish Talim

Hi,

I have just installed Tomcat 4.0.1 and am trying to figure out:
- any particular reason to have both Apache and Tomcat installed; or
whether Tomcat by itself is enough.

Which config file needs to be modified, so that:
- a particular servlet would be loaded as soon as Tomcat starts
- aliases can be set

In which directory of the Tomcat installation do we copy the html and
applet classes?

Amit Lonkar


__
Quick Heal Eudora Plugin has scanned email for known viruses, trojans and worms.
www.quickheal.com 




Re: Servlet Mapping...:(

2001-11-17 Thread Steve Guo

I assume you are using Tomcat (4.0?).

1. Does servlet in the webapps\examples folder work?
2. If so, is your servlet in the
examples\web-inf\classes folder? if so, you need to
invoke it by:
http://localhost:8080/examples/servlet/ActionServlet
3. You may also want to try to put it to
webapps\root\web-inf\classes,
if so, you can invoke by
http://localhost:8080/servlet/ActionServlet

Good luck.


--- BacardiWasabi [EMAIL PROTECTED] wrote:
 My servle class is ActionSerlvet (No pACKAGE). I
 have
 placed under WEB-INF/classes
 
 Still getting error
 
 
 
 --- Frank Lawlor [EMAIL PROTECTED]
 wrote:
  A couple of things to check
  
  Is your servlet class really ActionServlet and not
  something
  like com.mycom.ActionServlet?  
  If it IS ActionServlet then
  the class file should be in WEB-INF/classes (if it
  is
  com.mycom.ActionServlet then it should be in 
  WEB-INF/classes/com/mycom/).
  
  Frank Lawlor
  Athens Group, Inc.
  (512) 345-0600 x151
  Athens Group, an employee-owned consulting firm
  integrating technology
  strategy and software solutions.
  
  
  
  
  --
  To unsubscribe:  
 
 mailto:[EMAIL PROTECTED]
  For additional commands:
  mailto:[EMAIL PROTECTED]
  Troubles with the list:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Find the one for you at Yahoo! Personals
 http://personals.yahoo.com
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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




Re: Beginner Questions

2001-11-17 Thread Steve Guo

1. Apache and Tomcat: no idea
2. aliases are set in web-inf\classes\web.xml (I do
not know how yet), all the servlet class files need to
be in examples\web-inf\classes, or
root\web-inf\classes, you need to modify
conf\server.xml if you have other folders under
webapps\
3.html and jsp files can be in webapps\examples, or
webapps\root, or webapps\yourapp (you need to modify
server.xml for this), or in any subfolders of the
above folder. Frankly it is not very important where
your html or jsp files are since you have to specify
it in url.

Good luck

--- Satish Talim [EMAIL PROTECTED] wrote:
 Hi,
 
 I have just installed Tomcat 4.0.1 and am trying to
 figure out:
 - any particular reason to have both Apache and
 Tomcat installed; or
 whether Tomcat by itself is enough.
 
 Which config file needs to be modified, so that:
 - a particular servlet would be loaded as soon as
 Tomcat starts
 - aliases can be set
 
 In which directory of the Tomcat installation do we
 copy the html and
 applet classes?
 
 Amit Lonkar
 
 

__
 Quick Heal Eudora Plugin has scanned email for known
 viruses, trojans and worms.
 www.quickheal.com 
 
 


__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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




Re: Beginner Questions

2001-11-17 Thread Craig R. McClanahan



On Sun, 18 Nov 2001, Satish Talim wrote:

 Date: Sun, 18 Nov 2001 08:46:05 +0530
 From: Satish Talim [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Beginner Questions

 Hi,

 I have just installed Tomcat 4.0.1 and am trying to figure out:
 - any particular reason to have both Apache and Tomcat installed; or
 whether Tomcat by itself is enough.

You would install Apache+Tomcat if you needed something extra that Apache
provided which Tomcat didn't.  There's lots of things Apache can do
(principally through the inclusion of included or third-party Apache
modules) that Tomcat cannot.  If you need them, install both.

Many people are under the impression that Apache is significantly faster
at serving static content that Tomcat.  While this was definitely true in
early JVMs (and early versions of Tomcat), the gap is *substantially*
narrower now, to the point at which it is totally irrelevant for many web
applications.

If you have lots and lots of static content, and most of your requests are
for this, by all means use Apache and Tomcat together.  On the other hand,
if your app is primarily dynamic with a few images for the buttons,
***please*** spare yourself the effort of configuring Apache and Tomcat to
work together, and just run Tomcat stand alone -- it's plenty fast enough
for the vast majority of people who are using it.  (And, if it's not, you
can always switch later -- it's nice to have that kind of choice.)


 Which config file needs to be modified, so that:
 - a particular servlet would be loaded as soon as Tomcat starts

You should review the Servlet Specification (which Tomcat and all other
servlet containers implement).  You can download it from:

  http://java.sun.com/products/servlet/download.html

In particular, you will find that the load-on-startup element in the web
application deployment descriptor (web.xml) does this.  You will also find
that, in Servlet 2.3 (supported by Tomcat 4.0), there is a feature called
application event listeners that are notified when a web application is
being started or stopped.  This is a better place to do things like set up
database connection pools and other shared application resources.

 - aliases can be set


Aliases for servlets?  See the servlet-mapping element in web.xml.

 In which directory of the Tomcat installation do we copy the html and
 applet classes?


I suggest you also read the Application Developer's Guide included with
Tomcat.  The Tomcat 4 version is also online at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/

From the point of view of the server, applet classes and JAR files are
just static content.  Therefore, they should be placed in the same
directory as your static HTML pages, ***not*** under /WEB-INF.

 Amit Lonkar


Craig McClanahan


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




SSL and CAs

2001-11-17 Thread Hunter Hillegas

I am setting up an SSL site.

At this point I don't know if I will be running Tomcat4 standalone or with
Apache in front.

Is the certificate format compatible between the two?

I was planning on using Thawte for my certificate provider. Tomcat is not in
their list of supported Web servers. Which should I choose?

Hunter


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