This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'net/telnet' | |
| HOST = '172.23.1.100' | |
| PORT = '10050' | |
| USERNAME = 'BBBMW' | |
| PASSWORD = 'BBBMW' | |
| def get_imsi(msisdn, &block) | |
| ema = Net::Telnet::new("Host" => "#{HOST}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| imsi = Array.new | |
| f = File.open("/home/bblite/portedmsisdn.txt") | |
| f.each_line {|line| imsi.push line} | |
| conn = OCI8.new(DB_USER, DB_PASSWORD, DB_SERVER) | |
| ported = conn.exec("del from subscriber where '#{imsi[0]}'") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cherServlet - Context initialization failed | |
| org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SMSHandler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.vasconsulting.www.controllers.SMSHandler.setHibernateUtility(com.vasconsulting.www.interfaces.HibernateUtility); nested exception is java.lang.NoClassDefFoundError: com/vasconsulting/www/utility/HomiscoResults | |
| at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285) | |
| at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074) | |
| at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) | |
| at org.springframework.beans.factory. |
NewerOlder