NoClassDefFoundError: javax/wsdl/Definition in WLS_Spaces and WLS_Portlet.

Hi,
The software's I used are:
1. Oracle Database (Oracle Database 11g Release 2 (11.2.0.1.0))
2. Repository Creation Utility (ofm_rcu_win32_11.1.1.2.1_disk1_1of1)
3. WebLogic (wls1033_oepe111150_win32)
4. WebCenter (ofm_wc_generic_11.1.1.2.0_disk1_1of1)
5. Content Management (ofm_ucm_generic_10.1.3.5.1_disk1_1of1)
When I try to run the Administration Server and the three Managed Servers (WLS_Portlet, WLS_Services and WLS_Spaces in Weblogic Server), it is throwing exception in WLS_Spaces and WLS_Portlet servers and completing to Running Mode.
Attaching the Log Details below for one of the server.
C:\Oracle\Middleware\user_projects\domains\base_domain\bin>startManagedWebLogic
.cmd WLS_Portlet http://dpdb:7001
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSiz
e=128m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sys_m
anifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp353\profiles\d
efault\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\li
b\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\
MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features
\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\
webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle
\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\
soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.
soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\Oracle_WC1\webcenter\mo
dules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\Oracle\MIDDLE~1\OR
ACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\d
erby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~
1\patch_oepe1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_ocp353\profil
es\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\
MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Ora
cle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\app\Administra
tor\product\11.2.0\dbhome_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx1024m -XX:CompileTh
reshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=WLS_Portle
t -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.poli
cy -Dweblogic.security.SSL.trustedCAKeyStore="C:\Oracle\Middleware\wlserver_10.
3\server\lib\cacerts" -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WL
SERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Ora
cle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domai
ns\BASE_D~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=
11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Lo
gger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jr
ocket_optfile.txt -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domain
s\BASE_D~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P
~1\domains\BASE_D~1\config\FMWCON~1\servers\WLS_Portlet -Doracle.security.jps.c
onfig=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\jps-config.
xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.car
mlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\carml -Digf
.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\
arisidprovider -Dweblogic.alternateTypesDirectory=\modules\oracle.ossoiap_11.1.
1,\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dtan
gosol.coherence.log=jdk -DjiveHome=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1
\config\fmwconfig\servers\WLS_Portlet\owc_discussions_11.1.1.2.0 -Doracle.wc.op
enusage.clustername=localhost -Doracle.wc.openusage.collectorport=31314 -Doracl
e.wc.openusage.timeout=30 -Doracle.wc.openusage.unicast=true -Doracle.wc.openus
age.enabled=false -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.oj
dl.logging.impl.UserContextImpl -DUSE_JAAS=false -Djps.policystore.hybrid.mode=
false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.
auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.loggin
g.impl.UserContextImpl -Doracle.wc.openusage.clustername=localhost -Doracle.wc.
openusage.collectorport=31314 -Doracle.wc.openusage.timeout=30 -Doracle.wc.open
usage.unicast=true -Doracle.wc.openusage.enabled=false -Doracle.webcenter.taggi
ng.scopeTags=false -Doracle.mds.bypassCustRestrict=true -Djava.awt.headless=tru
e -Doracle.webcenter.tagging.scopeTags=false -XX:+UseParallelGC -XX:+DisableExp
licitGC -Dwc.oracle.home=C:\Oracle\Middleware\Oracle_WC1 -Dem.oracle.home=C:\
Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.
discover=false -Dweblogic.management.server=http://dpdb:7001 -Dwlw.iterativeDe
v=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.d
irs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath
;C:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sysext_manifest_classpath;C
:\Oracle\MIDDLE~1\patch_ocp353\profiles\default\sysext_manifest_classpath webl
ogic.Server
<Jul 16, 2010 11:01:55 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Followin
g extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\user_projects\domains\base_domain\lib\mbeantypes\csp-id-as
serter.jar>
<Jul 16, 2010 11:01:55 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting W
ebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Micros
ystems Inc.>
<Jul 16, 2010 11:01:57 AM IST> <Info> <Security> <BEA-090065> <Getting boot ide
ntity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Jul 16, 2010 11:02:12 AM IST> <Info> <Management> <BEA-141107> <Version: WebLo
gic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Jul 16, 2010 11:02:14 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to STARTING>
<Jul 16, 2010 11:02:14 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing
self-tuning thread pool>
<Jul 16, 2010 11:02:14 AM IST> <Notice> <LoggingService> <BEA-320400> <The log
file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_Portlet
\logs\WLS_Portlet.log will be rotated. Reopen the log file if tailing has stopp
ed. This can happen on some platforms like Windows.>
<Jul 16, 2010 11:02:14 AM IST> <Notice> <LoggingService> <BEA-320401> <The log
file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain
\servers\WLS_Portlet\logs\WLS_Portlet.log00001. Log messages will continue to b
e logged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_
Portlet\logs\WLS_Portlet.log.>
<Jul 16, 2010 11:02:14 AM IST> <Notice> <Log Management> <BEA-170019> <The serv
er log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_
Portlet\logs\WLS_Portlet.log is opened. All server side log events will be writ
ten to this file.>
<Jul 16, 2010 11:02:19 AM IST> <Notice> <Security> <BEA-090082> <Security initi
alizing using security realm myrealm.>
<Jul 16, 2010 11:02:20 AM IST> <Notice> <LoggingService> <BEA-320400> <The log
file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_Portlet
\logs\access.log will be rotated. Reopen the log file if tailing has stopped. T
his can happen on some platforms like Windows.>
<Jul 16, 2010 11:02:20 AM IST> <Notice> <LoggingService> <BEA-320401> <The log
file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain
\servers\WLS_Portlet\logs\access.log00001. Log messages will continue to be log
ged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\WLS_Portl
et\logs\access.log.>
<Jul 16, 2010 11:02:24 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to STANDBY>
<Jul 16, 2010 11:02:24 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to STARTING>
java.lang.NoClassDefFoundError: javax/wsdl/Definition
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2557)
at java.lang.Class.getMethods(Class.java:1410)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.getImplementedI
nterfaces(EjbAnnotationProcessor.java:1687)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processSessionA
nnotations(EjbAnnotationProcessor.java:447)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotati
ons(EjbAnnotationProcessor.java:310)
at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotati
ons(EjbAnnotationProcessor.java:180)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandar
dAnnotations(EjbDescriptorReaderImpl.java:344)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnly
DescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJa
rFile(EjbDescriptorFactory.java:93)
at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModul
e.java:1242)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:395
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Mod
uleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Dep
loymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachine
Driver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(De
ploymentCallbackFlow.java:149)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(De
ploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.j
ava:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachine
Driver.java:41)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.
java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.ja
va:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(Deploym
entStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(Ap
pContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeplo
yment.java:141)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(De
ploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(Deploy
mentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(Ap
pTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transition
Apps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(Co
nfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Con
figuredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(D
eploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(De
ploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassNotFoundException: javax.wsdl.Definition
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 37 more
<Jul 16, 2010 11:02:32 AM IST> <Error> <Deployer> <BEA-149205> <Failed to initi
alize the application 'wsm-pm' due to error weblogic.application.ModuleExceptio
n: Exception preparing module: EJBModule(wsm-pmserver.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The erro
r was:
javax/wsdl/Definition..
weblogic.application.ModuleException: Exception preparing module: EJBModule(wsm
-pmserver.jar)
[EJB:011023]An error occurred while reading the deployment descriptor. The erro
r was:
javax/wsdl/Definition.
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:467
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Mod
uleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Dep
loymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachine
Driver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(De
ploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.wsdl.Definition
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Truncated. see log file for complete stacktrace
>
<Jul 16, 2010 11:02:38 AM IST> <Error> <Deployer> <BEA-149205> <Failed to initi
alize the application 'wsrp-tools [Version=11.1.1.2.0]' due to error java.lang.
ClassNotFoundException: javax.wsdl.WSDLException.
java.lang.ClassNotFoundException: javax.wsdl.WSDLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.wsdl.WSDLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
Truncated. see log file for complete stacktrace
>
<Jul 16, 2010 11:02:41 AM IST> <Notice> <Log Management> <BEA-170027> <The Serv
er has established connection with the Domain level Diagnostic Service successf
ully.>
<Jul 16, 2010 11:02:42 AM IST> <Error> <oracle.wsm.resources.policymanager> <WS
M-02054> <Failure in looking up EJB component QueryService#oracle.wsm.policyman
ager.ejb.IStringQueryServiceRemote.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to ADMIN>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to RESUMING>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090171> <Loading the id
entity certificate and private key stored under the alias DemoIdentity from the
jks keystore file C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090169> <Loading truste
d certificates from the jks keystore file C:\Oracle\MIDDLE~1\WLSERV~1.3\server\
lib\DemoTrust.jks.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090169> <Loading truste
d certificates from the jks keystore file C:\Oracle\MIDDLE~1\JDK160~1\jre\lib\s
ecurity\cacerts.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Cente
r,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certif
icate list raised a certificate parsing exception PKIX: Unsupported OID in the
AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Cente
r,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certif
icate list raised a certificate parsing exception PKIX: Unsupported OID in the
AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3".
The loading of the trusted certificate list raised a certificate parsing except
ion PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1
.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems
CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certifica
te parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1
.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Security> <BEA-090898> <Ignoring the t
rusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The load
ing of the trusted certificate list raised a certificate parsing exception PKIX
: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default
" is now listening on 10.0.4.126:8889 for protocols iiop, t3, ldap, snmp, http.
>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default
Secure" is now listening on 10.0.4.126:8789 for protocols iiops, t3s, ldaps, ht
tps.>
<Jul 16, 2010 11:02:42 AM IST> <Notice> <WebLogicServer> <BEA-000332> <Started
WebLogic Managed Server "WLS_Portlet" for domain "base_domain" running in Devel
opment Mode>
<Jul 16, 2010 11:02:45 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to RUNNING>
<Jul 16, 2010 11:02:45 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server s
tarted in RUNNING mode>
I'm stuck on this since a long and time and not able to resolve it. Please post the solution if any.
Thanks and advance,
Surender Reddy

At first sight it seems your webcenter installation does not match the version of your WLS.
Your WLS installations seems to be 10.33 and not 10.3.2
If you are using WLS 10.3.3 you MUST also install webcenter 11.1.3
That could be the cause of your problems.

Similar Messages

  • Error Deployer BEA-149205 java.lang.NoClassDefFoundError: javax/wsdl/

    I have installed WebLogic 9.3 MP3 as a requirement for OTM6.0 and installed OTM with choosing WebLogic as App Server.
    After install steps, started the OTM services, but getting the following error:
    console.log.0 :
    INFO | 2009/07/07 21:19:18 | -----------> GC3 realm initialized
    INFO | 2009/07/07 21:19:19 | <Jul 7, 2009 9:19:19 PM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm otmrealm.>
    INFO | 2009/07/07 21:19:22 | <Jul 7, 2009 9:19:22 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    INFO | 2009/07/07 21:19:22 | <Jul 7, 2009 9:19:22 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    INFO | 2009/07/07 21:19:28 | -- OTM Event: preDeploy
    INFO | 2009/07/07 21:19:36 | INFO memory 28.804: parallel nursery GC 901639K->330759K (1638400K), 440.041 ms
    INFO | 2009/07/07 21:19:47 | INFO memory 39.819: parallel nursery GC 1014798K->435918K (1638400K), 313.767 ms
    INFO | 2009/07/07 21:19:57 | INFO memory 50.482: parallel nursery GC 1109199K->536143K (1638400K), 328.382 ms
    INFO | 2009/07/07 21:20:04 | -- OTM Event: postUndeploy
    INFO | 2009/07/07 21:20:04 | <Jul 7, 2009 9:20:04 PM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'GC3App' due to error java.lang.NoClassDefFoundError: javax/wsdl/BindingInput.
    INFO | 2009/07/07 21:20:04 | java.lang.NoClassDefFoundError: javax/wsdl/BindingInput
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.getDeclaredMethods0(Native Method)
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetPublicMethods(Class.java:2519)
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.getMethods(Class.java:1406)
    INFO | 2009/07/07 21:20:04 | at weblogic.ejb.container.ejbc.VersionHelperImpl.computeCRC(VersionHelperImpl.java:357)
    INFO | 2009/07/07 21:20:04 | Truncated. see log file for complete stacktrace
    INFO | 2009/07/07 21:20:04 | java.lang.NoClassDefFoundError: javax/wsdl/BindingInput
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.getDeclaredMethods0(Native Method)
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetPublicMethods(Class.java:2519)
    INFO | 2009/07/07 21:20:04 | at java.lang.Class.getMethods(Class.java:1406)
    INFO | 2009/07/07 21:20:04 | at weblogic.ejb.container.ejbc.VersionHelperImpl.computeCRC(VersionHelperImpl.java:357)
    INFO | 2009/07/07 21:20:04 | Truncated. see log file for complete stacktrace
    INFO | 2009/07/07 21:20:04 | >
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 130.35.212.103:10501 for protocols iiop, t3, ldap, http.>
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "gc3-vserv1295" for domain "Otmv600" running in Production Mode>
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    I didn't find any relavant info on webiv/metalink for this error!!
    Could anyone please help to resolve this issue ?
    Thanks,
    Vinay.

    Copy wsdl4j.jar to $GLOH_HOME/gc3webapp/WEB-INF/lib/3rdparty, and then re-start services. Issue was fixed.
    Thanks,
    Stephen Rengan

  • Failed to find WSDL definition and/or locate WSDL file

    I am getting this exception
    Failed to find WSDL definition and/or locate WSDL file:
    - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HTTP connection error code is 407
    oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HTTP connection error code is 407
    while opening my SOA composite on Jdeveloper 11.1.1.5, this webservice I have added before and it was working fine but now I am getting exception continuously, I am not using proxy in Jdev and can't go for new release as other teams have this version only.
    Please suggest what should I do for that.
    Thanks.

    If the server containing the webservices is not running or something in the signature of the webservice has changed, you most likely will get this error. When opening the composite, JDev always validates that all the services that are referenced are alive.
    Juan C.

  • WebStart and EJB: NoClassDefFoundError: javax/ejb/NoSuchEJBException

    Hi.
    I've created a small EJB project and a client which is called via webstart. If I test it with eclipse or with a standalone client all works as expected. But if I open the client with webstart every lookup to the EJB classes fail.
    Error Message:
    java.lang.reflect.InvocationTargetException
         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.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)
    Caused by: java.lang.NoClassDefFoundError: javax/ejb/NoSuchEJBException
         at org.apache.openejb.client.JNDIContext.createBusinessObject(JNDIContext.java:206)
         at org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:248)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at test.proqman.service.ServiceFactory.load(ServiceFactory.java:165)
         at test.proqman.service.ServiceFactory.<init>(ServiceFactory.java:59)
         at test.proqman.service.ServiceFactory.<init>(ServiceFactory.java:54)
         at test.proqman.service.ServiceFactory$InstanceHolder.<clinit>(ServiceFactory.java:48)
         at test.proqman.service.ServiceFactory.getInstance(ServiceFactory.java:75)
         at test.proqman.service.ServiceFactory.create(ServiceFactory.java:98)
         at test.proqman.client.wizard.Client$1.widgetSelected(Client.java:111)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
         at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
         at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
         at test.proqman.client.wizard.Client.<init>(Client.java:180)
         at test.proqman.client.webstart.CMCweb.main(CMCweb.java:26)Especially this line java.lang.NoClassDefFoundError: javax/ejb/NoSuchEJBException looks strange to me. "NoSuchEJBException" could not be found? I've referenced openejb-client.jar and j2ee.jar in my jnlp:
      <resources>
        <j2se version="1.4+" />
        <jar href="lib/commons-logging-1.0.4.jar" />
        <jar href="lib/j2ee.jar" />
        <jar href="lib/openejb-client-3.0.jar" />
      </resources>The lookup code is (shortened):
    Properties prop = new Properties();
    prop.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory" );
    prop.put( "java.naming.provider.url", "ejbd://[host]:4201" );
    Context context = new InitialContext( prop );
    Object implClass = context.lookup( "VobServiceRemote" ); // Exception is thrownAny ideas what could be wrong?
    thanks,
    Stefan
    @edit: I'm using Apache Geronimo as application server.
    Edited by: StefanBorchert on 03.06.2008 16:35

    If someone run into similar problems: include openejb-client.jar and geronimo-ejb_.3.0_spec_1.0.1.jar into the jar file of the web start client (I used FatJar for building) instead of just referencing to them. After this it will work as expected.

  • Install problem olite NoClassDefFoundError: javax/activation/DataSource

    Hello,
    I ran into an installation problem with the Oracle BPEL PM server. Though the installation completed successfully during startup of the server the following error occurs (part of log, complete log follows):
    XXXXXXXXXXXXXXX
    <2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleInitException> Error while initializing java class "javax/activation/DataSource".
    Java class "javax/activation/DataSource" cannot be found. Check if class "javax
    /activation/DataSource" package is in your classpath.
    <2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleInitException>
    Failed to load OraBPEL Process "default" domain because:
    javax/activation/DataSource
    <ServerManager::loadAllDomains>
    ORABPEL START-UP ERROR!!!!!
    XXXXXXXXXXXXXXXXXXX
    It seems to happen because of the following exception:
    XXXXXXXXXXXXXXXXXXX
    java.lang.NoClassDefFoundError: javax/activation/DataSource
    XXXXXXXXXXXXXXXXXXX
    On another WinXP-System everything is fine.
    I already had a default Oracle Lite Installation on my machine through Mobile Development Kit when installing BPEL PM Server. So I think there is a conflict between the two OLite DB... (Unfortunately I really need the first installation of OLite).
    When I tried to reach the bpel-OLite DB through msql everything is fine. I can address the orapbel schema either with the ODBC-DSN syntax or the syntax which uses the olsv2040 adaptor service.
    I checked ODBC.ini, ODBCinst.ini and polite.ini - they are configured as mentioned in another forum thread.
    The classpath seems to be correct as shown by the log (following). The class javax/activation/DataSource is in orapbel.jar - this archive is in the classpath. Perhaps the signature of the executed method doesn't fit with two concurrent olite DB on the system...
    Does somebody has an idea what's wrong with my configuration?
    I appreciate any suggestion.
    Thank you very much!
    Florian Werner
    University Tuebingen, Germany
    STARTUP LOG OF BPEL SERVER:
    04/12/11 16:22:35 Application default (default) initialized...
    04/12/11 16:22:35 Binding EJB CubeEngineBean to ejb/collaxa/system/CubeEngineBea
    n...
    04/12/11 16:22:35 Binding EJB DispatcherBean to ejb/collaxa/system/DispatcherBea
    n...
    04/12/11 16:22:35 Binding EJB InvokeSenderBean to ejb/collaxa/system/InvokeSende
    rBean...
    04/12/11 16:22:35 Binding EJB ServerBean to ejb/collaxa/system/ServerBean...
    04/12/11 16:22:35 Binding EJB DeliveryBean to ejb/collaxa/system/DeliveryBean...
    04/12/11 16:22:35 Binding EJB MessageBean to ejb/collaxa/system/MessageBean...
    04/12/11 16:22:35 Binding EJB InstanceKeyGenerator to ejb/collaxa/system/Instanc
    eKeyGenerator...
    04/12/11 16:22:35 Binding EJB DomainManagerBean to ejb/collaxa/system/DomainMana
    gerBean...
    04/12/11 16:22:35 Binding EJB FinderBean to ejb/collaxa/system/FinderBean...
    04/12/11 16:22:35 Binding EJB ProcessManagerBean to ejb/collaxa/system/ProcessMa
    nagerBean...
    04/12/11 16:22:35 Binding EJB InstanceManagerBean to ejb/collaxa/system/Instance
    ManagerBean...
    04/12/11 16:22:35 Binding EJB ActivityManagerBean to ejb/collaxa/system/Activity
    ManagerBean...
    04/12/11 16:22:35 Binding EJB ArchiveManagerBean to ejb/collaxa/system/ArchiveMa
    nagerBean...
    04/12/11 16:22:35 Binding EJB PresentationManagerBean to ejb/collaxa/system/Pres
    entationManagerBean...
    04/12/11 16:22:35 Binding EJB TaskManagerBean to ejb/collaxa/system/TaskManagerB
    ean...
    04/12/11 16:22:35 Binding EJB TransactionManagerBean to ejb/collaxa/system/Trans
    actionManagerBean...
    04/12/11 16:22:35 Binding EJB TransactionViewManagerBean to ejb/collaxa/system/T
    ransactionViewManagerBean...
    04/12/11 16:22:35 Binding EJB CubeFinderBean to ejb/collaxa/system/CubeFinderBea
    n...
    04/12/11 16:22:35 Binding EJB TransactionFinderBean to ejb/collaxa/system/Transa
    ctionFinderBean...
    04/12/11 16:22:36 Application orabpel (Collaxa Web Applications) initialized...
    04/12/11 16:22:38 Web-App default:defaultWebApp (0.0.0.0/0.0.0.0:9700/) started.
    04/12/11 16:22:38 Building Global TagLibrary Persistent Cache
    04/12/11 16:22:38 Looking for global resource at C:\orabpel\system\appserver\oc4
    j\j2ee\home\config\..\jsp\lib\taglibDone getting application current resources
    04/12/11 16:22:38 Done initializing cache
    04/12/11 16:22:38 Refreshing global cache - from existing cache ...
    04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for defaultWe
    bApp
    04/12/11 16:22:38 Done getting application current resources
    04/12/11 16:22:38 Done initializing cache
    04/12/11 16:22:38 Refreshing application cache - from existing cache ...
    04/12/11 16:22:38 Found 0 listeners
    04/12/11 16:22:38 Web-App orabpel:admin_war (0.0.0.0/0.0.0.0:9700/BPELAdmin) sta
    rted...
    04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for admin_war
    04/12/11 16:22:38 Done getting application current resources
    04/12/11 16:22:38 Done initializing cache
    04/12/11 16:22:38 Refreshing application cache - from existing cache ...
    04/12/11 16:22:38 Found 0 listeners
    04/12/11 16:22:38 Web-App orabpel:console_war (0.0.0.0/0.0.0.0:9700/BPELConsole)
    started...
    04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for console_w
    ar
    04/12/11 16:22:38 Done getting application current resources
    04/12/11 16:22:38 Done initializing cache
    04/12/11 16:22:38 Refreshing application cache - from existing cache ...
    04/12/11 16:22:38 Found 0 listeners
    04/12/11 16:22:38 Web-App orabpel:startup_war (0.0.0.0/0.0.0.0:9700/orabpel) sta
    rted...
    04/12/11 16:22:38 Building Application TagLibrary Persistent Cache for startup_w
    ar
    04/12/11 16:22:38 Done getting application current resources
    04/12/11 16:22:38 Done initializing cache
    04/12/11 16:22:38 Refreshing application cache - from existing cache ...
    04/12/11 16:22:38 Found 0 listeners
    <ServerManager::__init>
    Oracle BPEL Server version 2.0.10
    Build: 2004.08.26.19.51
    Build time: Thu Aug 26 19:51:38 PDT 2004
    Build type: release
    <ServerDescriptor::validateCompatibility> Detected server descriptor version '2.
    0.1'
    <BaseJDKAdaptor::initAdaptor>
    JVM properties
    Java version: 1.4.2_04, Sun Microsystems Inc.
    Java Home: C:\j2sdk1.4.2_04\jre
    Java VM: Java HotSpot(TM) Client VM 1.4.2_04-b05, Sun Microsystems Inc
    OS-System: Windows XP 5.1, x86
    System Class path: oc4j.jar;C:\orabpel\system\appserver\oc4j\j2ee\home
    \lib/ejb.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/servlet.jar;C:\orabp
    el\system\appserver\oc4j\j2ee\home\lib/ojsp.jar;C:\orabpel\system\appserver\oc4j
    \j2ee\home\lib/jndi.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jdbc.jar;
    C:\orabpel\system\appserver\oc4j\j2ee\home\iiop.jar;C:\orabpel\system\appserver\
    oc4j\j2ee\home\iiop_gen_bin.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/j
    ms.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jta.jar;C:\orabpel\system\
    appserver\oc4j\j2ee\home\lib/jmxri.jar;C:\orabpel\system\appserver\oc4j\j2ee\hom
    e\lib/javax77.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/javax88.jar;C:\
    orabpel\system\appserver\oc4j\j2ee\home\../../opmn/lib/ons.jar;C:\orabpel\system
    \appserver\oc4j\j2ee\home\../../opmn/lib/optic.jar;C:\orabpel\system\appserver\o
    c4j\j2ee\home\../../lib/dms.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../..
    /dms/lib/dms.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/connector.jar;C:
    \orabpel\system\appserver\oc4j\j2ee\home\lib/cos.jar;C:\orabpel\system\appserver
    \oc4j\j2ee\home\lib/jsse.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../or
    acle/lib/jsse.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jnet.jar;C:\ora
    bpel\system\appserver\oc4j\j2ee\home\lib/jcert.jar;C:\orabpel\system\appserver\o
    c4j\j2ee\home\lib/activation.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/
    mail.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../javavm/lib/jasper.zip;
    C:\orabpel\system\appserver\oc4j\j2ee\home\../../lib/xmlparserv2.jar;C:\orabpel\
    system\appserver\oc4j\j2ee\home\../../oracle/lib/xmlparserv2.jar;C:\orabpel\syst
    em\appserver\oc4j\j2ee\home\lib/jaxp.jar;C:\orabpel\system\appserver\oc4j\j2ee\h
    ome\lib/jaas.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\jazn.jar;C:\orabpel\
    system\appserver\oc4j\j2ee\home\../../jdbc/lib/classes12dms.jar;C:\orabpel\syste
    m\appserver\oc4j\j2ee\home\../../oracle/jdbc/lib/classes12dms.jar;C:\orabpel\sys
    tem\appserver\oc4j\j2ee\home\../../jdbc/lib/nls_charset12.jar;C:\orabpel\system\
    appserver\oc4j\j2ee\home\../../oracle/jdbc/lib/nls_charset12.jar;C:\orabpel\syst
    em\appserver\oc4j\j2ee\home\jaxb-rt-1.0-ea.jar;C:\orabpel\system\appserver\oc4j\
    j2ee\home\../../soap/lib/soap.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../
    ../webservices/lib/wsserver.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../..
    /webservices/lib/wsdl.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../rdbms
    /jlib/aqapi.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jem.jar;C:\orabpe
    l\system\appserver\oc4j\j2ee\home\../../javacache/lib/cache.jar;C:\orabpel\syste
    m\appserver\oc4j\j2ee\home\lib/http_client.jar;C:\orabpel\system\appserver\oc4j\
    j2ee\home\../../jlib/jssl-1_1.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../
    ../oracle/jlib/jssl-1_1.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../jli
    b/repository.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\../../oracle/jlib/re
    pository.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\lib/jaasmodules.jar;C:\o
    rabpel\system\appserver\oc4j\j2ee\home\../../sqlj/lib/runtime12ee.jar;C:\orabpel
    \system\appserver\oc4j\j2ee\home\../../sqlj/lib/translator.jar;C:\orabpel\system
    \appserver\oc4j\j2ee\home\lib/crimson.jar;;C:\orabpel\system\classes;C:\orabpel\
    lib\saxon_7.9.jar;C:\orabpel\lib\orabpel-external.jar;C:\orabpel\lib\orabpel.jar
    ;C:\orabpel\lib\orabpel-common.jar;C:\orabpel\lib\orabpel-ant.jar;C:\j2sdk1.4.2_
    04\lib\tools.jar;C:\orabpel\lib\commons-httpclient-2.0.jar;C:\orabpel\lib\olite4
    0.jar;C:\orabpel\lib\ant_1.5.4.jar;C:\orabpel\lib\xmlparserv2.jar;C:\orabpel\sys
    tem\appserver\oc4j\j2ee\home\applib;C:\orabpel\system\appserver\oc4j\sqlj\lib;C:
    \orabpel\system\appserver\oc4j\rdbms\jlib\xsu12.jar;C:\orabpel\system\appserver\
    oc4j\lib\dsv2.jar;C:\orabpel\system\appserver\oc4j\j2ee\home\jsp\lib\taglib;C:\o
    rabpel\system\appserver\oc4j\j2ee\home\jsp\lib\taglib\jaxen-full.jar;C:\orabpel\
    system\appserver\oc4j\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\orabpel\system\ap
    pserver\oc4j\j2ee\home\jsp\lib\taglib\saxpath.jar;C:\orabpel\system\appserver\oc
    4j\j2ee\home\jsp\lib\taglib\standard.jar;C:\orabpel\system\appserver\oc4j\j2ee\h
    ome\applications\orabpel_ear\ejb_ob_engine.jar;C:\orabpel\system\appserver\oc4j\
    j2ee\home\application-deployments\orabpel\ejb_ob_engine.jar\deployment.cache;
    <BasePlatformAdaptor::registerShutdownHook> Registered shutdown hook for olite
    <ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
    Source
    <ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
    Source
    <ServerManager::__init> Detected datasource 'olite'
    <ServerAdaptorManager::init> Initialized adaptors for platform 'oc4j_10g'
    <ServerManager::loadAllDomains> Loading all domains under C:\orabpel\domains
    <DomainDescriptor::validateCompatibility> Detected domain descriptor version '2.
    0.5'
    <2004-12-11 16:22:45,028> <INFO> <default.collaxa.cube> <ServerManager::loadDoma
    in>
    Oracle BPEL Server version 2.0.10
    Build: 2004.08.26.19.51
    Build time: Thu Aug 26 19:51:38 PDT 2004
    Build type: release
    <2004-12-11 16:22:45,138> <INFO> <default.collaxa.cube.engine> <CubeEngine::load
    >
    Initializing BPEL domain from descriptor file
    "C:\orabpel\domains\default\config\domain.xml"
    <ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
    Source
    <ConnectionFactoryImpl::init> Initialized connection factory jdbc/BPELServerData
    Source
    <2004-12-11 16:22:45,368> <INFO> <default.collaxa.cube.engine> <BaseDatabaseAdap
    tor::validateCompatibility> Detected database version '2.0.29'
    <2004-12-11 16:22:45,378> <INFO> <default.collaxa.cube.engine> <AdaptorManager::
    init> Initialized adaptors for platform 'oc4j_10g', datasource 'olite'
    <2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleI
    nitException> Error while initializing java class "javax/activation/DataSource".
    Java class "javax/activation/DataSource" cannot be found. Check if class "javax
    /activation/DataSource" package is in your classpath.
    <2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleI
    nitException>
    Failed to load OraBPEL Process "default" domain because:
    javax/activation/DataSource
    <ServerManager::loadAllDomains>
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception
    reported is: "java.lang.NoClassDefFoundError: javax/activation/DataSource
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(J
    AFDataHandlerSerializerFactory.java:76)
    at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.getSeria
    lizerClass(JAFDataHandlerSerializerFactory.java:85)
    at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.<init>(J
    AFDataHandlerSerializerFactory.java:73)
    at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMap
    pingImpl.java:154)
    at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMap
    pingImpl.java:130)
    at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton(DefaultT
    ypeMappingImpl.java:124)
    at com.collaxa.cube.engine.deployment.TypeSoapRegistry.registerHeaderTyp
    es(TypeSoapRegistry.java:269)
    at com.collaxa.cube.engine.deployment.TypeSoapRegistry.load(TypeSoapRegi
    stry.java:101)
    at com.collaxa.cube.engine.core.TypeRegistry.load(TypeRegistry.java:121)
    at com.collaxa.cube.engine.CubeEngine.__load(CubeEngine.java:522)
    at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:452)
    at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:91
    9)
    at com.collaxa.cube.admin.ServerManager.loadAllDomains(ServerManager.jav
    a:733)
    at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:92)
    at com.collaxa.cube.beans.ServerBean.init(ServerBean.java:202)
    at IServerBean_StatelessSessionBeanWrapper14.init(IServerBean_StatelessS
    essionBeanWrapper14.java:79)
    at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:59)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServe
    r.java:2325)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
    a:1498)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
    uncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    Exception: java.lang.NoClassDefFoundError: javax/activation/DataSource
    Handled As: com.collaxa.cube.engine.EngineInitializationException
    04/12/11 16:22:46 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized

    Hello Erwin,
    thank you for your fast reply.
    I'll try to switch to 9i/10g.
    In migrating perhaps also I will use the Designer as standalone tool on the client and connecting to iAS on another machine where I could integrate the BPEL Engine.
    That means integrating BPEL in our architecture.
    Regards Florian

  • WSDL definition with wsdl4J

    Hello,
    I develop a java code (wsdl4j code) to define a WSDL definition. My code must generate a WSDL definition in XML format.
    All constructors work expect SOAP Elements in Binding (style, transport, ...) and in Port (address).
    see my code here
    import javax.wsdl.extensions.*;
    import javax.wsdl.extensions.soap.*;
    ExtensionRegistry extreg=null;
    SOAPBinding soapBind=null;
    SOAPOperation soapOp=null;
    SOAPBody inputBody =null;
    try {  extreg=WSDLFactory.newInstance().newPopulatedExtensionRegistry();
              soapBind = (SOAPBinding)extreg.createExtension(Binding.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "binding"));
            soapOp = (SOAPOperation)extreg.createExtension(BindingOperation.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "operation"));
            inputBody = (SOAPBody)extreg.createExtension(BindingInput.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "body"));
              } catch (WSDLException ex2) {
    inputBody.setUse("literal");
              inputBody.setNamespaceURI("");
              inputBody.setRequired(vRequired.TRUE);
              /* inputBody.setEncodingStyles(encodedStyleList.subList(0,0)); */
              soapOp.setStyle("document");
            soapOp.setSoapActionURI("");
              soapOp.setRequired(vRequired.TRUE);
            vBindOp.addExtensibilityElement(soapOp);
    soapAd = (SOAPAddress)extreg.createExtension(Port.class, new QName("http://scheams.xmlsoap.org/wsdl/soap/", "address"));}
    soapAd.setLocationURI(lhost+tCWS.image+".wsdl");
           soapAd.setRequired(vRequired.TRUE);
         vPort.addExtensibilityElement(soapAd); } catch (Exception Ex10) {}
    ...........Same one can help me.
    best regard
    demba

    Hi Mark,
    seems that this was an issue with our PI.
    Following "have you generated ... properly" I generated the WSDL again and now...
    however this happended different now....
    the operation area is included in the WSDL.
    So this is a part generated automatically in SAP PI and not dependend on the xsd files,
    an important learning!
    Thank you!
    By the way, we reimported the WSDL in the Repository as an external definition and it worked!
    Moreover, this is helpful as the WSDL is displayed here structured. The generated WSDL file itself will be displayed as one single line only in XML editor. From the reimport you can generate a structured WSDL copying it manually into an editor and save it there again!
    Best regards
    Dirk

  • Java.lang.NoClassDefFoundError: javax/el/CompositeELResolver error

    Hi to everyone.
    i'm searching for help.
    I'm working with a web project under WebShere and for working and compatibility reason I have to migrate from version 7.0 of WAS to older 6.1 version.
    My project under version 7 run perfectly but now I not even can start correctly the WAS.
    I receive the error about topic title: java.lang.NoClassDefFoundError: javax/el/CompositeELResolver error
    The project was born to work with JSF 1.2 and RichFaces 3.3.2 but I know they are not supported under WAS 6.1 and so I've:
    - first tried to imported in project older version of jsf and richfaces (jsf 1.1.02, rich 3.1.6);
    - then tried to installed them as shared libraries;
    suddenly i've tried to reinstall entire WAS... same result.
    can someone help me?
    PS: the content of console after start attempt is:
    java.lang.NoClassDefFoundError: javax.el.CompositeELResolver
         at java.lang.J9VMInternals.verifyImpl(Native Method)
         at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
         at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
         at java.lang.Class.forNameImpl(Native Method)
         at java.lang.Class.forName(Class.java:163)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.<init>(AbstractJSPExtensionProcessor.java:183)
         at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionProcessor.<init>(WASJSPExtensionProcessor.java:65)
         at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionFactory.createProcessor(WASJSPExtensionFactory.java:188)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionFactory.createExtensionProcessor(AbstractJSPExtensionFactory.java:75)
         at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1186)
         at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:340)
         at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:337)
         at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
         at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
         at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
         at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
         at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:395)
         at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:611)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1304)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1165)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:587)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:832)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:950)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
         at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    Caused by: java.lang.ClassNotFoundException: javax.el.CompositeELResolver
         at java.net.URLClassLoader.findClass(URLClassLoader.java:496)
         at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:150)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
         at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
         at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
         at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:54)
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:429)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
         ... 26 more

    Looks like you need an implementation of the EL language.

  • Java.lang.NoClassDefFoundError: javax/xml/rpc/soap/SOAPFaultException

    I have created webservice client using jwsdp-2.0 + JDK 1.5
    in Netbeans 4.1 IDE it
    works perfectly in the netbeans and also works at the command prompt but when i
    create a Jar file from the netbeans and run at the command prompt with following
    i have included all the jar files from the jwsdp-2.0 pack in the manifest file and have
    also specified the main class
    java -jar test.jar it gives following error
    java.lang.NoClassDefFoundError: javax/xml/rpc/soap/SOAPFaultException

    You need the JAX-RPC classes in your class path.

  • Get NoClassDefFoundError: javax/faces/context/FacesContext Error at Runtime

    I'm in 11g, PS1. I have an application and I have a SelectOneChoice component that invokes a managed bean (i.e. #{queryHandler.availableFilterChoice}). It then calls my constructor public QueueHandler and within that constructor i have the following line of code:
    Application application = FacesContext.getCurrentInstance().getApplication();
    This line of code builds and compiles, but at runtime I get the following error NoClassDefFoundError: javax/faces/context/FacesContext and the application stops and fails and nothing is rendered. I have the following libraries in my project:
    JSP Runtime
    JSF 1.2
    JSTL 1.2
    ADF Page Flow Runtime
    ADF Controller Runtime
    ADF Controller Schema
    ADF Faces Runtime 11
    ADF Common Runtime
    ADF Web Runtime
    MDS Runtime
    MDS Runtime Dependencies
    Common Beanutils 1.6
    Common Logging 1.0.4
    Common Collections 3.1
    ADF DVT Faces Runtime
    ADF DVT Faces Databinding Runtime
    EJB 3.0
    JPS Designtime
    TopLink
    Oracle XML Parser V2
    Java EE 1.5 API
    Oracle JEWT
    Trinidad Runtime 11
    JSTL 1.2 Tags
    Resource Bundle Support
    Resource Bundle Variable Resolver
    Weblogic 10.3 Remote-Client
    Oracle JDBC

    I'm sorry, but I guess I don't understand what you're saying. But I'm not using the line of code below anywhere so I cannot remove it. I did try to use to use that line of code then I used the import org.apache.myfaces.trinidad.util.Service; and when I use those lines of code, I get the same exact Error.
    ExtendedRenderKitService erks = Service.getRenderKitService(FacesContext.getCurrentInstance(), ExtendedRenderKitService.class);

  • Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/S

    Hi,
    I have created a class JaxmClient.java. When I compile the class with appropriate jar files assigned to -classpath it compiles successfully with no errors. But when I run the classe "java JaxmClient" it produces the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPElement
    Can someone help me I am knew to this technology.
    Thanks in advance

    I tried to use in my execution all the jar files that I used for compilation.
    java -cp jaxm-jar; etc.jar Request
    but it still gives me this execption
    Exception in thread "main" java.lang.NoClassDefFoundError: Request
    I am in the right directory where is the Request.class file is and it is present in this directory....
    Thanks appreciate your help...

  • Jaxb with weblogic -- java.lang.NoClassDefFoundError: javax/xml/bind/MarshallableRootElement

    I am trying to use jaxb with Weblogic 6.1. I kept both the jaxb jar file in weblogic
    classpath in setEnv script. I am getting the following error, when I am trying
    to use jaxb
    java.lang.NoClassDefFoundError: javax/xml/bind/MarshallableRootElement
    I tried other options also like coping both jar file in jre/ext dir but then I
    got security error.
    I will appreciate if someone in this newsgroup comments or suugest some solution.
    Thanks
    Jeewan

    On 06 Aug 2002, Jeewan wrote:
    >
    I am trying to use jaxb with Weblogic 6.1. I kept both the jaxb jar
    file in weblogic classpath in setEnv script. I am getting the
    following error, when I am trying to use jaxb
    java.lang.NoClassDefFoundError: javax/xml/bind/MarshallableRootElement
    I tried other options also like coping both jar file in jre/ext dir
    but then I got security error.
    I will appreciate if someone in this newsgroup comments or suugest
    some solution. Put the jaxb jar file in in your webapp's WEB-INF/lib directory and it
    should work fine.
    Barry

  • Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream

    I am trying to develop a web service client for amazon webservice.but i am getting this error while running the app. Can anyone please help me. I have installed the JWSDP and but could not understand why i have to locate all the jar files in the classpath?Please help.
    ===== error=========================================
    C:\abr\classes>java -classpath c:\abr\test.jar;C:\abr\jaxrpc-api.jar;C:\abr\jaxrpc-impl.jar;C:\abr\jaxrpc-spi.jar;c:\abr\classes\amazon.jar;C:\abr\mail.jar;C:\a
    br\saaj-api.jar;C:\abr\activation.jar;c:\abr\FastInfoset.jar;%classpath% Client
    [b]Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream/XMLS
    treamWriter
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.
    java:672)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:87)
    at amazon.AmazonSearchPort_Stub.authorSearchRequest(AmazonSearchPort_Stu
    b.java:988)
    at Client.main(Client.java:21)

    I'm assuming you're using JWSDP 1.6 as I see Fastinfoset.jar in your list. You are missing some jar files in your classpath there. The best way to know what you need is to look at the release notes for JWSDP 1.6. Since you're building a web serivce start with the table in there and lookup JAX-RPC. It'll show you what jar files are needed and what other libraries are needed. Now depending on what you're doing you don't really need all those.
    For sure you're missing jsr173_api.jar which is where I believe that class you need is located. This is in the JWSDP_1_6\sjsxp\lib directory. You will probably need the other jar thats in there too. Best bet is to follow the dependancy chart in the release notes.
    This should get you going.
    Ryan

  • Java.lang.NoClassDefFoundError: javax/resource/ResourceException

    Hi everybody,receive my sincere greeting,i have a slight problem right here.I am trying to test the Server API for Mobile Services i dowloaded from nokia forum.I have a J2SE program that sends an SMS to a mobile device.When i try to run the simple program in JBuilder 2005 Enterprise i encounter the error below.Please help me i am not sure if i should include the j2ee.jar for my project to detect the resource package in javax or not.Anyone related with this problem plz help me.
    Nov 3, 2006 1:46:38 PM com.nokia.sams.util.sms.config.ServiceApiConfiguration init
    INFO: Loading Service API configuration.
    Nov 3, 2006 1:46:38 PM com.nokia.sams.util.sms.config.ServiceApiConfiguration init
    INFO: Service API config file is: C:\Borland\JBuilder2005\jdk1.4\jre\lib\nokia_sams_service.properties
    Nov 3, 2006 1:46:38 PM com.nokia.sams.util.sms.config.ServiceApiConfiguration init
    INFO: Service API configuration loaded.
    java.lang.NoClassDefFoundError: javax/resource/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at com.nokia.sams.SmsMessageListenerHandler.<init>(SmsMessageListenerHandler.java:58)
         at com.nokia.sams.SmsSession.<init>(SmsSession.java:37)
         at com.nokia.sams.messaging.SmsMessagingSession.<init>(SmsMessagingSession.java:71)
         at com.nokia.sams.SmsService.openSession(SmsService.java:74)
         at com.klaas.sams.SMSServer.sendMessage(SMSServer.java:21)
         at com.klaas.sams.SMSServer.main(SMSServer.java:50)
    Exception in thread "main"

    Hi,
    Just try to find connector.jar and put it into your lib location.
    Regards,
    Deddy

  • Java.lang.NoClassDefFoundError: javax/xml/rpc/Service

    Hi,
    I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at com.Gudds.SeCURE.MainUI.<init>(MainUI.java:76)
            at com.Gudds.SeCURE.Main.Start(Main.java:62)
            at org.owasp.webscarab.WebScarab.main(WebScarab.java:34)I have put the jaxrpc.jar in the classpath and I suppose this jar has the java.xml.rpc.service class but I donot understand why it fails while executing the jar but works fine from the eclipse IDe. Plase help me.
    Regrdas,
    Kundan

    1. Build jar file with MAINFEST.MF and Export of Eclipse , which has content:
    suppose in folder:
    c:\client.jar ( client of web service )
    c:\contrib/lib/ axis apis
    Main-Class: com.MainClassName
    Class-Path: contrib\axis\jaxrpc.jar contrib\axis\activation.jar con
    trib\axis\axis.jar contrib\axis\axis.jar contrib\axis\commons-disco
    very.jar contrib\axis\wsdl4j.jar contrib\axis\saaj.jar contrib\axi
    s\soap.jar contrib\axis\commons-logging.jar contrib\axis\log4j.jar
    contrib\axis\mail.jar
    2. build jar with ant: make sure the their are at least one blank between
    values of Class-Path.
              <jar destfile="../Client/client.jar" >
                   <fileset dir="${build.dir}"/>
              <manifest>
              <attribute name="Built-By" value="${user.name}"/>
                   <attribute name="Main-Class" value="com.MainClass"/>
              <attribute name="Class-Path" value=" contrib\axis\jaxrpc.jar contrib\axis\activation.jar .. "/>
              </manifest>
              </jar>
    3. If you haven't pack you class file in jar, create a bat to set CLASSPATH
    exactly to all jars.
    Hope this helps

  • Java.lang.NoClassDefFoundError: javax/mail/Service

    Hi,
    Happy New Year Everyone! Sadly, it's not that happy for me right now, I'm trying to write a mail app using JavaMail, but I'm getting a NoClassDefFoundError when I run the program.... The program compiles fine, it only crashes when I run the program. Does anyone have any ideas why that's happenning? I compile the program using javac -classpath .:mail.jar *.java and I'm working on a Unix Box. Any help anyone can provide is greatly appreciated!
    The error message I received is pasted below (I left out the stack trace to make reading easier).
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: javax/mail/Service
    [Stack Trace]
    Thanks in Advance!
    Juivette

    Read the directions that came with the javamail API...it tells you the OTHER API you need. Also, word of advice....I un jar'd and re-jar'd all the classes from BOTH API's in one file...makes life easier.

Maybe you are looking for