1 Reply Latest reply on Mar 27, 2009 2:50 PM by Alessio Soldano

    Missing jar file  /java class com.sun.tools.internal.xjc.api

    dave potts Newbie

      Hi

      I am trying ot intergrate a 3rd party web services on Jboss 5.01.(with hava version 6)

      Having got as far as the web services being listed in http://127.0.0.1:8080/jbossws/services, when I try to access them I get an detailed exception followed by a JAXBException refering to a missing class com.sun.tools.internal.xjc.api.XJC

      Which I have assumed is from a jar file that I missing.

      I have found a reference to this class on DocJar, but no jar library.

      I have been through the entire collection of jars supplied with Glass fish, suns web develiopers pack, etc(jar tvf |grep blah, etc) with no luck.

      Has anybody got any clue if this if this class belongs to a published jar or where I could find that jar.

      Web trace is

      java.lang.IllegalStateException: Unable to create schema compiler
      at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:264)
      at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196)
      at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:175)
      at uk.co.infoterra.geostore.bean.stateful.UserManager.(UserManager.java:169)
      at uk.co.infoterra.geostore.util.InitEnvListener.buildSessionData(InitEnvListener.java:138)
      at uk.co.infoterra.geostore.util.InitEnvListener.sessionCreated(InitEnvListener.java:411)
      at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
      at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
      at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:829)
      at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
      at org.apache.catalina.connector.Request.doGetSession(Request.java:2367)
      at org.apache.catalina.connector.Request.getSession(Request.java:2094)
      at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
      at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
      at uk.co.infoterra.geostore.httpservlet.PageGenerator.doRequest(PageGenerator.java:159)
      at uk.co.infoterra.geostore.httpservlet.PageGenerator.doGet(PageGenerator.java:136)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at uk.co.infoterra.geostore.filter.LoggerFilter.doFilter(LoggerFilter.java:133)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.xml.bind.JAXBException
      - with linked exception:
      [java.lang.ClassNotFoundException: com.sun.tools.internal.xjc.api.XJC from BaseClassLoader@ef2f9f{VFSClassLoaderPolicy@11f993c{name=vfszip:/C:/
      jb/jboss-5.0.1.GA/server/default/deploy/cxf-2.1.4.jar/ domain=ClassLoaderDomain@18fc9ba{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss
      .system.NoAnnotationURLClassLoader@12c7568} roots=[MemoryContextHandler@25507275[path= context=vfsmemory://5d3fja-1v9hx6-fsiltcp3-1-fsilup4k-22