The basic problem with the SlideRealm is that it initializes before slide is
initialized. That gave us some problems with respect to the J2EE store.

What we did was move all code away from the start() function and into a new
function. All we needed to do then was to make sure that this new function
was called the first time one of the functions in the SlideRealm was called.

This solved all of our problems - just remember that if the realm has a
problem, it will not crash until the first user logs on!!

/Jacob

-----Original Message-----
From: James Higginbotham [mailto:[EMAIL PROTECTED] 
Sent: 27. juni 2003 22:43
To: Slide Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Slide-Admin


Probably need the servlet to ref the absolute path to the Domain.xml file

> -----Original Message-----
> From: Michael Oliver [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 3:37 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Slide-Admin
> 
> 
> Ok, I think I found it.
> 
> I was running Tomcat 4.1 as a SERVICE not from the /bin directory.
> 
> When I stopped the service and went to /bin and run startup.bat
> 
> It started working!
> 
> So this should be the last question, Where do I put it so it
> works when I run Tomcat as a service?
> 
> Michael Oliver
> CTO/Matrix Intermedia
> 7391 S. Bullrider Ave.
> Tucson, AZ 85747
> Office (520)574-1150
> Cell (518)378-6154
> 
> 
> Michael Oliver said:
> > Object Oriented Programmer Syndrome, aka OOPS
> >
> > Note I have Domain.xml here too.
> >
> >  Directory of F:\Program Files\Apache Group\Tomcat 4.1\bin
> >
> > 09/23/2002  02:23a              24,589 bootstrap.jar
> > 09/23/2002  02:23a               7,400 catalina.bat
> > 09/23/2002  02:23a               8,556 catalina.sh
> > 09/23/2002  02:23a               9,034 commons-daemon.jar
> > 09/23/2002  02:23a                 511 cpappend.bat
> > 09/23/2002  02:23a               1,284 digest.bat
> > 09/23/2002  02:23a                 848 digest.sh
> > 06/27/2003  06:51a               9,619 Domain.xml
> > 09/23/2002  02:23a               2,546 jasper.bat
> > 09/23/2002  02:23a               2,833 jasper.sh
> > 09/23/2002  02:23a               1,199 jspc.bat
> > 09/23/2002  02:23a                 795 jspc.sh
> > 09/23/2002  02:23a               1,942 setclasspath.bat
> > 09/23/2002  02:23a               1,661 setclasspath.sh
> > 09/23/2002  02:23a               1,215 shutdown.bat
> > 09/23/2002  02:23a                 787 shutdown.sh
> > 09/23/2002  02:23a               1,216 startup.bat
> > 09/23/2002  02:23a                 788 startup.sh
> > 06/27/2003  01:34p                   0 tomcat-bin-dir.txt
> > 09/23/2002  02:23a              10,762 tomcat-jni.jar
> > 09/23/2002  02:23a              65,536 tomcat.exe
> > 09/23/2002  02:23a               2,168 tool-wrapper.bat
> > 09/23/2002  02:23a               2,484 tool-wrapper.sh
> >
> > Michael Oliver
> > CTO/Matrix Intermedia
> > 7391 S. Bullrider Ave.
> > Tucson, AZ 85747
> > Office (520)574-1150
> > Cell (518)378-6154
> >
> >
> > Michael Oliver said:
> >> James,
> >>
> >> Thanks but I had seen that thread on http://marc.theaimsgroup.com/
> >> already.
> >>
> >> But I went back over it and still no change.
> >>
> >> So,
> >>
> >>  Directory of F:\Program Files\Apache Group\Tomcat 4.1\common\lib
> >>
> >> 09/23/2002  02:23a              45,386 activation.jar
> >> 09/23/2002  02:23a             716,139 ant.jar
> >> 01/27/2003  10:57a             200,553 commons-collections.jar
> >> 09/23/2002  02:23a              62,998 commons-dbcp.jar
> >> 09/23/2002  02:23a              16,910 commons-logging-api.jar
> >> 01/27/2003  10:57a              31,259 commons-logging.jar
> >> 09/23/2002  02:23a              28,930 commons-pool.jar
> >> 11/17/2002  07:24a              83,273 internetbeans.jar
> >> 09/23/2002  02:23a             182,290 jasper-compiler.jar
> >> 09/23/2002  02:23a              69,308 jasper-runtime.jar
> >> 09/23/2002  02:23a              84,854 jdbc2_0-stdext.jar
> >> 09/23/2002  02:23a              98,496 jndi.jar
> >> 09/23/2002  02:23a               8,674 jta.jar
> >> 09/23/2002  02:23a             280,984 mail.jar
> >> 09/23/2002  02:23a              28,664 naming-common.jar
> >> 09/23/2002  02:23a              18,222 naming-factory.jar
> >> 09/23/2002  02:23a              37,601 naming-resources.jar
> >> 09/23/2002  02:23a              80,054 servlet.jar
> >> 06/27/2003  11:37a              16,280 slide-admin.jar
> >> 11/07/2001  03:03p              16,997 slide-catalinawrapper.jar
> >> 11/07/2001  03:03p             243,978 slide-kernel.jar
> >> 11/07/2001  03:03p               2,013 slide-log4jwrapper.jar
> >> 06/27/2003  11:37a               3,103 slide-roles.jar
> >> 11/07/2001  03:03p              49,280 slide-stores.jar
> >> 06/27/2003  11:37a              17,611 slide-taglib-common.jar
> >> 06/27/2003  11:37a              16,368 slide-taglib-struts.jar
> >> 06/26/2003  09:27a              92,478 slide-webdavservlet.jar
> >> 06/27/2003  11:37a             326,441 struts.jar
> >> 12/09/2002  09:59a              43,942 tclib.jar
> >> 09/30/2002  02:08a           4,926,685 tools.jar
> >>
> >> Here are my environment variables(edited to be brief)
> >>
> >> 
> CLASSPATH=.;..;F:\xml-axis-10\lib\axis.jar;F:\xml-axis-10\lib\commons
> >> 
> -discovery.jar;F:\xml-axis-10\lib\commons-logging.jar;F:\xml-a
> xis-10\lib\saaj.jar;F:\xml-axis-10\lib\log4j-1.2.4.jar;F:\xml-
> axis-10\lib\jaxrpc.jar;F:\xerces-1_4_4\xerces.jar;F:\Program
> >> Files\Apache Group\Tomcat 
> >> 4.1\common\lib\servlet.jar;F:\j2sdk1.4.1_01\bin;F:\Program
> >> Files\Apache Group\Tomcat 4.1\webapps\slide\Dimain.xml 
> >> CommonProgramFiles=F:\Program Files\Common Files
> >>
> >> 
> CP2=.;..;F:\xml-axis-10\lib\axis.jar;F:\xml-axis-10\lib\commons-disco
> >> 
> very.jar;F:\xml-axis-10\lib\commons-logging.jar;F:\xml-axis-10
> \lib\saaj.jar;F:\xml-axis-10\lib\log4j-1.2.4.jar;F:\xml-axis-1
> 0\lib\jaxrpc.jar;F:\xerces-1_4_4\xerces.jar;F:\Program
> >> Files\Apache Group\Tomcat 
> >> 4.1\common\lib\servlet.jar;F:\j2sdk1.4.1_01\bin;F:\Program
> >> Files\Apache Group\Tomcat
> >> 
> 4.1\webapps\slide\Domain.xml;./classes/;./lib/webdav.jar;./lib
> /jaxp.jar;./lib/crimson.jar;./lib/commons-httpclient.jar
> >> HOMEDRIVE=F:
> >> HOMEPATH=\
> >>
> >> JAVA_HOME=F:\j2sdk1.4.1_01
> >>
> >> 
> Path=F:\WINNT\system32;F:\WINNT;F:\WINNT\System32\Wbem;F:\MSSQL7\BINN
> >> ;F:\Program
> >> Files\Plumtree\Common\Search;F:\RCS\bin\win32
> >> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> >>
> >> Tried putting Domain.xml in tomcat's \bin, \common\lib and even in
> >> the slide-admin\WEB-INF\lib
> >>
> >> but still get
> >>
> >> org.apache.jasper.JasperException: Domain initialization error :
> >> Domain.xml (The system cannot find the file specified)
> >>    at
> >> 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> >> .java:248)
> >>
> >> One peculiarity, when I tried putting commons-digester.jar in the
> >> \common\lib, I get the following on tomcat restart:
> >>
> >> Jun 27, 2003 1:20:24 PM org.apache.commons.digester.Digester
> >> startElement SEVERE: Begin event threw exception
> >> java.lang.ClassNotFoundException:
> >> org.apache.catalina.core.StandardServer
> >>    at
> >> 
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
> >> sLoader.java:992)
> >>
> >>
> >> Michael Oliver
> >> CTO/Matrix Intermedia
> >> 7391 S. Bullrider Ave.
> >> Tucson, AZ 85747
> >> Office (520)574-1150
> >> Cell (518)378-6154
> >>
> >>
> >> James Higginbotham said:
> >>> Ah, Google..
> >>>
> >>> 
> http://216.239.37.100/search?q=cache:476gKAIdva4J:www.mail-archive.c
> >>> om/s
> >>> 
> lide-user%40jakarta.apache.org/msg02696.html+%22slide-user%22+
> tomcat+lib
> >>> &hl=en&ie=UTF-8
> >>>
> >>> (may need to copy/paste URL in pieces if it gets munged..
> >>>
> >>> James
> >>>
> >>>> -----Original Message-----
> >>>> From: Michael Oliver [mailto:[EMAIL PROTECTED]
> >>>> Sent: Friday, June 27, 2003 2:01 PM
> >>>> To: [EMAIL PROTECTED]
> >>>> Subject: RE: Slide-Admin
> >>>>
> >>>>
> >>>> Well I have been trying to acces www.mail-archive.com
> all day and
> >>>> it has been down, throwing a "Cannot find server or DNS Error"
> >>>>
> >>>> So I will try moving the slide jars up to the /common/lib. How
> >>>> about the Domain.xml
> >>>>
> >>>> Michael Oliver
> >>>> CTO/Matrix Intermedia
> >>>> 7391 S. Bullrider Ave.
> >>>> Tucson, AZ 85747
> >>>> Office (520)574-1150
> >>>> Cell (518)378-6154
> >>>>
> >>>>
> >>>> James Higginbotham said:
> >>>> > Check the mailing list archives at MARC (www.mail-archive.com).
> >>>> You
> >>>> have to put the slide jars under a shared classloader,
> as Slide has
> >>>> not communication medium to make the low-level API work across
> >>>> classloaders/VMs.
> >>>> >
> >>>> > James
> >>>> >
> >>>> >> -----Original Message-----
> >>>> >> From: Michael Oliver [mailto:[EMAIL PROTECTED]
> >>>> >> Sent: Friday, June 27, 2003 1:44 PM
> >>>> >> To: slide user
> >>>> >> Subject: Slide-Admin
> >>>> >>
> >>>> >>
> >>>> >> I have deployed the slide-admin.war on my Tomcat 4.1
> >>>> restarted tomcat
> >>>> >> and tried to access /slide-admin/index.jsp
> >>>> >>
> >>>> >> I get
> >>>> >>
> >>>> >> org.apache.jasper.JasperException: Domain
> initialization error :
> >>>> Domain.xml (The system cannot find the file specified)
> >>>> >>       at
> >>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> >>>> >> Wrapper.java:248)
> >>>> >>
> >>>> >> I have tried moving Domain.xml to [tomcat]/common/lib,
> >>>> [tomcat]/bin
> >>>> >> and still same error.
> >>>> >>
> >>>> >> I tried putting the Domain.xml directly in the
> CLASSPATH, ditto.
> >>>> >>
> >>>> >>
> >>>> >> Michael Oliver
> >>>> >> CTO/Matrix Intermedia
> >>>> >> 7391 S. Bullrider Ave.
> >>>> >> Tucson, AZ 85747
> >>>> >> Office (520)574-1150
> >>>> >> Cell (518)378-6154
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> Michael Oliver
> >>>> >> CTO/Matrix Intermedia
> >>>> >> 7391 S. Bullrider Ave.
> >>>> >> Tucson, AZ 85747
> >>>> >> Office (520)574-1150
> >>>> >> Cell (518)378-6154
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> 
> -------------------------------------------------------------------
> >>>> --
> >>>> >> To unsubscribe, e-mail:
> >>>> [EMAIL PROTECTED] For
> >>>> >> additional commands, e-mail:
> [EMAIL PROTECTED]
> >>>> >>
> >>>> >>
> >>>> >
> >>>> >
> >>>> 
> -------------------------------------------------------------------
> >>>> --
> >>>> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >>>> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> 
> -------------------------------------------------------------------
> >>>> --
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>
> >>> 
> --------------------------------------------------------------------
> >>> -
> >>> To unsubscribe, e-mail:
> [EMAIL PROTECTED] For
> >>> additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >> 
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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


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

Reply via email to