You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Michael Wechner <mi...@wyona.com> on 2005/07/17 09:56:23 UTC

Open Source Content Browser

Hi

Has anyone started yet an Open Source version of something similar
to Day's Content Explorer resp. Day's CRX?

If not, then I would get started myself by developing a Swing or Luxor
based version which is able to access local repos and remote repos 
through WebDAV.

Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Jukka Zitting <ju...@zitting.name>.
Hi,

Michael Wechner wrote:
> ok, but IIUC this requires that such a naming service is running 
> somewhere, where the repository has been bound to, right? If so,
> I am not sure if this is always the case or just overkill for
> many situations, but maybe I misunderstand something completely

Ah, my mistake, I was just thinking about the servlet environment... For 
a GUI (or other) client you might want to use something like the Spring 
framework for making it easy to switch underlying repository 
implementations or transport layers.

BR,

Jukka Zitting

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Jukka Zitting wrote:

> Hi,
>
> Michael Wechner wrote:
>
>> David Nuescheler wrote:
>>
>>> i seriously think that the client app (content browser) should
>>> be independent of the transport layer and just use jcr to
>>> interact with the repository.
>>
>>
>> you mean by using jcr-rmi?
>
>
> I think David suggested that the browser application should use JNDI 
> or some other mechanism to get a reference to the JCR Repository 
> interface and use the standard JCR methods to access the repository.


ok, but IIUC this requires that such a naming service is running 
somewhere, where
the repository has been bound to, right? If so, I am not sure if this is 
always
the case or just overkill for many situations, but maybe I misunderstand 
something completely

>
> This way the application could easily be deployed using any of the 
> available deployment models. It could either directly access an 
> in-process Jackrabbit or another JCR implementation, or use JCR-RMI or 
> the Webdav layer to access a remote repository.
>
> The choise of a transport layer and even whether to use one should be 
> a deployment, not development issue.


you mean like model 3? Any help to get a better understanding is 
appreciated.

Thanks

Michi

>
> BR,
>
> Jukka Zitting
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Jukka Zitting <ju...@zitting.name>.
Hi,

Michael Wechner wrote:
> David Nuescheler wrote:
>> i seriously think that the client app (content browser) should
>> be independent of the transport layer and just use jcr to
>> interact with the repository.
> 
> you mean by using jcr-rmi?

I think David suggested that the browser application should use JNDI or 
some other mechanism to get a reference to the JCR Repository interface 
and use the standard JCR methods to access the repository.

This way the application could easily be deployed using any of the 
available deployment models. It could either directly access an 
in-process Jackrabbit or another JCR implementation, or use JCR-RMI or 
the Webdav layer to access a remote repository.

The choise of a transport layer and even whether to use one should be a 
deployment, not development issue.

BR,

Jukka Zitting

Re: Open Source Content Browser

Posted by David Nuescheler <da...@gmail.com>.
hi michi,

> >i seriously think that the client app (content browser) should
> >be independent of the transport layer and just use jcr to
> >interact with the repository.
> you mean by using jcr-rmi?
no, i mean that the browser should interact with the repository (server)
using the jcr api, independant of the transport protocol.

regards,
david

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
David Nuescheler wrote:

>hi michael,
>
>sounds great ;)
>  
>
>>If not, then I would get started myself by developing a Swing or Luxor
>>based version which is able to access local repos and remote repos
>>through WebDAV.
>>    
>>
>i seriously think that the client app (content browser) should
>be independent of the transport layer and just use jcr to
>interact with the repository.
>  
>

you mean by using jcr-rmi?

Thanks

Michi

>regards,
>david
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by David Nuescheler <da...@gmail.com>.
hi michael,

sounds great ;)
> If not, then I would get started myself by developing a Swing or Luxor
> based version which is able to access local repos and remote repos
> through WebDAV.
i seriously think that the client app (content browser) should
be independent of the transport layer and just use jcr to
interact with the repository.

regards,
david

Re: Open Source Content Browser

Posted by Edgar Poce <ed...@gmail.com>.
Hi oliver

On 7/19/05, Oliver Kiessler <ol...@gmail.com> wrote:
> > Despite I don't have too much time nowadays I feel I'm working on it at
> > least indirectly ;). Let me explain...
> >
> > I didn't think it thoroughly but both jcr-taglib and jcr-commands might
> > help. The taglib would help to display the nodes either in a tree or in
> > a flat manner. btw, I'd like to improve it by adding ajax support
> > through DWR[1]. I think this improvement would help to build rich UIs
> > for other purposes too. e.g. a jcr backed resourcebundle console come to
> > my mind because we talked about it a few days ago.
> >
> > And, independently of the MVC framework of your choice, the project
> > jcr-commands might help too, I'm thinking of binding commands to menu
> > items.
> >
> > It seems that the tough part will be the fancy javascript but if the
> > lines above have any sense we already have something :), WDYT?
> 
> sounds interesting. do you have a simple demo webapp for the jcr-taglib?

Unfortunately not, I wrote it for a project which is not online yet
and didn't use it again since then. But there are examples in the
repository, and I think it's quite well documented. Build the xdocs
with maven and navigate the generated site, if it's not clear please
let me know, or better propose a patch ;).

BR,
edgar

> 
> regards,
> oliver
>

Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> Despite I don't have too much time nowadays I feel I'm working on it at
> least indirectly ;). Let me explain...
> 
> I didn't think it thoroughly but both jcr-taglib and jcr-commands might
> help. The taglib would help to display the nodes either in a tree or in
> a flat manner. btw, I'd like to improve it by adding ajax support
> through DWR[1]. I think this improvement would help to build rich UIs
> for other purposes too. e.g. a jcr backed resourcebundle console come to
> my mind because we talked about it a few days ago.
> 
> And, independently of the MVC framework of your choice, the project
> jcr-commands might help too, I'm thinking of binding commands to menu
> items.
> 
> It seems that the tough part will be the fancy javascript but if the
> lines above have any sense we already have something :), WDYT?

sounds interesting. do you have a simple demo webapp for the jcr-taglib?

regards,
oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Oliver,

I registered with dev.java.net, but I failed to figure out the proper CVS
export. Could you help me please.

Obviously their help pages contain some placeholders, such as

[QUOTE]
In your shell or terminal client, type:

:pserver:yourlogin@CVS.projectname.domain.com:/home/main_CVS_dir

substituting your login and project information.
[/QUOTE]

I was able to guess that I had to replace CVS.projectname.domain.com with
cvs.karma.dev.java.net, but then I was unable to figure out what to
replace /home/main_CVS_dir with.

/karma, /karma/repositorybrowser or /repositorybrowser all did not work.

Regards,
Torsten


>> does either one of you have any code to share yet?
>>
>> Even if it's pretty alpha ...
>
> hi torsten,
> yes, I just commited something. But is early alpha code and only has a
> very simple frontend so far...
>
> https://karma.dev.java.net/source/browse/karma/repositorybrowser/
> https://karma.dev.java.net/
>
> regards,
> oliver
>


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> I obviously had an auth problem! After fixing this, it worked!
> 
> Congratulations!
> 
> But we should really start thinking about some error logging. If I would
>   have seen any "authentication error" message, I would have known where
> to search. But a blank page makes debugging hard.
> 
> Yes, I know, it's early stuff. Just trying to provide some feedback.

the feedback is very appreciated! I am working on some fixes in
karma-jcr. I hope to finish it tonight and commit it... ;)

I will also look into the logging issue.

thanks!

regards,
oliver

p.s. please post issues to https://karma.dev.java.net/servlets/ProjectIssues

Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
hi michi,

> Aug 29, 2005 2:18:49 PM org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 6 column 19: Document root element "taglib",
> must match DOCTYPE root "null".
> org.xml.sax.SAXParseException: Document root element "taglib", must
> match DOCTYPE root "null".
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>         at
> org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown
> Source)
>         at
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown
> Source)
>         at
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
> 
> is it possible that there might be a problem with endorsed libs, e.g.
> Xerces?

Well, I think this is because the web.xml requires a servlet 2.4
container (tomcat 5+). Modifying the web.xml should be easy.

> this seems to be good, whereas why are there two repositoryRoot properties?
> Is that correct?

Yes, "repositoryDir" refers to the "physical" location of the
repository (filesystem path) whereas "repositoryRoot" refers to the
repository tree root (karma-jcr comes with a predefined layout).

> Btw, you might want to change this to LCR (Last changed revision), e.g.
> 
> http://www.wyona.org/maven/jackrabbit/jars/jackrabbit-core-1.0-dev-LCR209797.jar
> 
> then this shouldn't be a problem anymore.

Thanks for the hint. I will change it to this naming scheme soon.

Cheers,
Oliver

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Oliver Kiessler wrote:

>>[27 Aug 2005 00:22:41] INFO [Kernel] Application locale: en
>>[27 Aug 2005 00:22:41] INFO [FrameworkContainer] Kernel startup finished
>>in ms: 652
>>
>>    
>>
>
>hi michi,
>the logfile output looks ok.
>do you have any output in your catalina.out?
>

Aug 29, 2005 2:18:49 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 6 column 19: Document root element "taglib", 
must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "taglib", must 
match DOCTYPE root "null".
        at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown 
Source)
        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown 
Source)
        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)

is it possible that there might be a problem with endorsed libs, e.g. 
Xerces?

> can you post me your
>applicationContext.xml (please check jaasConfigFile, configFile and
>repositoryDir properties)?
>  
>

this seems to be good, whereas why are there two repositoryRoot properties?
Is that correct?

>If you have the latest jackrabbit snapshot jar in your local maven
>repo, this might be a problem because it expects newer config files.
>  
>

I have removed them, but it didn't help.

Btw, you might want to change this to LCR (Last changed revision), e.g.

http://www.wyona.org/maven/jackrabbit/jars/jackrabbit-core-1.0-dev-LCR209797.jar

then this shouldn't be a problem anymore.

Thanks

Michi

>regards,
>oliver
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> I have installed the CVS version and receive the following error (HTML):
> 
> ----------------
> An Error has occurred in this application.
> 
> Please check your log files for further information.
> ----------------
> 
> I am using JDK 1.4.2_01, Maven 1.0.2, Tomcat 4.1.24
> 
> The log files are as follows:
> 
> ==> /tmp/repositorybrowser.log <==
> [27 Aug 2005 00:22:39] INFO [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
> 
> ==> /tmp/repositorybrowser_all.log <==
> [27 Aug 2005 00:22:39] INFO [XmlBeanDefinitionReader] Loading XML bean
> definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
> 
> ==> /tmp/repositorybrowser.log <==
> [27 Aug 2005 00:22:40] INFO [DefaultListableBeanFactory]
> Pre-instantiating singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans
> [repositoryJcrImpl,repositoryStubImpl,repositoryBrowserConfiguration,repositoryProperties,jcrNodeHelper,jcrRepositoryAdminManagerImpl,repositoryAdminManager,jcrRepositoryContentManagerImpl,repositoryContentManager,jcrRepositorySearchManagerImpl,repositorySearchManager,repositoryLoginManager,jcrRepositoryLoginManagerImpl];
> root of BeanFactory hierarchy]
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryJcrImpl'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryStubImpl'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryBrowserConfiguration'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryProperties'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'jcrRepositoryAdminManagerImpl'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryAdminManager'
> [27 Aug 2005 00:22:40] INFO [FrameworkContainer] Starting karma
> application container.
> [27 Aug 2005 00:22:40] INFO [FrameworkContainer] Initializing karma
> kernel: com.inceedo.karma.common.core.Kernel@15a3a92
> [27 Aug 2005 00:22:40] INFO [FrameworkContainer] Reading configuration
> from web.xml.
> [27 Aug 2005 00:22:41] INFO [KarmaConfigurationValidator] Application
> container: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] System locale: en_US
> [27 Aug 2005 00:22:41] INFO [Kernel] Component Impl from config:
> com.inceedo.karma.common.components.ServletComponentImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting basepackage to:
> com.inceedo.karma.jcr.browser
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting viewspath to: /views
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting actionurlpattern to: /do/
> [27 Aug 2005 00:22:41] INFO [Kernel] Workflow Impl from config:
> com.inceedo.karma.common.components.ServletWorkflowImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] AliasesReader Impl:
> com.inceedo.karma.common.conf.AliasesReaderImpl
> [27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Reading aliases from XML.
> [27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Starting to populate
> aliases object.
> [27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Found 3 aliases.
> [27 Aug 2005 00:22:41] INFO [Kernel] Trying container implementation
> class: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting up application container
> thru contextwrapper.
> [27 Aug 2005 00:22:41] INFO [ContainerFactory] Created container
> implementation instance.
> [27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Trying to create
> spring bean factory from applicationContext resource.
> [27 Aug 2005 00:22:41] DEBUG [SpringBeanFactoryImpl] Spring
> XmlBeanFactory:
> org.springframework.web.context.support.XmlWebApplicationContext:
> display name [Root WebApplicationContext]; startup date [Sat Aug 27
> 00:22:39 CEST 2005]; root of context hierarchy; config locations
> [/WEB-INF/applicationContext.xml]
> [27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Finished setting up
> spring bean factory.
> [27 Aug 2005 00:22:41] INFO [ContainerFactory] Container setup finished.
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Scanning action classes
> for dependencies:
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting:
> com.inceedo.karma.jcr.browser.actions.Init
> 
> ==> /tmp/repositorybrowser_all.log <==
> [27 Aug 2005 00:22:40] INFO [DefaultListableBeanFactory]
> Pre-instantiating singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans
> [repositoryJcrImpl,repositoryStubImpl,repositoryBrowserConfiguration,repositoryProperties,jcrNodeHelper,jcrRepositoryAdminManagerImpl,repositoryAdminManager,jcrRepositoryContentManagerImpl,repositoryContentManager,jcrRepositorySearchManagerImpl,repositorySearchManager,repositoryLoginManager,jcrRepositoryLoginManagerImpl];
> root of BeanFactory hierarchy]
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryJcrImpl'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryStubImpl'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryBrowserConfiguration'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryProperties'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'jcrRepositoryAdminManagerImpl'
> [27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared
> instance of singleton bean 'repositoryAdminManager'
> [27 Aug 2005 00:22:40] INFO [FrameworkContainer] Starting karma
> application container.
> [27 Aug 2005 00:22:40] INFO [FrameworkContainer] Initializing karma
> kernel: com.inceedo.karma.common.core.Kernel@15a3a92
> [27 Aug 2005 00:22:40] INFO [FrameworkContainer] Reading configuration
> from web.xml.
> [27 Aug 2005 00:22:41] INFO [KarmaConfigurationValidator] Application
> container: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] System locale: en_US
> [27 Aug 2005 00:22:41] INFO [Kernel] Component Impl from config:
> com.inceedo.karma.common.components.ServletComponentImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting basepackage to:
> com.inceedo.karma.jcr.browser
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting viewspath to: /views
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting actionurlpattern to: /do/
> [27 Aug 2005 00:22:41] INFO [Kernel] Workflow Impl from config:
> com.inceedo.karma.common.components.ServletWorkflowImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] AliasesReader Impl:
> com.inceedo.karma.common.conf.AliasesReaderImpl
> [27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Reading aliases from XML.
> [27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Starting to populate
> aliases object.
> [27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Found 3 aliases.
> [27 Aug 2005 00:22:41] INFO [Kernel] Trying container implementation
> class: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
> [27 Aug 2005 00:22:41] INFO [Kernel] Setting up application container
> thru contextwrapper.
> [27 Aug 2005 00:22:41] INFO [ContainerFactory] Created container
> implementation instance.
> [27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Trying to create
> spring bean factory from applicationContext resource.
> [27 Aug 2005 00:22:41] DEBUG [SpringBeanFactoryImpl] Spring
> XmlBeanFactory:
> org.springframework.web.context.support.XmlWebApplicationContext:
> display name [Root WebApplicationContext]; startup date [Sat Aug 27
> 00:22:39 CEST 2005]; root of context hierarchy; config locations
> [/WEB-INF/applicationContext.xml]
> [27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Finished setting up
> spring bean factory.
> [27 Aug 2005 00:22:41] INFO [ContainerFactory] Container setup finished.
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Scanning action classes
> for dependencies:
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting:
> com.inceedo.karma.jcr.browser.actions.Init
> 
> ==> /tmp/repositorybrowser.log <==
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryAdminManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryAdminManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryContentManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryContentManager
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in
> com.inceedo.karma.jcr.browser.actions.Init: 2
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting:
> com.inceedo.karma.jcr.browser.actions.Browse
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositorySearchManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositorySearchManager
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in
> com.inceedo.karma.jcr.browser.actions.Browse: 2
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting:
> com.inceedo.karma.jcr.browser.actions.Show
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositorySearchManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositorySearchManager
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in
> com.inceedo.karma.jcr.browser.actions.Show: 2
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Finished scanning action
> classes with 3 dependencies found.
> [27 Aug 2005 00:22:41] INFO [Kernel] PropertyResourcesContainer not
> available.
> [27 Aug 2005 00:22:41] INFO [Kernel] Application locale: en
> [27 Aug 2005 00:22:41] INFO [FrameworkContainer] Kernel startup finished
> in ms: 652
> 
> ==> /tmp/repositorybrowser_all.log <==
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryAdminManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryAdminManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryContentManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryContentManager
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in
> com.inceedo.karma.jcr.browser.actions.Init: 2
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting:
> com.inceedo.karma.jcr.browser.actions.Browse
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositorySearchManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositorySearchManager
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in
> com.inceedo.karma.jcr.browser.actions.Browse: 2
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting:
> com.inceedo.karma.jcr.browser.actions.Show
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositoryBrowserConfiguration
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency
> repositorySearchManager
> [27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency:
> repositorySearchManager
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in
> com.inceedo.karma.jcr.browser.actions.Show: 2
> [27 Aug 2005 00:22:41] INFO [ClassInspector] Finished scanning action
> classes with 3 dependencies found.
> [27 Aug 2005 00:22:41] INFO [Kernel] PropertyResourcesContainer not
> available.
> [27 Aug 2005 00:22:41] INFO [Kernel] Application locale: en
> [27 Aug 2005 00:22:41] INFO [FrameworkContainer] Kernel startup finished
> in ms: 652
> 

hi michi,
the logfile output looks ok.
do you have any output in your catalina.out? can you post me your
applicationContext.xml (please check jaasConfigFile, configFile and
repositoryDir properties)?
If you have the latest jackrabbit snapshot jar in your local maven
repo, this might be a problem because it expects newer config files.

regards,
oliver

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Hi

I have installed the CVS version and receive the following error (HTML):

----------------
An Error has occurred in this application.

Please check your log files for further information.
----------------

I am using JDK 1.4.2_01, Maven 1.0.2, Tomcat 4.1.24

The log files are as follows:

==> /tmp/repositorybrowser.log <==
[27 Aug 2005 00:22:39] INFO [XmlBeanDefinitionReader] Loading XML bean 
definitions from ServletContext resource [/WEB-INF/applicationContext.xml]

==> /tmp/repositorybrowser_all.log <==
[27 Aug 2005 00:22:39] INFO [XmlBeanDefinitionReader] Loading XML bean 
definitions from ServletContext resource [/WEB-INF/applicationContext.xml]

==> /tmp/repositorybrowser.log <==
[27 Aug 2005 00:22:40] INFO [DefaultListableBeanFactory] 
Pre-instantiating singletons in factory 
[org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans 
[repositoryJcrImpl,repositoryStubImpl,repositoryBrowserConfiguration,repositoryProperties,jcrNodeHelper,jcrRepositoryAdminManagerImpl,repositoryAdminManager,jcrRepositoryContentManagerImpl,repositoryContentManager,jcrRepositorySearchManagerImpl,repositorySearchManager,repositoryLoginManager,jcrRepositoryLoginManagerImpl]; 
root of BeanFactory hierarchy]
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryJcrImpl'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryStubImpl'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryBrowserConfiguration'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryProperties'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'jcrRepositoryAdminManagerImpl'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryAdminManager'
[27 Aug 2005 00:22:40] INFO [FrameworkContainer] Starting karma 
application container.
[27 Aug 2005 00:22:40] INFO [FrameworkContainer] Initializing karma 
kernel: com.inceedo.karma.common.core.Kernel@15a3a92
[27 Aug 2005 00:22:40] INFO [FrameworkContainer] Reading configuration 
from web.xml.
[27 Aug 2005 00:22:41] INFO [KarmaConfigurationValidator] Application 
container: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
[27 Aug 2005 00:22:41] INFO [Kernel] System locale: en_US
[27 Aug 2005 00:22:41] INFO [Kernel] Component Impl from config: 
com.inceedo.karma.common.components.ServletComponentImpl
[27 Aug 2005 00:22:41] INFO [Kernel] Setting basepackage to: 
com.inceedo.karma.jcr.browser
[27 Aug 2005 00:22:41] INFO [Kernel] Setting viewspath to: /views
[27 Aug 2005 00:22:41] INFO [Kernel] Setting actionurlpattern to: /do/
[27 Aug 2005 00:22:41] INFO [Kernel] Workflow Impl from config: 
com.inceedo.karma.common.components.ServletWorkflowImpl
[27 Aug 2005 00:22:41] INFO [Kernel] AliasesReader Impl: 
com.inceedo.karma.common.conf.AliasesReaderImpl
[27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Reading aliases from XML.
[27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Starting to populate 
aliases object.
[27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Found 3 aliases.
[27 Aug 2005 00:22:41] INFO [Kernel] Trying container implementation 
class: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
[27 Aug 2005 00:22:41] INFO [Kernel] Setting up application container 
thru contextwrapper.
[27 Aug 2005 00:22:41] INFO [ContainerFactory] Created container 
implementation instance.
[27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Trying to create 
spring bean factory from applicationContext resource.
[27 Aug 2005 00:22:41] DEBUG [SpringBeanFactoryImpl] Spring 
XmlBeanFactory: 
org.springframework.web.context.support.XmlWebApplicationContext: 
display name [Root WebApplicationContext]; startup date [Sat Aug 27 
00:22:39 CEST 2005]; root of context hierarchy; config locations 
[/WEB-INF/applicationContext.xml]
[27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Finished setting up 
spring bean factory.
[27 Aug 2005 00:22:41] INFO [ContainerFactory] Container setup finished.
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Scanning action classes 
for dependencies:
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting: 
com.inceedo.karma.jcr.browser.actions.Init

==> /tmp/repositorybrowser_all.log <==
[27 Aug 2005 00:22:40] INFO [DefaultListableBeanFactory] 
Pre-instantiating singletons in factory 
[org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans 
[repositoryJcrImpl,repositoryStubImpl,repositoryBrowserConfiguration,repositoryProperties,jcrNodeHelper,jcrRepositoryAdminManagerImpl,repositoryAdminManager,jcrRepositoryContentManagerImpl,repositoryContentManager,jcrRepositorySearchManagerImpl,repositorySearchManager,repositoryLoginManager,jcrRepositoryLoginManagerImpl]; 
root of BeanFactory hierarchy]
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryJcrImpl'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryStubImpl'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryBrowserConfiguration'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryProperties'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'jcrRepositoryAdminManagerImpl'
[27 Aug 2005 00:22:40] INFO [AbstractBeanFactory] Creating shared 
instance of singleton bean 'repositoryAdminManager'
[27 Aug 2005 00:22:40] INFO [FrameworkContainer] Starting karma 
application container.
[27 Aug 2005 00:22:40] INFO [FrameworkContainer] Initializing karma 
kernel: com.inceedo.karma.common.core.Kernel@15a3a92
[27 Aug 2005 00:22:40] INFO [FrameworkContainer] Reading configuration 
from web.xml.
[27 Aug 2005 00:22:41] INFO [KarmaConfigurationValidator] Application 
container: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
[27 Aug 2005 00:22:41] INFO [Kernel] System locale: en_US
[27 Aug 2005 00:22:41] INFO [Kernel] Component Impl from config: 
com.inceedo.karma.common.components.ServletComponentImpl
[27 Aug 2005 00:22:41] INFO [Kernel] Setting basepackage to: 
com.inceedo.karma.jcr.browser
[27 Aug 2005 00:22:41] INFO [Kernel] Setting viewspath to: /views
[27 Aug 2005 00:22:41] INFO [Kernel] Setting actionurlpattern to: /do/
[27 Aug 2005 00:22:41] INFO [Kernel] Workflow Impl from config: 
com.inceedo.karma.common.components.ServletWorkflowImpl
[27 Aug 2005 00:22:41] INFO [Kernel] AliasesReader Impl: 
com.inceedo.karma.common.conf.AliasesReaderImpl
[27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Reading aliases from XML.
[27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Starting to populate 
aliases object.
[27 Aug 2005 00:22:41] INFO [AliasesReaderImpl] Found 3 aliases.
[27 Aug 2005 00:22:41] INFO [Kernel] Trying container implementation 
class: com.inceedo.karma.ioc.spring.SpringBeanFactoryImpl
[27 Aug 2005 00:22:41] INFO [Kernel] Setting up application container 
thru contextwrapper.
[27 Aug 2005 00:22:41] INFO [ContainerFactory] Created container 
implementation instance.
[27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Trying to create 
spring bean factory from applicationContext resource.
[27 Aug 2005 00:22:41] DEBUG [SpringBeanFactoryImpl] Spring 
XmlBeanFactory: 
org.springframework.web.context.support.XmlWebApplicationContext: 
display name [Root WebApplicationContext]; startup date [Sat Aug 27 
00:22:39 CEST 2005]; root of context hierarchy; config locations 
[/WEB-INF/applicationContext.xml]
[27 Aug 2005 00:22:41] INFO [SpringBeanFactoryImpl] Finished setting up 
spring bean factory.
[27 Aug 2005 00:22:41] INFO [ContainerFactory] Container setup finished.
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Scanning action classes 
for dependencies:
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting: 
com.inceedo.karma.jcr.browser.actions.Init

==> /tmp/repositorybrowser.log <==
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryAdminManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryAdminManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryContentManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryContentManager
[27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in 
com.inceedo.karma.jcr.browser.actions.Init: 2
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting: 
com.inceedo.karma.jcr.browser.actions.Browse
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositorySearchManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositorySearchManager
[27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in 
com.inceedo.karma.jcr.browser.actions.Browse: 2
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting: 
com.inceedo.karma.jcr.browser.actions.Show
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositorySearchManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositorySearchManager
[27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in 
com.inceedo.karma.jcr.browser.actions.Show: 2
[27 Aug 2005 00:22:41] INFO [ClassInspector] Finished scanning action 
classes with 3 dependencies found.
[27 Aug 2005 00:22:41] INFO [Kernel] PropertyResourcesContainer not 
available.
[27 Aug 2005 00:22:41] INFO [Kernel] Application locale: en
[27 Aug 2005 00:22:41] INFO [FrameworkContainer] Kernel startup finished 
in ms: 652

==> /tmp/repositorybrowser_all.log <==
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryAdminManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryAdminManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryContentManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryContentManager
[27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in 
com.inceedo.karma.jcr.browser.actions.Init: 2
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting: 
com.inceedo.karma.jcr.browser.actions.Browse
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositorySearchManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositorySearchManager
[27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in 
com.inceedo.karma.jcr.browser.actions.Browse: 2
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Inspecting: 
com.inceedo.karma.jcr.browser.actions.Show
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositoryBrowserConfiguration
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Found dependency 
repositorySearchManager
[27 Aug 2005 00:22:41] DEBUG [ClassInspector] Added dependency: 
repositorySearchManager
[27 Aug 2005 00:22:41] INFO [ClassInspector] Found dependencies in 
com.inceedo.karma.jcr.browser.actions.Show: 2
[27 Aug 2005 00:22:41] INFO [ClassInspector] Finished scanning action 
classes with 3 dependencies found.
[27 Aug 2005 00:22:41] INFO [Kernel] PropertyResourcesContainer not 
available.
[27 Aug 2005 00:22:41] INFO [Kernel] Application locale: en
[27 Aug 2005 00:22:41] INFO [FrameworkContainer] Kernel startup finished 
in ms: 652


Thanks

Michi


Oliver Kiessler wrote:

>>>ok. this sounds a little bit like you are running on an older
>>>karma-jcr-0.3-SNAPSHOT.jar. Please remove the jar from your local
>>>maven repository and rebuild the repositorybrowser.
>>>      
>>>
>>I have done that, but I kept a md5sum of the file before I deleted it. The
>>new one had the same checksum. But it works now. Strange ...
>>    
>>
>
>for those interested, I released version 0.1 of the repositorybrowser today:
>https://karma.dev.java.net/servlets/ProjectDocumentList?folderID=3876&expandFolder=3876&folderID=3876
>http://www.karma-mvc.org/confluence/display/BROWSER/Home
>
>also available, karma-jcr version 0.3:
>https://karma.dev.java.net/servlets/ProjectDocumentList?folderID=3873&expandFolder=3873&folderID=3876
>http://www.karma-mvc.org/confluence/display/JCR/Home
>
>regards,
>oliver
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> > ok. this sounds a little bit like you are running on an older
> > karma-jcr-0.3-SNAPSHOT.jar. Please remove the jar from your local
> > maven repository and rebuild the repositorybrowser.
> 
> I have done that, but I kept a md5sum of the file before I deleted it. The
> new one had the same checksum. But it works now. Strange ...

for those interested, I released version 0.1 of the repositorybrowser today:
https://karma.dev.java.net/servlets/ProjectDocumentList?folderID=3876&expandFolder=3876&folderID=3876
http://www.karma-mvc.org/confluence/display/BROWSER/Home

also available, karma-jcr version 0.3:
https://karma.dev.java.net/servlets/ProjectDocumentList?folderID=3873&expandFolder=3873&folderID=3876
http://www.karma-mvc.org/confluence/display/JCR/Home

regards,
oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Oliver,

> ok. this sounds a little bit like you are running on an older
> karma-jcr-0.3-SNAPSHOT.jar. Please remove the jar from your local
> maven repository and rebuild the repositorybrowser.

I have done that, but I kept a md5sum of the file before I deleted it. The
new one had the same checksum. But it works now. Strange ...

Regards,
Torsten

>> the problems seems to be around here:
>> [05 Aug 2005 14:30:36] ERROR [BaseRequestProcessor] Error in action
>> processing.
>> java.lang.NullPointerException
>>         at
>> com.inceedo.karma.repository.jcr.JcrRepositorySearchManagerImpl.list(JcrRepositorySearchManagerImpl.java:225)
>
> well, at this point JcrRepositorySearchManagerImpl tries get all nodes
> from the rootnode. if there is a nullpointer, you probably don't have
> a valid jcr session...
>
>> My repositoryRoot is just / as suggested:
>>
>> <!-- repository domain root for a generic setup -->
>> <property name="repositoryRoot" value="/" />
>
> ok. this sounds a little bit like you are running on an older
> karma-jcr-0.3-SNAPSHOT.jar. Please remove the jar from your local
> maven repository and rebuild the repositorybrowser.
>
> oliver
>


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> the problems seems to be around here:
> [05 Aug 2005 14:30:36] ERROR [BaseRequestProcessor] Error in action
> processing.
> java.lang.NullPointerException
>         at
> com.inceedo.karma.repository.jcr.JcrRepositorySearchManagerImpl.list(JcrRepositorySearchManagerImpl.java:225)

well, at this point JcrRepositorySearchManagerImpl tries get all nodes
from the rootnode. if there is a nullpointer, you probably don't have
a valid jcr session...

> My repositoryRoot is just / as suggested:
> 
> <!-- repository domain root for a generic setup -->
> <property name="repositoryRoot" value="/" />

ok. this sounds a little bit like you are running on an older
karma-jcr-0.3-SNAPSHOT.jar. Please remove the jar from your local
maven repository and rebuild the repositorybrowser.

oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Hi,

the problems seems to be around here:

[05 Aug 2005 14:30:36] ERROR [BaseRequestProcessor] Error in action
processing.
java.lang.NullPointerException
        at
com.inceedo.karma.repository.jcr.JcrRepositorySearchManagerImpl.list(JcrRepositorySearchManagerImpl.java:225)

My repositoryRoot is just / as suggested:

<!-- repository domain root for a generic setup -->
<property name="repositoryRoot" value="/" />

Regards,
Torsten


>> Any ideas where to search for the problem?
>
> please send me the stacktrace from the logfile (as specified in
> conf/log4j.properties). I am also working on making the exceptions
> more explicit in karma-common.
>
> I had some changes in applicationContext.xml, please make sure you
> don't have a conflict there.... what is your "repositoryRoot" in
> applicationContext.xml?
>
>> Is the intial choice of create / browse no longer there?
> no. that's gone.
>
> you can manually  create a repo by calling
> (http://localhost:8080/browser/do/init).
>
> oliver
>


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> Any ideas where to search for the problem?

please send me the stacktrace from the logfile (as specified in
conf/log4j.properties). I am also working on making the exceptions
more explicit in karma-common.

I had some changes in applicationContext.xml, please make sure you
don't have a conflict there.... what is your "repositoryRoot" in
applicationContext.xml?

> Is the intial choice of create / browse no longer there?
no. that's gone.

you can manually  create a repo by calling
(http://localhost:8080/browser/do/init).

oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Hi,

I have updated and re-built my sources and tried with the new version, but
I get a

bad karma: karma: null

exception immediatelly. I don't even have a choice like

* Create the repository
* Browse the repository

any more as I had before.

I use the same repository I used with the old version and I use pretty
much the same configuration which I had in a working state, except I have
added the new parameter.

Any ideas where to search for the problem?

Is the intial choice of create / browse no longer there?

Regards,
Torsten


>> I obviously had an auth problem! After fixing this, it worked!
>>
>> Congratulations!
>>
>> But we should really start thinking about some error logging. If I would
>>   have seen any "authentication error" message, I would have known where
>> to search. But a blank page makes debugging hard.
>>
>> Yes, I know, it's early stuff. Just trying to provide some feedback.
>
> I made some more improvements to "karma-jcr" and the "repository
> browser". So please (CVS) update your sources. The karma-jcr Search
> Manager is more "generic" now and has better support for non karma-jcr
> repository layouts. Make sure you get the lastest karma-jcr snapshot
> jar (don't build offline).
>
> The repository browser configuration changed too and it now includes a
> "repositoryRoot" property. With this, one should be able to browse any
> repository layout now.
>
> I also created a wiki page:
> http://www.karma-mvc.org/confluence/display/BROWSER/Home
> Please post you comments to it. There is also a feature wishlist.
>
> regards,
> oliver
>


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> I obviously had an auth problem! After fixing this, it worked!
> 
> Congratulations!
> 
> But we should really start thinking about some error logging. If I would
>   have seen any "authentication error" message, I would have known where
> to search. But a blank page makes debugging hard.
> 
> Yes, I know, it's early stuff. Just trying to provide some feedback.

I made some more improvements to "karma-jcr" and the "repository
browser". So please (CVS) update your sources. The karma-jcr Search
Manager is more "generic" now and has better support for non karma-jcr
repository layouts. Make sure you get the lastest karma-jcr snapshot
jar (don't build offline).

The repository browser configuration changed too and it now includes a
"repositoryRoot" property. With this, one should be able to browse any
repository layout now.

I also created a wiki page:
http://www.karma-mvc.org/confluence/display/BROWSER/Home
Please post you comments to it. There is also a feature wishlist.

regards,
oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Hi again,

I obviously had an auth problem! After fixing this, it worked!

Congratulations!

But we should really start thinking about some error logging. If I would 
  have seen any "authentication error" message, I would have known where 
to search. But a blank page makes debugging hard.

Yes, I know, it's early stuff. Just trying to provide some feedback.

Regards,
Torsten

Oliver Kiessler schrieb:
>>>Please search for "jaasConfigFile",
>>
>>Ok, found jaasConfigFile, it was in the section above!
>>
>>
>>>So please run "the Init the
>>>repository" function in your browser webapp first (first screen when
>>>opening http://localhost:8080/browser/).
>>
>>That worked any I can browse it. Now I got another repository on my box.
>>
>>I will go celebrate as soon as I manage to create a repo with A and read
>>it with B. :-)) Wasn't that the idea of having a standard such as JSR-170?
>>
>>Don't get me wrong; thank you for your code. Maybe it can be taken further
>>into an "any JCR repository" browser. I will investigate a bit.
>>
>>At least your stuff is the only available free implementation of such a
>>browser that I know about.
> 
> 
> hi torsten,
> in fact you *can* browse any given jcr repository with the karma-jcr
> repositorybrowser. You need to make some modifications to the config
> files though. First you need to provide a valid repository.xml
> configuration (in the conf dir). Then you need to change the "domain
> root" (in src/java/com/inceedo/karma/jcr/browser/actions/Show.java and
> Browse.java). And that should do it... ;)
> 
> I will have a look at it tonight too and move this domain root
> configuration stuff to the applicationContext.xml file, so you can
> easily modify it to use it for any jcr repo.
> 
> Again, like I said, this is very early stuff, I will make it more
> generic very soon... You can also join in if you like and send me
> patches... ;)
> 
> oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Hi Oliver,

 > in fact you *can* browse any given jcr repository with the karma-jcr
 > repositorybrowser. You need to make some modifications to the config
 > files though. First you need to provide a valid repository.xml
 > configuration (in the conf dir). Then you need to change the "domain
 > root" (in src/java/com/inceedo/karma/jcr/browser/actions/Show.java and
 > Browse.java). And that should do it... ;)

I tried this, but without success so far. I just see empty pages trying 
to "Browse repository". Might have a number of reasons, but my problem 
is that I have no idea where to search, because I don't get any logging 
output. And I know to little about the Spring framework to implement 
some proper error reporting.

Well, maybe you will have more luck. Keep us updated on the list.

Regards,
Torsten

Oliver Kiessler schrieb:
>>>Please search for "jaasConfigFile",
>>
>>Ok, found jaasConfigFile, it was in the section above!
>>
>>
>>>So please run "the Init the
>>>repository" function in your browser webapp first (first screen when
>>>opening http://localhost:8080/browser/).
>>
>>That worked any I can browse it. Now I got another repository on my box.
>>
>>I will go celebrate as soon as I manage to create a repo with A and read
>>it with B. :-)) Wasn't that the idea of having a standard such as JSR-170?
>>
>>Don't get me wrong; thank you for your code. Maybe it can be taken further
>>into an "any JCR repository" browser. I will investigate a bit.
>>
>>At least your stuff is the only available free implementation of such a
>>browser that I know about.
> 
> 
> hi torsten,
> in fact you *can* browse any given jcr repository with the karma-jcr
> repositorybrowser. You need to make some modifications to the config
> files though. First you need to provide a valid repository.xml
> configuration (in the conf dir). Then you need to change the "domain
> root" (in src/java/com/inceedo/karma/jcr/browser/actions/Show.java and
> Browse.java). And that should do it... ;)
> 
> I will have a look at it tonight too and move this domain root
> configuration stuff to the applicationContext.xml file, so you can
> easily modify it to use it for any jcr repo.
> 
> Again, like I said, this is very early stuff, I will make it more
> generic very soon... You can also join in if you like and send me
> patches... ;)
> 
> oliver

Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> > Please search for "jaasConfigFile",
> 
> Ok, found jaasConfigFile, it was in the section above!
> 
> > So please run "the Init the
> > repository" function in your browser webapp first (first screen when
> > opening http://localhost:8080/browser/).
> 
> That worked any I can browse it. Now I got another repository on my box.
> 
> I will go celebrate as soon as I manage to create a repo with A and read
> it with B. :-)) Wasn't that the idea of having a standard such as JSR-170?
> 
> Don't get me wrong; thank you for your code. Maybe it can be taken further
> into an "any JCR repository" browser. I will investigate a bit.
> 
> At least your stuff is the only available free implementation of such a
> browser that I know about.

hi torsten,
in fact you *can* browse any given jcr repository with the karma-jcr
repositorybrowser. You need to make some modifications to the config
files though. First you need to provide a valid repository.xml
configuration (in the conf dir). Then you need to change the "domain
root" (in src/java/com/inceedo/karma/jcr/browser/actions/Show.java and
Browse.java). And that should do it... ;)

I will have a look at it tonight too and move this domain root
configuration stuff to the applicationContext.xml file, so you can
easily modify it to use it for any jcr repo.

Again, like I said, this is very early stuff, I will make it more
generic very soon... You can also join in if you like and send me
patches... ;)

oliver

Re: Open Source Content Browser

Posted by Jérôme BENOIS <be...@argia-engineering.fr>.
Hello,

	Good :-), have you a screenshot for me ?

Thanks,
Jérôme.

On Mon, 2005-08-01 at 17:53 +0200, Torsten Schlabach wrote:
> Oliver,
> 
> > Please search for "jaasConfigFile",
> 
> Ok, found jaasConfigFile, it was in the section above!
> 
> > So please run "the Init the
> > repository" function in your browser webapp first (first screen when
> > opening http://localhost:8080/browser/).
> 
> That worked any I can browse it. Now I got another repository on my box.
> 
> I will go celebrate as soon as I manage to create a repo with A and read
> it with B. :-)) Wasn't that the idea of having a standard such as JSR-170?
> 
> Don't get me wrong; thank you for your code. Maybe it can be taken further
> into an "any JCR repository" browser. I will investigate a bit.
> 
> At least your stuff is the only available free implementation of such a
> browser that I know about.
> 
> Regards,
> Torsten
> 
> 
> >> I managed to download, build and install the browser. I also tried my
> >> best
> >> configuring it (prior to building), but I keep getting:
> >>
> >> javax.servlet.ServletException: bad karma: karma: null
> >>         com.inceedo.karma.common.servlet.FrameworkContainer.processRequest(FrameworkContainer.java:173)
> >>         com.inceedo.karma.common.servlet.FrameworkContainer.doGet(FrameworkContainer.java:187)
> >>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>
> >> Is this anything general about the framework used or might it be that it
> >> cannot find the repository.
> >
> > I think it doesn't find the repository. Did you have a look at the
> > Readme file? You need to edit the applicationContext.xml file in
> > src/webapp/WEB-INF. Please search for "jaasConfigFile",
> > "repositoryDir" and "configFile" in applicationContext.xml. Usually
> > that is where those errors come from. If you still have a problem,
> > please post/send me the complete stacktrace.
> >
> > Please note that I have tested the repositorybrowser only with a
> > repository created by karma-jcr. So please run "the Init the
> > repository" function in your browser webapp first (first screen when
> > opening http://localhost:8080/browser/). It will not run on any
> > repository so far! karma-jcr comes with a "special" repository layout.
> >
> > Sorry for the inconvienence (but it's very early code)....
> >
> > regards,
> > oliver
> >
> 


Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Oliver,

> Please search for "jaasConfigFile",

Ok, found jaasConfigFile, it was in the section above!

> So please run "the Init the
> repository" function in your browser webapp first (first screen when
> opening http://localhost:8080/browser/).

That worked any I can browse it. Now I got another repository on my box.

I will go celebrate as soon as I manage to create a repo with A and read
it with B. :-)) Wasn't that the idea of having a standard such as JSR-170?

Don't get me wrong; thank you for your code. Maybe it can be taken further
into an "any JCR repository" browser. I will investigate a bit.

At least your stuff is the only available free implementation of such a
browser that I know about.

Regards,
Torsten


>> I managed to download, build and install the browser. I also tried my
>> best
>> configuring it (prior to building), but I keep getting:
>>
>> javax.servlet.ServletException: bad karma: karma: null
>>         com.inceedo.karma.common.servlet.FrameworkContainer.processRequest(FrameworkContainer.java:173)
>>         com.inceedo.karma.common.servlet.FrameworkContainer.doGet(FrameworkContainer.java:187)
>>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> Is this anything general about the framework used or might it be that it
>> cannot find the repository.
>
> I think it doesn't find the repository. Did you have a look at the
> Readme file? You need to edit the applicationContext.xml file in
> src/webapp/WEB-INF. Please search for "jaasConfigFile",
> "repositoryDir" and "configFile" in applicationContext.xml. Usually
> that is where those errors come from. If you still have a problem,
> please post/send me the complete stacktrace.
>
> Please note that I have tested the repositorybrowser only with a
> repository created by karma-jcr. So please run "the Init the
> repository" function in your browser webapp first (first screen when
> opening http://localhost:8080/browser/). It will not run on any
> repository so far! karma-jcr comes with a "special" repository layout.
>
> Sorry for the inconvienence (but it's very early code)....
>
> regards,
> oliver
>


Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
> You need to edit the applicationContext.xml file in
> src/webapp/WEB-INF.

I have done that, but

> Please search for "jaasConfigFile",
> "repositoryDir" and "configFile" in applicationContext.xml.

I did not find the jaasConfigFile entry at all. Should I add it? I have
changed the others to an empty writeable path now in order to try and have
it create a fresh repository.

> It will not run on any
> repository so far! karma-jcr comes with a "special" repository layout.

This is good to know.

> Sorry for the inconvienence (but it's very early code)....

Not blaming anyone. Just having any handy tool to view a repository would
be a bit help at this point in time.

Regards,
Torsten

>> I managed to download, build and install the browser. I also tried my
>> best
>> configuring it (prior to building), but I keep getting:
>>
>> javax.servlet.ServletException: bad karma: karma: null
>>         com.inceedo.karma.common.servlet.FrameworkContainer.processRequest(FrameworkContainer.java:173)
>>         com.inceedo.karma.common.servlet.FrameworkContainer.doGet(FrameworkContainer.java:187)
>>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>> Is this anything general about the framework used or might it be that it
>> cannot find the repository.
>
> I think it doesn't find the repository. Did you have a look at the
> Readme file? You need to edit the applicationContext.xml file in
> src/webapp/WEB-INF. Please search for "jaasConfigFile",
> "repositoryDir" and "configFile" in applicationContext.xml. Usually
> that is where those errors come from. If you still have a problem,
> please post/send me the complete stacktrace.
>
> Please note that I have tested the repositorybrowser only with a
> repository created by karma-jcr. So please run "the Init the
> repository" function in your browser webapp first (first screen when
> opening http://localhost:8080/browser/). It will not run on any
> repository so far! karma-jcr comes with a "special" repository layout.
>
> Sorry for the inconvienence (but it's very early code)....
>
> regards,
> oliver
>


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> I managed to download, build and install the browser. I also tried my best
> configuring it (prior to building), but I keep getting:
> 
> javax.servlet.ServletException: bad karma: karma: null
>         com.inceedo.karma.common.servlet.FrameworkContainer.processRequest(FrameworkContainer.java:173)
>         com.inceedo.karma.common.servlet.FrameworkContainer.doGet(FrameworkContainer.java:187)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> Is this anything general about the framework used or might it be that it
> cannot find the repository.

I think it doesn't find the repository. Did you have a look at the
Readme file? You need to edit the applicationContext.xml file in
src/webapp/WEB-INF. Please search for "jaasConfigFile",
"repositoryDir" and "configFile" in applicationContext.xml. Usually
that is where those errors come from. If you still have a problem,
please post/send me the complete stacktrace.

Please note that I have tested the repositorybrowser only with a
repository created by karma-jcr. So please run "the Init the
repository" function in your browser webapp first (first screen when
opening http://localhost:8080/browser/). It will not run on any
repository so far! karma-jcr comes with a "special" repository layout.

Sorry for the inconvienence (but it's very early code)....

regards,
oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Oliver,

thank you for your hints. Too long ago I used CVS. ;-)

I managed to download, build and install the browser. I also tried my best
configuring it (prior to building), but I keep getting:

javax.servlet.ServletException: bad karma: karma: null
	com.inceedo.karma.common.servlet.FrameworkContainer.processRequest(FrameworkContainer.java:173)
	com.inceedo.karma.common.servlet.FrameworkContainer.doGet(FrameworkContainer.java:187)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Is this anything general about the framework used or might it be that it
cannot find the repository.

Regards,
Torsten

P.S.: Please make sure you hit "reply all" to include the list.

> 2005/8/1, Torsten Schlabach <ts...@apache.org>:
>> Oliver,
>>
>> I registered with dev.java.net, but I failed to figure out the proper
>> CVS
>> export. Could you help me please.
>>
>> Obviously their help pages contain some placeholders, such as
>>
>> [QUOTE]
>> In your shell or terminal client, type:
>>
>> :pserver:yourlogin@CVS.projectname.domain.com:/home/main_CVS_dir
>>
>> substituting your login and project information.
>> [/QUOTE]
>>
>> I was able to guess that I had to replace CVS.projectname.domain.com
>> with
>> cvs.karma.dev.java.net, but then I was unable to figure out what to
>> replace /home/main_CVS_dir with.
>>
>> /karma, /karma/repositorybrowser or /repositorybrowser all did not work.
>
> hi torsten,
>
> try this:
>
> cvs -d :pserver:<YOURNICK>@cvs.dev.java.net:/cvs login
> Enter password
>
> cvs -d :pserver:<YOURNICK>@cvs.dev.java.net:/cvs checkout karma/jcr
>
> regards,
> oliver
>


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> does either one of you have any code to share yet?
> 
> Even if it's pretty alpha ...

hi torsten,
yes, I just commited something. But is early alpha code and only has a
very simple frontend so far...

https://karma.dev.java.net/source/browse/karma/repositorybrowser/
https://karma.dev.java.net/

regards,
oliver

Re: Open Source Content Browser

Posted by Torsten Schlabach <ts...@apache.org>.
Hi,

does either one of you have any code to share yet?

Even if it's pretty alpha ...

Regards,
Torsten

Michael Wechner schrieb:
> Oliver Kiessler wrote:
> 
>>> I am actually more interested in a AWT based client, but I think DWR is
>>> very nice
>>> and will forward it to the Apache Lenya mailing list ;-)
>>>
>>> But I am curious how this could be leveraged re using it for Browser and
>>> Desktop
>>> based.
>>>   
>>
>>
>> ok. well, I don't know enough about building java desktop applications
>> to participate. But as far as the webbased repo browser is concerned,
>> I'd still be interested. I might bring up this topic in the graffito
>> mailinglist.
>>  
>>
> 
> please don't worry about me. It's not one versus the other, I just
> wanted to mention my personal priorities. A browser based version
> is also cool, but I will start working on a desktop based one anyway ;-)
> 
> whereas it still would be cool if we can leverage somehow.
> 
> Michi
> 
>> cheers,
>> oliver
>>
>>  
>>
> 
> 

Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> please don't worry about me. It's not one versus the other, I just
> wanted to mention my personal priorities. A browser based version
> is also cool, but I will start working on a desktop based one anyway ;-)

No problem. I got your point... ;)

> whereas it still would be cool if we can leverage somehow.

Sure! I'd be happy to join in if help is needed.

A repository viewer/browser (read-only) should not be much of a deal.
I am not so sure about custom node management and that kind of
stuff...

regards,
oliver

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Oliver Kiessler wrote:

>>I am actually more interested in a AWT based client, but I think DWR is
>>very nice
>>and will forward it to the Apache Lenya mailing list ;-)
>>
>>But I am curious how this could be leveraged re using it for Browser and
>>Desktop
>>based.
>>    
>>
>
>ok. well, I don't know enough about building java desktop applications
>to participate. But as far as the webbased repo browser is concerned,
>I'd still be interested. I might bring up this topic in the graffito
>mailinglist.
>  
>

please don't worry about me. It's not one versus the other, I just
wanted to mention my personal priorities. A browser based version
is also cool, but I will start working on a desktop based one anyway ;-)

whereas it still would be cool if we can leverage somehow.

Michi

>cheers,
>oliver
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
> I am actually more interested in a AWT based client, but I think DWR is
> very nice
> and will forward it to the Apache Lenya mailing list ;-)
> 
> But I am curious how this could be leveraged re using it for Browser and
> Desktop
> based.

ok. well, I don't know enough about building java desktop applications
to participate. But as far as the webbased repo browser is concerned,
I'd still be interested. I might bring up this topic in the graffito
mailinglist.

cheers,
oliver

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Edgar Poce wrote:

>Hi michi
>
>On 7/20/05, Michael Wechner <mi...@wyona.com> wrote:
>  
>
>>I am actually more interested in a AWT based client, but I think DWR is
>>very nice
>>and will forward it to the Apache Lenya mailing list ;-)
>>
>>But I am curious how this could be leveraged re using it for Browser and
>>Desktop
>>based.
>>    
>>
>
>Sorry I wasn't clear, my previous posts in this thread refer only to
>the web based browser.
>  
>

