You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2007/09/27 00:48:43 UTC

Re: svn commit: r579522 - in /incubator/cxf/trunk: distribution/src/main/release/samples/integration/jca/inbound/ integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/ integration/jca/src/main/java/org/apache/cxf/jca/cxf/ integration/jca/s...

Am Mittwoch, den 26.09.2007, 08:59 +0000 schrieb ningjiang@apache.org:
> Author: ningjiang
> Date: Wed Sep 26 01:59:58 2007
> New Revision: 579522
> 

> Modified: incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java
> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java?rev=579522&r1=579521&r2=579522&view=diff
> ==============================================================================
> --- incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java (original)
> +++ incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java Wed Sep 26 01:59:58 2007

> -    void startPropertiesMonitorThread() throws ResourceException {
> +    private void startPropertiesMonitorThread() throws ResourceException {
>          Integer pollIntervalInteger = mcf.getEJBServicePropertiesPollInterval();
>          int pollInterval = pollIntervalInteger.intValue();
> -        LOG.info("ejb service properties poll interval is : " + pollInterval + " seconds");
> +        
> +        LOG.info("Ejb service properties poll interval is : [" + pollInterval + " seconds]");
> +        

poll interval is: ["...


> Modified: incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties
> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties?rev=579522&r1=579521&r2=579522&view=diff
> ==============================================================================
> --- incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties (original)
> +++ incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties Wed Sep 26 01:59:58 2007
> @@ -22,3 +22,8 @@
>  IS_NOT_AN_INTERFACE = The [{0}] is not an interface.
>  FAILED_TO_GET_CXF_CONNECTION = Failed to get the CXF Connection with connection parameters: {0}
>  ASSOCIATED_ERROR = Error in associating connection.
> +FAIL_TO_LOAD_EJB_SERVANT_PROPERTIES = Failed to load EJBServant properties file: {0}
> +FAIL_TO_START_EJB_SERVANTS = Failed to start ejb servants.
> +EJB_SERVANT_PROPERTIES_IS_NULL = MonitorEJBServiceProperties property is set to true, but EJBServicePropertiesURL is not set, Both properties must be set to enable monitoring.

...is not set.  Both properties...

> +FAIL_TO_INITIALIZE_JCABUSFACTORY = Failed to initialize
> JCABusFactory.
> +NON_MANAGED_CONNECTION_IS_NOT_SUPPORTED = Non Managed Connection is
> not supported, use createConnectionFactory with a ConnectionManager
> argument.

Non-Managed Connections are not supported, use...  


> Added: incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java
> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java?rev=579522&view=auto
> ==============================================================================
> --- incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java (added)
> +++ incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java Wed Sep 26 01:59:58 2007
> @@ -0,0 +1,123 @@
> +/**
> +public class EJBEndpoint {
> +    
> +    
> +    private boolean isNotNull(String value) {

private static boolean?

> +        if (value != null && !"".equals(value.trim())) {
> +            return true;
> +        }
> +        return false;
> +    }
> +    
> +}
> 



Re: svn commit: r579522 - in /incubator/cxf/trunk: distribution/src/main/release/samples/integration/jca/inbound/ integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/ integration/jca/src/main/java/org/apache/cxf/jca/cxf/ integration/jca/s...

Posted by Willem Jiang <ni...@iona.com>.
Hi Glen,

Thanks for pointing the errors out. I will fix them with my next commit.

Regards,

Willem.
Glen Mazza wrote:
> Am Mittwoch, den 26.09.2007, 08:59 +0000 schrieb ningjiang@apache.org:
>   
>> Author: ningjiang
>> Date: Wed Sep 26 01:59:58 2007
>> New Revision: 579522
>>
>>     
>
>   
>> Modified: incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java
>> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java?rev=579522&r1=579521&r2=579522&view=diff
>> ==============================================================================
>> --- incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java (original)
>> +++ incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java Wed Sep 26 01:59:58 2007
>>     
>
>   
>> -    void startPropertiesMonitorThread() throws ResourceException {
>> +    private void startPropertiesMonitorThread() throws ResourceException {
>>          Integer pollIntervalInteger = mcf.getEJBServicePropertiesPollInterval();
>>          int pollInterval = pollIntervalInteger.intValue();
>> -        LOG.info("ejb service properties poll interval is : " + pollInterval + " seconds");
>> +        
>> +        LOG.info("Ejb service properties poll interval is : [" + pollInterval + " seconds]");
>> +        
>>     
>
> poll interval is: ["...
>
>
>   
>> Modified: incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties
>> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties?rev=579522&r1=579521&r2=579522&view=diff
>> ==============================================================================
>> --- incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties (original)
>> +++ incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/cxf/Messages.properties Wed Sep 26 01:59:58 2007
>> @@ -22,3 +22,8 @@
>>  IS_NOT_AN_INTERFACE = The [{0}] is not an interface.
>>  FAILED_TO_GET_CXF_CONNECTION = Failed to get the CXF Connection with connection parameters: {0}
>>  ASSOCIATED_ERROR = Error in associating connection.
>> +FAIL_TO_LOAD_EJB_SERVANT_PROPERTIES = Failed to load EJBServant properties file: {0}
>> +FAIL_TO_START_EJB_SERVANTS = Failed to start ejb servants.
>> +EJB_SERVANT_PROPERTIES_IS_NULL = MonitorEJBServiceProperties property is set to true, but EJBServicePropertiesURL is not set, Both properties must be set to enable monitoring.
>>     
>
> ...is not set.  Both properties...
>
>   
>> +FAIL_TO_INITIALIZE_JCABUSFACTORY = Failed to initialize
>> JCABusFactory.
>> +NON_MANAGED_CONNECTION_IS_NOT_SUPPORTED = Non Managed Connection is
>> not supported, use createConnectionFactory with a ConnectionManager
>> argument.
>>     
>
> Non-Managed Connections are not supported, use...  
>
>
>   
>> Added: incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java
>> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java?rev=579522&view=auto
>> ==============================================================================
>> --- incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java (added)
>> +++ incubator/cxf/trunk/integration/jca/src/main/java/org/apache/cxf/jca/servant/EJBEndpoint.java Wed Sep 26 01:59:58 2007
>> @@ -0,0 +1,123 @@
>> +/**
>> +public class EJBEndpoint {
>> +    
>> +    
>> +    private boolean isNotNull(String value) {
>>     
>
> private static boolean?
>
>   
>> +        if (value != null && !"".equals(value.trim())) {
>> +            return true;
>> +        }
>> +        return false;
>> +    }
>> +    
>> +}
>>
>>     
>
>
>