Deploying Websphere Portals onto a 6.1 Server - deployment

Any time I try to publish my Portal project on a Websphere Portal 6.1 Server, I get the following error message:
Portal project publishing is not supported on WebSphere Portal v6.1 Server
Is that really true or have I done something wrong?
I'm trying to deploy a portal project, with the underlying goal of publishing a new theme.
Unfortunately, any time I try to deploy, I get the error message listed above from the IDE and no errors in the console.
The RAD version is 7.0.0.7.

Not sure this will help, but:
Limitation: Although the WebSphere
Portal installer contains an advanced
option to install an empty portal,
Portal Designer relies on
administration portlets for setting
access control; therefore, publishing
a portal project to an empty portal is
not supported.
Are you trying to deploy a portlet or an entire portal project? What version of RAD are you using? Any other information in the error log? (Both within RAD & on WP server) Is the error message posted verbatim?

It is possible to deploy such a project to a WebSphere Portal. I use v6.2 and deploy portlets, which are parts of a big Portal project, every day. I'm only a starter in such a stuff, but I can say that WebSphere is really buggy. You know, it is a big difference to run a deployed app "locally, in a workspace" or "on a server". I suggest you to work out with server options - administrative console.

Related

Eclipse: no Runtime shown on SAP Cloud Platform server creation

i'm working on an application that uses a Sap Cloud Platform Server type. The problem is that every now and then the server just loses the "Runtime Environment" and, because of that, it doesn't let me debug/start/stop nor publish anything.
I've seen that SAP just updated the Cockpit between 22nd and 23rd of May, the past week everything was working fine.
When i try to create a new server, after i choose the SAP Cloud Platform server type, i put the region host and go to the next page of the "new server" window, and this message will appear on top of the server creation window:
Error
It's not the first time this happen, I've tried to uninstall and install eclipse from scratch but i can't no longer use this option because it's a big mess trying to install and configure all as it was before.
Someone else got this kind of problem? I've already opened a ticket to the SAP support but it's just some kind of non-helpful workaround that do nothing.
Eclipse version is:
Eclipse IDE for Enterprise Java and Web Developers
Version: 2021-03 (4.19.0)
Build id: 20210312-0638
If you guys need some others info, just ask away!

EJPPG0024I: Web application with context root /.Test is deployed in the application server but not registered with portal

I'm using Rational Application Developer v9.5.0.3 (x64) and WebSphere Portal v8.5 CF14 (running on WAS v8.5.5.12 x64). In previous versions of RAD and portal I had no problems deploying portlets.
Now when I deploy portlet using RAD (drag&drop) I get
ObjectModelRe I com.ibm.wps.services.registry.ObjectModelRegistry registerWASPortletApplication EJPPG0024I: Web application with context root /.Test is deployed in the application server but not registered with portal.
Why do I receive this message and how can I fix it?
instead of using the drag and drop, try doing run on server and selecting portal directly

How to create openshift application for OPENSHIFT ONLINE 3 STARTER (NEW!) server in Eclipse IDE?

I am trying to create an openshift3 application in Eclipse IDE after installing JBoss Developer tool plugin in IDE, But getting below error at the time Sign into OpenShift.
Error: The server type, credentials, or auth scheme might be incorrect:
I have also tried other server hostname like https://console.starter-us-east-1.openshift.com/console/ and much more, but still not working.
While, when I tried to log in using OC tool (OpenShift CLI) with the same credential (as seen in picture), I haven't got any error.
I also tried to run RHC (OpenShift Client Tool) but at the time of RHC setup it is saying "You are not authorized to perform this operation."
Please help me to solve it out.
First of all, it looks like you're using an outdated version of the JBoss Tools Openshift plugin, because the "New Openshift Application" wizard looks a little bit different at the moment. So try to update it:
Help -> About Eclipse -> Installation Details -> Update... - and choose at least all the JBoss Tools plugins that it'll report to you (the best will be to choose everything reported) and update them.
Secondly, what is the URL which you use to access the Openshift web console in your browser? It seems to me that it is https://console.starter-us-east-1.openshift.com. Are you able to login there with your credentials? If yes, the same must work in JBoss Tools Openshift plugin. Check this and this articles for more info about using it.

IBM Eclipse Tools for Bluemix

new to ibm bluemix. Steps to be followed to develop a application on eclipse and to depoy using IBM Eclipse Tools for Bluemix and cloud foundry as well.
You could find all information you may need for your question in the Bluemix Documentation
https://console.ng.bluemix.net/docs/
On the following URL you could find a "Step by step" guide using Bluemix tool:
https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html
Instead on the following URL you could find a "Step by step" guide using CF push for a Java app on liberty runtime: https://console.ng.bluemix.net/docs/starters/liberty/index.html#liberty
First of all you can follow the instructions here for installing the IBM Eclipse Tools for Bluemix https://marketplace.eclipse.org/content/ibm-eclipse-tools-bluemix
Secondly, you can follow this tutorial to know how to push an application to Bluemix using the tooling. https://www.ibm.com/developerworks/community/blogs/941f1004-4e3d-4a4b-87ed-30d8045fde4e/resource/IBM%20Bluemix%20Tutorial%20-%20Connecting%20Eclipse%20to%20Bluemix%20v2.0_files/IBMBluemixTutorial-ConnectingEclipsetoBluemixv2.0.pdf?lang=en
There might be some UI differences in the IBM Eclipse Tools for Bluemix tools that you will install from the first link vs what is shown in the second link. These differences are however just cosmetic (like using terms IBM bluemix vs Cloud foundry while defining a server). Overall the functionality remains the same.
Also apart from the use-case described in the tutorial (second link), you can also create new projects (web projects) in eclipse and push them to Bluemix.
In order to test your projects locally, you would need to install local WAS liberty profile (in case of JavaEE projects) or local node js (in case of nodejs apps). You can do all the testing locally on the local servers and once you're confident about your development, you can push the projects to Bluemix.
Thanks,
Gaurav
Though this is a very old thread but this will be helpful for future references. One can setup the Bluemix server in an IDE like eclipse by straight forward adding a new server and can push the application directly. However a more user friendly approach is to deploy it from cf commandline. You can deploy the application independently or even package it with the local server. You even have the options to provide inputs like hostname in the commandline. Please go through the Bluemix docs for detailed specifications.

quickstart Apache DayTrader

I am trying to get the Apache DayTrader benchmarking app on OpenShift quickstart working see link https://openshift.redhat.com/app/console/application_type/quickstart!17609
I have a free 3 gear openshift online account and the quickstart starts up but then after a while posts the message
"Application creation is taking longer than expected. Please wait a few minutes, then refresh this page."
Waiting and refreshing the page shows the whole application rolled back and removed from the gear.
I suspected it might need a larger gear but I can build an openshift gear manually with JBoss Enterprise Application Platform 6 and PostgreSQL 9.2 as per requirements in a small gear
I tried manually building the application via jboss developer studio and downloaded the git locally, imported it as a general project,converted to Mavern project, started openshift application wizard and choose the jbosseap-6 app type with postgresql-9.2 cartridge and went through using the existing daytrader project.
That all seemed to work and the app was created in my openshift online gear
Cartridges
JBoss Enterprise Application Platform 6
Status: Started
Gears
1 small, Storage 1 GB PostgreSQL 9.2
the account webpage then displays
"Welcome to your JBoss EAP application on OpenShift"
but I cant seem to access the daytrader index.jsp or app from there.
If anyone has successfully built Daytrader on openshift either manually or via quickstart could they please post the steps.
I am just starting with jboss and the solution may be an absurdly simple oversight on my part.
Much appreciated John
I am assuming this is not your cartridge. If that is the case, you should try logging an issue on the github project that feeds into that quickstart here: https://github.com/gvijayar/daytrader
The creator of the cartridge should be able to help you out.
I posted ( some time ago ) the issue in github for gvijayar but there has been no reponse. I have managed to build via command line as per "Deploying from Source" making allowance for the error.
The application name needs to change in the create command to be consistent across all the commands you list.
ex:
rhc app create -a daytradereap -t jbosseap-6 -g large
but the quickstart still fails consistently.