1 2 3 Previous Next 39 Replies Latest reply on Mar 7, 2011 2:48 AM by jayn123 Go to original post
      • 15. Re: JBoss does not start properly
        adin_mamr

        I got it! I remove the JCR_CONFIG table and now the server runs fine.

         

        Thank you all for your assistance. Have a good day!

        • 16. Re: JBoss does not start properly
          adin_mamr

          Hi,

           

          Now I have this error, the css can't be read.

           

          18:28:11,237 ERROR [SkinService] Invalid <CSS FILE> configuration, please check

          the @import url(Stylesheet.css) in /portal/resource/SimpleSkin/web_BannerPortlet

          /SimpleSkin/web_NavigationPortlet/1295864799424.css , SkinService could not load

          the skin /gatein-sample-skin%20-%20Copy/skin/webPortlet/webui/component/UIBanne

          rPortlet/Stylesheet.css

          18:28:11,268 WARN  [MainResourceResolver] Could not resolve /gatein-sample-skin%

          20-%20Copy resource for path /gatein-sample-skin%20-%20Copy/skin/webPortlet/webu

          i/component/UIPortalNavigationPortlet/Stylesheet.css

          18:28:11,284 ERROR [SkinService] Invalid <CSS FILE> configuration, please check

          the @import url(Stylesheet.css) in /portal/resource/SimpleSkin/web_BannerPortlet

          /SimpleSkin/web_NavigationPortlet/1295864799424.css , SkinService could not load

          the skin /gatein-sample-skin%20-%20Copy/skin/webPortlet/webui/component/UIPorta

          lNavigationPortlet/Stylesheet.css

          18:30:08,018 INFO  [STDOUT] Creating a new session of the 'sample-ext'

          18:30:08,018 INFO  [portal:PortalSessionListener] portal' portal

           

          Any idea?

          • 17. Re: JBoss does not start properly
            theute

            Try to get rid of the spaces in: gatein-sample-skin%20-%20Copy

            • 18. Re: JBoss does not start properly
              adin_mamr

              Solved. Turns out I have two war files that have the css they need. remove one, now it's working.

              • 19. Re: JBoss does not start properly
                adin_mamr

                Hi,

                 

                I have another questions. We know that JBoss server is able to start anywhere we copied the folder, right? Here I have an issue.

                 

                With GateIn Portal, it seems from the log that even we copy the folder, for example, let me just give the situation:

                 

                (A) Original folder location: /root/Gatein

                (B) New Location for that original copy: /root/copy/GateIn

                 

                After I shutdown the (A) copy, and start the (B) copy, it seems that the deployments/folders from (B) is merged to (A), and I don't want that. Because if we copy the folder to another machine, then it is going to be a problem.

                 

                Is there any properties file where I can edit and remove the properties of merging the deployments?

                 

                Appreciate your feedback. Thanks a lot in advance.

                • 20. JBoss does not start properly
                  mstruk

                  It sounds like you have JBOSS_HOME environment variable set to /root/Gatein. (echo $JBOSS_HOME).

                   

                  Try to unset it (unset JBOSS_HOME).

                  • 21. Re: JBoss does not start properly
                    adin_mamr

                    Hi Marko,

                     

                    It's running on Win 7, and I didn't set any JBOSS_HOME in the environment variables.

                    • 22. JBoss does not start properly
                      mstruk

                      Is the wrong location mentioned anywhere in your log files?

                       

                      Can you post here a few lines of your log - starting a few lines before the first occurence of the wrong location?

                      • 23. Re: JBoss does not start properly
                        adin_mamr

                        Is there any location to modify the "swap directory"? It seems that the deployment are in this directory.

                        • 24. Re: JBoss does not start properly
                          mstruk

                          I see what your problem is. By default GateIn stores its current configurations into JCR database. That apparently includes absolute paths to directories.

                           

                          There is a way around it - by configuring GateIn not to store the configuration, and to read it from a specified XML file instead.

                           

                          Here are the instructions: http://community.jboss.org/wiki/RunningtwoseparateGateIninstances.

                          • 25. JBoss does not start properly
                            jayn123

                            I really need your help, i am very new to Gatein.

                            I have downloaded GateIn-3.1.0-FINAL-jbossas.tar.gz from http://www.jboss.org/gatein/downloads.html.

                            I have extracted that zip file in my C directory.

                            From bin/run.bat i can execute it, but can i run that server through netbeans?

                            I am trying to add server through netbeans but it is giving me java.lang.OutOfMemoryError: PermGen space

                             

                            To configure to mysql database:

                            I am creating gatein_portal and jdbcidm_portal

                            I am making changes in GateIn-3.1.0-GA\server\default\conf\gatein\configuration.properties file

                             

                            # JCR

                            gatein.jcr.config.type=local

                            gatein.jcr.datasource.name=java:jdbcjcr

                            gatein.jcr.datasource.dialect=auto

                            gatein.jcr.datasource.driver=com.mysql.jdbc.Driver

                            gatein.jcr.datasource.url=jdbc:mysql://localhost:3306/jdbcjcr_${name}

                            gatein.jcr.datasource.username=xxxx

                            gatein.jcr.datasource.password=xxxx

                             

                            # IDM

                            gatein.idm.datasource.name=java:jdbcidm

                            gatein.idm.datasource.driver=com.mysql.jdbc.Driver

                            gatein.idm.datasource.url=jdbc:mysql://localhost:3306/jdbcidm_${name}

                            gatein.idm.datasource.username=xxxx

                            gatein.idm.datasource.password=xxxx

                             

                            GateIn-3.1.0-GA\server\default\deploy\gatein.ear\02portal.war\WEB-INF\conf\jcr\jcr-configuration.xml

                            <property name="driverClassName" value="com.mysql.jdbc.Driver"/>

                                      <property name="url" value="jdbc:mysql://localhost:3306/mygateindb${container.name.suffix}"/>

                                      <property name="username" value="xxxx"/>

                                      <property name="password" value="xxxx"/>

                             

                            When i execute run.bat file, it is creating database with tables.

                             

                            But next time when i am again executing run.bat file, it gives me error..

                            Is it i am going somewhere wrong?

                            Some thing else need to do. Once all table is created in database, is there is any setting by which next time it should not create all tables, because if i will execute run.bat it will try to create all tables again and might be because of that it gives error.

                             

                            Please help me. Its very urgent. I need your help.

                            • 26. JBoss does not start properly
                              rraposa

                              Jay - you are getting an OutOfMemory error. You need to increase your PermGen size, probably both when you run Netbeans and also when you run JBoss within Netbeans. Do you know how to do that?

                              • 27. JBoss does not start properly
                                jayn123

                                No really i dont have any idea, will you please tell me?

                                Need to install jboss separately or it is within that gatein only? I have downloaded GateIn-3.1.0-FINAL-jbossas.tar.gz file.

                                Please tell me steps to do so.

                                • 28. JBoss does not start properly
                                  rraposa

                                  Jay,

                                   

                                  Open up the file /jboss-as/bin/run.conf and all the settings for Java memory are in there. Increase the value for -XX:MaxPermSize.

                                   

                                  Rich

                                  • 29. JBoss does not start properly
                                    jayn123

                                    Hi Rich,

                                     

                                    If i want to integrate GateIn-3.1.0-FINAL-jbossas.tar.gz with netbeans IDE than how to do it. Is it possible?