Thank you very much for that.

When I start Catalina, I get the following trace. Looks like a JNDI context
is missing. This is running tomcat 4.1 dev with slide nightly build 03/2702

Any thoughts on this?

E:\jakarta-tomcat-4.0\bin>catalina run
Using CATALINA_BASE:   E:\jakarta-tomcat-4.0
Using CATALINA_HOME:   E:\jakarta-tomcat-4.0
Using CATALINA_TMPDIR: E:\jakarta-tomcat-4.0\temp
Using JAVA_HOME:       c:\edrive\jdk1.4.0
Starting service Tomcat-Standalone
Apache Tomcat/4.1-dev
javax.naming.NameNotFoundException: Name java:UserDatabase is not bound in
this Context
        at org.apache.naming.NamingContext.lookup(Unknown Source)
        at org.apache.naming.NamingContext.lookup(Unknown Source)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at org.apache.catalina.realm.UserDatabaseRealm.start(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.start(Unknown Source)
        at org.apache.catalina.core.StandardEngine.start(Unknown Source)
        at org.apache.catalina.core.StandardService.start(Unknown Source)
        at org.apache.catalina.core.StandardServer.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
Catalina.start: LifecycleException:  No UserDatabase component found under
key java:UserDatabase
LifecycleException:  No UserDatabase component found under key
java:UserDatabase
        at org.apache.catalina.realm.UserDatabaseRealm.start(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.start(Unknown Source)
        at org.apache.catalina.core.StandardEngine.start(Unknown Source)
        at org.apache.catalina.core.StandardService.start(Unknown Source)
        at org.apache.catalina.core.StandardServer.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
        at
org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1228)
        at org.apache.catalina.core.StandardService.stop(Unknown Source)
        at org.apache.catalina.core.StandardServer.stop(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)


Regards
Immanuel Babu



|---------+--------------------------->
|         |           Robert Priest   |
|         |           <Robert.Priest@b|
|         |           entley.com>     |
|         |                           |
|         |           04/03/2002 10:39|
|         |           AM              |
|         |           Please respond  |
|         |           to "Slide Users |
|         |           Mailing List"   |
|         |                           |
|---------+--------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                           |
  |        To:      'Slide Users Mailing List' <[EMAIL PROTECTED]>         
                                           |
  |        cc:                                                                         
                                           |
  |        Fax to:                                                                     
                                           |
  |        Subject: RE: Configuring Slide with Tomcat 4                                
                                           |
  
>-------------------------------------------------------------------------------------------------------------------------------|




In Server.xml:

Under "<Engine name="Standalone" defaultHost="localhost" debug="0">"
find

<Realm className="org.apache.catalina.realm.MemoryRealm" />

and change it to:

<Realm className="wrappers.catalina.SlideRealm" />

That would be globally for all webapps.

For just the slide application you would have to add a context section like
the following:

<Context path="/slide" docBase="slide" debug="7" reloadable="true">
             <Realm className="wrappers.catalina.SlideRealm" namespace
="slide"/>
</Context>

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 8:21 AM
To: Slide Users Mailing List
Subject: Configuring Slide with Tomcat 4



Hello

I  do not know if this has been answered prior to my asking so pardon me if
I am asking again:

 I read in the docs about configuring Slide with Catalina 4

There is one statment that I do not understand.

"Configure Catalina to use realm wrappers.catalina.SlideRealm so that
Catalina authenticates users based on users defined in the Slide namespace.
"

Can anyone tell me how to do this?




 thanks for your help.





Regards
Immanuel Babu



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]
>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]
>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to