You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Ke...@ubsw.com on 2002/03/14 14:55:49 UTC

RE: Using velocity with an embedded servlet engine (currently tomca t)

Andy,

Unless you're going to specify all the config from server.xml 
programatically, I'd have thought at least one config file would be 
necessary. btw, since tomcat-user is high volume and yours is an 
internals question, I'd recommend sending it to tomcat-dev - it's low 
volume and embedded stuff is discussed reasonably often (there's a 
refactoring going on just now, for minimalist configs..)

Ken.

-----Original Message-----
From: Andy.WATKINS 
Sent: 13 March 2002 13:38
To: velocity-user
Cc: Andy.WATKINS
Subject: Using velocity with an embedded servlet engine (currently
tomcat)


My apologies for asking this on the velocity list, but the 
Tomcat users list has not turned up a solution.

Were using velocity to generate XML for an existing XML RPC system.
This predates SOAP and XML-RPC being widely used and hence uses
a non standard XML structure.

Im trying to run Tomcat in an embedded fashion (ie started from a main()
in our program ), with a single servlet which uses velocity for markup.

Im using the Embedded.java class in Catalina, but am having trouble 
configuring it so that my single servlet answers on port 8080. 

Has anyone else tried to do this (run an embedded servlet engine without
swathes of configuration files)?


Andy



********************************************************************
      Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
********************************************************************

--
To unsubscribe, e-mail:   
<ma...@jakarta.apache.org>
For additional commands, e-mail: 
<ma...@jakarta.apache.org>



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>