apache / apache/seatunnel

[Bug] [Module Name] Bug title

Open
#9,836 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
9.7k
Forks
2.4k
Avg merge
3d 13h
Merged PRs (30d)
203

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.

### What happened

Image

### SeaTunnel Version

version: seatunnel-web-1.0.2

### SeaTunnel Config

```conf
#
# 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

```shell
sh download_datasource.sh start
```

### Error Exception

```log
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.(SelectorManager.java:63)
at org.eclipse.jetty.server.ServerConnector$ServerConnectorManager.(ServerConnector.java:600)
at org.eclipse.jetty.server.ServerConnector.newSelectorManager(ServerConnector.java:223)
at org.eclipse.jetty.server.ServerConnector.(ServerConnector.java:216)
at org.eclipse.jetty.server.ServerConnector.(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?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with SeatunnelApplication.main and the Spring Boot web-server startup shown in the stack trace, then compare the provided seatunnel HTTP configuration with the seatunnel-web 1.0.2 runtime. Reproduce the failure using sh download_datasource.sh start and trace the Jetty "No selectors" error; done means the application starts its web server successfully with the reported Java 8 environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.