users@glassfish.java.net

Re: [GF 3.1] Failed permission: please help explaining this ...

From: <forums_at_java.net>
Date: Thu, 2 Jun 2011 08:18:39 -0500 (CDT)

Glassfish 3.1 is extremely disappointing. I've been trying to work around
JAAS errors all along - i've tried Servlet based WS, EJB based WS,
WSIT based security, Remote EJB calls and none of them was able to work
more than once. 

My last attempt even shown that my interceptors were not called at the first
call, only during the following calls - when JAAS 'forgets' to attach a role
to the user, which is recognized by the realm.... as shown in this log trace.

[#|2011-06-02T13:01:24.387+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=chooseServerAlias;|Choosing
server alias :s1as|#]
[#|2011-06-02T13:01:24.388+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=getPrivateKey;|Getting
private key for alias:s1as|#]
[#|2011-06-02T13:01:24.388+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=getCertificateChain;|Getting
certificate chain|#]
[#|2011-06-02T13:01:24.400+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=getPrivateKey;|Getting
private key for alias:s1as|#]
[#|2011-06-02T13:01:24.401+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=getCertificateChain;|Getting
certificate chain|#]
[#|2011-06-02T13:01:26.494+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=getPrivateKey;|Getting
private key for alias:s1as|#]
[#|2011-06-02T13:01:26.495+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.ssl|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.ssl.J2EEKeyManager;MethodName=getCertificateChain;|Getting
certificate chain|#]
[#|2011-06-02T13:01:26.673+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.login|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.auth.login.LoginContextDriver;MethodName=doX500Login;|Processing
X.500 name login.|#]
[#|2011-06-02T13:01:26.687+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.appserv.security|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.appserv.security.AppservCertificateLoginModule;MethodName=initialize;|Login
module initialized: class com.mycompany.myapp.realm.CertificateLoginModule|#]
[#|2011-06-02T13:01:26.692+0200|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=103;_ThreadName=Thread-1;|certificate
loginmodule: identity:CN=gauss,OU=GlassFish,O=Oracle Corporation,L=Santa
Clara,ST=California,C=US|#]
[#|2011-06-02T13:01:26.692+0200|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=103;_ThreadName=Thread-1;|certificate
loginmodule: groups awarded: SHOP|#]
[#|2011-06-02T13:01:26.693+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.appserv.security|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.appserv.security.AppservCertificateLoginModule;MethodName=login;|JAAS
login complete.|#]
[#|2011-06-02T13:01:26.694+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.appserv.security|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.appserv.security.AppservCertificateLoginModule;MethodName=commit;|JAAS
authentication committed.|#]
[#|2011-06-02T13:01:26.694+0200|FINEST|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.auth.realm.certificate.CertificateRealm;MethodName=authenticate;|Certificate
realm setting up security context for: CN=gauss, OU=GlassFish, O=Oracle
Corporation, L=Santa Clara, ST=California, C=US|#]
[#|2011-06-02T13:01:26.695+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.login|_ThreadID=103;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.auth.login.LoginContextDriver;MethodName=doX500Login;|X.500
name login succeeded for : CN=gauss, OU=GlassFish, O=Oracle Corporation,
L=Santa Clara, ST=California, C=US|#]
[#|2011-06-02T13:01:26.708+0200|FINEST|glassfish3.1|javax.enterprise.system.core.security|_ThreadID=25;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.provider.BasePolicyWrapper;MethodName=getPermissions;|JACC
Policy Provider: PolicyWrapper.getPermissions(cs), context
(myapp/auth-0_1_15-SNAPSHOT_jar) codesource
((file:/myapp/auth-0_1_15-SNAPSHOT_jar <no signer certificates>))
permissions: java.security.Permissions_at_383ef56b (
 (java.util.PropertyPermission line.separator read)
 (java.util.PropertyPermission java.vm.version read)
 (java.util.PropertyPermission java.vm.specification.version read)
 (java.util.PropertyPermission java.vm.specification.vendor read)
 (java.util.PropertyPermission java.vendor.url read)
 (java.util.PropertyPermission java.vm.name read)
 (java.util.PropertyPermission * read,write)
 (java.util.PropertyPermission os.name read)
 (java.util.PropertyPermission java.vm.vendor read)
 (java.util.PropertyPermission path.separator read)
 (java.util.PropertyPermission java.specification.name read)
 (java.util.PropertyPermission os.version read)
 (java.util.PropertyPermission os.arch read)
 (java.util.PropertyPermission java.class.version read)
 (java.util.PropertyPermission java.version read)
 (java.util.PropertyPermission file.separator read)
 (java.util.PropertyPermission java.vendor read)
 (java.util.PropertyPermission java.vm.specification.name read)
 (java.util.PropertyPermission java.specification.version read)
 (java.util.PropertyPermission java.specification.vendor read)
 (java.io.FilePermission <<ALL FILES>> read,write)
 (java.io.FilePermission /var/glassfish/domains/mycompany/lib/databases/-
delete)
 (java.io.FilePermission /tmp/- delete)
 (javax.security.auth.PrivateCredentialPermission
javax.resource.spi.security.PasswordCredential * "*" read)
 (java.lang.RuntimePermission getClassLoader)
 (java.lang.RuntimePermission loadLibrary.*)
 (java.lang.RuntimePermission accessDeclaredMembers)
 (java.lang.RuntimePermission getProtectionDomain)
 (java.lang.RuntimePermission modifyThreadGroup)
 (java.lang.RuntimePermission stopThread)
 (java.lang.RuntimePermission setContextClassLoader)
 (java.lang.RuntimePermission queuePrintJob)
 (javax.management.MBeanTrustPermission register)
 (java.net.SocketPermission localhost:1024- listen,resolve)
 (java.net.SocketPermission * connect,resolve)
 (unresolved com.sun.corba.ee.impl.presentation.rmi.DynamicAccessPermission
access null)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAccessManagementEjb
create,Local,java.lang.String,java.lang.String,java.lang.String)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAccessManagementEjb update,Local,)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAuthenticationEjb
authenticateCustomer,ServiceEndpoint,java.lang.String,java.lang.String)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAccessManagementEjb delete,ServiceEndpoint,long)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAccessManagementEjb delete,Local,long)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAccessManagementEjb update,ServiceEndpoint,)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAccessManagementEjb
create,ServiceEndpoint,java.lang.String,java.lang.String,java.lang.String)
 (unresolved javax.security.jacc.EJBMethodPermission
CustomerAuthenticationEjb
authenticateCustomer,Local,java.lang.String,java.lang.String)
 (unresolved com.sun.enterprise.security.CORBAObjectPermission * *)
 (javax.management.MBeanPermission [com.sun.messaging.jms.*:*] *)
)
|#]
[#|2011-06-02T13:01:26.730+0200|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=103;_ThreadName=Thread-1;|authentication:
login:test1_at_test1.com, certificate:CN=gauss, OU=GlassFish, O=Oracle
Corporation, L=Santa Clara, ST=California, C=US|#]
[#|2011-06-02T13:01:27.069+0200|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=103;_ThreadName=Thread-1;|auth:
success!|#]
[#|2011-06-02T13:02:15.152+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.login|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.auth.login.LoginContextDriver;MethodName=doX500Login;|Processing
X.500 name login.|#]
[#|2011-06-02T13:02:15.153+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.appserv.security|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.appserv.security.AppservCertificateLoginModule;MethodName=initialize;|Login
module initialized: class com.mycompany.myapp.realm.CertificateLoginModule|#]
[#|2011-06-02T13:02:15.154+0200|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=102;_ThreadName=Thread-1;|certificate
loginmodule: identity:CN=gauss,OU=GlassFish,O=Oracle Corporation,L=Santa
Clara,ST=California,C=US|#]
[#|2011-06-02T13:02:15.154+0200|SEVERE|glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=102;_ThreadName=Thread-1;|certificate
loginmodule: groups awarded: SHOP|#]
[#|2011-06-02T13:02:15.154+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.appserv.security|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.appserv.security.AppservCertificateLoginModule;MethodName=login;|JAAS
login complete.|#]
[#|2011-06-02T13:02:15.154+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.appserv.security|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.appserv.security.AppservCertificateLoginModule;MethodName=commit;|JAAS
authentication committed.|#]
[#|2011-06-02T13:02:15.155+0200|FINEST|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.auth.realm.certificate.CertificateRealm;MethodName=authenticate;|Certificate
realm setting up security context for: CN=gauss, OU=GlassFish, O=Oracle
Corporation, L=Santa Clara, ST=California, C=US|#]
[#|2011-06-02T13:02:15.155+0200|FINE|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.login|_ThreadID=102;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.auth.login.LoginContextDriver;MethodName=doX500Login;|X.500
name login succeeded for : CN=gauss, OU=GlassFish, O=Oracle Corporation,
L=Santa Clara, ST=California, C=US|#]
[#|2011-06-02T13:02:15.158+0200|FINEST|glassfish3.1|javax.enterprise.system.core.security|_ThreadID=24;_ThreadName=Thread-1;ClassName=com.sun.enterprise.security.provider.BasePolicyWrapper;MethodName=doImplies;|JACC
Policy Provider: PolicyWrapper.implies, context
(myapp/auth-0_1_15-SNAPSHOT_jar)- result was(false) permission
((javax.security.jacc.EJBRoleRefPermission CustomerAuthenticationEjb
shop))|#]
[#|2011-06-02T13:02:15.159+0200|SEVERE|glassfish3.1|com.sun.xml.ws.server.sei.EndpointMethodHandler|_ThreadID=24;_ThreadName=Thread-1;|secureCall():
User CN=gauss, OU=GlassFish, O=Oracle Corporation, L=Santa Clara,
ST=California, C=US does not have any granted role for
MethodauthenticateCustomer
javax.ejb.EJBAccessException: secureCall(): User CN=gauss, OU=GlassFish,
O=Oracle Corporation, L=Santa Clara, ST=California, C=US does not have any
granted role for MethodauthenticateCustomer
    at
com.mycompany.myapp.auth.CustomEjbInterceptor.secureCall(CustomEjbInterceptor.java:40)
    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:616)
    at
com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)
    at
com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)
    at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
    at
com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
    at
com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
    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:616)
    at
com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)
    at
com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)
    at
com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:371)
    at
com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5339)
    at
com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5327)
    at
com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:193)
    at $Proxy226.authenticateCustomer(Unknown Source)
    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:616)
    at org.glassfish.webservices.InvokerImpl.invoke(InvokerImpl.java:82)
    at
org.glassfish.webservices.EjbInvokerImpl.invoke(EjbInvokerImpl.java:82)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150)
    at
com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261)
    at
com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
    at
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
    at
org.glassfish.webservices.MonitoringPipe.process(MonitoringPipe.java:142)
    at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
    at
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
    at
com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212)
    at
com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144)
    at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
    at
com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314)
    at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608)
    at
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259)
    at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:162)
    at
org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:120)
    at
org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:91)
    at
