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

BEA-000150, Server failed to get a connection to the database in the past 30...

We are using a Database-based lease renewal for automated server migration (I personally think it's a bad idea), we occasionally (once a month) have a server restarting with BEA-000150 Server failed to...

View Article


Poor man's firewall test

on the Destination host:nc -l myhost.acme.com 3872and make sure you are actually listening:netstat -an | grep 3872tcp        0      0 10.33.80.121:3872           0.0.0.0:*                   LISTENOn...

View Article


Servlet: "Spy" failed to preload on startup in Web application: "dms.war"

Strange case today: Newly created domain, Admin starting with "DMS Application" in failed state, logs show: <29.May.2013 11:48:26 AM CEST><Error><HTTP><BEA-101216><Servlet:...

View Article

WebLogic admin failing with "PKI-02002: Unable to open the wallet. Check...

"oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password."...

View Article

Nice little JSP to generate threads on demand

<% final String threads = request.getParameter("threads"); final String period = request.getParameter("period"); try { for (int t = 0; t < Integer.parseInt(threads); t++ ) {...

View Article


WebLogic: [Deployer:149189]An attempt was made to execute the 'start'...

just shut down all your servers - including admin. then go to DOMAIN_HOME, run "find . -name bla -exec rm -rf {} \;" then edit config/config.xml and remove manually the app-deployment entry for bla....

View Article

Putty: generating session configuration from code

I am an automation freak, and I hate doing manual copy and paste of information around. I have to work on some 30 different accounts, so it's quite nice to store all this info in a CMDB and generate...

View Article

libSDL-1.2.so.0()(64bit) is needed by VirtualBox

trying to install VirtualBox on a RHEL 5.6, I get this error: sudo rpm -i /opt/oracle/software/VirtualBox-4.2-4.2.12_84980_el5-1.x86_64.rpmwarning:...

View Article


Image may be NSFW.
Clik here to view.

Anarchy in the IT

Although the ideas of Anarchism are very appealing to me, in IT it simply doesn't work. I am more in favour of a societal model like the one of typical hunter-gatherers tribes, where a group of old...

View Article


Image may be NSFW.
Clik here to view.

VirtualBox: setting a home for Virtual Boxes

Sadly, when you install VirtualBox on Linux, by default it chooses your /home/oracle home (my user is oracle) to store the VMs. I hate having stuff installed in my home. In...

View Article

WebLogic and OSB cluster in an Oracle VirtualBox

I want to run a OSB-WebLogic cluster spanning 2 machines (VBs).Official doc here http://www.virtualbox.org/manual/ch06.htmlAn extra requirement is being able to mount an arbitrary IP alias on the NIC,...

View Article

NodeManager inactive

On a 2 nodes cluster, for one node (machine) I was getting that NodeManager was Inactive/Unreachable: Could not execute command "getVersion" on the node manager. Reason: "Access to domain for user BLA...

View Article

SchemaCrawler for Oracle DB diff

I want to be able to trace all the modifications to my CMDB, and email the diff report on a regular basis. Lots of tools there but none seems to be a) free b) simple to use. SchemaCrawler doesn't do...

View Article


Image may be NSFW.
Clik here to view.

sqldeveloper export date with time

I am using SQLDeveloper 3.2See https://forums.oracle.com/forums/thread.jspa?threadID=1023785Tools/preferences/ date format="yyyy/mm/dd/ hh24:mi:ss" this will generate dates as to_date('2013/05/07/...

View Article

DIA-48315: ADR unavailable

After an incident occurs, creation of the oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incidentCause: DFW-40112: There was an error executing adrci commands; the following...

View Article


Getting started with Btrace

User Guide: https://kenai.com/projects/btrace/pages/UserGuideDownload binaries here: https://kenai.com/projects/btrace/downloads/download/releases/current/btrace-bin.tar.gz Java class under test:...

View Article

JVMTop

http://code.google.com/p/jvmtopIt's not a spectacular tool, but I think it can be added to the toolbox of an Operations guy. It quickly gives you an overview of all the running JVMs, with number of...

View Article


WLST, applying security policy to a JMS Module

The requirement is: only an authenticated user belonging to the Administrator group can access any JMS queue in a JMS module. On Console, to understand what this operation entails, I associate this...

View Article

Image may be NSFW.
Clik here to view.

Book review: Memories and Visions of Paradise

This is a fascinating book on the common factors of ancient myths over the Paradise. Learn how originally "Paradise" meant "enclosure with garden" in old Persian, how most pre-colombian american tribes...

View Article

WebLogic, Testing Datasources

print 'starting the script ....'username = 'weblogic'password = 'weblogic1'urls=['t3://server1.acme.com:7001', 't3://server2.acme.com:8001', 't3://server2.acme.com:8001']servers=['osbts4as',...

View Article
Browsing all 1121 articles
Browse latest View live