Re: jsp document root

2001-01-16 Thread Jon Baer

How is it possible to create something without a context @ the *very* top
root level so you can say:

/

maps to things in directory /myapp

Thanks.

- Jon

"Simon Oldeboershuis, outermedia" wrote:

 Regis Muller schrieb:
 
  Sorry to ask such a trivial question to all of you but how can I put my
  .jsp files outside of the ROOT Directory of tomcat in e.g. in
  apache\htdocs ?
 
 you have to configure the position of the directory in the config file:
 tomcat/conf/server.xml
 there should be some example.

 Context path="/myapp"
  docBase="apache\htdocs\myappdocbase"
  crossContext="false"
  debug="0"
  reloadable="true" 
 /Context

 The docbase should probably given as an absolute path.

 simon

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


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




Embedding Catalina Engine

2001-01-12 Thread Jon Baer

I have read the documentation inside class catalina.startup.Embedded but dont
quite understand the process as I would like to create a seperate method by
which to *start* and *stop* a server/engine at any time from this GUI.

However, my server application is actually a web application inside (servlets).
Is there a way or documentation on how to embedded and configure this from
within another app or can someone show what below means and how I can accomplish
the same thing.  Thanks.

- Jon

* Convenience class to embed a Catalina servlet container environment
 * inside another application.  You must call the methods of this class in the
 * following order to ensure correct operation.
 *
 * ul
 * liInstantiate a new instance of this class./li
 * liSet the relevant properties of this object itself.  In particular,
 * you will want to establish the default Logger to be used, as well
 * as the default Realm if you are using container-managed security./li
 * liCall codecreateEngine()/code to create an Engine object, and then
 * call its property setters as desired./li
 * liCall codecreateHost()/code to create at least one virtual Host
 * associated with the newly created Engine, and then call its property
 * setters as desired.  After you customize this Host, add it to the
 * corresponding Engine with codeengine.addChild(host)/code./li
 * liCall codecreateContext()/code to create at least one Context
 * associated with each newly created Host, and then call its property
 * setters as desired.  You strongMUST/strong create a Context with
 * a pathname equal to a zero-length string.  After you customize
 * this Context, add it to the corresponding Host with
 * codehost.addChild(context)/code./li
 * liCall codeaddEngine()/code to attach this Engine to the set of
 * defined Engines for this object./li
 * liCall codecreateConnector()/code to create at least one TCP/IP
 * connector, and then call its property setters as desired./li
 * liCall codeaddConnector()/code to attach this Connector to the set
 * of defined Connectors for this object.  The added Connector will use
 * the most recently added Engine to process its received requests./li
 * liRepeat the above series of steps as often as required (although there
 * will typically be only one Engine instance created)./li
 * liCall codestart()/code to initiate normal operations of all the
 * attached components./li
 * /ul


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




Using WebDav to point to other resources

2001-01-12 Thread Jon Baer

I am still trying to get the hang of WebDav servlet.

Is it possible to point this servlet to other resources on the server other than 
/webdav and to create a password-protected area for those resources?  Say for example 
I have my
context:

/jonbaer/

And I wanted to add /jonbaer/xml to be admined remotely, can this be possible with the 
WebDav servlet (to remotely edit the XML files) and added basic security?  If so, how 
is this
accomplished.  Thanks.

- Jon


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




Re: Tomcat Crashing

2001-01-12 Thread Jon Baer

Sounds like an ODBC/SQL database problem, you should not use JDBC-ODBC bridge.

 I would download MySQL (free):
http://www.mysql.net

And use the JDBC API for it (Type IV):
http://www.mysql.net/downloads/api-jdbc.html

- Jon

Suleyman Serkan GURDAL wrote:

  Hello;

  We are 4th year students who are studying at Middle East Technical
  University, in the department of Computer Engineering. We are
  developing a senior design project named web-based seat reservation
  system for large and distributed computer laboratory
  environments. We are using the following software;

  Java Servlets Technology
  Jdk 1.2.2
  JDBC Api
  MS Access
  JDBC-ODBC Bridge Driver
  Tomcat (as servlet engine)
  Apache (as web-server)

  We have a problem. When we run our servlets by using Tomcat.
  It crashes down after 4-5 process, like querying the database, updating
  some records or inserting some records, that is it crashes down after 2-3
  minutes.

  When we look at the log messages, because we have caught SQLExceptions
  we get "Function Sequence Error" or no error messages. We could not
  understand the problem source.

  We ask u for help. If you can help us or tell somethings what can be the
  problem about, we will be very grateful.

  Thanks in advance...

  S. Serkan GURDAL
  mail : [EMAIL PROTECTED]
  url  : www.ceng.metu.edu.tr/~e109746

  Department of Computer Enginnering
  Middle East Technical University
   Ankara/TURKEY



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


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




Re: PoolMan/Tomcat

2001-01-12 Thread Jon Baer



Java object pooling and caching library.
Its a pooling manager used for Connection pooling but it has the ability
to pool any object type not just java.sql.Connection.
Im not sure but I think it is dropped in favor of javax.sql.* package.
Bummer their site is down.
- Jon
Cam DeBuck wrote:

When
I try to access that site I get redirected to:http://poolman.sourceforge.net/Nothing
comes up.BTW, what
exactly is Poolman? I too use Oracle 8i (8.1.6 and 8.1.7).
Thanks. --Cam--

- Original Message -

From:
Gianni
Salvagno

To: [EMAIL PROTECTED]

Sent: Friday, January 12, 2001 6:06
PM

Subject: PoolMan/Tomcat
I work with Apache-Tomcat
and Oracle8i. My java applications work with PoolMan (codestudio) for the
jdbc connection management.I
read on Sun JDBC forum that Tomcat does not support it. Is it true?
Can you help me ?I
try to find http://www.codestudio.com
but it' losted , I could not contact it !Do
you know my problem is PoolMan/Tomcat ?
[EMAIL PROTECTED]
 [EMAIL PROTECTED]
Thank you very much!