You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2005/08/30 20:34:11 UTC

cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF/classes ExceptionMapping.properties WSRPServices.properties castor.properties wsrp4j-logger.properties

dlouzan     2005/08/30 11:34:11

  Added:       sandbox/wsrp4j/producer/src/webapp/WEB-INF/classes
                        ExceptionMapping.properties WSRPServices.properties
                        castor.properties wsrp4j-logger.properties
  Log:
  Initial commit.
  
  Revision  Changes    Path
  1.1                  ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF/classes/ExceptionMapping.properties
  
  Index: ExceptionMapping.properties
  ===================================================================
  # Copyright 2003-2005 The Apache Software Foundation.
  # 
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # 
  #      http://www.apache.org/licenses/LICENSE-2.0
  # 
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  ###############################################################################
  # Exception Mapping
  #
  # This file specifies the mapping between WSRPExceptions (internal exceptions)
  # and exceptions defined by the WSRP specification.
  #
  # Properties:
  # - Key  : error code of exception defined by WSRP specification
  # - Value: comma-separated list of error codes of internal WSRPExceptions
  #
  # NOTE:
  # - The separator "," must not be modified.
  # - For details see messages.properties.
  # - Modifying the error codes of exceptions defined by the WSRP specification
  #   requires implementation adaption of class "WSRPXHelper.java".
  # - Keys followed by an empty list do not implicate that those exceptions are
  #   not used.
  #
  ###############################################################################
  
  # AccessDeniedFault
  1100=
  
  # InconsistentParametersFault
  1101=
  
  # InvalidRegistrationFault
  1102=
  
  # InvalidCookieFault
  1103=
  
  # InvalidHandleFault
  1104=3020
  
  # InvalidSessionFault
  1105=
  
  # InvalidUserCategoryFault
  1106=
  
  # MissingParametersFault
  1107=
  
  # OperationFailedFault
  1108=1000,1001,1002,1003,1004,2000,2001,2002,2003,2004,3000,3001,3002,3003,3004,3005,3006,3040,3041
  
  # PortletStateChangeRequiredFault
  1109=
  
  # UnsupportedLocaleFault
  1110=3002,3003
  
  # UnsupportedMarkupTypeFault
  1111=
  
  # UnsupportedModeFault
  1112=
  
  # UnsupportedWindowStateFault
  1113=
  
  
  
  1.1                  ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF/classes/WSRPServices.properties
  
  Index: WSRPServices.properties
  ===================================================================
  # Copyright 2003-2005 The Apache Software Foundation.
  # 
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # 
  #      http://www.apache.org/licenses/LICENSE-2.0
  # 
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  consumer.registry.factory=\
      org.apache.wsrp4j.commons.producer.driver.ConsumerRegistryFactoryImpl
  provider.factory=\
      org.apache.wsrp4j.producer.provider.pluto.driver.ProviderFactoryImpl
  server.persistent.factory=\
      org.apache.wsrp4j.persistence.xml.driver.ServerPersistentFactoryImpl
  provider.doesurltemplateprocessing=false
  
  
  
  1.1                  ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF/classes/castor.properties
  
  Index: castor.properties
  ===================================================================
  # Copyright 2003-2005 The Apache Software Foundation.
  # 
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # 
  #      http://www.apache.org/licenses/LICENSE-2.0
  # 
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  # Example properties indent the output, require validation
  # on input and turn debugging on.
  
  org.exolab.castor.validation=false
  org.exolab.castor.indent=true
  org.exolab.castor.debug=true
  
  
  
  1.1                  ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF/classes/wsrp4j-logger.properties
  
  Index: wsrp4j-logger.properties
  ===================================================================
  # Copyright 2003-2005 The Apache Software Foundation.
  # 
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # 
  #      http://www.apache.org/licenses/LICENSE-2.0
  # 
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  #################################################################
  #Configuration of the wsrp4j logger
  #################################################################
  
  log4j.rootLogger=ALL, A1
  log4j.appender.A1=org.apache.log4j.FileAppender
  log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  #log4j.appender.A1.MaxBackupIndex=1
  log4j.appender.A1.Append=false
  #################################################################
  # ! ! ! Change the appropriate directory for the log file ! ! !
  #################################################################
  log4j.appender.A1.File=${catalina.base}/logs/wsrp4j-producer.log
  
  # Print the date in ISO 8601 format
  log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c: %m%n
  
  # Globally enable disable log4j logging: ALL, DEBUG, INFO, WARN, ERROR, FATAL, 
  # OFF
  # works hierarchically
  # use this to disable or enable log4j logging
  log4j.logger.org.apache.wsrp4j=ALL
  log4j.logger.org.apache.axis=OFF
  #log4j.logger.org.apache.wsrp4j.producer=WARN
  #log4j.logger.org.apache.wsrp4j.consumer=ALL
  #log4j.logger.org.apache.wsrp4j.service=ALL
  
  #################################################################
  # WSRP4J   logging
  #################################################################
  
  # Set the log level for wsrp4j logging: ERROR < WARN < INFO < TRACE_LOW < 
  # TRACE_MEDIUM < TRACE_HIGH
  # use this to control logging
  
  #global logging
  wsrp4j.logger=TRACE_HIGH
  
  #per class logging
  #wsrp4j.logger.org.apache.wsrp4j.commons.producer.driver.WSRPEngine=TRACE_HIGH