issues installing music cabinet

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

issues installing music cabinet

Postby zosopage » Sun Mar 24, 2013 11:07 pm

I am a bit lost on installing Music Cabinet. I am still learning Ubuntu, but here are the steps I have taken.

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.
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby hakko » Mon Mar 25, 2013 6:02 am

Stupid question but you've stopped your normal subsonic service and then you are pointing your browser to (yourhost:yourtomcatport)/subsonic-tomcat, right?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: issues installing music cabinet

Postby zosopage » Mon Mar 25, 2013 2:39 pm

I did a stop on the subsonic service, but I am still connecting to the server. So, either I am connecting through Tomcat or I have multiple running. There are no stupid questions with me, thanks for your help!

Code: Select all
mychal@mychal-OptiPlex-780:~$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Mar24 ?        00:00:03 /sbin/init
root         2     0  0 Mar24 ?        00:00:00 [kthreadd]
root         3     2  0 Mar24 ?        00:00:02 [ksoftirqd/0]
root         6     2  0 Mar24 ?        00:00:00 [migration/0]
root         7     2  0 Mar24 ?        00:00:00 [watchdog/0]
root         8     2  0 Mar24 ?        00:00:00 [migration/1]
root        10     2  0 Mar24 ?        00:00:01 [ksoftirqd/1]
root        11     2  0 Mar24 ?        00:00:00 [watchdog/1]
root        12     2  0 Mar24 ?        00:00:00 [cpuset]
root        13     2  0 Mar24 ?        00:00:00 [khelper]
root        14     2  0 Mar24 ?        00:00:00 [kdevtmpfs]
root        15     2  0 Mar24 ?        00:00:00 [netns]
root        17     2  0 Mar24 ?        00:00:00 [sync_supers]
root        18     2  0 Mar24 ?        00:00:00 [bdi-default]
root        19     2  0 Mar24 ?        00:00:00 [kintegrityd]
root        20     2  0 Mar24 ?        00:00:00 [kblockd]
root        21     2  0 Mar24 ?        00:00:00 [ata_sff]
root        22     2  0 Mar24 ?        00:00:00 [khubd]
root        23     2  0 Mar24 ?        00:00:00 [md]
root        26     2  0 Mar24 ?        00:00:00 [khungtaskd]
root        27     2  0 Mar24 ?        00:00:00 [kswapd0]
root        28     2  0 Mar24 ?        00:00:00 [ksmd]
root        29     2  0 Mar24 ?        00:00:00 [khugepaged]
root        30     2  0 Mar24 ?        00:00:00 [fsnotify_mark]
root        31     2  0 Mar24 ?        00:00:00 [ecryptfs-kthrea]
root        32     2  0 Mar24 ?        00:00:00 [crypto]
root        41     2  0 Mar24 ?        00:00:00 [kthrotld]
root        42     2  0 Mar24 ?        00:00:00 [scsi_eh_0]
root        43     2  0 Mar24 ?        00:00:00 [scsi_eh_1]
root        45     2  0 Mar24 ?        00:00:00 [binder]
root        65     2  0 Mar24 ?        00:00:00 [deferwq]
root        66     2  0 Mar24 ?        00:00:00 [charger_manager]
root        67     2  0 Mar24 ?        00:00:00 [devfreq_wq]
root       205     2  0 Mar24 ?        00:00:00 [scsi_eh_2]
root       206     2  0 Mar24 ?        00:00:01 [usb-storage]
root       207     2  0 Mar24 ?        00:00:00 [scsi_eh_3]
root       208     2  0 Mar24 ?        00:00:00 [scsi_eh_4]
root       209     2  0 Mar24 ?        00:00:00 [scsi_eh_5]
root       210     2  0 Mar24 ?        00:00:00 [scsi_eh_6]
root       211     2  0 Mar24 ?        00:00:00 [scsi_eh_7]
root       212     2  0 Mar24 ?        00:00:00 [scsi_eh_8]
root       214     2  0 Mar24 ?        00:00:00 [kworker/u:5]
root       216     2  0 Mar24 ?        00:00:00 [kworker/u:7]
root       244     2  0 Mar24 ?        00:00:02 [jbd2/sda1-8]
root       245     2  0 Mar24 ?        00:00:00 [ext4-dio-unwrit]
root       333     1  0 Mar24 ?        00:00:00 upstart-udev-bridge --daemon
root       336     1  0 Mar24 ?        00:00:00 /sbin/udevd --daemon
root       427     1  0 Mar24 ?        00:00:00 /usr/sbin/sshd -D
syslog     524     1  0 Mar24 ?        00:00:01 rsyslogd -c5
root       525     2  0 Mar24 ?        00:00:01 [flush-8:0]
102        529     1  0 Mar24 ?        00:00:02 dbus-daemon --system --fork
root       659   336  0 Mar24 ?        00:00:00 /sbin/udevd --daemon
root       665   336  0 Mar24 ?        00:00:00 /sbin/udevd --daemon
root       679     2  0 Mar24 ?        00:00:00 [irq/50-mei]
root       690     2  0 Mar24 ?        00:00:00 [kpsmoused]
root       733     2  0 Mar24 ?        00:00:00 [kvm-irqfd-clean]
root       783     1  0 Mar24 ?        00:00:00 /usr/sbin/bluetoothd
root       792     1  0 Mar24 ?        00:00:00 /usr/sbin/cupsd -F
avahi      813     1  0 Mar24 ?        00:00:00 avahi-daemon: running [mychal-OptiPlex-780.local]
avahi      814   813  0 Mar24 ?        00:00:00 avahi-daemon: chroot helper
root       822     2  0 Mar24 ?        00:00:00 [hd-audio0]
root       847     1  0 Mar24 ?        00:00:00 upstart-socket-bridge --daemon
root       851     2  0 Mar24 ?        00:00:00 [krfcommd]
root       852     2  0 Mar24 ?        00:00:00 [hd-audio1]
root       870     1  0 Mar24 ?        00:00:00 /usr/sbin/modem-manager
colord     942     1  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/colord/colord
root       950     1  0 Mar24 ?        00:00:00 smbd -F
root      1020     1  0 Mar24 tty4     00:00:00 /sbin/getty -8 38400 tty4
root      1021     1  0 Mar24 ?        00:00:00 NetworkManager
root      1026     1  0 Mar24 tty5     00:00:00 /sbin/getty -8 38400 tty5
root      1032     1  0 Mar24 tty2     00:00:00 /sbin/getty -8 38400 tty2
root      1033     1  0 Mar24 tty3     00:00:00 /sbin/getty -8 38400 tty3
root      1035     1  0 Mar24 tty6     00:00:00 /sbin/getty -8 38400 tty6
root      1043     1  0 Mar24 ?        00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
root      1054     1  0 Mar24 ?        00:00:02 /usr/lib/policykit-1/polkitd --no-debug
root      1059     1  0 Mar24 ?        00:00:00 cron
daemon    1060     1  0 Mar24 ?        00:00:00 atd
root      1062     1  0 Mar24 ?        00:00:00 lightdm
whoopsie  1083     1  0 Mar24 ?        00:00:00 whoopsie
root      1097   950  0 Mar24 ?        00:00:00 smbd -F
root      1112  1062  2 Mar24 tty7     00:25:43 /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
postgres  1122     1  0 Mar24 ?        00:00:00 /usr/lib/postgresql/9.1/bin/postgres -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf
root      1123  1021  0 Mar24 ?        00:00:00 /sbin/dhclient -d -4 -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/sendsigs.omit.d/network-manager.dhclient-eth0.pid -lf /var/lib/dhcp/dhclient-256a6f8c-3e1d-4e87-8c99-695b
root      1129     2  0 Mar24 ?        00:00:00 [firegl]
root      1130     2  0 Mar24 ?        00:00:00 [firegl]
root      1131     2  0 Mar24 ?        00:00:00 [firegl]
nobody    1133  1021  0 Mar24 ?        00:00:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/r
root      1288     1  0 Mar24 ?        00:00:00 nmbd -D
root      1306  1062  0 Mar24 ?        00:00:00 lightdm --session-child 12 15
postgres  1307  1122  0 Mar24 ?        00:00:03 postgres: writer process                                                                                                   
postgres  1308  1122  0 Mar24 ?        00:00:03 postgres: wal writer process                                                                                               
postgres  1309  1122  0 Mar24 ?        00:00:00 postgres: autovacuum launcher process                                                                                       
postgres  1310  1122  0 Mar24 ?        00:00:00 postgres: stats collector process                                                                                           
root      1316     1  0 Mar24 ?        00:00:04 /usr/lib/accountsservice/accounts-daemon
root      1340     1  0 Mar24 ?        00:00:00 /usr/sbin/console-kit-daemon --no-daemon
mychal    1415  1306  0 Mar24 ?        00:00:01 gnome-session --session=ubuntu
mychal    1458     1  0 Mar24 ?        00:00:00 dbus-launch --autolaunch=ec6478476ecda6197cb6e20a51325489 --binary-syntax --close-stderr
mychal    1459  1415  0 Mar24 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session --session=ubuntu
mychal    1462     1  0 Mar24 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session gnome-session --session=ubuntu
mychal    1494     1  0 Mar24 ?        00:00:04 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
mychal    1495     1  0 Mar24 ?        00:00:00 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
tomcat6   1525     1  0 Mar24 ?        00:00:31 /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Djava.util.log
mychal    1527     1  0 Mar24 ?        00:00:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
mychal    1531  1527  0 Mar24 ?        00:00:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
mychal    1534     1  0 Mar24 ?        00:00:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
mychal    1549  1415  0 Mar24 ?        00:00:10 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
mychal    1554     1  0 Mar24 ?        00:00:00 /usr/bin/gnome-keyring-daemon --start --components=ssh
root      1560     1  0 Mar24 ?        00:00:00 /usr/lib/upower/upowerd
mychal    1712     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfsd
mychal    1722     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs//gvfsd-fuse -f /run/user/mychal/gvfs
mychal    1774  1415  0 Mar24 ?        00:05:39 compiz
mychal    1789     1  0 Mar24 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
rtkit     1791     1  0 Mar24 ?        00:00:00 /usr/lib/rtkit/rtkit-daemon
mychal    1797     1  0 Mar24 ?        00:00:01 /usr/lib/dconf/dconf-service
mychal    1799  1415  0 Mar24 ?        00:00:00 python /usr/bin/hp-systray -x
mychal    1800  1415  0 Mar24 ?        00:00:00 nm-applet
mychal    1801  1415  0 Mar24 ?        00:00:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
mychal    1802  1415  0 Mar24 ?        00:02:22 nautilus -n
mychal    1806  1415  0 Mar24 ?        00:00:00 bluetooth-applet
mychal    1807  1415  0 Mar24 ?        00:00:00 python /usr/share/screenlets-manager/screenlets-daemon.py
mychal    1812  1415  0 Mar24 ?        00:03:01 /opt/google/chrome/chrome --no-startup-window       
mychal    1816  1789  0 Mar24 ?        00:00:00 /usr/lib/pulseaudio/pulse/gconf-helper
mychal    1818     1  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
mychal    1832  1799  0 Mar24 ?        00:00:01 python /usr/bin/hp-systray -x
mychal    1833  1832  0 Mar24 ?        00:00:01 python /usr/bin/hp-systray -x
mychal    1835  1415  0 Mar24 ?        00:01:50 /usr/bin/python /opt/extras.ubuntu.com/variety/bin/variety
mychal    1840  1415  0 Mar24 ?        00:00:00 /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper
mychal    1846     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
root      1853     1  0 Mar24 ?        00:00:08 /usr/lib/udisks2/udisksd --no-debug
mychal    1860     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
mychal    1864     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
mychal    1887     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.10 /org/gtk/gvfs/exec_spaw/0
mychal    1894     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.10 /org/gtk/gvfs/exec_spaw/1
mychal    1898  1812  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --no-startup-window       
mychal    1899  1812  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome-sandbox /opt/google/chrome/chrome --type=zygote
mychal    1903  1899  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=zygote
root      1916     1  0 Mar24 tty1     00:00:00 /sbin/getty -8 38400 tty1
mychal    1921  1903  0 Mar24 ?        00:00:00 /opt/google/chrome/nacl_helper_bootstrap /opt/google/chrome/nacl_helper --reserved_at_zero=0x0000000000000000 --r_debug=0x0000000000213000
mychal    1927  1415  0 Mar24 ?        00:00:00 telepathy-indicator
mychal    1936     1  0 Mar24 ?        00:00:00 /usr/lib/telepathy/mission-control-5
mychal    1946     1  0 Mar24 ?        00:00:01 /usr/lib/bamf/bamfdaemon
mychal    1947  1903  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=zygote
mychal    1964     1  0 Mar24 ?        00:00:02 /usr/bin/signon-ui
mychal    1989     1  0 Mar24 ?        00:00:00 /usr/lib/gvfs/gvfsd-metadata
mychal    2006  1415  0 Mar24 ?        00:00:02 gnome-screensaver
mychal    2007  1415  0 Mar24 ?        00:00:00 zeitgeist-datahub
mychal    2015     1  0 Mar24 ?        00:00:00 /usr/bin/zeitgeist-daemon
mychal    2035     1  0 Mar24 ?        00:00:00 /usr/lib/zeitgeist/zeitgeist-fts
mychal    2045  2035  0 Mar24 ?        00:00:00 /bin/cat
mychal    2060  1947  0 Mar24 ?        00:00:41 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2069  1947  0 Mar24 ?        00:00:05 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2073  1947  0 Mar24 ?        00:00:06 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2080  1947  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2086  1947  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2094  1947  0 Mar24 ?        00:00:05 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2099  1947  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
mychal    2108  1947  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=renderer --lang=en-US --force-fieldtrials=BookmarkPrompt/Control/ForceCompositingMode/disable/InfiniteCache/No/OmniboxSearchSuggestTrialStarted2013Q1/11/One
root      2197     2  0 03:19 ?        00:00:00 [kworker/0:2]
mychal    2258  1774  0 Mar24 ?        00:00:00 /bin/sh -c /usr/bin/gtk-window-decorator
mychal    2259  2258  0 Mar24 ?        00:00:01 /usr/bin/gtk-window-decorator
mychal    2264     1  0 Mar24 ?        00:00:04 /usr/lib/unity/unity-panel-service
mychal    2266     1  0 Mar24 ?        00:00:01 /usr/lib/indicator-appmenu/hud-service
mychal    2285     1  0 Mar24 ?        00:00:00 /usr/lib/indicator-messages/indicator-messages-service
mychal    2287     1  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-application-service
mychal    2289     1  0 Mar24 ?        00:00:00 /usr/lib/indicator-sound/indicator-sound-service
mychal    2291     1  0 Mar24 ?        00:00:01 /usr/lib/indicator-session/indicator-session-service
mychal    2294     1  0 Mar24 ?        00:00:00 /usr/lib/indicator-datetime/indicator-datetime-service
mychal    2295     1  0 Mar24 ?        00:00:00 /usr/lib/indicator-printers/indicator-printers-service
mychal    2338     1  0 Mar24 ?        00:00:00 /usr/lib/evolution/evolution-source-registry
mychal    2358     1  0 Mar24 ?        00:00:00 /usr/lib/gnome-online-accounts/goa-daemon
mychal    2362     1  0 Mar24 ?        00:00:00 /usr/lib/geoclue/geoclue-master
mychal    2380     1  0 Mar24 ?        00:00:00 /usr/lib/ubuntu-geoip/ubuntu-geoip-provider
mychal    2388     1  0 Mar24 ?        00:00:01 /usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
mychal    2409     1  0 Mar24 ?        00:00:00 /usr/lib/notify-osd/notify-osd
mychal    2451  1415  0 Mar24 ?        00:00:00 update-notifier
mychal    2480     1  0 Mar24 ?        00:00:01 /usr/lib/unity-lens-applications/unity-applications-daemon
mychal    2482     1  0 Mar24 ?        00:00:00 /usr/lib/unity-lens-files/unity-files-daemon
mychal    2484     1  0 Mar24 ?        00:00:00 /usr/lib/gwibber/unity-gwibber-daemon
mychal    2486     1  0 Mar24 ?        00:00:10 /usr/lib/x86_64-linux-gnu/unity-music-daemon
mychal    2488     1  0 Mar24 ?        00:00:01 /usr/bin/python3 /usr/lib/unity-lens-photos/unity-lens-photos
mychal    2490     1  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/unity-shopping-daemon
mychal    2492     1  0 Mar24 ?        00:00:01 /usr/bin/python /usr/lib/unity-lens-video/unity-lens-video
mychal    2554     1  0 Mar24 ?        00:00:00 /usr/bin/signond
mychal    2565  2554  0 Mar24 ?        00:00:00 /usr/bin/signonpluginprocess oauth2
mychal    2567  2565  0 Mar24 ?        00:00:00 sh -c /usr/lib/x86_64-linux-gnu/libproxy/0.4.7/pxgsettings org.gnome.system.proxy org.gnome.system.proxy.http org.gnome.system.proxy.https org.gnome.system.proxy.ftp org.gnome.system.proxy.
mychal    2568  2567  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/libproxy/0.4.7/pxgsettings org.gnome.system.proxy org.gnome.system.proxy.http org.gnome.system.proxy.https org.gnome.system.proxy.ftp org.gnome.system.proxy.socks
mychal    2574     1  0 Mar24 ?        00:00:01 /usr/bin/python3 /usr/lib/unity-lens-files/unity-scope-gdocs
mychal    2575  1964  0 Mar24 ?        00:00:00 sh -c /usr/lib/x86_64-linux-gnu/libproxy/0.4.7/pxgsettings org.gnome.system.proxy org.gnome.system.proxy.http org.gnome.system.proxy.https org.gnome.system.proxy.ftp org.gnome.system.proxy.
mychal    2576  2575  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/libproxy/0.4.7/pxgsettings org.gnome.system.proxy org.gnome.system.proxy.http org.gnome.system.proxy.https org.gnome.system.proxy.ftp org.gnome.system.proxy.socks
mychal    2584     1  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/unity-musicstore-daemon
mychal    2586     1  0 Mar24 ?        00:00:00 /usr/bin/python /usr/lib/unity-scope-video-remote/unity-scope-video-remote
root      2685     2  0 Mar24 ?        00:00:00 [scsi_eh_9]
root      2686     2  0 Mar24 ?        00:00:00 [usb-storage]
root      2720     2  0 Mar24 ?        00:00:00 [jbd2/sdc1-8]
root      2721     2  0 Mar24 ?        00:00:00 [ext4-dio-unwrit]
mychal    2734  1415  0 Mar24 ?        00:00:00 /usr/lib/x86_64-linux-gnu/deja-dup/deja-dup-monitor
mychal    2869  1947  0 Mar24 ?        00:01:25 /opt/google/chrome/chrome --type=ppapi --channel=1812.18.614458752 --lang=en-US --enable-crash-reporter=D07DF6155F7E2E616AA15C8AAEC08636,Ubuntu 12.10
mychal    2999  1812  0 Mar24 ?        00:00:08 /opt/google/chrome/chrome --type=gpu-process --channel=1812.21.1114169863 --enable-crash-reporter=D07DF6155F7E2E616AA15C8AAEC08636,Ubuntu 12.10 --supports-dual-gpus=false --gpu-vendor-id=0x
mychal    3055  2999  0 Mar24 ?        00:00:00 /opt/google/chrome/chrome --type=gpu-process --channel=1812.21.1114169863 --enable-crash-reporter=D07DF6155F7E2E616AA15C8AAEC08636,Ubuntu 12.10 --supports-dual-gpus=false --gpu-vendor-id=0x
mychal    3168     1  0 Mar24 ?        00:00:00 quicksynergy
mychal    3176  3168  0 Mar24 ?        00:00:32 /usr/bin/synergys -f --config .quicksynergy/synergy.conf
root      3455     2  0 03:43 ?        00:00:00 [kworker/0:0]
root      3843     1  0 Mar24 ?        00:00:00 /usr/bin/python /usr/lib/system-service/system-service-d
mychal    4719     1  0 Mar24 ?        00:00:02 gnome-terminal
mychal    4727  4719  0 Mar24 ?        00:00:00 gnome-pty-helper
mychal    4728  4719  0 Mar24 pts/0    00:00:00 bash
root     11545     2  0 06:40 ?        00:00:00 [kworker/1:1]
mychal   12070     1  0 06:45 ?        00:00:33 java -Xmx150m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=0 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/var/music -Dsubsonic.
root     12292   950  0 06:47 ?        00:00:00 smbd -F
root     13070   427  0 07:04 ?        00:00:00 sshd: mychal [priv]
mychal   13203 13070  0 07:04 ?        00:00:00 sshd: mychal@pts/1 
mychal   13204 13203  0 07:04 pts/1    00:00:00 -bash
mychal   15952     1  0 07:59 ?        00:00:03 /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
lp       16134   792  0 07:59 ?        00:00:00 /usr/lib/cups/notifier/dbus dbus://
root     17329     2  0 08:23 ?        00:00:00 [kworker/1:2]
root     17950     2  0 08:36 ?        00:00:00 [kworker/1:0]
root     18086   427  0 08:39 ?        00:00:00 sshd: mychal [priv]
mychal   18267 18086  0 08:39 ?        00:00:00 sshd: mychal@pts/2 
mychal   18268 18267  0 08:39 pts/2    00:00:00 -bash
mychal   18357 18268  0 08:39 pts/2    00:00:00 ps -ef
mychal@mychal-OptiPlex-780:~$
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby hakko » Mon Mar 25, 2013 2:48 pm

