Weblogic portlet reloading
Hi,
I have and image on my content server that is being displayed by my weblogic portal portlet. Whenever I check-in a new revision of that image on the content server and I reload the portlet (ctrl+r on browser) I am getting the following error:
.lang.LinkageError: Class com/stellent/cis/server/adapter/IAdapterConfigFactory violates loader constraints
at com.stellent.cis.server.api.common.commands.administrative.adapter.GetAdapterCommand.execute(GetAdapterCommand.java:82)
at com.stellent.cis.server.api.common.commands.impl.UCPMCommonCommand.execute(UCPMCommonCommand.java:52)
at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
at com.stellent.cis.client.api.common.administrative.adapter.impl.CISAdministrativeAdapterAPI.getAdapter(CISAdministrativeAdapterAPI.java:90)
at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory.getAdapterVersion(CISAPIObjectFactory.java:312)
at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory._initializeObject(CISAPIObjectFactory.java:253)
at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory.createObject(CISAPIObjectFactory.java:181)
at com.stellent.cis.server.api.scs.impl.SCSCommand.createServerBinder(SCSCommand.java:392)
at com.stellent.cis.server.api.scs.impl.SCSCommand.getActiveBinder(SCSCommand.java:58)
at com.stellent.cis.server.api.scs.impl.SCSCommand.buildRequest(SCSCommand.java:251)
at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:219)
at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
at com.stellent.cis.client.api.scs.search.impl.SCSSearchAPI.search(SCSSearchAPI.java:92)
at wit.examples.portal.ImagePortlet.doView(ImagePortlet.java:57)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:942)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:125)
at com.bea.portlet.container.PortletStub.render(PortletStub.java:414)
at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1123)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1055)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(JavaPortletContent.java:267)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.renderInternal(JavaPortletContent.java:162)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.beginRender(JavaPortletContent.java:108)
at com.bea.netuix.servlets.controls.application.laf.ContentControlRenderer.beginRender(ContentControlRenderer.java:48)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:583)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:65)
at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:150)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:466)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:232)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:277)
at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:720)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:338)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
I have to restart the weblogic portal server and then everything goes just fine.
I've tried to google it but I cant find anything :S
Thanks in advance.
TPina
Edited by: tpina on Mar 2, 2010 6:38 AM
Hi Steve
you're right I am using CIS to communicate with the content server although I think the error is in weblogic portal.
On the stack trace that I've printed you have that following line:
at wit.examples.portal.ImagePortlet.doView(ImagePortlet.java:57)
That is my class. I believe the error is loading (reloading the adapter). This is my ImagePortlet.java
package wit.examples.portal;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import javax.portlet.PortletException;
import javax.portlet.GenericPortlet;
import javax.portlet.PortletRequestDispatcher;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import com.stellent.cis.ICISApplication;
import com.stellent.cis.client.api.scs.ISCSDocumentID;
import com.stellent.cis.client.api.scs.context.ISCSContext;
import com.stellent.cis.client.api.scs.file.ISCSFileAPI;
import com.stellent.cis.client.api.scs.file.ISCSFileInfo;
import com.stellent.cis.client.api.scs.search.ISCSSearchAPI;
import com.stellent.cis.client.api.scs.search.ISCSSearchResponse;
import com.stellent.cis.client.api.scs.search.ISCSSearchResult;
import com.stellent.cis.client.command.CommandException;
import com.stellent.cis.client.io.ICISTransferStream;
import com.stellent.cis.impl.CISApplicationFactory;
public class ImagePortlet extends GenericPortlet {
public void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
Properties properties = new Properties ();
URL xmlRes = new File("F:/Work/eclipse_ws/myWEB/WebContent/WEB-INF/adapterconfig.xml").toURI().toURL();
properties.setProperty(ICISApplication.PROPERTY_CONFIG_TYPE, "server");
properties.setProperty(ICISApplication.PROPERTY_CONFIG_SERVER_ADAPTER_CONFIG,xmlRes.toExternalForm());
ICISApplication m_cisApplication = CISApplicationFactory.initialize(properties);
ISCSContext m_context = null;
m_context = m_cisApplication.getUCPMAPI ().getActiveAPI ()._createSCSContext();
m_context.setUser("sysadmin");
m_context.setAdapterName("myadapter");
m_context.setIdcUser("sysadmin");
m_context.setEncoding("UTF-8");
// get the SCS File API
try {
// get a handle to the SCS Search API
ISCSSearchAPI searchAPI = m_cisApplication.getUCPMAPI ().getActiveAPI ().getSearchAPI();
ISCSSearchResponse searchResponse = searchAPI.search (m_context, "dDocTitle <matches> `witlogo`", 25);
ISCSFileAPI fileAPI = m_cisApplication.getUCPMAPI ().getActiveAPI ().getFileAPI ();
//ISCSContent content =(ISCSContent) m_cisApplication.getUCPMAPI ().createObject(ISCSContent.class);
ISCSDocumentID documentID =(ISCSDocumentID)m_cisApplication.getUCPMAPI().createObject (ISCSDocumentID.class);
//ISCSFileInfo fileInfo = (ISCSFileInfo)m_cisApplication.getUCPMAPI().createObject(ISCSFileInfo.class);
Iterator it = searchResponse.getResults ().iterator ();
List<ISCSSearchResult> results = null;
if(!searchResponse.getResults().isEmpty()) {
results = searchResponse.getResults();
ISCSSearchResult searchResult = results.get(0);
System.out.println(searchResult.getDocumentID().toString());
documentID.setDocumentID (searchResult.getDocumentID().toString());
ICISTransferStream transferStream = fileAPI.getFile (m_context, documentID);
File f = new File("F:/Work/eclipse_ws/myWEB/WebContent/image/test.png");
InputStream inputStream = transferStream.getInputStream();
OutputStream out=new FileOutputStream(f);
byte buf[]=new byte[1024];
int len;
while((len=inputStream.read(buf))>0){
out.write(buf,0,len);
out.close();
inputStream.close();
response.setContentType("text/html");
//PortletRequestDispatcher aDispatcher = getPortletContext().getRequestDispatcher("F:/Work/eclipse_ws/myWEB/WebContent/portletJSP.jsp");
PortletRequestDispatcher aDispatcher = getPortletContext().getRequestDispatcher("/portletJSP.jsp");
aDispatcher.include(request, response);
} catch (CommandException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Do I need to put initialization on another method to be called just once? I don't now... :S
Kind regards,
TPina
Similar Messages
-
When are portlets reloaded? Can it be controlled?
Hi all
I am fairly new to Weblogic Portal and would appreciate any help in answering the following questions:
When does weblogic portal reload a specific (or all) portlets?
Can this be controlled in some or other way?
What is cached and for how long?
How does javascript in a portlet affect the portal's behaviour?
Thanks
RianaHi
What I mean with 'reload' - The content of the div is re-fetched from the server.
As the content did not change, only the div size, there is no need to re-fetch the content from the server.
HTML snippet:
<form action="" method="post" name="frm_accCrashes">
<input id="hid_accCrashesHeight" type="hidden" value="0" name="hid_accCrashesHeight"/>
<table id="tbl_accCrashesDim" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr> <td class="maxButton">
<button id="btn_accCrashesMax" class="shown" onclick="jMaxMinDiv('accCrashes', 'accCrashes','Year,Month,Week,DayOfWeek',
'accFilterFull', true, 'btn_accCrashesRestore', 'btn_accCrashesMax', 'hid_accCrashesHeight');" name="btn_accCrashesMax" type="button">
</button>
<button id="btn_accCrashesRestore" class="hidden" onclick="jMaxMinDiv('accCrashes', 'accCrashes','Year,Month,Week,DayOfWeek',
'accFilterFull', false, 'btn_accCrashesMax', 'btn_accCrashesRestore', 'hid_accCrashesHeight');" name="btn_accCrashesRestore" type="button">
</button>
</td> </tr>
</tbody>
</table>
<div id="div_accCrashesDayOfWeek" class="selectedDim">
<iframe id="if_accCrashesDayOfWeekIFrame" class="selectedDim" src="http://172.30.0.231:7001/Tst.html?_xpf=&_xpt=1&_xt=NONE&_xf=xml&cond=Al"
name="if_accCrashesDayOfWeekIframe"></iframe>
</div>
</form>
JS:
function jMaxMinDiv(divId, frPrefix, frList, hideShowDivLst, doMax,
showBtn, hideBtn, hidHeightFld)
var show = true;
var className = 'wlp-bighorn-window';
var h;
var nh;
var ph;
var hObj;
if (doMax) {
show = false;
className = 'max';
if (hideShowDivLst != null) {
var hsArr = hideShowDivLst.split(',');
for (var cnt = 0; cnt < hsArr.length; cnt++) {
jShowDiv(hsArr[cnt], show);
var frName;
hObj = document.getElementById(hidHeightFld);
if (hObj != null) {
ph = hObj.value;
h = document.getElementById(divId).offsetHeight;
jChangeOneClass (divId, className);
nh = document.getElementById(divId).offsetHeight;
hObj.value = h;
if (doMax) {
if (frPrefix != null && frList != null) {
var frArr = frList.split(',');
for (var cnt = 0; cnt < frArr.length; cnt++) {
frName = 'if_' + frPrefix + frArr[cnt] + 'IFrame';
obj = document.getElementById (frName);
if (obj != null) {
obj.style.height = nh + 'px';
else {
document.getElementById(divId).height = ph;
jChangeOneClass (showBtn, 'shown');
jChangeOneClass (hideBtn, 'hidden');
return true;
CSS:
div.max {
display: block;
position: absolute;
left: 0%;
width: 95%;
height: 80%;
border: solid red;
Edited by: rross on 20-Oct-2009 23:02 -
Weblogic-portlet.xml documentation
Can someone tell me where to find documentation on the weblogic-portlet.xml deployment descriptor elements?
Thanks
TimHi Tim,
You can find moreinformation regarding portal at
http://e-docs.bea.com/wlp/docs81/index.html
Regards,
Prasanna Yalam -
Weblogic portlet lifecycle?
Could anybody explain the lifecycle of WebLogic portlet (for example, a pageflow portlet)? I know a JSR-168 portlet has a lifecycle similar to servlet (init, service, destroy, etc). Not sure about Weblogic portlet.
Thanks!Hello,
Check out this white paper to read more about the portal framework and the UI control lifecycle -
http://e-docs.bea.com/wlp/docs81/whitepapers/netix/body.html#1061553 -
Page/Portlet Reload/Refresh
I have two jsp page based portlet which host two application(Flash based application),i.e each page has one jsp portlet, but every time I switch around tabs the portlets reload, This process initializes the whole jsp portlet. I would like avoid this page/portlet reload behavior. I think the way to do is to use backing file at the page level or at the portlet level, but I am not sure which method to override since prerender completely stop rendering the page at all.
ThanksI'm not sure I understand exactly what you mean by wanting to stop the "page/portlet reload behavior". Every time you switch tabs, the portal control tree is rendered with the new page and portlets that are "in view", and this means that the portlets on the page will get re-rendered, including running through the JSP again. If you want to stop the JSP render from happening again, and no state has changed on the portlet since you last viewed it, portlet caching may be what you are looking for. There is some information on portlet caching at http://edocs.bea.com/wlp/docs102/portlets/performance.html but unfortunately this points to a document on the BEA dev2dev site which has now been moved to http://www.oracle.com/technology/pub/articles/dev2arch/2005/01/portlet_caching.html
By caching the content of the portlet, it should only be re-rendered (and have the JSP re-run) when the cache expires due to timeout or a state change in the portlet.
Returning false from preRender in the backing file will abort rendering of the control (page or portlet) entirely, and you will see no content at all-- as you have already noted.
If by "stopping the page / portlet reload behavior" you mean to stop the Flash-based initialization, I'm not the person to answer the question.
Hope this helps!
Kevin -
Weblogic Portlet doesn't work with Icefaces
Hi..
I've created a simple helloworld portlet using oracle workshop for weblogic. I can open the icefaces pages, but when I open it from portlet seems like they don't render all the tag.
Anyway, here's my facesportlet.portlet
<?xml version="1.0" encoding="UTF-8"?>
<portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
<netuix:portlet definitionLabel="facesportlet" title="Ice Faces">
<netuix:titlebar>
<netuix:maximize/>
<netuix:minimize/>
<netuix:delete/>
</netuix:titlebar>
<netuix:content>
<netuix:facesContent contentUri="/fcsport/facesportlet.faces"/>
</netuix:content>
</netuix:portlet>
</portal:root>faces-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<managed-bean>
<managed-bean-name>TestBean</managed-bean-name>
<managed-bean-class>com.av.test.TestBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/fcsport/facesportlet.jsp</from-view-id>
<navigation-case>
<from-outcome>process</from-outcome>
<to-view-id>/fcsport/facesportlet.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/fcsport/anotherjsf.jsp</from-view-id>
<navigation-case>
<from-outcome>process</from-outcome>
<to-view-id>/fcsport/anotherjsf.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>and jsp file is
<f:view
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:f="http://java.sun.com/jsf/core">
<html>
<head></head>
<body>
<ice:form id="UserForm">
<table>
<tr>
<td colspan="2"><ice:outputText value="#{TestBean.message}"/></td>
</tr>
<tr>
<td><ice:outputLabel value="Enter Your Name:"/></td>
<td><ice:inputText value="#{TestBean.username}"/></td>
</tr>
<tr>
<td></td>
<td><ice:commandButton action="#{TestBean.processName}" value="OK"/></td>
</tr>
</table>
</ice:form>
</body>
</html>
</f:view>if I open facesportlet.portlet from browser and view the source code, it'll display the whole complete tag without rendering it at all (eg: <f:view/> etc..)
Anybody have a clue or reference document for it?
Thanks in Advance..You should use java portlet in order to use icefaces work. Please follow the instructions from ICEfacesDevelopersGuide.pdf which comes with icefaces installation.
-
Weblogic servlet reload won't work
Please help! I am using WLS 5.1 sp6 (NT) and trying to use the auto reload setting for the servlets but weblogic won't refresh the change dynamically. I have set the following entries in the weblogic.properties file:
weblogic.httpd.servlet.classpath=D:/weblogic/myserver/servletclasses
weblogic.httpd.servlet.reloadCheckSecs=1
Thanks in advance.
Peter
It would be really nice if WL would report that with an error/warning message.
Mike
Robert Patrick <[email protected]> wrote:
>Make sure that this directory is NOT in either the Java CLASSPATH or
>the weblogic.class.path...
>
>"Peter C. Penny" wrote:
>
>> Please help! I am using WLS 5.1 sp6 (NT) and trying to use the auto
>reload setting for the servlets but weblogic won't refresh the change
>dynamically. I have set the following entries in the weblogic.properties
>file:
>>
>> weblogic.httpd.servlet.classpath=D:/weblogic/myserver/servletclasses
>> weblogic.httpd.servlet.reloadCheckSecs=1
>>
>> Thanks in advance.
>>
>> Peter
>
-
Import weblogic portlet application (JSR168) into Sharepoint 2007
simple question ;) is it possible? a how? i have no idea yet...
thx for your commnents...
Message was edited by:
vojtikJeff
You can develop java portlet (JSR 168) in current IDE .
You need to have portlet-api-1.0.jar to compile the portlet.Start with few jsp's only & required DAO , BO , VO can be called thro' portlet. You need to have portlet.xml in WEB-INF folder . This developed portal application can be imported to weblogic workshop . But you need to have ConverterTool (which converts Normal Portal Application into weblogic portal application). ConverterTool will have preparePortletsClasses.jar , which does this for you.Then while importing this application in workshop , workshop will add workshop specific files into your portal web application .
Here normally jsp , DAO , BO , VO will remail as it is .
Hope this could help you .
bye
Ganesh -
steps:
select book containing iframe portlet page.
in that iframe go thru several pages in the iframe
select a different book - then click the iframe book again
The page you were on is lost and the iframe portlet simply reloads the beginning url the iframe started with.
Is there a way to stop this behavior.Hi
there is no way for the server to know the iframe url's because any clicks in the iframe bypass the portal.
Youll have to implement this yourself either by using javascript or by modifying the website that the iframe
accesses
regards
deepak -
Oracle WebLogic Portlets for Groupware Integration Login Configuration
I just integrated the groupware portlets into the portal, anyone knows how to config to get the microsoft exchange information.
Currently when I am running the portal, it will prompt me 'you must login to use this portlet', but I haven't found where to login.I think that you are running into a requirement to authenticate to WebLogc Portal/Server, not Microsoft Exchange.
In order to subsequently collect your Exchange account, the portal must know your identity so that it can associate the Exchange credentials with your WLP username.
You'll need to add login capabilities to your desktop in order to proceed. A quick and easy way to do this is to include the DVT Sample library modules as the look and feels that come with that sample include login/logout capabilities in the shell.
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/samples/dvt-sample.html
Brad -
Fetch XML from Content server to Portlet and display as HTML
Hi,
I want to fetch the XML from the content server and display that XML in the Weblogic Portlet as HTML.
The main reason is that data will be contributed by the users in UCM and then I had to get that data from content server and display in portlet
Please Help........
Thanks,
VinodVinod:
Probably what you're looking for is to bring the content over using the UCM SPI adapter for WLP's VCR:
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/intro.html]
And then to display the content using a custom template using Content Presenter:
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/displaytemplatesCM.html]
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html]
When you say you want to fetch xml, is that because it's a contributor data file? You can either read the property values directly from the VCR, or use the info you get from the node (such as dDocName) to then use a UCM/WCM web service to retrieve formatted content and put it in an iframe. There are a lot of ways to go in formatting the data.
You can even add edit capabilities to your Presenter template by calling the 'edit data file' web service of WCM. -
Is the floating window state available to JSR168 portlets? If it is where to set
it? ThanksThis is what I heard from tech support regarding floating JSR168 portlets!
"I opened CR135056 for your case. I will let you know if I get response from our
engineer."
So, I guess we just have to wait and pray ! Thanks
Martin Porter <[email protected]> wrote:
>
Hi,
We are also attempting to use a floating portlet for help mode for non
JSR-168 portlets but that does not work either. We currently have an
open support case with BEA with this since 13th April and thus far no
fix so i would not expect to see a fix in the short term as it seems
floating portlets simply dont work !.
Regards
Martin
Ramesh wrote:
Hi Subbu,
I tried your solution. It doesn't seem to work. I even rebuilt theapplication
and redeployed (Do I need to do that when weblogic-portlet.xml is changed?).Can
you please tell me what could be wrong? I checked the file to makesure there
wasn't any typo or other mistakes.
Thanks
K. Ramesh
Subbu Allamaraju <[email protected]> wrote:
Add
<portlet>
<portlet-name>same_name_as_in_portelt_xml</portlet-name>
<supports>
<mime-type>same_mime_type_as_in_portlet_xml</mime-type>
<window-state>
<name>float</name>
</window-state>
</supports>
</portlet>
in weblogic-portlet.xml. The same can be used for adding delete support.
Subbu
Ramesh wrote:
Anyone? Is it not possible? I would think it would be.
On the same note, can the help for a portlet be shown in a separatewindow also?
How would I achieve that? Thanks
"Ramesh" <[email protected]> wrote:
Is the floating window state available to JSR168 portlets? If it
is
where
to set
it? Thanks -
How to call particular method in action class from Portlets StrutsContent
I am developing a web application which uses weblogic portlets and struts. This is what I have for now in the .portlet file.
+<netuix:strutsContent action="getStudentList" module = "people/students"+
refreshAction = "getStudentList" reqestAttrpersistence="none"/>
I want it to change something like this:
+<netuix:strutsContent action="getStudentList.do?method=allGrads" module = "people/students"+
refreshAction = "getStudentLis.do?method=allGrads" reqestAttrpersistence="none"/>
But this is not working. So how can I achieve something like that?
Thanks
Edited by: user13634949 on Jun 23, 2011 1:22 PM
Edited by: user13634949 on Jun 23, 2011 1:22 PMNo, i dont know how to call other than main methods from other classes
And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch)......... -
Weblogic Portal integration with Lotus 8.5
Hello all,
I'm working on a project which involves building an intranet Portal and the customer has Lotus 8.5 which wants to integrate in the Weblogic Portal using wsrp portlets. More precisely they want to have in their portal the lotus calendar portlet, lotus mail portlet,lotus notes portlet, lotus sametime portlet ..etc. I found an old documentation and sample of this kind of portlets developed by Oracle but they don't work because of some errors when they try to retrieve the Lotus configuration. The documentation is this one : http://www.oracle.com/technology/products/ias/portal/point/lotusnotes/installation.html
I tried to find the authors of this documentation, or perhaps who developed the portlets and ask them if they can adapt the portlets for an integration between Weblogic Portale and Lotus Notes 8.5. If somebody knows about this topic or can help me with fixing the problem I have with the portlets please let me know - my e-mail is [email protected]
Thank you very much, your help is very much appreciated !Hello,
First of all let me thank you Brad, for taking the time to answer, it's very nice of you. After I read you post I spent a couple of hours searching for the installer of the recommended "WebLogic Portlets for Groupware Integration". After searching everywhere I could possible search : OTN, E-Delivery, Metalink, ias.us.oracle.com I could not find the installer of this portlets. In the Installation Guide it says : " 2. Download the software from the Oracle Software Downloads site. " - there is nothing related to Portlets for Groupware on OTN.
Now, I'm ashame but I have to give up, I guess perhaps this portlets for groupware integration are bundeled into some kit with a different name, I don't know, believe me I tried to find them, I searched the documentation but with no luck.
I would be very thankful if you can point me to the installer of this portlets. Thank you very much again ! -
Weblogic portal integration with lenya
I need to integrate weblogic portal with apache lenya. Is there any integration instructions?
Hello,
First of all let me thank you Brad, for taking the time to answer, it's very nice of you. After I read you post I spent a couple of hours searching for the installer of the recommended "WebLogic Portlets for Groupware Integration". After searching everywhere I could possible search : OTN, E-Delivery, Metalink, ias.us.oracle.com I could not find the installer of this portlets. In the Installation Guide it says : " 2. Download the software from the Oracle Software Downloads site. " - there is nothing related to Portlets for Groupware on OTN.
Now, I'm ashame but I have to give up, I guess perhaps this portlets for groupware integration are bundeled into some kit with a different name, I don't know, believe me I tried to find them, I searched the documentation but with no luck.
I would be very thankful if you can point me to the installer of this portlets. Thank you very much again !
Maybe you are looking for
-
Back up plan for Asset year end closing
Hi, Do you have any back plan prepared for Asset year end closing especially t.code AJRW and AJAB (running this in Background). what back up plan we should recommend if it fails for already happened activities. Regards Shanu
-
PC won't boot after memory upgrade (on MSI P45D3 Platinum)
I am having a problem on my MSI P45D3 Platinum motherboard system (Dual OS: Win XP and Win 7) Until recently I was running it on PATRIOT 2GB (2x1GB) 1600MHz DDR3 PDC32G1600LLK memory (CL7) and all was fine, though running only at 1066MHz, since I cou
-
Hi: I have a really annoying problem. command C andV stop working just in Microsoft Word. what should i do?i can't use them as shortcut keys in word documents! however they are working in other applications, the problem is just in word documents!
-
Create a website with dreamweaver tutorial video
Dont waste time trying to learn. Get video tutorials from dreamweaver. Yeas you heard me right. www.webmaniaxs.com
-
Windows 7 Home Premium ISO Download
My hard windows crashed and I installed ubunto which wiped out my recovery. I have the OEM sticker on my laptop and was wondering how to get a ISO 7 to reinstall windows. I have tryed many sites today and nothing seems to work. I type in my OEM stic