SJSAS 8.1 creating a zillion connections

My platform is Windows XP which I installed Java Studio Enterprise 8 on and that installed Java System Application Server 8.1

I tried to start the server server via:

Programs->SunMicrosystems->JavaStudioEnterprise8->StartServersAndRunti mes->Default ApplicationServer

I get a DOS window that says to wait and it never comes back (with the "Press any key to contine...).It then just seems to hang. So I did a netstat -an from another dos window and it displayed this huge list of tcp connections being generated from port numbers 1030 and up. I cant get it to stop.

Any ideas what could be causing this. I've tried rebooting but get the same response.

Also, I did actually get it to start up once. Then I shut it down and have not been able to get it to start up again.

One final question, when It did start successfully the first time, I was able to http://localhost and get the managment window for the application server and it asked for my admin password. I don't recall ever specifying one. Is there a default one assigned?

[1085 byte] By [Skrelton] at [2007-11-26 9:04:41]
# 1

> My platform is Windows XP which I installed Java

> Studio Enterprise 8 on and that installed Java System

> Application Server 8.1

>

> I tried to start the server server via:

> Programs->SunMicrosystems->JavaStudioEnterprise8->Sta

> tServersAndRuntimes->Default ApplicationServer

>

> I get a DOS window that says to wait and it never

> comes back (with the "Press any key to contine...).

> It then just seems to hang. So I did a netstat -an

> from another dos window and it displayed this huge

> list of tcp connections being generated from port

> numbers 1030 and up. I cant get it to stop.

>

> Any ideas what could be causing this. I've tried

> rebooting but get the same response.

>

> Also, I did actually get it to start up once. Then I

> shut it down and have not been able to get it to

> start up again.

>

Do you have the PE app server or EE?

Can you check this by doing:

- <app server install-dir>/bin/asadmin version --verbose?

> One final question, when It did start successfully

> the first time, I was able to http://localhost and

> get the managment window for the application server

> and it asked for my admin password. I don't recall

> ever specifying one. Is there a default one assigned?

Please let me know and in the meanwhile I will check what Sun Studio Enterprise bundles.

Thanks,

Kedar

kedarmhaswade at 2007-7-6 23:15:36 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Hi Kedar, thanks for your reply.

I ran the command you suggested and the output is as follows:

C:\Program Files\Sun\jstudio_ent8\AppServ8.1UR2\bin>asadmin version --verbose

Unable to communicate with admin server, getting version locally.

Version = Sun Java System Application Server Platform Edition 8.1_02 (build b06-fcs)

Command version executed successfully.

Skrelton at 2007-7-6 23:15:36 > top of Java-index,Application & Integration Servers,Application Servers...
# 3

OK. So this is platform edition. Can you do the following in that case:

- install-dir/asadmin start-domain domain1?

Regarding the "admin" password, I think the Studio installer is hiding the

password for administration. Can you check if the home directory (%HOME%)

has a file named .asadminprefs ?

If yes, this file has AS_ADMIN_USER and AS_ADMIN_PASSWORD which are

your passwords for the "default" domain.

HTH,

Kedar

kedarmhaswade at 2007-7-6 23:15:36 > top of Java-index,Application & Integration Servers,Application Servers...
# 4

I did the command:

C:\Program Files\Sun\jstudio_ent8\AppServ8.1UR2\bin>asadmin start-domain domain1

Starting Domain domain1, please wait.

Log redirected to C:\Program Files\Sun\jstudio_ent8\AppServ8.1UR2\domains\domain1\logs\server.log.

It's just haning there, and netstat -an now shows it opening all those ports.

Here's just a small subset of those now opened:

TCP127.0.0.1:2408 127.0.0.1:2398 ESTABLISHED

TCP127.0.0.1:2409 127.0.0.1:2410 ESTABLISHED

TCP127.0.0.1:2410 127.0.0.1:2409 ESTABLISHED

TCP127.0.0.1:2411 127.0.0.1:2412 ESTABLISHED

TCP127.0.0.1:2412 127.0.0.1:2411 ESTABLISHED

TCP127.0.0.1:2413 127.0.0.1:1798 ESTABLISHED

TCP127.0.0.1:2414 127.0.0.1:2415 ESTABLISHED

TCP127.0.0.1:2415 127.0.0.1:2414 ESTABLISHED

TCP127.0.0.1:2416 127.0.0.1:2417 ESTABLISHED

TCP127.0.0.1:2417 127.0.0.1:2416 ESTABLISHED

This is what it was doing before

Skrelton at 2007-7-6 23:15:36 > top of Java-index,Application & Integration Servers,Application Servers...
# 5
And, by the way, you were correct about the user/password file. I found the .asadminprefs file.Thanks :-)
Skrelton at 2007-7-6 23:15:36 > top of Java-index,Application & Integration Servers,Application Servers...