simer anand wrote:
>
> On Mon, Aug 24, 2009 at 5:31 PM, Alexander Klimetschek
> <[email protected]>wrote:
>
>> On Mon, Aug 24, 2009 at 1:33 PM, simer anand<[email protected]>
>> wrote:
>> >> As I noted, your class must be in Jackrabbit's/the webapps class path.
>> >>
>> >> my class is within apache-tomcat6.0/bin/Jackrabbit/ folder . is it
>> right
>> > or wrong?
>>
>> That's the wrong location. You can either put it into the webapps
>> WEB-INF/lib directory, or in the case of Tomcat 6, into
>> $CATALINA_HOME/lib, which is the shared location visible for Tomcat
>> and all its webapps. Have a look at the tomcat documentation.
>>
>> Hello Users and Alex,
>
> Ok i kept my programs into the
> $CATALINA_HOME/lib directory but still nothing is happening and when i
> used
> to execute the FirstHop program that used to communicate with the
> repository
> using rmi is now giving following exception :
>
> *[sda_...@cad44 testing]$ javac FirstHop.java
> [sda_...@cad44 testing]$ java -cp ${CLASSPATH}:. FirstHop
> Exception in thread "main" javax.jcr.LoginException: Invalid login module
> implementation class sample.SampleAcn.: Invalid login module
> implementation
> class sample.SampleAcn.
> at
> org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:116)
> at
> org.apache.jackrabbit.rmi.server.ServerRepository.login(ServerRepository.java:107)
> 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:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 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.ServerRepository_Stub.login(Unknown
> Source)
> at
> org.apache.jackrabbit.rmi.client.ClientRepository.login(ClientRepository.java:107)
> at
> org.apache.jackrabbit.commons.repository.ProxyRepository.login(ProxyRepository.java:90)
> at
> org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:41)
> at FirstHop.main(FirstHop.java:22)
> *
>
> and when i used to log to
> http://localhost:8080/jackrabbit-webapp-1.5.6/repository/default then the
> same gui appears but nothing happens after giving any username or password
> still stuck on this problem need your help . am i going wrong or what.
> any guidance will be helpful
>
> Thanks in advance for any following reply
>
>
Also my bean configuration is :
<security>
<LoginModule class="sample.SampleAcn">
<!--
anonymous user name ('anonymous' is the default value)
-->
<!--
administrator user id (default value if param is missing is
'admin')
-->
</LoginModule>
</Security>
--
View this message in context:
http://www.nabble.com/Repository.xml-configuration-problem-tp25075919p25167081.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.