Skip to content

[Bug] [Module Name] Bug title #9836

@Delu2010

Description

@Delu2010

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Image

SeaTunnel Version

version: seatunnel-web-1.0.2

SeaTunnel Config

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

seatunnel:
  engine:
    classloader-cache-mode: true
    history-job-expire-minutes: 1440
    backup-count: 1
    queue-type: blockingqueue
    print-execution-info-interval: 60
    print-job-metrics-info-interval: 60
    slot-service:
      dynamic-slot: true
    checkpoint:
      interval: 10000
      timeout: 60000
      storage:
        type: hdfs
        max-retained: 3
        plugin-config:
          namespace: /tmp/seatunnel/checkpoint_snapshot
          storage.type: hdfs
          fs.defaultFS: file:///tmp/ # Ensure that the directory has written permission
    telemetry:
      metric:
        enabled: false
      logs:
        scheduled-deletion-enable: true
    http:
      enable-http: true
      port: 8080
      enable-dynamic-port: false
      # Uncomment the following lines to enable basic authentication for web UI
      # enable-basic-auth: true
      # basic-auth-username: admin
      # basic-auth-password: admin
[root@bigdata-server171 config]# cd ..
您在 /var/spool/mail/root 中有邮件
[root@bigdata-server171 apache-seatunnel-2.3.11]# cd ..
[root@bigdata-server171 seatunnel]# ^C
您在 /var/spool/mail/root 中有邮件
[root@bigdata-server171 seatunnel]# cd apache-seatunnel-web-1.0.2
[root@bigdata-server171 apache-seatunnel-web-1.0.2]# cd conf/
[root@bigdata-server171 conf]# tail application.yml
    url: jdbc:h2:mem:seatunnel;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true
    username: sa
    password: sa
  h2:
    console:
      enabled: true
      path: /h2
      settings:
        trace: false
        web-allow-others: false

Running Command

sh download_datasource.sh start

Error Exception

2025-09-08 11:02:21.675 seatunnel bigdata-server171 INFO [main] [StartupInfoLogger.logStarting():55] - Starting SeatunnelApplication v1.0.2 using Java 1.8.0_261 on bigdata-server171 with PID 93133 (/data1/seatunnel/apache-seatunnel-web-1.0.2/libs/seatunnel-app-1.0.2.jar started by root in /data1/seatunnel/apache-seatunnel-web-1.0.2)
2025-09-08 11:02:21.680 seatunnel bigdata-server171 INFO [main] [SpringApplication.logStartupProfileInfo():645] - No active profile set, falling back to 1 default profile: "default"
2025-09-08 11:02:23.824 seatunnel bigdata-server171 INFO [main] [Log.initialized():169] - Logging initialized @3257ms to org.eclipse.jetty.util.log.Slf4jLog
2025-09-08 11:02:23.991 seatunnel bigdata-server171 WARN [main] [AbstractApplicationContext.refresh():591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.IllegalArgumentException: No selectors
2025-09-08 11:02:24.002 seatunnel bigdata-server171 INFO [main] [ConditionEvaluationReportLoggingListener.logMessage():136] -

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-09-08 11:02:24.024 seatunnel bigdata-server171 ERROR [main] [SpringApplication.reportFailure():835] - Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.IllegalArgumentException: No selectors
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:163)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:577)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
        at org.apache.seatunnel.app.SeatunnelApplication.main(SeatunnelApplication.java:36)
Caused by: java.lang.IllegalArgumentException: No selectors
        at org.eclipse.jetty.io.SelectorManager.<init>(SelectorManager.java:63)
        at org.eclipse.jetty.server.ServerConnector$ServerConnectorManager.<init>(ServerConnector.java:600)
        at org.eclipse.jetty.server.ServerConnector.newSelectorManager(ServerConnector.java:223)
        at org.eclipse.jetty.server.ServerConnector.<init>(ServerConnector.java:216)
        at org.eclipse.jetty.server.ServerConnector.<init>(ServerConnector.java:132)
        at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.createConnector(JettyServletWebServerFactory.java:200)
        at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.createServer(JettyServletWebServerFactory.java:186)
        at org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.getWebServer(JettyServletWebServerFactory.java:163)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:182)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:160)
        ... 8 common frames omitted

Zeta or Flink or Spark Version

No response

Java or Scala Version

java_version: 1.8

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions