| jwblakey 2004-03-25, 8:39 am |
| When trying to test the FirstPortlet sample portal application from the red=
book "IBM WebSphere Portal V5 A Guide for Portal Application Development", =
I receive the following:
Preparing to start EJB jar: wmm.ejb.jar
[25/03/04 09:18:56:328 GMT] 4e4182c6 BeanMetaData E CNTR0075E: The user-pr=
ovided class "com.ibm.websphere.wmm.objects.MemberServiceBean" needed by th=
e EnterpriseBean could not be found or loaded.
[25/03/04 09:18:56:344 GMT] 4e4182c6 EJBContainerI E WSVR0209E: Unable to p=
repare EJB jar wmm.ejb.jar [class com.ibm.ws.runtime.component.DeployedModu=
leImpl], enterprise bean com.ibm.etools.ejb.impl.SessionImpl(MemberService)=
(transactionType: Container, sessionType: Stateless)=20
java.lang.NoClassDefFoundError: Error while defining class: com.ibm.websph=
ere.wmm.objects.MemberServiceBean
This error indicates that the class: com.ibm.ws.wmm.objectimpl.MemberServic=
eBeanBase
could not be located while defining the class: com.ibm.websphere.wmm.object=
s.MemberServiceBean
This is often caused by having the class at a higher point in the classload=
er hierarchy
Dumping the current context classloader hierarchy:
=3D=3D> indicates defining classloader
*** indicates classloader where the missing class could have been found
=3D=3D>[0]=20
com.ibm.ws.classloader.CompoundClassLoader@2c2bc2df
Local ClassPath: C:\WSAD51\runtimes\base_v5\installedApps
\localhost\wmmA=
pp.ear\wmm.ejb. jar;C:\WSAD51\runtimes\base_v5\installed
Apps\localhost\wmmAp=
p.ear\wmm.internal.ejb.jar;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.ExtJarClassLoader@1309278925 Local ClassPath:=
C:\WSAD51\runtimes\portal_v50\shared\app
;C:\WSAD51\runtimes\portal_v50\sha=
red\app\activation. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\admin.jar;C=
:\WSAD51\runtimes\portal_v50\shared\app\
bsf.jar;C:\WSAD51\runtimes\portal_v=
50\shared\app\cas. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\cas_utils.ja=
r;C:\WSAD51\runtimes\portal_v50\shared\a
pp\categorizer.jar;C:\WSAD51\runtim=
es\portal_v50\shared\app\CatSum. jar;C:\WSAD51\runtimes\portal_v50\shared
\ap=
p\catUtil. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\commres.jar;C:\WSAD5=
1\runtimes\portal_v50\shared\app\convert
ors.jar;C:\WSAD51\runtimes\portal_v=
50\shared\app\cs. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\DocEditor.jar=
;C:\WSAD51\runtimes\portal_v50\shared\ap
p\epi-portlet.jar;C:\WSAD51\runtime=
s\portal_v50\shared\app\eTracer. jar;C:\WSAD51\runtimes\portal_v50\shared
\ap=
p\Export. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\HTMLParse.zip;C:\WSAD=
51\runtimes\portal_v50\shared\app\htmlte
mplate.jar;C:\WSAD51\runtimes\porta=
l_v50\shared\app\jaas-proxy. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\ja=
karta-oro-2.0.4. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\jakarta-oro-2.=
0.7. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\jakarta-poi.jar;C:\WSAD51\=
runtimes\portal_v50\shared\app\jakarta-regexp-1.2.jar;C:\WSAD51\runtimes\po=
rtal_v50\shared\app\JavaProlog. jar;C:\WSAD51\runtimes\portal_v50\shared
\app=
\jlog-2.2.1. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\jlog.jar;C:\WSAD51=
\runtimes\portal_v50\shared\app\jt400.jar;C:\WSAD51\runtimes\portal_v50\sha=
red\app\juru. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\kdsapi.jar;C:\WSA=
D51\runtimes\portal_v50\shared\app\KDSW.jar;C:\WSAD51\runtimes\portal_v50\s=
hared\app\log4j-1.2.7. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\lwotypes=
jar;C:\WSAD51\runtimes\portal_v50\shared
\app\NCSO.jar;C:\WSAD51\runtimes\p=
ortal_v50\shared\app\odc-util. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\=
pcm. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\pdAdmin.jar;C:\WSAD51\runt=
imes\portal_v50\shared\app\pdm. jar;C:\WSAD51\runtimes\portal_v50\shared
\app=
\PortalStrutsBase. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\portlet-api.=
jar;C:\WSAD51\runtimes\portal_v50\shared
\app\portlet.jar;C:\WSAD51\runtimes=
\portal_v50\shared\app\Sindex. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\=
ssl. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\stcommsrvrtk.jar;C:\WSAD51=
\runtimes\portal_v50\shared\app\strutsfi
lters.jar;C:\WSAD51\runtimes\portal=
_v50\shared\app\sumIt. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\transcod=
ing. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\treeview.jar;C:\WSAD51\run=
times\portal_v50\shared\app\uima. jar;C:\WSAD51\runtimes\portal_v50\shared
\a=
pp\watsonUtil. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\wcl.jar;C:\WSAD5=
1\runtimes\portal_v50\shared\app\WebScan
ner.jar;C:\WSAD51\runtimes\portal_v=
50\shared\app\wmmencryption. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\wp=
product. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\wps.jar;C:\WSAD51\runt=
imes\portal_v50\shared\app\wpsportlets.jar;C:\WSAD51\runtimes\portal_v50\sh=
ared\app\wtpadmin. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\wtpcommon.ja=
r;C:\WSAD51\runtimes\portal_v50\shared\a
pp\wtpserver.jar;C:\WSAD51\runtimes=
\portal_v50\shared\app\wts. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\xin=
cluder. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\xpath.jar;C:\WSAD51\run=
times\portal_v50\shared\app\CallJava.jar;C:\WSAD51\runtimes\portal_v50\shar=
ed\app\casTutorial. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\IBMJCEfw.ja=
r;C:\WSAD51\runtimes\portal_v50\shared\a
pp\IBMJCEProvider.jar;C:\WSAD51\run=
times\portal_v50\shared\app\JediiTreeVie
wer.jar;C:\WSAD51\runtimes\portal_v=
50\shared\app\local_policy. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\mai=
l. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\mainJavadoc.jar;C:\WSAD51\ru=
ntimes\portal_v50\shared\app\RegEx_TAE.jar;C:\WSAD51\runtimes\portal_v50\sh=
ared\app\uddi4j. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\uimaExamples.j=
ar;C:\WSAD51\runtimes\portal_v50\shared\
app\uimaJedII.jar;C:\WSAD51\runtime=
s\portal_v50\shared\app\US_export_policy
.jar;C:\WSAD51\runtimes\portal_v50\=
shared\app\wsdl4jpbext. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\wcl_all=
lang. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\xsdbeans.jar;C:\WSAD51\ru=
ntimes\portal_v50\wpcp\v5. 0\runtime\lib;C:\WSAD51\runtimes\portal_
v50\wpcp\=
v5.0\runtime\lib\feedbackilm. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\ru=
ntime\lib\feedbacklm. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\runtime\li=
b\jcchart450K. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\runtime\lib\wpcpc=
onfig. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\runtime\lib\wpcpquery.jar=
;C:\WSAD51\runtimes\portal_v50\wpcp\v5.0\runtime\lib\wpcpresources.jar;C:\W=
SAD51\runtimes\portal_v50\wpcp\v5.0\runtime\lib\wpcpruntime.jar;C:\WSAD51\r=
untimes\portal_v50\wpcp\v5.0\runtime\lib\wpcpruntimecommon.jar;C:\WSAD51\ru=
ntimes\portal_v50\wpcp\v5.0\runtime\lib\BRBeans.jar;C:\WSAD51\runtimes\port=
al_v50\wpcp\v5.0\runtime\lib\PznBeans.jar;C:\WSAD51\runtimes\portal_v50\wpc=
p\v5.0\author\lib\activation. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\au=
thor\lib\availcommon. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\author\lib=
\crawler. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\author\lib\fwcommon.ja=
r;C:\WSAD51\runtimes\portal_v50\wpcp\v5.0\author\lib\ibm-jsw.jar;C:\WSAD51\=
runtimes\portal_v50\wpcp\v5.0\author\lib\liteWF.jar;C:\WSAD51\runtimes\port=
al_v50\wpcp\v5.0\author\lib\LWFJavaAPI.jar;C:\WSAD51\runtimes\portal_v50\wp=
cp\v5.0\author\lib\persmigration. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.=
0\author\lib\wpcpauthor. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\author\=
lib\wpcpauthorjdbc. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\author\lib\w=
sWF. jar;C:\WSAD51\runtimes\portal_v50\wpcp\v
5.0\author\lib\mail.jar;C:\WSAD=
51\runtimes\portal_v50\shared\app\clouds
cape\db2j.jar;C:\WSAD51\runtimes\po=
rtal_v50\shared\app\cloudscape\db2jcc.jar;C:\WSAD51\runtimes\portal_v50\sha=
red\app\cloudscape\db2jcview. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\c=
loudscape\db2jnet. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\cloudscape\d=
b2jtools. jar;C:\WSAD51\runtimes\portal_v50\shared
\app\cloudscape\jh.jar;C:\=
WSAD51\runtimes\portal_v50\shared\app\lo
tusworkplacelib\people.jar;C:\WSAD5=
1\runtimes\portal_v50\shared\app\lotuswo
rkplacelib\lwputil.jar;C:\WSAD51\ru=
ntimes\portal_v50\shared\app\lotusworkpl
acelib\wmmdelegate.jar;C:\WSAD51\ru=
ntimes\portal_v50\shared\app\lotusworkpl
acelib\servicelocator.jar;C:\WSAD51=
\runtimes\portal_v50\shared\app\lotuswor
kplacelib\hlcore.jar;C:\WSAD51\runt=
imes\portal_v50\shared\app\lotusworkplac
elib\jstl.jar;C:\WSAD51\runtimes\po=
rtal_v50\shared\app\lotusworkplacelib\st
andard.jar; Delegation Mode: PAREN=
T_LAST
[2] com.ibm.ws.classloader.ExtJarClassLoader@654574285 Local ClassPath: =
C:\WSAD51\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@4a0d82c1
[4] com.ibm.ws.bootstrap.ExtClassLoader@4e4b42c6
[5] sun.misc.Launcher$AppClassLoader@4dbc42c6
[6] sun.misc.Launcher$ExtClassLoader@4db902c6
I have tried manually adding the relevant jar file to the project but still=
have no joy. Anyone have any thoughts? Anyone else tried this sample app=
lication?
James.
|