Chris,

I'm making a kind of framework for my company, it must be able to measure the 
time tomcat needs to compile the jsp's. this enables us to optimize more 
accurate.
But, about starting tomcat etc. I am at a point that tomcat starts gracefully 
without connector, but the jsp's and Servlets don't have a wrapper. When I 
execute a request, like "/index.jsp" (which exists of course ;) ) then I get 
this error:

SEVERE: Allocate exception for servlet null
javax.servlet.ServletException: No servlet class has been specified for servlet 
null
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1016)

this is not the complete stacktrace.
Do you have an idea how I can solve this problem?

Auke


-----Oorspronkelijk bericht-----
Van: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 22 oktober 2007 22:07
Aan: Tomcat Users List
Onderwerp: Re: Start tomcat without Connector

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Auke,

Auke Noppe wrote:
> Is it possible to start an instance of (embedded)tomcat without connector,
> and to invoke pages through the context.invoke(request, response) method?

Do you mind describing a scenario where this is useful? The only thing I
can think of is that JSPs might be easier to write than "real" Java, and
you want to allow your "programmers" to write JSP instead of Java, but
not use it in a web context. That sounds totally backward to me (but
I've heard crazier schemes), so I'm wondering what the motivation is.

My experience with Tomcat (non-embedded) is that if the connectors fail
to start, Tomcat itself shuts down. My guess is that there's a check for
useful connectors, and if there are none, Tomcat shuts down. I could be
totally wrong.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHHQL59CaO5/Lv0PARAihfAJ9ScHeDf3Db4O08MUrktTjV0aq2iwCgq2nI
qso401jWy/diffX0RA8OasA=
=yYBc
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.6/1086 - Release Date: 22-10-2007 
19:57
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.6/1086 - Release Date: 22-10-2007 
19:57
 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to