I know. I just wanted to express once more that I think that a Desktop based
client would also be good ;-)

Michi

>BR,
>edgar
>
>  
>
>>Thanks
>>
>>Michi
>>
>>    
>>
>>>>regards,
>>>>oliver
>>>>
>>>>        
>>>>
>>--
>>Michael Wechner
>>Wyona      -   Open Source Content Management   -    Apache Lenya
>>http://www.wyona.com                      http://lenya.apache.org
>>michael.wechner@wyona.com                        michi@apache.org
>>
>>    
>>
>>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Edgar Poce <ed...@gmail.com>.
Hi michi

On 7/20/05, Michael Wechner <mi...@wyona.com> wrote:
> I am actually more interested in a AWT based client, but I think DWR is
> very nice
> and will forward it to the Apache Lenya mailing list ;-)
> 
> But I am curious how this could be leveraged re using it for Browser and
> Desktop
> based.

Sorry I wasn't clear, my previous posts in this thread refer only to
the web based browser.

BR,
edgar

> 
> Thanks
> 
> Michi
> 
> >
> >>
> >> regards,
> >> oliver
> >>
> >
> 
> 
> --
> Michael Wechner
> Wyona      -   Open Source Content Management   -    Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> michael.wechner@wyona.com                        michi@apache.org
> 
>

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Edgar Poce wrote:

