Could not create the Java Virtual Machine
cat Test.java public class Test { public static void main(String[] args) { System.out.println("ciao"); }}javac Test.javaexport PIPPO="ciao - bello"java -Dpippo=$PIPPO TestUnrecognized option: -Error:...
View ArticleSecurity: how to sign a message
How to SIGN a message: http://www.java2s.com/Code/Java/Security/SignatureTest.htmClasses involved:...
View ArticleBEA-000449 Closing the socket, as no data read from it on 1.2.3.4:5,6789
BEA-000449 Closing the socket, as no data read from it on 1.2.3.4:5,6789 during the configured idle timeout of 5 seconds 1.2.3.4:5,6789 represents an IP (1.2.3.4) and port number 5,6789 (I find...
View ArticleIt's the future
https://circleci.com/blog/its-the-future/ I am reblogging this fantastic piece of Theater, a sort of "Dialogue Concerning the Two Chief World Systems" where Simplicio at the end proves to be much wiser...
View ArticleClientHello and ServerHello
When you enable -Dssl.debug=true -Djavax.net.debug=ssl -Dweblogic.log.StdoutSeverity=Debug you get a lot of cryptic information in the logs This document...
View ArticleTools to simulate network disruptions
On Windows: Clumsy https://jagt.github.io/clumsy/ On Linux, netem https://wiki.linuxfoundation.org/networking/netem
View ArticleCannot instantiate weblogic.entitlement.data.ldap.EData
We got an interesting failure on WebLogic startup: Cannot instantiate weblogic.entitlement.data.ldap.EDatanulljava.lang.ExceptionInInitializerError at...
View ArticleWebLogic deployment plan for a EAR with EJB deployed in a WAR and not in a...
https://docs.oracle.com/cd/E19798-01/821-1841/gippi/index.html"To include enterprise bean class files in a WAR module, the class files should be in the WEB-INF/classes directory. To include a JAR file...
View ArticleWebLogic cluster: "Failed to deserialize statedump from server "
If you have an error "Failed to deserialize statedump from server ""java.lang.ClassNotFoundException"you should read Oracle Document: "How To Avoid De-Serialize Statedump Errors While Starting Manage...
View ArticleWebLogic fails with NullPointerException at...
<Sep 20, 2016 9:26:42 PM CEST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed java.lang.NullPointerException.java.lang.NullPointerException at...
View ArticleList of videos to learn German - for beginners A1-B1
https://www.youtube.com/watch?v=yhP3OT2hxAE"Deutsch lernen Extra auf Deutsch Abschnitt 1 " there are some 20 episodes of this series, of growing difficulty. It's a funny sit-com a bit silly but...
View ArticleUnknownHostException returned by DNS, in reality due to not enough file...
interesting case, intermittently we get this error: java.net.UnknownHostException: somehostnamehere at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at...
View Articlejava.io.EOFException: SSL peer shut down incorrectly
This error: Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:899) at...
View ArticleReflections: advanced queries on Java classpath
We have already explored Reflections here . Another cool feature is to find programmatically all classes where a given method is invoked; here I search for all references to method...
View Articlejava.net.SocketException: Software caused connection abort: recv failed
if you see crap like this: Caused by: java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at...
View ArticleToo small initial heap for new size specified
You must provide a max total heap > min new heap. This is fine: java -XX:NewSize=256m -Xmx257m -version java version "1.6.0_20"OpenJDK Runtime Environment (IcedTea6 1.9.8)...
View Articleoracle.jdbc.driver.OraclePreparedStatement.setupDbaBindBuffers...
We occasionally get this stacktrace in an application processing XA transactions Caused By: java.lang.ArrayIndexOutOfBoundsException: -1 at...
View ArticleThe specified size exceeds the maximum representable size
If you run this: java -Xms4096m Bla and you get this: Invalid initial heap size: -Xms4096mThe specified size exceeds the maximum representable size it simply means that you are using a 32bit JVM...
View ArticleBtrace: trace all Exceptions
see http://www.javamonamour.org/2013/06/getting-started-with-btrace.html for an introduction to btrace. This product is WONDERFUL. In this new case, I want to trace where a given exception...
View ArticleApache POI is a Memory Pig
We get this stacktrace java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2271) at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191) at...
View Article