JWS 1.4.2_06 NoClassDefFoundError
Help!
I am trying to deploy a new application written in java version 1.4.2_01-b06. The network people pushed out JWS
version 1.4.2_06 to almost 2000 workstations. The new app will not work with that JWS and returns the error
message listed below (NoClassDefFoundError).
The application WILL load when we use JWS Version 1.4.2_04 (build b05). But there is the "small" problem of
the 2000 workstations...
I need to know two things:
1. Why won't it work.
2. What can I do about it?
Thank you for your help!!
Error Message: Java Web Start 1.4.2_06 Console, started Mon Mar 07 13:04:25 PST 2005 Java 2 Runtime Environment:
Version 1.4.2_06 by Sun Microsystems Inc. Logging to file: c:\temp\pqa.log java.lang.NoClassDefFoundError: Illegal
name: pqauser/Pqa at java.lang.ClassLoader.defineClass(Unknown Source) at
java.security.SecureClassLoader.defineClass(Unknown Source) at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown
Source) at com.sun.jnlp.JNLPClassLoader.access$100(Unknown Source) at com.sun.jnlp.JNLPClassLoader$1.run(Unknown
Source) at java.security.AccessController.doPrivileged(Native Method) at
com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at
com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown
Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Java Web Start
1.4.2_04 Console, started Mon Mar 07 13:12:24 PST 2005 Java 2 Runtime Environment: Version 1.4.2_04 by Sun
Microsystems Inc. Logging to file: c:\temp\pqa.log
Can you shopw the jnlp file ?
This may be caused by a bug fixed in java in 1.4.2_05 or _06
If you specify your mainl class incorrectly as:
xxx/yyy/zzz.class
instead of
xxx.yyy.zzz.class
it used to work in older jres (although really it shouldn't have) .
/Andy
Similar Messages
-
Instalação JWS fora do Stack Java do PI
Senhores,
aqui no projeto a equipe BASIS resolveu instalar o EJB de assinatura digital SLL-NFE-JWS fora do stack java do PI, num WebAS Java específico para outras aplicações.
O basis subiu os certificados, deu permissão conforme o manual e etc, porém, na hora de rodar o assinador, tanto via WebServiceNavigator quanto via PI ele retorna Exception in method sign.
Olhando nos logs do java, o stacktrace deixa mais claro o problema:
com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method sign.
at com.sap.grc.nfe.dsig.DigitalSignatureLocalLocalObjectImpl0_0.sign(DigitalSignatureLocalLocalObjectImpl0_0.java:119)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: java.lang.NoClassDefFoundError: com.sap.aii.af.service.resource.SAPSecurityResources
at com.sap.grc.nfe.dsig.core.XMLData.sign(XMLData.java:162)
at com.sap.grc.nfe.dsig.DigitalSignatureBean.sign(DigitalSignatureBean.java:127)
at com.sap.grc.nfe.dsig.DigitalSignatureLocalLocalObjectImpl0_0.sign(DigitalSignatureLocalLocalObjectImpl0_0.java:103)
... 26 more
O problema é, ele não tem os SoftwareComponents SAP XI AF Core e SAP XI Security Lib, que me parecem ser necessários para fazer acesso ao KeyStorage.
Qual seria o procedimento para tornar possível o funcionamento do JWS fora do stack Java do PI?
Quais componentes precisam ser instalados p/ este EJB funcionar neste Stack?Bom dia Jose Nunes,
Pra instalar o PI Adapter Framework você precisa instalar os componentes que mencionou SAPXIAFC e SAPXIAF e também os sda abaixo:
. aii_af_jmsproviderlib.sda
. aii_af_ra_ms_sonic_client.sda
Mensagem para SAP re: signature - Componente: SLL-NFE
Atenciosamente,
Fernando Da Ró -
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
[email protected]/../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!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
NoClassDefFoundError, but ...
Greetings All -
I get the NoClassDefFoundError when one of my webapps gets started by Tomcat (5.0.28).
The 'servlet-api.jar' file IS present in the '/common/lib' directory and the 'web.xml' file is valid. I am at a loss for why this error keeps coming up.
In addition to that error, I also get:
2006-03-06 12:58:41 StandardHost[localhost]: Error deploying application at context path null
java.lang.reflect.InvocationTargetException
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
which shows up in the 'localhost_log' file and:
Mar 6, 2006 12:58:41 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
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:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
which shows up in the 'stdout.log' file.
Windows XP
Tomcat 5.0.28
Apache Commons Digester 1.5
J2EE 1.4
J2SDK 1.4.2_06
Please help!
Thanks,
- KFMThere is a bug : http://developer.java.sun.com/developer/bugParade/bugs/4665132.html that may be the cause of this problem. Unfortunately it is not filxed till 1.4.2 (ie: this fix is not in the 1.4.1 beta, nor expected in the 1.4.1 FCS release.)
If this is the problem you can work around it by setting the ContextClassLoader of the EventDispatchThread yourself. Java Web Start sets the DispatchThread's ContextClass Loader before starting your application, but under 1.4.0 and later, if there are no windows shown for some period of time, java will terminate the EventDispatchThread, and create another one when an event is later posted. The problem is this second thread won't have the JNLPClassLoader set as it's context class loader. -
I have built a EAR file (using ANT build.xml from eclipse) and deploy it to WebLogic server, when I test the web service with a Test Client, I will receive the exception:
java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
Anything wrong with my build.xml file below? Why I get this exception?
<?xml version="1.0" encoding="UTF-8"?>
<project name="MyWebServices" default="all">
<!-- set global properties for this build -->
<property name="wls.username" value="weblogic" />
<property name="wls.password" value="abcd1234" />
<property name="wls.hostname" value="localhost" />
<property name="wls.port" value="7001" />
<property name="wls.server.name" value="AdminServer" />
<property name="ear.deployed.name" value="MyWebServicesEar" />
<property name="example-output" value="output" />
<property name="ear-dir" value="${example-output}/MyWebServicesEar" />
<property name="clientclass-dir" value="${example-output}/clientclasses" />
<path id="client.class.path">
<pathelement path="${clientclass-dir}" />
<pathelement path="${java.class.path}" />
</path>
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />
<taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
<target name="build-service">
<jwsc srcdir="src" destdir="${ear-dir}">
<classpath>
<pathelement path="${java.class.path}" />
<pathelement path="WebContent/WEB-INF/lib"/>
</classpath>
<module contextPath="MyWebServices" name="MyWebServicesModule">
<jws file="/hk/com/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />
<jws file="/hk/com/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />
<jws file="/hk/com/my/webservices/servicefacade/PaymentWS.java" type="JAXWS" />
<!-- <jws file="/hk/com/my/webservices/servicefacade/RedemptionWS.java" type="JAXWS" /> -->
</module>
</jwsc>
</target>
<target name="deploy">
<wldeploy action="deploy" name="${ear.deployed.name}" source="${ear-dir}" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
</target>
<target name="undeploy">
<wldeploy action="undeploy" name="${ear.deployed.name}" failonerror="false" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
</target>
<target name="all" depends="clean,build-service,deploy" />
<target name="clean" depends="undeploy">
<delete dir="${example-output}" />
</target>
<target name="run">
<java classname="hk.com.my.webservices.servicefacade.client.Main" fork="true" failonerror="true">
<classpath refid="client.class.path" />
<arg line="http://${wls.hostname}:${wls.port}/MyServices" />
</java>
</target>
</project>The problem was because I did not include my web-inf into the ear in my build.xml, i added it using the zipfileset tag and it worked like a charm:
<target name="build-service">
<jwsc srcdir="src" destdir="${ear-dir}" debug="on">
<!-- "contextPath" is like a folder to contain the Web Services, "name" is the name of the WAR file -->
<module contextPath="MyWebServices" name="MyWebServicesModule">
<jws file="/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />
<jws file="/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />
<!-- include and copy the required files to the ear directory -->
<zipfileset dir="WebContent/WEB-INF/lib" prefix="WEB-INF/lib">
<include name="*.jar"/>
</zipfileset>
</module>
</jwsc>
</target> -
Get the following error during application deployment in a ALDSP only Domain. Note this error happens only when the application contains a jws file exposing a Dataservice as a web-service:
java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:480
SOLUTION:
=========
Add the following two jar files at the begining of the classpath in the startWebLogic.cmd file of the domain.
%WL_HOME%\common\lib\log4j.jar;%WL_HOME%\server\lib\knex.jarHi Binu,
Unfortunately, deploying a web service created in WebLogic Workshop 8.1 to a WLS 9.1 server is unsupported.
The only upgrade path available is to upgrade you 8.1 workshop webs services to a Workshop 9.2 web service and deploy to a workshop 9.2 server.
You can do this with the current WLW 9.2 Beta.
Also, this forum is primarily for the BEA Workshop Studio line of products. Please post all WLW 8.1 related questions only in the weblogic.developer.interest.workshop newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=2041&start=0
Regards,
Raj -
Web Start Console :NoClassDefFoundError: javax/jms/JMSException
HI all,
am using JBoss server, J2SE1.4 ,windows XP
This my JNLP file :
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://172.25.186.50:8080/JMSClient" href="JmsClient.jnlp">
<information>
<title>My JMS Consumer</title>
<vendor> System</vendor>
<icon href="icon.png"/>
<icon href="splash.png" kind="splash"/>
</information>
<security>
<j2ee-application-client-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="JMSconsumer.jar" main="true" download="eager"/>
<jar href="WEB-INF/lib/jboss-j2ee.jar"/>
<jar href="WEB-INF/lib/concurrent.jar"/>
<jar href="WEB-INF/lib/jboss-common.jar"/>
<jar href="WEB-INF/lib/jbossmq.jar"/>
<jar href="WEB-INF/lib/jnlp-servlet.jar"/>
<jar href="WEB-INF/lib/jardiff.jar"/>
<jar href="WEB-INF/lib/jnlp.jar"/>
<jar href="WEB-INF/lib/jnpserver.jar"/>
</resources>
<application-desc main-class="TafConsumer"/>
</jnlp>
Console Error message :
Java Web Start 1.4.2_06 Console, started Fri May 05 15:51:29 IST 2006 Java 2
Runtime Environment: Version 1.4.2_06 by Sun Microsystems Inc. Logging to
file: C:\Documents and Settings\2210\Desktop\tafClient.log
java.lang.NoClassDefFoundError: javax/jms/JMSException at
java.lang.Class.getDeclaredMethods0(Native Method) at
java.lang.Class.privateGetDeclaredMethods(Unknown Source) at
java.lang.Class.getMethod0(Unknown Source) at
java.lang.Class.getMethod(Unknown Source) at
com.sun.javaws.Launcher.executeApplication(Unknown Source) at
com.sun.javaws.Launcher.executeMainClass(Unknown Source) at
com.sun.javaws.Launcher.continueLaunch(Unknown Source) at
com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at
com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at
com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown
Source)
this is for my JMSconsumer.jar which has all my Classes(.class files)
MANIFEST.MF
Manifest-Version: 1.0
Created-By: 1.4.2_04 (Sun Microsystems Inc.)
Main-Class: TafConsumer
This is for my WAR file..
MANIFEST.MF
Manifest-Version: 1.0
Created-By: 1.4.2_04 (Sun Microsystems Inc.)
Main-Class: TafConsumer
Class-Path: WEB-INF/lib/concurrent.jar WEB-INF/lib/jardiff.jar WEB-INF/lib/jboss-common.jar WEB-INF/lib/jboss-j2ee.jar WEB-INF/lib/jbossmq.jar WEB-INF/lib/jnlp.jar WEB-INF/lib/jnlp-servlet.jar WEB-INF/lib/jnpserver.jar JMSconsumer.jar
while am running application it looks for JBoss-j2ee.jar file .. i have mention all the jar files which are required to run my application .... in JNLP file..
it was executing in my command prompt
like D:\java -jar applicationname.war
Am getting out put properly... ( I have mention in MAIFEST.MF file .. that this is my main class and class path also(for Jar files).. )
am missing some where around Jar file config..
pls. any one can give me the solution..
Thanks
DhanaHave you signed your jars ?
-
Hi,
I am new to java, liked the tool nebeans and want to shift to it.
I created a desktop swing application containing one blank form only, set its property to run on JWS. It works fine, then I created a project for deploying the app on GlassFish. Verified it, it gave no error. But on launching the app from GlassFish V2 b58g, I get following error;
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:218)
at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:454)
... 15 more
Caused by: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:236)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:417)
... 15 more
Please help me out.
Thanks
Krishnankrishnan wrote: I am new to java, liked the tool nebeans and want to shift to it.
Since, at one post, it seems you are not just new to Netbeans, Java and JWS, but also the Sun forums, I will take this moment to point out that adding Dukes to a question encourages replies, and can be done at any point in a thread.
krishnan wrote: Caused by: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group ..
This is usually caused by the lack of the Jar containing the named class, in the application classpath. The application classpath is specified in the JNLP file.
GroupLayout is also a Netbeans specific class. I recommend coding most GUIs in core J2SE layouts, to avoid you having to supply the Jar, and the user to download it.
If you try to add the jar without success, it would be helpful to know the basic 'layout' of the server (e.g. describe where all the resources, including the JNLP file(s) and jar(s) are located) and the content of the JNLP file.
Note also that Netbeans makes horrid JNLP files. You are better off writing your own and ensuring Netbeans never gets the idea it is expected to edit it. You can do this by abandoning some of the 'click a button' ease that you apparently quite like, and using Ant to build and deploy the project.
Ant adds a bit more learning, but is well worth the effort, as projects that can be worked on in Netbeans, can also be worked on using Eclipse (and every other IDE that supports Ant), or can be built from the command line. -
Hi all,
If I have post at a wrong forum, please let me know.
My problem is that, after installing Oracle 9.0.2 as a standalone db on my PC, some Java and Jsp classes don't run properly. I get the following error msg:
java.lang.NoClassDefFoundError: javax/xml/transform/Source
I think it may be a problem with path. For Java programs, I now use a bat file to set path to ignore "C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;" in system's path like this:
set PATH_BAK=%PATH%
set Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Executive Software\Diskeeper\;"C:\Program Files\Symantec\Norton Ghost 2003\";C:\j2sdk1.4.2_06\bin;C:\j2sdk1.4.2_06\jre\lib\ext
java %1
SET PATH=%PATH_BAK%
The Java classes run properly with the bat file now. But would there be some better solutions? And how can I run the JSP programs again?
Really appreciate for any suggestion / help. Thanks very much in advance.Hi all,
I have further located the problem -- if remove from path "C:\Program Files\Oracle\jre\1.3.1\bin", the Java classes works again.
But what problem would occur if it is removed from path permanently? Any suggestion? Thanks very much. -
I have a simple server program and a simple client program to test axis - soap-rpc style method using Topcat Apache 4.1.
I am getting errors while running my client program (for both methods - .jws as well as .wsdd)
Here is the errors:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
at org.apache.axis.utils.Options.<clinit>(Options.java:35)
==================================
I AM USING FOLLOWING CLASSPATH:
c:\Axis\lib\axis.jar;
c:\Axis\lib\axis-ant.jar;
c:\Axis\lib\commons-discovery-0.2.jar;
c:\Axis\lib\commons-logging-1.0.4.jar;
c:\Axis\lib\jax-1_1-fr-qname-class.jar;
c:\Axis\lib\jaxrpc.jar;
c:\Axis\lib\log4j-1.2.8.jar;
c:\Axis\lib\saaj.jar;
c:\Axis\lib\wsdl4j-1.5.1.jar;
c:\Axis\lib\activation.jar;
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
==================================
Based on the others recommendation I read I have changed some other version of "COMMANS-LOGGING.JAR", but still I am getting same errors.
Can anyone help me what may be wrong?
Help me!commons-discovery-0.2.jar was fine in my classpath.
Here is the solution:
My classpath did not include . (dot) for the default classpath.
After adding .; (dot) in the beginning of the classpath, the issue was solved.
Thanks -
JDBC Problems -- NoClassDefFoundError: weblogic/jdbc/wrapper/JTSConnection
Ben Belchak wrote:
Hi, newsgroup:
I have been developing with the Workshop for about a month now, and everything has been going great until last week. I have been connected and able to retrieve data from our AS/400 using the jt400 drivers, but all of a sudden something happened that caused me to get the following error. If anybody can assist, it would be greatly appreciated.
Some background: I have the JDBC JAR inside the classpath for my server, and it is loading it properly because I can test the connection pool from within the appserver's admin console.
In appserver:
java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/JTSConnectionHi. Did you get a response for this?
Make sure you don't have the JDBC jar in the client classpath too. Just make
sure it's in the server classpath. Let me know if that helps.
Joe
at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.securit
y.ProtectionDomain;)Ljava.lang.Class;(Unknown Source)
at java.security.SecureClassLoader.defineClass(Ljava.lang.String;[BIILja
va.security.CodeSource;)Ljava.lang.Class;(SecureClassLoader.java:123)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Ljava.l
ang.String;)Ljava.lang.Class;(GenericClassLoader.java:476)
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.S
tring;)Ljava.lang.Class;(GenericClassLoader.java:181)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;
(Unknown Source)
Inside browser:
An error has occurred:
EJB Exception: ; nested exception is:
weblogic.jws.control.ControlException: Exception in onAcquirecontext event handler[Context failure: onAcquire[Failed to Generate Wrapper Class.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
at weblogic.utils.wrapper.WrapperFactory.createWrapper(Ljava.lang.Class;Ljava.lang.Object;Z)Ljava.lang.Object;(WrapperFactory.java:183)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(ILjava.lang.Object;Z)Ljava.lang.Object;(JDBCWrapperFactory.java:171)
at weblogic.jdbc.jts.Driver.newConnection(Ljava.lang.String;Lweblogic.transaction.Transaction;Ljava.lang.String;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:737)
at weblogic.jdbc.jts.Driver.createLocalConnection(Lweblogic.transaction.Transaction;Ljava.lang.String;Ljava.util.Properties;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:197)
at weblogic.jdbc.jts.Driver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Driver.java:155)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection()Ljava.sql.Connection;(RmiDataSource.java:305)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getConnection()Ljava.sql.Connection;(DatabaseControlImpl.jcs:1424)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onAcquire()V(DatabaseControlImpl.jcs:1316)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang..Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:396)
at com.bea.wlw.runtime.core.container.Invocable.fireEvent(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Ljava.lang.String;Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:612)
at com.bea.wlw.runtime.core.context.WlwThreadContext.sendEvent(Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwThreadContext.java:980)
at com.bea.wlw.runtime.core.context.WlwThreadContext.raiseEvent()Ljava.lang.Object;(WlwThreadContext.java:910)
at com.bea.wlw.runtime.core.container.Container.raiseContextEvent()Ljava.lang.Object;(Container.java:567)
at com.bea.wlw.runtime.jcs.container.JcsContainer.onAcquire()V(JcsContainer.java:529)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:533)
at com.bea.wlw.runtime.jcs.container.JcsContainer.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(JcsContainer.java:480)
at com.bea.wlw.runtime.jcx.container.JcxContainer.preInvoke(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Request;(JcxContainer.java:110)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Invocable.java:187)
at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(JcsContainer.java:84)
at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(BaseContainerBean.java:198)
caused by: : weblogic.jws.control.ControlException: Exception in onAcquirecontext event handler[Context failure: onAcquire[Failed to Generate Wrapper Class.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
at weblogic.utils.wrapper.WrapperFactory.createWrapper(Ljava.lang.Class;Ljava.lang.Object;Z)Ljava.lang.Object;(WrapperFactory.java:183)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(ILjava.lang.Object;Z)Ljava.lang.Object;(JDBCWrapperFactory.java:171)
at weblogic.jdbc.jts.Driver.newConnection(Ljava.lang.String;Lweblogic.transaction.Transaction;Ljava.lang.String;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:737)
at weblogic.jdbc.jts.Driver.createLocalConnection(Lweblogic.transaction.Transaction;Ljava.lang.String;Ljava.util.Properties;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:197)
at weblogic.jdbc.jts.Driver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Driver.java:155)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection()Ljava.sql.Connection;(RmiDataSource.java:305)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getConnection()Ljava.sql.Connection;(DatabaseControlImpl.jcs:1424)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onAcquire()V(DatabaseControlImpl.jcs:1316)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:396)
at com.bea.wlw.runtime.core.container.Invocable.fireEvent(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Ljava.lang.String;Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:612)
at com.bea.wlw.runtime.core.context.WlwThreadContext.sendEvent(Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwThreadContext.java:980)
at com.bea.wlw.runtime.core.context.WlwThreadContext.raiseEvent()Ljava.lang.Object;(WlwThreadContext.java:910)
at com.bea.wlw.runtime.core.container.Container.raiseContextEvent()Ljava.lang.Object;(Container.java:567)
at com.bea.wlw.runtime.jcs.container.JcsContainer.onAcquire()V(JcsContainer.java:529)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:533)
at com.bea.wlw.runtime.jcs.container.JcsContainer.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(JcsContainer.java:480)
at com.bea.wlw.runtime.jcx.container.JcxContainer.preInvoke(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Request;(JcxContainer.java:110)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Invocable.java:187)
at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(JcsContainer.java:84)
at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(BaseContainerBean.java:198)
Message was edited by bbelchak at Aug 9, 2004 1:16 PM
Message was edited by bbelchak at Aug 9, 2004 1:20 PM
Message was edited by bbelchak at Aug 9, 2004 1:50 PM -
Dear Java Experts,
I have made a web service client and managed successfully compile it on AIX after a lot of effort. I have used jsxws 2.1.7 to generate the class files from wsdl and then made a client using those classes.
When I run it, I am getting a weblogic.jws.jaxws.AggregatePolicyFeature exception. Problem is, I have no link with Web Logic either on Web Service side or on its client side. I am puzzled why I am getting this web logic exception.
Would you please help in resolving this issue. Thanks. Ahsan
Exception trace pasted below:
====================================
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic.jws.jaxws.AggregatePolicyFeature
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36)
at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95)
at javax.xml.ws.spi.Provider.provider(Provider.java:83)
at javax.xml.ws.Service.<init>(Service.java:56)
at complaintrectification.ComplaintRectification_Service.<init>(ComplaintRectification_Service.java:46)
at ibmclientcr.IBMClientCRwithMain.complaintRectification(IBMClientCRwithMain.java:66)
at ibmclientcr.IBMClientCRwithMain.main(IBMClientCRwithMain.java:34)
Caused by: java.lang.ClassNotFoundException: weblogic.jws.jaxws.AggregatePolicyFeature
at java.net.URLClassLoader.findClass(URLClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:640)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:606)
... 12 more
====================================weblogic.jws.jaxws.AggregatePolicyFeature class should be present in ws.api_1.1.0.0.jar, add this jar in the classpath for resolving the issue.
-
I'm working in a project with JMF and JWS (maybe Applets).
My application needs to capture a image from a webcam.
I know I have to sign my jar files, but my application isn't working at all, cause I can't start my webcam from my application. Always getting a nullPointerException.
In the Eclipse IDE, the same application works very fine.
My questions are:
1. May I have to sign the jmf.jar?
2. Where may I have to copy them?
Apreciate any help.>
1. It was already in my plans use JFrame and JWS. Applets is my B plan.>I would demote the plan 'B' to a plan 'C'. Applets are a PITA, and rarely a solution to ..anything.
>
2. My jnlp file have all-permissions in security tag.>It was in the wrong place, see below.
>
3. I don't get the NoClassDefFoundError. Instead, I got NullPointerException, 'cause my application don't find any webcam. Only in Eclipse IDE Enviroment.>Uh-huh. Not entirely sure of the exact meaning/cause of the NPE yet, but it might be a caching problem.
<http://forum.java.sun.com/thread.jspa?threadID=5209499>
Here is a thread where I describe how to change the cahce location, and the advantages of doing so (for testing).
>
4. My question is: What do I have to do with jmf.jar and his friends? Signed them too ( I've signed them but it didn't work )? >I am not entirely convinced that the code signing failed. There are still too many variables to determine if the code was ever considered 'trusted'.
>
..Copy them where?>Add the JNLP codebase to the href for a jar, and the jar should be placed/available 'there'. If you can fetch it using the browser using that final URL, it should be fine.
E.G. the codebase of this JNLP is http://localhost:8080/Capture/, and the href for the first jar is aCapture.jar. So the final URL would be
http://localhost:8080/Capture/ + aCapture.jar
->
http://localhost:8080/Capture/aCapture.jar
If the href had been 'lib/aCapture.jar', the final URL would be..
http://localhost:8080/Capture/lib/aCapture.jar
Simple, huh?
>
5. Something about "vfw:Microsoft WDM Image Capture (Win32):0"?>I do not understand that question.
>
6. What is Dukes?>You seem to have figured that out. ;-)
>
Next my jnlp file:>- The <security> element was 'out of order', it has been 'put in its place' in the JNLP file below. BTW - are you prompted to 'accept the code from..' (or words to that effect)?
That would indicate that the plug-in understands this is code that needs all-permissions.
- The JNLP element's 'spec' attribute refers not to a J2SE version, but to the JNLP specification version. Most apps. will have '1.0', but apps. that use features built into JWS in J2SE 5, might specify '1.5'. (There were no changes to JWS in versions 1.2/1.3/1.4).
- Are you certain that the jars aCapture.jar, mediaplayer.jar & jmf.jar are the only things on the classpath of the app. when it runs in the IDE? I was almost expecting to see some references to 'nativelib's. Here is an example(2) of another JNLP that includes nativelibs (note that I did not check into it deeply, but some of the things in it appear either wrong, or at the least redundant - only the references to nativelibs are of interest).
1) The valid JNLP file
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for Capture Demo Application -->
<jnlp
spec="1.0"
codebase="http://localhost:8080/Capture/" href="exemplo.jnlp">
<information>
<title>Capture Demo Application</title>
<vendor>DESofts</vendor>
<homepage href="docs/help.html"/>
<description>Capture Demo Application</description>
<description kind="short">
A demo of the capabilities of the Swing Graphical User Interface.
</description>
<icon href="images/icone.jpg"/>
<icon kind="splash" href="images/icone.jpg"/>
<offline-allowed/>
<shortcut online="false">
<desktop/>
<menu submenu="My Corporation Apps"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="aCapture.jar"/>
<jar href="mediaplayer.jar"/>
<jar href="jmf.jar"/>
</resources>
<application-desc main-class="Capture"/>
</jnlp> 2) The example JNLP that mentions natives, from
<http://www.dutchie.net/jmf/example/webstart/launchNative_MP3.jnlp>
(with minor formatting variations that hopefully do not change its meaning.)
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://www.dutchie.net/jmf/example/webstart" href="launchNative_MP3.jnlp">
<information>
<title>JMF Demo</title>
<vendor>Dutchie Pty Ltd</vendor>
<homepage href="http://www.dutchie.net"/>
<description>The JMF Demo.</description>
<description kind="short">Demo showing features of JMF</description>
<description kind="one-line">JMF Demo</description>
<description kind="tooltip">Click here to launch the JMF Demo</description>
<icon href="dutchieIcon.gif"/>
<icon kind="splash" href="splash.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="JMediaDemo.jar" main="true" download="eager"/>
<jar href="mp3plugin.jar" download="eager"/>
</resources>
<resources os="Windows" arch="x86">
<nativelib href="jmf_native_windows.jar"/>
<jar href="sun_jmf_generic.jar" download="eager"/>
</resources>
<resources os="SunOS" arch="sparc">
<nativelib href="jmf_native_solaris.jar"/>
<jar href="sun_jmf_generic.jar" download="eager"/>
</resources>
<resources os="Linux">
<nativelib href="jmf_native_linux.jar"/>
<jar href="sun_jmf_generic.jar" download="eager"/>
</resources>
<application-desc main-class="org.jmfapi.JMediaDemo">
<argument>jmf</argument>
<argument>native</argument>
<argument>sun_mp3_plugin</argument>
<argument>oggvorbis</argument>
<argument>webstart</argument>
</application-desc>
</jnlp> -
Help for java.lang.NoClassDefFoundError:
hi all, i wrote a jws shows the following.
import java.lang.*;
import java.util.*;
* * @author bow5003
public class CalculatorWithDLL {
private native float add(float num1, float num2);
private native float sub(float num1, float num2);
private native float mult(float num1, float num2);
private native float divid(float num1, float num2);
private native float square(float num1);
private native float tripple(float num1);
//private float result;
/** Creates a new instance of CalculatorWithDLL */
public static float getAdd(float num1, float num2) {
CalculatorWithDLL calculator = new CalculatorWithDLL();
float result = calculator.add(num1, num2);
return result;
public static float getSub(float num1, float num2){
CalculatorWithDLL calculator = new CalculatorWithDLL();
float result = calculator.sub(num1, num2);
return result;
public static float getMult(float num1, float num2) {
CalculatorWithDLL calculator = new CalculatorWithDLL();
float result = calculator.mult(num1, num2);
return result;
public static float getDivid(float num1, float num2) {
CalculatorWithDLL calculator = new CalculatorWithDLL();
float result = calculator.divid(num1, num2);
return result;
public static float getSquare(float num1) {
CalculatorWithDLL calculator = new CalculatorWithDLL();
float result = calculator.square(num1);
return result;
public static float getTriple(float num1) {
CalculatorWithDLL calculator = new CalculatorWithDLL();
float result = calculator.tripple(num1);
return result;
static {
System.loadLibrary("Calculator");
and when i try to access throw the web browser http://localhost:8080/axis/JWS_Files/CalculatorWithDLL.jws?wsdl it gives the error:
java.lang.NoClassDefFoundError: Could not initialize class CalculatorWithDLL
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:168)
at java.security.AccessController.doPrivileged(NativeMethod)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:142)
at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)
at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:428)
at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:461)
at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:286)
at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:273)
at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
anyone can help me?
Message was edited by:
BCW0928
Message was edited by:
BCW0928Where is the dll ?
you need to include it in a jar, and ref that jar with
<nativelib href=<url to the jar>/>
and request all-permissions in you jnlp file (and sign both jars)
/Andy -
We have software that was developed using Axis to connect to a webservice. It
works fine. However, when we add the software to another system that is run under
weblogic 5.1 we get the following error when the axis classes are trying to be
invoked:
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler
Any ideas as to why this would happen?
Thanks,
TimHi Tim,
I don't really follow what you are saying. Are you saying that you are receiving
these exceptions in an instance of WLS 5.1, when you deploy the Apache Axis stuff
in it? If so, here's the JAVACLASSPATH and WEBLOGICCLASSPATH I use:
JAVACLASSPATH=d:\bea\WLS\5.1\lib\weblogic510sp9boot.jar;c:\beasys\licenses\WLS;d
:\bea\WLS\5.1\classes\boot;d:\bea\jdk130\lib\rt.jar
WEBLOGICCLASSPATH=c:\apache\xalan\2.2.0\bin\xerces.jar;c:\apache\xalan\2.2.0\bin
\xalan.jar;d:\bea\WLS\5.1\lib\weblogic510sp9.jar;d:\bea\WLS\5.1\lib\persistence\
WebLogic_RDBMS.jar;d:\bea\WLS\5.1\lib\weblogic-tags-510.jar;d:\bea\WLS\5.1\class
es;d:\bea\WLS\5.1\lib\weblogicaux.jar;.\webservices;.\webapps\axis\WEB-INF\lib\c
ommons-logging.jar;.\webapps\axis\WEB-INF\lib\log4j-1.2.4.jar;.\webapps\axis\WEB
-INF\lib\axis.jar;.\webapps\axis\WEB-INF\lib\jaxrpc.jar;.\webapps\axis\WEB-INF\l
ib\saaj.jar;.\webapps\axis\WEB-INF\lib\tt-bytecode.jar;.\webapps\axis\WEB-INF\li
b\wsdl4j.jar;.\webapps\axis\WEB-INF\lib\xmlsec.jar
I copied the Apache Axis stuff to a directory under my WLS 5.1 install, so I can
modify things without affecting the original files. My startWebLogic.cmd is in:
d:\bea\WLS\5.1\apache
The weblogic.properties file for my server is in:
d:\bea\WLS\5.1\apache\webapps
Here's all I have in there:
######## START OF weblogic.properties #########
weblogic.httpd.webApp.axis=webapps/axis
weblogic.security.ssl.enable=true
weblogic.httpd.logFileName=../logs/axis/access.log
weblogic.httpd.logRotationType=size
weblogic.httpd.maxHttpHeaderSize=4096
weblogic.system.logFile=../logs/axis/weblogic.log
weblogic.jdbc.logFileName=../logs/axis/jdbc.log
weblogic.password.axisadmin=password
######## END OF weblogic.properties #########
The Axis web application is in exploded into:
d:\bea\WLS\5.1\apache\webapps\axis
That directory contains:
WEB-INF
index.htm
happyaxis.jsp
StockQuoteService.jws
I am able to run all the samples, and server-config.wsdd is in the WEB-INF directory.
I think I had to change code in the happyaxis.jsp, to get things to work. I have
attached it.
The d:\bea\WLS\5.1\apache\webapps\axis\WEB-INF\lib directory contains:
axis.jar
commons-logging.jar
jaxrpc.jar
log4j-1.2.4.jar
saaj.jar
tt-bytecode.jar
wsdl4j.jar
xmlsec.jar
Regards,
Mike Wooten
"Tim " <[email protected]> wrote:
>
We have software that was developed using Axis to connect to a webservice.
It
works fine. However, when we add the software to another system that
is run under
weblogic 5.1 we get the following error when the axis classes are trying
to be
invoked:
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
java/lang/reflect/InvocationHandler
Any ideas as to why this would happen?
Thanks,
Tim[happyaxis.jsp]
Maybe you are looking for
-
Shipment costs and storage locations
Hello gurus, I have got two questions concerning shipment costs: 1. In my POs I would like the system to automatically find a condition for shipment costs (e.g. 10$ per item or 100$ per PO), so that I do not have to enter them manually. Obviously the
-
EVDRE Expansion depending on Property of members
Hi All, I am developing a report which will give me data for specific property of the members and at different levels. Let me explain it more... We have a dimension PROJ which has one property Bill_to. This property is set to child projects only. So
-
Iphone restoring PROBLEM PLEASE HELP! HANK U!
My ITunes not restoring my IPhone, it stuck on Restoring iPhone Softwear, I was trying to downgrade my iPhone softwear and did something to the hosts file and after that my iTunes would not let me Restoring my IPHONE Please HELP Thank U
-
Hi Gurus i have to make a new field into a standard segment E!MBXYH mess type wmmbxy can i enter a new field into a new segment? please provide me with the solution
-
Modify text/layout of KM iView
There is a KM iView called "Entry Points" under, Portal Content -->Content Provided by SAP >End User Content >Standard Portal Users >com.sap.km.iviews >Entry Points The iView displays Private Folder, Public Folders, Favourites, Recently Used, Common