[Dev] [EMM] Value too long for column "DEVICE_MODEL VARCHAR(45) DEFAULT NULL": "'Google Nexus 6 - 5.0.0 - API 21 - 1440x2560_1-2'

2017-04-29 Thread Dushan Abeyruwan
[2017-04-29 10:08:16,113] [IoT-Core] ERROR - DeviceTypePluginDAO Error
occurred while adding the device '000' to the AD_DEVICE db.
org.h2.jdbc.JdbcSQLException: Value too long for column "DEVICE_MODEL
VARCHAR(45) DEFAULT NULL": "'Google Nexus 6 - 5.0.0 - API 21 -
1440x2560_1-2' (47)"; SQL statement:
INSERT INTO AD_DEVICE(DEVICE_ID , GCM_TOKEN, DEVICE_INFO, IMEI, IMSI,
OS_VERSION, DEVICE_MODEL, VENDOR, LATITUDE, LONGITUDE, SERIAL, MAC_ADDRESS,
DEVICE_NAME, OS_BUILD_DATE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?) [22001-175]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
at org.h2.message.DbException.get(DbException.java:172)
at org.h2.table.Column.validateConvertUpdateSequence(Column.java:317)
at org.h2.table.Table.validateConvertUpdate
-- 
Dushan Abeyruwan | Senior Technical Lead
Technical Support,MV
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:*http://www.dushantech.com/ *
LinkedIn:*https://www.linkedin.com/in/dushanabeyruwan
*
Mobile:(001)408-791-9312
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running sample STS client

2017-04-29 Thread Kasun Bandara
[+] Looping in the Identity server team.

Kasun Gayan Bandara
PhD Research Student
Machine Learning Group

Faculty of Information Technology, Clayton
Monash University
25 Exhibition Walk, Clayton Campus
Wellington Road
Clayton VIC 3800
Australia.

E: herath.band...@monash.edu
M (+61) 43 491 6476





On Sat, Apr 29, 2017 at 11:21 PM, Mukesh Yadav  wrote:

> Hi,
>
> I'm using WSO2 IS version 5.3.0 and AS 5.3.0
> Yes, I did follow all the steps in that blog.
>
> Did any tried running STS client for version 5.3.0 or IS and AS.
>
>
>
> On Sat, Apr 29, 2017 at 9:14 AM, Kasun Bandara 
> wrote:
>
>> Hi Mukesh,
>>
>> Can you please specify the respective versions of WSO2 IS and WSO2 AS
>> that you are using? I assume you are testing the WS-Trust STS (Active STS)
>> protocol to secure a service deployed on the application server.  If so,
>> can you please recheck whether you gave followed steps as in [1].
>>
>> Regards,
>> Kasun
>>
>> [1] http://www.vitharana.org/2015/01/how-ws-trust-sts-works-
>> in-wso2-identity.html
>>
>> Kasun Gayan Bandara
>> PhD Research Student
>> Machine Learning Group
>>
>> Faculty of Information Technology, Clayton
>> Monash University
>> 25 Exhibition Walk, Clayton Campus
>> Wellington Road
>> Clayton VIC 3800
>> Australia.
>>
>> E: herath.band...@monash.edu
>> M (+61) 43 491 6476
>>
>> 
>>
>>
>>
>> On Fri, Apr 28, 2017 at 6:15 PM, Mukesh Yadav  wrote:
>>
>>> Hi All,
>>>
>>> I have created WSO2-IS server and WSO2-AS server for as per the
>>> documentation, And checkout sample code. But when I run sample code I get
>>> the following error.
>>>
>>> I do get "Response SAML 2.0 Token is valid" but After that, I get the
>>> error.
>>>
>>> org.apache.axis2.AxisFault: Missing wsse:Security header in request at
>>> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndTh
>>> rowAxisFault(RampartReceiver.java:195)
>>>
>>> at org.apache.rampart.handler.RampartReceiver.invoke(RampartRec
>>> eiver.java:100)
>>>
>>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>>
>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>>
>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>>
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>>
>>> at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
>>> OutInAxisOperation.java:359)
>>>
>>> at org.apache.axis2.description.OutInAxisOperationClient.send(O
>>> utInAxisOperation.java:445)
>>>
>>> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
>>> OutInAxisOperation.java:225)
>>>
>>> at org.apache.axis2.client.OperationClient.execute(OperationCli
>>> ent.java:149)
>>>
>>> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceCli
>>> ent.java:554)
>>>
>>> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceCli
>>> ent.java:530)
>>>
>>> at org.wso2.carbon.identity.samples.sts.Client.run(Client.java:235)
>>>
>>> at org.wso2.carbon.identity.samples.sts.Client.main(Client.java:94)
>>>
>>> Caused by: org.apache.rampart.RampartException: Missing wsse:Security
>>> header in request
>>>
>>> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
>>>
>>> at org.apache.rampart.handler.RampartReceiver.invoke(RampartRec
>>> eiver.java:93)
>>>
>>> ... 12 more
>>> --
>>> Regards
>>> Mukesh Yadav
>>> mukeshyadav.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Regards
> Mukesh Yadav
> mukeshyadav.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while running sample STS client

