Java Application Server

Hello,I've got Sun Studio One for a free trial period (90 days) and I can't start the application server. The domain is always invalid.How can I do please ?Thanks !Sorry, I'm not sure it's the good forum...
[245 byte] By [_anagram_] at [2007-9-30 19:33:39]
# 1
Try this forum: http://forum.java.sun.com/forum.jsp?forum=136What does the server.log file in the admin instance say?Have you tried creating a new domain (asadmin create-domain) ?-Alexis
am74686 at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 2

Thanks a lot am74686for your answer. I didn't answered before because I didn't have a domain. Now it's done but when I start my server whith command prompt, I have a message which say "It can't have been started" and I don't habe any error...

Whith Sun Studio one, I have this message :

>>Could not start the instance

>>server failed to start: abnormal subprocess termination

I'll try on the another forum.

Thanks

_anagram_ at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 3
look at the $AS_INSTALL/domains/domain_name/logs/server.log file for errors.-Alexis
am74686 at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 4
I don't have any log folder in my_domain folder. It is said that no errors occured but it can't be started.Maybe I have done a big mistake because this is the first time I try to start this server. But I don't serr my error.PS : Thanks for your help ;)
_anagram_ at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 5

Arf, 齛 serait s齬ement plus simple en fran齛is. Je viens de voir votre fiche.

Bonjour,

En fait, j'ai cr un domaine suite ?votre message avec cette aide http://docs.sun.com/db/doc/817-4272/6mjqdps11?l=fr&a=view#ch15_sunone_app-step-10041

Ca a fonctionn? Mais lorsque je veux lancer le serveur, j'ai ceci :

C:\Sun\jstudio\AppServer7\domains\domain1\admin-server\bin>startserv

C:\Sun\jstudio\AppServer7\domains\domain1\admin-server\bin>net start SunAppServe r7.0.0_01-domain1_admin-server

Le service Sun App Server 7 Admin Server (domain1:admin-server) d齧arre..

Le service Sun App Server 7 Admin Server (domain1:admin-server) n'a pas pu 齮re

lanc?

Le service n'a pas signal?d'erreur.

Vous obtiendrez une aide suppl齧entaire en entrant NET HELPMSG 3534.

La commande NET HELPMSG 3534 me renvoie qu'il n'y a pas d'erreur ...

Je ne vois plus quoi faire ..

_anagram_ at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 6

Let's do this in 2 languages then for the broader audience!

FRENCH

L'architecture de S1AS7 utilise un "admin-server" et des "instances" qui en d齪endent.

Le probl齧e est li?ici au d齧arrage de l'admin-server.

Le log d'erreur se trouve donc dans le fichier:

C:\Sun\jstudio\AppServer7\domains\domain1\admin-server\log\server.log

Il y aura certainement des choses int齬essantes ici.

ENGLISH

S1AS7 has an architecture with both an "admin-server" and several "instances" associated with it.

You seem to have a problem starting the admin-server.

Its error log is in this directory:

C:\Sun\jstudio\AppServer7\domains\domain1\admin-server\log\server.log

problaby interesting stuff there.

-Alexis

am74686 at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 7

OK, thanks !

Yes, I have this folder. In the server.log file, I've got this :

[12/Oct/2004:14:29:02] INFO ( 2612): CORE1116: Sun ONE Application Server

[12/Oct/2004:14:29:03] FATAL ( 2612): CORE4005: Internal error: unable to create JVM

[12/Oct/2004:14:29:03] SEVERE ( 2612): CORE4009: Failed to load JVM (check your JRE)

[12/Oct/2004:14:29:03] SEVERE ( 2612): CORE3187: Late initialization failed: Error running init function(late) init-j2ee: unknown error

I haven't copy all the file beacuse it's the same error. I have tried on two computers and I have the same error.

Is this the JRE version which is too old ?

_anagram_ at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 8
See this: http://swforum.sun.com/jive/thread.jspa?forumID=114&threadID=21300-Alexis
am74686 at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 9

Thank you very much Alexis. It was the solution.

I don't really understand why jvm.dll in the system32 was not available. I don't have changed the version (or I don't remember to have changed to a lower version...).

I have renamed the jvm.dll to _jvm.dll and the server starts !

Thanks !

PS : merci pour toute l'attention que vous avez port?mon probl齧e !

@bientot !

_anagram_ at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 10

parfait!

La DLL qui se situe dans un r齪ertoire du PATH de windows est "prioritaire" sur celui de la JVM. Le fichier jvm.dll a probalement 齮?d齪os?par une vieille version de JDK.

Bon usage de S1AS7 et SunONE Studio!

A noter que la version 8 de l'app server (J2EE 1.4) est dispo et qu'un bundle avec NetBeans (la techno de base de tous les outils Sun) existe l? http://java.sun.com/j2ee/1.4/download.html#nb

Sinon, la version 7 de Sun Java Studio Enterprise est en beta avec des fonctions nouvelles: UML, Collaboration, profiling, etc... http://developers.sun.com/prodtech/javatools/jsenterprise/

Enfin, cot?outils de d齰eloppement rapide pour les applis Web, il y a Java Studio Creator (qui embarque aussi Sun java System App Server ): http://developer.sun.com/prodtech/javatools/jscreator/index.jsp

-Alexis

am74686 at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...
# 11
Tous ces liens vont beaucoup m'int齬esser. Je suis 齮udiant et on est en train d'apprendre les diff齬entes technologies Java. C'est vraiment g齨ial. J'ai toujours 齮?un peu perdu sur les diff齬ents outils.Un grand MERCI Alexis.A bient齮 pour peut-齮re de futurs probl齧es
_anagram_ at 2007-7-7 0:18:52 > top of Java-index,Administration Tools,Sun Connection...