Skip to content

Doc modification  #328

@ruanwenjun

Description

@ruanwenjun

When I start the service according to the doc
image
There will throw an exception

java.lang.IllegalStateException: eventMesh.server.env error
	at com.google.common.base.Preconditions.checkState(Preconditions.java:508)
	at org.apache.eventmesh.common.config.CommonConfiguration.init(CommonConfiguration.java:68)
	at org.apache.eventmesh.runtime.configuration.EventMeshHTTPConfiguration.init(EventMeshHTTPConfiguration.java:77)
	at org.apache.eventmesh.runtime.boot.EventMeshStartup.main(EventMeshStartup.java:40)
	at org.apache.eventmesh.starter.StartUp.main(StartUp.java:24)

It seems the eventmesh.properties doesn't been load. I try to modify it to below, this can be solved.

-Dlog4j.configurationFile=eventmesh-runtime/conf/log4j2.xml
-Deventmesh.log.home=eventmesh-runtime/logs
-Deventmesh.home=eventmesh-runtime
-DconfPath=eventmesh-runtime/conf

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions