| simbosan 2004-08-16, 2:51 am |
| Having all sorts of fun with this evil portlet:
1) This is the most annoying of all. If you create a clipping portlet and =
put it on a page THEN go and make changes to the URL Rewriting rules, it do=
esnt update the active portlet. You can close all your browser windows, he=
ll you can reboot your machine, nothing will work apart from rebooting the =
Websphere server. That wasted a days work trying to figure out URL re-writ=
ing. So what I have to do is to DELETE the clipper and create a new one fr=
om scratch EVERY time I try to get the URL re-mapping to work =3D/ Getting=
to hate this piece of s***ware
2) URL Rewriting. The logic of this is downright malicious! I don't know =
what logic it uses to decide when it will and when it wont re-write, but it=
has a damn mean streak. I don't want it to re-write certain URLS. These a=
re all for:
http://myserver/common/*.nsf and=20
http://myserver/apps/*nsf
SOooooo.... I put in .*common.* and BINGO it works YAY! Soooo.. now i put =
in .*apps.* and what happens?
Yes, it starts re-writing ALL URLS? I am to date unable to get this to wo=
rk, I have re-written my web pages to use a simple javascript function, whi=
ch thankfully this lousy portlet is unable to understand. =20
How do get this to work properly?
3) The help for the wierd kind of regular expressions is ummm not helpful.=
How bout some simple examples. Why perl? What part of websphere was writt=
en Perl? Use Java dammit! I followed the link and OMG is the PERL reg ex=
p parser a complicated bunny! Is there a simple description somewhere? an=
d what was wrong with *? How do I specify DONT REWRITE ANY URLS!
4) The security biz, You are creating a new portlet, you add all your adva=
nced settings, all ready to go. Time to set security options. Setup the f=
orm based authentication (nb: working out how to do this was an epic in its=
elf as the tutorial for Advanced Web Clipping is actually incorrect) and th=
en click ok..... I am back at the list of web clippers and the one I was wo=
rking at? Gone!!! You have to create the portlet, SAVE IT. Go back and set=
authentication! =20
I wish I had the time on this project to write my own web-clipper, I could =
sure improve on this!
Sooooo, having decided the web clipper is to be avoided at all costs its ti=
me to use the sick and dirty option of IFRAME (blech!) Try to install the =
version 5.0 clipper portlet and JOY OF JOY!
=20
APIN0003E: Cannot install the selected WAR file.
com.ibm.portal.WpsException: APIN0003E: Cannot install the selected WAR fil=
e.=09at com.ibm.wps.portlets.install.InstallPortlet.doInstall(InstallPortle=
t.java:580)=09at com.ibm.wps.portlets.install.InstallPortlet.actionPerforme=
d(InstallPortlet.java:292)=09at com.ibm.wps.pe.pc.legacy.SPIPortletIntercep=
torImpl.handleEvents(SPIPortletInterceptorImpl.java:438)=09at org.apache.je=
tspeed.portlet.Portlet._dispatch(Portlet.java(Compiled Code))=09at org.apac=
he.jetspeed.portlet.Portlet.access$100(Portlet.java(Inlined Compiled Code))=
=09at org.apache.jetspeed.portlet.Portlet$Context.callPortlet(Portlet.java(=
Inlined Compiled Code))=09at com.ibm.wps.pe.pc.legacy.cmpf.impl.PortletFilt=
erManager.doFilter(PortletFilterManager.java(Compiled Code))=09at org.apach=
e.jetspeed.portlet.Portlet.dispatch(Portlet.java(Compiled Code))=09at org.a=
pache.jetspeed.portlet.Portlet.doGet(Portlet.java(Compiled Code))
=20
PECM0015E: Portlet application manager failed when user uid=3Dwpsadmin,o=3D=
default organization executed command InstallPortletApplication.
com.ibm.wps.command.CommandFailedException: PECM0015E: Portlet application =
manager failed when user uid=3Dwpsadmin,o=3Ddefault organization executed c=
ommand InstallPortletApplication.=09at com.ibm.wps.command.applications.Abs=
tractApplicationsCommand. throwPortletAppMgrException(AbstractAppl
icationsCo=
mmand.java:478)=09at com.ibm.wps.command.applications.InstallPortletApplica=
tionCommand. execute(InstallPortletApplicationCommand
.java:181)=09at com.ibm=
wps.portlets.install.InstallPortlet.doInstall(InstallPortlet.java:523)=09a=
t com.ibm.wps.portlets.install.InstallPortlet.actionPerformed(InstallPortle=
t.java:292)=09at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleE=
vents(SPIPortletInterceptorImpl.java:438)=09at org.apache.jetspeed.portlet.=
Portlet._dispatch(Portlet.java(Compiled Code))=09at org.apache.jetspeed.por=
tlet.Portlet.access$100(Portlet.java(Inlined Compiled Code))=09at org.apach=
e.jetspeed.portlet.Portlet$Context.callPortlet(Portlet.java(Inlined Compile=
d Code))=09at com.ibm.wps.pe.pc.legacy.cmpf.impl.PortletFilterManager.doFil=
ter(PortletFilterManager.java(Compiled Code))
=20
PEDM0067E: Installation of Web Module from WAR file /opt/WebSphere/PortalSe=
rver/deployed/webpage50.war failed.=20
com.ibm.wps.pe.mgr.exceptions.DatastoreException: PEDM0067E: Installation o=
f Web Module from WAR file /opt/WebSphere/PortalServer/deployed/webpage50.w=
ar failed. =09at com.ibm.wps.pe.mgr.deployment.DeploymentManagerV4Impl.in=
stall(DeploymentManagerV4Impl.java:436)=09at com.ibm.wps.pe.mgr.PortletAppl=
icationManagerImpl. installWebModule(PortletApplicationManag
erImpl.java:932)=
=09at com.ibm.wps.pe.mgr.PortletApplicationManagerImpl.installWebModule(Por=
tletApplicationManagerImpl.java:791)=09at com.ibm.wps.command.applications.=
InstallPortletApplicationCommand. execute(InstallPortletApplicationCommand
.j=
ava:158)=09at com.ibm.wps.portlets.install.InstallPortlet.doInstall(Install=
Portlet.java:523)=09at com.ibm.wps.portlets.install.InstallPortlet.actionPe=
rformed(InstallPortlet.java:292)=09at com.ibm.wps.pe.pc.legacy.SPIPortletIn=
terceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:438)=09at org.apa=
che.jetspeed.portlet.Portlet._dispatch(Portlet.java(Compiled Code))=09at or=
g.apache.jetspeed.portlet.Portlet.access$100(Portlet.java(Inlined Compiled =
Code))
=20
DSTO0002E: Error occurred during database access.
com.ibm.wps.util.DataBackendException: DSTO0002E: Error occurred during dat=
abase access.=09at com.ibm.wps.datastore.core.IDGenerator.reserveIDs(IDGene=
rator.java:326)=09at com.ibm.wps.datastore.core.IDGenerator.reserveIDs(IDGe=
nerator.java:245)=09at com.ibm.wps.datastore.core.IDGenerator.access$000(ID=
Generator.java:41)=09at com.ibm.wps.datastore.core.IDGenerator$PrefetchThre=
ad.run(IDGenerator.java:380)
=20
com.ibm.websphere.ce.cm.StaleConnectionException: [IBM][CLI Driver] SQL3008=
2N Attempt to establish connection failed with security reason "24" ("USERN=
AME AND/OR PASSWORD INVALID"). SQLSTATE=3D08001
com.ibm.websphere.ce.cm.StaleConnectionException: [IBM][CLI Driver] SQL3008=
2N Attempt to establish connection failed with security reason "24" ("USER=
NAME AND/OR PASSWORD INVALID"). SQLSTATE=3D08001=09at java.lang.reflect.Co=
nstructor.newInstance(Native Method)=09at com.ibm.websphere.rsadapter.Gener=
icDataStoreHelper. mapExceptionHelper(GenericDataStoreHelpe
r.java:389)=09at =
com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericData=
StoreHelper.java:446)=09at com.ibm.ws.rsadapter.spi.WSRdbDataSource.transla=
teSQLException(WSRdbDataSource.java:593)=09at com.ibm.ws.rsadapter.spi.WSRd=
bDataSource.getConnection(WSRdbDataSource.java:422)=09at com.ibm.ws.rsadapt=
er.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConn=
ectionFactoryImpl.java:558)=09at com.ibm.ejs.j2c.poolmanager.FreePool.creat=
eManagedConnectionWithMCWrapper(FreePool
.java:1170)=09at com.ibm.ejs.j2c.po=
olmanager.FreePool.createOrWaitForConnection(FreePool.java:957)
=20
|