Hi
If I remember we had a same issue mention in point [1] some time back
where the client is using IBM JDK
1. A new dependency to SUN JDK has been introduced with M5
1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
server startup
Can not create and start Agent Server
org.wso2.carbon.eventbridge.core.exception.EventBridgeException: Cannot
start agent server on port 7711
...
*java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
available"*
*
*
*
*
*
*
*-------------------------------------*
*
*
and the solution provided was described in below.
This issue happens basically IBM SDK or JRE, which does not provide the
SunX509 implementation, but instead provides a IbmX509
implementation.please do the following steps to
1.open mgt-transports.xml under IS-GREG-BPS server cluster/repository/conf,
there under
<transport name="https"
class="org.wso2.carbon.server.transports.http.HttpTransport">
<!--
Uncomment the following to run on IBM J9 VM. Also, change the
sslProtocol to SSL from the
Default value of TLS.
-->
<parameter name="algorithm">IbmX509</parameter>
*
*
*
*
*
*
On Fri, Jul 6, 2012 at 4:08 PM, Charitha Kankanamge <[email protected]>wrote:
> ChamaraA is on IBM JDK6 testing G-reg trunk packs.
>
> Thanks!
> Charitha
>
> On Fri, Jul 6, 2012 at 1:58 PM, Kasun Weranga <[email protected]> wrote:
>
>> We have supported this in past [1]. But adding the parameter algorithm
>> as IBMX509 to catalina-server.xml doesn't fix the following error in the
>> trunk.
>> Don't we support IBM JDK anymore?
>>
>>
>> Thanks,
>> KasunW
>>
>>
>> [1]
>> http://charithaka.blogspot.com/2009/11/running-wso2-carbon-based-products-on.html
>>
>>
>> On Fri, Jul 6, 2012 at 2:11 AM, Kasun Weranga <[email protected]> wrote:
>>
>>> Hi devs,
>>>
>>> Do we support IBM JDK in latest trunk? This user got some issues when
>>> using BAM M5 with IBM JDK 1.6. If we support IBM JDK, I think we should fix
>>> this in the kernel level.
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Fernando Troya <[email protected]>
>>> Date: Tue, Jun 26, 2012 at 6:26 PM
>>> Subject: Re: [Architecture] BAM 2.0.0 Milestone 5 released!
>>> To: [email protected]
>>>
>>>
>>> Hi all,
>>>
>>> I don't want to make too much noise with these errors as they might be
>>> expected behavior; anyway this is my experience with M5;
>>>
>>>
>>> 1. A new dependency to SUN JDK has been introduced with M5
>>>
>>> 1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
>>> server startup
>>>
>>> Can not create and start Agent Server
>>> org.wso2.carbon.eventbridge.core.exception.EventBridgeException: Cannot
>>> start agent server on port 7711
>>> ...
>>> java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
>>> available
>>>
>>> 2. Then I switched to SUN JKD 1.6, connected to Cassandra's Cluster
>>> (localhost:9160, admin, admin), installed the KPI Toolbox sample (neat) and
>>> tried to run the KPI script. I got the following error:
>>>
>>>> *ERROR:* Error while executing Hive script. Query returned non-zero
>>>> code: 9, cause: FAILED: Execution Error, return code 1 from
>>>> org.apache.hadoop.hive.ql.exec.DDLTask
>>>>
>>>> Stacktrace:
>>>>
>>>> [2012-06-26 08:55:26,835] ERROR
>>>> {org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} - The key
>>>> is not present in the cache...
>>>> Hive history
>>>> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1569991736.txt
>>>> Hive history
>>>> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1456764371.txt
>>>> FAILED: Error in metadata: MetaException(message:Unable to create key
>>>> space 'EVENT_KS'. Error:null)
>>>> [2012-06-26 08:55:50,634] ERROR {org.apache.hadoop.hive.ql.exec.Task}
>>>> - FAILED: Error in metadata: MetaException(message:Unable to create key
>>>> space 'EVENT_KS'. Error:null)
>>>> org.apache.hadoop.hive.ql.metadata.HiveException:
>>>> MetaException(message:Unable to create key space 'EVENT_KS'. Error:null)
>>>> at
>>>> org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:546)
>>>>
>>> KPI tabs in the dashboard are created but of course there's no content
>>> displayed.
>>>
>>> 3. With regards the *Gadget Gen Tool*, I can't pass the second screen
>>> as no table has been created. Anyways, I have two questions about this:
>>>
>>> - Is the *Gadget IDE *gone for good?
>>> - Users have now to type their scripts; does this mean that they
>>> need to know SQL to write their gadgets?
>>>
>>> Cheers,
>>> 2012/6/22 Tharindu Mathew <[email protected]>
>>>
>>>> *WSO2 Business Activity Monitor 2.0.0 - Milestone 5 Released!* *Date :
>>>> 23rd June 2012*
>>>> *
>>>> *
>>>> This milestone is available at -
>>>> http://people.wso2.com/~tharindu/m5/wso2bam-2.0.0-SNAPSHOT.zip
>>>>
>>>> P2 Repo containing Agents for ESB and AS available at :
>>>> http://people.wso2.com/~kasunw/BAM2-M5-p2-repo/p2-repo/
>>>>
>>>> Note: This M5 does not work on Windows due to a known issue with
>>>> Hadoop. This will be fixed for a future milestone.
>>>> This release can be tested *end-end. *This release is NOT compatible
>>>> with older milestone releases of BAM 2.0.0.* *Please check out the
>>>> samples located in the $BAM_HOME/samples directory to try out the features.
>>>>
>>>>
>>>> Main highlights of this release are:
>>>>
>>>> *Agent API*
>>>>
>>>> - A new Agent API model with the capability to define event streams
>>>>
>>>> - A new fast Apache Thrift based API for high performance event
>>>> capturing
>>>>
>>>> - Java SDK for high performance Thrift clients
>>>>
>>>> - A complete REST API for event capturing
>>>>
>>>>
>>>> *Scalable Storage*
>>>>
>>>> - New versioned, stream definition based data model
>>>>
>>>> - Implemented on top of Apache Cassandra for maximum scalability an
>>>> write throughput
>>>>
>>>> *
>>>> *
>>>> *Scalable Analytics*
>>>>
>>>> - SQL like scalable analytics query language on top of Apache Hive
>>>>
>>>> - Specially built Hive JDBC handler only available for WSO2 BAM
>>>>
>>>> - Big Data Scalable analytics with the integration of Apache Hadoop
>>>>
>>>> *
>>>> *
>>>> *BAM Toolboxes*
>>>>
>>>> - One click deployment of complete monitoring scenarios with BAM
>>>> Toolboxes. Ex: KPI Definition
>>>>
>>>> - Ability to package BAM artifacts for easy deployment
>>>>
>>>> *
>>>> *
>>>> *BAM Mediators and Statistic collectors*
>>>> *
>>>> *
>>>> - ESB Mediator for capturing data from mediation flows
>>>>
>>>> - Statistic Collectors for AS, ESB and other WSO2 products
>>>>
>>>> *
>>>> *
>>>> *Gadget Generation*
>>>>
>>>> - Simplified dashboard generation with a step by step wizard
>>>>
>>>> --------------------------------
>>>>
>>>> We welcome your feedback and would love to hear your thoughts on this
>>>> release of WSO2 BAM.
>>>>
>>>> The WSO2 BAM Team
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> *Fernando Troya*
>>> [email protected]
>>> www.fluxit.com.ar
>>> 9 n° 865 (planta alta) / La Plata / Buenos Aires / Argentina
>>> (+54)-221-5532980 - Interno 315
>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
Dushan Abeyruwan
*Senior Software Engineer*
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/*
*Mobile:(+94)714408632*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev