7.6.x - Tomcat v8.5 Server at localhost 'has encountered a problem.

1
0
-1

Hello,

After updating windows 10 and windows 7, the beautiful studio stops working correctly.
Example: Accessing UI Designer Displays Error
Tomcat v8.5 Server at localhost 'has encountered a problem.

Server Tomcat v8.5 Server at localhost was unable to start within 300 seconds. If the server requires more time, try increasing the timeout in the server publisher.

!ENTRY org.bonitasoft.studio.common 1 0 2018-03-14 10:31:14.712
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.common 1 0 2018-03-14 10:31:14.734
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.engine 1 0 2018-03-14 10:31:14.748
!MESSAGE Starting tomcat...

!ENTRY org.bonitasoft.studio.common 1 0 2018-03-14 10:31:16.148
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.common 4 0 2018-03-14 10:31:16.242
!MESSAGE
!STACK 0
java.nio.file.AccessDeniedException: C:\BonitaStudioCommunity-7.6.1\workspace\default\h2_database\conf\bitronix-resources.properties
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at org.bonitasoft.studio.common.repository.core.DatabaseHandler.createBitronixConfFile(DatabaseHandler.java:108)
at org.bonitasoft.studio.engine.TomcatVmArgsBuilder.createBitronixConfiguration(TomcatVmArgsBuilder.java:95)
at org.bonitasoft.studio.engine.TomcatVmArgsBuilder.getVMArgs(TomcatVmArgsBuilder.java:77)
at org.bonitasoft.studio.engine.BOSWebServerManager.configureLaunchConfiguration(BOSWebServerManager.java:345)
at org.bonitasoft.studio.engine.BOSWebServerManager.createLaunchConfiguration(BOSWebServerManager.java:336)
at org.bonitasoft.studio.engine.BOSWebServerManager.startServer(BOSWebServerManager.java:208)
at org.bonitasoft.studio.engine.BOSEngineManager.start(BOSEngineManager.java:153)
at org.bonitasoft.studio.engine.BOSEngineManager.loginTenant(BOSEngineManager.java:293)
at org.bonitasoft.studio.engine.BOSEngineManager.loginDefaultTenant(BOSEngineManager.java:276)
at org.bonitasoft.studio.engine.BOSEngineManager.stop(BOSEngineManager.java:190)
at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor$PreShutdownStudio.run(BonitaStudioWorkbenchAdvisor.java:107)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

!ENTRY org.eclipse.wst.server.core 4 0 2018-03-14 10:36:17.244
!MESSAGE Server Tomcat v8.5 Server at localhost was unable to start within 300 seconds. If the server requires more time, try increasing the timeout in the server editor.

!ENTRY org.bonitasoft.studio.engine 4 0 2018-03-14 10:38:21.173
!MESSAGE Failed to login to engine after 50 tries

!ENTRY org.bonitasoft.studio.engine 1 0 2018-03-14 10:38:21.198
!MESSAGE Tomcat server started.

!ENTRY org.bonitasoft.studio.engine 2 0 2018-03-14 10:38:23.227
!MESSAGE Tomcat server has been shutdown before first start ended.

!ENTRY org.bonitasoft.studio.engine 1 0 2018-03-14 10:38:23.249
!MESSAGE Attempt to login as install

!ENTRY org.bonitasoft.studio.common 4 0 2018-03-14 10:38:25.283
!MESSAGE
!STACK 0
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy31.login(Unknown Source)
at org.bonitasoft.studio.engine.BOSEngineManager.loginTenant(BOSEngineManager.java:298)
at org.bonitasoft.studio.engine.BOSEngineManager.loginDefaultTenant(BOSEngineManager.java:276)
at org.bonitasoft.studio.engine.BOSEngineManager.stop(BOSEngineManager.java:190)
at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor$PreShutdownStudio.run(BonitaStudioWorkbenchAdvisor.java:107)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.net.ConnectException: Connection refused: connect
at org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:146)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
at com.sun.proxy.$Proxy31.login(Unknown Source)
at org.bonitasoft.studio.engine.BOSEngineManager.loginTenant(BOSEngineManager.java:298)
at org.bonitasoft.studio.engine.BOSEngineManager.loginDefaultTenant(BOSEngineManager.java:276)
at org.bonitasoft.studio.engine.BOSEngineManager.stop(BOSEngineManager.java:190)
at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor$PreShutdownStudio.run(BonitaStudioWorkbenchAdvisor.java:107)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
at < ========== Beginning of the server stack trace ========== >. ( )
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:120)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:220)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
at org.bonitasoft.engine.api.HTTPServerAPI.executeHttpPost(HTTPServerAPI.java:170)
at org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:138)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
... 6 more
!SESSION 2018-03-14 10:42:02.799 -----------------------------------------------
eclipse.buildId=7.6.1.
java.version=1.8.0_112
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Framework arguments: --launcher.XXMaxPermSize512m
Command-line arguments: -os win32 -ws win32 -arch x86_64 --launcher.XXMaxPermSize512m

!ENTRY org.bonitasoft.studio.common 1 0 2018-03-14 10:42:13.032
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.common 1 0 2018-03-14 10:42:13.082
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.engine 1 0 2018-03-14 10:42:13.098
!MESSAGE Starting tomcat...

!ENTRY org.bonitasoft.studio.engine 1 0 2018-03-14 10:42:13.203
!MESSAGE Starting studio watchdog on 6969

!ENTRY org.bonitasoft.studio.designer 1 0 2018-03-14 10:42:13.322
!MESSAGE Starting RESTLET server on port 53600...

!ENTRY org.bonitasoft.studio.application 1 0 2018-03-14 10:42:30.931
!MESSAGE Startup duration : 00:00:24

!ENTRY org.bonitasoft.studio.common 1 0 2018-03-14 10:42:37.362
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.eclipse.wst.server.core 4 0 2018-03-14 10:47:38.844
!MESSAGE Server Tomcat v8.5 Server at localhost was unable to start within 300 seconds. If the server requires more time, try increasing the timeout in the server editor.

!ENTRY org.bonitasoft.studio.engine 4 0 2018-03-14 10:49:42.817
!MESSAGE Failed to login to engine after 50 tries

!ENTRY org.bonitasoft.studio.engine 1 0 2018-03-14 10:49:42.845
!MESSAGE Tomcat server started.

!ENTRY org.bonitasoft.studio.engine 2 0 2018-03-14 10:49:44.878
!MESSAGE Tomcat server has been shutdown before first start ended.

Comments

Submitted by antoine.mottier on Thu, 03/15/2018 - 14:59

Can you try to open the C:\BonitaStudioCommunity-7.6.1\workspace\default\h2_database\conf\bitronix-resources.properties file to make sure you have actualy the appropriate rights to edit it?

Submitted by mcustodioadm on Thu, 03/15/2018 - 16:36

Yes, I can edit it

No answers yet.
Notifications