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

Image may be NSFW.
Clik here to view.

Singleton Timer in WebLogic

If you have a JEE EJB Timer in a Cluster, maybe you want only 1 instance to be active. In this case you should implement a Cluster Aware Singleton Component :...

View Article


Referencing a WorkManager (ExecutorService) in a Web module or EJB module or...

at WAR level you can have a work-manager clause: https://docs.oracle.com/cd/E24329_01/web.1211/e21049/weblogic_xml.htm#WBAPP627but it's available also at EAR level:...

View Article


No shared spaces configured

Heapgarbage-first heap total 6291456K, used 1368757K [0x0000000640000000, 0x00000007c0000000, 0x00000007c0000000) region size 2048K, 97 young (198656K), 9 survivors (18432K)compacting perm gen total...

View Article

Apache http-client, customizing SSLSocketFactory

Here the general documentation on Apache HTTP client...

View Article

WebLogic network-access-point

If you need to invoke operations (EJB, WS...) on a specific IP different from the main listen address / port of WLS, you can create inside config.xml a network-access-point and give it a mnemonic name...

View Article


Hacking users in WebLogic

vi $DOMAIN_HOME/security/DefaultAuthenticatorInit.ldift insert this: dn: uid=PIPPO,ou=people,ou=@realm@, dc=@domain@description: Test generated userobjectclass: inetOrgPersonobjectclass:...

View Article

BEA-090171 and BEA-090169

in WebLogic there are 2 messages helping us identify the identity and trust store used : BEA-090171 Loading the identity certificate and private key stored under the alias client .... BEA-090169...

View Article

ORA-01031: insufficient privileges creating a JDBCStore

<Jun 8, 2016 9:12:41 AM CEST> <Error> <Store> <BEA-280072> <JDBC store "PIPPOJDBCStore" failed to open table...

View Article


XAER_NOTA : The XID is not valid

If you get this error, most likely you need to tune your transaction timeoutS (there are many!) Look for Oracle Support documents "Recommended Timeout Configuration When Using an External Transaction...

View Article


java.lang.OutOfMemoryError: GC overhead limit exceeded at...

Root cause of ServletException.java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.Class.getDeclaredMethods0(Native Method) at...

View Article

really cool way to determine which Threads are consuming more CPU

http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is-consuming-most-cpu/this decimal to hex converter helps http://www.binaryhexconverter.com/decimal-to-hex-converter

View Article

How to educate yourself to be a Java Performance Engineer

Here is some articles that I found interesting and...

View Article

Learning Java Security and JCA

Excellent working examples here http://www.java2s.com/Code/Java/Security/CatalogSecurity.htmJCA Tutorial http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.htmlDebugging...

View Article


JVM Parameters made easy

I have dreaming for many years of setting up such a tool: http://jvmmemory.com/ to provide a guided wizard to configure all aspects of JVM.... good to see that it's already there! Great job!

View Article

EJB Timer stops working in WLS 12.1.3 after an exception occurs

On Version: WebLogic Server 12.1.3.0.0, Java 1.7.0_51 package com.pierre.timertest;import javax.ejb.Schedule;import javax.ejb.Stateless;import javax.ejb.Timer;@Statelesspublic class TimerTestEJB {...

View Article


SSL TLS renegotiation, RFC 5746

Generalities: https://devcentral.f5.com/articles/ssl-profiles-part-6-ssl-renegotiation Oracle technical details on the famous RFC 5746, here the mythical JSEE Ref Guide (something every human should...

View Article

which Cipher Suites your JVM supports

"SunJSSE supports a large number of ciphersuites" http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunJSSEProvider 1) WLS 11g (WLS 10.3.6) uses JSSE and runs on Java SE...

View Article


TLS v1.2 support in Java 6

According to Oracle Doc: JDK 6 release supports TLS v1. See: http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunJSSEProviderJDK 6 supports TLS 1.1 as well since JDK...

View Article

How to view your JVM default settings

cat Test.java public class Test { public static void main(String[] args) { for (;;) { } } } javac Test.java java -XX:+PrintCommandLineFlags Test you should get something like this:...

View Article

WindowBuilder to build Swing client in Java

If you think Swing is bad, what about the endless mess that is Web UI development.... so we chose the lesser evil.... anyway UI technologies are one of the most Epic Failures in IT history, for they...

View Article
Browsing all 1121 articles
Browse latest View live