2017-04-29 Thread Mukesh Yadav
Hi,

I'm using WSO2 IS version 5.3.0 and AS 5.3.0
Yes, I did follow all the steps in that blog.

Did any tried running STS client for version 5.3.0 or IS and AS.



On Sat, Apr 29, 2017 at 9:14 AM, Kasun Bandara 
wrote:

> Hi Mukesh,
>
> Can you please specify the respective versions of WSO2 IS and WSO2 AS that
> you are using? I assume you are testing the WS-Trust STS (Active STS)
> protocol to secure a service deployed on the application server.  If so,
> can you please recheck whether you gave followed steps as in [1].
>
> Regards,
> Kasun
>
> [1] http://www.vitharana.org/2015/01/how-ws-trust-sts-
> works-in-wso2-identity.html
>
> Kasun Gayan Bandara
> PhD Research Student
> Machine Learning Group
>
> Faculty of Information Technology, Clayton
> Monash University
> 25 Exhibition Walk, Clayton Campus
> Wellington Road
> Clayton VIC 3800
> Australia.
>
> E: herath.band...@monash.edu
> M (+61) 43 491 6476
>
> 
>
>
>
> On Fri, Apr 28, 2017 at 6:15 PM, Mukesh Yadav  wrote:
>
>> Hi All,
>>
>> I have created WSO2-IS server and WSO2-AS server for as per the
>> documentation, And checkout sample code. But when I run sample code I get
>> the following error.
>>
>> I do get "Response SAML 2.0 Token is valid" but After that, I get the
>> error.
>>
>> org.apache.axis2.AxisFault: Missing wsse:Security header in request at
>> org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(
>> RampartReceiver.java:195)
>>
>> at org.apache.rampart.handler.RampartReceiver.invoke(RampartRec
>> eiver.java:100)
>>
>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>
>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>
>> at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
>> OutInAxisOperation.java:359)
>>
>> at org.apache.axis2.description.OutInAxisOperationClient.send(O
>> utInAxisOperation.java:445)
>>
>> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
>> OutInAxisOperation.java:225)
>>
>> at org.apache.axis2.client.OperationClient.execute(OperationCli
>> ent.java:149)
>>
>> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceCli
>> ent.java:554)
>>
>> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceCli
>> ent.java:530)
>>
>> at org.wso2.carbon.identity.samples.sts.Client.run(Client.java:235)
>>
>> at org.wso2.carbon.identity.samples.sts.Client.main(Client.java:94)
>>
>> Caused by: org.apache.rampart.RampartException: Missing wsse:Security
>> header in request
>>
>> at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)
>>
>> at org.apache.rampart.handler.RampartReceiver.invoke(RampartRec
>> eiver.java:93)
>>
>> ... 12 more
>> --
>> Regards
>> Mukesh Yadav
>> mukeshyadav.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Regards
Mukesh Yadav
mukeshyadav.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev