Coder Social home page Coder Social logo

IPv issues with Java 8 about fakesmtp HOT 3 OPEN

nilhcem avatar nilhcem commented on August 29, 2024
IPv issues with Java 8

from fakesmtp.

Comments (3)

Vest avatar Vest commented on August 29, 2024

Hello @Nilhcem,

I would like to look at the issue. Could you please tell me how to reproduce it? I have Java 8 (I am using OS X currently with Java 8 (51)), and integration tests work fine.

This is what I see in logs:

28 Jul 2015 21:05:09 INFO  org.subethamail.smtp.server.SMTPServer - SMTP server *:2525 starting
28 Jul 2015 21:05:09 INFO  org.subethamail.smtp.server.ServerThread - SMTP server *:2525 started

Kind regards,
Vest

from fakesmtp.

Vest avatar Vest commented on August 29, 2024

Hm. It seems that I haven't tested all features properly. If you start the data binding on localhost:2525, the server starts well. However after the integration tests run, the exception below is thrown:

java -jar fakeSMTP-2.1-SNAPSHOT.jar -a 127.0.0.1 -b -s -p 2525

28 Jul 2015 21:13:25 INFO  org.subethamail.smtp.server.SMTPServer - SMTP server /127.0.0.1:2525 starting
28 Jul 2015 21:13:25 INFO  org.subethamail.smtp.server.ServerThread - SMTP server /127.0.0.1:2525 started
Exception in thread "org.subethamail.smtp.server.ServerThread /127.0.0.1:2525" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
    at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:121)
    at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:440)
    at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:396)
    at ch.qos.logback.classic.Logger.error(Logger.java:559)
    at org.subethamail.smtp.server.ServerThread.run(ServerThread.java:81)
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.ThrowableProxy
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 5 more

from fakesmtp.

SergeyDjam avatar SergeyDjam commented on August 29, 2024

Hello!

I'm started FakeSMTP
java -jar fakeSMTP-2.0.jar --start-server --port 2525 --bind-address 127.0.0.1
27 окт 2016 02:43:45 INFO org.subethamail.smtp.server.SMTPServer - SMTP server *:2525 starting
27 окт 2016 02:43:45 INFO org.subethamail.smtp.server.ServerThread - SMTP server *:2525 started

and view:
netstat -apn | grep 2525
tcp6 0 0 :::2525 :::* LISTEN 18744/java

java -jar fakeSMTP-2.0.jar -b --start-server --port 2525 --bind-address 127.0.0.1
27 окт 2016 02:44:51 INFO org.subethamail.smtp.server.SMTPServer - SMTP server /127.0.0.1:2525 starting
27 окт 2016 02:44:51 INFO org.subethamail.smtp.server.ServerThread - SMTP server /127.0.0.1:2525 started

and view:
netstat -apn | grep 2525
tcp6 0 0 127.0.0.1:2525 :::* LISTEN 18866/java

tcp6 only? why? This may be fixed?

from fakesmtp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.