1 2 Previous Next 21 Replies Latest reply on Aug 8, 2006 10:29 AM by cypnsv Go to original post
      • 15. Re: problem starting server when using my .war
        cypnsv



        should i change the load-on-startup attribute

        • 16. Re: problem starting server when using my .war
          peterj

          It looks like there are two compiler threads running and two garbage collection threads. So it appears that the JSPs in the war are being compiled, those compiles are generating a lot of garbage, and the garbage collector is running. Have you set any heap settings or are you using the defaults in run.bat/run.sh? Try setting the -verbose:gc JVM argument, that will tell you how much time you are spending in garbage collection.

          You could change load on startup, but then would would simply be delaying the pause until the first user accesses a page.

          • 17. Re: problem starting server when using my .war
            cypnsv

            Thanks for the help and i am very happy with the support.

            my jboss server does't hang any more

            I changed load-on-startup value to 0 and it worked fine.

            But now i have a different problem, i am not able to create connection factories.
            Can you please tell me how i can create connection factories in jboss.


            • 18. Re: problem starting server when using my .war
              jaikiran

               

              i am not able to create connection factories.


              Do you mean, you want to configure a connection factory? If yes, have a look at:

              http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory

              http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJCACommon



              • 19. Re: problem starting server when using my .war
                cypnsv

                This is how the connection factory is setup in weblogic in config.xml .

                <JMSConnectionFactory JNDIName="AlarmMgrConnectionFactory"
                 Name="AlarmMgrConnectionFactory" Targets="myserver"/>
                 <JMSConnectionFactory DefaultDeliveryMode="Non-Persistent"
                 JNDIName="EventConnectionFactory" Name="EventConnectionFactory" Targets="myserver"/>
                 <JMSConnectionFactory
                 JNDIName="mydomain.JMSTestQueueConnectionFactory"
                 Name="JMSTestQueueConnectionFactory" Targets="myserver"/>
                 <JMSConnectionFactory
                 JNDIName="mydomain.JMSTestTopicConnectionFactory"
                 Name="JMSTestTopicConnectionFactory" Targets="myserver"/>
                 <JMSConnectionFactory JNDIName="NotificationConnectionFactory"
                 Name="NotificationConnectionFactory" Targets="myserver"/>
                 <JMSConnectionFactory DefaultTimeToLive="15000" Name="TLIConnectionFactory"/>
                 <JMSConnectionFactory DefaultDeliveryMode="Non-Persistent"
                 DefaultTimeToLive="15000" JNDIName="TLIConnectionFactory"
                 Name="TLINotifyConnectionFactory" Targets="myserver"/>
                 <JMSConnectionFactory DefaultDeliveryMode="Non-Persistent"
                 DefaultTimeToLive="15000" JNDIName="CacheConnectionFactory"
                 Name="CacheConnectionFactory" Targets="myserver"/>



                Can you tell how i can configure this in jboss


                • 20. Re: problem starting server when using my .war
                  cypnsv

                  Any help , Please update

                  • 21. Re: problem starting server when using my .war
                    cypnsv

                    please update

                    1 2 Previous Next