3 Replies Latest reply: Jun 29, 2008 10:59 AM by 807574 RSS

    Getting the below Exception after starting the components in JavaES5

    807574
      Hi All,

      I have Installed the JES5 "java_es-5_appsuite-windows-x86" on windows and after successfull intsallation and checking the option to start all the components getting the below error in the appserver-->domains-->domain1-->logs-->server.log file
      ===============================
      [#|2008-05-19T22:20:34.562+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|launcher.jvmoptions_exception
      com.sun.enterprise.admin.util.InvalidJvmOptionException: Invalid Jvm Option Files/Sun/JavaES5/appserver/domains/domain1/config/server.policy. Option must start with -.
           at com.sun.enterprise.admin.util.JvmOptionsElement.checkValidOption(JvmOptionsHelper.java:393)
           at com.sun.enterprise.admin.util.JvmOptionsElement.<init>(JvmOptionsHelper.java:280)
           at com.sun.enterprise.admin.util.JvmOptionsHelper.<init>(JvmOptionsHelper.java:69)
           at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:545)
           at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:414)
           at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)
           at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)
           
           
      [#|2008-05-19T22:03:56.125+0530|WARNING|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=16;|ADM1082:Creating the application reference failed - Detailed Message:
      com.sun.enterprise.deployment.backend.IASDeploymentException: Component not registered
           at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getRegisteredType(DeploymentServiceUtils.java:973)
           at com.sun.enterprise.deployment.phasing.PEDeploymentService.associate(PEDeploymentService.java:232)
           at com.sun.enterprise.deployment.phasing.PEDeploymentService.associate(PEDeploymentService.java:276)
           at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.createApplicationReference(ApplicationsConfigMBean.java:652)
           at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
           at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
           at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
           at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
           at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
           at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
           at $Proxy1.invoke(Unknown Source)
           at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
           at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
           at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
           at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
           at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
           at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
           at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
           at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
           at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
           at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
           at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
           at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235)
           at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)
      |#]

      [#|2008-05-19T22:04:03.718+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.deployment|_ThreadID=26;|DPL5109: EJBC - START of EJBC for [guessnumber]|#]

      [#|2008-05-19T22:04:03.718+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.deployment|_ThreadID=26;|Processing beans ...|#]

      [#|2008-05-19T22:04:03.781+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.deployment|_ThreadID=26;|DPL5110: EJBC - END of EJBC for [guessnumber]|#]

      [#|2008-05-19T22:04:03.937+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.deployment|_ThreadID=26;|Total Deployment Time: 4875 msec, Total EJB Compiler Module Time: 63 msec, Portion spent EJB Compiling: 1%
      Breakdown of EJBC Module Time: Total Time for EJBC: 63 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 63 msec (100%),
      |#]

      [#|2008-05-19T22:04:11.437+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.deployment|_ThreadID=26;|deployed with moduleid = guessnumber|#]

      [#|2008-05-19T22:04:11.718+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added guessnumber]|#]

      [#|2008-05-19T22:04:12.000+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2008-05-19T22:04:12.031+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=16;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/guessnumber]|#]

      [#|2008-05-19T22:04:12.046+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=16;|WEB0100: Loading web module [guessnumber] in virtual server [server] at [guessnumber]|#]

      [#|2008-05-19T22:04:15.734+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=16;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]

      [#|2008-05-19T22:04:23.593+0530|WARNING|sun-appserver-ee8.2|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1082:Creating the application reference failed - Detailed Message:
      com.sun.enterprise.deployment.backend.IASDeploymentException: Component not registered
           at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.getRegisteredType(DeploymentServiceUtils.java:973)
           at com.sun.enterprise.deployment.phasing.PEDeploymentService.associate(PEDeploymentService.java:232)
           at com.sun.enterprise.deployment.phasing.PEDeploymentService.associate(PEDeploymentService.java:276)
           at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.createApplicationReference(ApplicationsConfigMBean.java:652)
           at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
           at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)
           at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
           at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
           at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
           at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
           at $Proxy1.invoke(Unknown Source)
           at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
           at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
           at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
           at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
           at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
           at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
           at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
           at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
           at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
           at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
           at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
           at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235)
           at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)
      |#]
      =========================================================
      Any suggestions would be greatly appreciated.

      Thanks & regards
      Srikanth
        • 1. Re: Getting the below Exception after starting the components in JavaES5
          807574
          Hi UsingHibernateinJCAPS,

          See my posted (Oggie_Svennson).

          I have the same problem after starting the AppServer. I have asked on Windows Vista forum, that is my case, and they know nothing about Java, but a fellow gives me the URL of two bugs regarding our problem.

          If you know more than me, maybe you will find the solution.

          I am waiting for your answer.

          Thanking in advance,
          Oggie
          • 2. Re: Getting the below Exception after starting the components in JavaES5
            807574
            [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6541253]

            [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6402335]


            Hi,

            Here you have both bugs.

            Hoping it will help you,
            Oggie
            • 3. Re: Getting the below Exception after starting the components in JavaES5
              807574
              Solution

              Hi,

              It is what I guessed as the web page explains. The domain.xml file does not recognize any equipment name that has an acute in it. That was my case. So I have changed the name of my equipment and the problem was resolved when I installed the GlassFish again.

              Thanks for all of you about to visit my posts

              See you around,
              Oggie

              PS:

              Here I leave you the tag in the domain.xml that causes the problem,
              <jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="5" type="EMBEDDED">
                      <jms-host admin-password="admin" admin-user-name="admin" host="Jose" name="default_JMS_host" port="7676"/>
                    </jms-service>
              I hope this time you get it like me