org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
    at
org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:131)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at
com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1002)
    at
com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:942)
    at
com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:404)
    at
com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:354)
    at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
    at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
    at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:679)
|#]
[#|2011-06-02T13:02:15.221+0200|WARNING|glassfish3.1|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=102;_ThreadName=Thread-1;|A
system exception occurred during an invocation on EJB
CustomerAuthenticationEjb method public java.util.List
com.mycompany.myapp.auth.CustomerAuthenticationEjb.authenticateCustomer(java.lang.String,java.lang.String)
javax.ejb.EJBAccessException: secureCall(): User CN=gauss, OU=GlassFish,
O=Oracle Corporation, L=Santa Clara, ST=California, C=US does not have any
granted role for MethodauthenticateCustomer
    at
com.mycompany.myapp.auth.CustomEjbInterceptor.secureCall(CustomEjbInterceptor.java:40)
    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:616)
    at
com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)
    at
com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)
    at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
    at
com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
    at
com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
    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:616)
    at
com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)
    at
com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)
    at
com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:371)
    at
com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5339)
    at
com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5327)
    at
com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:193)
    at $Proxy226.authenticateCustomer(Unknown Source)
    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:616)
    at org.glassfish.webservices.InvokerImpl.invoke(InvokerImpl.java:82)
    at
org.glassfish.webservices.EjbInvokerImpl.invoke(EjbInvokerImpl.java:82)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150)
    at
com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261)
    at
com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
    at
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
    at
org.glassfish.webservices.MonitoringPipe.process(MonitoringPipe.java:142)
    at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
    at
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
    at
com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212)
    at
com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144)
    at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
    at
com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314)
    at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608)
    at
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259)
    at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:162)
    at
org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:120)
    at
org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:91)
    at
org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
    at
org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:131)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at
com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1002)
    at
com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:942)
    at
com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:404)
    at
com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:354)
    at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
    at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
    at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:679)
|#]
 

 

 


--
[Message sent by forum member 'brzhk']
View Post: http://forums.java.net/node/808056