users@jax-ws.java.net

Re: jax-ws 2.0 and SUNWAPP 8.2

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Wed, 21 Jun 2006 14:12:41 -0700

How did you configure jax-ws 2.0 jars on top of app server 8.2 ? If your
jars not there in lib dir, you may have to set the security permissions
for these jars. You could use the installer script that comes with
jax-ws 2.0 to install on top appserver 8.2. If you have any further
questions, let us know.

Jitu

Lucas Jordan wrote:

>I am trying to use jax-ws 2.0 jars within a web app that is hosted on
>the Sun Application Server 8.2 ( the one that comes with Creator). I get
>an exception as soon a I try and construct an object that is defined by
>one of the generated classes. the exception is:
>
>javax.faces.el.EvaluationException:
>java.lang.ExceptionInInitializerError
> com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
> com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:302)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
> java.security.AccessController.doPrivileged(Native Method)
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
> java.security.AccessController.doPrivileged(Native Method)
> com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
>
>which I think was caused by:
>
>Caused by: java.lang.ExceptionInInitializerError
> at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:41)
> at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:128)
> at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:203)
> at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.<init>(TransducedAccessor.java:187)
> at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:133)
> at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.calcTransducer(RuntimeClassInfoImpl.java:148)
> at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getTransducer(RuntimeClassInfoImpl.java:124)
> at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.link(RuntimeClassInfoImpl.java:102)
> at com.sun.xml.bind.v2.model.impl.ModelBuilder.link(ModelBuilder.java:270)
> at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.link(RuntimeModelBuilder.java:83)
> at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:345)
> at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:341)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:340)
> at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:204)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:124)
> 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:585)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
> at org.chip.ping.client.PingTalkClient.<init>(PingTalkClient.java:128)
> at org.chip.ping.phr.client.PingActionsClient.<init>(PingActionsClient.java:64)
> at testjsf5.Page1.button1_action(Page1.java:230)
> 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:585)
> at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
> ... 46 more
>Caused by: java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
> at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1.run(Injector.java:103)
> at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1.run(Injector.java:100)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.<clinit>(Injector.java:99)
>
>
>
>any help would be awesome!
>
>-Lucas
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
>For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>
>