Hi, what is unclear to me, is when does this error occur? Does it happen when you try to open/edit a document or on save?
If this happens on edit, try to call the editing pane itself from the browser: http://[hostname]:[port]/editing/cf2/showForm/[typename]/content/[pathtodocument] and see what the error is. Let us know. Kind regards, Jeroen Reijn On Thu, 2008-01-03 at 12:40 +0100, Bartosz Oudekerk wrote: > Continuing discussion here. If anyone has any ideas about the problem > below, please speak up. This is a deploy of CMS v6.05.02 on > Weblogic 9.2. > > From: Gian Carlo Pace <[EMAIL PROTECTED]> > > Hi Bartosz, > > > I found another bug in my templates, sorry about that. > > ... > > Your build.properties look fine. (AFAICS without knowing your exact > > configuration) > > I tried out your configuration but it seems to have some problem: > the error message has not changed. But from what we see this is just > one part of the problem but not the main problem that prevents us to > edit and create out documents. > > The maim point seems to be in the handled-errors.log.2008_0X_YY.log > (attached to this mail) in which we find (at the end of the file): > > Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/ > home/sourcesense/deploy_weblogic/editor.war/sites/hippo-cms/editing/ > cf2/ doesn't exist. > at org.apache.excalibur.source.impl.FileSource.getInputStream > (FileSource.java:150) > at > org.apache.cocoon.components.source.SourceUtil.getInputSource > (SourceUtil.java:522) > ... 105 more > Caused by: java.io.FileNotFoundException: /home/sourcesense/ > deploy_weblogic/editor.war/sites/hippo-cms/editing/cf2 (Is a directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:106) > at org.apache.excalibur.source.impl.FileSource.getInputStream > (FileSource.java:146) > ... 106 more > > Now the path /home/sourcesense/deploy_weblogic/editor.war/sites/hippo- > cms/editing/cf2 is existing but is a directory and not a file and it > seems to me that something should be postponed to that path. > > Just to add some infos in the exception I can find the file sites/ > hippo-cms/editing/cf2/flow/HippoForm.js involved in the cause and it > seems it fails at line 39 > > formMgr = cocoon.getComponent > (Packages.org.apache.cocoon.forms.FormManager.ROLE); > resolver = cocoon.getComponent > (Packages.org.apache.cocoon.environment.SourceResolver.ROLE); > src = resolver.resolveURI(uri); > >>>>>>> this.form = formMgr.createForm(src); <<<<<<<<<<<<<<<<< > > Does this error sounds familiar to you? Have you faced this problem > before? > Could you please take a look at the log file? It seems to me that > something related to the cache has gone wrong but I'm quite guessing. > > NOTE: Repos has been downloded from the hippo distribution and types > definition is the default one in order to have the whole thing > working in the simplest situation. > > Thank again > -- > Gian Carlo > > > > plain text document attachment > (file:///C:/DOCUME~1/BOUDEK~1.HIP/LOCALS~1/TEMP/nsmail-1.txt) > > > > >> The other strange thing is that I can startup the context only > >> shutting down the whole server I created for this project and > >> firing it up. If I try to stop and start the cms context weblogic > >> complains with the StackTrace[1] > > > > This seems something from WebLogic itself, not directly related to > > the CMS. I'm sorry, I can't help you with this. > > > >> Thanks in advance and happy new year! > > > > Happy new year to you too. > > > >> Il giorno 29/dic/07, alle ore 15:47, Bartosz Oudekerk ha scritto: > >>> Gian Carlo Pace wrote: > >>>> Hi Bartosz, > >>>> glad to read you :) > >>>>> check out the latest tag of the CMS > >>>>> unpack the tar.bz2 file[0] on top of it. > >>>>> move the editor/build.properties-weblogic to editor/ > >>>>> build.properties and > >>>>> configure it match your setup. > >>>>> execute: maven -deditor cocoon:war > >>>>> unpack(jar -xf) the war somewhere WebLogic can find it and deploy. > >>>> It's almost what I've done and it did not worked for me: the war > >>>> does not seems to have a weblogic.xml in it and does not seems > >>>> to be complete. The last configuration I tryied used the trunk > >>>> of the CMS: maybe it does not work with it but only with 6.05 > >>>> version? > >>> > >>> It should have a weblogic.xml, since that one is included in the > >>> template that's in the archive from the wiki. If it doesn't, one of > >>> the above steps must have gone wrong. > >>> > >>> After unpacking it on top of your sources, you should have a > >>> build.properties-weblogic in the editor folder. > >>> > >>> In those build.properties-weblogic there's the line > >>> maven.war.src=${basedir}/../config/webapp > >>> and if you look in that folder(it's also in the archive), you > >>> will see > >>> there's a WEB-INF with a weblogic.xml, which will be added to > >>> your war > >>> after it is built. > >>> > >>> So if you rename the build.properties-weblogic to > >>> build.properties and > >>> do a 'maven -deditor cocoon:war' it should include the > >>> weblogic.xml when > >>> building. If it doesn't there at least should be some error in the > >>> output of maven. > >>> > >>> Regards, > >>> -- > >>> Bartosz Oudekerk > >>> .----------------------- > >>> | Hippo > >>> | Oosteinde 11 > >>> | 1017 WT Amsterdam > >>> | The Netherlands > >>> | Tel +31 (0)20 5224466 > >>> +---------------------------------------------- > >>> | [EMAIL PROTECTED] / http://www.hippo.nl > >>> `------------------------------------------------------------------- > >>> --- > > > > > > -- > > Bartosz Oudekerk > > .----------------------- > > | Hippo > > | Oosteinde 11 > > | 1017 WT Amsterdam > > | The Netherlands > > | Tel +31 (0)20 5224466 > > +---------------------------------------------- > > | [EMAIL PROTECTED] / http://www.hippo.nl > > `--------------------------------------------------------------------- > > - > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
