java - log4j:WARN Please initialize the log4j system properly -
How to solve these low errors ... Do I have some jar file missing ???
log4j: No attenders could be found for warning logger (smslib). Log4j: Start the Warning Log4j system properly. Org.smslib.GatewayException: Com Library Exception: java.lang.RuntimeException: javax.comm.PortInUseException: currently owned by unknown unknown applications org.smslib.modem.SerialModemDriver.connectPort (SerialModemDriver.java:97) org.smslib. Modem.AmodemDriver.connect (org.smslib.modem.modemGateway.start.Gateway) (modemgateway.java 158) org.smslib.Service $ 1Starter.run (Service. Java252) WaitCommEvent: Error 31 WaitCommEvent: Error 31
My first thought was that your log4j XML or property file was not valid when the Lodge 4J was initialized Do one of them CLSP is in PHH.
A more careful reading of your exception reveals that you are trying to use a port that a Windows app has already taken control.
To see if the harbor is currently in use and what is connected with them, make a "netstate-A". Choose another one to use your log4jappender.
Did you write a custom appender to write a log message on SMS? Using the port you choose.
Edit:
The JR / Lib Directory is not in CLSPPAT, you should not put any your code in that directory ending in that directory Where your compiled class files are written.
Comments
Post a Comment