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

SQLServerDriver timeout

http://docs.oracle.com/cd/E21764_01/web.1111/e13753/mssqlserver.htm#i1074598LoginTimeout The amount of time, in seconds, that the driver waits for a connection to be established before timing out the...

View Article


Don Giovanni, a cenar teco

possibly 1000 years from now someone will be able to explain scientifically the magnetizing effect this piece has on our souls..... in the meantime, we can only listen in awe and let this sublime...

View Article


weblogic find difference between two domains

If you have 2 working domains and want to find out in which way they differ, you have several options:- use Enterprise manager, which has a Compare domains tool- tar up the DOMAIN_HOME/bin folder and...

View Article

bash for loop

just a quick note, I always forget the syntax: for i in {1..5}; do wget --no-check-certificate https://mserver.com:8002/blatest; done

View Article

org.omg.CORBA.OBJECT_NOT_EXIST

####<Jun 19, 2013 2:17:38 PM CEST><Warning><RMI><hqchnesoa108><osbpr1as><[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'><<WLS...

View Article


Duplicate IP detection

First, check that you can sudo arping: sudo -lyou should see something like: (root) NOPASSWD: /sbin/ifconfig, (root) /sbin/arpingthen, you can issue the command sudo /sbin/arping -D -I bond0 -c 2...

View Article

yum install blocked by yum-updatesd-he

I was doing yum install graphviz and got the message "Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum-updatesd-he" This:rm -rf /var/run/yum.pid...

View Article

Image may be NSFW.
Clik here to view.

Book review: Puppet Cookbook

Let's face it, Puppet Pro is definitely BORING. Puppet Cookbook is much more readable, with plenty of funny quotes and useful examples. I would not call it a masterpiece, but definitely worth reading...

View Article


"Javadoc" for ORACLE DB

Documentation should be embedded in code. Everything else is way, way suboptimal. You can easily document your DB like this: This will display all tables SELECT table_name FROM user_tables; This will...

View Article


Enabling/Disabling remote desktop

If Remote Desktop is disabled on your Windows machine, you have 2 choices: - install RealVNC, excellent product - run regedit and set HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal...

View Article

creating symbolic link, Permission denied

The situation is: ls -ltr /opt/oracle/ java -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.45.x86_64 where /usr/lib/jvm/java-1.6.0-sun.x86_64 -> /usr/lib/jvm/java-1.6.0-sun-1.6.0.45.x86_64 and I issue ln...

View Article

Date and Time in History

echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bashrc I don't understand why it's not a default...

View Article

SQL to display SQL history

This to display all SQL statements processed in Oracle DB withing a certain range of time and coming from certain machines: select a.sql_id,a.sql_text,b.cnt from dba_hist_sqltext a, (select...

View Article


Python/Jithon version associated to WLST

It's becoming a real issue to have to use such an old version of Python, 2.2, in WLST. There are lovely products like SQLAlchemy that we cannot use with such an old version. I have opened an SR with...

View Article

Count stuck threads in WebLogic

nice little script to count the stuck threads in all instances of WebLogic (or any other Java processes) running under the current user: #!/bin/bashCURRENTUSER=`whoami`echo "pid user stuck"ps -ef |...

View Article


Image may be NSFW.
Clik here to view.

Poll result: XMHell

I am surprised to see so little XML hatred. I personally find XML one of the biggest blunders in IT.

View Article

Image may be NSFW.
Clik here to view.

Consensus-based Whole Server Migration

I have a cluster with 2 MS On both MS, tick "enable whole server migration", and select both machines as possible targets (you will need both, if you want to migrate your server back) At cluster level,...

View Article


Image may be NSFW.
Clik here to view.

Dynamic HTTP endpoint creation in OSB

When you create a OSB HTTP service, no war is deployed to WebLogic.The kernelEar application contains a WebCreatorModuleFactory which - through a WebCreatorModule - will register you endpoint to a...

View Article

WebLogic webapplications returning HTTP 302 Moved Temporarily

If I configure a HTTPFRONTEND HOST to the LoadBalancer lbr.acme.com (5.6.7.8), when I contact directly a Managed Server myserver.acme.com in the cluster, results in a HTTP redirect with the new...

View Article

com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid...

When enrolling a domain, I get com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte (see Oracle Doc "ID 1505142.1"). This the stacktrace:...

View Article
Browsing all 1121 articles
Browse latest View live