Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-453 Validation for EJB 3.0 beans
  3. OPENEJB-1769

Validation: Check for mistaken 'javax' system properties listed as 'java'

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: deployment, ejb3 simplified
    • Labels:
      None

      Description

      If any of the following 'javax' properties are found in the SystemInstance.get().getProperties() and they do not start with 'javax' and mistakenly start with 'java', then log an error or warning.

      javax.persistence.provider
      javax.persistence.transactionType
      javax.persistence.jtaDataSource
      javax.persistence.nonJtaDataSource
      javax.net.ssl.keyStore
      javax.net.ssl.keyStorePassword
      javax.net.ssl.trustStore
      javax.security.jacc.PolicyConfigurationFactory.provider
      javax.security.jacc.policy.provider
      javax.xml.ws.spi.Provider
      javax.xml.soap.MessageFactory
      javax.xml.soap.SOAPFactory
      javax.xml.soap.SOAPConnectionFactory
      javax.xml.soap.MetaFactory
      javax.persistence.sharedCache.mode
      javax.persistence.validation.mode
      javax.persistence.transactionType

      Conversely, these properties often are mistakenly used with an 'x' but should not. Check that they are not present in the system properties with an 'x'

      java.naming.applet
      java.naming.authoritative
      java.naming.batchsize
      java.naming.dns.url
      java.naming.factory.initial
      java.naming.factory.object
      java.naming.factory.state
      java.naming.factory.url.pkgs
      java.naming.language
      java.naming.provider.url
      java.naming.referral
      java.naming.security.authentication
      java.naming.security.credentials
      java.naming.security.principal
      java.naming.security.protocol

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dblevins David Blevins
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: