Menu

#5 The jboss 5.1.0.GA can\'t deploy LeanPM

Installation
open
nobody
5
2010-10-05
2010-10-05
No

Hi,

I am tryingt to install de LeanPM in Windows XP by using the Postgres DDB and the JBOSS 5.1.0.GA and even the JBOSS 4.2.3.GA and there is an error which appears on both when I try to start the jboss regarding Lean deployment.

Attached you will find the log. I don\'t know what to do. Could you help me out on this?

Rgds,

Carlos Liendo

Discussion

  • Carlos Enrique Liendo Grillo

    Hi Cedric,

    The log corresponds to jboss 4.2.3.GA. The LeanPM version is 0.5.1.1 (the last one shown on sourceforge).

    Regards,

    Carlos Enrique Liendo

     
  • Carlos Enrique Liendo Grillo

     
  • Carlos Enrique Liendo Grillo

     
  • Carlos Enrique Liendo Grillo

    Hi Cedric,

    I deleted the files you mentioned in your last comment however tghe problem remains.

    Rgds,

    Carlos Liendo

     
  • Cedric Neve

    Cedric Neve - 2010-10-06

    Hello Carlos,

    Could you please tell me what files remain in the deploy directory of your server (the ones related to leanpm at least) ? Could you also attach a new log file of your server startup ?

    With this I should be able to figure out what is still going wrong.

     
  • Carlos Enrique Liendo Grillo

    Hi Cedric,

    I already attached the files you asked me for.

    Regards,

    Carlos Enrique Liendo

     
  • Cedric Neve

    Cedric Neve - 2010-10-06

    Hello again Carlos,

    Busy day ;-)

    OK, I spotted three errors. The first one is that I did not see the mail session in the deploy. The other errors are because there are undocumented steps in the installation.txt. Here is what is missing:

    2bis - Add the postgresql driver to your JBoss. This driver (for example postgresql-8.3-605.jdbc3.jar) should be present in your postgresql server installation). You should copy it in the /lib of your JBoss server (that will be server/default/lib in a basic installation).
    2 ter - Adapt the logging configuration to avoid most of the useless debug. In the /conf of your JBoss server, there is a file called jboss-log4j.xml. Please add the categories included in the log4j.xml in the LeanPM zip.

    Please tell me if this fixed it and send another log if it did not.

     
  • Carlos Enrique Liendo Grillo

    Hi Cedric,

    I am still having troubles. Of course, now the logfile is smaller so it means there less problems.

    It fails trying to deploy the lean app.

    Attached you will find the new jboss logfile.

    Rgds,

    CL

     
  • Carlos Enrique Liendo Grillo

     
  • Cedric Neve

    Cedric Neve - 2010-10-07

    Hello,

    OK, we are getting close to a solution. I noticed three things in the logs you provided:
    - Your server seems to be in debug mode. This is not necessary to find the issue you are currently facing. By being less verbose, it would also help finding the issue.
    - There seems to be a problem with the configuration of your JMS persistence but this does not affect LeanPM (or your server if you do not use JMS persistence).
    - LeanPM cannot be deployed because there are missing tables for JBPM. There are two ways to fix this. The first one is to create the tables but it is quite complicated. The second one is to remove the JBPM usage since it is not necessary at this moment for LeanPM.

    Here is how to disable the JBPM usage in LeanPM:
    - Open the oniryx.leanpm.ear (it is a zip file, rename it to a .zip if necessary)
    - Open the oniryx.LeanPM-0.1-SNAPSHOT.war (which is also a .zip)
    - In that archive, you will find a WEB-INF/components.xml that you should edit.
    - Comment the bpm part. This is done by replace it by:
    <!--bpm:jbpm>
    <bpm:process-definitions>
    <value>clientRequest.jpdl.xml</value>
    </bpm:process-definitions>
    </bpm:jbpm-->
    - Save that edited components.xml at the same place in the .war
    - Save the .WAR at the same place in the .ear (rename it to .war before that if you changed it extension to .zip)
    - Rename the .ear it to .ear before that if you changed it extension to .zip
    - Put that modified .ear in the /deploy of your JBoss server and restart that server.

     
  • Carlos Enrique Liendo Grillo

    Obtained after I introduced the data to register a new user

     
  • Carlos Enrique Liendo Grillo

    Hi Cedric,

    Now we are one step forward, however I don't have any user to get into the app. Well, I first tried to use user =admin & password=admin however it didn't work. Then I tried to register a new user and I got the outcome shown in the last file attached to this case.

    Rgds,

    CL

     
  • Carlos Enrique Liendo Grillo

    Hi Cedric,

    Now we are one step forward, however I don't have any user to get into the app. Well, I first tried to use user =admin & password=admin however it didn't work. Then I tried to register a new user and I got the outcome shown in the last file attached to this case.

    Rgds,

    CL

     
  • Cedric Neve

    Cedric Neve - 2010-10-07

    Hello Carlos,

    This is interesting because you are hitting every problem in the book. Some are new and it is great that you noticed them for other users. Some are managed by the installation document. The error you are running into now is covered by step 4 of the installation document:
    4 - Deploy the mail session (= adapt the oniryx.lean-mail-service.xml with your own smtp settings and copy it to the /deploy of your JBoss server (again, that will be in server/default/deploy in a basic installation))

    As you can see in the stacktrace, it does not find the LeanPMMail session. If the installation step it is not clear, please comment.

    Best regards,
    Cedric

     
  • Cedric Neve

    Cedric Neve - 2010-10-07

    Hello again,

    Another thing I wanted to point out. Your comments are most valuable to us in the sense that not only does it document the installation process but it also helps us spot the flaws of the installation instructions and what needs to be added or explained in further details.

    So, please, continue as it helps us improve LeanPM.

     
  • Carlos Enrique Liendo Grillo

    It is really incredible, after doing so many changes I am still having troubles. It is frustrating. I really appreciate you rhelp, I was thinking that it could be straight forward but it seems to be this is more complicated than I thought.

    Rgds,

    Carlos Liendo

     
  • Carlos Enrique Liendo Grillo

     
  • Venkat Akkineni

    Venkat Akkineni - 2010-10-08

    Carlos

    Were you able to get the application running ?? You really are stumbling on every problem in the book. Let us know if you are still facing troubles. Your last comment didn't mention anything spectific.

    Venkat

     
  • Carlos Enrique Liendo Grillo

    Cedric,

    I was not able to make it work. I am stuck trying to create a new user because I don't have the admin user login and password. I attached the information I got from the web with the exception info, etc (debug2.seam.htm). I know we are close.

    Regards,

    Carlos Enrique Liendo

     
  • Venkat Akkineni

    Venkat Akkineni - 2010-10-10

    Carlos

    I think you don't have your SMTP server configured which is why you are seeing the error. If you don't have a SMTP server available to you google lets its users to make use of gmail's smtp server. The procedure to do this is listed in the following wiki post. Once you have the smtp configured, try registering a user.

    https://sourceforge.net/apps/mediawiki/leanpm/index.php?title=Building_LeanPM#Configuring_Mail_Service

    There is no default user name and password set yet. You could add a user through PGAdmin III if you wish to take that route. Let us know if you were able to make it work either way.

    Venkat

     
  • Carlos Enrique Liendo Grillo

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.