Java CAPS Repository Browser
The Java CAPS Repository Browser is a web application that you can browse the structure of the Java CAPS Repository. You can browse the projects and especially compare different versions of a given Java Collaboration direct from your Web Browser. This is much faster than browsing from the Enterprise Designer. This web application is read-only: you can only browse the Repository and display XML or Java. But you cannot modify objects.

The web application works with Java CAPS 5.1 and 6 repositories and I have tested on Windows and Open Solaris. The web application is designed to run on the Application (Integration) Server: the web application is using a library that directly accesses the repository files.
The project home is here. If you wish to see quickly the benefit, here is how to get started:

The web application works with Java CAPS 5.1 and 6 repositories and I have tested on Windows and Open Solaris. The web application is designed to run on the Application (Integration) Server: the web application is using a library that directly accesses the repository files.
The project home is here. If you wish to see quickly the benefit, here is how to get started:
- download the binaries
- install using the user's guide - installing should take no more than a few minutes.

hi eric,
nice tool.
sadly it throws those exceptions on my caps u1 installation:
[#|2009-03-30T21:42:46.271+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=39;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=e51fc3b0-0423-4807-a4f6-1daba18d555a;|StandardWrapperValve[Browser]: PWC1406: Servlet.service() for servlet Browser threw exception
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 4-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:674)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:463)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1416)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at jrt.lib.objects.RepositoryObject.getDOM(RepositoryObject.java:61)
at jrt.lib.objects.BaseObject.getOwner(BaseObject.java:289)
at jrt.lib.objects.BaseObject.getPath(BaseObject.java:355)
at jrt.lib.objects.BaseObject.getQualifiedName(BaseObject.java:166)
at jrt.browser.Browser.link(Browser.java:102)
at jrt.browser.Browser.processRequest(Browser.java:214)
at jrt.browser.Browser.doGet(Browser.java:315)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:299)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
regards chris
Posted by christian brennsteiner on March 30, 2009 at 10:05 PM CEST #
Thanks Christian for pointing the issue. It is corrected, new binary here:
https://jcaps-repository-tools.dev.java.net/servlets/ProjectDocumentList?folderID=11184&expandFolder=11184&folderID=11184
Posted by Eric on April 04, 2009 at 08:02 AM CEST #
Very useful tool, Eric. I'll give it a try.
Thanks,
Satish B
Posted by Satish Bommineni on April 07, 2009 at 09:22 PM CEST #
Hi Eric,
I am getting this exception when I enter the user id Administrator and enter :
I have downloaded the binary from the thread you replied to Christian above.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:351)
java.util.logging.Logger.log(Logger.java:452)
java.util.logging.Logger.doLog(Logger.java:474)
java.util.logging.Logger.log(Logger.java:497)
java.util.logging.Logger.info(Logger.java:1016)
jrt.lib.filesystem.ObjectDataDirectory.getCheckedInXML(ObjectDataDirectory.java:107)
jrt.lib.objects.CheckedInObject.getXMLStream(CheckedInObject.java:41)
jrt.lib.objects.RepositoryObject.getDOM(RepositoryObject.java:59)
jrt.lib.objects.BaseObject.getID(BaseObject.java:175)
jrt.browser.Browser.processRequest(Browser.java:176)
jrt.browser.Browser.doPost(Browser.java:335)
javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
note The full stack trace of the root cause is available in the Sun SeeBeyond/Integration-Server-5.1 logs.
Posted by Ram Velamarthy on April 17, 2009 at 05:55 PM CEST #
I am sorry,
I am on JCAPS 5.1.3 version ,please
Many thanks for the tool too.
Posted by Ram Velamarthy on April 17, 2009 at 05:56 PM CEST #
Thank you for your interest. I corrected the NPE by removing an incorrect logging statement. https://jcaps-repository-tools.dev.java.net/servlets/ProjectDocumentList?folderID=11249
Posted by Eric Lerognon on April 20, 2009 at 06:14 PM CEST #