hypercontent-users Mailing List for HyperContent (Page 26)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alex V. <av...@co...> - 2005-07-09 00:03:29
|
Hello all, I have just added the beta 3 release to the HyperContent home page. This release contains fixes for a variety of bugs raised on and off this list, and introduces the scheduling component, which offers you the ability to define calendar-based, fixed-interval or specific date-time schedules for workflow events. This includes support for user-defined schedules; the new schedule script allows you to specify the appearance and expiration time for a file, or even for a version of a file. The approvals script now sends out daily reminders for files requiring approval, and the publish script in the sample project is set up to publish on an hourly basis. These are just examples to show you how it's done; it's expected that you would want to tweak the schedules and scripts for your own requirements in real use. This is the version we will be using going into our pilot production site migration over the next couple of weeks here at Columbia. I encourage everyone who is actively checking out HC2 to upgrade to this beta, since some of the bug fixes are potentially critical. I expect to release the final version of 2.0 in the next 2-6 weeks, once we have successfully migrated one or two projects in production and worked through any critical issues identified by our real users, and by all of you. Cheers, Alex |
From: Alex V. <av...@co...> - 2005-07-08 21:18:22
|
Hi Liying, You'll find a directory = "/config/project-definition.xml/editions/" in=20 your project repository (whose base path you configured in=20 filesystem.xml). Under this directory will be a sub-directory for each=20= edition you have saved; go into the most recent directory (the highest=20= number) and edit "data_file". -Alex On Jul 8, 2005, at 5:11 PM, Liying Miao wrote: > Hi Alex, > =A0 > Could I physically edit the project-definition .xml instead of edit=20 > from web? I was trying to add an xml-doctype and didn=92t do it=20 > correctly, and now I can=92t get to it online, instead, I get java=20 > errors. > =A0 > If yes, where is the file please? I only see project-definition.xml in=20= > this folder:=20 > C:\hc2.0\hypercontent2.0b2\hypercontent2\repositories\bootstrap\config > =A0 > Thanks, > Liying > =A0 > =A0 > > From: hyp...@li...=20 > [mailto:hyp...@li...] On Behalf Of=20= > Alex Vigdor > Sent: Friday, July 08, 2005 11:39 AM > To: 'Hypercontent-users' users > Subject: Re: [Hypercontent-users] Ant Configuration Problem > =A0 >> Hi Liying, >> This is not a serious error; the XML isn't really intended for=20 >> display, but rather for use as a data storage format, and=20 >> HyperContent uses an Oasis XML catalog=20 >> (/classes/properties/catalog.xml) to map these URLs to local copies=20= >> of the core DTDs (this is why the DTD is found fine when you go to=20 >> edit the file, even though it isn't up on the web site yet). No=20 >> matter what you do, don't try to change the URL of those core system=20= >> DTDs! Some, for example the custom-dictionary DTD, must have the=20 >> exact URL in order to function properly. >> >> I will try to load those DTDs on the web site later today, after I=20= >> finish packaging the beta3 release, to remove the annoyance of those=20= >> browser errors. Just as a note, I believe Firefox and Mozilla will go=20= >> ahead and display the XML whether or not they find the DTD; that=20 >> error is really IE specific. >> >> Alex >> |
From: Alex V. <av...@co...> - 2005-07-08 19:58:31
|
Hi Ping, HyperContent does not enable you to edit content that is already = in =20 PDF format; what it allows you to do is transform your XML files in the =20= repository into PDF as well as HTML output. The value of this is that =20= your PDF and HTML output are automatically kept in sync. This does not =20= generate any PDF files in your repository, but rather generates it as =20= an output that can be accessed via the HC2 server and published to your =20= web site. In order to trigger PDF output, you must configure an output of type =20 "application/pdf" for your xml-doctype, and associate it with an XSL:FO =20= stylesheet. This is mentioned in the documentation chapters on "XML =20 Content" and "XSL Transformations". For examples of using XSL:FO in =20 HyperContent, have a look at these stylesheets in the sample project: /xsl/html_fo.xsl /xsl/common_fo.xl /xsl/docs_fo.xsl You can see how they are configured as outputs for the documentation in =20= project-definition.xml. For more background on XSL:FO, please visit the W3c XSL site, which is =20= also mentioned in the HyperContent 1.4 manual. http://www.w3.org/Style/XSL/ -Alex On Jul 8, 2005, at 3:19 PM, Wu, Ping wrote: > > Hi, Alex; > =A0 > We used 2.0 standalone services, after create new folder and files; we = =20 > want our page have the two format, look like your =93document=94 page, = can =20 > have =93html=94 format and =93pdf=94 format. > =A0 > But after I finish index.html, I can not upload .pdf file form my PC. =20= > Would you tell me how can upload .pdf file, and how to edit. > =A0 > Even I can not edit your sample project look like =20 > http://localhost:8080/sample/docs/jasig06_2004/index.xml?=20 > mode=3Dinteractive&screen=3Dview.1 > =A0 > Would you please help us ASAP. > =A0 > =A0 > Thanks a lot > =A0 > Ping Wu > Computer Specialist > Florida A&M University > (850) 412- 7973 > =A0 |
From: Alex V. <av...@co...> - 2005-07-08 15:38:56
|
Hi Liying, This is not a serious error; the XML isn't really intended for =20= display, but rather for use as a data storage format, and HyperContent =20= uses an Oasis XML catalog (/classes/properties/catalog.xml) to map =20 these URLs to local copies of the core DTDs (this is why the DTD is =20 found fine when you go to edit the file, even though it isn't up on the =20= web site yet). No matter what you do, don't try to change the URL of =20= those core system DTDs! Some, for example the custom-dictionary DTD, =20= must have the exact URL in order to function properly. I will try to load those DTDs on the web site later today, after I =20 finish packaging the beta3 release, to remove the annoyance of those =20 browser errors. Just as a note, I believe Firefox and Mozilla will go =20= ahead and display the XML whether or not they find the DTD; that error =20= is really IE specific. Alex=09 On Jul 8, 2005, at 11:26 AM, Liying Miao wrote: > > Hi Alex, > =A0 > The error goes away by being changed to "/". I just don't understand =20= > why it works in the other uPortal ant commands. > =A0 > Anyway, we are still at the stage of testing the versions of uPortal =20= > and HC, both HC2.0 and HC1.4. Here is another question: > =A0 > When I click on =93View=94 link, it shows: > > The XML page cannot be displayed > > Cannot view XML input using style sheet. Please correct the error and =20= > then click the Refresh button, or try again later. > > > The system cannot locate the object specified. Error processing =20 > resource 'http://hypercontent.sourceforge.net/dtd/hypercont... > Is that because this filesystem.dtd doesn=92t exist in =20 > http://hypercontent.sourceforge.net/dtd/ directory? Is it defined in =20= > filesystem.xml(<!DOCTYPE repository SYSTEM =20 > "http://hypercontent.sourceforge.net/dtd/filesystems.dtd">). Shall I =20= > change it to <!DOCTYPE repository SYSTEM =20 > "/source/properties/dtd/filesystems.dtd">? I=92m not sure about the = path =20 > though. > =A0 > Thanks for all the help, > Liying > =A0 > =A0 > =A0 > > From: hyp...@li... =20 > [mailto:hyp...@li...] On Behalf Of =20= > Alex Vigdor > Sent: Tuesday, July 05, 2005 5:52 PM > To: 'Hypercontent-users' > Subject: Re: [Hypercontent-users] Ant Configuration Problem > =A0 > > Hi Liying, > In your last example, the ant directory name changed from upper to =20= > lowercase, perhaps that is the cause of the last error? > > I take it you're trying to install v1.4 now. You will have to adjust =20= > the paths in build.properties for it to install properly in a current =20= > uPortal release, as HC1.4 was released back around uPortal 2.2.x. =20 > Also, the "auto-publish" command does not work in newer uPortals; you =20= > can search this mailing list archive for instructions on manually =20 > publishing the HC1.4 channel in uPortal. > > -Alex > > On Jul 5, 2005, at 4:16 PM, Liying Miao wrote: > > Hi All, > > > I have a problem withrunning ant 1.6.2. I have setANT_HOME in path. > > Here is the problem: > > When Itype Ant, it works: > > C:\UPORTAL>ant > > C:\UPORTAL>set ANT_HOME=3D./Ant_1-6-2 > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat > > Buildfile: build.xml > > help: > > =A0=A0=A0=A0 [echo] Please read the README file which explains how to = operate =20 > this uPort > > al quick-start package > > =A0=A0=A0=A0 [echo] To see the possible ant targets, type 'ant = -projecthelp' > > BUILD SUCCESSFUL > > Total time: 0 seconds > > However, whenI typeant =96buildfileHyperContent1_4\build.xml, it = doesn=92t =20 > read build.xml in another directory. > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat -buildfile > > You must specify a buildfile when using the -buildfile argument > > Then whenI tried directly: > > C:\UPORTAL>./ant_1-6-2/bin/ant.bat -buildfile = HyperContent1_4\build.xml > > I get error message '.' is not recognized as an internalor external =20= > command, operable program or batch file. > > My path: > > Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:=20 > \Program Files\Co > > mmon Files\OpSession\Shared;C:\Program Files\Common =20 > Files\OpSession\Viewer Share > > d;C:\Program Files\Common Files\Adaptec =20 > Shared\System;C:\PROGRA~1\IBM\SQLLIB\BIN > > ;C:\PROGRA~1\IBM\SQLLIB\FUNCTION; C:\Program =20 > Files\Java\jdk1.5.0_02\bin;C:\Progr > > am Files\MySQL\MySQL Server 4.1\bin;C:\UPORTAL\Ant_1-6-2\\bin > > PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > > Please help!I couldn=92t figure it out!!! > > Liying Miao > > ERP/IT > Florida A&M University |
From: Alex V. <av...@co...> - 2005-07-06 19:27:05
|
Hi Peners, HyperContent 2 is set up to accommodate any user who = successfully=20 authenticates into the system. HC2 uses JAAS LoginModules to perform=20= authentication; the built-in module validates against an MD-5 hash of=20 the user's password in a user file. A CAS/JAAS module is planned for=20 development soon. What method of authentication are you using? Read, write, create, delete, build, publish & approve = permissions can=20 all be controlled on a per-project basis in the file=20 "/config/permissions.xml". The model is very similar to uPortal's=20 Groups and Permissions. Each permissions has 4 components: Principal - the user or group name that the permission applies to (by convention, group names in HC2 are prefixed with "group:" = to=20 avoid name collisions with users) Activity - read, write, create, delete, build, publish or approve (custom activities can be used in controlling workflows) Target - The pattern of files or directories to which the permission = applies,=20 e.g. /**/*.* =3D all files /**/ =3D all directories /students/*.xml =3D all XML files in the students = directory /students/**/*.* =3D all files in the students = directory or=20 recursively any of its subdirectories /index.xml =3D the home page Denied - if true, indicates that this is a negating permission When multiple permissions match a given file or directory for a given=20 user, the permission with the most specific pattern is applied, e.g.=20 given Denied=3D"false" target=3D"/students/**/*.*" Denied=3D"true" target=3D"/students/**/sensitive/*.*" Access to any file in a directory named "sensitive" below the students=20= directory will be blocked. Groups are specified per-project in "/config/groups.xml". Each group=20 is assigned a name, and can have any number of group or user=20 sub-elements. There are two special group names: "group:anybody"=20 applies to any user session, even if unauthenticated, allowing=20 world-read privileges to be established. "group:admin" is used to=20 configure superusers, who are automatically granted all permissions. =20 User IDs configured in group:admin in the bootstrap project are=20 superusers across all projects, whereas users listed in group:admin in=20= a project's groups file are superusers for that project only. -Alex On Jul 6, 2005, at 2:05 PM, Peners Griffin wrote: > Hi Alex, > =A0 > I=92m working with Ping and Lilying on implementing Hypercontent 2.0. = Is=20 > there anyway I can break security down to where only certain=20 > departments and certain links can be viewed by certain people? I know=20= > of the admin, author, approver, and publisher but how can I break that=20= > down where when a person logs in there only able to view certain=20 > things? Also, will I be able to set up security where people can use=20= > there name as logins? > =A0 > =A0 > Thanks, > =A0 > P.L. =A0 |
From: Carl B. <C.P...@hu...> - 2005-07-06 08:42:48
|
Hy Liying A while ago I moved HyperContent 1.4 from our test portal to our live portal. I manually published it because that seemed best way to go. I noted down what I did, this might be of help. Although our live portal is uPortal 2.1.4 so file structure may differ but it will give you any idea of the files and where they need to go. We are running uPortal with Apache and Resin on a Unix system, you probably won't be running with the same config, TRANSFER copy over install directory /local/uPortal/uPortal_rel-2-1-4/HyperContent1_4 copy over HyperContent classes. /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/classes/edu/Columbia copy over project repositories /local/uPortal/uPortal_rel-2-1-4/hypercontent-repositories copy over htmlarea directory /local/uPortal/uPortal_rel-2-1-4/webpages/htmlarea copy over HyperContent properties directory /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/classes/properties/hypercontent copy over Media files /local/uPortal/uPortal_rel-2-1-4/webpages/media/edu copy over lib directory /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/lib copy over FileSystemConfig.xml /local/uPortal/uPortal_rel-2-1-4/webpages/WEB-INF/classes/properties CHANNEL SETUP Switch to simple security Restart resin Login as Admin Add channel in channel manager with channel class edu.columbia.hypercontent.contentmanager.CContentManager Restart resin Login as staff Add the channel to the layout Alex Vigdor wrote: > Hi Liying, > In your last example, the ant directory name changed from upper to > lowercase, perhaps that is the cause of the last error? > > I take it you're trying to install v1.4 now. You will have to adjust > the paths in build.properties for it to install properly in a current > uPortal release, as HC1.4 was released back around uPortal 2.2.x. > Also, the "auto-publish" command does not work in newer uPortals; you > can search this mailing list archive for instructions on manually > publishing the HC1.4 channel in uPortal. > > -Alex > > On Jul 5, 2005, at 4:16 PM, Liying Miao wrote: > > Hi All, > > > I have a problem with running ant 1.6.2. I have set ANT_HOME in path. > > Here is the problem: > > When I type Ant, it works: > > C:\UPORTAL>ant > > C:\UPORTAL>set ANT_HOME=./Ant_1-6-2 > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat > > Buildfile: build.xml > > help: > > [echo] Please read the README file which explains how to > operate this uPort > > al quick-start package > > [echo] To see the possible ant targets, type 'ant -projecthelp' > > BUILD SUCCESSFUL > > Total time: 0 seconds > > However, when I type ant –buildfile HyperContent1_4\build.xml, it > doesn’t read build.xml in another directory. > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat -buildfile > > You must specify a buildfile when using the -buildfile argument > > Then when I tried directly: > > C:\UPORTAL>./ant_1-6-2/bin/ant.bat -buildfile > HyperContent1_4\build.xml > > I get error message '.' is not recognized as an internal or > external command, operable program or batch file. > > My path: > > Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > Files\Co > > mmon Files\OpSession\Shared;C:\Program Files\Common > Files\OpSession\Viewer Share > > d;C:\Program Files\Common Files\Adaptec > Shared\System;C:\PROGRA~1\IBM\SQLLIB\BIN > > ;C:\PROGRA~1\IBM\SQLLIB\FUNCTION; C:\Program > Files\Java\jdk1.5.0_02\bin;C:\Progr > > am Files\MySQL\MySQL Server 4.1\bin;C:\UPORTAL\Ant_1-6-2\\bin > > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > > Please help! I couldn’t figure it out!!! > > Liying Miao > > ERP/IT > Florida A&M University > -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-07-05 21:52:12
|
Hi Liying, In your last example, the ant directory name changed from upper = to =20 lowercase, perhaps that is the cause of the last error? I take it you're trying to install v1.4 now. You will have to = adjust =20 the paths in build.properties for it to install properly in a current =20= uPortal release, as HC1.4 was released back around uPortal 2.2.x. =20 Also, the "auto-publish" command does not work in newer uPortals; you =20= can search this mailing list archive for instructions on manually =20 publishing the HC1.4 channel in uPortal. -Alex On Jul 5, 2005, at 4:16 PM, Liying Miao wrote: > Hi All, > > > I have a problem with running ant 1.6.2. I have set ANT_HOME in path. > > Here is the problem: > > When I type Ant, it works: > > C:\UPORTAL>ant > > C:\UPORTAL>set ANT_HOME=3D./Ant_1-6-2 > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat > > Buildfile: build.xml > > help: > > =A0=A0=A0=A0 [echo] Please read the README file which explains how to = operate =20 > this uPort > > al quick-start package > > =A0=A0=A0=A0 [echo] To see the possible ant targets, type 'ant = -projecthelp' > > BUILD SUCCESSFUL > > Total time: 0 seconds > > However, when I type ant =96buildfile HyperContent1_4\build.xml, it =20= > doesn=92t read build.xml in another directory. > > C:\UPORTAL>./Ant_1-6-2/bin/ant.bat -buildfile > > You must specify a buildfile when using the -buildfile argument > > Then when I tried directly: > > C:\UPORTAL>./ant_1-6-2/bin/ant.bat -buildfile = HyperContent1_4\build.xml > > I get error message '.' is not recognized as an internal or external =20= > command, operable program or batch file. > > My path: > > Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:=20 > \Program Files\Co > > mmon Files\OpSession\Shared;C:\Program Files\Common =20 > Files\OpSession\Viewer Share > > d;C:\Program Files\Common Files\Adaptec =20 > Shared\System;C:\PROGRA~1\IBM\SQLLIB\BIN > > ;C:\PROGRA~1\IBM\SQLLIB\FUNCTION; C:\Program =20 > Files\Java\jdk1.5.0_02\bin;C:\Progr > > am Files\MySQL\MySQL Server 4.1\bin;C:\UPORTAL\Ant_1-6-2\\bin > > PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > > Please help! I couldn=92t figure it out!!! > > Liying Miao > > ERP/IT > Florida A&M University > |
From: Liying M. <liy...@fa...> - 2005-07-05 20:16:28
|
Hi All, I have a problem with running ant 1.6.2. I have set ANT_HOME in path. Here is the problem: When I type Ant, it works: C:\UPORTAL>ant C:\UPORTAL>set ANT_HOME=./Ant_1-6-2 C:\UPORTAL>./Ant_1-6-2/bin/ant.bat Buildfile: build.xml help: [echo] Please read the README file which explains how to operate this uPort al quick-start package [echo] To see the possible ant targets, type 'ant -projecthelp' BUILD SUCCESSFUL Total time: 0 seconds However, when I type ant -buildfile HyperContent1_4\build.xml, it doesn't read build.xml in another directory. C:\UPORTAL>./Ant_1-6-2/bin/ant.bat -buildfile You must specify a buildfile when using the -buildfile argument Then when I tried directly: C:\UPORTAL>./ant_1-6-2/bin/ant.bat -buildfile HyperContent1_4\build.xml I get error message '.' is not recognized as an internal or external command, operable program or batch file. My path: Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Co mmon Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Share d;C:\Program Files\Common Files\Adaptec Shared\System;C:\PROGRA~1\IBM\SQLLIB\BIN ;C:\PROGRA~1\IBM\SQLLIB\FUNCTION; C:\Program Files\Java\jdk1.5.0_02\bin;C:\Progr am Files\MySQL\MySQL Server 4.1\bin;C:\UPORTAL\Ant_1-6-2\\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH Please help! I couldn't figure it out!!! Liying Miao ERP/IT Florida A&M University |
From: Alex V. <av...@co...> - 2005-07-05 16:41:22
|
Hi Juris, Having looked at your project briefly, I would say the first optimization you should focus on is your use of includes. For example, to create the 36kb page "/studijas/index.html", you are processing 3226 includes adding up to 4.4 MB of data. The first thing to check is whether you need the absolute patterns /*/*/* /*/* or whether you could use relative paths like */* * If you need to use the absolute patterns in order to find occasional references to content outside of the current directory, it is advisable to consider some possible design changes: 1) You can dynamically include the data of any single file using the xsl "document" function 2) You can dynamically include the metadata of any single file using the xsl "document" function by appending ".rdf" to the file path 3) You can use the navigation/site map feature to manage ad-hoc links between sections In some cases it is possible to implement 1) or 2) quite easily; switching to 3) has a lot of performance and usability benefits, but can also require a lot more work to transition from an existing site. It looks like there may be some pages where you are including /*/* /*/*/* /*/*/*/* but in XSL, looking only for the index pages of ancestor directories; you can achieve this much more efficiently by including index.xml ../index.xml ../../index.xml There are also some XSL optimizations you could make, like using more keys, e.g. <xsl:key name="directory" match="/cms:wrapper/cms:include" use="@directory"/> to lookup includes by directory, rather than calling /cms:wrapper/cms:include/[(@directory=$dir) and (...)] you would call key('directory',$dir)[(...)] But I believe the bulk of your performance problems come from the includes! Approach it one doctype at a time, try to use the most specific and/or relative patterns as possible, and test any optimizations carefully to avoid unintended consequences. You can always configure a "text/xml" output from any of your doctypes with all of your includes and no transformation, so you can see how much data is being passed into your XSL. Good luck! Alex On Jul 4, 2005, at 9:22 AM, Juris Treibahs wrote: > Hello, Alex! > Thanks for your answer to my last post. I set up HyperContent 2.0b2 > succsessfully. We have large project for University of Latvia > http://www.lu.lv. In my opinion it is rather complicated. This project > works with HyperConten2 very slow. I have to wait for some time for > page display when navigating directoties and previewing the result of > transformation of xml files, saving, processing changes. Trying on > different OS and server versions gave same results. In earlier posts I > found that performance is related to number of includes and XSL > structure. Could you take a look at it? I made a copy the part of the > project and put it on server > http://portaldv.lanet.lv/rss/cms_project/lu_v4.zip > > Best wishes, > Juris Treibahs > University Of Latvia > > > > > ------------------------------------------------------- > 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Liying M. <liy...@fa...> - 2005-07-05 12:43:05
|
Thanks to all, I did forget to put mount point in the project under newly installed HC, which wasn't the cause to the old project though, but...... it's ok, I'll just start fresh. Thanks again for all the help. Liying -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: Monday, July 04, 2005 4:19 AM Cc: 'Hypercontent-users' Subject: Re: [Hypercontent-users] Newbies Questions Hi Yes, thats all the problem is there. Sorry I wasn't around to help out with the other questions. Being 5 hours ahead can sometimes be a pain! thanks Carl Alex Vigdor wrote: > Hi Liying, > You haven't set the mount point. The "mount" attribute of the > "repository" element defines the URL at which your project is > accessible. Right now, you would find your new project at > > http://localhost:8080/mount-point/ > > -Alex > > On Jul 1, 2005, at 4:56 PM, Liying Miao wrote: > >> Hi Alex again, >> >> I just reinstalled the HC, and added a project. Still the same. Did >> I miss >> something here? I thought by putting a project name and hitting >> enter, I >> could get to sacs home page, from which I can define my project. Is the >> index.xml automatically generated? The following is the filesystem.xml: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <!DOCTYPE repository SYSTEM >> "http://hypercontent.sourceforge.net/dtd/filesystems.dtd"> >> <repository mount="/mount-point/"> >> <filesystem-def name="Project repository" type="local-editioning"> >> <argument index="0" value="repositories/project-repository/sacs/"/> >> <argument index="1" value="autocreate"/> >> </filesystem-def> >> </repository> >> >> Thanks so much and have a great holiday! >> Liying >> >> -----Original Message----- >> From: Liying Miao [mailto:liy...@fa...] >> Sent: Friday, July 01, 2005 4:19 PM >> To: 'Alex Vigdor' >> Subject: RE: [Hypercontent-users] Newbies Questions >> >> Hi Alex, >> >> I restarted a few times, but the new project still didn't show. >> >> I'm sorry I can't get to filesystem.xml now because I just started >> build >> process from Workflow (I was just trying things out and this build >> works so >> hard and doesn't seem to get anywhere). >> _______________________________________________________ >> History >> 7/1/05 4:01:31 PM Processing >> 0% complete: 0 changed, 0 deleted and 0 errors more details >> 0 Changed: >> >> >> 0 Deleted: >> 0 Errors: >> 7/1/05 4:01:29 PM Build >> by you >> Current Queues >> /workflow-data/queues/principal/admin >> /workflow-data/queues/build/building >> >> Attributes >> builder = admin >> href = http://localhost:8080/projects/SACS/ >> path = /projects/SACS/ >> ________________________________________________________ >> >> And all I see now are filesystem.xml.lock and >> filesystem.xml.lock.rdf file >> under >> C: >> \Hypercontent\hypercontent2.0b2\hypercontent2\repositories\bootstrap\pr >> oje >> cts\SACS >> >> But just for my information, when do we need to build, and how long it >> should take? >> >> Thanks, >> Liying >> >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Alex >> Vigdor >> Sent: Friday, July 01, 2005 3:48 PM >> To: 'Hypercontent-users' >> Subject: Re: [Hypercontent-users] Newbies Questions >> >> Hi Liying, >> There's about a 10 second lag after you add a new project before it >> >> becomes available at its mounted url, and one person reported that they >> had to stop and restart the server before their new project showed up. >> But if it's still not showing up after a server restart, you should >> check the log for errors, and look to see if the config and >> workflow-data directories were generated in your repository directory. >> Double-check your filesystem.xml; your mount point should have a >> trailing slash as well. (In general, every path that denotes a >> directory in any HC configuration file should have a trailing slash). >> Feel free to post your filesystem.xml to the list and I'll have a look >> at it. >> >> Alex >> >> On Jul 1, 2005, at 3:32 PM, Liying Miao wrote: >> >>> Hi Alex, >>> >>> Thanks, it was the "/" that caused error. >>> >>> But I still can't see this page: >>> http://localhost:8080/sacs/?mode=interactive >>> >>> When I clicked SACS Test link from the project index page, it >>> says:"The page >>> can't be found." >>> http://localhost:8080/projects/index.html?mode=interactive >>> >>> >>> Mounted projects: >>> >>> SACS Test http://purl.org/dc/dcmitype/Text Admin User liying >>> /projects/SACS/filesystem.xml 2005-07-01 text/xml Admin User SACS Test >>> /simple/ >>> /sample/ >>> >>> Sorry for questions like these, hopefully I'll catch up soon. >>> >>> Liying >>> >>> -----Original Message----- >>> From: hyp...@li... >>> [mailto:hyp...@li...] On Behalf Of >>> Alex >>> Vigdor >>> Sent: Friday, July 01, 2005 11:50 AM >>> To: 'Hypercontent-users' users >>> Subject: Re: [Hypercontent-users] Newbies Questions >>> >>> Liying, >>> Did you try to stop and restart the server? It sounds like it >>> might >>> >>> be related to a bug that has been fixed since the beta2 release. >>> Also, >>> try adding a trailing slash to the path in your filesystem.xml if you >>> still have problems. >>> >>> -Alex >>> >>> On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: >>> >>>> Thanks so much Carl. >>>> >>>> I added a new project, chose argument to insert and set the path >>>> repositories/project-repository/test in the index 0. I could see it's >>>> added >>>> and filesystem.xml is there, but when I type >>>> http://localhost:8080/test, >>>> says page not found. Then when I went back to projects index page >>>> http://localhost:8080/projects, I got following error, and same error >>>> occurs >>>> when I even tried to edit sample project. Well, right before I got >>>> these >>>> errors, I did change the path from repositories/project-repository to >>>> repositories/project-repository/test >>>> >>>> (here is what's in the filesystem.xml <argument index="0"/><argument >>>> index="0" value="repositories/project-repository/test"/>) >>>> >>>> and change "test" from upper case to lower case letters. But that's >>>> all I >>>> did. >>>> >>>> There was an error processing your request >>>> null >>>> >>>> org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) >>>> org.hypercontent.server.Session.getFileOpener(Session.java:153) >>>> org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) >>>> org.hypercontent.server.Session.bindForm(Session.java:165) >>>> org.hypercontent.project.engine.stage.FormBindingStage.process(FormBi >>>> n >>>> d >>>> ingSt >>>> age.java:60) >>>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) >>>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) >>>> org.hypercontent.project.Project.getAsset(Project.java:542) >>>> org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) >>>> org.hypercontent.server.ContentServer.service(ContentServer.java:415) >>>> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet. >>>> j >>>> a >>>> va:10 >>>> 4) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:697) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:810) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>>> i >>>> c >>>> ation >>>> FilterChain.java:237) >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>>> i >>>> l >>>> terCh >>>> ain.java:157) >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>>> a >>>> l >>>> ve.ja >>>> va:214) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.StandardContextValve.invokeInternal(Standard >>>> C >>>> o >>>> ntext >>>> Valve.java:198) >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>>> a >>>> l >>>> ve.ja >>>> va:152) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>>> a >>>> v >>>> a:137 >>>> ) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>>> a >>>> v >>>> a:117 >>>> ) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:102) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>>> v >>>> e >>>> .java >>>> :109) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) >>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >>>> 160) >>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >>>> : >>>> 793) >>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>>> s >>>> s >>>> Conne >>>> ction(Http11Protocol.java:702) >>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java >>>> : >>>> 571) >>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP >>>> o >>>> o >>>> l.jav >>>> a:644) >>>> java.lang.Thread.run(Thread.java:595) >>>> >>>> >>>> -----Original Message----- >>>> From: hyp...@li... >>>> [mailto:hyp...@li...] On Behalf Of >>>> Carl >>>> Barrow >>>> Sent: Friday, July 01, 2005 4:50 AM >>>> To: 'Hypercontent-users' >>>> Subject: Re: [Hypercontent-users] Newbies Questions >>>> >>>> Hi Lillian >>>> >>>> I'm still evaluating HC2.0 but I've been live with HC 1.4 here for >>>> some >>>> time. I'll do my best to answer your questions. Alex might want to >>>> add >>>> to what I've written later on, but hopefully this will help. >>>> >>>> Answers embedded below >>>> >>>> Many Thanks >>>> Carl >>>> >>>> Liying Miao wrote: >>>> >>>>> Hi Experts, >>>>> >>>>> We are trying HC2.0 now to implement a test version of our >>>>> university's website. We are still at the stage of understanding >>>>> more >>>>> of HC by playing with the sample project, modifying content. I know >>>>> we >>>>> can add items under News directory, but when we can't do certain >>>>> things like adding a root menu item or changing the navigation to be >>>>> a >>>>> drop down list, we are stuck. >>>>> >>>>> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >>>>> understanding the building blocks. However, I still don't know where >>>>> to start. Here are the questions: >>>>> >>>>> 1. In order to meet our needs, do we modify the definitions in the >>>>> sample project, or do we need a brand new project built? >>>>> >>>> From my experience you should always start a new project from >>>> scratch. >>>> Spend some time planning out the structure of your site, how your >>>> template and navigation will work and getting your dtds correct from >>>> the >>>> start and this will make live much easier in the future. >>>> >>>>> 2. If we need to build project from scratch, then, >>>>> >>>>> . Do we create a test-repository folder under >>>>> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >>>>> where sample-build and sample-repository exist) and leave webapp >>>>> folder alone? >>>>> >>>> Yes, you'll need to create the directory for the repository. You >>>> don't >>>> need to do anything with the webapp directory. >>>> >>>>> . Do we first create Project Definition, filesystem, under >>>>> >>>> C: >>>> \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\boots >>>> t >>>> r >>>> ap\ >>>> config >>>> >>>>> and projects? How do we define it if we don't have user.xml, >>>>> index.xml, index.xsl, projet.xsl, etc created yet? >>>>> >>>> If you login to http://localhost:8080/projects/ as admin. >>>> Add a new project by typing a name in the box and press enter. >>>> Set the mount point, /newproject/ ( will be accessible at >>>> http://localhost:8080/newproject) >>>> Set the repository path, repositories/project-repository/newproject >>>> login to your new site and you'll see the following directories >>>> config/ >>>> workflow/ >>>> You will see nothing else since it's not defined in the project >>>> definition at this point. >>>> In config you will see project-definition.xml where you can now build >>>> up >>>> your project. Adding your XML doctypes, build, publish paths etc... >>>> You can set up permissions in permissions.xml although thats not >>>> something I've done since HC1.4 used the uPortal group/permissions >>>> manager. >>>> >>>>> . What source can we borrow for the new project, what need to be >>>>> modified and recompiled? >>>>> >>>> I'm not too sure what you meant by that, can you clarify >>>> >>>>> Thanks so much for helping me get started. slowly. >>>>> >>>>> Lillian Miao >>>>> >>>>> ERP/IT >>>>> Florida A&M University >>>>> (850) 412-7999 >>>>> >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> 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_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> 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_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> 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_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> 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_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ ------------------------------------------------------- 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_id=7477&alloc_id=16492&op=click _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Juris T. <sd...@la...> - 2005-07-04 13:22:35
|
Hello, Alex! Thanks for your answer to my last post. I set up HyperContent 2.0b2 succsessfully. We have large project for University of Latvia http://www.lu.lv. In my opinion it is rather complicated. This project works with HyperConten2 very slow. I have to wait for some time for page display when navigating directoties and previewing the result of transformation of xml files, saving, processing changes. Trying on different OS and server versions gave same results. In earlier posts I found that performance is related to number of includes and XSL structure. Could you take a look at it? I made a copy the part of the project and put it on server http://portaldv.lanet.lv/rss/cms_project/lu_v4.zip Best wishes, Juris Treibahs University Of Latvia |
From: Carl B. <C.P...@hu...> - 2005-07-04 08:13:12
|
Hi Yes, thats all the problem is there. Sorry I wasn't around to help out with the other questions. Being 5 hours ahead can sometimes be a pain! thanks Carl Alex Vigdor wrote: > Hi Liying, > You haven't set the mount point. The "mount" attribute of the > "repository" element defines the URL at which your project is > accessible. Right now, you would find your new project at > > http://localhost:8080/mount-point/ > > -Alex > > On Jul 1, 2005, at 4:56 PM, Liying Miao wrote: > >> Hi Alex again, >> >> I just reinstalled the HC, and added a project. Still the same. Did >> I miss >> something here? I thought by putting a project name and hitting >> enter, I >> could get to sacs home page, from which I can define my project. Is the >> index.xml automatically generated? The following is the filesystem.xml: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <!DOCTYPE repository SYSTEM >> "http://hypercontent.sourceforge.net/dtd/filesystems.dtd"> >> <repository mount="/mount-point/"> >> <filesystem-def name="Project repository" type="local-editioning"> >> <argument index="0" value="repositories/project-repository/sacs/"/> >> <argument index="1" value="autocreate"/> >> </filesystem-def> >> </repository> >> >> Thanks so much and have a great holiday! >> Liying >> >> -----Original Message----- >> From: Liying Miao [mailto:liy...@fa...] >> Sent: Friday, July 01, 2005 4:19 PM >> To: 'Alex Vigdor' >> Subject: RE: [Hypercontent-users] Newbies Questions >> >> Hi Alex, >> >> I restarted a few times, but the new project still didn't show. >> >> I'm sorry I can't get to filesystem.xml now because I just started >> build >> process from Workflow (I was just trying things out and this build >> works so >> hard and doesn't seem to get anywhere). >> _______________________________________________________ >> History >> 7/1/05 4:01:31 PM Processing >> 0% complete: 0 changed, 0 deleted and 0 errors more details >> 0 Changed: >> >> >> 0 Deleted: >> 0 Errors: >> 7/1/05 4:01:29 PM Build >> by you >> Current Queues >> /workflow-data/queues/principal/admin >> /workflow-data/queues/build/building >> >> Attributes >> builder = admin >> href = http://localhost:8080/projects/SACS/ >> path = /projects/SACS/ >> ________________________________________________________ >> >> And all I see now are filesystem.xml.lock and >> filesystem.xml.lock.rdf file >> under >> C: >> \Hypercontent\hypercontent2.0b2\hypercontent2\repositories\bootstrap\pr >> oje >> cts\SACS >> >> But just for my information, when do we need to build, and how long it >> should take? >> >> Thanks, >> Liying >> >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Alex >> Vigdor >> Sent: Friday, July 01, 2005 3:48 PM >> To: 'Hypercontent-users' >> Subject: Re: [Hypercontent-users] Newbies Questions >> >> Hi Liying, >> There's about a 10 second lag after you add a new project before it >> >> becomes available at its mounted url, and one person reported that they >> had to stop and restart the server before their new project showed up. >> But if it's still not showing up after a server restart, you should >> check the log for errors, and look to see if the config and >> workflow-data directories were generated in your repository directory. >> Double-check your filesystem.xml; your mount point should have a >> trailing slash as well. (In general, every path that denotes a >> directory in any HC configuration file should have a trailing slash). >> Feel free to post your filesystem.xml to the list and I'll have a look >> at it. >> >> Alex >> >> On Jul 1, 2005, at 3:32 PM, Liying Miao wrote: >> >>> Hi Alex, >>> >>> Thanks, it was the "/" that caused error. >>> >>> But I still can't see this page: >>> http://localhost:8080/sacs/?mode=interactive >>> >>> When I clicked SACS Test link from the project index page, it >>> says:"The page >>> can't be found." >>> http://localhost:8080/projects/index.html?mode=interactive >>> >>> >>> Mounted projects: >>> >>> SACS Test http://purl.org/dc/dcmitype/Text Admin User liying >>> /projects/SACS/filesystem.xml 2005-07-01 text/xml Admin User SACS Test >>> /simple/ >>> /sample/ >>> >>> Sorry for questions like these, hopefully I'll catch up soon. >>> >>> Liying >>> >>> -----Original Message----- >>> From: hyp...@li... >>> [mailto:hyp...@li...] On Behalf Of >>> Alex >>> Vigdor >>> Sent: Friday, July 01, 2005 11:50 AM >>> To: 'Hypercontent-users' users >>> Subject: Re: [Hypercontent-users] Newbies Questions >>> >>> Liying, >>> Did you try to stop and restart the server? It sounds like it >>> might >>> >>> be related to a bug that has been fixed since the beta2 release. >>> Also, >>> try adding a trailing slash to the path in your filesystem.xml if you >>> still have problems. >>> >>> -Alex >>> >>> On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: >>> >>>> Thanks so much Carl. >>>> >>>> I added a new project, chose argument to insert and set the path >>>> repositories/project-repository/test in the index 0. I could see it's >>>> added >>>> and filesystem.xml is there, but when I type >>>> http://localhost:8080/test, >>>> says page not found. Then when I went back to projects index page >>>> http://localhost:8080/projects, I got following error, and same error >>>> occurs >>>> when I even tried to edit sample project. Well, right before I got >>>> these >>>> errors, I did change the path from repositories/project-repository to >>>> repositories/project-repository/test >>>> >>>> (here is what's in the filesystem.xml <argument index="0"/><argument >>>> index="0" value="repositories/project-repository/test"/>) >>>> >>>> and change "test" from upper case to lower case letters. But that's >>>> all I >>>> did. >>>> >>>> There was an error processing your request >>>> null >>>> >>>> org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) >>>> org.hypercontent.server.Session.getFileOpener(Session.java:153) >>>> org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) >>>> org.hypercontent.server.Session.bindForm(Session.java:165) >>>> org.hypercontent.project.engine.stage.FormBindingStage.process(FormBi >>>> n >>>> d >>>> ingSt >>>> age.java:60) >>>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) >>>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) >>>> org.hypercontent.project.Project.getAsset(Project.java:542) >>>> org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) >>>> org.hypercontent.server.ContentServer.service(ContentServer.java:415) >>>> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet. >>>> j >>>> a >>>> va:10 >>>> 4) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:697) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:810) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>>> i >>>> c >>>> ation >>>> FilterChain.java:237) >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>>> i >>>> l >>>> terCh >>>> ain.java:157) >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>>> a >>>> l >>>> ve.ja >>>> va:214) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.StandardContextValve.invokeInternal(Standard >>>> C >>>> o >>>> ntext >>>> Valve.java:198) >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>>> a >>>> l >>>> ve.ja >>>> va:152) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>>> a >>>> v >>>> a:137 >>>> ) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>>> a >>>> v >>>> a:117 >>>> ) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:102) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>>> v >>>> e >>>> .java >>>> :109) >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>>> e >>>> C >>>> ontex >>>> t.java:104) >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>>> a >>>> : >>>> 520) >>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) >>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >>>> 160) >>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >>>> : >>>> 793) >>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>>> s >>>> s >>>> Conne >>>> ction(Http11Protocol.java:702) >>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java >>>> : >>>> 571) >>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP >>>> o >>>> o >>>> l.jav >>>> a:644) >>>> java.lang.Thread.run(Thread.java:595) >>>> >>>> >>>> -----Original Message----- >>>> From: hyp...@li... >>>> [mailto:hyp...@li...] On Behalf Of >>>> Carl >>>> Barrow >>>> Sent: Friday, July 01, 2005 4:50 AM >>>> To: 'Hypercontent-users' >>>> Subject: Re: [Hypercontent-users] Newbies Questions >>>> >>>> Hi Lillian >>>> >>>> I'm still evaluating HC2.0 but I've been live with HC 1.4 here for >>>> some >>>> time. I'll do my best to answer your questions. Alex might want to >>>> add >>>> to what I've written later on, but hopefully this will help. >>>> >>>> Answers embedded below >>>> >>>> Many Thanks >>>> Carl >>>> >>>> Liying Miao wrote: >>>> >>>>> Hi Experts, >>>>> >>>>> We are trying HC2.0 now to implement a test version of our >>>>> university's website. We are still at the stage of understanding >>>>> more >>>>> of HC by playing with the sample project, modifying content. I know >>>>> we >>>>> can add items under News directory, but when we can't do certain >>>>> things like adding a root menu item or changing the navigation to be >>>>> a >>>>> drop down list, we are stuck. >>>>> >>>>> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >>>>> understanding the building blocks. However, I still don't know where >>>>> to start. Here are the questions: >>>>> >>>>> 1. In order to meet our needs, do we modify the definitions in the >>>>> sample project, or do we need a brand new project built? >>>>> >>>> From my experience you should always start a new project from >>>> scratch. >>>> Spend some time planning out the structure of your site, how your >>>> template and navigation will work and getting your dtds correct from >>>> the >>>> start and this will make live much easier in the future. >>>> >>>>> 2. If we need to build project from scratch, then, >>>>> >>>>> . Do we create a test-repository folder under >>>>> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >>>>> where sample-build and sample-repository exist) and leave webapp >>>>> folder alone? >>>>> >>>> Yes, you'll need to create the directory for the repository. You >>>> don't >>>> need to do anything with the webapp directory. >>>> >>>>> . Do we first create Project Definition, filesystem, under >>>>> >>>> C: >>>> \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\boots >>>> t >>>> r >>>> ap\ >>>> config >>>> >>>>> and projects? How do we define it if we don't have user.xml, >>>>> index.xml, index.xsl, projet.xsl, etc created yet? >>>>> >>>> If you login to http://localhost:8080/projects/ as admin. >>>> Add a new project by typing a name in the box and press enter. >>>> Set the mount point, /newproject/ ( will be accessible at >>>> http://localhost:8080/newproject) >>>> Set the repository path, repositories/project-repository/newproject >>>> login to your new site and you'll see the following directories >>>> config/ >>>> workflow/ >>>> You will see nothing else since it's not defined in the project >>>> definition at this point. >>>> In config you will see project-definition.xml where you can now build >>>> up >>>> your project. Adding your XML doctypes, build, publish paths etc... >>>> You can set up permissions in permissions.xml although thats not >>>> something I've done since HC1.4 used the uPortal group/permissions >>>> manager. >>>> >>>>> . What source can we borrow for the new project, what need to be >>>>> modified and recompiled? >>>>> >>>> I'm not too sure what you meant by that, can you clarify >>>> >>>>> Thanks so much for helping me get started. slowly. >>>>> >>>>> Lillian Miao >>>>> >>>>> ERP/IT >>>>> Florida A&M University >>>>> (850) 412-7999 >>>>> >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> 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_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> 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_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> 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_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> 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_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-07-01 21:03:20
|
Hi Liying, You haven't set the mount point. The "mount" attribute of the "repository" element defines the URL at which your project is accessible. Right now, you would find your new project at http://localhost:8080/mount-point/ -Alex On Jul 1, 2005, at 4:56 PM, Liying Miao wrote: > Hi Alex again, > > I just reinstalled the HC, and added a project. Still the same. Did I > miss > something here? I thought by putting a project name and hitting enter, > I > could get to sacs home page, from which I can define my project. Is the > index.xml automatically generated? The following is the filesystem.xml: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE repository SYSTEM > "http://hypercontent.sourceforge.net/dtd/filesystems.dtd"> > <repository mount="/mount-point/"> > <filesystem-def name="Project repository" type="local-editioning"> > <argument index="0" value="repositories/project-repository/sacs/"/> > <argument index="1" value="autocreate"/> > </filesystem-def> > </repository> > > Thanks so much and have a great holiday! > Liying > > -----Original Message----- > From: Liying Miao [mailto:liy...@fa...] > Sent: Friday, July 01, 2005 4:19 PM > To: 'Alex Vigdor' > Subject: RE: [Hypercontent-users] Newbies Questions > > Hi Alex, > > I restarted a few times, but the new project still didn't show. > > I'm sorry I can't get to filesystem.xml now because I just started > build > process from Workflow (I was just trying things out and this build > works so > hard and doesn't seem to get anywhere). > _______________________________________________________ > History > 7/1/05 4:01:31 PM Processing > 0% complete: 0 changed, 0 deleted and 0 errors more details > 0 Changed: > > > 0 Deleted: > 0 Errors: > 7/1/05 4:01:29 PM Build > by you > Current Queues > /workflow-data/queues/principal/admin > /workflow-data/queues/build/building > > Attributes > builder = admin > href = http://localhost:8080/projects/SACS/ > path = /projects/SACS/ > ________________________________________________________ > > And all I see now are filesystem.xml.lock and filesystem.xml.lock.rdf > file > under > C: > \Hypercontent\hypercontent2.0b2\hypercontent2\repositories\bootstrap\pr > oje > cts\SACS > > But just for my information, when do we need to build, and how long it > should take? > > Thanks, > Liying > > -----Original Message----- > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Alex > Vigdor > Sent: Friday, July 01, 2005 3:48 PM > To: 'Hypercontent-users' > Subject: Re: [Hypercontent-users] Newbies Questions > > Hi Liying, > There's about a 10 second lag after you add a new project before it > > becomes available at its mounted url, and one person reported that they > had to stop and restart the server before their new project showed up. > But if it's still not showing up after a server restart, you should > check the log for errors, and look to see if the config and > workflow-data directories were generated in your repository directory. > Double-check your filesystem.xml; your mount point should have a > trailing slash as well. (In general, every path that denotes a > directory in any HC configuration file should have a trailing slash). > Feel free to post your filesystem.xml to the list and I'll have a look > at it. > > Alex > > On Jul 1, 2005, at 3:32 PM, Liying Miao wrote: > >> Hi Alex, >> >> Thanks, it was the "/" that caused error. >> >> But I still can't see this page: >> http://localhost:8080/sacs/?mode=interactive >> >> When I clicked SACS Test link from the project index page, it >> says:"The page >> can't be found." >> http://localhost:8080/projects/index.html?mode=interactive >> >> >> Mounted projects: >> >> SACS Test http://purl.org/dc/dcmitype/Text Admin User liying >> /projects/SACS/filesystem.xml 2005-07-01 text/xml Admin User SACS Test >> /simple/ >> /sample/ >> >> Sorry for questions like these, hopefully I'll catch up soon. >> >> Liying >> >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Alex >> Vigdor >> Sent: Friday, July 01, 2005 11:50 AM >> To: 'Hypercontent-users' users >> Subject: Re: [Hypercontent-users] Newbies Questions >> >> Liying, >> Did you try to stop and restart the server? It sounds like it might >> >> be related to a bug that has been fixed since the beta2 release. >> Also, >> try adding a trailing slash to the path in your filesystem.xml if you >> still have problems. >> >> -Alex >> >> On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: >> >>> Thanks so much Carl. >>> >>> I added a new project, chose argument to insert and set the path >>> repositories/project-repository/test in the index 0. I could see it's >>> added >>> and filesystem.xml is there, but when I type >>> http://localhost:8080/test, >>> says page not found. Then when I went back to projects index page >>> http://localhost:8080/projects, I got following error, and same error >>> occurs >>> when I even tried to edit sample project. Well, right before I got >>> these >>> errors, I did change the path from repositories/project-repository to >>> repositories/project-repository/test >>> >>> (here is what's in the filesystem.xml <argument index="0"/><argument >>> index="0" value="repositories/project-repository/test"/>) >>> >>> and change "test" from upper case to lower case letters. But that's >>> all I >>> did. >>> >>> There was an error processing your request >>> null >>> >>> org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) >>> org.hypercontent.server.Session.getFileOpener(Session.java:153) >>> org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) >>> org.hypercontent.server.Session.bindForm(Session.java:165) >>> org.hypercontent.project.engine.stage.FormBindingStage.process(FormBi >>> n >>> d >>> ingSt >>> age.java:60) >>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) >>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) >>> org.hypercontent.project.Project.getAsset(Project.java:542) >>> org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) >>> org.hypercontent.server.ContentServer.service(ContentServer.java:415) >>> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet. >>> j >>> a >>> va:10 >>> 4) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:697) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:810) >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>> i >>> c >>> ation >>> FilterChain.java:237) >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>> i >>> l >>> terCh >>> ain.java:157) >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>> a >>> l >>> ve.ja >>> va:214) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.StandardContextValve.invokeInternal(Standard >>> C >>> o >>> ntext >>> Valve.java:198) >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>> a >>> l >>> ve.ja >>> va:152) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>> a >>> v >>> a:137 >>> ) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>> a >>> v >>> a:117 >>> ) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:102) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>> v >>> e >>> .java >>> :109) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) >>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >>> 160) >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >>> : >>> 793) >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>> s >>> s >>> Conne >>> ction(Http11Protocol.java:702) >>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java >>> : >>> 571) >>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP >>> o >>> o >>> l.jav >>> a:644) >>> java.lang.Thread.run(Thread.java:595) >>> >>> >>> -----Original Message----- >>> From: hyp...@li... >>> [mailto:hyp...@li...] On Behalf Of >>> Carl >>> Barrow >>> Sent: Friday, July 01, 2005 4:50 AM >>> To: 'Hypercontent-users' >>> Subject: Re: [Hypercontent-users] Newbies Questions >>> >>> Hi Lillian >>> >>> I'm still evaluating HC2.0 but I've been live with HC 1.4 here for >>> some >>> time. I'll do my best to answer your questions. Alex might want to >>> add >>> to what I've written later on, but hopefully this will help. >>> >>> Answers embedded below >>> >>> Many Thanks >>> Carl >>> >>> Liying Miao wrote: >>> >>>> Hi Experts, >>>> >>>> We are trying HC2.0 now to implement a test version of our >>>> university's website. We are still at the stage of understanding >>>> more >>>> of HC by playing with the sample project, modifying content. I know >>>> we >>>> can add items under News directory, but when we can't do certain >>>> things like adding a root menu item or changing the navigation to be >>>> a >>>> drop down list, we are stuck. >>>> >>>> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >>>> understanding the building blocks. However, I still don't know where >>>> to start. Here are the questions: >>>> >>>> 1. In order to meet our needs, do we modify the definitions in the >>>> sample project, or do we need a brand new project built? >>>> >>> From my experience you should always start a new project from >>> scratch. >>> Spend some time planning out the structure of your site, how your >>> template and navigation will work and getting your dtds correct from >>> the >>> start and this will make live much easier in the future. >>> >>>> 2. If we need to build project from scratch, then, >>>> >>>> . Do we create a test-repository folder under >>>> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >>>> where sample-build and sample-repository exist) and leave webapp >>>> folder alone? >>>> >>> Yes, you'll need to create the directory for the repository. You >>> don't >>> need to do anything with the webapp directory. >>> >>>> . Do we first create Project Definition, filesystem, under >>>> >>> C: >>> \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\boots >>> t >>> r >>> ap\ >>> config >>>> and projects? How do we define it if we don't have user.xml, >>>> index.xml, index.xsl, projet.xsl, etc created yet? >>>> >>> If you login to http://localhost:8080/projects/ as admin. >>> Add a new project by typing a name in the box and press enter. >>> Set the mount point, /newproject/ ( will be accessible at >>> http://localhost:8080/newproject) >>> Set the repository path, repositories/project-repository/newproject >>> login to your new site and you'll see the following directories >>> config/ >>> workflow/ >>> You will see nothing else since it's not defined in the project >>> definition at this point. >>> In config you will see project-definition.xml where you can now build >>> up >>> your project. Adding your XML doctypes, build, publish paths etc... >>> You can set up permissions in permissions.xml although thats not >>> something I've done since HC1.4 used the uPortal group/permissions >>> manager. >>> >>>> . What source can we borrow for the new project, what need to be >>>> modified and recompiled? >>>> >>> I'm not too sure what you meant by that, can you clarify >>> >>>> Thanks so much for helping me get started. slowly. >>>> >>>> Lillian Miao >>>> >>>> ERP/IT >>>> Florida A&M University >>>> (850) 412-7999 >>>> >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> 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_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> 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_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> 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_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-07-01 21:00:17
|
Hi Liying, There is no build filesystem actually configured for the bootstrap project; the build script is present in the bootstrap project because this is where the default set of scripts are stored that all new projects inherit, but the bootstrap project does not itself represent a web site you would want to externalize (although technically you could). Thus you have turned up a bug by doing what new users do best, by performing an unanticipated activity! I suspect your build attempt has corrupted your filesystem.xml, because the system tried to overwrite the file with a copy of itself when it couldn't find a dedicated build filesystem. I will try to get some safeguards in there for the next beta, but now you know, don't try and build the bootstrap project! You'll probably need to recreate your filesystem.xml to recover. Building is the process of rendering a snapshot of your project web site to a flat filesystem; this is referred to as "staging" in some other systems. The premise is that you will build your web site, and review it before publishing, which is the act of copying the built version of the site to its final, public destination (usually a filesystem which is then served by Apache or another dedicated web server). You never have to build during development of a project (though you certainly can); its only purpose is to get your content into a static form in which it can be served by another web server. Until you're ready to push the site out to a dedicated web server, you can continue using the built-in web server. Also, it is completely safe to start a build, and then do other things in the system (this is new in 2.0); the build is spooled off and handled in the background, and you can return later to check its progress, or even logout and log back in later to check on it. Just to give a sense of perspective, our biggest sites, ranging from 1000-2000 pages, will take anywhere from 30 seconds to 5 minutes to build, depending on a number of factors including the volume of includes being processed, the complexity of the XSL transformations, the number of changes since the last build and of course the overall server load. The sample project included with HC2 generally builds in a minute or less on recent hardware, most of which is dedicated to generating the PDF of the manual (100+ pages). To build the sample project, you need to be on a screen under its mountpoint (e.g. http://localhost:8080/sample/index.html?mode=interactive). "Build" instructs the system to build only the current file or directory; "Build All" is used to build the entire project, and is actually the more useful of the two options since it will render all the files that are dependent on changes you have made. Good luck, and thanks for finding that bug! - Alex On Jul 1, 2005, at 4:19 PM, Liying Miao wrote: > Hi Alex, > > I restarted a few times, but the new project still didn't show. > > I'm sorry I can't get to filesystem.xml now because I just started > build > process from Workflow (I was just trying things out and this build > works so > hard and doesn't seem to get anywhere). > _______________________________________________________ > History > 7/1/05 4:01:31 PM Processing > 0% complete: 0 changed, 0 deleted and 0 errors more details > 0 Changed: > > > 0 Deleted: > 0 Errors: > 7/1/05 4:01:29 PM Build > by you > Current Queues > /workflow-data/queues/principal/admin > /workflow-data/queues/build/building > > Attributes > builder = admin > href = http://localhost:8080/projects/SACS/ > path = /projects/SACS/ > ________________________________________________________ > > And all I see now are filesystem.xml.lock and filesystem.xml.lock.rdf > file > under > C: > \Hypercontent\hypercontent2.0b2\hypercontent2\repositories\bootstrap\pr > oje > cts\SACS > > But just for my information, when do we need to build, and how long it > should take? > > Thanks, > Liying > > -----Original Message----- > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Alex > Vigdor > Sent: Friday, July 01, 2005 3:48 PM > To: 'Hypercontent-users' > Subject: Re: [Hypercontent-users] Newbies Questions > > Hi Liying, > There's about a 10 second lag after you add a new project before it > > becomes available at its mounted url, and one person reported that they > had to stop and restart the server before their new project showed up. > But if it's still not showing up after a server restart, you should > check the log for errors, and look to see if the config and > workflow-data directories were generated in your repository directory. > Double-check your filesystem.xml; your mount point should have a > trailing slash as well. (In general, every path that denotes a > directory in any HC configuration file should have a trailing slash). > Feel free to post your filesystem.xml to the list and I'll have a look > at it. > > Alex > > On Jul 1, 2005, at 3:32 PM, Liying Miao wrote: > >> Hi Alex, >> >> Thanks, it was the "/" that caused error. >> >> But I still can't see this page: >> http://localhost:8080/sacs/?mode=interactive >> >> When I clicked SACS Test link from the project index page, it >> says:"The page >> can't be found." >> http://localhost:8080/projects/index.html?mode=interactive >> >> >> Mounted projects: >> >> SACS Test http://purl.org/dc/dcmitype/Text Admin User liying >> /projects/SACS/filesystem.xml 2005-07-01 text/xml Admin User SACS Test >> /simple/ >> /sample/ >> >> Sorry for questions like these, hopefully I'll catch up soon. >> >> Liying >> >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Alex >> Vigdor >> Sent: Friday, July 01, 2005 11:50 AM >> To: 'Hypercontent-users' users >> Subject: Re: [Hypercontent-users] Newbies Questions >> >> Liying, >> Did you try to stop and restart the server? It sounds like it might >> >> be related to a bug that has been fixed since the beta2 release. >> Also, >> try adding a trailing slash to the path in your filesystem.xml if you >> still have problems. >> >> -Alex >> >> On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: >> >>> Thanks so much Carl. >>> >>> I added a new project, chose argument to insert and set the path >>> repositories/project-repository/test in the index 0. I could see it's >>> added >>> and filesystem.xml is there, but when I type >>> http://localhost:8080/test, >>> says page not found. Then when I went back to projects index page >>> http://localhost:8080/projects, I got following error, and same error >>> occurs >>> when I even tried to edit sample project. Well, right before I got >>> these >>> errors, I did change the path from repositories/project-repository to >>> repositories/project-repository/test >>> >>> (here is what's in the filesystem.xml <argument index="0"/><argument >>> index="0" value="repositories/project-repository/test"/>) >>> >>> and change "test" from upper case to lower case letters. But that's >>> all I >>> did. >>> >>> There was an error processing your request >>> null >>> >>> org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) >>> org.hypercontent.server.Session.getFileOpener(Session.java:153) >>> org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) >>> org.hypercontent.server.Session.bindForm(Session.java:165) >>> org.hypercontent.project.engine.stage.FormBindingStage.process(FormBi >>> n >>> d >>> ingSt >>> age.java:60) >>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) >>> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) >>> org.hypercontent.project.Project.getAsset(Project.java:542) >>> org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) >>> org.hypercontent.server.ContentServer.service(ContentServer.java:415) >>> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet. >>> j >>> a >>> va:10 >>> 4) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:697) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:810) >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl >>> i >>> c >>> ation >>> FilterChain.java:237) >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF >>> i >>> l >>> terCh >>> ain.java:157) >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV >>> a >>> l >>> ve.ja >>> va:214) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.StandardContextValve.invokeInternal(Standard >>> C >>> o >>> ntext >>> Valve.java:198) >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV >>> a >>> l >>> ve.ja >>> va:152) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j >>> a >>> v >>> a:137 >>> ) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j >>> a >>> v >>> a:117 >>> ) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:102) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal >>> v >>> e >>> .java >>> :109) >>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv >>> e >>> C >>> ontex >>> t.java:104) >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav >>> a >>> : >>> 520) >>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) >>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >>> 160) >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java >>> : >>> 793) >>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce >>> s >>> s >>> Conne >>> ction(Http11Protocol.java:702) >>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java >>> : >>> 571) >>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP >>> o >>> o >>> l.jav >>> a:644) >>> java.lang.Thread.run(Thread.java:595) >>> >>> >>> -----Original Message----- >>> From: hyp...@li... >>> [mailto:hyp...@li...] On Behalf Of >>> Carl >>> Barrow >>> Sent: Friday, July 01, 2005 4:50 AM >>> To: 'Hypercontent-users' >>> Subject: Re: [Hypercontent-users] Newbies Questions >>> >>> Hi Lillian >>> >>> I'm still evaluating HC2.0 but I've been live with HC 1.4 here for >>> some >>> time. I'll do my best to answer your questions. Alex might want to >>> add >>> to what I've written later on, but hopefully this will help. >>> >>> Answers embedded below >>> >>> Many Thanks >>> Carl >>> >>> Liying Miao wrote: >>> >>>> Hi Experts, >>>> >>>> We are trying HC2.0 now to implement a test version of our >>>> university's website. We are still at the stage of understanding >>>> more >>>> of HC by playing with the sample project, modifying content. I know >>>> we >>>> can add items under News directory, but when we can't do certain >>>> things like adding a root menu item or changing the navigation to be >>>> a >>>> drop down list, we are stuck. >>>> >>>> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >>>> understanding the building blocks. However, I still don't know where >>>> to start. Here are the questions: >>>> >>>> 1. In order to meet our needs, do we modify the definitions in the >>>> sample project, or do we need a brand new project built? >>>> >>> From my experience you should always start a new project from >>> scratch. >>> Spend some time planning out the structure of your site, how your >>> template and navigation will work and getting your dtds correct from >>> the >>> start and this will make live much easier in the future. >>> >>>> 2. If we need to build project from scratch, then, >>>> >>>> . Do we create a test-repository folder under >>>> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >>>> where sample-build and sample-repository exist) and leave webapp >>>> folder alone? >>>> >>> Yes, you'll need to create the directory for the repository. You >>> don't >>> need to do anything with the webapp directory. >>> >>>> . Do we first create Project Definition, filesystem, under >>>> >>> C: >>> \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\boots >>> t >>> r >>> ap\ >>> config >>>> and projects? How do we define it if we don't have user.xml, >>>> index.xml, index.xsl, projet.xsl, etc created yet? >>>> >>> If you login to http://localhost:8080/projects/ as admin. >>> Add a new project by typing a name in the box and press enter. >>> Set the mount point, /newproject/ ( will be accessible at >>> http://localhost:8080/newproject) >>> Set the repository path, repositories/project-repository/newproject >>> login to your new site and you'll see the following directories >>> config/ >>> workflow/ >>> You will see nothing else since it's not defined in the project >>> definition at this point. >>> In config you will see project-definition.xml where you can now build >>> up >>> your project. Adding your XML doctypes, build, publish paths etc... >>> You can set up permissions in permissions.xml although thats not >>> something I've done since HC1.4 used the uPortal group/permissions >>> manager. >>> >>>> . What source can we borrow for the new project, what need to be >>>> modified and recompiled? >>>> >>> I'm not too sure what you meant by that, can you clarify >>> >>>> Thanks so much for helping me get started. slowly. >>>> >>>> Lillian Miao >>>> >>>> ERP/IT >>>> Florida A&M University >>>> (850) 412-7999 >>>> >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> 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_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> 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_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> 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_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-07-01 19:47:27
|
Hi Liying, There's about a 10 second lag after you add a new project before it becomes available at its mounted url, and one person reported that they had to stop and restart the server before their new project showed up. But if it's still not showing up after a server restart, you should check the log for errors, and look to see if the config and workflow-data directories were generated in your repository directory. Double-check your filesystem.xml; your mount point should have a trailing slash as well. (In general, every path that denotes a directory in any HC configuration file should have a trailing slash). Feel free to post your filesystem.xml to the list and I'll have a look at it. Alex On Jul 1, 2005, at 3:32 PM, Liying Miao wrote: > Hi Alex, > > Thanks, it was the "/" that caused error. > > But I still can't see this page: > http://localhost:8080/sacs/?mode=interactive > > When I clicked SACS Test link from the project index page, it > says:"The page > can't be found." > http://localhost:8080/projects/index.html?mode=interactive > > > Mounted projects: > > SACS Test http://purl.org/dc/dcmitype/Text Admin User liying > /projects/SACS/filesystem.xml 2005-07-01 text/xml Admin User SACS Test > /simple/ > /sample/ > > Sorry for questions like these, hopefully I'll catch up soon. > > Liying > > -----Original Message----- > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Alex > Vigdor > Sent: Friday, July 01, 2005 11:50 AM > To: 'Hypercontent-users' users > Subject: Re: [Hypercontent-users] Newbies Questions > > Liying, > Did you try to stop and restart the server? It sounds like it might > > be related to a bug that has been fixed since the beta2 release. Also, > try adding a trailing slash to the path in your filesystem.xml if you > still have problems. > > -Alex > > On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: > >> Thanks so much Carl. >> >> I added a new project, chose argument to insert and set the path >> repositories/project-repository/test in the index 0. I could see it's >> added >> and filesystem.xml is there, but when I type >> http://localhost:8080/test, >> says page not found. Then when I went back to projects index page >> http://localhost:8080/projects, I got following error, and same error >> occurs >> when I even tried to edit sample project. Well, right before I got >> these >> errors, I did change the path from repositories/project-repository to >> repositories/project-repository/test >> >> (here is what's in the filesystem.xml <argument index="0"/><argument >> index="0" value="repositories/project-repository/test"/>) >> >> and change "test" from upper case to lower case letters. But that's >> all I >> did. >> >> There was an error processing your request >> null >> >> org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) >> org.hypercontent.server.Session.getFileOpener(Session.java:153) >> org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) >> org.hypercontent.server.Session.bindForm(Session.java:165) >> org.hypercontent.project.engine.stage.FormBindingStage.process(FormBin >> d >> ingSt >> age.java:60) >> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) >> org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) >> org.hypercontent.project.Project.getAsset(Project.java:542) >> org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) >> org.hypercontent.server.ContentServer.service(ContentServer.java:415) >> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.j >> a >> va:10 >> 4) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:697) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:810) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli >> c >> ation >> FilterChain.java:237) >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi >> l >> terCh >> ain.java:157) >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa >> l >> ve.ja >> va:214) >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> C >> ontex >> t.java:104) >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> : >> 520) >> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardC >> o >> ntext >> Valve.java:198) >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa >> l >> ve.ja >> va:152) >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> C >> ontex >> t.java:104) >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> : >> 520) >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja >> v >> a:137 >> ) >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> C >> ontex >> t.java:104) >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja >> v >> a:117 >> ) >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> C >> ontex >> t.java:102) >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> : >> 520) >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv >> e >> .java >> :109) >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> C >> ontex >> t.java:104) >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> : >> 520) >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) >> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >> 160) >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 793) >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces >> s >> Conne >> ction(Http11Protocol.java:702) >> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: >> 571) >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo >> o >> l.jav >> a:644) >> java.lang.Thread.run(Thread.java:595) >> >> >> -----Original Message----- >> From: hyp...@li... >> [mailto:hyp...@li...] On Behalf Of >> Carl >> Barrow >> Sent: Friday, July 01, 2005 4:50 AM >> To: 'Hypercontent-users' >> Subject: Re: [Hypercontent-users] Newbies Questions >> >> Hi Lillian >> >> I'm still evaluating HC2.0 but I've been live with HC 1.4 here for >> some >> time. I'll do my best to answer your questions. Alex might want to add >> to what I've written later on, but hopefully this will help. >> >> Answers embedded below >> >> Many Thanks >> Carl >> >> Liying Miao wrote: >> >>> Hi Experts, >>> >>> We are trying HC2.0 now to implement a test version of our >>> university's website. We are still at the stage of understanding more >>> of HC by playing with the sample project, modifying content. I know >>> we >>> can add items under News directory, but when we can't do certain >>> things like adding a root menu item or changing the navigation to be >>> a >>> drop down list, we are stuck. >>> >>> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >>> understanding the building blocks. However, I still don't know where >>> to start. Here are the questions: >>> >>> 1. In order to meet our needs, do we modify the definitions in the >>> sample project, or do we need a brand new project built? >>> >> From my experience you should always start a new project from >> scratch. >> Spend some time planning out the structure of your site, how your >> template and navigation will work and getting your dtds correct from >> the >> start and this will make live much easier in the future. >> >>> 2. If we need to build project from scratch, then, >>> >>> . Do we create a test-repository folder under >>> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >>> where sample-build and sample-repository exist) and leave webapp >>> folder alone? >>> >> Yes, you'll need to create the directory for the repository. You don't >> need to do anything with the webapp directory. >> >>> . Do we first create Project Definition, filesystem, under >>> >> C: >> \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootst >> r >> ap\ >> config >>> and projects? How do we define it if we don't have user.xml, >>> index.xml, index.xsl, projet.xsl, etc created yet? >>> >> If you login to http://localhost:8080/projects/ as admin. >> Add a new project by typing a name in the box and press enter. >> Set the mount point, /newproject/ ( will be accessible at >> http://localhost:8080/newproject) >> Set the repository path, repositories/project-repository/newproject >> login to your new site and you'll see the following directories >> config/ >> workflow/ >> You will see nothing else since it's not defined in the project >> definition at this point. >> In config you will see project-definition.xml where you can now build >> up >> your project. Adding your XML doctypes, build, publish paths etc... >> You can set up permissions in permissions.xml although thats not >> something I've done since HC1.4 used the uPortal group/permissions >> manager. >> >>> . What source can we borrow for the new project, what need to be >>> modified and recompiled? >>> >> I'm not too sure what you meant by that, can you clarify >> >>> Thanks so much for helping me get started. slowly. >>> >>> Lillian Miao >>> >>> ERP/IT >>> Florida A&M University >>> (850) 412-7999 >>> >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> ************************************ >> >> >> >> ------------------------------------------------------- >> 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_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> 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_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-07-01 15:50:42
|
Liying, Did you try to stop and restart the server? It sounds like it might be related to a bug that has been fixed since the beta2 release. Also, try adding a trailing slash to the path in your filesystem.xml if you still have problems. -Alex On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: > Thanks so much Carl. > > I added a new project, chose argument to insert and set the path > repositories/project-repository/test in the index 0. I could see it's > added > and filesystem.xml is there, but when I type > http://localhost:8080/test, > says page not found. Then when I went back to projects index page > http://localhost:8080/projects, I got following error, and same error > occurs > when I even tried to edit sample project. Well, right before I got > these > errors, I did change the path from repositories/project-repository to > repositories/project-repository/test > > (here is what's in the filesystem.xml <argument index="0"/><argument > index="0" value="repositories/project-repository/test"/>) > > and change "test" from upper case to lower case letters. But that's > all I > did. > > There was an error processing your request > null > > org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) > org.hypercontent.server.Session.getFileOpener(Session.java:153) > org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) > org.hypercontent.server.Session.bindForm(Session.java:165) > org.hypercontent.project.engine.stage.FormBindingStage.process(FormBind > ingSt > age.java:60) > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) > org.hypercontent.project.Project.getAsset(Project.java:542) > org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) > org.hypercontent.server.ContentServer.service(ContentServer.java:415) > org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.ja > va:10 > 4) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic > ation > FilterChain.java:237) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil > terCh > ain.java:157) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal > ve.ja > va:214) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo > ntext > Valve.java:198) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal > ve.ja > va:152) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav > a:137 > ) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav > a:117 > ) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:102) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve > .java > :109) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 793) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process > Conne > ction(Http11Protocol.java:702) > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: > 571) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo > l.jav > a:644) > java.lang.Thread.run(Thread.java:595) > > > -----Original Message----- > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Carl > Barrow > Sent: Friday, July 01, 2005 4:50 AM > To: 'Hypercontent-users' > Subject: Re: [Hypercontent-users] Newbies Questions > > Hi Lillian > > I'm still evaluating HC2.0 but I've been live with HC 1.4 here for some > time. I'll do my best to answer your questions. Alex might want to add > to what I've written later on, but hopefully this will help. > > Answers embedded below > > Many Thanks > Carl > > Liying Miao wrote: > >> Hi Experts, >> >> We are trying HC2.0 now to implement a test version of our >> university's website. We are still at the stage of understanding more >> of HC by playing with the sample project, modifying content. I know we >> can add items under News directory, but when we can't do certain >> things like adding a root menu item or changing the navigation to be a >> drop down list, we are stuck. >> >> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >> understanding the building blocks. However, I still don't know where >> to start. Here are the questions: >> >> 1. In order to meet our needs, do we modify the definitions in the >> sample project, or do we need a brand new project built? >> > From my experience you should always start a new project from scratch. > Spend some time planning out the structure of your site, how your > template and navigation will work and getting your dtds correct from > the > start and this will make live much easier in the future. > >> 2. If we need to build project from scratch, then, >> >> . Do we create a test-repository folder under >> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >> where sample-build and sample-repository exist) and leave webapp >> folder alone? >> > Yes, you'll need to create the directory for the repository. You don't > need to do anything with the webapp directory. > >> . Do we first create Project Definition, filesystem, under >> > C: > \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstr > ap\ > config >> and projects? How do we define it if we don't have user.xml, >> index.xml, index.xsl, projet.xsl, etc created yet? >> > If you login to http://localhost:8080/projects/ as admin. > Add a new project by typing a name in the box and press enter. > Set the mount point, /newproject/ ( will be accessible at > http://localhost:8080/newproject) > Set the repository path, repositories/project-repository/newproject > login to your new site and you'll see the following directories > config/ > workflow/ > You will see nothing else since it's not defined in the project > definition at this point. > In config you will see project-definition.xml where you can now build > up > your project. Adding your XML doctypes, build, publish paths etc... > You can set up permissions in permissions.xml although thats not > something I've done since HC1.4 used the uPortal group/permissions > manager. > >> . What source can we borrow for the new project, what need to be >> modified and recompiled? >> > I'm not too sure what you meant by that, can you clarify > >> Thanks so much for helping me get started. slowly. >> >> Lillian Miao >> >> ERP/IT >> Florida A&M University >> (850) 412-7999 >> > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************ > > > > ------------------------------------------------------- > 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > 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_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Liying M. <liy...@fa...> - 2005-07-01 15:27:23
|
Thanks so much Carl. I added a new project, chose argument to insert and set the path repositories/project-repository/test in the index 0. I could see it's added and filesystem.xml is there, but when I type http://localhost:8080/test, says page not found. Then when I went back to projects index page http://localhost:8080/projects, I got following error, and same error occurs when I even tried to edit sample project. Well, right before I got these errors, I did change the path from repositories/project-repository to repositories/project-repository/test (here is what's in the filesystem.xml <argument index="0"/><argument index="0" value="repositories/project-repository/test"/>) and change "test" from upper case to lower case letters. But that's all I did. There was an error processing your request null org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) org.hypercontent.server.Session.getFileOpener(Session.java:153) org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) org.hypercontent.server.Session.bindForm(Session.java:165) org.hypercontent.project.engine.stage.FormBindingStage.process(FormBindingSt age.java:60) org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) org.hypercontent.project.Project.getAsset(Project.java:542) org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) org.hypercontent.server.ContentServer.service(ContentServer.java:415) org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:10 4) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) java.lang.Thread.run(Thread.java:595) -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: Friday, July 01, 2005 4:50 AM To: 'Hypercontent-users' Subject: Re: [Hypercontent-users] Newbies Questions Hi Lillian I'm still evaluating HC2.0 but I've been live with HC 1.4 here for some time. I'll do my best to answer your questions. Alex might want to add to what I've written later on, but hopefully this will help. Answers embedded below Many Thanks Carl Liying Miao wrote: > Hi Experts, > > We are trying HC2.0 now to implement a test version of our > university's website. We are still at the stage of understanding more > of HC by playing with the sample project, modifying content. I know we > can add items under News directory, but when we can't do certain > things like adding a root menu item or changing the navigation to be a > drop down list, we are stuck. > > I read the Hypercontent 1.4 Manual, and thanks, that was helpful in > understanding the building blocks. However, I still don't know where > to start. Here are the questions: > > 1. In order to meet our needs, do we modify the definitions in the > sample project, or do we need a brand new project built? > From my experience you should always start a new project from scratch. Spend some time planning out the structure of your site, how your template and navigation will work and getting your dtds correct from the start and this will make live much easier in the future. > 2. If we need to build project from scratch, then, > > . Do we create a test-repository folder under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory > where sample-build and sample-repository exist) and leave webapp > folder alone? > Yes, you'll need to create the directory for the repository. You don't need to do anything with the webapp directory. > . Do we first create Project Definition, filesystem, under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstrap\ config > and projects? How do we define it if we don't have user.xml, > index.xml, index.xsl, projet.xsl, etc created yet? > If you login to http://localhost:8080/projects/ as admin. Add a new project by typing a name in the box and press enter. Set the mount point, /newproject/ ( will be accessible at http://localhost:8080/newproject) Set the repository path, repositories/project-repository/newproject login to your new site and you'll see the following directories config/ workflow/ You will see nothing else since it's not defined in the project definition at this point. In config you will see project-definition.xml where you can now build up your project. Adding your XML doctypes, build, publish paths etc... You can set up permissions in permissions.xml although thats not something I've done since HC1.4 used the uPortal group/permissions manager. > . What source can we borrow for the new project, what need to be > modified and recompiled? > I'm not too sure what you meant by that, can you clarify > Thanks so much for helping me get started. slowly. > > Lillian Miao > > ERP/IT > Florida A&M University > (850) 412-7999 > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ ------------------------------------------------------- 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_id=7477&alloc_id=16492&op=click _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-07-01 15:06:45
|
Hi Liying, I think Carl's response sums it up; unlike other content = management =20 systems where the general use-case is shoe-horning your content into =20 one of several pre-defined structures, with HyperContent you design =20 your web site structure according to your particular requirements, and =20= then implement it in your project definition. This also leaves you =20 with the task of creating XSL to generate everything on every page. =20 We're happy to share some useful templates, for example to generate =20 navigation toolbars, breadcrumb trails, and other common patterns. =20 You'll find some discussion of these in the mailing list archives. It's pretty straightforward to implement very generic sites; you can =20 start a site with undifferentiated sections, unlimited depth, and XHTML =20= only content with a few simple document and resource types. <xml-doctype path=3D"/**/index.xml" label=3D"Index Page" root=3D"html"/> <xml-doctype path=3D"/**/*.xml" label=3D"Page" root=3D"html"/> <resource-directory path=3D"/**/*/" label=3D"Directory"/> <resource-directory path=3D"/**/*.jpg" label =3D"JPG image" = publish=3D"true"> <content type=3D"image/jpeg" /> </resource-directory> This gives you everything you need to start entering HTML data, JPG =20 images and unlimited subdirectories; to set up output, you will of =20 course have to set up output elements and XSL documents, and probably a =20= sitemap (not required, but very handy for doing the dirty work of =20 generating navigation). You can refine the structure as you go by =20 adding more specific document types with custom XML grammars and/or =20 different output logic. In terms of source, there is generally no need to change or add any =20 source code (except for the recently discussed modifications required =20= to change allowable tags and attributes in the WYSIWYG editor . . . =20 this will be in a configuration file someday!). You can change your =20 project definition, DTDs, groups, permissions, workflows, content and =20= XSL on the fly through the web interface. The main reason you might =20 want to write some custom code would be to implement some custom =20 pipeline logic, for example that might grab some data from an RDBMS and =20= render it into XML for transformation, or into Java objects for =20 presentation with Velocity templates. -Alex On Jul 1, 2005, at 4:50 AM, Carl Barrow wrote: > Hi Lillian > > I'm still evaluating HC2.0 but I've been live with HC 1.4 here for =20 > some time. I'll do my best to answer your questions. Alex might want =20= > to add to what I've written later on, but hopefully this will help. > > Answers embedded below > > Many Thanks > Carl > > Liying Miao wrote: > >> Hi Experts, >> >> We are trying HC2.0 now to implement a test version of our =20 >> university=92s website. We are still at the stage of understanding = more =20 >> of HC by playing with the sample project, modifying content. I know =20= >> we can add items under News directory, but when we can=92t do certain = =20 >> things like adding a root menu item or changing the navigation to be =20= >> a drop down list, we are stuck. >> >> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in =20= >> understanding the building blocks. However, I still don=92t know = where =20 >> to start. Here are the questions: >> >> 1. In order to meet our needs, do we modify the definitions in the =20= >> sample project, or do we need a brand new project built? >> > =46rom my experience you should always start a new project from = scratch. =20 > Spend some time planning out the structure of your site, how your =20 > template and navigation will work and getting your dtds correct from =20= > the start and this will make live much easier in the future. > >> 2. If we need to build project from scratch, then, >> >> =B7 Do we create a test-repository folder under =20 >> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory =20= >> where sample-build and sample-repository exist) and leave webapp =20 >> folder alone? >> > Yes, you'll need to create the directory for the repository. You don't = =20 > need to do anything with the webapp directory. > >> =B7 Do we first create Project Definition, filesystem, under =20 >> C:=20 >> = \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootst=20= >> rap\config and projects? How do we define it if we don=92t have =20 >> user.xml, index.xml, index.xsl, projet.xsl, etc created yet? >> > If you login to http://localhost:8080/projects/ as admin. > Add a new project by typing a name in the box and press enter. > Set the mount point, /newproject/ ( will be accessible at =20 > http://localhost:8080/newproject) > Set the repository path, repositories/project-repository/newproject > login to your new site and you'll see the following directories > config/ > workflow/ > You will see nothing else since it's not defined in the project =20 > definition at this point. > In config you will see project-definition.xml where you can now build =20= > up your project. Adding your XML doctypes, build, publish paths etc... > You can set up permissions in permissions.xml although thats not =20 > something I've done since HC1.4 used the uPortal group/permissions =20 > manager. > >> =B7 What source can we borrow for the new project, what need to be =20= >> modified and recompiled? >> > I'm not too sure what you meant by that, can you clarify > >> Thanks so much for helping me get started=85 slowly=85 >> >> Lillian Miao >> >> ERP/IT >> Florida A&M University >> (850) 412-7999 >> > > --=20 > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > 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_id=3D7477&alloc_id=3D16492&op=3Dcli= ck > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-07-01 08:50:35
|
Hi Lillian I'm still evaluating HC2.0 but I've been live with HC 1.4 here for some time. I'll do my best to answer your questions. Alex might want to add to what I've written later on, but hopefully this will help. Answers embedded below Many Thanks Carl Liying Miao wrote: > Hi Experts, > > We are trying HC2.0 now to implement a test version of our > university’s website. We are still at the stage of understanding more > of HC by playing with the sample project, modifying content. I know we > can add items under News directory, but when we can’t do certain > things like adding a root menu item or changing the navigation to be a > drop down list, we are stuck. > > I read the Hypercontent 1.4 Manual, and thanks, that was helpful in > understanding the building blocks. However, I still don’t know where > to start. Here are the questions: > > 1. In order to meet our needs, do we modify the definitions in the > sample project, or do we need a brand new project built? > From my experience you should always start a new project from scratch. Spend some time planning out the structure of your site, how your template and navigation will work and getting your dtds correct from the start and this will make live much easier in the future. > 2. If we need to build project from scratch, then, > > · Do we create a test-repository folder under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory > where sample-build and sample-repository exist) and leave webapp > folder alone? > Yes, you'll need to create the directory for the repository. You don't need to do anything with the webapp directory. > · Do we first create Project Definition, filesystem, under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstrap\config > and projects? How do we define it if we don’t have user.xml, > index.xml, index.xsl, projet.xsl, etc created yet? > If you login to http://localhost:8080/projects/ as admin. Add a new project by typing a name in the box and press enter. Set the mount point, /newproject/ ( will be accessible at http://localhost:8080/newproject) Set the repository path, repositories/project-repository/newproject login to your new site and you'll see the following directories config/ workflow/ You will see nothing else since it's not defined in the project definition at this point. In config you will see project-definition.xml where you can now build up your project. Adding your XML doctypes, build, publish paths etc... You can set up permissions in permissions.xml although thats not something I've done since HC1.4 used the uPortal group/permissions manager. > · What source can we borrow for the new project, what need to be > modified and recompiled? > I'm not too sure what you meant by that, can you clarify > Thanks so much for helping me get started… slowly… > > Lillian Miao > > ERP/IT > Florida A&M University > (850) 412-7999 > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Liying M. <liy...@fa...> - 2005-06-30 20:56:33
|
In the sample project of HC2.0, "docs", unlike "news", doesn't have a menu on the left. Could I add one? Liying Miao ERP/IT Florida A&M University |
From: Liying M. <liy...@fa...> - 2005-06-30 18:26:56
|
Hi Experts, We are trying HC2.0 now to implement a test version of our university's website. We are still at the stage of understanding more of HC by playing with the sample project, modifying content. I know we can add items under News directory, but when we can't do certain things like adding a root menu item or changing the navigation to be a drop down list, we are stuck. I read the Hypercontent 1.4 Manual, and thanks, that was helpful in understanding the building blocks. However, I still don't know where to start. Here are the questions: 1. In order to meet our needs, do we modify the definitions in the sample project, or do we need a brand new project built? 2. If we need to build project from scratch, then, * Do we create a test-repository folder under C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory where sample-build and sample-repository exist) and leave webapp folder alone? * Do we first create Project Definition, filesystem, under C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstrap\ config and projects? How do we define it if we don't have user.xml, index.xml, index.xsl, projet.xsl, etc created yet? * What source can we borrow for the new project, what need to be modified and recompiled? Thanks so much for helping me get started. slowly. Lillian Miao ERP/IT Florida A&M University (850) 412-7999 |
From: Alex V. <av...@co...> - 2005-06-30 17:06:14
|
If you have HC 1.4 set up in such a way that you used the ant script to=20= install it, you can just change the source file and run "ant deploy"=20 which will recompile, make the jar and copy it over to uPortal. You=20 can also just run "ant jar" which will compile and create the jar, and=20= manually copy the updated jar to your webapp. -Alex On Jun 30, 2005, at 10:39 AM, Carl Barrow wrote: > Hi Mike > > I would have thought there should be a file called=20 > DocuemntFactory.class under WEB-INF which you should be able to=20 > replace once you've recompiled DocuemntFactory.java. If not I guess=20= > just put it there. > > Alex will be able to confirm if thats correct..... > > Remember that you'll need to restart your application server so pick=20= > up the changes. > > Thanks > Carl > > Mike B wrote: > >> Hi Carl, >> >> Thanks for the quick reply. I've found the DocumentFactory.java file >> but it is only in the source code, not under WEB-INF. Should I just >> make the changes and copy it there or do I need to go through the >> process of building and deploying with ant? >> >> Thanks, >> Mike >> >> >> On 6/30/05, Carl Barrow <C.P...@hu...> wrote: >> >>> Hi Mike >>> >>> Yes thats possible and something that I've done here in Hull. >>> You can control what the editor strips out and leaves in >>> DocumentFactory.java >>> /uPortal/webpages/WEB-INF/classes/edu/columbia/hypercontent >>> >>> You will see the attributes in the file : >>> remover.acceptElement("form",new >>> String[]{"action","enctype","method","type","target"}); >>> >>> If you have any problems just let me know. >>> >>> Thanks >>> Carl >>> >>> Mike B wrote: >>> >>> >>>> Is it possible to change which tags and attributes are allowed and >>>> unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to >>>> include the embed and style tag as well as the style attribute. >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net email is sponsored by: Discover Easy Linux Migration=20 >>>> 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=3Dclick >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration=20 >>> 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_id=3D7477&alloc_id=3D16492&op=3Dc= lick >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> > > --=20 > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > 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_id=3D7477&alloc_id=3D16492&op=3Dcli= ck > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2005-06-30 14:32:47
|
Hi Mike I would have thought there should be a file called DocuemntFactory.class under WEB-INF which you should be able to replace once you've recompiled DocuemntFactory.java. If not I guess just put it there. Alex will be able to confirm if thats correct..... Remember that you'll need to restart your application server so pick up the changes. Thanks Carl Mike B wrote: >Hi Carl, > >Thanks for the quick reply. I've found the DocumentFactory.java file >but it is only in the source code, not under WEB-INF. Should I just >make the changes and copy it there or do I need to go through the >process of building and deploying with ant? > >Thanks, >Mike > > >On 6/30/05, Carl Barrow <C.P...@hu...> wrote: > > >>Hi Mike >> >>Yes thats possible and something that I've done here in Hull. >>You can control what the editor strips out and leaves in >>DocumentFactory.java >>/uPortal/webpages/WEB-INF/classes/edu/columbia/hypercontent >> >>You will see the attributes in the file : >>remover.acceptElement("form",new >>String[]{"action","enctype","method","type","target"}); >> >>If you have any problems just let me know. >> >>Thanks >>Carl >> >>Mike B wrote: >> >> >> >>>Is it possible to change which tags and attributes are allowed and >>>unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to >>>include the embed and style tag as well as the style attribute. >>> >>> >>>------------------------------------------------------- >>>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_id492&op=click >>>_______________________________________________ >>>Hypercontent-users mailing list >>>Hyp...@li... >>>https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>-- >>************************************ >> >>Carl Barrow >>Web Developer >>e-Services >>The University of Hull >>Cottingham Road >>Hull >>HU6 7RX >>Ext. 6838 >> >>************************************ >> >> >> >>------------------------------------------------------- >>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_id=7477&alloc_id=16492&op=click >>_______________________________________________ >>Hypercontent-users mailing list >>Hyp...@li... >>https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2005-06-30 13:13:55
|
Hi Mike Yes thats possible and something that I've done here in Hull. You can control what the editor strips out and leaves in DocumentFactory.java /uPortal/webpages/WEB-INF/classes/edu/columbia/hypercontent You will see the attributes in the file : remover.acceptElement("form",new String[]{"action","enctype","method","type","target"}); If you have any problems just let me know. Thanks Carl Mike B wrote: >Is it possible to change which tags and attributes are allowed and >unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to >include the embed and style tag as well as the style attribute. > > >------------------------------------------------------- >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_id492&op=click >_______________________________________________ >Hypercontent-users mailing list >Hyp...@li... >https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Mike B <mbe...@gm...> - 2005-06-30 12:20:57
|
Is it possible to change which tags and attributes are allowed and unstripped in HTMLArea for HyperContent 1.4? I'd like to be able to include the embed and style tag as well as the style attribute. |