Breaking News
Home / ServerSide

ServerSide

java.lang.NoClassDefFoundError: com/google/common/base/Function : Jetty Server fails to start

Exception Jetty server fails to start and throws the following Exception: 584 [main] WARN org.mortbay.log – failed HandlerCollection@1fff293: java.lang.NoClassDefFoundError: com/google/common/base/Function584 [main] ERROR org.mortbay.log – Error starting handlers java.lang.NoClassDefFoundError: com/google/common/base/Function      at org.glassfish.jersey.servlet.WebComponent.createResourceConfig(WebComponent.java:403)      at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:275)      at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:167)      at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:349)      at javax.servlet.GenericServlet.init(GenericServlet.java:241)      at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)      at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) …

Read More »

Cannot Serialize the Session

At times in the application server logs we see this exception with the following details. <Could not deserialize session data. java.io.NotSerializableException: <package>.<className>        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1059)<!

Read More »

What are characters used in Base64 Encoding?

Base64 Encoding is normally used to encode stream of bytes (text from file, photo from device etc.) to a character representation that further can be transmitted over the wire as String and decoded it back on the receiving end to get the original bytes. The following is the character set …

Read More »

What are the common SSL Exception StackTraces?

The common SSL Exception Stack Traces are: Trace1 2012-01-25 17:16:09,570[main]DEBUG SSLTestForDB -processInputStringWithWLS2012-01-25 17:16:09,570[main]DEBUG SSLTestForDB -Target url : https://localhost:7502/adapter/DBUtilityFrontServletException in thread “main” java.lang.NoClassDefFoundError: weblogic/utils/io/UnsyncByteArrayOutputStream        at com.vmu.tests.SSLTestForDB.processInputStringWithWLS(SSLTestForDB.java:215)        at com.vmu.tests.SSLTestForDB.main(SSLTestForDB.java:80)Caused by: java.lang.ClassNotFoundException: weblogic.utils.io.UnsyncByteArrayOutputStream        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)TestForDB.main(SSLTestForDB.java:80) <!

Read More »
Advertisment ad adsense adlogger