4 Replies Latest reply on Dec 31, 2010 6:05 AM by Sakari Isoniemi

    Actions NA in JBoss AS 6 Final Admin Console

    Sakari Isoniemi Newbie

      Installed JBoss AS 6 Final to Windows 7 machine as User rights.

       

      In Admin console ( http://localhost:8080/admin-console )  only Metrics tab is available.
      Tabs Configuration, Control and Content are not available as if user has not rights to these functions."

       

      Result is same if JBoss and browser are started "As Administrator".

       

      How to enable Configuration, Control and Content functions ?

        • 1. Re: Actions NA in JBoss AS 6 Final Admin Console
          Shelly McGowan Apprentice

          Summary and Metrics Tabs are available for every resource.  Configuration, Control or Content tabs may be greyed out if the actions are not available for the feature.   This may be the situation you're encountering rather than a user permission issue.  Refer to the JBoss AS 6 Administration Console documentation for an overview of the User Interface and Resource and Navigation Panels.

          • 2. Re: Actions NA in JBoss AS 6 Final Admin Console
            Sakari Isoniemi Newbie

            Hi

             

            The application (.ear) is deployed thru Seam-gen ( v. 2.2.1.CR2 ) by me.
            So the Control etc. tabs should be available as they are in older JBoss AS versions.

             

            Maybe the cause is that the datasource (.ds) related to application is not deployed correctly
            ant that causes that no Control functions are available.

            • 3. Re: Actions NA in JBoss AS 6 Final Admin Console
              Nicklas Karlsson Master

              Looking at ROOT.war, one gets the impression that "Control" should be available if the application is deployed OK but "Configuration" is never for a WAR. Your war doesn't have the Control tab?

              • 4. Re: Actions NA in JBoss AS 6 Final Admin Console
                Sakari Isoniemi Newbie

                Hi

                 

                Application is normal J2EE structure with .war and .jar (ejb)

                 

                I can send servers  boot.log and server.log somewhere ( cannot add these files to this reply ).

                 

                Applications deploy to Embedded EJB3 JARs and Embedded Web Applications (WAR).

                Is these correct places.

                 

                DataSource (Derby) don't deploy

                 

                12:50:00,115 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///C:/Programs/Java/JBoss/jboss-6.0.0.Final/server/default/deploy/ElectrWireGen2-ds.xml state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///C:/Programs/Java/JBoss/jboss-6.0.0.Final/server/default/deploy/ElectrWireGen2-ds.xml
                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]
                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA]
                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA]
                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA]
                at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA]
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                 

                DEPLOYMENTS MISSING DEPENDENCIES:
                  Deployment "jboss-switchboard:appName=ElectrWireGen2,module=ElectrWireGen2.war" is missing the following dependencies:
                    Dependency "persistence.unit:unitName=ElectrWireGen2.ear/ElectrWireGen2.jar#ElectrWireGen2" (should be in state "Installed", but is actually in state "Configured")
                  Deployment "jboss.web.deployment:war=/ElectrWireGen2" is missing the following dependencies:
                    Dependency "jboss-switchboard:appName=ElectrWireGen2,module=ElectrWireGen2.war" (should be in state "Installed", but is actually in state "Create")
                  Deployment "persistence.unit:unitName=ElectrWireGen2.ear/ElectrWireGen2.jar#ElectrWireGen2" is missing the following dependencies:
                    Dependency "jboss.jca:name=ElectrWireGen2Datasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=ElectrWireGen2Datasource,service=DataSourceBinding' **")

                 

                DataSource definition is

                 

                <datasources>
                  
                   <local-tx-datasource>
                      <jndi-name>ElectrWireGen2Datasource</jndi-name>
                      <use-java-context>false</use-java-context>
                      <connection-url>jdbc:derby://localhost:1527/C\:/Programs/Java/db-derby-10.5.3.0-bin/ElectricWiringsDB</connection-url>
                      <driver-class>org.apache.derby.jdbc.EmbeddedDriver</driver-class>
                      <user-name>me</user-name>
                      <password>mine</password>
                   </local-tx-datasource>¨
                  
                   <mbean code="org.jboss.jdbc.DerbyDatabase" name="jboss:service=Derby">
                <attribute name="Database">C\:/Programs/Java/db-derby-10.5.3.0-bin/ElectricWiringsDB</attribute>
                   </mbean>  
                   
                </datasources>

                and Persistence.xml is

                 

                <persistence-unit name="ElectrWireGen2" transaction-type="JTA">
                      <provider>org.hibernate.ejb.HibernatePersistence</provider>
                      <jta-data-source>ElectrWireGen2Datasource</jta-data-source>
                      <properties>
                         <property name="hibernate.dialect" value="org.hibernate.dialect.DerbyDialect"/>
                         <property name="hibernate.hbm2ddl.auto" value="update"/>
                         <property name="hibernate.show_sql" value="true"/>
                         <property name="hibernate.format_sql" value="true"/>
                         <property name="jboss.entity.manager.factory.jndi.name" value="java:/ElectrWireGen2EntityManagerFactory"/>
                      </properties>
                   </persistence-unit>

                Deby libs are in folder ../server/default/lib