Closed
Conversation
In tomee-embedded-maven-plugin configuration, tag <httpPort> ignored.
Contributor
|
is there an issue using http? (was actually intended to make it simpler on the command line) |
Author
|
Yes, i'm setting this parameters in tomee-embedded-maven-plugin
configuration.
2017-05-19 5:42 GMT+07:00 Romain Manni-Bucau <notifications@github.com>:
… is there an issue using http? (was actually intended to make it simpler on
the command line)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACkjTTysXuWWk2EAQskh0kJnfIvBfYfSks5r7MlvgaJpZM4McG7P>
.
--
С уважением, Леонтьев Александр, г. Красноярск
моб. 296-78-66
e-mail: redkonometko@gmail.com
|
Contributor
|
Can you detail the issue you have please? is supposed to work, the property just being used to override it through system properties on the maven command line |
Author
|
I'm using jenkins on localhost:8080.
If i set <httpPort>8079</httpPort> in configuration, in log i have that
error on executing "mvn tomee-embedded:run":
[INFO] Initializing ProtocolHandler ["http-nio-8080"] [ERROR] Failed to
initialize end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use: bind at
sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at
sun.nio.ch.Net.bind(Net.java:425) at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at
org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210) at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:972)
at
org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:237)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:558) at
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:65)
"netstat -no" output in Win10 has no listening port TCP8079 on localhost.
2017-05-19 6:53 GMT+07:00 Romain Manni-Bucau <notifications@github.com>:
… Can you detail the issue you have please?
<configuration>
<httpPort>1234</httpPort>
</configuration>
is supposed to work, the property just being used to override it through
system properties on the maven command line
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACkjTXqZ7Vq-rKjarvawbPj9oX7fSqwsks5r7NnqgaJpZM4McG7P>
.
--
С уважением, Леонтьев Александр, г. Красноярск
моб. 296-78-66
e-mail: redkonometko@gmail.com
|
Author
|
Oh... i fogot about <skipHttp>.. Error appears when i set this attr to true
(there is no webmodules in my project).
2017-05-19 9:59 GMT+07:00 Alexander Leontyev <redkonometko@gmail.com>:
… I'm using jenkins on localhost:8080.
If i set <httpPort>8079</httpPort> in configuration, in log i have that
error on executing "mvn tomee-embedded:run":
[INFO] Initializing ProtocolHandler ["http-nio-8080"] [ERROR] Failed to
initialize end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use: bind at
sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.
ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at
org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210) at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:972)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:237)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:558) at
org.apache.coyote.http11.AbstractHttp11Protocol.init(
AbstractHttp11Protocol.java:65)
"netstat -no" output in Win10 has no listening port TCP8079 on localhost.
2017-05-19 6:53 GMT+07:00 Romain Manni-Bucau ***@***.***>:
> Can you detail the issue you have please?
>
> <configuration>
> <httpPort>1234</httpPort>
> </configuration>
>
> is supposed to work, the property just being used to override it through
> system properties on the maven command line
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#63 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/ACkjTXqZ7Vq-rKjarvawbPj9oX7fSqwsks5r7NnqgaJpZM4McG7P>
> .
>
--
С уважением, Леонтьев Александр, г. Красноярск
моб. 296-78-66
e-mail: ***@***.***
--
С уважением, Леонтьев Александр, г. Красноярск
моб. 296-78-66
e-mail: redkonometko@gmail.com
|
Contributor
|
Then it can be linked to another config like server.xml bit not this diff right? |
jgallimore
pushed a commit
to jgallimore/tomee
that referenced
this pull request
Mar 4, 2019
git cherry-pick f2b79bd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In tomee-embedded-maven-plugin configuration, property with tag ignored.