1 Reply Latest reply on Jul 24, 2007 9:38 AM by wayne baylor

    JBoss start up error

    shilpa tutika Newbie

      Hi,

      This is the error I amgetting with ejb 4.0.5.GA .Please assist..
      I could not get solution for this.

      ===============================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\..
      
       JAVA: C:\Program Files\Java\jdk1.5.0_07\bin\java
      
       JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
      ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      
       CLASSPATH: C:\Program Files\Java\jdk1.5.0_07\lib\tools.jar;C:\jboss-4.0.5.GA\b
      in\\run.jar
      
      ===============================================================================
      
      log4j:ERROR setFile(null,false) call failed.
      java.io.FileNotFoundException: C:\jboss-4.0.5.GA\server\default\log\boot.log (Ac
      cess is denied)
       at java.io.FileOutputStream.open(Native Method)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
       at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
       at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
       at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
      47)
       at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
      ava:123)
       at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
      ava:87)
       at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura
      tor.java:645)
       at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura
      tor.java:603)
       at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC
      onfigurator.java:500)
       at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
      r.java:406)
       at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
      r.java:432)
       at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon
      verter.java:460)
       at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
       at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:77)
       at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:338)
       at org.jboss.logging.Logger.<init>(Logger.java:96)
       at org.jboss.logging.Logger.getLogger(Logger.java:309)
       at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:166)
       at org.jboss.system.server.ServerImpl.init(ServerImpl.java:147)
       at org.jboss.Main.boot(Main.java:197)
       at org.jboss.Main$1.run(Main.java:490)
       at java.lang.Thread.run(Thread.java:595)
      16:43:00,671 INFO [Server] Starting JBoss (MX MicroKernel)...
      16:43:00,686 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Bra
      nch_4_0 date=200610162339)
      16:43:00,686 INFO [Server] Home Dir: C:\jboss-4.0.5.GA
      16:43:00,686 INFO [Server] Home URL: file:/C:/jboss-4.0.5.GA/
      16:43:00,686 INFO [Server] Patch URL: null
      16:43:00,686 INFO [Server] Server Name: default
      16:43:00,686 INFO [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
      16:43:00,686 INFO [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/defa
      ult/
      16:43:00,702 INFO [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log
      
      16:43:00,702 INFO [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\default\tm
      p
      16:43:00,702 INFO [Server] Root Deployment Filename: jboss-service.xml
      16:43:01,343 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
      16:43:01,343 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03
      ,Sun Microsystems Inc.
      16:43:01,343 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      16:43:02,983 INFO [Server] Core system initialized
      16:43:09,296 INFO [WebService] Using RMI server codebase: http://edgsa01:8083/
      16:43:20,124 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      log4j error: setFile(null,false) call failed.
      java.io.FileNotFoundException: C:\jboss-4.0.5.GA\server\default\log\server.log (
      Access is denied)
       at java.io.FileOutputStream.open(Native Method)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
       at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
       at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
       at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollin
      gFileAppender.java:206)
       at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
      47)
       at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja
      va:210)
       at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat
      or.java:140)
       at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi
      gurator.java:153)
       at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM
      Configurator.java:415)
       at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3
      84)
       at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
       at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
      :666)
       at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
      :616)
       at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
      :602)
       at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6
      97)
       at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jSer
      vice.java:643)
       at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.jav
      a:582)
       at org.jboss.logging.Log4jService.setup(Log4jService.java:460)
       at org.jboss.logging.Log4jService.createService(Log4jService.java:476)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBean
      Support.java:260)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
      eanSupport.java:243)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:978)
       at $Proxy0.create(Unknown Source)
       at org.jboss.system.ServiceController.create(ServiceController.java:330)
      
       at org.jboss.system.ServiceController.create(ServiceController.java:273)
      
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy4.create(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:490)
       at java.lang.Thread.run(Thread.java:595)
      log4j:ERROR Either File or DatePattern options are not set for appender [FILE].
      16:43:25,875 INFO [SocketServerInvoker] Invoker started for locator: InvokerLoc
      ator [socket://10.101.101.26:3873/]
      
      


      I wasted lot time for this.Please

      Any body can help??

      thanks.