i hav taken the help of SecondHop.java and iam able to connect the reposity
and the users have been created in it..though iam getting some error in my
netbeans tht is:-

Exception in thread "main" javax.jcr.PathNotFoundException: hello/world
        at
org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:126)
        at
org.apache.jackrabbit.rmi.server.ServerNode.getNode(ServerNode.java:228)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        at org.apache.jackrabbit.rmi.server.ServerNode_Stub.getNode(Unknown
Source)
        at
org.apache.jackrabbit.rmi.client.ClientNode.getNode(ClientNode.java:227)
        at secondhop.SecondHop.main(SecondHop.java:38)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

now can anybody please tell me wat this error ??
and 
2) is there any way to attach roles with user(similar to "jakata's slide") 
if yes then pls tell me the steps
plz help
thanks in advance
regards
Richa
[email protected]
-- 
View this message in context: 
http://n4.nabble.com/how-to-attach-roles-with-users-tp1590222p1590222.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to