Hello

I have tried to implement "Configuring Links" as per
http://eclipse.org/jetty/documentation/current/jndi-configuration.html ,
but I am getting following error when starting jetty:

My setup is:

 java.vm.vendor = Oracle Corporation
 java.vm.version = 24.76-b04
 java.vm.name = Java HotSpot(TM) 64-Bit Server VM
 java.vm.info = mixed mode
 java.runtime.name = Java(TM) SE Runtime Environment
 java.runtime.version = 1.7.0_76-b13
...
jetty.version = 9.2.10.v20150310
...

and I did exact config as per manual as well as many different versions on
my own, but I could not avoid error:
java.lang.UnsupportedOperationException: Method not supported for Link
objects

Any advice would be very appreciated!
Best regards!

Haris

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
        at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
        at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:408)
        at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1340)
        at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
        at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
...
Caused by:
java.lang.UnsupportedOperationException: Method not supported for Link
objects
        at org.eclipse.jetty.plus.jndi.Link.bindToENC(Link.java:47)
        at
org.eclipse.jetty.plus.jndi.NamingEntryUtil.bindToENC(NamingEntryUtil.java:66)
        at
org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor.bindEntry(PlusDescriptorProcessor.java:879)
        at
org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor.bindResourceRef(PlusDescriptorProcessor.java:812)
        at
org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor.visitResourceRef(PlusDescriptorProcessor.java:252)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
        at
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
        at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:408)
        at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1340)
        at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
        at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
...
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to