installation of Sun java Application server failed on windows , its 2 days

Hi

Thank you for reading my post

i get the following error when trying to install sjsas_pe-8_1_02_2005Q2-windows-ml.exe&File=sjsas_pe-8_1_02_2005Q2-windows-ml.exe

:

its 2 days that im stoppe because of this error.

i delete an instalation of application server and after that im getting this error every time i try to install the apps.

i tried many pathes with no luck.

please help

INFO - Start core server configuration.

ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:'File' is not recognized as an internal or external command,

operable program or batch file.

Usage: create-domain [--terse=false] [--echo=false] [--interactive=true] [--domaindir domain_directory] --adminport port_number --adminuser admin [--passwordfile filename ] [--instanceport port_number] [--savemasterpassword=false] [--domainproperties (name=value)[:name=value]*] domain_name

CLI020 Operand is required.

'File' is not recognized as an internal or external command,

operable program or batch file.

'File' is not recognized as an internal or external command,

operable program or batch file.

Usage: create-domain [--terse=false] [--echo=false] [--interactive=true] [--domaindir domain_directory] --adminport port_number --adminuser admin [--passwordfile filename ] [--instanceport port_number] [--savemasterpassword=false] [--domainproperties (name=value)[:name=value]*] domain_name

CLI020 Operand is required.

'File' is not recognized as an internal or external command,

operable program or batch file.

[1682 byte] By [Legolas.wa] at [2007-10-2 8:32:52]
# 1

finally i could install the Application server ,

but i have no default domain yet.

i tried to build a default domain by using following command but it return the error like error section

asadmin> create-domain --domaindir F:/SunAppServer8/domains

--adminport 24848 --adminuser admin --instanceport 28080 creator

Please enter adminpassword>

Please enter adminpassword again>

Please enter the master password>

Please enter the master password again>

Using default port 7,676 for JMS.

Using default port 3,700 for IIOP.

Using default port 8,181 for HTTP_SSL.

Using default port 3,820 for IIOP_SSL.

Using default port 3,920 for IIOP_MUTUALAUTH.

Using default port 8,686 for JMX_ADMIN.

keytool error: java.io.IOException: Invalid keystore format

CLI130 Could not create domain, creator

indeed i want this for my creator installtion which allways fail to create a default domain , it all happend after i delete the creator installation instead of un-installing it.

Legolas.wa at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I will give up all of my Duke $$ for this question if some one could give me a correct answer.
Legolas.wa at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Hi

I have come with more details ,

I find out that Installer try to use Creator\bin\pe-start.bat to create the default? domain in aplication server.

now i run this batch file and i get the following error.

F:\Creator_2\bin>pe-start.bat

WARNING: The --adminpassword option is insecure and should not be used since it

can compromise your password. Please use either the command prompt

or the --pas

swordfile option.

keytool error: java.io.IOException: Invalid keystore format

CLI130 Could not create domain, creator

Exception in thread "main" java.lang.Exception: Unable to rename file: F:\CREATO~1\SunAppServer8\domains\creator\config\doma in.xml to

F:\CREATO~

1\SunAppServer8\domains\creator\config\domain.xml.bak

at com.sun.rave.install.AppServerBase.backupFile(AppServerBase.java:157)

at com.sun.rave.install.AppServerAdmin.updateDomainXml(AppServerAdmin.ja

va:277)

at

com.sun.rave.install.AppServerAdmin.<init>(AppServerAdmin.java:105)

at com.sun.rave.install.AppServerAdmin.main(AppServerAdmin.java:381)

does any one can help ?

Legolas.wa at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

Hi

Thank you all ,

i resolve the problem :

1-go to some friend home

2-install the product on her computer

3-copy the installed one and bring it home , it will work :)

but im wondering why there is such a problem in installer / asadmin which can not build the domain.

i ever uninstalled all java products from my copmuter and tried to install the AS with no luck.

Legolas.wa at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5

Hi Legos,

SInce you have sucessfulyy installed your Application server, I needed to small help from you.

I downloaded The J2EE 1.4 Tutorial for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 . I installed server and unzipped the tutorials also.I followed the Application server installation tips as per tutorials.

I am stuckup with "Building the examples " section of tutorilas. I need to set some properties like j2ee.home, j2ee.tutorial.home in the build.properties file. But the problem is dont know how to open the file as it is .properties extension file.

Am I understanding the point correctly. Please let me know how to set the properties in the build.properties file. If you canthrow some light on this it would be very helpful. My mail id is meenu_24@yahoo.com

regards

meenu_24a at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
Use Notepad (or any other text editor, for that matter) to open and edit build.properties file.
Snjezanaa at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7

hi Friend,

this being a very late reply but it will help to some extent. Even i have got the same problem while installing the APplication Server in the windows system.

This will happen if u delete the installed folder instead of uninstalling it.

Before installing the server again, give a search for the folders named .deploytool, .java, sun in the C drive. Delete all these folders and try installing it. I have succeeded in installing the server.

This i did it in Windows XP professional.

Hope this will help you.

Regards

Moin

Mohd.Mohideena at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8
Not sure if this is or was related to your problem but make sure there are not spaces in any of your path names.
demmitha at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9

My problem occurs when I try to run the project I get the following messages

" The sun java system application server 8 could not start

incorrect server configuration (domain.xml to be corrected manually)

possible reasons include

port conflects

incorrect server configuration "

I've looked at the domain.xml but cant find where the error may be

Can you please help

Thankyou

corrupted deployed applications

RobinHooda at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 10

I'm also gettindg the same sort of problem but it's occurring when I'm trying to run WebServices on the sun java Application server 8.2.

I've already added the required servers(Application server) in the servers list of the web service.

But still I 'm getting the problem.

The msg displayed by the Netbeans IDE is as follows::

The Sun Java System Application Server could not start.

More information about the cause is in the Server log file.

Possible reasons include:

- Unknown master password. (use asadmin change-master-password command with --savemasterpassword=true)

- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)

- Incorrect server configuration (domain.xml to be corrected manually)

- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).

C:\Project\JavaApps\NetBeans\WebApps\WebService1\nbproject\build-impl.xml:431: Deployment error:

The build-impl.xml has the following statement highlighted for the error:

<nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>

Folks if anybody has any idea regarding this error then plz reply

rajesh141983a at 2007-7-16 22:34:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...