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

WebLogic EJB call timeout

If you get often this type of stuck threads: "[STUCK] ExecuteThread: '170' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=10 tid=0x00002b4f841f1b20 nid=0x5763 in Object.wait()...

View Article


Image may be NSFW.
Clik here to view.

Poll result: who finances ISIS?

View Article


Cluster down when leasing DB is restarted

if you get often a message <BEA-310006><Critical subsystem JTAMigratableGroup has failed. Setting server state to FAILED. Reason: JTA migratable target lost a lease> you might consider...

View Article

Always specify xml version in a XML file

<?xml version="1.0" encoding="UTF-8"?> There was a case where one forgot it in a beans.xml file, and WebLogic tries to open a Socket to retrieve some stuff (no clue what) attempting some...

View Article

Jboss EAP tutorials

I need to take an interview covering also JBoss.... https://en.wikipedia.org/wiki/JBoss_Enterprise_Application_Platform Excellent extensive tutorial on all aspects of JBoss:...

View Article


Oracle Database Certification

OCA Associate (1Z0-061 and 1Z0-052) OCP Professional OCM Master RAC Real Application Clusters Database Control process Oracle Enterprise Manager Grid Control OCI (Oracle Call Interface) Data Definition...

View Article

Maven essential commands cheat sheet

https://maven.apache.org/guides/MavenQuickReferenceCard.pdf Javabrains tutorial https://www.youtube.com/watch?v=IYRYbPR5Gek&index=1&list=PL92E89440B7BFD0F6mvn archetype:generate mvn compile mvn...

View Article

performance issues in application/json vs application/x-www-form-urlencoded

alternative 1: httpPost.setHeader("Content-Type", "application/x-www-form-urlencoded");alternative 2: httpPost.setHeader("Content-Type", "application/json"); using application/x-www-form-urlencoded in...

View Article


WebLogic 2 Way SSL

on the server tab, enable SSL on the SSL tab, enable "client certificate requested and enforced"then enter https url in Firefox: https://192.168.56.1:7002/SnoopServlet/SnoopServlet.jsp Your connection...

View Article


Certificate-based authentication (Name Mapper)

UserNameMapper and its sub-interface X509SubjectComponentMapperThese classes are in $oraclehome/wlserver/server/lib/mbeantypes/wls-security-providers.jar

View Article

WebLogic: avoiding anonymous user calls

Servlet or JSP initialization weblogic.xml...

View Article

Java: debugging HttpsClient connections

Recently we had this case: java.io.EOFException: SSL peer shut down incorrectly SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:462) at...

View Article

JPA, EclipseLink and Hibernate as a persistence provider

a customer was getting weblogic.management.DeploymentException: java.lang.ClassCastException: org.eclipse.persistence.jpa.jpql.parser.NullExpression cannot be cast to...

View Article


cheap bash script to monitor connections to an IP

this will trace only connections in the SYN_SENT status ... if you get a SocketTimeoutException, the connection will never transition in the ESTABLISHED state, it will only wait in the SYS_SENT state...

View Article

Image may be NSFW.
Clik here to view.

byte buddy getting started

I use this pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0...

View Article


funny /etc/hosts behaviour

Someone entered 2 lines in /etc/hosts, specifying the same host and 2 different IPs cat /etc/hosts | grep myvp.pippo.net116.8.194.82 myvp.pippo.net 119.57.52.83 myvp.pippo.net the funny thing is that:...

View Article

Angular 4.2.3 getting started

https://angular.io/guide/quickstart#make sure you have latest version of node and npmnode -vnpm -v#clean up previous angular-cli installationsnpm uninstall -g angular-clinpm uninstall --save-dev...

View Article


System property jdk.tls.namedGroups(null) contains no supported elliptic curves

We get this using java version "1.6.0_141" Java(TM) SE Runtime Environment (build 1.6.0_141-b12) Java HotSpot(TM) 64-Bit Server VM (build 20.141-b12, mixed mode) : java.lang.IllegalArgumentException:...

View Article

OverOps "The Complete Guide to Solving Java Application Errors in Production"

http://land.overops.com/java-application-errors/ I have downloaded the interesting free PDF. In a nutshell: NullPointerException are the most common type of exception - followed by...

View Article

Venkat Subramanian, Java 8 hidden treasures

Lot of examples on Collectors here https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collectors.htmlimport java.util.Arrays;import java.util.List;import java.util.stream.Collectors;public...

View Article
Browsing all 1121 articles
Browse latest View live