Quantcast
Channel: Java mon amour
Browsing all 1121 articles
Browse latest View live
↧

Git: Received HTTP code 407 from proxy

I was cloning a git project: git clone https://github.com/jiaqi/jmxtermand I gotfatal: unable to access 'https://github.com/jiaqi/jmxterm/': Received HTTP code 407 from proxy after CONNECT just do git...

View Article


JMXTerm and WebLogic

Download the uberjar http://wiki.cyclopsgroup.org/jmxterm/download (I love that, no need to have complicated classpaths). This link worked for me. On how to configure WebLogic for JMS see here. This is...

View Article


Getting started with Spring UI MVC, a basic WebApplication "download and play"

Something that literally runs me crazy is when you must spend one hour just to setup the basics just to be able to start working with a new product. Need to download a dozen files, manually hack a few...

View Article

Remove annoying debug info from wlst.sh

I normally run /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh for all WLST commands. This print a page of debug information (mostly, twice the CLASSPATH and once the PATH. It's a lot of unneeded info...

View Article

Git: SSL certificate problem: unable to get local issuer certificate

git clone https://stash.acme.com/scm/pup/biemond-orawls-vagrant.gitCloning into 'biemond-orawls-vagrant'...fatal: unable to access 'https://stash.acme.com/scm/pup/biemond-orawls-vagrant.git/': SSL...

View Article


Image may be NSFW.
Clik here to view.

Bertrand Russel on Managers

"I once saw a photograph of a large herd of wild elephants in Central Africa seeing an airplane for the first time, and all in state of wild collective terror... As, however, there were no managers...

View Article

OSB: wlsbjmsrpDataSource can be looked up only by an Admin or ALSBSystem user

The short way: cd /opt/oracle/domains/osbdev1do/servers/osbdev1ms1/data/ldap/ldapfilesless EmbeddedLDAP.datasearch for wlsbjmsrpDataSource you will find the policy: <Policy...

View Article

WebLogic "run as" webApplication

Here http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1046373 you find an example on how to attach a principal to a webapp request, without having to explicitly passing it like...

View Article


Adding JAR in the weblogic domain lib folder

The problem is: if I put a JAR in the $DOMAIN_HOME/lib folder, will it be actually added to the System classpath, and available to ANYTHING which turns inside WebLogic? To test this, I create a class...

View Article


Image may be NSFW.
Clik here to view.

OSB, WebLogic and Logback / SLF4j

Being totally fed up with the OSB reporting provider, I am setting up logback. Maven:...

View Article

Elasticsearch

download the rmp: http://www.elasticsearch.org/download/rpm -i elasticsearch-0.90.9.noarch.rpmps -ef | grep elasti496 1734 1 1 10:32 ? 00:00:10 /usr/bin/java -Xms256m -Xmx1g -Xss256k...

View Article

Redis

Training here http://try.redis.io/ To install: yum install redisvi /etc/redis.confcomment out the "bind 127.0.0.1" line /usr/sbin/redis-server /etc/redis.confps -ef | grep redisroot 4092 1 0 21:27 ?...

View Article

Book: The Logstash Book

http://www.logstashbook.com/ . I was hoping this book would take me by the hand in small, progressive steps to harness to power of Logstash. It proved so far to be a confusing book, piling up a lot of...

View Article


Logstash, getting my feet wet

Some instructions on how to get started: http://logstash.net/docs/1.3.2/tutorials/getting-started-simpleAlso this video tutorial is a lifesaver.mkdir /opt/logstash/cd /opt/logstash/wget...

View Article

oracle.jdbc.ReadTimeout for oracle.sql.CLOB.getChars

we often have this stuck thread on oracle.sql.CLOB.getChars: ####<Jan 6, 2014 10:34:39 AM CET><Error><WebLogicServer><hqchacme110><osbpr1ms3><[ACTIVE] ExecuteThread:...

View Article


Oracle DB: which SQL is being run by a given OS user?

assuming the os user is nnvernetpi: select * from v$sql where sql_id in (select sql_ID from gv$session where lower(OSUSER) = 'nnvernetpi'); on RAC, v$session refers only to the current node. gv$session...

View Article

Image may be NSFW.
Clik here to view.

Groovy book: Groovy 2 Cookbook

http://bit.ly/1axk40qPackt has given me the honor to review this book.... it was written by an excellent coder, Luciano, so I am sure it's a very accurate book..... I will elaborate more once I have...

View Article


osb, logback, logstash, grok and elasticsearch, putting it all together

the Java class that I invoke with a custom XPath to trace events : "interface" is like "service/operation""eventtype" is like "FileConsumed", "JMSMessageConsumed", "WSInvoked"TechnicalMessageID and...

View Article

MACBOOK PRO ? No, thanks

I have made a gift of a MACBOOK PRO to a friend, in late 2012.In 1 year, the motherboard broke twice and the battery is dead. First time they replaced the motherboard under warranty, but now the...

View Article

Never, please NEVER buy an IPhone

I wanted to install a FREE App to read cbz files - CloudReaders.Well, blood-sucking Apple forces you to LOGIN to Apple Store and GIVE THEM AWAY your credit card details, inclusive of Security Code....

View Article
Browsing all 1121 articles
Browse latest View live