>From my side no big item..We can start work on getting out next release M2. I think we should shift Admin-UI for MileStone 3.
On Tue, Jan 12, 2010 at 9:45 PM, Avdhesh Yadav <[email protected]> wrote: > Hi.. > > Please review the JCRSupport patch..If it needs improvements ,let me > know.. > > Regards > Avdhesh > > > On Mon, Jan 11, 2010 at 10:57 PM, Avdhesh Yadav <[email protected]>wrote: > >> Either i is use @scope(value="Stateless") or "composite" i always get two >> instances..Is there a way to get single instance... >> >> Actaully i am trying to run jcr based webapp on tomcat... >> >> In the log bellow you can see repository exception. i think this is >> because of multiple instances of GalleryImpl trying to create jcr repository >> which is already locked.. >> >> inside default construtor of >> GalleryImpl:sun.reflect.NativeConstructorAccessorImpl >> inside default construtor of >> GalleryImpl:sun.reflect.NativeConstructorAccessorImpl >> inside getAlbums >> >>> Initializing JCR Gallery >> inside getAlbums >> >>> Initializing JCR Gallery >> log4j:WARN No appenders could be found for logger >> (org.jabsorb.JSONSerializer). >> log4j:WARN Please initialize the log4j system properly. >> >>> Initializing JCR Album >> getLocation():gallery/boston/ >> >> albumURL:file:/opt/JW2AS0.1.1/webserver/apache-tomcat-6.0.20/webapps/photark/gallery/boston/ >> >>> Initializing JCR Album >> getLocation():gallery/boston/ >> >> albumURL:file:/opt/JW2AS0.1.1/webserver/apache-tomcat-6.0.20/webapps/photark/gallery/boston/ >> javax.jcr.RepositoryException: The repository home >> /opt/JW2AS0.1.1/webserver/apache-tomcat-6.0.20/bin/repository appears to be >> in use since the file named .lock is already locked by the current process. >> >> >> >> >> On Mon, Jan 11, 2010 at 10:11 PM, Luciano Resende >> <[email protected]>wrote: >> >>> On Mon, Jan 11, 2010 at 8:31 AM, Avdhesh Yadav <[email protected]> >>> wrote: >>> > Hi >>> > >>> > Two instances of GalleryImpl is creating...is it default behaviour of >>> > tuscany ? >>> > In log file catalina.log i can see init method called twice. >>> > >>> >>>> Initializing JCR Gallery >>> >>>> Initializing JCR Gallery >>> > >>> >>> We might need to check the @Scope of the service to avoid this, I'll >>> take a look at what is defined now, which i guess is none. >>> >>> -- >>> Luciano Resende >>> http://people.apache.org/~lresende<http://people.apache.org/%7Elresende> >>> http://lresende.blogspot.com/ >>> >> >> > -- Avdhesh Yadav http://www.avdheshyadav.com
