You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Han Hong Fang (JIRA)" <ji...@apache.org> on 2009/06/03 10:12:07 UTC

[jira] Updated: (GERONIMO-3768) deployment failure is not logged in either geronimo.log or deployer.log

     [ https://issues.apache.org/jira/browse/GERONIMO-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Han Hong Fang updated GERONIMO-3768:
------------------------------------

    Attachment: GERONIMO-3768.patch

Problem is fixed.

Error message is added into log file for both deployment with console and with deploy.bat|sh. Deployment with gshell doesn't have the similar problem.

> deployment failure is not logged in either geronimo.log or deployer.log
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-3768
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3768
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1, 2.1.1, 2.1.4
>            Reporter: Kevan Miller
>            Assignee: Han Hong Fang
>             Fix For: 2.2
>
>         Attachments: GERONIMO-3768.patch
>
>
> Deployment failures should be logged, IMO. Yet there's no indication of the following deploy failure. The only failure info is in STDOUT for both server and deploy processes.
> coltrane:bin kevan$ ./deploy.sh deploy ~/Desktop/OS-Projects/artifactory-1.2.2/webapps/artifactory.war   ~/Desktop/OS-Projects/artifactory-1.2.2/webapps/geronimo-web.xml       Using GERONIMO_BASE:   /Users/kevan/downloads/geronimo-tomcat6-javaee5-2.1-SNAPSHOT
> Using GERONIMO_HOME:   /Users/kevan/downloads/geronimo-tomcat6-javaee5-2.1-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
> 12:42:02,694 WARN  [AbstractGBeanReference] GBean references are not using proxies
> org.apache.geronimo.kernel.config.LifecycleException: start of com.kevan/artifactory/1.2.2/war failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:551)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
>         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 javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
>         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>         at java.lang.Thread.run(Thread.java:613)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:514)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
>         ... 40 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration com.kevan/artifactory/1.2.2/war failed to start due to the following reasons:
>   The service J2EEApplication=null,j2eeType=WebModule,name=com.kevan/artifactory/1.2.2/war did not start because ContainerBase.addChild: start: LifecycleException:  java.io.IOException: Context did not start for an unknown reason
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:477)
>         ... 42 more
>     Error: Operation failed: start of com.kevan/artifactory/1.2.2/war
>     failed
>         Unknown start exception
>         Configuration com.kevan/artifactory/1.2.2/war failed to start due
>     to the following reasons:
>       The service
>     J2EEApplication=null,j2eeType=WebModule,name=com.kevan/artifactory/1.2.2/war
>     did not start because ContainerBase.addChild: start:
>     LifecycleException:  java.io.IOException: Context did not start for
>     an unknown reason

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.