Unable to open a connection with the database connection profile.
org.eclipse.datatools.connectivity.oda.OdaException ;
java.lang.NullPointerException
at org.eclipse.birt.report.data.oda.jdbc.dbprofile.impl.Connection.open(Connection.java:113)
at org.eclipse.birt.report.data.oda.jdbc.dbprofile.impl.Connection.open(Connection.java:57)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:250)
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:165)
at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:224)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:212)
at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:217)
at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSource(QueryExecutor.java:409)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:319)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:616)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1897)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at com.infy.ceh.management.birt.controller.TestBirtAPI.executeReport(TestBirtAPI.java:59)
at com.infy.ceh.management.birt.controller.TestBirtAPI.main(TestBirtAPI.java:78)
Caused by: java.lang.NullPointerException
at org.eclipse.datatools.connectivity.drivers.DriverManager.wereDefaultDriversCreated(DriverManager.java:519)
at org.eclipse.datatools.connectivity.drivers.DriverManager.resetDefaultInstances(DriverManager.java:594)
at org.eclipse.datatools.connectivity.drivers.DriverManager.(DriverManager.java:117)
at org.eclipse.datatools.connectivity.drivers.DriverManager.getInstance(DriverManager.java:62)
at org.eclipse.datatools.connectivity.DriverConnectionBase.getDriverDefinition(DriverConnectionBase.java:136)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:100)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
at org.eclipse.datatools.enablement.internal.postgresql.PostgreSQLJDBCConnection.(PostgreSQLJDBCConnection.java:47)
at org.eclipse.datatools.enablement.internal.postgresql.PostgreSQLConnectionFactory.createConnection(PostgreSQLConnectionFactory.java:51)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.initializeJDBCConnection(ConnectionInfoImpl.java:659)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.(ConnectionInfoImpl.java:644)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:38)
at org.eclipse.datatools.connectivity.sqm.core.SQMConnectionFactory.createConnection(SQMConnectionFactory.java:45)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:59)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryAdapterProvider.createConnection(ConnectionFactoryAdapterProvider.java:114)
at org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:163)
at org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Nov 08, 2016 4:01:52 PM org.eclipse.birt.data.engine.odaconsumer.ConnectionManager openConnection
SEVERE: Unable to open connection.
org.eclipse.datatools.connectivity.oda.OdaException ;
java.lang.NullPointerException
at org.eclipse.birt.report.data.oda.jdbc.dbprofile.impl.Connection.open(Connection.java:113)
at org.eclipse.birt.report.data.oda.jdbc.dbprofile.impl.Connection.open(Connection.java:57)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:250)
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:165)
at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:224)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:212)
at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:217)
at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSource(QueryExecutor.java:409)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:319)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:616)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1897)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at com.infy.ceh.management.birt.controller.TestBirtAPI.executeReport(TestBirtAPI.java:59)
at com.infy.ceh.management.birt.controller.TestBirtAPI.main(TestBirtAPI.java:78)
Caused by: java.lang.NullPointerException
at org.eclipse.datatools.connectivity.drivers.DriverManager.wereDefaultDriversCreated(DriverManager.java:519)
at org.eclipse.datatools.connectivity.drivers.DriverManager.resetDefaultInstances(DriverManager.java:594)
at org.eclipse.datatools.connectivity.drivers.DriverManager.(DriverManager.java:117)
at org.eclipse.datatools.connectivity.drivers.DriverManager.getInstance(DriverManager.java:62)
at org.eclipse.datatools.connectivity.DriverConnectionBase.getDriverDefinition(DriverConnectionBase.java:136)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:100)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
at org.eclipse.datatools.enablement.internal.postgresql.PostgreSQLJDBCConnection.(PostgreSQLJDBCConnection.java:47)
at org.eclipse.datatools.enablement.internal.postgresql.PostgreSQLConnectionFactory.createConnection(PostgreSQLConnectionFactory.java:51)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.initializeJDBCConnection(ConnectionInfoImpl.java:659)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.(ConnectionInfoImpl.java:644)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:38)
at org.eclipse.datatools.connectivity.sqm.core.SQMConnectionFactory.createConnection(SQMConnectionFactory.java:45)
at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:59)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryAdapterProvider.createConnection(ConnectionFactoryAdapterProvider.java:114)
at org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:163)
at org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Nov 08, 2016 4:01:52 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/D:/DailyTasks_2016/october/ESHLib/lib/deployment-jars/birt-runtime/org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar!/fontsConfig.xml cost 16ms
Nov 08, 2016 4:01:52 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/ja/X11/fonts/TT cost:0ms
Nov 08, 2016 4:01:52 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:52 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:52 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:52 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in d:/windows/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in C:/windows/fonts cost:918ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/truetype cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/ar/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in e:/WINNT/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in C:/WINNT/fonts cost:1ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/tt cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/th_TH/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/TTF cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/share/fonts/truetype cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in f:/WINNT/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in g:/WINNT/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in f:/windows/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in d:/WINNT/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/share/fonts/ko/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in e:/windows/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/share/fonts/zh_TW/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/share/fonts/ja/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/share/fonts/default/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/X/lib/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/euro_fonts/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType cost:1ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/OTF cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/ko/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/openwin/lib/locale/zh/X11/fonts/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in /usr/share/fonts/zh_CN/TrueType cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$3 run
INFO: register fonts in g:/windows/fonts cost:0ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/D:/DailyTasks_2016/october/ESHLib/lib/deployment-jars/birt-runtime/org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar!/fontsConfig_win32.xml cost 5ms
Nov 08, 2016 4:01:53 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/D:/DailyTasks_2016/october/ESHLib/lib/deployment-jars/birt-runtime/org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar!/fontsConfig_pdf.xml cost 6ms
Seems to be your data source type.
See : explanation
Related
I have uploaded the file into a directory, this works on local when i give my path as absolute. but when deploy on to meteor.com, it does upload but throws the below error.
local : stores:[new FS.Store.FileSystem("uploads",{path:"/Users/rapolu/my_meteor_apps/csvsample/imports"})]
on meteor.com : stores:[new FS.Store.FileSystem("uploads",{path: "imports"})]
[Mon Jun 29 2015 06:20:20 GMT+0000 (UTC)] INFO HIT /images/favicons/favicon-96x96.png?v=1 86.184.125.131
[Mon Jun 29 2015 06:20:20 GMT+0000 (UTC)] INFO HIT /images/favicons/favicon-160x160.png?v=1 86.184.125.131
[Mon Jun 29 2015 06:20:20 GMT+0000 (UTC)] INFO HIT /images/favicons/favicon-192x192.png?v=1 86.184.125.131
[Mon Jun 29 2015 06:20:20 GMT+0000 (UTC)] INFO HIT /images/favicons/favicon.ico?v=1 86.184.125.131
[Mon Jun 29 2015 06:20:27 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/D8e4bnuphWoXD9P7a?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:20:27 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
[Mon Jun 29 2015 06:20:28 GMT+0000 (UTC)] WARNING Error: ENOENT, open '/imports/uploads-D8e4bnuphWoXD9P7a-test.csv'
[Mon Jun 29 2015 06:20:28 GMT+0000 (UTC)] WARNING events.js:72
throw er; // Unhandled 'error' event
^
[Mon Jun 29 2015 06:20:32 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:20:32 GMT+0000 (UTC)] NOTICE Starting application on port 13989
[Mon Jun 29 2015 06:20:32 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:20:33 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:20:33 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/D8e4bnuphWoXD9P7a?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:20:33 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/D8e4bnuphWoXD9P7a?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:20:33 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/D8e4bnuphWoXD9P7a?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:20:34 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/D8e4bnuphWoXD9P7a?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:20:59 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:21:00 GMT+0000 (UTC)] INFO HIT /cfs/servertime 86.184.125.131
[Mon Jun 29 2015 06:21:04 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/nHRvdZx7ReeiRsaLc?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:21:04 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
[Mon Jun 29 2015 06:21:05 GMT+0000 (UTC)] WARNING Error: ENOENT, open '/imports/uploads-nHRvdZx7ReeiRsaLc-test.csv'
[Mon Jun 29 2015 06:21:05 GMT+0000 (UTC)] WARNING events.js:72
throw er; // Unhandled 'error' event
^
[Mon Jun 29 2015 06:21:05 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:21:05 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:21:05 GMT+0000 (UTC)] NOTICE Starting application on port 13989
[Mon Jun 29 2015 06:21:05 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:21:12 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
[Mon Jun 29 2015 06:25:09 GMT+0000 (UTC)] INFO STATUS running -> killed
[Mon Jun 29 2015 06:25:09 GMT+0000 (UTC)] INFO STATUS killed -> starting
[Mon Jun 29 2015 06:25:09 GMT+0000 (UTC)] NOTICE Starting application on port 13989
[Mon Jun 29 2015 06:25:10 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:25:15 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:25:15 GMT+0000 (UTC)] INFO HIT /favicon.ico 86.184.125.131
[Mon Jun 29 2015 06:25:36 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:25:36 GMT+0000 (UTC)] INFO HIT /favicon.ico 86.184.125.131
[Mon Jun 29 2015 06:25:45 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:245
throw(ex);
^
[Mon Jun 29 2015 06:25:45 GMT+0000 (UTC)] WARNING Error: No replica set primary available for query with ReadPreference PRIMARY
at Object.Future.wait (/meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:395:16)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:733:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:620:1)
at Accounts.urls (packages/accounts-base/accounts_server.js:1309:1)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1616:4
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1659:3
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/boot.js:222:10
at Array.forEach (native)
at Function._.each._.forEach (/meteor/dev_bundles/0.4.18/lib/node_modules/underscore/underscore.js:79:11)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/boot.js:117:5
- - - - -
at [object Object].ReplSet.checkoutReader
(/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/repl_set/repl_set.js:613:14)
at Cursor.nextObject (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:748:48)
at Cursor.toArray (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:169:10)
at Db.indexInformation (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1629:39)
at Db.ensureIndex (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1496:8)
at Collection.ensureIndex (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/collection/index.js:68:11)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:732:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:620:1)
at Accounts.urls (packages/accounts-base/accounts_server.js:1309:1)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1616:4
[Mon Jun 29 2015 06:25:45 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:25:45 GMT+0000 (UTC)] NOTICE Starting application on port 13989
[Mon Jun 29 2015 06:25:45 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:25:45 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:26:05 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:26:05 GMT+0000 (UTC)] INFO HIT /favicon.ico 86.184.125.131
[Mon Jun 29 2015 06:26:16 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:245
throw(ex);
^
[Mon Jun 29 2015 06:26:16 GMT+0000 (UTC)] WARNING Error: No replica set primary available for query with ReadPreference PRIMARY
at Object.Future.wait (/meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:395:16)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:733:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:620:1)
at Accounts.urls (packages/accounts-base/accounts_server.js:1309:1)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1616:4
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1659:3
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/boot.js:222:10
at Array.forEach (native)
at Function._.each._.forEach (/meteor/dev_bundles/0.4.18/lib/node_modules/underscore/underscore.js:79:11)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/boot.js:117:5
- - - - -
at [object Object].ReplSet.checkoutReader
(/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/repl_set/repl_set.js:613:14)
at Cursor.nextObject (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:748:48)
at Cursor.toArray (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:169:10)
at Db.indexInformation (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1629:39)
at Db.ensureIndex (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1496:8)
at Collection.ensureIndex (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/collection/index.js:68:11)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:732:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:620:1)
at Accounts.urls (packages/accounts-base/accounts_server.js:1309:1)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1616:4
[Mon Jun 29 2015 06:26:16 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:26:16 GMT+0000 (UTC)] NOTICE Starting application on port 13989
[Mon Jun 29 2015 06:26:16 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:26:16 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:26:39 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:26:39 GMT+0000 (UTC)] INFO HIT /favicon.ico 86.184.125.131
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] WARNING throw(ex);
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:245
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] WARNING ^
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] WARNING Error: No replica set primary available for query with ReadPreference PRIMARY
at Object.Future.wait (/meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:395:16)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:733:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:620:1)
at Accounts.urls (packages/accounts-base/accounts_server.js:1309:1)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1616:4
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1659:3
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/boot.js:222:10
at Array.forEach (native)
at Function._.each._.forEach (/meteor/dev_bundles/0.4.18/lib/node_modules/underscore/underscore.js:79:11)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/boot.js:117:5
- - - - -
at [object Object].ReplSet.checkoutReader
(/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/repl_set/repl_set.js:613:14)
at Cursor.nextObject (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:748:48)
at Cursor.toArray (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:169:10)
at Db.indexInformation (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1629:39)
at Db.ensureIndex (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1496:8)
at Collection.ensureIndex (/meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/collection/index.js:68:11)
at [object Object].MongoConnection._ensureIndex (packages/mongo/mongo_driver.js:732:1)
at [object Object].Mongo.Collection._ensureIndex (packages/mongo/collection.js:620:1)
at Accounts.urls (packages/accounts-base/accounts_server.js:1309:1)
at /meteor/containers/8721c660-c4fb-b76c-8a3f-22f23adf7ecd/bundle/programs/server/packages/accounts-base.js:1616:4
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] NOTICE Starting application on port 13989
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:26:47 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:27:16 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:27:17 GMT+0000 (UTC)] INFO HIT /favicon.ico 86.184.125.131
[Mon Jun 29 2015 06:27:23 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
[Mon Jun 29 2015 06:27:52 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:27:52 GMT+0000 (UTC)] INFO HIT /favicon.ico 86.184.125.131
[Mon Jun 29 2015 06:28:45 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:28:45 GMT+0000 (UTC)] INFO HIT /4e646c7372bb59bf0a9ce4713fd830d891c4218c.css?meteor_css_resource=true 86.184.125.131
[Mon Jun 29 2015 06:28:45 GMT+0000 (UTC)] INFO HIT /9c31f2c06b4ee8be85e16f865905db59c426b6d0.js 86.184.125.131
[Mon Jun 29 2015 06:28:47 GMT+0000 (UTC)] INFO HIT /cfs/servertime 86.184.125.131
[Mon Jun 29 2015 06:28:48 GMT+0000 (UTC)] INFO HIT /fonts/font-awesome/fontawesome-webfont.woff2?v=4.3.0 86.184.125.131
[Mon Jun 29 2015 06:29:57 GMT+0000 (UTC)] INFO STATUS killed -> sleeping
[Mon Jun 29 2015 06:29:57 GMT+0000 (UTC)] INFO STATUS running -> killed
[Mon Jun 29 2015 06:34:40 GMT+0000 (UTC)] INFO STATUS null -> starting
[Mon Jun 29 2015 06:34:40 GMT+0000 (UTC)] NOTICE Starting application on port 29524
[Mon Jun 29 2015 06:34:41 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:35:55 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:35:55 GMT+0000 (UTC)] INFO HIT /8bac033753cf7508ef86b940e3b344d52625868e.js 86.184.125.131
[Mon Jun 29 2015 06:35:56 GMT+0000 (UTC)] INFO HIT /cfs/servertime 86.184.125.131
[Mon Jun 29 2015 06:36:05 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/kRKA3dRtMhETZTyRc?chunk=0&filename=test.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:36:05 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
[Mon Jun 29 2015 06:36:06 GMT+0000 (UTC)] WARNING
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open '/imports/uploads-kRKA3dRtMhETZTyRc-test.csv'
[Mon Jun 29 2015 06:36:06 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:36:06 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:36:06 GMT+0000 (UTC)] NOTICE Starting application on port 29524
[Mon Jun 29 2015 06:36:06 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:36:12 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
[Mon Jun 29 2015 06:40:47 GMT+0000 (UTC)] INFO HIT / 86.184.125.131
[Mon Jun 29 2015 06:40:47 GMT+0000 (UTC)] INFO HIT /cfs/servertime 86.184.125.131
[Mon Jun 29 2015 06:41:09 GMT+0000 (UTC)] INFO HIT /cfs/files/uploads/ZYTz2p9Tw9NkWHNqC?chunk=0&filename=abc.csv&token=eyJhdXRoVG9rZW4iOiIifQ%3D%3D 86.184.125.131
[Mon Jun 29 2015 06:41:10 GMT+0000 (UTC)] WARNING events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open '/imports/uploads-ZYTz2p9Tw9NkWHNqC-abc.csv'
[Mon Jun 29 2015 06:41:10 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Mon Jun 29 2015 06:41:10 GMT+0000 (UTC)] NOTICE Starting application on port 29524
[Mon Jun 29 2015 06:41:10 GMT+0000 (UTC)] INFO STATUS running -> starting
[Mon Jun 29 2015 06:41:10 GMT+0000 (UTC)] INFO STATUS starting -> running
[Mon Jun 29 2015 06:41:11 GMT+0000 (UTC)] INFO Meteor._wrapAsync has been renamed to Meteor.wrapAsync
meteor.com doesn't provide storage. Use gridfs.
I am working on a dynamic web project and everything has been working fine until I added the email capability. Since I added spring: 2.5.6 to my dependency list, tomcat won't start. Here's my POM file:
Here's the stack trace:
May 28, 2015 7:44:24 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:testApp' did not find a matching property.
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/8.0.15
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Nov 2 2014 19:25:20 UTC
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 8.0.15.0
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Mac OS X
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.10.2
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: x86_64
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JAVA_HOME: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_25-b17
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: /Users/Puru/GitRepos/Private/testApp/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /usr/local/apache-tomcat-8.0.15
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/Users/Puru/GitRepos/Private/testApp/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/usr/local/apache-tomcat-8.0.15
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=/Users/Puru/GitRepos/Private/testApp/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/usr/local/apache-tomcat-8.0.15/endorsed
May 28, 2015 7:44:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=UTF-8
May 28, 2015 7:44:24 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/Puru/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
May 28, 2015 7:44:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
May 28, 2015 7:44:24 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
May 28, 2015 7:44:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8443"]
May 28, 2015 7:44:24 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
May 28, 2015 7:44:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
May 28, 2015 7:44:24 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
May 28, 2015 7:44:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 922 ms
May 28, 2015 7:44:24 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 28, 2015 7:44:24 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.15
May 28, 2015 7:44:26 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testApp]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:917)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testApp]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 more
Caused by: java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Ljava/util/List;)V
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5185)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
May 28, 2015 7:44:26 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:917)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
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:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:925)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
May 28, 2015 7:44:26 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
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:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:925)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-8080"]
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-8443"]
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-nio-8009"]
May 28, 2015 7:44:26 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8080"]
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol destroy
SEVERE: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"]
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:307)
at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:482)
at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:795)
at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:531)
at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:588)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:850)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
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:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8443"]
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol destroy
SEVERE: Failed to destroy end point associated with ProtocolHandler ["http-nio-8443"]
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:307)
at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:482)
at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:795)
at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:531)
at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:588)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:850)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
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:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
May 28, 2015 7:44:26 PM org.apache.coyote.AbstractProtocol destroy
SEVERE: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"]
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:307)
at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:482)
at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:795)
at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:531)
at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:588)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:850)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:305)
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
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:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
I have looked up other threads which say that there might be a version conflict and the solution would be to remove on or the other. But I don't understand what if I want to use both.
Thanks in advance.
I finally figured out that indeed removing spring 2.5.6 was the solution. The package that I was trying to use from spring2.5.6 was also present in spring.context.support framework.
Removing the spring2.5.6. resolved the conflict and adding spring.context.support resolved build errors.
I'm using meteor deploy with a little test app, and I'm finding that it sort of works, but doesn't complain about anything in the logs, so I'm not sure what to do next.
For example, the home page doesn't render, while accounts-entry is able to render only the password field of the sign-up page (not the email one)! It's really quite weird.
I'm using the npm package to include a node module, however removing this doesn't seem to make any difference.
I'm not sure where to look next to debug this?
The code is here:
https://github.com/jimmytidey/observatory
The app is here:
http://test_observatory.meteor.com
The logs look absolutely normal I think:
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT / 46.65.36.129
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT /f1db89943c1358003f76977ed6df57e9adf2aaa2.css 46.65.36.129
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT /537d85f650bdfb82439bc7d0c9e073f7b16684d6.js 46.65.36.129
[Sun Jan 05 2014 11:07:59 GMT+0000 (UTC)] INFO HIT /f1db89943c1358003f76977ed6df57e9adf2aaa2.css 46.65.36.129
[Sun Jan 05 2014 11:08:00 GMT+0000 (UTC)] INFO HIT /537d85f650bdfb82439bc7d0c9e073f7b16684d6.js 46.65.36.129
[Sun Jan 05 2014 11:08:48 GMT+0000 (UTC)] INFO HIT / 46.65.36.129
[Sun Jan 05 2014 11:08:53 GMT+0000 (UTC)] INFO HIT /sign-in 46.65.36.129
[Sun Jan 05 2014 11:08:59 GMT+0000 (UTC)] INFO HIT /sign-up 46.65.36.129
[Sun Jan 05 2014 11:09:34 GMT+0000 (UTC)] INFO HIT / 46.65.36.129
[Sun Jan 05 2014 11:09:39 GMT+0000 (UTC)] INFO HIT /sign-up 46.65.36.129
[Sun Jan 05 2014 11:10:51 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 46.65.36.129
The errors seem to be on the client side, see the javascript console on your browser while visiting the page.
Errors with meteor logs only display the errors on the server side
The error seems to be a misspelling in Template.coffee for the word Template. (See https://github.com/jimmytidey/Observatory/blob/master/client/views/home/home.coffee#L1). I sent you a PR too.
This syntax error stops all of the code after it from running. This is why the router does not register its routes and nothing appears on the screen.
Silly typo ;-)
Whenever I am going to run my project I am getting this error frequently.please let me know what is the reason behind it.serverstartup in 1680.I googled a lot but not getting any solution of it.I created a new workspace also but getting this same problem.
Dec 22, 2012 11:35:31 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program Files\Java
\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java
/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib
/i386;c:\program files\dell\dw wlan card;C:\Windows\system32;C:\Windows;C:\Windows
\system32\wbem;C:\Windows\system32\windowspowershell\v1.0\;c:\program files\java
\jdk1.6.0_25\bin;c:\program files\ibm\gsk8\lib;C:\Program Files\Microsoft SQL
Server\100\Tools\Binn\;C: \Program Files\Microsoft SQL Server\100\DTS\Binn
\;B:\eclipse;;.
Dec 22, 2012 11:35:31 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
'source' to 'org.eclipse.jst.jee.server:RESTfulProject' did not find a matching property.
Dec 22, 2012 11:35:31 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Dec 22, 2012 11:35:31 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Dec 22, 2012 11:35:31 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 742 ms
Dec 22, 2012 11:35:31 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Dec 22, 2012 11:35:31 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.8
Dec 22, 2012 11:35:31 AM com.sun.jersey.api.core.ClasspathResourceConfig init
INFO: Scanning for root resource and provider classes in the paths:
B:\XYRAD\XyRadwebservicesMoon\.metadata\.plugins\org.eclipse.wst.server.core
\tmp6\wtpwebapps\RESTfulProject\WEB-INF\lib
B:\XYRAD\XyRadwebservicesMoon\.metadata\.plugins\org.eclipse.wst.server.core
\tmp6\wtpwebapps\RESTfulProject\WEB-INF\classes
Dec 22, 2012 11:35:32 AM com.sun.jersey.api.core.ClasspathResourceConfig init
INFO: Root resource classes found:
class webService.FeedService
Dec 22, 2012 11:35:32 AM com.sun.jersey.api.core.ClasspathResourceConfig init
INFO: Provider classes found:
Dec 22, 2012 11:35:33 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Dec 22, 2012 11:35:33 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Dec 22, 2012 11:35:33 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1680 ms
I use SpringSource Tool Suite sts to start a hello world example about MVC.
File -> New -> Spring Template Project -> then choose Spring MVC Project
I add Project Name: helloworld
and specify the top-level package as com.helloworld.myapp
then finish.
now I try to run the application and choose Run on Server
and it always shows me the everlasting screen that says: The requested resource (/helloworld/) is not available.
server shows the following:
Nov 30, 2011 4:06:53 PM com.springsource.tcserver.security.PropertyDecoder <init> INFO: tc
Runtime property decoder using memory-based key Nov 30, 2011 4:06:53
PM com.springsource.tcserver.security.PropertyDecoder INFO:
tcServer Runtime property decoder has been initialized in 183 ms Nov
30, 2011 4:06:53 PM org.apache.coyote.AbstractProtocol init INFO:
Initializing ProtocolHandler ["http-bio-8080"] Nov 30, 2011 4:06:53 PM
com.springsource.tcserver.serviceability.rmi.JmxSocketListener init
INFO: Started up JMX registry on 127.0.0.1:6969 in 63 ms Nov 30, 2011
4:06:53 PM org.apache.catalina.startup.Catalina load INFO:
Initialization processed in 693 ms Nov 30, 2011 4:06:53 PM
org.apache.catalina.core.StandardService startInternal INFO: Starting
service Catalina Nov 30, 2011 4:06:53 PM
org.apache.catalina.core.StandardEngine startInternal INFO: Starting
Servlet Engine: VMware vFabric tc Runtime
2.6.1.RELEASE/7.0.20.B.RELEASE Nov 30, 2011 4:06:53 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO:
Deploying configuration descriptor insight.xml from
D:\springsource\vfabric-tc-server-developer-2.6.1.RELEASE\spring-insight-instance\conf\Catalina\localhost
Nov 30, 2011 4:06:53 PM
com.springsource.insight.collection.tcserver.ltw.TomcatWeavingInsightClassLoader
start INFO: Context [localhost|insight] will not be woven Nov 30, 2011
4:06:54 PM org.apache.catalina.core.ApplicationContext log INFO:
Initializing Spring root WebApplicationContext Nov 30, 2011 4:07:04 PM
org.apache.catalina.core.ApplicationContext log INFO: Initializing
Spring FrameworkServlet 'Spring MVC Dispatcher Servlet' Nov 30, 2011
4:07:06 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager Nov 30, 2011 4:07:06
PM
com.springsource.insight.collection.tcserver.ltw.TomcatWeavingInsightClassLoader
start INFO: Context [localhost|manager] will not be woven Nov 30, 2011
4:07:06 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT Nov 30, 2011 4:07:06 PM
com.springsource.insight.collection.tcserver.ltw.TomcatWeavingInsightClassLoader
start INFO: Context [localhost|ROOT] will not be woven Nov 30, 2011
4:07:06 PM org.apache.coyote.AbstractProtocol start INFO: Starting
ProtocolHandler ["http-bio-8080"] Nov 30, 2011 4:07:06 PM
org.apache.catalina.startup.Catalina start INFO: Server startup in
12820 ms Nov 30, 2011 4:07:56 PM
org.apache.catalina.startup.HostConfig deployDescriptor INFO:
Deploying configuration descriptor EchoSpringMVC.xml from
D:\springsource\vfabric-tc-server-developer-2.6.1.RELEASE\spring-insight-instance\conf\Catalina\localhost
Nov 30, 2011 4:07:56 PM
org.apache.catalina.startup.SetContextPropertiesRule begin WARNING:
[SetContextPropertiesRule]{Context} Setting property 'source' to
'org.eclipse.jst.jee.server:EchoSpringMVC' did not find a matching
property. Nov 30, 2011 4:07:56 PM
com.springsource.insight.collection.tcserver.ltw.TomcatWeavingInsightClassLoader
start INFO: Context [localhost|EchoSpringMVC] will not be woven Nov
30, 2011 4:07:56 PM org.apache.catalina.core.StandardContext
listenerStart SEVERE: Exception sending context initialized event to
listener instance of class
org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: org/apache/log4j/Level at
org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230) at
org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248) at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:272)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:191)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722) Caused by:
java.lang.ClassNotFoundException: org.apache.log4j.Level at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
... 18 more
Nov 30, 2011 4:07:56 PM org.apache.catalina.core.StandardContext
startInternal SEVERE: Error listenerStart Nov 30, 2011 4:07:56 PM
org.apache.catalina.core.StandardContext startInternal SEVERE: Context
[/EchoSpringMVC] startup failed due to previous errors Nov 30, 2011
4:07:56 PM org.apache.catalina.core.ApplicationContext log INFO:
Closing Spring root WebApplicationContext Nov 30, 2011 4:07:56 PM
org.apache.catalina.core.StandardContext listenerStop SEVERE:
Exception sending context destroyed event to listener instance of
class org.springframework.web.context.ContextLoaderListener
java.lang.ExceptionInInitializerError at
org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:80)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4763)
at
org.apache.catalina.core.StandardContext$4.run(StandardContext.java:5473)
at java.lang.Thread.run(Thread.java:722) Caused by:
java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be
successfully initialized. See also
http://www.slf4j.org/codes.html#unsuccessfulInit at
org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:282) at
org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248) at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:272)
at
org.springframework.web.context.ContextCleanupListener.(ContextCleanupListener.java:43)
... 4 more
Where do I go wrong?
Please help.
I've solved changing log4j 1.2.15 with 1.2.16 in pom.xml
New dependency look like this
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
<scope>runtime</scope>
</dependency>
That's all
It looks like you are having this exception:
https://issuetracker.springsource.com/browse/STS-2128
Your code will run fine. This is a caching problem with WTP (Web Tools Project). A clean build should remove the error.