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

whoami vs who am i

ok this is like Linux 101: [root@osb-vagrant ~]# who am iroot pts/1 2013-11-19 11:01 (10.0.2.2)[root@osb-vagrant ~]# whoamiroot[root@osb-vagrant ~]# sudo -u soa whoamisoa[root@osb-vagrant ~]# sudo -u...

View Article


mv cannot move Directory not empty

if this command fails: mv fromdir/* todir/then try: rsync -a fromdir/* todir/followed by rm -rf todir

View Article


Image may be NSFW.
Clik here to view.

Books: some succulent reading for this winter

DevOps for DevelopersCode Complete: A Practical Handbook of Software ConstructionUNIX and Linux System Administration Handbook

View Article

Exception in HttpInboundMessageContext.close: java.net.SocketException:...

Apparently under VERY heavy load we get this error in a HTTP Business Service... still under investigation. It's not using a nio muxer, so I don't this that the Patch 9552622 described in...

View Article

WebLogic JMX remote using JMX protocol and JMXTrans

Make sure this is enabled in your domain configuration: a) [domain name]->[Configuration][General]->[Advanced][X] Platform MBean Server Enabled[X] Platform MBean Server Usedb) [domain...

View Article


WLST to monitor all Datasources on all Managed Servers by connecting only to...

#connect to the admin serverdomainRuntime()allservers=ls('/ServerRuntimes/', returnMap='true')for server in allservers: allds = ls('/ServerRuntimes/' + server + '/JDBCServiceRuntime/' + server +...

View Article

OSB: Publish WSDL to UDDI

In OSB11 (Eclipse 3.5.3) if you right click on a WSDL you getWeb Services / Publish WSDL FileYou choose "Publish this Web Service to the Unit Test UDDI Registry.If you have not registered any UDDI...

View Article

Websphere MQ: getting my feet wet into it

First install Eclipsehttp://archive.eclipse.org/eclipse/downloads/drops/R-3.4.2-200902111700/download.php?dropFile=eclipse-SDK-3.4.2-win32.zipDownload and install it - do the custom installation...

View Article


JSP error page

<%@page isErrorPage="true" %><html><body><h1>Error page</h1><pre><% if (exception != null) { out.write("exception message=" + exception.toString());}else {...

View Article


WebLogic JMS: setting TTL (time to live) aka Expiration Time on messages

you can set a Time To Live for a JMS message using the WLS console, with "Overrides / Time-to-Live Override", but you should also select the "Delivery Mode Override:" = Persistent, otherwise you get...

View Article

weblogic.management.provider.EditSaveChangesFailedException

I try to activate a session in WLS, and I get this java.lang.RuntimeException: weblogic.management.provider.EditSaveChangesFailedException caused by java.io.IOException: No such file or directory at...

View Article

Java, JMX, WebLogic and DomainRuntime

I try to run the code: http://docs.oracle.com/cd/E12840_01/wls/docs103/jmx/accessWLS.html#wp1111297 I get this error: java.net.MalformedURLException: Unsupported protocol: t3 I add...

View Article

Eclipse: open .sh files with text editor

Something annoying is that in Eclipse, when you open a .sh file, it will run an external editor to edit it. Open Preferences, General/Editors/File Associations and add the extension (file type) .sh and...

View Article


Plumbum: Never write shell scripts again

http://plumbum.readthedocs.org/en/latest/ I haven't evaluated it, but surely I am 100% in favor of writing shell scripts in Python... ALL unix shells languages suck big time... I am 10 times more...

View Article

Image may be NSFW.
Clik here to view.

barefoot at office

I am a strong advocate of Primitivism - meaning by that from the invention of Agriculture (10k BC) onwards humanity has only experienced a degradation in the quality of life. Small tribal units...

View Article


Windows 8 is just plain horrible

I have made the big mistake of offering an acquaintance a brand new Laptop, to discover only too late it was mounting Windows 8. It's like a computer turned into a IPhone. Plain stupid choice... the...

View Article

JMS message delete in Java

destinationJNDI should contain the JNDI name of the queue, like "CommonJmsServer1@jms.jndi.dq.NL_Notifications.NLNotificationReprocessQ".ctx should be a valid InitialContext like: idlist should be a...

View Article


OSB: disable enable status of Proxy Services

#There is a change to do to be able to run this WLST script:#vi /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh#change this:#export CLASSPATH#into...

View Article

Puppet and WebLogic the Biemond way

I always follow Biemond post, on the the richest sources of inspiration for all Oracle Professionals. Here he makes his WebLogic/Puppet module available to the public:...

View Article

WLST: certificate parsing exception PKIX

"The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object" it turned out that I had to add to the WLST trust store...

View Article
Browsing all 1121 articles
Browse latest View live