jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilikiss O Adebiyi <adeb...@us.ibm.com>
Subject Jackrabbit + Tomcat security
Date Mon, 06 Mar 2006 20:24:46 GMT
Hello All
I'm working with jackrabbit on tomcat. I would like my repository to be 
accessed via a service.
I followed all the instructions on the site for configuring tomcat using 
the web application deployment.
I'm getting the following error....unknown protocol c(error trace below)
Does anyone have any ideas? I've modified CATALINA_OPTS and put in the 
path to jaas.config in my java.security file
Any help would be greatly appreciated
Thanks

Setting up repository
- LocalFileSystem initialized at path c:\stuff\repository\repository
- LocalFileSystem initialized at path c:\stuff\repository\versions
- Starting repository...
- no custom node type definitions found
- LocalFileSystem initialized at path c:\stuff\repository\versions\blobs
- initializing workspace 'default'...
- LocalFileSystem initialized at path 
c:\stuff\repository\workspaces\default
- LocalFileSystem initialized at path 
c:\stuff\repository\workspaces\default\bl
bs
- workspace 'default' initialized
- Index initialized: c:\stuff\repository\workspaces\default/index
- Repository started
java.lang.SecurityException: unknown protocol: c
        at 
com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method

        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruc
orAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegating
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at 
javax.security.auth.login.Configuration$3.run(Configuration.java:216

        at java.security.AccessController.doPrivileged(Native Method)
        at 
javax.security.auth.login.Configuration.getConfiguration(Configurati
n.java:210)
        at 
javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
javax.security.auth.login.LoginContext.init(LoginContext.java:234)
        at 
javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
        at 
org.apache.jackrabbit.core.security.AuthContext$JAAS.<init>(AuthCont
xt.java:82)
        at 
org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:
052)
        at 
org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:
091)
        at 
org.apache.jackrabbit.core.jndi.BindableRepository.login(BindableRep
sitory.java:174)
        at 
com.ibm.smb.docStore.service.docStoreImpl.login(docStoreImpl.java:10
)
        at 
com.ibm.smb.docStore.service.docStoreImpl.initialize(docStoreImpl.ja
a:83)
        at 
com.ibm.smb.docStore.service.docStoreService.login(docStoreService.j
va:33)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusines
Logic(RawXMLINOnlyMessageReceiver.java:106)
        at 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(Abstrac
InMessageReceiver.java:34)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:331)
        at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRe
uest(HTTPTransportUtils.java:274)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:
50)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:200)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
ilterChain.java:146)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
alve.java:209)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte
t.invokeNext(StandardPipeline.java:596)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja
a:433)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948

        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContext
alve.java:144)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte
t.invokeNext(StandardPipeline.java:596)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja
a:433)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948

        at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java
2358)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
ava:133)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte
t.invokeNext(StandardPipeline.java:596)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatch
rValve.java:118)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte
t.invokeNext(StandardPipeline.java:594)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
ava:116)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte
t.invokeNext(StandardPipeline.java:594)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja
a:433)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948

        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
ve.java:127)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte
t.invokeNext(StandardPipeline.java:596)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja
a:433)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948

        at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:1
2)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
:799)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
ssConnection(Http11Protocol.java:705)
        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.jav
:577)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
ool.java:683)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.MalformedURLException: unknown protocol: c
        at java.net.URL.<init>(URL.java:574)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at 
com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:181)
        at 
com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
        ... 60 more

Bilikiss Adebiyi
Staff Software Engineer
Lotus Software, IBM Software Group
Phone: 1-978-399-5118, (T/L): 333-5118
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message