2 Replies Latest reply on Jul 27, 2010 1:55 PM by Rukmini V

    Server.properties issue with jboss 5.1

    Rukmini V Newbie

      Hello

       

      We are trying to access the server.properties in our webproject/web-inf/classes folder. We get the following error cannot access the server.properties.

      We are facing this issue only in Jboss 5.1. There are no issues in jboss4.3

       

      can somebody please help me on this one

       

      thanks

      rukmini

        • 1. Re: Server.properties issue with jboss 5.1
          jaikiran pai Master

          What is server.properties and please post the entire exception stacktrace. Also please post any relevant code.

          • 2. Re: Server.properties issue with jboss 5.1
            Rukmini V Newbie

            server.properties is a property file in the web-inf/classes folder

             

             

            13:48:00,956 INFO [TomcatDeployment] deploy, ctxPath=/caliber

            13:48:01,050 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@1911ec8[domain=default, server=default, name=default]

            13:48:01,081 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

            13:48:01,113 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009

            13:48:01,128 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBPAPP_5_0_0_GA date=200910202128)] Started in 1m:22s:611ms

            13:53:22,603 ERROR [ServerPropertiesHolder] Could not access the server.properties file

            com.sbc.caliber.common.exceptions.ServerApplicationException

             

            : Could not access the server.properties file

            at com.sbc.caliber.server.utilities.ServerPropertiesHolder.initialize(

            ServerPropertiesHolder.java:67)

            at com.sbc.caliber.server.utilities.ServerPropertiesHolder.getProperties(

            ServerPropertiesHolder.java:32)

            at com.sbc.caliber.server.utilities.ServerPropertiesHolder.getProperty(

            ServerPropertiesHolder.java:42)

            at ejb.StoreKeeperBean.execute(

            StoreKeeperBean.java:112)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(

            Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

            at java.lang.reflect.Method.invoke(Unknown Source)

            at org.jboss.invocation.Invocation.performCall(

            Invocation.java:386)

            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(

            StatelessSessionContainer.java:233)

            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(

            CachedConnectionInterceptor.java:156)

            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(

            StatelessSessionInstanceInterceptor.java:173)

            at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(

            CallValidationInterceptor.java:63)

            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(

            AbstractTxInterceptor.java:121)

            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(

            TxInterceptorCMT.java:350)

            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(

            TxInterceptorCMT.java:181)

            at org.jboss.ejb.plugins.SecurityInterceptor.process(

            SecurityInterceptor.java:228)

            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(

            SecurityInterceptor.java:211)

            at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(

            PreSecurityInterceptor.java:97)

            at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(

            PreSecurityInterceptor.java:81)

            at org.jboss.ejb.plugins.LogInterceptor.invoke(

            LogInterceptor.java:205)

            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(

            ProxyFactoryFinderInterceptor.java:138)

            at org.jboss.ejb.SessionContainer.internalInvoke(

            SessionContainer.java:650)

            at org.jboss.ejb.Container.invoke(

            Container.java:1092)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(

            Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

            at java.lang.reflect.Method.invoke(Unknown Source)

            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

            ReflectedDispatcher.java:157)

            at org.jboss.mx.server.Invocation.dispatch(

            Invocation.java:96)

            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:668)

            at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(

            UnifiedInvoker.java:232)

            at org.jboss.remoting.ServerInvoker.invoke(

            ServerInvoker.java:897)

            at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(

            ServerThread.java:768)

            at org.jboss.remoting.transport.socket.ServerThread.processInvocation(

            ServerThread.java:721)

            at org.jboss.remoting.transport.socket.ServerThread.dorun(

            ServerThread.java:575)

            at org.jboss.remoting.transport.socket.ServerThread.run(

            ServerThread.java:234)