>
> It seems that the tough part will be the fancy javascript but if the 
> lines above have any sense we already have something :), WDYT?
>
> kind regards,
> edgar
>
> [1] http://www.getahead.ltd.uk/dwr/index.html


I am actually more interested in a AWT based client, but I think DWR is 
very nice
and will forward it to the Apache Lenya mailing list ;-)

But I am curious how this could be leveraged re using it for Browser and 
Desktop
based.

Thanks

Michi

>
>>
>> regards,
>> oliver
>>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Edgar Poce <ed...@gmail.com>.
Hi guys,

Oliver Kiessler wrote:
> hi michi,
> 
> 
>>Has anyone started yet an Open Source version of something similar
>>to Day's Content Explorer resp. Day's CRX?
>>
>>If not, then I would get started myself by developing a Swing or Luxor
>>based version which is able to access local repos and remote repos
>>through WebDAV.
> 
> 
> I would be interested to work on a web-based repository browser.

Despite I don't have too much time nowadays I feel I'm working on it at 
least indirectly ;). Let me explain...

I didn't think it thoroughly but both jcr-taglib and jcr-commands might 
help. The taglib would help to display the nodes either in a tree or in 
a flat manner. btw, I'd like to improve it by adding ajax support 
through DWR[1]. I think this improvement would help to build rich UIs 
for other purposes too. e.g. a jcr backed resourcebundle console come to 
my mind because we talked about it a few days ago.

