Eclipse launch delegate still tells the server status is "starting" - websphere-liberty

I'm running Eclipse Java EE (Mars) / Websphere Liberty (8.5.5.8) / Websphere Liberty Developer Tools Plugin (8.5.5) on IBM SDK 8.0 64 Bits for Windows.
When launching the server at localhost, the server starts normally and the console writes "server is ready" but the Eclipse launch delegate still tells the server status is "starting". After timeout period, Eclipse says the server was unable to start and kills it.
I know this is a recurring issue : i change connection settings in eclipse to direct, add localhost to etc/host, add -Djava.net.preferIPv4Stack=true to eclipse.ini but couldn't resolve it ...

There are some known limitations if you have changed the logging settings, see the Developer Tools known issues and restrictions.
The tools look for this exact message id in the eclipse Console view: CWWKF0011I. If that message id is not detected the tools think the server did not start. Do you see that message id in the eclipse Console view?

I am using websphere 9.0 traditional in eclipse 2019-09 having the same issue. Probably because some session is running background.
Resolved by:
1) Go to console->Right click-> terminate/disconnect all. Then agin right click remove all terminated button.
2)If still the problem there remove all the cache in temp files both in application and profiles.

Related

Oracle forms - only java output

When using IExplore 9 and jinitiator to launch some oracle forms, i can only see the java console text output, the GUI actually doesn't start!
More details:
It's a local https website
From website once connected you push the button and oracle forms should run
Once i push the button only java console appears
Java output actually shows it's connecting to the website and downloads all the files in order to display
Compared to working example, my output and other working machines got same java output
IExplore is configured to allow the https site every request "intranet site" and also allows Active-X content and everything..
Jinitiator plugin is installed in IExplore
Java JRE 6 also present on the system
Following other people tips did replace C:\Program Files\oracle\jinitiator_1.3.1.25\bin\hotspot\jvm.dll with new jvm.dll from java 1.6
Currently using proxy to connect to the website using IExplore and jinitiator set to use browser proxy, connection appears fine, looks like it connects
using self signe certificate for the proxy connection that i already added to trusted certificates on IExplore
See some difference when using ssl1.0, ssl1.2 and changing these options in java
Tried different jvm.dll versions and different java versions also disabled all plugin in IExplore
My question is, how can i see the content of the database I'm trying to join in? Is there a way to use java to connect to the server? how can i see the GUI of what happening inside console?
Thank you

How to enable wmqJmsClient-1.1 Feature in Websphere Liberty profile?

Hi we are trying to enable wmqJmsClient-1.1,wmqJmsClient-2.0 feature in Liberty profile . We performed feature Intsall using InstallationUtility and Feature Manager as well.
On Installation it shows:
Step 7 of 7: Installation completed
CWWKF1017I: One or more features installed successfully: [wmqJmsClient-2.0].
Start product validation...
Product validation completed successfully.
But when we try to access the feature using Rational Software Architect it shows up Warning: Feature is not available.
But while accessing the same via eclipse it seems to be working.
What needs to be performed in case you want to use Rational Software Architect to perform the same. RSA version being used : 8.5.
You can try to refresh the server in RSA. Go to Servers view, double click the server, click Runtime Environment link, then Advanced options.. link and finally Refresh.
If this wont help, you could try install WebSphere Developer Tools (I didn't try that), run update on RSA , or install newer version as 8.5 is pretty old now.

Why does a stopped application disappear from Tomcat manager in TomEE?

I have found a strange behavior using Tomcat manager in TomEE (version 1.6.0-plus on 64 bit Linux system).
When I have stopped an application from the manager it was disappeared immediately from the application's list. Even the standard applications.
Only when I have shutdown the tomcat server and started again the apps was displayed again.
Is this a normal behavior or is it a mistake in TomEE?
I have found something here:
http://osdir.com/ml/users.openejb.apache.org/2012-03/msg00024.html
but it did not explain my situation.
that's a bug
opened https://issues.apache.org/jira/browse/TOMEE-1136
trunk is up to date so if you feel like building tomee yourself you can try it right now

How to run Websphere Portal/portlets locally from within RAD to debug

I have been looking around on the internet how to setup a local Portal environment together with the RAD IDE, I found threads like this but that's a thread of the ancient history (speaking in IT terms) or only refers to optimizing Portal with RAD (here). Currently I have RAD 8.0.4.1 running and I can run a WAS-instance, but I can't manage to get the Portal-environment run locally. I read that in the past there was some sort of specific Portal Test Environment, but with the newer RAD do I have to install a full Portal? And where to get it? I cannot find a good reference anywhere.
I want to debug my portlets locally in as local Portal-context. Currently the portlets are deployed on a remote Portal-server. This costs time (package WAR, upload, refresh nodes et cetera). So I want to run our Portal locally including its portlets.
In RAD I can define new servers and can see the option "WebSphere Portal v6.1 Server on WAS 7", but it requires me to define a Server runtime environment. This opens a new popup where I have to specify:
WebSphere Portal Location
WebSphere Application Server Location
I have my runtimes installed in "IBM\SDP\runtimes" which contains the following folders "base_stub, base_v6_stub, base_v7, base_v7_stub, base_v8_stub, base_v61_stub, portal_v61_stub, updi_v7x, updi_v70, wsdk". Whatever location I try to point to, it keeps giving an error message: "The Portal Server installation is not correct".
I have the following questions:
what do I need to run/debug my portal with its portlets locally?
the fact I see portal_v61_stub in my runtime directory, means a Portal server is not installed? My IBM installation manager doesn't specifically show an option to install a Portal Server.
is it possible to run portlet/portal locally and use hotswapping to immediately see the changes in the code/view?
where can I download/install the required software?
I heard that you need a very heavy machine to do portal/debug stuff locally (I am running on a 8 GB/Intel E8400 at 3.00 GHz.)
how can I transfer the current Portal-setup which is running on a remote server to my local system (mirroring/just copy files?)
Few things,
RAD is a tool to develop application developed on Eclipse. It doesn't come with any server application. You need to install your WAS/Portal Server.
RAD supports Portal development and hence it has got stubs but you wont be able to deploy an application without a server.
what do I need to run/debug my portal with its portlets locally?
You need an Application server installed on your machine. Or Connect to a remote server.
the fact I see portal_v61_stub in my runtime directory, means a Portal server is not installed? My IBM installation manager doesn't specifically show an option to install a Portal Server.
No. Server is not installed. You dont need IBM Installation Manager for installing server. It's for RAD.
is it possible to run portlet/portal locally and use hotswapping to immediately see the changes in the code/view?
Yes it is, if you have a server installed.
where can I download/install the required software?
You can download the express version of server. But if otherwise if you are IBM business partner you can download from their website.
I heard that you need a very heavy machine to do portal/debug stuff locally (I am running on a 8 GB/Intel E8400 at 3.00 GHz.)
3 GB is fine for running RAD and IBM Websphere Portal Server. ( I am running it right now with many other applications ) But for best result use 4 GB RAM.
how can I transfer the current Portal-setup which is running on a remote server to my local system (mirroring/just copy files?)
You need to open your RAD and attach a server to it. Go to windows->preferences->servers->Webpshere

IBM RAD (Rational Application Developer 8 (8.0.3)) and WebSphere 6.1 - endless publishing unstoppable nightmare

Did anybody try to work with WAS 6.1 in RAD 8.0? I have a problem that makes it almost impossible to work. All the time I am trying to work, RAD publishes to WebSphere, though I have setting "Never publish automatically" in server details. Because of this it is also impossible to debug, and also very often WebSphere changes its status to "Stopped" though I hasn't stopped it. I set up fix pack 6.1.0-WS-WASSDK-WinX32-FP0000041.pak on my websphere, but it didn't help. I didn't have this problem with RAD 7.5.5 on the same WebSphere, so there is something wrong with RAD 8.0 when it works with WAS 6.1.
I use RAD 8.0.3 with WAS 6.1. I have seen at times the application restarting out from underneath me in ways that confuse it, but I've also had it work fine at other times.
When the former is happening, it's usually because I'm making a lot of changes in quick succession and don't actually want to re-test until they're all finished, so I just stop the server for a while.
I haven't tried the "Never publish" setting you describe, so I can't add to your knowledge of whether that can actually work. Another thing you might try is the "If server is started, publish changes immediately" checkbox in the "Add and Remove..." dialog.
Thank you dbreaux, I made setting "automatically publish after a build event" and after that I didn't see the problem, though it seems strange. So 2 steps that solved my problem were
setting up fix pack 6.1.0-WS-WAS-WinX32-FP0000041.pak + 6.1.0-WS-WASSDK-WinX32-FP0000041.pak
setting "automatically publish after a build event" in server details
The post below looks to be on point, at least for the current version of Rapid Application Developer (9.1.1). The problems I was experiencing were
For my local server it seemed like it was still "semi" publishing. I suspect but have not yet verified that changing "Run server with resources within workspace" to "Run server with resources on server" in the Server Overview page will fix that.
For my remote server it seemed like it was publishing every morning when I connected. The post referred me to the setting in Preferences..Server..Launching..Automatically publish when starting servers.
Here is the post.

Resources