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

WebLogic deployment fails with java.lang.ArrayIndexOutOfBoundsException in...

BEA-149205 Failed to initialize the application "BLA" due to error weblogic.application.ModuleException: 2626weblogic.application.ModuleException: 2626 at...

View Article


if you suffer of "slow favorites menu" in IE

if you suffer of "slow favorites menu" when you pass the mouse over, in IE, this fixed my problem: In Control Panel, Folder Options, View tab, scroll to the bottom and uncheck “Show pop-up description...

View Article


HPROF is your friend (if you REALLY have nothing else at hand)

Official Java 7 doc https://docs.oracle.com/javase/7/docs/technotes/samples/hprof.htmlhttp://www.oracle.com/technetwork/java/javase/tooldescr-136044.html#gblvj Excellent also this article...

View Article

WebLogic: validating config.xml

config.xml requires several XSDs to be validated: xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd...

View Article

Quick script to create a domain for WLS 12.2.1

# https://docs.oracle.com/middleware/1221/wls/WLSTC/reference.htm#WLSTC3772# Use selectTemplate followed by loadTemplates in place of...

View Article


BEA-2162501 Class bytes found, but couldnt define class

<Feb 15, 2016 5:51:24 PM CET> <Error> <Class Loaders> <BEA-2162501> <Class bytes found, but couldnt define class, com.sun.faces.spi.InjectionProviderException due to the...

View Article

Funny error message using t3s and 2 way SSL

javax.naming.CommunicationException: t3s://localhost:25001: Destination 0:0:0:0:0:0:0:1, 25001 unreachable; nested exception is: javax.net.ssl.SSLException: Received fatal alert: bad_certificate; No...

View Article

weblogic.security.subject.SubjectManager.getSubjectManager hangs when using...

Trying to connect from Eclipse to a WLS, Java client for EJB, using 2 way SSL and t3s, we get a stuck thread on this: "main" #1 prio=5 os_prio=0 tid=0x000000000263f000 nid=0x12900 in Object.wait()...

View Article


Notepad++ : all the accessories you need for it

Notepad++ is a really great tool, but you need a couple of plugins to make it a truly joyful war machine: TextFX https://sourceforge.net/projects/npp-plugins/files/TextFX/Xml Tools...

View Article


Winzip holds the zip file open

I often find that, when I select files and use the Explorer menu "WinZip/Add to somefile.zip", the somefile.zip remains opened by "some" process (Windows doesn't bother to tell you which one). Using...

View Article

The JVM was unable to load the native wlfileio library , on Linux

We are getting this message: <Warning> <Store> <BEA-280109> <The JVM was unable to load the native wlfileio library for the store "bla". File and paging stores will continue to...

View Article

test-connections-on-reserve

If you get: java.sql.SQLException: Protocol violation: [ 0, ] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:536) java.sql.SQLRecoverableException: Closed Connection at...

View Article

WebLogic Web Service: A jws BLA should have a package declaration

Caused by: weblogic.wsee.ws.WsException: A jws [class PVWSImpl01] should have a package declaration. at weblogic.wsee.deploy.DeployInfo.validate(DeployInfo.java:356) at...

View Article


Image may be NSFW.
Clik here to view.

EJB 3.2 tutorial with Manning, EJB 3 in Action

The book is decent, but half of the prose could be removed and the narrative could be much more terse. It seems that often the authors get carried away by their literary velleity. Unfortunately the...

View Article

ExceptionInInitializerError , NoClassDefFoundError and ClassNotFoundException

https://docs.oracle.com/javase/7/docs/api/java/lang/ExceptionInInitializerError.html"an exception occurred during evaluation of a static initializer or the initializer for a static...

View Article


HTTP/1.1 502 Bad Gateway

com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 502 Bad Gateway" HTTP transport error:...

View Article

Javassist and code instrumentation

Looking for a way to trace an Error in a static initializer block, I have stumbled upon this http://stackoverflow.com/a/2211150/651288 example of how to dynamically redefine an...

View Article


WebLogic: No known valid port for Default[t3]: 7001, No available router to...

if you get a funny error like: The Message-Driven EJB failed while creating a JMS Connection ... java.io.IOException: No known valid port for: 'Default[t3]:t3(t3):169.33.234.123:7001:null ... No...

View Article

EJB : Stateless vs Singleton

http://stackoverflow.com/questions/14464823/difference-between-stateless-and-singleton and in particular this answerhttp://docs.oracle.com/javaee/6/tutorial/doc/gipjg.html#gipmt The EXCELLENT book...

View Article

Image may be NSFW.
Clik here to view.

Firebug for Chrome

As a Firefox user I have normally used Firebug to debug HTTP requests and trace the execution of a request. In Chrome most people see to be happy with the Control-Shift-I (= “more tools” / “Developer...

View Article
Browsing all 1121 articles
Browse latest View live