If you are getting ‘bad value for type long’ exception in hibernate with Lob fields, add
@Type(type = "org.hibernate.type.TextType") to @Lob fields.
If you are getting ‘bad value for type long’ exception in hibernate with Lob fields, add
@Type(type = "org.hibernate.type.TextType") to @Lob fields.
just call it by:
ssh -i your.pem ec2-user@yourserver ~/./yourfile.sh
by just declaring the captor as :
@Captor private ArgumentCaptor<List<SomeObject>> captor; and verify'ing by verify(someService).someMethod(captor.capture());
you can captor a list.
sudo yum -y install telnet
rsync -rave “ssh -i /your.pem” some.file ec2-user@yourec2machine:~
just create some user if you want to access to an rabbitmq admin console
rabbitmqctl add_user user pass
rabbitmqctl set_user_tags user administrator
rabbitmqctl set_permissions -p / user “.” “.” “.*”
For Redis, I couldn’t access to Redis from outside AWS, but can access it from EC2 or other platforms. #ReminderForMyself
by the way :
Please note that IP-range based access control is currently not enabled for Cache Clusters. All clients to a Cache Cluster must be within the EC2 network, and authorized via security groups as described above.