cancel
Showing results for 
Search instead for 
Did you mean: 

Severe Error on startup of Tomee

Wineman
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I tried the handson session of the open.sap.com Course "Create and Deliver Cloud-Native SAP S/4HANA Extensions" (last unit of week 1), but struggle with the local deployment, because tomee does not start.

Tomee shows a Severe error on localhost:8005, obviously this port is used by Windows 10 per default.

I already tried to change the setting in "server.xml" in the folder "\application\target\apache-tomee\conf" from 8005 to 8015, buf this change is overwritten back to 8005 somehow. (why?)

So my question: how can I change the shutdown port for tomee to get this locally running on a Windows 10 system?

Thanks

screenshot

View Entire Topic
cschubert
Participant
0 Kudos

Hi Wolfgang,

I assume you run

mvn clean tomee:run

to start tomee locally. The clean portion of the maven command will delete the contents of the target folder, thereby removing your change to the port.

To fix the issue you can provide the port to use via the command line:

mvn clean tomee:run -Dtomee-plugin.shutdown=8006

For further details please have a look at this StackOverflow question.

Greetings

Chris

Wineman
Product and Topic Expert
Product and Topic Expert
0 Kudos

thanks a lot, Marco and Christoph. I ran "mvn tomee:run"

I tried to make the Change in the Server.xml, but without effect, the Change is overwritten somehow. In the pom.xml there is no entry

thanks again, will do it on command line Level