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

weblogic.utils.StackTraceDisabled.unknownMethod()

in recent (>= 12.1.2 ) versions of WLS, as stated in Oracle Doc ID 1624363.1: "In production mode of WLS 12.1.2, the full Java exception stack trace is not returned to the ejb caller when an...

View Article


Java Mission Control JMC video training

Very good overall coverage of JMC features

View Article


Online Java Thread Dump Analyzer

http://spotify.github.io/threaddump-analyzer/ simple and cool.... it's just what you need in 95% of the cases

View Article

org.eclipse.persistence.indirection.IndirectSet locking

one has to be careful with Lazy loading of entities (i.e. INDIRECTION)...

View Article

ThreadLogic!

ThreadLogic seems to be a valuable tood for thread analysis https://java.net/projects/threadlogic download here...

View Article


Umlaut in emails

If in an email you see f�r instead of für, chances are that your weblogic/JavaMail is not using the right encoding (presumably UTF-8) You can try several options: -Dfile.encoding=UTF-8 change the...

View Article

Struts 1.2 in WebLogic 12.1.3, german characters encoding issue

"As of WebLogic Server 12.1.3, the default value of the encoding element for the jsp-descriptor element in weblogic.xml is UTF-8 for JSP pages. Prior to WebLogic Server 12.1.3, the default value for...

View Article

javax.net.ssl.SSLHandshakeException: Server chose unsupported or disabled...

If you get this error message "javax.net.ssl.SSLHandshakeException: Server chose unsupported or disabled protocol: SSLv3", chances are that your JVM, for vulnerability issues connected to SSLv3, is...

View Article


Image may be NSFW.
Clik here to view.

Happy 2016 to all JMA readers

(I have found this on GlobalResearch.ca , that I read regularly)

View Article


BEA-2165021 ResourceManagement is not enabled in this JVM

Starting WLS 12.2.1 with a JDK 8 I get this INFO message: <Info> <RCM> <BEA-2165021> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the...

View Article

File.getName() in windows and Unix

If you have a full path like filename="c:\temp\pippo.txt" , on windows new File(filename).getName() will return pippo.txt, but on *nix it will return "c:\temp\pippo.txt". This can be a nasty issue: you...

View Article

java.net.ProtocolException: Did not meet stated content length of OutputStream

We were getting this error: java.net.ProtocolException: Did not meet stated content length of OutputStream: you wrote 139 bytes and I was expecting you to write exactly 153 bytes!!! at...

View Article

BEA-110433 Unable to obtain ownership of the transaction log

If you see "BEA-110433 Unable to obtain ownership of the transaction log", then <Jan 12, 2016 3:41:57 PM CET> <Error> <JTA> <BEA-110433> <Unable to obtain ownership of the...

View Article


BEA-110503 JTA migration policy : The migrator is not available

We see this Warning message in the logs <Warning> <JTA> <BEA-110503> <The migrator(the AdminServer for manual JTA migration policy, or the Singleton Master for automatic JTA...

View Article

Image may be NSFW.
Clik here to view.

X11 tunneling with Tectia SSH client

https://support.ssh.com/manuals/client-user/61/client-tunnel-x11.htmlDo "Edit/Tectia Connections"ssh-broker-config.xml is in several places, verify that all files contains this <server-banners...

View Article


Image may be NSFW.
Clik here to view.

Unhappy with your work? You can change!

before and after An ex-colleague of mine - a woman - moved from an engineering job to a health sector job - earning a very difficult university degree - at the age of 50. I have always thought that...

View Article

rpm

This is to list the content of a rpm file without installing it: rpm -q -filesbypkg -p filename.rpm

View Article


Same classloader for EJB and WAR

https://docs.oracle.com/middleware/1212/wls/WLPRG/classloading.htm#WLPRG293you can alter the weblogic-application.xml with this <classloader-structure> <module-ref>...

View Article

Singleton service in cluster to consume JMS messages with disaster recovery

"We consume messages from a (MQ) queue We have two servers. One is the primary and consumes the messages. The secondary does not normally consume messages. If the primary server falls over (DR), then...

View Article

EJB and JNDI, or how to lookup a EJB from a JSP

package ejb3.bean;import javax.ejb.LocalBean;import javax.ejb.Stateless;@Stateless(mappedName = "HelloEjb")@LocalBeanpublic class HelloEjb implements HelloEjbRemote, HelloEjbLocal { public HelloEjb() {...

View Article
Browsing all 1121 articles
Browse latest View live