| 
    
        
        
          3:
          Re:  Re:  How to build latest LAMS from source?
        
	  
        
     | 
  
  
    
      In response to 2
    
   |  
  04/29/09 05:05 AM | 
  
  
    
      
     | 
  
 
  
    
  
    
      Jun-Dir, thank you very much!
 I got the following projects from CVS with "lams2_3" tag: 
lams_admin 
lams_build 
lams_central 
lams_common 
lams_contentrepository 
lams_learning 
lams_monitoring 
lams_tool_chat 
lams_tool_deploy 
lams_tool_forum 
lams_tool_gmap 
lams_tool_lamc 
lams_tool_laqa 
lams_tool_larsrc 
lams_tool_nb 
lams_tool_notebook 
lams_tool_sbmt 
lams_tool_scribe 
lams_tool_survey 
lams_tool_task 
lams_tool_vote 
lams_www 
lams_gradebook 
lams_tool_spreadsheet 
lams_tool_daco 
lams_tool_wiki 
lams_tool_images 
Then i made deployment. JBOSS starts, but i can't access LAMS:( 
/bin/run.bat said: 
2009-04-29 14:42:25,375 ERROR [MainDeployer] could not start deployment: file:/C 
:/jboss-4.0.2/server/default/deploy/lams.ear/ 
org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.2/server/defaul 
t/tmp/deploy/tmp6657563649172545338lams-admin-exp.war/ deployment failed 
... 
... 
--- Incompletely deployed packages --- 
org.jboss.deployment.DeploymentInfo@e081b33c { url=file:/C:/jboss-4.0.2/server/d 
efault/deploy/lams.ear/lams-admin.war } 
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@1f7cdc7 
  status: Deployment FAILED reason: URL file:/C:/jboss-4.0.2/server/default/tmp/ 
deploy/tmp6657563649172545338lams-admin-exp.war/ deployment failed 
state: FAILED 
... 
... 
--- MBeans waiting for other MBeans --- 
ObjectName: jboss.web.deployment:war=lams-admin.war,id=-528370884 
  State: FAILED 
  Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.2/ser 
ver/default/tmp/deploy/tmp6657563649172545338lams-admin-exp.war/ deployment failed 
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- 
ObjectName: jboss.web.deployment:war=lams-admin.war,id=-528370884 
  State: FAILED 
  Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.2/ser 
ver/default/tmp/deploy/tmp6657563649172545338lams-admin-exp.war/ deployment failed 
Will be very appreciate for any help! 
Sincerely, 
Alexander
       
        Posted by Alex Lifanov
       
     
   | 
 
         
       | 
    
    
    
      | 
        
       | 
    
    
    
      
        
    
  
    
          
     | 
    
        
        
          5:
          Re:  Re:  Re:  Re:  How to build latest LAMS from source?
        
	  
        
     | 
  
  
    
      In response to 4
    
   |  
  04/29/09 06:36 AM | 
  
  
    
      
     | 
  
 
  
    
  
    
      Jun-Dir, i sent you logs on email.
 I saw a following mysql error there, repeated couple of times: 
Error running SQL at statement number 1 "ALTER TABLE lams_user ADD COLUMN timezone TINYINT" 
and 
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Duplicate column name 'timezone' 
and this: 
2009-04-29 14:42:15,218 ERROR [com.tacitknowledge.util.migration.jdbc.WebAppJNDIMigrationLauncher] java.lang.RuntimeException: Migration exception caught during migration 
and this one in the end: 
ERROR [org.apache.catalina.core.StandardContext] Error listenerStart 
2009-04-29 14:42:25,343 ERROR [org.apache.catalina.core.StandardContext] Context [/lams/admin] startup failed due to previous errors
       
        Posted by Alex Lifanov
       
     
   | 
 
         
       | 
    
    
    
      | 
        
       | 
    
    
    
      | 
        
       | 
    
    
    
      
        
    
  
    
          
     | 
    
        
        
          8:
          Re:  Re:  Re:  Re:  Re:  Re:  Re:  How to build latest LAMS from source?
        
	  
        
     | 
  
  
    
      In response to 7
    
   |  
  04/29/09 07:15 AM | 
  
  
    
      
     | 
  
 
  
    
  
    
      lams_common - in src/java/org/lamsfoundation/lams/dbupdates, patch0017_updateFrom23.sql shouldn't be there.  You can just delete that file and recompile.
 If you update the whole project from cvs, it's best to update the others as well - there are probably dependencies.
       
        Posted by Jun-Dir Liew
       
     
   | 
 
         
       | 
    
    
    
      | 
        
       | 
    
    
    
      | 
        
       | 
    
    
    
      | 
        
       | 
    
    
    
      | 
        
       |