Show Some Love
JAVA

log4j:WARN Please initialize the log4j system properly

This forum was posted on Monday, May 27, 2013 5:53:08 AM


How can i resolve these below errors... Am I missing little jar file???

log4j:WARN No appenders could be got for logger (smslib).
log4j:WARN Plz initialize the log4j system properly.
org.smslib.GatewayException: Comm library exception: java.language.RuntimeException: javax.comm.PortInUseException: Port presently owned by strange Windows Application
at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:97)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:110)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:158)
at org.smslib.Service$1Starter.execute(Service.java:252)
WaitCommEvent: Error 31
WaitCommEvent: Error 31



172 Viewed this Question



 Recent Replies on "log4j:WARN Please initialize the log4j system properly"

  • Nobody has replied on this post, be first to post answer.

Post Your Solution for this Question


Note: Please Put Code into <code></code> block.

Threads related to "log4j:WARN Please initialize the log4j system properly":

Connect database from applet

Is it possible to connect database from applet???

Game programming with Java in Linux

presently I hv been craving little game programming. I primarily use Linux and was shocking if there're any best graphics libraries for Java development on Linux? Google didn't turn up very much useful info on the subject.Also would other language be superior? i wish to avoid using python -- Ruby and Java are my two favorite languages. There doesn't appear to be much talk about game programming on Linux in general unfortunately.Any suggestions/resources? easy portability or cross-plat

ClassNotFoundException com.mysql.jdbc.Driver

This issue might have asked here number of times . After doing little google search for the above error and doing little update I can not understand why I'm still getting that error. I hv already put my driver-- mysql-connector-java-5.1.5-bin in the classpath:Java_Home\jre\lib\Java_Home\jre\lib\ext\Java_Home\liband the code snippet snippet which i'm working with to connect to mysql database is:try{Class.forName("com.mysql.jdbc.Driver");Connection con=DriverManager.getConnection("jdbc:mysql://lo

Java awt applet with Microsoft JVM white screen

I hv a java chat applet That is compatible with JDK1.1 so it works good even with Microsoft JVM.the thing is seldom the chat area within the applet becomes white and messed up. It can only be fixed back by closing the all Internet Explorer (all windows and tabs) and restarting it.this doesn't exist when running the applet on sun's JVM but we have to use MS's.it seems like it's related to the instance of JRE that runs with the browser when the first applet starts.The area that becomes messed

Using synchronization in Data Access Layer

Suppose we are developing class which implements simple CRUD operations for working with DB. This class also maintain cache for increasing performance. public class FooTableGateway { Map id2foo = new HashMap (); public void getFoo (int id) { if (id2foo.containsKey (id) { return id2foo.get (id); } String query = "select ..."; Connection cn = null; Statement st = null; ResultSet rs = null; try { cn = DBUtils.getConnection (); st = cn.createStatement (); rs = st.executeQuery (query);

What causes a JRE 6 JVM code cache leak?

Since switching to JRE 6 my server's code snippet snippet cache usage (non-heap) keeps growing indefinitely. My application creates a lot of classes at runtime BUT these classes are successfully unloaded during the GC process. I can see these classes getting unloaded in the gc logs and also the permGen usage stays constant. I specifically make sure in my code snippet snippet that these classes are orphaned once I am finished with them and so they perfectly get garbage stored from permGen.The code snippet snippet cache howe

Hours corrupted when subtract one day from GregorianCalendar

I use the following code snippet snippet:Calendar calendar = new GregorianCalendar(0 0 0);calendar.set(Calendar.YEAR 1942);calendar.set(Calendar.MONTH 3);calendar.set(Calendar.DAY_OF_MONTH 4);Date date1 = calendar.getTime();calendar.add(Calendar.DAY_OF_MONTH -1);Date date2 = calendar.getTime();System.out.println(date1 + "" + date2);This code snippet snippet o/p following:Sat Apr 04 00:00:00 EEST 1942Fri Apr 03 01:00:00 EEST 1942really I subtract 1 day and time should be preserved.But why second line of o

Apache Velocity can not Initialize

Whenever I try to initialize velocity engine usingVelocityEngine engine = new VelocityEngine();engine.init();I encounter the similar error when i tryVelocity.init(); org.apache.velocity.exception.VelocityException: unsucessful to initialize an instance of org.apache.velocity.runtime.log.ServletLogChute with the current runtime configuration.What can cause this exception?

java swing app with a custom titlebar?

do you know approach to write a Java Swing application with a custom chrome? Plz take a look* at the frame for Microsoft's Zune 4.0 software.I realize that colors the shape of scroll bars etc. are controlled by skins or appears and feels. Right now I'm trying to tackle the native window which houses the java components--the title bar mainly.Thank You(*) http://www.winsupersite.com/zune/zune4%5Fshots.asp

How to kill the nameserver process in java

I built a member server application using an IDL file for member server communication across the network. Both the member and server programs are in java. When the user enters exit both the server and the member exit. However I'm incapable to kill the nameserver process.I started the nameserver using the command tnameserv -ORBInitialPort 1050How do I kill the nameserver in the member or server programs( which are in java)?