Java console and load cmd

Using server controller and domino console, if you issue “load cmd” as a command, the command line gets garbled and it’s impossible to issue any more commands. Can’t stop the server either. Had to shutdown.

We have some agents issuing shell commands and sometimes they stop on an error inside the shell. The only way to fix this was to issue any O.S. command to check if you were inside a shell, then issue an exit command to get out of the shell.

With the server controller/server console getting garbled like this it becomes impossible.

Has anybody else seen this ? Is it going to be fixed ?

Subject: Java console and load cmd

I just tried on couple of our machines and did not see any problem. Are you able to see this consistently?

Mallareddy

Subject: RE: Java console and load cmd

Here’s what I found out.We have a Domino 6.5 test server on a Winnt machine service pack 4. I activated Server Controller and domino console (nserver -jc) and it works fine.

I type and the command line prompt appears. Commands work properly and when I type exit it goes back to he Domino shell.

But when I do the same thing on our production server, which is a Win2000 machine (same Domino version), the console gets crazy after entering the command line propmt.

The letters which are typed in the domino command field appear on the server window in a different order.

With the command, even if I change the order of the letters and succeed (typing “rdi”) in having “dir” appear on the console, the command shell returns an unknown command error.

Obviously does not work, so at this point I can’t do anything else but killing the domino processes.

The problem appears both running jconsole.exe on the server machine as on a client - i tried from the same client with which it worked on the test server.

Is there anything I can do to understand what’s wrong with my configuration ?

Subject: RE: Java console and load cmd

Hi Cesare,

You got to give me more information on what is happening. Is there any way you can give screen dump of console when this happened. Since you are saying it is working OK on one of your machines, you should be able to check what is the difference between these two machines i.e., OS, service pack, domino version and any other thing that is different. It could be domino or os specific. When you do “load cmd”, domino is loading cmd shell. Controller gets the output of the cmd shell and sends the commands you type to it. Check the language. Sometimes, if java cann’t translate the character, it might go crazy. But I am assuming both machines are identical.

Subject: RE: Java console and load cmd

Here is a screen dump of the console. You can see that load cmd works. After that you see the result of typing 1)

I pointed it out in the screen printout.

About the two machines’ configurations, they are very different.

The test server is a Pentium II with 128 MB and Winnt 4 service pack 6; the production server is a 2GB RAM pentium 4 with SCSI disk arrays with Win 2000 service pack 4.0.

The thing that makes me think it’s a configuration problem is that the test server does not have any problem with the server controller, even loading cmd (as one would expect!)

Both machines have Italian in the locale, an italian keyboard - but Winnt and Win2000 and Domino are in english.

Both have Netop loaded for controlling from remote.

I looked for different java versions installed and found another java virtual machine installed on the production server. I uninstalled it and restarted the machine, reloaded domino, but the problem is still there.

Subject: RE: Java console and load cmd

That looks strange. I have never seen this kind of scenerio. I will try to reproduce in our lab,and see why that is happening. I will post as soon as I find some thing.

Subject: RE: Java console and load cmd

Thank you for answering, I had tracked my post for a few days then I actually gave up - --------------

well,

we had to disable the console so it’s not easy to reproduce it. I have to restart a server, somtehing I can do at night. I will try it again and see if I can post a screen of what happens in our site.

May be it has to do with conflicting Java versions ?