Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Hello world example not working
Hello world example not working [message #1805304] Thu, 11 April 2019 12:31 Go to next message
Olaf van der Meer is currently offline Olaf van der MeerFriend
Messages: 4
Registered: April 2019
Junior Member
Hi,

I am trying the hello world example but don't get it working.
When I go http://localhost:8080/ the jetty directory browser is displayed with a WEB-INF folder (which is empty).

I am using window 10
A new installed eclipse with scout bundled.
Java 1.8.0.181

Any idea's?

The log output is:
2019-04-11 13:10:42,589 INFO [main] org.eclipse.jetty.util.log.initialized(Log.java:193) - Logging initialized @360ms to org.eclipse.jetty.util.log.Slf4jLog - MDC[]
2019-04-11 13:10:42,658 INFO [main] org.eclipse.scout.dev.jetty.JettyServer.createWebApp(JettyServer.java:157) - Starting Jetty with resourceBase=D:\Projects\WorkspaceScout\helloworld\helloworld.server.app.dev\src\main\webapp - MDC[]
2019-04-11 13:10:42,678 INFO [main] org.eclipse.jetty.server.Server.doStart(Server.java:370) - jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 1.8.0_181-b13 - MDC[]
2019-04-11 13:10:42,805 INFO [main] org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet(StandardDescriptorProcessor.java:283) - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet - MDC[]
2019-04-11 13:10:42,824 INFO [main] org.eclipse.jetty.server.session.doStart(DefaultSessionIdManager.java:365) - DefaultSessionIdManager workerName=node0 - MDC[]
2019-04-11 13:10:42,825 INFO [main] org.eclipse.jetty.server.session.doStart(DefaultSessionIdManager.java:370) - No SessionScavenger set, using defaults - MDC[]
2019-04-11 13:10:42,826 INFO [main] org.eclipse.jetty.server.session.startScavenging(HouseKeeper.java:149) - node0 Scavenging every 600000ms - MDC[]
2019-04-11 13:10:42,838 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.config.PropertiesHelper.parse(PropertiesHelper.java:1071) - Reading properties from file:/D:/Projects/WorkspaceScout/helloworld/helloworld.server.app.dev/target/classes/config.properties using org.eclipse.scout.rt.platform.config.DefaultConfigFileLoader - MDC[]
2019-04-11 13:10:42,843 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateHeadless(PlatformImplementor.java:172) - Headless mode: scout.headless=true, java.awt.headless=true (automatically set by Scout), GraphicsEnvironment.isHeadless()=true - MDC[]
2019-04-11 13:10:42,850 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.inventory.ClassInventory.<clinit>(ClassInventory.java:38) - Building jandex class inventory using rebuild strategy IF_MODIFIED... - MDC[]
2019-04-11 13:10:42,881 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.inventory.ClassInventory.<clinit>(ClassInventory.java:44) - Finished building jandex class inventory in 37.030419 ms. Total class count: 1219 - MDC[]
2019-04-11 13:10:42,930 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.createBeanManager(PlatformImplementor.java:219) - Collected 238 beans in 48.637332 ms - MDC[]
2019-04-11 13:10:42,965 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.createBeanManager(PlatformImplementor.java:224) - Registered 238 beans in 34.617031 ms - MDC[]
2019-04-11 13:10:42,970 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.job.internal.DevelopmentThreadNameDecorator.stateChanged(DevelopmentThreadNameDecorator.java:88) - +++ Development thread name decoration - MDC[]
2019-04-11 13:10:42,973 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.logger.LoggerPlatformListener.registerLoggerSupportBean(LoggerPlatformListener.java:105) - Registered logger support org.eclipse.scout.rt.platform.logger.LogbackLoggerSupport - MDC[]
2019-04-11 13:10:42,974 INFO [scout-platform-starter] org.eclipse.scout.rt.shared.services.common.code.CodeTypeRegistrator.stateChanged(CodeTypeRegistrator.java:42) - 0 code type classes registered. - MDC[]
2019-04-11 13:10:42,986 INFO [scout-platform-starter] org.eclipse.scout.rt.mom.api.AbstractMomTransport.initDelegate(AbstractMomTransport.java:85) - +++ Using 'NullMomImplementor' for transport 'ClusterMom'. No messages are published and received. - MDC[]
2019-04-11 13:10:43,040 INFO [main] org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:855) - Started o.e.s.d.j.P_WebAppContext@5427c60c{My Application Server,/,file:///D:/Projects/WorkspaceScout/helloworld/helloworld.server.app.dev/src/main/webapp/,AVAILABLE} - MDC[]
2019-04-11 13:10:43,056 INFO [main] org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:292) - Started ServerConnector@2aece37d{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} - MDC[]
2019-04-11 13:10:43,056 INFO [main] org.eclipse.jetty.server.Server.doStart(Server.java:407) - Started @833ms - MDC[]
2019-04-11 13:10:43,061 INFO [main] org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:112) - Server ready. The application is available on the following addresses:
---------------------------------------------------------------------
http://localhost:8080/
http://ws1:8080/
http://192.168.6.1:8080/
---------------------------------------------------------------------
To shut the server down, type "shutdown" in the console.
- MDC[]
2019-04-11 13:10:59,738 WARN [qtp731260860-19] org.eclipse.scout.rt.server.commons.authentication.DevelopmentAccessController.handle(DevelopmentAccessController.java:66) - +++ Development access control with user Olaf - MDC[]
Re: Hello world example not working [message #1805319 is a reply to message #1805304] Thu, 11 April 2019 14:32 Go to previous messageGo to next message
Stephan Merkli is currently offline Stephan MerkliFriend
Messages: 26
Registered: April 2012
Junior Member
Hi Olaf

You're trying to reach the backend server instead of the UI server.
Use http://localhost:8082/ (see log of UI app).

Kind regards
Stephan

[Updated on: Thu, 11 April 2019 14:32]

Report message to a moderator

Re: Hello world example not working [message #1805323 is a reply to message #1805319] Thu, 11 April 2019 14:56 Go to previous message
Olaf van der Meer is currently offline Olaf van der MeerFriend
Messages: 4
Registered: April 2019
Junior Member
Hi,
I have got it. You need to start both server and ui
Previous Topic:HelloWorld Scout 9 not working
Next Topic:Lookup Call
Goto Forum:
  


Current Time: Sat Oct 19 18:34:37 GMT 2019

Powered by FUDForum. Page generated in 0.02088 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top