Deploy JDeveloper APP into Portal
Hi:
1 - I want to deplay a JClient App to Portal! How to do it ? I heard someone talking about provider.xml in portal, etc... is it needed ?
2 - That app should only show information related to the portal user that is connected. So i used a 'where clause' that invoke portal.wwctx_api.get_user(). This will work ? Does the Japp will get the current user ? Is this the right way to do it ?
Thankx in advance
Ricardo
I would look at the JPDK (Java Portal Development Kit). That
will tell you how to deploy the application through portal.
I've done JSPs as portlets, but not applications, but I do think
you need to set up the provider.xml file to serve up the
application properly. Im not sure if the function you refer to
will work, because your java app may be using a separate
database connection than portal uses, so it may not recognize a
portal user. But I havent tried it. I know the JPDK provides
an api for accessing Portal environemnt (like user), so I would
check out the documentation on all that.
Similar Messages
-
Inluding java webdynpro apps into portal transport packages
Hi All,
Platform: EP7 SPS13, solaris, oracle DB
I would like to know how to include java webdynpro apps into portal transport packages.
I was reading documentation but I was not able to accomplish this.
I have modified Pcd.TransportApplication.Export.ExcludeSystemObjects = false
in pcdStartup.properties file.
Transport export includes all my java webdynpro iviews, and export property RESOLVE REFERENCES is set to true in order to setup dependences to be included.
After importing in QA portal, I can see my java webdynpro iviews, but no webdynpro application exists and iviews won't work.
Any idea will be appreciated.
Regards.Hi Claudio Roca ,
You ca nmove web dynpro applications to different landscapes in two ways
1) In NWDS u need to set Message server Port and server port of Quality or production depending on ur requirement
In NWDS ..In Menu you can find
Windows->perferenece there u need to do settings
and u need to deploy ur webynpro application
2) you can deploy .ear file in Visual Admingoto Visual Admin there u can find deployment button click it and deploy ur .ear file
Please reward points if it is helpful
Thanks
Srikanth -
When I tried to deploye the par file into portal using file->Export->PAR file, I am getting an error says "unfortunately the upload of your PAR was not sucessfule. ....
Error message: Upload seems to have faild" ... Because of this I am not able to upload the PAR file to portal. Any Idea? Please help
Pages: 1 Back to Thread List
Threads: [ Previous | Next ]I tryied to do it manaulay and able to upload it. but when I run it, I am getting some error says
An exception occurred while processing a request for :
iView : com.flightsafety.hr.EmployeeAddressChange.EmployeeAddressChangenew
Component Name : com.flightsafety.hr.EmployeeAddressChange.EmployeeAddressChangenew
Internal error: empty page context.
Exception id: 10:14_10/01/07_0214_6394050
See the details for the exception ID in the log file
Have any Idea? -
Integrate WebDynpro ABAP app into Portal
Hi Experts,
Can anyone tell me how to integrate the WebDynpro application into portal after developing in the R/3 System ?
Thanks
SureshI got it . Thanks
-
Cannot access deployed JDeveloper App in Weblogic Server
I have built and successfully deployed an Oracle JDeveloper 11.1.2.2.0 web application using ADF security to a clustered (two servers) Weblogic 10.3.5.0 server. The login page comes up when I type in the URL but upon submitting the login page I get the following error:
Dec 3, 2012 10:35:47 AM MST ServletContext-/ContractRateAdjustmentWebAppView Info BEA-000000 JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:java.io.FileNotFoundException: /index.jsp
The is no index.jsp page in my application. Why is this page being looked for?Thank you for the reply.
But Just I wnt to know some stuff related to ant command...
As this is my first deployment in weblogic 8.1.
This is what i have done...
1> Created a folder "ifejbproc" in...
D:\bea\weblogic81\samples\server\examples\src\examples\ejb20
2> And I copied following files to "ifejbproc" folder
application.xml
ejb-jar.xml
weblogic-ejb-jar.xml
build.xml <I created it as you seen in the previous msg>
com <Folder that consists of java class files>
3>Then I ran the setExamplesEnv.cmd in command prompt located in,
D:\bea\weblogic81\samples\domains\examples
4>Then I changed the cmd path to,
CD D:\bea\weblogic81\samples\server\examples\src\examples\ejb20\ifejbproc
5> Then I ran the ant command.
When i ran this command It created a ifejbproc.jar file but it did not included the java class files the ifejbproc.jar file.
Is any thing I need to do with the build.xml
Note: I commented the compile tag in build.xml
Waiting for your reply.
Thx,
babloo. -
Deploying JDeveloper apps to 9iAS
The 9iAS 9.0.2 documentation states pretty strongly that we should use OEM for deployment.
Yet JDeveloper 9.0.2 is equally strong about saying things will be simplest if you make an Admin connection to OC4J and deploy using the automated wizards.
These seem to be inconsistent claims, and both our developers and middle-tier folks are getting confused.
I think what I'd like to see is:
-- development against local OC4J
-- deployment by developers, using the JDeveloper method, to the Test environment
-- deployment from Test to other environments by the middle-tier staff, using OEM
Am I missing something, or can somebody tell me about the advantages and disadvantages of the various "recommended" approaches. And will I get the same answers if I ask this question in the JDeveloper forum?
-- jimThe answer is that Oracle9iAS uses the distributed configuration management infrastructure to manage its OC4J instances / high availability infrastructure whereas OC4J on its own is just a single stand-alone instance.
Oracle9i JDeveloper, the current production release (9.0.2), has its connection editor and one-click deployment designed to work with a stand-alone OC4J instance. To deploy from the current Oracle9i JDeveloper to Oracle9iAS you have to deploy the ear file to the file system and then either use OEM or the command line equivalent dcmctl to deploy the ear file.
In Oracle9i JDeveloper 9.0.3, due shortly in preview, you will be able to deploy directly to Oracle9iAS - there will be an Oracle9iAS DCM connection in addition to the current stand-alone OC4J connection.
See:
Re: Conditional execution in pl/sql
to see if I am consistent between the two forums :-)
Mike. -
Integrating existing WLS apps into portal
Hi all,
I would like to know which is the best approach to integrate existing WLS web applications into a 8.1 portal environment. By "integrating" I mean a single sign-on and sign-out scenario. The portal user should only log in once and the session information should be conveyed to the other application(s). The other applications could run in full-screen portlet with its existing navigation. The existing applications are running on different server instances (and also hardware) and different versions (6.1, 7.0 and 8.1). I would be grateful for any suggestions or best-practices. Thanks in advance.
Best regards
mciuchiniThe first thing I would look into is establishing trust between the domain: http://e-docs.bea.com/wls/docs81/secmanage/domain.html
This would enable single sign on...
Then, I would look into creating meaningful portlets that launch you into your pre-existing portlets...
Hi all,
I would like to know which is the best approach to
integrate existing WLS web applications into a 8.1
portal environment. By "integrating" I mean a single
sign-on and sign-out scenario. The portal user should
only log in once and the session information should
be conveyed to the other application(s). The other
applications could run in full-screen portlet with
its existing navigation. The existing applications
are running on different server instances (and also
hardware) and different versions (6.1, 7.0 and 8.1).
I would be grateful for any suggestions or
best-practices. Thanks in advance.
Best regards
mciuchini -
URGENT! Need help to portalize a Strut JSP App for Portal!
Hi,
I have create a little application using Strut ADF. This application only have one page. Can someone tell me how to portalize this in order to deployed it in Portal. I have create my DataSource in OEM and the only thing left is to portalize this jsp.
I have read the "How to create a Struts Portlet" but I don't understand it.
Please help me deployed this app to Portal. Is there any tutorial about this?
Thank you!try this article
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/pdkstruts/portletize-your-app.html
You will also need to download the relevant tag library for the pdk-struts extensions.
You can also download the java portlet wizard as an add-in for jdeveloper. This makes the creation of the files (for example provider.xml) required by portal easier. -
How to deploy.sca file in portal?
Hi
I am new to portal..can any one explain step by step process to deploy .SCA File into portal using SDM.
Thanks
RahulRahul,
Refer to this article.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0df0afb-44fb-2b10-46b1-c026264bcbc4
Hope this helps.
Cheers!
Sandeep Tudumu -
EA1 - Error deploying ApEx app
Hello,
I just had a problem deploying an app into production. There are a few apps but only this one has a problem. When I right click the app, and left click on deploy, I get the following error:
An error was encountered performing the requested operation:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.HTP", line 1536
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 228
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 305
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 2381
ORA-06512: at "FLOWS_030000.WWV_FLOW_GEN_API2", line 6482
ORA-06512: at "FLOWS_030000.HTMLDB_UTIL", line 1106
ORA-06512: at line 1
06502. 00000 - "PL/SQL: numeric or value error%s"
Just an FYI. I deployed the app the old way via export/import no problem.
Regards,
DanOne thing you might look at is to do a textual DIFF between the file exported by APEX and the file exported by SQL Developer.
I've been working on an APEX application installer (installShield like) tool and was using similar code to the Java Command line export utility. What I found was that the file exported with APEX set and used a different security group ID than the one exported with My app. When trying to import the file from My App, I ran across the same problem.
I'm just wondering if the same is true here. The text diff should help you find out what is different.
Then the question is why, and why does it matter. -
Deploying ADF Portlets into WLServer (Oracle Portal 11g Domain)
Hello,
i'm trying to deploy an ADF application (portlets) to be consumed in Oracle Portal 11g as WSRP.
I try to deploy it from Jdevloper 11g directly to WLServer, but i got the following error in Jdeveloper deployment log.
[12:17:04 PM] Deploying Application...
[12:17:19 PM] [Deployer:149191]Operation 'deploy' on application 'AcssADF' is initializing on 'WLS_PORTAL'
[12:17:21 PM] [Deployer:149193]Operation 'deploy' on application 'AcssADF' has failed on 'WLS_PORTAL'
[12:17:21 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application AcssADF on cluster_portal.: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false]..
[12:17:21 PM] Weblogic Server Exception: weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
[12:17:21 PM] See server logs or server console for more details.
[12:17:21 PM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].
[12:17:22 PM] #### Deployment incomplete. ####
[12:17:22 PM] Deployment Failed
****************When i check ServerLog i have the following error stack: *****************
Failure occurred in the execution of deployment request with ID '1257852324678' for task '3'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false].' weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false]. at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
*************** The file weblogic-application.xml has the following contents: **************
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
<implementation-version>11.1.1.1.0</implementation-version>
</library-ref>
<library-ref>
<library-name>
oracle.webcenter.skin
</library-name>
<specification-version>
11.1.1
</specification-version>
</library-ref>
</weblogic-application>
Thanks,
Pedro RibeiroHi Pedro
Make sure that the Domain on which you are deploying this application has the module loaded/deployed by name "oracle.webcenter.skin". Within your domain/config/config.xml file you should have this module loaded:
<library>
<name>[email protected]</name>
<target>AdminServer</target>
<module-type>ear</module-type>
<source-path>C:\oracleWebCenter11111\jdeveloper/webcenter/modules/oracle.portlet.server_11.1.1/oracle.webcenter.skin.ear</source-path>
<deployment-order>300</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
</library>
When you created this WLS Domain, did you checked the right facets in the first couple of screens or did you just created a bare WLS Domain. Looks like mostly you may not have the above module, because the error stack trace does complain about this:
Unresolved application library references, defined in weblogic-application.xml: Extension-Name: oracle.webcenter.skin, Specification-Version: 11.1.1, exact-match: false
Incase if this module is deployed, make sure that the version is correct and matches with the one defined in weblogic-application.xml file.
Another possibility. Is this is CLUSTER Domain...? If YES, then deploy your app only to managed server and not admin server, because by default all modules are deployed only to cluster(managed servers) and not admin server.
Ravi Jegga -
How to check who has deployed a PAR into the portal
Hi there,
is there any log from which can be checked who has deployed a PAR into the portal (probably using NWDS directly)?!
Thanks in advance
PraveenHello Praveen,
You can find the user info from the trace files which are located in usr/sap/SID/DVEBMGS<SysNo.>/j2ee/cluster/server0/log/ subfolders.
Try to extract the info from the Tracefiles.
Again if you have the Logviewer configured then you might be able to find the same info there too.
Regards,
Premkishan -
Is it possible to deploy multiple sharepoint provider hosted apps into one azure website??
Rohit PasrijaI am faced with a similar requirement although the hosting environment for the provider hosted apps would be an IIS web server in our own infrastructure.
Would it be advisable to use a common IIS website to host multiple apps? The MVC web application which will provide functionality
for the apps is already in place which is why we are checking for options to use the same web project for multiple apps.
Can the web config file's clientID be shared by multiple apps? -
Error when add portlet into portal page
Dear all,
I use:
+ JDeveloper 10.1.3.4.0
+ Oracle Application Server 10g release 2.
+ JDK 1.4
I installed ADF_Installer and Portlet_Container for OC4J instance in Oracle Application Server ok.
1. I use JDeveloper, create my simple project with template is WebCenter Application.
2. In the Portlet project, I added the Portlet Faces Bridge.
3. I add the JSF (with name is home.jspx) in Web Tier into the Portlet project (select the JSF JSP). And type is .jspx and Do not automatically Expose UI Components in a Managed Bean.
4. Inside the home.jspx, I add the OutputText only.
5. Inside the WEB-INF, i created portlet.xml file with content is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-app version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<portlet-name>MyTestPortlet</portlet-name>
<display-name>My Test Portlet</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/home.jspx</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>My Test Portlet</title>
<short-title>testportlet</short-title>
</portlet-info>
</portlet>
</portlet-app>
6. Inside the WEB-INF, i edited web.xml by added some contents (and inside this file, I removed line in web-app tag
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"): --> If I did not remove it, I received some error !
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
7. I create the WAR File Deployment Profiles.
Ok, I deploy this portlet into OC4J instance in Oracle Application Server (10g release 2). -- > Finished.
From my browser, I use URL Address such as:
http://mymachine.com:7780/jobs/portlets?WSDL --> ok.
After that, I log into Oracle AS Portal, and register this provider with style WSRP --> ok, I can see it from Portlet Reposistory. But when I add it into my portal page, I receive following message
Error:Could not get markup. The cookie or session is invalid or there is a runtime exception.
I refresh my portal page but it not effect !
In Oracle Application Server 10g release 2 have support JSF Portlet ? Or I have some misstakes ? Please guide to me to solve this problem.I updated Oracle Application Server Portal from 10.1.2 to 10.1.4 ! Please give me some ideas !
-
Deploying jdeveloper's jsf toplink ejb application to jboss4.0.4
hi java/j2ee developers,
we developed a application using jdeveloper ide using jsf,toplink and ejb technologies, when we deploying this application to jboss4.0.4 application server we are getting the following exception
org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one local-home tag)
at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:749)
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:356)
if anybody knows how to solv e this one, please give us the reply as soon as possible,Thanks In Advance.we are waiting for your kind information.Thank you once again.Basically I started to develop this system inside Oracle AS and then when it came time to passing a request to a new page, it crapped out on me on the App. Server. So instead of trying to fix the problem there and then I continued to develop outside Portal and inside Jdeveloper. After a week or two once all my stuff worked perfectly I try and take it back into Portal but only the first JSP of all my Portlets would show up, because as soon as I would submit a form and the action directed me to a new page and Portal would be lost/confused. Obviously I shouldn't have done it that way but none the less...
So now I'm reading through the documentation you pointed me towards and it seems I have to qualify my parameters and then "attach" them to the url which the form will pass to the actioned page. I'm importing numerous classes (...urlUtils, etc) in order to qualify the parameters and then build this url without affecting any parameters currently present that my portlet does not own.
What I'm rambling towards here is all this separation of logic and presentation and the whole nine, implies different people can develop different parts of a 'system' mostly independant of one another...so in my situation I shouldn't in huge trouble yet, since underlying everything is a working system. My issue is with oracle and the App Server. If I take my code which works great outside of the App. Server and I fully qualify parameters and make sure my form actions are constructed using the UrlUtils in order to fully qualify them as well, and then I make sure page parameters are mapped to the proper portlet parameter values....should my system work on the App Server (assuming everything is done properly)....or am I still missing something.
Maybe you are looking for
-
Stop auto load of account information on Skype new...
How do I stop my info from auto loading on a skype reinstall[ New ] Options 2 minutes ago I am selling my laptop - I have installed Skype and installed it fresh. Unfortunately every time I go thru the process, the re-installed Skype also includes my
-
How to change the package name for a msg class
Can anybody tell me how to change the package name for a message class. and how will it effect in the rerport? thanks in advance kp
-
Apparently iTunes 12 no longer supports most of the metadata used in iTunes 11 FOR VIDEOS, like artist, album etc. So now when you add for example an online class video you only get director and of course the column browser will not show the video. I
-
I have a new Mac Pro with 6 gigs of RAM an when I try to liquify, I only get the spinning rainbow. All else functions well. Please help Thanks, Dane
-
I'm trying to determine if I will benefit from additional RAM. I have a 24" iMac with 4G RAM. I can upgrade to 8G at a cost of $400 but I hate to spend the money only to learn that there is no significant difference in operation. I checked with Act