users@glassfish.java.net

Re: Sun Application Server Enterprise Edition, can´t access to admin console

From: <Vince.Power_at_medavie.bluecross.ca>
Date: Wed, 6 Aug 2008 13:26:58 -0300

In Enterprise Edition of 8.2 the admin URL should be
https://localhost:4849, in the non-enterprise edition it is http://






glassfish_at_javadesktop.org
08/06/2008 12:55 PM
Please respond to
users_at_glassfish.dev.java.net


To
users_at_glassfish.dev.java.net
cc

Subject
Re: Sun Application Server Enterprise Edition, can´t access to admin
console






Hi, thanks for response.

This is my application server log, domain1 start correctly, but i have the
same problem, can´t access to admingui.
There are anything looged when y try to access, the server don´t log any
when try to access to admin gui.

This is the log of the server:

/usr/jdk1.5.0_16/bin/java
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=/var/opt/SUNWappserver5u/domains/domain1/logs/server.log
-Djava.endorsed.dirs=/opt/SUNWappserver5u/appserver/lib/endorsed
-Djava.security.policy=/var/opt/SUNWappserver5u/domains/domain1/config/server.policy
-Djava.security.auth.login.config=/var/opt/SUNWappserver5u/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djava.ext.dirs=/usr/jdk1.5.0_16/jre/lib/ext:/var/opt/SUNWappserver5u/domains/domain1/lib/ext:/opt/SUNWjavadb/lib:/opt/SUNWappserver5u/appserver/lib/jdbcdrive
rs
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.management.builder.initial=com.sun.enterprise.ee.admin.AppServerMBeanServerBuilder
-Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl
-Dcom.sun.appserv.nss.db=/var/opt/SUNWappserver5u/domains/domain1/config
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=/var/opt/SUNWappserver5u/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=/opt/SUNWappserver5u/appserver/config
-Djava.library.path=/usr/jdk1.5.0_16/usr/jdk/entsys-j2se/jre/lib/i386/client:/usr/jdk1.5.0_16/jre/lib/i386/client:/usr/jdk1.5.0_16/jre/lib/i386:/usr/jdk1.5.0_
16/jre/../lib/i386:/usr/lib/mps/secv1:/opt/SUNWappserver5u/appserver/lib:/usr/lib/lwp:/usr/lib/mps/secv1:/opt/SUNWappserver5u/appserver/lib:/usr/lib/lwp:/usr/
jdk/instances/jdk1.5.0/jre/lib/i386/client:/usr/jdk/instances/jdk1.5.0/jre/lib/i386:/usr/jdk/instances/jdk1.5.0/jre/../lib/i386:/usr/lib/mps/secv1:/opt/SUNWap
pserver5u/appserver/lib:/usr/lib::/usr/lib
...skipping...

