Struts support in portal
When is portal going to properly support Struts based applications?
Jdev 903 has support for Strust (well sort of it's somewhere between Strust 1.0 and 1.1) - thanks Jdev team! but Portal in 9iAS 902 does not support struts apps at all! One can deploy a struts based app as a portal provider but when it comes to running the struts app modules as portlets it bombs! The app does work in Jdev though...
So much for following Oracle's advice on using frameworks and believing that it would actually work in the app server as it should AN INTEGRATED APPLICATION SERVER.
Why then does Oracle reccomend that development teams use this type of development framework, knowing full well that apps developed in this manner will not work in the app server portal product.
If we cannot deploy a J2EE app developed using struts & BC4J into portal what is the point of using the app server, one may aswell deploy on Tomcat. The whole point of using Portal is the additional services such SSO, OID, Portal Page Designer etc that make development of the app faster.
Don't get me wrong - we are totally commited to Oracle & the product set - what makes my blood boil is that we adpot a strategy as advocated by Oracle for RAD by using BC4J & Struts only to find we cannot deliver to the customer because Oracle never told us it wouldn't work.
Similar Messages
-
I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
168 and Struts Support" patch.
I select the struts module successfully "struts-example" and am prompted for the
location of name mangled configuration file (i.e "struts-config.xml" for struts-example
becomes "jpf-struts-config-struts-example.xml").
As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
"Cannot parse the struts configuration file."
Given that this is a file supplied with the struts distro and that I can deploy
the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
with my attempt to use the Struts Portlet.
Can anyone please help?
Thanks,
--Andy HullI'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
168 and Struts Support" patch.
I select the struts module successfully "struts-example" and am prompted for the
location of name mangled configuration file (i.e "struts-config.xml" for struts-example
becomes "jpf-struts-config-struts-example.xml").
As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
"Cannot parse the struts configuration file."
Given that this is a file supplied with the struts distro and that I can deploy
the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
with my attempt to use the Struts Portlet.
Can anyone please help?
Thanks,
--Andy Hull -
Struts Support: Parsing Portlet JSP File failed
I've manually edited a my .portlet file to contain a strutsContent element (copied
from the struts.porlet in the JSR 168 and Struts Support sample). When I run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--AndySubbu,
Thanks for the tip - netuix_taglib.jar was indeed the not the correct version.
Interestingly, this file is not mentioned in the "JSR 168 and Struts Support"
install docs. I have replaced this file and the struts-example webapp now starts
(after setting up an action to forward to the index page).
However, I am having problems with the message bundle properties files ApplicationResources.properties
and AlternateApplicationResources.properties as neither of these files are being
picked up.
These files are located in org/apache/struts/webapp/example in WEB-INF/src and
WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example resides
in <WEBAPP>/struts-example).
I've also tried adding <init-param>'s to the <WEB-APP>/WEB-INF/web.xml file for
the action servlet as follows:
<servlet>
<servlet-name>action</servlet-name>
<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>alternate</param-name>
<param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
</init-param>
</servlet>
When I use the logon action as the starting action for the portlet, I get:
Error opening /struts-example/logon.jsp.
The source of this error is javax.servlet.ServletException: Cannot find message
resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
Any help would be appreciated.
--Andy
Subbu Allamaraju <subbuATbeaDOTcom> wrote:
Andy,
Does this webapp contain the patched versions of netuix_servlet.jar and
netuix_taglib.jar? Also make sure that the patched netuix_system.jar
is
in the system classpath.
Subbu
Andy Hull wrote:
I've manually edited a my .portlet file to contain a strutsContentelement (copied
from the struts.porlet in the JSR 168 and Struts Support sample). WhenI run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--Andy -
Just to complete my set of unreasonable requests, I would also love to see Struts support for JSR 168 Portlets.
The Apache Struts project now has a Struts Portlet Bridge, so it may just be a question of porting this to Plumtree's JSR 168 implementation.
Ths may actually eb higher priority than JSF support, since we and everyone else have lots of Struts web apps that we would like to convert to portlets.Why then does Oracle reccomend that development teams use this type of development framework, knowing full well that apps developed in this manner will not work in the app server portal product.
If we cannot deploy a J2EE app developed using struts & BC4J into portal what is the point of using the app server, one may aswell deploy on Tomcat. The whole point of using Portal is the additional services such SSO, OID, Portal Page Designer etc that make development of the app faster.
Don't get me wrong - we are totally commited to Oracle & the product set - what makes my blood boil is that we adpot a strategy as advocated by Oracle for RAD by using BC4J & Struts only to find we cannot deliver to the customer because Oracle never told us it wouldn't work. -
Using Struts with Oracle Portal
Hello,
I am trying to run my applications developed using Struts Framework in Oracle Portal.Though Oracle Portal uses jpdk api's is there any way I can try to integrate Struts with Oracle Portal so that I can work test my application on any server and then develop portlet and run them on Oracle Portal as well?Check out these other discussions:
Portletizing a struts JSP application
Urgent: Portletizing an struts JSP application
Similar but different detail:
struts -
Welsh language support in Portal
Does anyone know if/when the Welsh Language will be supported in Portal?
UK Government related sites have to have this language as well as English.
Regards
JennyHi Jenny,
I can support this - I am struggling to design an intranet in both Welsh and English.
Who do we need to talk to in Oracle to get this one rolling.
Bye the way I understand you did some work recently for the Forestry Commission in Edinburgh. I am also looking for some similar work to be undertaken but have not been offered your name as a consultant. Are you interested? Please mail me URGENTLY if you are.
Cheers
Clive
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jennifer Beech ([email protected]):
Does anyone know if/when the Welsh Language will be supported in Portal?
UK Government related sites have to have this language as well as English.
Regards
Jenny<HR></BLOCKQUOTE>
null -
JSR 168 and Struts support sample error
I'm trying to get the sample webapp for JSR 168 and Struts support working with
WebLogic 8.1, and I'm having problems with the struts portlet. The other portlets
seem to work fine, but the Struts portlet gives the following error after clicking
"Save" on most of the forms:
Page Flow Error - Action Not Found
Page Flow: Global.app
Action: html-setters.do
Unable to find action html-setters.do.
That error appears in the browser. At the same time, the following exception
appears in the server window:
<Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control
:: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
page flow lookup for the given action [html-setters.do] in the given PageFlow:
[struts/exercise-taglib].
This exception is followed by hundreds of lines of the following:
at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
as well as several stack overflow errors.
I believe I have installed the JSR168 and Struts support package according to
the instructions, and have copied the required jars into the samples WEB-INF/lib
directory. I also have tried to write my own Struts application in a portlet,
and it gets the exact same errors when I try to submit a form to my actions.
Any insight would be much appreciated!
Thanks,
PatrickHi Brodi,
I am having the same problem as Patrick. The problem is not in the struts portlet,
but in the forms the portlet navigates to. After the struts portlet loads, I
am able to use the html:links and navigate through the pages. Though when I try
to submit a form I get the action not found error. For example the html-select
page has a form. This page loads fine, but when I hit the save button I get the
following error.
<Aug 25, 2003 11:00:00 AM EDT> <Error> <netui> <BEA-420012> <There was an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for the contro
l :: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
page flow lookup for the given action [html-select.do] in the given PageFlow:
struts/exercise-taglib].
The application appears to loose the struts context. It tries to find the localhost:7001/samples/html-select.do
action instead of localhost:7001/samples/struts/exercise-taglib/html-select.do
action. How do I keep the application from loosing context?
Thank you,
Karen
"Brodi Beartusk" <[email protected]> wrote:
>
Patrick-
I've seen similar things happen when the module name is either not specified
correctly
in the StrutsContent element in the portlet, or when the module is misconfigured,
usually because of either a mising config file or a mis-named config
file.
Ensure that you have a the struts config file for the exercise-taglib
module in
WEB-INF, named jpf-struts-config-struts-exercise-taglib.xml.
-Brodi Beartusk
"Patrick Callis" <[email protected]> wrote:
I'm trying to get the sample webapp for JSR 168 and Struts support working
with
WebLogic 8.1, and I'm having problems with the struts portlet. Theother
portlets
seem to work fine, but the Struts portlet gives the following errorafter
clicking
"Save" on most of the forms:
Page Flow Error - Action Not Found
Page Flow: Global.app
Action: html-setters.do
Unable to find action html-setters.do.
That error appears in the browser. At the same time, the followingexception
appears in the server window:
<Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was
an error
while running a lifecycle stage :: Lifecycle: UIControl.render :: for
the control
:: null ::.
com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could
not do
page flow lookup for the given action [html-setters.do] in the given
PageFlow:
[struts/exercise-taglib].
This exception is followed by hundreds of lines of the following:
at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
as well as several stack overflow errors.
I believe I have installed the JSR168 and Struts support package according
to
the instructions, and have copied the required jars into the samples
WEB-INF/lib
directory. I also have tried to write my own Struts application ina
portlet,
and it gets the exact same errors when I try to submit a form to myactions.
Any insight would be much appreciated!
Thanks,
Patrick -
Hi
Can some one please guide me through the steps for adding struts support to Netbeans 4.1. If you can give me a link to a tutorial which explains it.
Thankshey,
First u have to open the NetBeans IDE then goto Menubar Select File --> select NewProject
step1) choose project in this step select web and select webapplication then clidk Next
step2)Name and Location give whatever name u want and the location
step3)Frameworks: There will be two options with checkboxes in that u have to select struts, click finish -
What is system admin- support - Support Desk - portal content directory .
what is System Admin -> Support -> Support Desk ->Portal content directory . why is this used for so that we can get any idea for which it is used, there are object and principal option which is like search criteria.
Hello Jaya,
You can find information about what portal content directory is in the following SAP documentation:
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/45/a8029ecf140039e10000000a11466f/frameset.htm
I hope this helps you.
Regards,
Blanca -
Struts support for Eclipse 3.x
I am using Eclipse 3.3. Can some one please let me know if there exists any opensource plugin that provides struts support, mainly tag libraries support for JSPs.
SirGhi,
Struts-It Version: 1.0
Support Eclipse: 3.1,
Struts-It provides comprehensive support for developing Struts-based web applications. It is based on Eclipse 3.1 and well integrated with WTP 0.7. Supports Struts 1.1, 1.2 and JSTL.
eclipse plugin link
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-518.html -
Where can i find what kind of certificates are supported by portal
gurus,
is there a whitepaper that gives information about what kind of
certificates are supported by portal ?
i've a client who wants to know if portal supports TEDS x.509v
PIK certificate ...
any help would be greatlyy appreciated ...
thanxCompatibility Table.
-
View my saprouter config from SAP support web portal ?
Hello,
We're planning to change our saprouter IP address, and I just thinking - is it possible to view current registered saprouter config (IP address and etc) using SAP support web portal ? I mean to view it changes after SAP receives saprouter network config change message.
Or it's just secure info not available on SAP support portal ?
thanks
ViliusIf you go to the SAP Support Portal -> Data Administration and edit any of the system you'll be able to see and choose between the registered SAP Routers and it will show the IP Address and other details
Regards
Juan -
How to know the latest version of NWDS supported bt portal
Hi All,
How to get to know the latest version of NWDS that the portal supportsu2026 I mean if a patch r support package is applied to the server, then it would support higher version of NWDS. How do we get to know which is that latest NWDS version?
Thanks,
Shilpa.check the below thread for latest information on NWDS
https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/
Raghu -
After installing nls for norwegian language, I have experienced a lot of problems with our portal installation, like:
1. Unability to make new Content Areas (Error: 1006991)
2. Unability to use custom folder types with custom attributs (can't be edited: WWS-32101)
3. Unability to change Custom Values on Folderbased portlets (ORA-01403: no data found)
4. Unability to drop app components
5. Search malfunction (always returns 0 hits)
6. Portal30 user (from before nls install) has a mix of english and norwegian interface texts, but new users have a (close to) complete norwegian interface.
7. It's not possible to have an english interface by selecting "english" on the log in screen.
Oracle Support has not come up with solutions to any of these problem - yet.
Does anyone know if 3.0.8 will solve any of these problems?
nullI think isn't an incorrect installation, because i've the same problems with spanish (with NO-ERRORS langinst).
1. same problem
2. don't
3. same problem
4. it is a reported bug, you have to connect in english and then you can delete it.
5. same problem
6. cache problem, if you select don't cache page on page settings it works well
7. connection problem, you have to reconnect two times and then it works
I think that 9iAS Portal is a VERY BUGGY product, it need about six months to have a REAL PRODUCTION version.
Also i think that Oracle is becoming Microsoft, i mean: bad products released very fast.
I'm an Oracle developer since much time, i believe that Oracle database is far away from the rest of competitors (8i is a VERY good product), but Oracle 9iAS is shit.
Thanks -
Career Planning transaction (transacction OOQ4) Supported in Portal?
Hi Experts,
I am trying to call the graphical transaction screen (QQ04 - the 3rd screen where it displays in graphical mode) via portal, hoping that via authorization control, i can allow the MSS users to do career planing for their staff .
In my attempt to do that, I have tried using the administrator support testing tool to call the transaction without building any iview. It only allow me call up to the second screen (where system displays the career plan which i can selecct to trigger the graphical mode). But when I click the icon which is suppposed to display the career plan in graphical mode, the system stops there.
As OOQ4 is an old transaction, I am not sure if the technology is compatible with the portal and if SAP did convert that transaction when it moves from Enterprise to ECC.
Appreciate your help.
Thanks in advance,
Billhey, just wondering if the Product Inventory Control per Attributes is going to schedule? I have a new client about to launch their website, with e-commerce section to come in August, but might hold off if this feature will be ready in September? Do you have a more definite ETA?
Thanks,
Maybe you are looking for
-
How i hide a field of a custom view in OAF 11
Hi, im a new developer of OAF11. What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO. What I did was modify the XML of the page to add the field and then extended the o
-
I have a 1999 clamshell and have 10.3.9. Lately, I've noticed that the performance is affected. I'm thinking of switching back to Classic but want to know if this is necessary. Main Problem: Cannot connect to DSL What I Want to Keep on Classic: Wirel
-
Changes in pricing of sales order
Hi all experts, i have a scenario where the sales price of various items are read from material master and then some changes need to made to these prices based on some conditions (like discounts based on quantity, etc.) being satisifed. This changes
-
Oracle not started ORA-12560 error
Hello, My Database version : 8.1.7.0.0 OS : Windows 2000 When I want to connect sqlplus using : C:\Documents and Settings\Administrator.TVCLKLB>sqlplus sys@tvclklb SQL*Plus: Release 8.1.7.0.0 - Production on Sun May 25 12:11:43 2008 (c) Copyright 200
-
Parallel user for oc4jadmin for monitoring BPEL processes
Dear All We need to create one user which can be used to monitoring the BPEL processes on console, we dont want to user oc4jadmin user, so how can we create a user who can monitor the BPEL processes, but cant do any change on the BPEL processes / con