Changeset 3473

Show
Ignore:
Timestamp:
02/10/12 14:43:50
Author:
douglm
Message:

1. Update the ischedule support:

New handler for host information with associated jboss service.
Move all support for hosts out of directory classes.
Various small fixes to ischedule
ischedule log in now done as a service to avoid some overhead

2. Fix problems with storing of resources

Broken in many ways. Postgres blob support completely broken.
Content type was set incorrectly
Upgrade to hibernate 3.6 as first step.
Had to update implementation of GenericEnumUserType? in rpiutil. Used in synch.
Changed sess.lock(o, ?) to sess.buildLockRequest(LockOptions?.?).lock(o);
Delete AbbrevValUserType? - hibernate types have changed. Was used for venue
Change hibernate property hibernate.jdbc.use_streams_for_binary - value is now false
Added some support for quotas. Currently only checking resources created/updated via WebDAV PUT.

Had to use preferences to store current quota use to avoid schema change

Removed option to email freebusy requests. Does not make sense. Changed to an iSchedule option which implies emailing invitations.

3. Small fix to ensure we close calendar-data element when we get an exception. Response still bad but at least valid XML

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build/license-mappings.xml

    r3472 r3473  
    603603    </artifact> 
    604604    <artifact> 
     605      <groupId>org.apache.pluto</groupId> 
     606      <artifactId>pluto</artifactId> 
     607        <license>Apache License, Version 2.0</license> 
     608    </artifact> 
     609    <artifact> 
    605610        <groupId>org.apache.portals.bridges</groupId> 
    606611        <artifactId>portals-bridges-common</artifactId> 
     
    731736    </artifact> 
    732737    <artifact> 
     738        <groupId>org.hibernate</groupId> 
     739        <artifactId>hibernate-validator</artifactId> 
     740        <license>LGPL, v2.1</license> 
     741    </artifact> 
     742    <artifact> 
    733743        <groupId>org.hibernate.javax.persistence</groupId> 
    734744        <artifactId>hibernate-jpa-2.0-api</artifactId> 
  • trunk/build/platforms/jbossService.xml

    r3180 r3473  
    3131hibernate.bytecode.use_reflection_optimizer=false 
    3232hibernate.cache.use_second_level_cache=false 
     33 
     34hibernate.jdbc.use_streams_for_binary false 
    3335# 
    3436# Here for better debugging 
  • trunk/build/platforms/runnableService.xml

    r3180 r3473  
    2222hibernate.bytecode.use_reflection_optimizer=false 
    2323hibernate.cache.use_second_level_cache=false 
     24 
     25hibernate.jdbc.use_streams_for_binary false 
    2426# 
    2527# Here for better debugging 
  • trunk/deployment/bw-core-appjars.xml

    r3459 r3473  
    257257      <getJar lib="${org.bedework.temp.extrajars.dir}" 
    258258              libcache="${org.bedework.libcache.dir}" 
    259               name="hibernate" version="3.3.1.ga" /> 
     259              name="hibernate" version="3.6.9.Final" /> 
     260       
     261      <getJar lib="${org.bedework.temp.extrajars.dir}" 
     262              libcache="${org.bedework.libcache.dir}" 
     263              name="hibernate-validator" version="3.1.0.GA" /> 
    260264       
    261265      <!-- 
     
    263267              libcache="${org.bedework.libcache.dir}" 
    264268              name="hibernate-annotations" version="3.4.0.GA" /> 
    265        
    266       <getJar lib="${org.bedework.temp.extrajars.dir}" 
    267               libcache="${org.bedework.libcache.dir}" 
    268               name="hibernate-validator" version="3.1.0.GA" /> 
    269269       
    270270      <getJar lib="${org.bedework.temp.extrajars.dir}" 
  • trunk/deployment/ear.meta/jboss-service.xml

    r3447 r3473  
    1313    <!-- We need activemq -->     
    1414    <depends>jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory</depends> 
     15     
     16    <!-- We also need the bedework database --> 
     17    <depends>jboss.jca:service=DataSourceBinding,name=CalendarDS</depends> 
     18  </mbean> 
     19   
     20  <mbean code="org.bedework.calsvc.scheduling.ischedule.BwIschedule" 
     21         name="org.bedework:service=Ischedule"> 
     22    <attribute name="Account">admin</attribute> 
    1523     
    1624    <!-- We also need the bedework database --> 
  • trunk/deployment/resources/hibernate/properties/hibernate.properties

    r3417 r3473  
    203203## use streams when writing binary types to / from JDBC 
    204204 
    205 hibernate.jdbc.use_streams_for_binary tru
     205hibernate.jdbc.use_streams_for_binary fals
    206206 
    207207 
  • trunk/docs/NOTICE

    r3465 r3473  
    2626   Bedework interfaces 
    2727   Bedework misc package 
    28    Bedework tools 
    2928   Bedework web apps 
    3029   bedework indexer package 
     
    6564   Bedework interfaces 
    6665   Bedework misc package 
    67    Bedework tools 
    6866   Bedework web apps 
    6967   bedework indexer package 
     
    163161   Bedework icalendar 
    164162   Bedework sysevents 
    165    Bedework tools 
    166    Bedework web apps 
    167    bedework indexer package 
    168    bedework main project 
    169    dump/restore package 
    170  
    171 Jar: bw-licenseschema-3.8   Licence:  
    172 Referenced by the following components: 
    173    Bedework tools 
     163   Bedework web apps 
     164   bedework indexer package 
     165   bedework main project 
     166   dump/restore package 
    174167 
    175168Jar: bw-misc-3.8   Licence: Apache License, Version 2.0 
     
    208201   dump/restore package 
    209202 
    210 Jar: bw-tools-3.8   Licence:  
    211 Referenced by the following components: 
    212    Bedework tools 
    213  
    214203Jar: bw-tzschema-3.8   Licence: Apache License, Version 2.0 
    215204Referenced by the following components: 
     
    257246Jar: commons-codec-1.3   Licence: Apache License, Version 2.0 
    258247Referenced by the following components: 
    259    Bedework timezones server 
    260    Bedework tools 
    261248   Carddav package 
    262249   bedework main project 
     
    264251Jar: commons-codec-1.5   Licence: Apache License, Version 2.0 
    265252Referenced by the following components: 
    266    Bedework timezones server 
    267    Bedework tools 
    268253   Carddav package 
    269254   RPI utility package 
     
    289274Jar: commons-httpclient-3.0   Licence:  
    290275Referenced by the following components: 
    291    Bedework timezones server 
    292    Carddav package 
    293  
    294 Jar: commons-io-2.0.1   Licence:  
    295 Referenced by the following components: 
    296    Bedework tools 
     276   Carddav package 
    297277 
    298278Jar: commons-lang-2.1   Licence: Apache License, Version 2.0 
    299279Referenced by the following components: 
    300    Bedework timezones server 
    301    Bedework tools 
    302280   Carddav package 
    303281   synch engine 
     
    305283Jar: commons-lang-2.6   Licence: Apache License, Version 2.0 
    306284Referenced by the following components: 
    307    bedework main project 
    308  
    309 Jar: commons-logging-   Licence:  
    310 Referenced by the following components: 
    311    Bedework tools 
    312  
    313 Jar: commons-ssl-   Licence: Apache License, Version 2.0 
    314 Referenced by the following components: 
    315    Carddav package 
    316    synch engine 
    317  
    318 Jar: commons-validator-1.3.0   Licence:  
     285   Bedework timezones server 
     286   bedework main project 
     287 
     288Jar: commons-validator-1.3.0   Licence: Apache License, Version 2.0 
    319289Referenced by the following components: 
    320290   bedework main project 
     
    328298   RPI utility package 
    329299 
    330 Jar: dom4j-1.6.1   Licence: BSD License 
    331 Referenced by the following components: 
    332    Bedework tools 
    333  
    334 Jar: dsn-1.4   Licence:  
     300Jar: dsn-1.4   Licence: Commons Development and Distribution License, Version 1.0 
    335301Referenced by the following components: 
    336302   bedework main project 
     
    372338   RPI utility package 
    373339 
    374 Jar: hibernate-3.3.1.ga   Licence: LGPL, v2.1 
    375 Referenced by the following components: 
    376    Bedework calendar api classes and definitions 
    377    Bedework calfacade 
    378    Bedework timezones server 
    379    Carddav package 
    380    RPI utility package 
    381    bedework indexer package 
    382    bedework main project 
    383    dump/restore package 
    384    synch engine 
    385  
    386 Jar: hibernate-annotations-3.4.0.GA   Licence: LGPL, v2.1 
    387 Referenced by the following components: 
    388    Carddav package 
     340Jar: hibernate-3.6.9.Final   Licence: LGPL, v2.1 
     341Referenced by the following components: 
     342   Bedework calendar api classes and definitions 
     343   Bedework calfacade 
     344   Bedework timezones server 
     345   Carddav package 
     346   RPI utility package 
     347   bedework indexer package 
     348   bedework main project 
     349   dump/restore package 
     350   synch engine 
     351 
     352Jar: hibernate-validator-3.1.0.GA   Licence:  
     353Referenced by the following components: 
     354   Bedework timezones server 
     355   Carddav package 
     356   bedework main project 
    389357   synch engine 
    390358 
    391359Jar: httpclient-4.1.2   Licence: Apache License, Version 2.0 
    392360Referenced by the following components: 
     361   Bedework timezones server 
    393362   RPI utility package 
    394363   bedework main project 
     
    399368Referenced by the following components: 
    400369   Bedework misc package 
     370   Bedework timezones server 
    401371   Carddav package 
    402372   RPI utility package 
     
    432402   bedework main project 
    433403 
    434 Jar: imap-1.4   Licence:  
    435 Referenced by the following components: 
    436    bedework main project 
     404Jar: imap-1.4   Licence: Commons Development and Distribution License, Version 1.0 
     405Referenced by the following components: 
     406   bedework main project 
     407 
     408Jar: jaxb-impl-2.1.8   Licence: Commons Development and Distribution License, Version 1.0 
     409Referenced by the following components: 
     410   Bedework xml schema 
     411 
     412Jar: jaxb-xjc-2.1.7   Licence:  
     413Referenced by the following components: 
     414   Bedework xml schema 
     415 
     416Jar: jaxws-rt-2.1.4   Licence: Commons Development and Distribution License, Version 1.0 
     417Referenced by the following components: 
     418   Bedework xml schema 
     419 
     420Jar: jaxws-tools-2.1.4   Licence:  
     421Referenced by the following components: 
     422   Bedework xml schema 
    437423 
    438424Jar: jboss-j2se-5.1.0.GA   Licence: LGPL, v2.1 
     
    463449Jar: jgroups-2.2.8   Licence:  
    464450Referenced by the following components: 
    465    Bedework timezones server 
    466    Carddav package 
    467  
    468 Jar: jms-1.1   Licence:  
     451   Carddav package 
     452 
     453Jar: jms-1.1   Licence: Commons Development and Distribution License, Version 1.0 
    469454Referenced by the following components: 
    470455   Bedework calendar api classes and definitions 
     
    509494   Bedework sysevents 
    510495   Bedework timezones server 
    511    Bedework tools 
    512496   Bedework web apps 
    513497   Carddav package 
     
    532516   bedework main project 
    533517 
    534 Jar: mailapi-1.4   Licence:  
     518Jar: mailapi-1.4   Licence: Commons Development and Distribution License, Version 1.0 
    535519Referenced by the following components: 
    536520   Bedework misc package 
     
    541525   Bedework web apps 
    542526 
    543 Jar: pop3-1.4   Licence:  
     527Jar: pop3-1.4   Licence: Commons Development and Distribution License, Version 1.0 
    544528Referenced by the following components: 
    545529   bedework main project 
     
    586570   Bedework sysevents 
    587571   Bedework timezones server 
    588    Bedework tools 
    589572   Bedework web apps 
    590573   Carddav package 
     
    615598   synch engine 
    616599 
    617 Jar: smtp-1.4   Licence:  
     600Jar: smtp-1.4   Licence: Commons Development and Distribution License, Version 1.0 
    618601Referenced by the following components: 
    619602   bedework main project 
     
    631614   synch engine 
    632615 
     616Jar: stax-ex-2.2.1   Licence: Commons Development and Distribution License, Version 1.0 
     617Referenced by the following components: 
     618   Bedework xml schema 
     619 
     620Jar: streambuffer-1.0   Licence: Dual license consisting of the CDDL v1.1 and GPL v2 
     621Referenced by the following components: 
     622   Bedework xml schema 
     623 
    633624Jar: struts-1.2.9   Licence: Apache License, Version 2.0 
    634625Referenced by the following components: