I have installed Java 7 update 9:
- Code: Select all
mychal@mychal-OptiPlex-780:~$ java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
mychal@mychal-OptiPlex-780:~$
I have installed Tomcat6:
It works !
If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!
This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat6/webapps/ROOT/index.html
I have the subsonic.war file in the proper place:
- Code: Select all
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/webapps$
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/webapps$ ls
ROOT subsonic-tomcat subsonic-tomcat.war
I have restarted the subsonic server, using the sudo service subsonic stop, and then start.
I am not sure why, when I login to subsonic, nothing looks different. Do I have to remove subsonic and reinstall it? If i do, how do I remove it? (sorry, that is a noob question but honestly, I do not know how to do that one...)
- Code: Select all
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/webapps$ sudo cat /var/subsonic/subsonic.log
[sudo] password for mychal:
[2013-03-24 16:52:04,389] INFO DaoHelper - Checking database schema.
[2013-03-24 16:52:05,960] INFO DaoHelper - Done checking database schema.
[2013-03-24 16:52:06,086] INFO VersionService - Resolved local Subsonic version to: 4.7
[2013-03-24 16:52:06,341] INFO PlayerDao - Deleted 2 player(s) that haven't been used after Wed Jan 23 16:52:06 MST 2013
[2013-03-24 16:52:06,430] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Mon Mar 25 03:00:00 MDT 2013
[2013-03-24 16:52:06,489] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sun Mar 24 16:57:06 MDT 2013
[2013-03-24 16:52:12,494] WARN NetworkService - No UPnP router found.
[2013-03-24 16:52:56,137] INFO PlayerDao - Created player 8.
[2013-03-24 16:52:56,590] INFO VersionService - Resolved latest Subsonic final version to: 4.7
[2013-03-24 16:52:56,591] INFO VersionService - Resolved latest Subsonic beta version to: 4.7.beta3
[2013-03-24 16:57:06,489] INFO PodcastService - Starting scheduled Podcast refresh.
[2013-03-24 16:57:06,489] INFO PodcastService - Completed scheduled Podcast refresh.
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/webapps$
Here is my subsonic_sh.log
- Code: Select all
8 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@57fd54c4: display name [org.springframework.context.support.ClassPathXmlApplicationContext@57fd54c4]; startup date [Sun Mar 24 16:52:01 MDT 2013]; root of context hierarchy
110 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
693 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@57fd54c4]: org.springframework.beans.factory.support.DefaultListableBeanFactory@18b55b71
706 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@18b55b71: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
732 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Using WAR file: /usr/share/subsonic/subsonic.war
Extracting webapp to /var/subsonic/jetty/3105
Using WAR file: /usr/share/subsonic/subsonic.war
772 [main] INFO org.mortbay.log - jetty-6.1.x
812 [main] INFO org.mortbay.log - Extract jar:file:/usr/share/subsonic/subsonic.war!/ to /var/subsonic/jetty/3105/webapp
[GC 31552K->4410K(120576K), 0.0079090 secs]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/subsonic/jetty/3105/webapp/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[GC 35962K->2797K(120576K), 0.0079730 secs]
1951 [main] INFO / - Initializing Spring root WebApplicationContext
1951 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
1998 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@4675bf45: display name [Root WebApplicationContext]; startup date [Sun Mar 24 16:52:03 MDT 2013]; root of context hierarchy
2071 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml]
2261 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
2357 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-cache.xml]
2400 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@4675bf45]: org.springframework.beans.factory.support.DefaultListableBeanFactory@116cf35
2473 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@116cf35: defining beans [playerDao,mediaFileDao,artistDao,albumDao,playlistDao,internetRadioDao,musicFileInfoDao,musicFolderDao,userDao,transcodingDao,podcastDao,avatarDao,shareDao,daoHelper,mediaFileService,securityService,settingsService,mediaScannerService,searchService,networkService,playerService,playlistService,versionService,statusService,musicInfoService,musicIndexService,audioScrobblerService,transcodingService,shareService,podcastService,adService,jukeboxService,metaDataParserFactory,ajaxMultiService,ajaxNowPlayingService,ajaxPlayQueueService,ajaxPlaylistService,ajaxLyricsService,ajaxCoverArtService,ajaxStarService,ajaxTagService,ajaxTransferService,ajaxChatService,filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,basicProcessingFilter,restRequestParameterProcessingFilter,basicProcessingFilterEntryPoint,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,basicExceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,daoAuthenticationProvider,userCacheWrapper,ldapAuthenticationProvider,bindAuthenticator,userDetailsServiceBasedAuthoritiesPopulator,ajaxServiceInterceptor,ajaxTagServiceSecure,ajaxTransferServiceSecure,cacheFactory,userCache,mediaFileMemoryCache,musicFileMemoryCache]; root of factory hierarchy
2503 [main] INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: org.hsqldb.jdbcDriver
[GC 34349K->7649K(120576K), 0.0133660 secs]
[GC 39201K->25742K(129856K), 0.0566520 secs]
[GC 66574K->50842K(129856K), 0.0890920 secs]
[GC 91674K->71443K(106176K), 0.0554050 secs]
[Full GC 71443K->27603K(121728K), 0.2407960 secs]
[GC 44869K->32529K(133568K), 0.0101030 secs]
[GC 49683K->34444K(133568K), 0.0113660 secs]
4805 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
4813 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public net.sourceforge.subsonic.ajax.UploadInfo net.sourceforge.subsonic.ajax.TransferService.getUploadInfo()] with attributes [[ROLE_UPLOAD]]
4813 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public java.lang.String net.sourceforge.subsonic.ajax.TagService.setTags(int,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)] with attributes [[ROLE_COVERART]]
4813 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
4832 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2881 ms
4863 [main] INFO / - Initializing Spring FrameworkServlet 'subsonic'
4863 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization started
4864 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@4087a061: display name [WebApplicationContext for namespace 'subsonic-servlet']; startup date [Sun Mar 24 16:52:06 MDT 2013]; parent: org.springframework.web.context.support.XmlWebApplicationContext@4675bf45
4864 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/subsonic-servlet.xml]
4956 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@4087a061]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1be6fc00
[GC 51596K->35103K(133568K), 0.0122860 secs]
5027 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1be6fc00: defining beans [leftController,rightController,statusController,mainController,playlistController,importPlaylistController,topController,helpController,moreController,uploadController,lyricsController,allmusicController,podcastController,podcastReceiverController,podcastReceiverAdminController,setMusicFileInfoController,shareManagementController,setRatingController,randomPlayQueueController,changeCoverArtController,nowPlayingController,starredController,searchController,settingsController,playerSettingsController,shareSettingsController,musicFolderSettingsController,networkSettingsController,transcodingSettingsController,internetRadioSettingsController,podcastSettingsController,generalSettingsController,advancedSettingsController,personalSettingsController,avatarUploadController,userSettingsController,passwordSettingsController,homeController,editTagsController,playQueueController,coverArtController,avatarController,proxyController,statusChartController,userChartController,m3uController,streamController,hlsController,videoPlayerController,externalPlayerController,downloadController,donateController,multiController,wapController,restController,dbController,donateValidator,userSettingsValidator,passwordSettingsValidator,urlMapping,messageSource,themeSource,localeResolver,themeResolver,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@116cf35
[GC 52255K->34611K(133568K), 0.0115060 secs]
[GC 51763K->35025K(133568K), 0.0045100 secs]
[GC 52177K->35800K(133568K), 0.0032240 secs]
5618 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 755 ms
5630 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on: http://localhost:4040/
5687 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
5702 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
5751 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:9412](local),objID:[0:0:0, 0]]]]
[GC 52952K->38291K(133568K), 0.0127470 secs]
[GC 55443K->37976K(133568K), 0.0061940 secs]
[GC 55128K->40274K(133568K), 0.0041900 secs]
[GC 57426K->39877K(133568K), 0.0118120 secs]
[GC 59216K->42920K(133568K), 0.0153140 secs]
[GC 60075K->43447K(133568K), 0.0122760 secs]
[GC 60599K->44521K(133568K), 0.0057870 secs]
[GC 61673K->45329K(133568K), 0.0185330 secs]
55274 [btpool0-5] INFO org.directwebremoting.log.startup - Starting: DwrServlet v3.0.0.116.rc1 on jetty-6.1.x / JDK 1.7.0_09 from Oracle Corporation at
[GC 62481K->46817K(133568K), 0.0075920 secs]
[GC 63969K->48662K(133568K), 0.0118690 secs]
[GC 65814K->50215K(133568K), 0.0067650 secs]
[GC 67367K->52661K(133568K), 0.0181830 secs]
[GC 69813K->55048K(119680K), 0.0326870 secs]
[GC 72200K->58658K(134528K), 0.0309060 secs]
[GC 77026K->63471K(123328K), 0.0395780 secs]
[GC 81839K->65734K(133888K), 0.0215180 secs]
[GC 85318K->65908K(133184K), 0.0107930 secs]
Any help would be appreciated.