14 Replies Latest reply on Sep 8, 2008 11:11 AM by Peter Johnson

    problem in understanding deployment

    just chill Newbie

      Hello ..
      I am working on a application which is deployed in jboss.
      I looked in to the war file and i can see all the class files are located in different jar files.But i can not see the static conets.like htm files and image files.I have searched entire jboss directory but did not found.
      How to check in which location the htm files are located and how the server is picking the htm files and image files.
      I have even searched entire system.
      But when i access the application it is working properly.
      But i can not see the location where it is picking the htm files.
      Could any one let me know how to check on this and which configuration it will say the location of these sources.

      Rgards,
      seek

        • 1. Re: problem in understanding deployment
          Rajesh Pelluru Newbie

          Hi,
          Please check in below location for all jsps/html files in your war file.

          <Jboss Installation directory>\server\default\tmp\deploy\
          tmp12863-exp.war

          Regards,

          Rajesh Pelluru

          • 2. Re: problem in understanding deployment
            just chill Newbie

            hi rajesh.

            i checked the deploy folder but i dont see tmp12863-exp.war file.
            what else i can do if dont find this file in deploy directory.what is the significance of this file?

            regards seek

            • 3. Re: problem in understanding deployment
              Rajesh Pelluru Newbie

              Hi,
              Have you checked under default\tmp\deploy folder?
              Which version of jboss are you using ?
              Are there any tmpXXXX.war files other than your war file in tmp\deploy folder?

              Regards,
              Rajesh Pelluru

              • 4. Re: problem in understanding deployment
                Peter Johnson Master

                There might not be any html files. Instead, the web content could be provided by JSP files (*.jsp), by servlets (which will be Java *.class files), or by any number of other file types depending on the framework used.

                List the contents of the war file using the jar utility (it's in java_home/bin) as follows:

                jar -tf xxx.war

                Post the output for jar and we will go from there.

                • 5. Re: problem in understanding deployment
                  just chill Newbie

                  HI,
                  Yes i checked in default/tmp/deploy folder.
                  I am using jboss 4.0.2 version ..old version..
                  i dont see any *.war files in default/tmp/deploy folder.

                  regards,
                  seek

                  • 6. Re: problem in understanding deployment
                    just chill Newbie

                    I have checked in test environment.I can see the htm files which it is displaying.But in the prod environment i can not see these htm files.Atleast it has to show image files which the portal is using.
                    i can only see the jboss directory and the jar files which have classes files and xml xslt files.
                    but there is not even a single image and htm files the portal is using.
                    How do i know where these are located?

                    • 7. Re: problem in understanding deployment
                      Peter Johnson Master

                      This is the first time you mentioned the word "portal". Are you running JBoss Portal? And did you load an HTML file into CMS? Is that the HTML file you are attempting to find? If so, that file is stored in the database.

                      • 8. Re: problem in understanding deployment
                        just chill Newbie

                        There are several softwares involved.JBOSS , Novell Composer and Novell Director.
                        How do i know whether it is JBOSS portal or normal jboss server.
                        If these files are in database then how do i check them in DB.?
                        Can you give some clues on this...
                        I think CMS is also there...

                        • 9. Re: problem in understanding deployment
                          Peter Johnson Master

                          Your post started with a war file and you wanting to determine where the pages displayed by the app were located.

                          Then you threw in the term "portal".

                          Now you throw in Novell Composer and Director.

                          At this point I don't even know what you have (how many other things have you not told us about?)

                          Are you creating the web pages under Composer/Director? If so, then ask Novell what happens to them - it definitely is not a JBoss issue.

                          • 10. Re: problem in understanding deployment
                            just chill Newbie

                            Hi Peter,
                            First l am sorry for giving information step by step.Let me explain what is my problem.
                            I got an application for maintenance.
                            And i am trying to understand as i need to some changes.
                            I have to some updates to an existing htm files to fix some bugs.When i tried to look in to the application i can not the htm files which the portal is showing.Even the login.htm file.
                            I tried to search these files in the entire system where the server is residing.
                            There is no documentation of the application.
                            And normally for a java application i look in to web.xml to know main login page .But here it did not mentioned.I tried to look in to war file and even there i can not see the htm files.
                            All i have to find out is where these files are located , how the portal is getting these pages.
                            How these pages is created i am not known.But Novell Composer /Director is there and the portal is using them.
                            I agree you point that it might reside in DB and i have not checked in DB.But if i see DB i am not sure how to know where the htm files are stored and from where the portal is picking them.
                            And the application is deployed in JBOSS 4.0.2

                            regards
                            seek

                            • 11. Re: problem in understanding deployment
                              Peter Johnson Master

                              I looked up Director - it is a portal. Composer appears to be some kind of transformation service.

                              Where did you get the HTML file that you changed? Did you create it by saving the web page in the browser? If you did, good luck finding the original data on which the page was created. Based on what I read about Composer that page never existed until Composed generated it based on some data somewhere. Of course, you would like to know where "somewhere" is. For that I will have to send you to Novell - it's their product that is doing the page generation, they might have some clue as to where you could look.

                              • 12. Re: problem in understanding deployment
                                just chill Newbie

                                Hi Peter,

                                Really happy to tell you that i saw the htm and image files which are used in portal in the DB.
                                Thanks for giving the information of lookng into DB.I have to check the director documentation of how they did this stuff.
                                My task is to identify from where the portal is picking these htm or image files when they are not existing in the server.
                                As these are in db i could not got these when i did search.
                                The concept is Director appln sits on JBOSS and it is storing the htm files in a table CMDOCUMENTS in DB.All the tables which starts with "CM" are from director.
                                but i still have to confirm by doing some changes..

                                • 13. Re: problem in understanding deployment
                                  just chill Newbie

                                  HI..

                                  I am confirmed that the htm files are picking up from DB.
                                  Now when i replace the old war file with new war file and try to access the application i am getting the following exception:--
                                  Portlets are not showing giving portlet exception in the main page.Showing portlet registration exception

                                  what could be the cause of the issue.

                                  Thanks
                                  seek

                                  • 14. Re: problem in understanding deployment
                                    Peter Johnson Master

                                    You really should ask Novell - it's their product and their error message.