It looks like you still have a Subsonic process running:

java -Xmx150m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=0 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/var/music -Dsubsonic.

maybe you should try and kill it before starting up Tomcat? (kill -9 12070)

If that process is already running when you start Tomcat, it might lock the Subsonic db (which only accepts one simultaneous connection).

Also, what is shown in your browser when you go to (yourhost:yourtomcatport)/subsonic-tomcat?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: issues installing music cabinet

Postby zosopage » Mon Mar 25, 2013 3:40 pm

killed that process, server is dead now... when I go in now...
I left the port info as default, which is 8080, correct?

take a look:
http://174.51.9.65:8080/subsonic-tomcat/


HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.35
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby hakko » Mon Mar 25, 2013 4:03 pm

Does your /var/lib/tomcat6/logs directory contain any information?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: issues installing music cabinet

Postby zosopage » Mon Mar 25, 2013 4:22 pm

Code: Select all
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/logs$ cat catalina.2013-03-24.log
Mar 24, 2013 11:09:02 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:09:02 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:09:02 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:09:02 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:09:03 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:09:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 728 ms
Mar 24, 2013 11:09:03 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 24, 2013 11:09:03 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Mar 24, 2013 11:09:03 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Mar 24, 2013 11:09:04 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:09:04 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 315 ms
Mar 24, 2013 11:09:24 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:09:25 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Mar 24, 2013 11:09:25 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:16:47 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:16:47 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:16:47 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:16:47 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 11:16:48 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:16:48 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 531 ms
Mar 24, 2013 11:16:48 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 24, 2013 11:16:48 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Mar 24, 2013 11:16:48 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Mar 24, 2013 11:16:48 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive subsonic-tomcat.war
Mar 24, 2013 11:16:51 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 24, 2013 11:16:51 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/subsonic-tomcat] startup failed due to previous errors
Mar 24, 2013 11:16:51 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/subsonic-tomcat] registered the JDBC driver [org.hsqldb.jdbcDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Mar 24, 2013 11:16:51 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/subsonic-tomcat] appears to have started a thread named [net.sf.ehcache.CacheManager@2831300d] but has failed to stop it. This is very likely to create a memory leak.
Mar 24, 2013 11:16:51 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:16:51 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3740 ms
Mar 24, 2013 11:23:35 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Mar 24, 2013 11:23:36 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Mar 24, 2013 11:23:36 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Mar 24, 2013 4:34:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 4:34:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 4:34:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 4:34:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 24, 2013 4:34:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 24, 2013 4:34:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7356 ms
Mar 24, 2013 4:34:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 24, 2013 4:34:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Mar 24, 2013 4:34:17 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Mar 24, 2013 4:34:20 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive subsonic-tomcat.war
Mar 24, 2013 4:35:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 24, 2013 4:35:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/subsonic-tomcat] startup failed due to previous errors
Mar 24, 2013 4:35:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/subsonic-tomcat] registered the JDBC driver [org.hsqldb.jdbcDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Mar 24, 2013 4:35:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/subsonic-tomcat] appears to have started a thread named [net.sf.ehcache.CacheManager@5f97cfcb] but has failed to stop it. This is very likely to create a memory leak.
Mar 24, 2013 4:35:00 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 24, 2013 4:35:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 44578 ms
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/logs$         