And, independently of the MVC framework of your choice, the project 
jcr-commands might help too, I'm thinking of binding commands to menu 
items.

It seems that the tough part will be the fancy javascript but if the 
lines above have any sense we already have something :), WDYT?

kind regards,
edgar

[1] http://www.getahead.ltd.uk/dwr/index.html

> 
> regards,
> oliver
> 

Re: Open Source Content Browser

Posted by Michael Wechner <mi...@wyona.com>.
Oliver Kiessler wrote:

>hi michi,
>
>  
>
>>Has anyone started yet an Open Source version of something similar
>>to Day's Content Explorer resp. Day's CRX?
>>
>>If not, then I would get started myself by developing a Swing or Luxor
>>based version which is able to access local repos and remote repos
>>through WebDAV.
>>    
>>
>
>I would be interested to work on a web-based repository browser.
>  
>

one could enhance the jcr-server web interface by using XML HTTP, whereas
one could probably reuse some of the Javascript code from Apache Lenya.

Michi

>regards,
>oliver
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Re: Open Source Content Browser

Posted by Oliver Kiessler <ol...@gmail.com>.
hi michi,

> Has anyone started yet an Open Source version of something similar
> to Day's Content Explorer resp. Day's CRX?
> 
> If not, then I would get started myself by developing a Swing or Luxor
> based version which is able to access local repos and remote repos
> through WebDAV.

I would be interested to work on a web-based repository browser.

regards,
oliver