[#|2008-08-06T17:39:01.313+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3043:
Iniciando HttpService ... hecho|#]

[#|2008-08-06T17:39:02.087+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1504:
Aquí se encuentra JMXServiceURL para JMXCo
nnectorServer estándar:
[service:jmx:rmi:///jndi/rmi://unknown:8686/jmxrmi]. Ésta es la ubicación
en la que los clientes administrativos remotos deberían cone
ctarse mediante los conectores JMX estándar|#]

[#|2008-08-06T17:39:02.088+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1506:
Estado del conector JMX estándar: Activo =
 [true]|#]

[#|2008-08-06T17:39:02.417+0200|INFO|sun-appserver-ee8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023:
Se ha iniciado con éxito el servicio JMS. Nombre
 de la instancia = imqbroker, Inicio = [/usr/bin].|#]

[#|2008-08-06T17:39:02.619+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Mfwk
MfCrypto|_ThreadID=10;|Checking RSA/ECB/PKCS1PADDING|#]

[#|2008-08-06T17:39:02.620+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=10;|Loading
Public Key|#]

[#|2008-08-06T17:39:02.640+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Mfwk
MfConfig|_ThreadID=10;|url:
jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun
/mfwk/config/MfConfig.class|#]

[#|2008-08-06T17:39:02.641+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Mfwk
MfConfig|_ThreadID=10;|"mfwk.multicast.disableloopback" set to false|#]

[#|2008-08-06T17:39:02.642+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Mfwk
MfConfig|_ThreadID=10;|url:
jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun
/mfwk/config/MfConfig.class|#]

[#|2008-08-06T17:39:03.289+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=10;|group
= 227.227.227.1, port = 54320|#]

[#|2008-08-06T17:39:03.290+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=10;|Set
Time-to-live to 0|#]

[#|2008-08-06T17:39:03.291+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=10;|join
Group /227.227.227.1|#]

[#|2008-08-06T17:39:03.293+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=10;|Starting
listening thread|#]

[#|2008-08-06T17:39:03.293+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=10;|sends
initial RESP message in SDK|#]

[#|2008-08-06T17:39:03.295+0200|INFO|sun-appserver-ee8.2|javax.ee.enterprise.system.tools.admin|_ThreadID=10;|EEADM0150:
Se ha inicializado el receptor de des
cubrimiento para el marco de supervisión de Java ES.|#]

[#|2008-08-06T17:39:03.324+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|Se
completó el inicio del servidor de aplicaciones.|#]

[#|2008-08-06T17:39:03.326+0200|INFO|sun-appserver-ee8.2|com.sun.mfwk.Discovery|_ThreadID=12;|Packet
received


This is the /domain/domain1/log/server.log
This is part of my domain.xml file on domain1

 <property name="databaseName"
value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool connection-validation-method="auto-commit"
datasource-classname="org.apache.derby.jdbc.ClientDataSource"
fail-all-connections="false
" idle-timeout-in-seconds="300" is-connection-validation-required="false"
is-isolation-level-guaranteed="false" max-pool-size="32"
max-wait-time-in-millis="60
000" name="DerbyPool" pool-resize-quantity="2"
res-type="javax.sql.DataSource" steady-pool-size="8">
      <property name="PortNumber" value="1527"/>
      <property name="Password" value="APP"/>
      <property name="User" value="APP"/>
      <property name="serverName" value="localhost"/>
      <property name="DatabaseName" value="sun-appserv-samples"/>
...skipping...
        <http-listener acceptor-threads="1" address="0.0.0.0"
blocking-enabled="false" default-virtual-server="__asadmin" enabled="true"
family="inet" id="adm
in-listener" port="4849" security-enabled="true" server-name=""
xpowered-by="true">
    </http-listener>
        <virtual-server hosts="${com.sun.aas.hostName}"
http-listeners="http-listener-1,http-listener-2" id="server"
log-file="${com.sun.aas.instanceRoot}/log
s/server.log" state="on">
          <http-access-log iponly="true"
log-directory="${com.sun.aas.instanceRoot}/logs/access"/>
          <property name="docroot"
value="${com.sun.aas.instanceRoot}/docroot"/>
          <property name="accesslog"
value="${com.sun.aas.instanceRoot}/logs/access"/>
        </virtual-server>
        <virtual-server default-web-module="admingui"
hosts="${com.sun.aas.hostName}" http-listeners="admin-listener"
id="__asadmin" log-file="${com.sun.aas.i
nstanceRoot}/logs/server.log" state="on">
          <http-access-log iponly="true"
log-directory="${com.sun.aas.instanceRoot}/logs/access"/>
          <property name="docroot"
value="${com.sun.aas.instanceRoot}/docroot"/>
          <property name="accesslog"
value="${com.sun.aas.instanceRoot}/logs/access"/>
        </virtual-server>


i can access to http://localhost:8080 but not to http://localhost:4849

I don´t know where is my admingui web console ....
[Message sent by forum member 'kerule' (kerule)]

http://forums.java.net/jive/thread.jspa?messageID=291924

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net





-----------------------------------------------------------------------
This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.

La présente communication, y compris toute pièce qui y a été jointe, est destinée uniquement à la personne ou à l’entité à laquelle elle a été adressée, et contient des renseignements à caractère confidentiel et personnel. Toute diffusion ou reproduction non autorisée ou toute intervention entreprise relativement à son contenu est strictement interdite. Si vous avez reçu ce message par erreur, veuillez nous le signaler immédiatement afin que nous puissions effectuer la correction à nos dossiers. Veuillez par la suite supprimer ou détruire le contenu de la transmission originale ainsi que toute réponse ultérieure. Merci.
-----------------------------------------------------------------------