Code: Select all
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/logs$ cat localhost.2013-03-24.log
Mar 24, 2013 11:16:49 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 24, 2013 11:16:51 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mediaFileService' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'securityService' while setting bean property 'securityService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 39 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 49 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 59 more
Caused by: net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251)
        at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:125)
        at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:156)
        at net.sf.ehcache.store.DiskBackedMemoryStore.createDiskStore(DiskBackedMemoryStore.java:61)
        at net.sf.ehcache.store.DiskBackedMemoryStore.create(DiskBackedMemoryStore.java:49)
        at net.sf.ehcache.Cache.initialise(Cache.java:1097)
        at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1298)
        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1329)
        at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:750)
        at net.sf.ehcache.CacheManager.doInit(CacheManager.java:451)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:374)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339)
        at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:104)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
        ... 66 more

Mar 24, 2013 11:16:51 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Mar 24, 2013 4:34:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 24, 2013 4:35:00 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mediaFileService' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'securityService' while setting bean property 'securityService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'userCache' while setting bean property 'userCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 39 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCache' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 49 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/applicationContext-cache.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 59 more
Caused by: net.sf.ehcache.CacheException: Disk store path can't be created: /usr/share/tomcat6/subsonic/ehcache
        at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251)
        at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:125)
        at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:156)
        at net.sf.ehcache.store.DiskBackedMemoryStore.createDiskStore(DiskBackedMemoryStore.java:61)
        at net.sf.ehcache.store.DiskBackedMemoryStore.create(DiskBackedMemoryStore.java:49)
        at net.sf.ehcache.Cache.initialise(Cache.java:1097)
        at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1298)
        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1329)
        at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:750)
        at net.sf.ehcache.CacheManager.doInit(CacheManager.java:451)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:374)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339)
        at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:104)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
        ... 66 more

Mar 24, 2013 4:35:00 PM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/logs$
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby hakko » Mon Mar 25, 2013 4:29 pm

Are you using the latest version (0.7.24)? I put it up just yesterday to fix that exact error. (The error is that the directory /usr/share/tomcat6/subsonic/ehcache is not writable per default, so in 0.7.24 it's been changed to /tmp)
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: issues installing music cabinet

Postby zosopage » Mon Mar 25, 2013 4:34 pm

k, thanks... so all I need to do is replace the subsonic-tomcat.war file with the new version that I just downloaded from your home page?
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby hakko » Mon Mar 25, 2013 4:35 pm

Yup. It should take you one step forward at least..
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: issues installing music cabinet

Postby zosopage » Mon Mar 25, 2013 6:08 pm

removed work, webapps/subsonic-tomcat, etc... re downloaded the subsonic-tomcat.war file and still am getting nothing...

I can connect to the tomcat server, gives the message that it works, but when I try to go to my url/subsonic-tomcat, I get the error message.
HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.35

Code: Select all
Mar 25, 2013 11:48:48 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:48:49 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Mar 25, 2013 11:48:49 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:55:48 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:55:48 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:55:48 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:55:48 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:55:49 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:55:49 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 569 ms
Mar 25, 2013 11:55:49 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 25, 2013 11:55:49 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Mar 25, 2013 11:55:49 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Mar 25, 2013 11:55:49 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:55:49 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 281 ms
Mar 25, 2013 11:56:08 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:56:09 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Mar 25, 2013 11:56:09 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:58:21 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:58:21 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/server], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:58:21 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:58:21 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat6/shared], exists: [false], isDirectory: [false], canRead: [false]
Mar 25, 2013 11:58:22 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:58:22 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 541 ms
Mar 25, 2013 11:58:22 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 25, 2013 11:58:22 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Mar 25, 2013 11:58:22 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Mar 25, 2013 11:58:22 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive subsonic-tomcat.war
Mar 25, 2013 11:58:25 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 25, 2013 11:58:25 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/subsonic-tomcat] startup failed due to previous errors
Mar 25, 2013 11:58:25 AM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/subsonic-tomcat] registered the JDBC driver [org.hsqldb.jdbcDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Mar 25, 2013 11:58:25 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 25, 2013 11:58:25 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3576 ms
mychal@mychal-OptiPlex-780:/var/lib/tomcat6/logs$
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby zosopage » Mon Mar 25, 2013 8:42 pm

thanks for the help on everything here, I have decided that this is just too much of a pain in the butt, so I am going back to my normal subsonic server.. .thanks again!
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm

Re: issues installing music cabinet

Postby hakko » Mon Mar 25, 2013 10:15 pm

Sorry to hear. Hopefully I'll put an easier installer one day!
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: issues installing music cabinet

Postby zosopage » Sun Mar 31, 2013 1:44 pm

I hate giving up on anything like this, so after doing a ton of looking... I stumbled across this guide. After following the guide, music cabinet is working correctly.

viewtopic.php?f=8&t=10220&p=54826#p54826
zosopage
 
Posts: 47
Joined: Thu Dec 08, 2011 9:32 pm


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 0 guests