Dashboard

10 views
Skip to first unread message

Alex de Maria

unread,
Mar 10, 2017, 4:00:41 AM3/10/17
to icatgroup
Hi all,

After some time using dashboard I could not redeploy it anymore when we moved the DB to another machine.

So, I tried again this morning and I ran the installation script:

This is the command I executed and the output:

[glassfish@ovm-icat2 dashboard]$ python setup install
JDBC connection pool dashboard created successfully.
Attempting to ping during JDBC Connection Pool Creation : dashboard - Succeeded.
Command create-jdbc-connection-pool executed successfully.
No response from Domain Admin Server after 600 seconds.
The command is either taking too long to complete or the server has failed.
Please see the server log files for command status.

Deployment failed 
Setup is not complete

- Dashboard started to populate (?) the database and some errors where displayed but it seemed no to stop the process:

2017-03-10 09:46:22,902 [admin-listener(17)] INFO  EntityCounter - Starting entity count for date 2017-03-09
2017-03-10 09:46:22,918 [admin-listener(17)] INFO  EntityCounter - Successfully completed entity count for date 
2017-03-10 09:46:22,934 [admin-listener(17)] INFO  EntityCounter - Successfully completed entity count for date 
2017-03-10 09:46:22,949 [admin-listener(17)] INFO  EntityCounter - Successfully completed entity count for date 
2017-03-10 09:46:22,966 [admin-listener(17)] INFO  EntityCounter - Successfully completed entity count for date 
2017-03-10 09:46:22,988 [admin-listener(17)] INFO  EntityCounter - Successfully completed entity count for date 
2017-03-10 09:46:27,336 [p: thread-pool-1; w: 1] ERROR GeoTool - Error has occured with contacting the GeoTool API 
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
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.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at org.icatproject.dashboard.consumers.GeoTool.contactAPI(GeoTool.java:183)
at org.icatproject.dashboard.consumers.GeoTool.getGeoLocation(GeoTool.java:75)
at org.icatproject.dashboard.consumers.ICATListener.addLocation(ICATListener.java:84)
at org.icatproject.dashboard.consumers.ICATListener.onMessage(ICATListener.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4118)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4675)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4655)
at org.glassfish.ejb.mdb.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1219)
at org.glassfish.ejb.mdb.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:81)
at com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:171)
at com.sun.proxy.$Proxy462.onMessage(Unknown Source)
at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:283)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:107)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
2017-03-10 09:46:27,336 [p: thread-pool-1; w: 1] ERROR ICATListener - null ipAddress: 160.103.235.123
2017-03-10 09:46:27,336 [p: thread-pool-1; w: 1] ERROR ICATListener - Issue inserting ICATLog into the dashboard 




Then I tried a second time but it did nothing: 

[glassfish@ovm-icat2 dashboard]$ python setup install
[glassfish@ovm-icat2 dashboard]$ python setup install
JDBC connection pool dashboard created successfully.
Attempting to ping during JDBC Connection Pool Creation : dashboard - Succeeded.
Command create-jdbc-connection-pool executed successfully.
remote failure: Error occurred during deployment: Application name dashboard-1.0.0-SNAPSHOT is already in use. Please pick a different name.. Please see server.log for more details.

Deployment failed 
Setup is not complete


Then I went into glassfish and I removed the JDBC Resources of dashboard and retried

[glassfish@ovm-icat2 dashboard]$ python setup install
JDBC connection pool dashboard created successfully.
Attempting to ping during JDBC Connection Pool Creation : dashboard - Succeeded.
Command create-jdbc-connection-pool executed successfully.
remote failure: Error occurred during deployment: Exception while loading the app : EJB Container initialization error. Please see server.log for more details.

Deployment failed 
Setup is not complete


Log says:
2017-03-10 09:48:34,568 [p: thread-pool-1; w: 6] ERROR GeoTool - Error has occured with contacting the GeoTool API 
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
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.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at org.icatproject.dashboard.consumers.GeoTool.contactAPI(GeoTool.java:183)
at org.icatproject.dashboard.consumers.GeoTool.getGeoLocation(GeoTool.java:75)
at org.icatproject.dashboard.consumers.ICATListener.addLocation(ICATListener.java:84)
at org.icatproject.dashboard.consumers.ICATListener.onMessage(ICATListener.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4118)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4675)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4655)
at org.glassfish.ejb.mdb.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1219)
at org.glassfish.ejb.mdb.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:81)
at com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:171)
at com.sun.proxy.$Proxy462.onMessage(Unknown Source)
at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:283)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:107)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
2017-03-10 09:48:34,568 [p: thread-pool-1; w: 6] ERROR ICATListener - null ipAddress: 160.103.235.123



Any hint where the problem may be?

Thanks,
A.


Message has been deleted

tkg...@gmail.com

unread,
Mar 13, 2017, 4:45:04 AM3/13/17
to icatgroup
Hi Alex,

I've emailed you about this.

I will post the resolution here once it is found for future reference.

Many thanks,
Tom

Steve Fisher

unread,
Mar 13, 2017, 5:11:26 PM3/13/17
to tkg...@gmail.com, icatgroup
I would prefer to see this discussed openly.

Steve

--
You received this message because you are subscribed to the Google Groups "icatgroup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icatgroup+unsubscribe@googlegroups.com.
To post to this group, send email to icat...@googlegroups.com.
Visit this group at https://groups.google.com/group/icatgroup.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages