How to start up admin-server
Hi
I am using AS 8.1 PE (the same effect in standard edition). I try to create a resource adapter but I got the error below:
Unable to connect to admin-server
Please help. Thanks a lot
Simon
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.
Domain domain1 is ready to receive client requests. Additional services are being started in background.
asadmin> create-resource-adapter-config --user admin --password adminadmin --propertySupportsXA=true:ProviderIntegrationMode=jndi:UserName=admin:Password=admin:JndiProperties=java.naming.factory.url.pkgs\\=com.tibco.tibjms.naming,java.naming.factory.initial\\=com.tibco.tibjms.naming.TibjmsInitialContextFactory,java.naming.provider.url\\=10.0.0.104\\:7222:LogLevel=finest genericra
WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --passwordfile option.
Unable to connect to admin-server. Please checkif the server is up and running and that the host and port provided are correct.
CLI137 Command create-resource-adapter-config failed.
asadmin> version
Unable to communicate with admin server, getting version locally.
Version = Sun Java System Application Server Platform Edition 8.1_02
Command version executed successfully.
asadmin>
Message was edited by:
ConnectorRuntimeException
I followed your instructions and specified the port number. I can create the resource-adapter-config. Then I tried to deploy it but I get the error below. Any idea ?
Many thanks for your help in advance.
Simon
asadmin> create-resource-adapter-config --user admin --password adminadmin --host localhost --port 5050 --property SupportsXA=true:ProviderIntegrationMode=jndi:UserName=admin:Password=admin:JndiProperties=java.naming.factory.url.pkgs\\=com.tibco.tibjms.naming,java.naming.factory.initial\\=com.tibco.tibjms.naming.TibjmsInitialContextFactory,java.naming.provider.url\\=10.0.0.104\\:7222:LogLevel=finest genericra
WARNING: The --password option is insecure and should not be used since it can compromise your password. Please use either the command prompt or the --passwordfile option.
Command create-resource-adapter-config executed successfully.
asadmin> deploy --user admin --password adminadmin --host localhost --port 5050 c:/Temp/genericra.rar
WARNING: The --password option is insecure and should not be used since it can compromise your password. Plea
se use either the command prompt or the --passwordfile option.
Sep 11, 2006 10:06:04 AM com.sun.appserv.management.client.ProxyFactory getInstance
SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.lang.RuntimeException: java.lang.IllegalArgumentException: DefaultDomain
CLI171 Command deploy failed : Deployment of application failed - java.lang.RuntimeException: java.lang.IllegalArgumentException: DefaultDomain; requested operation cannot be completed