Re: [Hypercontent-users] Newbies Questions
Brought to you by:
alexvigdor
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 |