Re: [Hypercontent-users] Running Hypercontent in Tomcat 5
Brought to you by:
alexvigdor
From: Chad L. <cwl...@gm...> - 2005-07-27 15:58:19
|
Hi Alex, I have been restarting the Tomcat server, not just restarting the webapp. Reload is set to 'False' on this context. This is the path to the cache directory: /opt/jakarta-tomcat-5.0.28/webapps/hyper/cache Permissions are set to 777. Here is the hypercontent.properties file: I also changed abs-server-base...maybe that is messing it up? # The base server URL : should contain host, port and context, but NOT a trailing slash abs-server-base =3D http://10.0.0.190:8080/hyper # local disk directory where ONLY this instance of HyperContent can store cache files cache_dir =3D /opt/jakarta-tomcat-5.0.28/webapps/hyper/cache # Compression can knock 50% off the storage space needed for the cache, but= can # use up to 50% more processing time per each cache put. Cache gets can benefit from # the smaller number of bytes to retrieve from disk. It should have a quit= e low # performance impact either way in the grand scheme of things, it just saves space. # Value should be true or false cache_compress =3D false # how often should the configurationfactory check the filesystem for new projects org.hypercontent.project.ConfigurationFactory.refresh =3D 10000 # maximum number of milliseconds to cache file modification dates # This impacts how quickly changes to repository data will ripple up through the content server # and invalidate cached data last_mod_max_stale_millis =3D 2000 #WorkStore implementation org.hypercontent.workflow.WorkStore =3D org.hypercontent.workflow.impl.SerializingWorkStore #QueueStore implementation org.hypercontent.workflow.QueueStore =3D org.hypercontent.workflow.impl.SerializingQueueStore #SMTP host for outgoing workflow messages mail.smtp.host=3Dsmtp.univ.edu #Default from address for workflow emails mail.default.from=3Dw...@un... #Message on authentication failure mesage.login.failure =3D Login attempt unsuccesful On 7/26/05, Alex Vigdor <av...@co...> wrote: > Chad, > The stack trace immediately preceding >=20 > INFO 2005-07-26 14:35:27,239 HyperContent initiating startup at Tue > Jul 26 14:35:27 EDT 2005 on thread main >=20 > Indicates that the server was still unable to find the cache directory. > All the thread death errors, from some posts online, may be related > to tomcat if you're stopping/starting the webapp without > stopping/starting the whole server, or if you have auto-reloading set > on the context. >=20 > -Alex >=20 >=20 > On Jul 26, 2005, at 2:48 PM, Chad Lauber wrote: >=20 > > Oops...only inculed part of the log...please find the most current > > hypercontent log attached. > > > > Chad > > > > On 7/25/05, Alex Vigdor <av...@co...> wrote: > >> Hi Chad, > >> You need to set the property "cache_dir" in > >> hypercontent.properties to > >> a valid directory for HyperContent's disk caching. I'll add a more > >> informative error message to this extent for the upcoming beta4 > >> release; I guess that stack trace is a little cryptic! > >> > >> -Alex > >> > >> On Jul 25, 2005, at 1:38 PM, Chad Lauber wrote: > >> > >>> Hi Alex, > >>> > >>> Here are the logs along with the server.xml. One thought I had is > >>> that Tomcat is set up to automatically deploy web applications, which > >>> might be causing the problem. > >>> > >>> Thanks, > >>> > >>> Chad > >>> > >>> On 7/18/05, Alex Vigdor <av...@co...> wrote: > >>>> HI Chad, > >>>> Perhaps you could attach a copy of your log, so we can get a > >>>> better > >>>> idea of what is happening. > >>>> > >>>> -Alex > >>>> > >>>> On Jul 18, 2005, at 12:13 PM, Chad Lauber wrote: > >>>> > >>>>> Hi, > >>>>> > >>>>> For some reason I get a "Page can not be displayed" error when > >>>>> trying > >>>>> to access hypercontent from a context with in and existing Tomcat > >>>>> 5. > >>>>> > >>>>> Here is the Projects.xml file with the path to the bootstrap > >>>>> directory > >>>>> edited to reflect the location on this system: > >>>>> > >>>>> <?xml version=3D"1.0" encoding=3D"UTF-8"?>^M<filesystem-def > >>>>> name=3D"HyperContent Projects Repository" type=3D"local">^M <argume= nt > >>>>> index=3D"0" > >>>>> value=3D"/opt/hypercontent2.0b3/hypercontent2/repositories/ > >>>>> bootstrap"/ > >>>>>> ^M > >>>>> <argument index=3D"1" value=3D"autocreate"/>^M <argument > >>>>> index=3D"2" > >>>>> value=3D"enable-metadata"/>^M</filesystem-def>^M > >>>>> > >>>>> > >>>>> I changed the permissions on that directory to 777, restarted > >>>>> Tomcat, > >>>>> but still nothing. > >>>>> > >>>>> Any ideas or insight would be appreciated. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> Chad > >>>>> > >>>>> > >>>>> ------------------------------------------------------- > >>>>> SF.Net email is sponsored by: Discover Easy Linux Migration > >>>>> Strategies > >>>>> from IBM. Find simple to follow Roadmaps, straightforward articles, > >>>>> informative Webcasts and more! Get everything you need to get up to > >>>>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=CCk > >>>>> _______________________________________________ > >>>>> Hypercontent-users mailing list > >>>>> Hyp...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > >>>> > >>>> > >>>> > >>>> ------------------------------------------------------- > >>>> SF.Net email is sponsored by: Discover Easy Linux Migration > >>>> Strategies > >>>> from IBM. Find simple to follow Roadmaps, straightforward articles, > >>>> informative Webcasts and more! Get everything you need to get up to > >>>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > >>>> _______________________________________________ > >>>> Hypercontent-users mailing list > >>>> Hyp...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > >>>> > >>> <hyper_logs.tar> > >> > >> > >> ------------------------------------------------------- > >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > >> from IBM. Find simple to follow Roadmaps, straightforward articles, > >> informative Webcasts and more! Get everything you need to get up to > >> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > >> _______________________________________________ > >> Hypercontent-users mailing list > >> Hyp...@li... > >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > >> > > <hypercontent.log> >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |