Server port 9081 is in use, starting Websphere Application Server in RAD - rad

very quick question regarding an issue I never seen before. I've being using RAD 6 for java development, with Websphere portal server 5.0 installed. When I trying to start the server, I get the following error in a popup:
Which none of what's described is the true in my case...and still the case even though I rebooted the PC, as well as checking for any redundant javaw.exe processes.
Thanks for you help

I asked a colleague, they suggested that you have a server set up which is defined to run as a service. Since the service will start automatically with Windows, rebooting won't help.
Check your services.msc and see if there's a service for WebSphere, then try stopping it and starting your server from within RAD.

Do one thing, if it's possible. Just go to running programs and check for any java.exe and stop/delete all of them. And try restarting your server. And check if it makes any sense.
Hope it helps.
//HP

Start command prompt (if you're on Windows Vista and up, ensure you start it in admin mode).
Type:
netstat -a -b
This will show you all ports being listened. Look for 9081, and then you'll be able to see the process that is capturing that port.
Which process was it?

An easiest way to do so is kill the jawa/javaw process from the taskmanager.
And then start the server.

Related

RDP session is slow

So I am connecting to my work computer from home and the Remote Desktop Connection app is annoyingly slow.
I pinged my work pc from my computer and it returned at a reasonable time of 50ms~ with 0 loss. I then attempted to ping my home IP from the RDP session and it timed out every time. Not sure if this might help anyone come to a conclusion but hopefully it does. Note I am also using it in conjunction with Cisco AnyConnect Secure Mobility Client if that helps at all. Work is Windows 7 and Home is Windows 8
I attempted switching off my home pc's firewall but that did nothing.
Any assistance would be great, surely a setting in the RDP file might make it run a little smoother.
I'll edit this post with further attempts at fixes below
Did three things and now RDP is running screaming fast:
Change RDP settings:
Run the RDP session and connect to the remote machine
Find mstcsc.exe in the Task Manager and and set priority to Realtime
I installed Ubuntu server XRDP. Went through Windows and terribly slowed down. I solved this problem. In the /etc/xrdp/xrdp.ini file, change crypt_level=high to crypt_level=None
Our remote chain is Citrix then RDP, target machine is Win 10.
I solved this issue by changing the mouse pointer scheme to None and disabling the pointer shadow.
In Windows 10. Go to Display Settings >> Scale and Layout >> Set the custom scale to 120 [you may need to experiment, try 110 - 150]
After that log in to your Remote Desktop, it should adjust the resolution and scaling factors.
It gave me a faster experience. If you need more then follow the answer of Mr. B

Wamp Server Working But Still Orange

No, this is not a duplicate question!
Wamp Server doesn't start on system boot up.
When I turn it on, it is in Orange but it works just fine and Test Port 80 says that it is used by Server: Apache and PHP.
I have to Ctrl+Alt+Del < Task Manager < (2) Apache Httpd Servers
Then end both tasks.
Then Restart All Services and Wamp will be green!
My questions are
1. if it works then why is it in orange?
2. can I make it start on system start?
Note: MySQL Server is working properly at all time.
I don't have Skype installed and I don't think the problem is with the ports...
I have already tried uninstalling then re-installing but that didn't fix the problem.
EDIT:
According to the solution #RiggsFolly suggested, I can see that Apache is not starting properly; however, weirdly the web app can be run normally...
you can also change the port as well. yes you can start wamp service on system start by setting in start up program MSConfig can be used to configure several things other than just startup programs.

VertrigoServ Apache HTTP Server Port 80 Already In Use

I have recently installed VertrigoServ, with the Apache HTTP Server, expecting to work perfectly like other installations. Unfortunately, this time it has not. Apache says the port 80 is already in use; I have tried all the methods suggested in other forums, but there seems to be no service, program or process using port 80.
Any ideas?
yes skype do clash with vertrigo just exit skype in tray icon and restart vertrigo you will be good to go.
Vertrigo / Settings / Program Settings / Unckeck "Run servers as services", then restart your PC and start vertrigo again
In my case case icon was yellow in Vertrigo because of running
Web Deployment Agent Service
which came probably with Microsoft WebMatrix, it is also run and probably installed by Microsoft Visual Community for example.
Changing Start type of this Service from Automatic to Manual is good solution ? Here:
http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
is such advice. Today it was turned off using simply Task Manager, but maybe this too brutal way.
The Run servers as services in Vertrigo is unchecked, but Web Deployment Agent Service was blocking Vertrigo.
Microsoft Matrix can run php too.
Try to change the port that Vertrigo uses to run php pages. It worked for me, I did like this (changed to 8080):
https://sourceforge.net/p/vertrigo/discussion/2083479/thread/e8546bc9/

run gnu-screen/tmux/byobu from client

I need to understand a fundamental concept about terminal multiplexers yet I can't seem to find the answer.
As I understand these programs need to be installed on server but not necessarily on clients. It's not a problem with gnu-screen as it is already installed on most systems but it's not the case for tmux and byobu. The problem is that I don't have permission to install software on the server. Is there a way I can run byobu from my client to show statistics about the server I connect?
Also what exactly is the effect of 'byobu-enable' option?
I think there is a misunderstanding here. When you connect to the server and run a command (byobu in this case), you are running the command on the server. Statistics reported are for the server. It's possible to open a byobu session on your own desktop of course, but if you're ssh'd into a machine, you're very likely to be executing commands on that machine.
byobu-enable sets byobu to launch automatically when you open a terminal. I don't do this since you can have confusion if you have byobu running locally and on the remote end you have connected to, which causes problems when you try to interact with byobu itself.

jvisualvm doesn't list certain Java processes

I want to get a heap dump (suspected memory leak) of a certain Java process. However, when I start the jvisualvm tool, I cannot see any of the running Java processes.
I have Google'd around about this and have already found a couple of articles saying that you have to run the Java processes using the same JDK that you start the jvisualvm tool with in order for it to be able to see them. However, as far as I can see, this is already the case. I'm doing everything locally (I have remote access to the machine).
A couple of things to consider:
The processes are running on a firewalled Windows 2008 server
The processes are running using renamed versions of the JDK java.exe executable
As far as I can see the processes are running using the 1.6.0_18 JDK
One of the running processes starts an RMI registry
I'm waiting on a virtualized copy of the server so I can mess around with it (this is a production server). But in the meanwhile; any ideas as to why I cannot see any of the processes in jvisualvm (or jconsole for that matter)?
Well after I did a little research, it would appear that Peter's comment was correct. Because the JVM processes were launched by another user (the NETWORK SERVICE account because they were being started by a Windows service) they didn't show up in jvisualvm.
Workaround
Since I have access to the application configuration, I have found the following workaround, which involves explicitly enabling unsecured JMX for the target JVM:
Add the following JVM parameters:
-Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
Add the remote process to jvisualvm using JMX by click File -> Add JMX Connection. You can connect to the process using port 3333. Obviously you can change the port if you want.
Link to article explaining this in a little more detail: http://download.oracle.com/javase/6/docs/technotes/guides/visualvm/jmx_connections.html
Notes
It's probably not a good idea to keep the JVM settings permanently, as they would allow anyone to connect to the JVM via JMX.
You can also add authentication to the JMX JVM parameters if you want to.
The simplest way is to execute jvisualvm as administrator (win: "run as administrator"). Which is not ideal but works. All java processes are visible then.