7 Replies Latest reply on Feb 2, 2012 11:13 AM by raghav.raman

    Jboss 6.1.0 startup stacktrace

    fabien Merle Newbie

      Hi All,

       

      I've got a stacktrace when the jboss start.

      A file transaction.log can't be created.

       

      Can someone tell me where in can find who create this file ?

       

      Here the Stacktrace :

       

       

      INFO   | jvm 1    | 2012/01/24 18:23:00 | 18:23:00,041 INFO  [JMXKernel] Legacy JMX core initialized
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,658 ERROR [STDERR] log4j:ERROR setFile(null,true) call failed.
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,659 ERROR [STDERR] java.io.FileNotFoundException: transaction.log (Permission denied)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,659 ERROR [STDERR]           at java.io.FileOutputStream.openAppend(Native Method)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,659 ERROR [STDERR]           at java.io.FileOutputStream.<init>(FileOutputStream.java:192)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,659 ERROR [STDERR]           at java.io.FileOutputStream.<init>(FileOutputStream.java:116)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,660 ERROR [STDERR]           at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:639)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:504)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at org.jboss.logmanager.log4j.BridgeRepositorySelector.start(BridgeRepositorySelector.java:56)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,661 ERROR [STDERR]           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at java.lang.reflect.Method.invoke(Method.java:597)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,662 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,663 ERROR [STDERR]           at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,664 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,665 ERROR [STDERR]           at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,666 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,667 ERROR [STDERR]           at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,668 ERROR [STDERR]           at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,669 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,670 ERROR [STDERR]           at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
      INFO   | jvm 1    | 2012/01/24 18:23:09 | 18:23:09,671 ERROR [STDERR]           at java.lang.Thread.run(Thread.java:662)
      
      

       

       

      Thanks by advance.

       

      Regards,

       

      Fabien.

        • 1. Re: Jboss 6.1.0 startup stacktrace
          raghav.raman Newbie

          Hey Fabien

           

          Did you reach a conclusion on this issue,

          I am in a similar situation, so would like to know..

           

          Thanks in advance

          Venkat

          • 2. Re: Jboss 6.1.0 startup stacktrace
            fabien Merle Newbie

            Hi Venkat,

             

            I'm always work on it and don't have solution for the moment.

             

            I let you know when I have more informations.

             

            Regards.

             

            Fabien.

            • 3. Re: Jboss 6.1.0 startup stacktrace
              raghav.raman Newbie

              Hey Fabien,

               

              Just to let you know,

               

              I faced this problem in Ubuntu Linux,

              When i start the JBoss instance using a user that has a proper home folder then I do not see this problem.

              If you are blocked because of this problem then you may want to start the jboss instances using a user with home folder set.

               

              Regardless I would like to know and investigate what is trying to write the transaction.log in the first place and what the importance of this file as well

               

               

              Thanks

              Venkat

              • 4. Re: Jboss 6.1.0 startup stacktrace
                fabien Merle Newbie

                Hi Venkat,

                 

                I've got this problem on a redhat.

                I also change many configuration files in order to costumize the jboss and lunch it with an non root user.

                I try to launch it with root user and I don't have the stacktrace and found the file in the path where the jboss was started.

                 

                I parse all the xml and properties files and not found this log file.

                 

                I think it can come from a propertie file store in a jar file.

                 

                So for the moment I try to uncompress jar files one by one and try to find the good file.

                 

                Regards,

                 

                Fabien.

                • 5. Re: Jboss 6.1.0 startup stacktrace
                  fabien Merle Newbie

                  Hi Venkat,

                   

                  I found a file in the log4j of jbossjts.jar and we have :

                   

                  #

                  # JBoss, Home of Professional Open Source

                  # Copyright 2006, Red Hat Middleware LLC, and individual contributors

                  # as indicated by the @author tags.

                  # See the copyright.txt in the distribution for a

                  # full listing of individual contributors.

                  # This copyrighted material is made available to anyone wishing to use,

                  # modify, copy, or redistribute it subject to the terms and conditions

                  # of the GNU Lesser General Public License, v. 2.1.

                  # This program is distributed in the hope that it will be useful, but WITHOUT A

                  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A

                  # PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.

                  # You should have received a copy of the GNU Lesser General Public License,

                  # v.2.1 along with this distribution; if not, write to the Free Software

                  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,

                  # MA  02110-1301, USA.

                  #

                  # (C) 2005-2006,

                  # @author JBoss Inc.

                  #

                  # Default LOG4J Configuration

                  # Arjuna Technologies Ltd.

                  # $Id: log4j.properties 2342 2006-03-30 13:06:17Z  $

                   

                   

                  log4j.category.com.arjuna=INFO, default, stdout

                   

                   

                  log4j.appender.stdout=org.apache.log4j.ConsoleAppender

                  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

                  log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

                  log4j.appender.stdout.Threshold=WARN

                   

                   

                  log4j.appender.default=org.apache.log4j.RollingFileAppender

                  log4j.appender.default.File=transaction.log

                  log4j.appender.default.MaxFileSize=500KB

                  log4j.appender.default.MaxBackupIndex=2

                  log4j.appender.default.layout=org.apache.log4j.PatternLayout

                  log4j.appender.default.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

                   

                   

                  So the transaction.log is here.

                   

                  I try to change the path of the log file but I have also the stacktrace.

                   

                  I try to have a look to the jboss-log4j file.

                   

                  Regards,

                   

                  Fabien.

                  • 6. Re: Jboss 6.1.0 startup stacktrace
                    fabien Merle Newbie

                    Hi Venkat,

                     

                    I do a mistake.

                    I finaly add my log path in the log4j.properties

                    log4j.appender.default.File=/logs/transaction.log

                     

                    zip the archive replace the old jar and restart the jboss.

                     

                    It start now without stacktrace and the file transaction.log apear in the folder /logs/

                     

                     

                    I hope it work for you.

                     

                    Regards,

                     

                    Fabien.

                    1 of 1 people found this helpful