This discussion is archived
0 Replies Latest reply: Jul 23, 2013 5:41 PM by user1079908 RSS

Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

user1079908 Newbie
Currently Being Moderated

When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.


As I understand it seems that there is a problem with the classpath of ant build.xml  that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.

 

I found this in Oracle, but not helps solve the problem:

 

BEA-398120

Error: The WSDL for the typed transport endpoint could not be accessed.

Description

There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration

Action

Contact technical support


This is the the full stacktrace that shows eclipse.

 

Generate : Error during generation of the WSDL:

BUILD FAILED

java.lang.NoClassDefFoundError: com/sun/javadoc/Type

        at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)

        at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)

        at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)

        at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)

        at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)

        at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)

        at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)

        at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)

        at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)

        at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)

        at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

        at org.apache.tools.ant.Task.perform(Task.java:348)

        at org.apache.tools.ant.Target.execute(Target.java:357)

        at org.apache.tools.ant.Target.performTasks(Target.java:385)

        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)

        at org.apache.tools.ant.Main.runBuild(Main.java:758)

        at org.apache.tools.ant.Main.startAnt(Main.java:217)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type

        at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)

        at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)

        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

        ... 27 more

 

Total time: 0 seconds

 

 

Eclipse Installation details:

 

*** System properties:

eclipse.application=org.eclipse.ui.ide.workbench

eclipse.buildId=M20110909-1335

eclipse.commands=-os

linux

-ws

gtk

-arch

x86_64

-showsplash

-launcher

{home}/Development/oepe-indigo/eclipse

-name

Eclipse

--launcher.library

{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so

-startup

{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

--launcher.overrideVmargs

-exitdata

1e418010

-vm

/usr/bin/java

eclipse.home.location=file:{home}/Development/oepe-indigo/

eclipse.launcher={home}/Development/oepe-indigo/eclipse

eclipse.launcher.name=Eclipse

eclipse.p2.data.area=@config.dir/../p2/

eclipse.p2.profile=PlatformProfile

eclipse.product=org.eclipse.platform.ide

eclipse.startTime=1374623921455

eclipse.vm=/usr/bin/java

eclipse.vmargs=-Xms256m

-Xmx768m

-XX:MaxPermSize=512m

-Dsun.lang.ClassLoader.allowArraySyntax=true

-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3

-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester

-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1

-Dosgi.bundlefile.limit=750

-Dosgi.nl=en_US

-Dmiddleware.home={home}/Oracle/Middleware

-jar

{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

equinox.use.ds=true

file.encoding=UTF-8

file.encoding.pkg=sun.io

file.separator=/

guice.disable.misplaced.annotation.check=true

harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester

http.nonProxyHosts=localhost

java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment

java.awt.printerjob=sun.print.PSPrinterJob

java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

java.class.version=50.0

java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed

java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext

java.home=/usr/lib/jvm/jdk1.6.0_45/jre

java.io.tmpdir=/tmp

java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net

java.runtime.name=Java(TM) SE Runtime Environment

java.runtime.version=1.6.0_45-b06

java.specification.name=Java Platform API Specification

java.specification.vendor=Sun Microsystems Inc.

java.specification.version=1.6

java.vendor=Sun Microsystems Inc.

java.vendor.url=http://java.sun.com/

java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi

java.version=1.6.0_45

java.vm.info=mixed mode

java.vm.name=Java HotSpot(TM) 64-Bit Server VM

java.vm.specification.name=Java Virtual Machine Specification

java.vm.specification.vendor=Sun Microsystems Inc.

java.vm.specification.version=1.0

java.vm.vendor=Sun Microsystems Inc.

java.vm.version=20.45-b01

javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl

javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl

jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib

line.separator=

 

 

 

 

middleware.home={home}/Oracle/Middleware

oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true

org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog

org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp

org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info

org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration

org.eclipse.update.reconcile=false

org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB

org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB

org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6

org.osgi.framework.language=en

org.osgi.framework.os.name=Linux

org.osgi.framework.os.version=3.8.0

org.osgi.framework.processor=x86-64

org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"

org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers

org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1

org.osgi.framework.vendor=Eclipse

org.osgi.framework.version=1.6.0

org.osgi.supports.framework.extension=true

org.osgi.supports.framework.fragment=true

org.osgi.supports.framework.requirebundle=true

os.arch=amd64

os.name=Linux

os.version=3.8.0-26-generic

osb.home={home}/Oracle/Middleware/Oracle_OSB1

osgi.arch=x86_64

osgi.bundlefile.limit=750

osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start

osgi.bundles.defaultStartLevel=4

osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles

osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/

osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar

osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar

osgi.framework.shape=jar

osgi.framework.version=3.7.1.R37x_v20110808-1106

osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar

osgi.install.area=file:{home}/Development/oepe-indigo/

osgi.instance.area=file:{home}/workspace/pragma/

osgi.instance.area.default=file:{home}/workspace/

osgi.logfile={home}/workspace/pragma/.metadata/.log

osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests

osgi.nl=en_US

osgi.nl.user=en_US

osgi.os=linux

osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp

osgi.splashPath=platform:/base/plugins/org.eclipse.platform

osgi.syspath={home}/Development/oepe-indigo/plugins

osgi.tracefile={home}/workspace/pragma/.metadata/trace.log

osgi.ws=gtk

path.separator=:

securerandom.source=file:/dev/./urandom

socksNonProxyHost=localhost

sun.arch.data.model=64

sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes

sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64

sun.cpu.endian=little

sun.cpu.isalist=

sun.desktop=gnome

sun.io.unicode.encoding=UnicodeLittle

sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

sun.java.launcher=SUN_STANDARD

sun.jnu.encoding=UTF-8

sun.lang.ClassLoader.allowArraySyntax=true

sun.management.compiler=HotSpot 64-Bit Tiered Compilers

sun.os.patch.level=unknown

svnkit.http.methods=Basic

svnkit.library.gnome-keyring.enabled=false

user.country=AR

user.dir={home}/Development/oepe-indigo

user.home={home}

user.language=es

user.name={username}

user.timezone=America/Argentina/Buenos_Aires

weblogic.home={home}/Oracle/Middleware/wlserver_10.3

 

Thanks!!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points