HTTP ERROR: 404 after 6.1.5 update

Need help? Post your questions here.

Moderator: moderators

HTTP ERROR: 404 after 6.1.5 update

Postby wr85496 » Wed Dec 19, 2018 1:30 am

I have updated today from 6.1.4 to 6.1.5 but can no longer reach the login screen, the service icon is green but the localhost address now returns HTTP ERROR: 404 NOT_FOUND RequestURI=/index.view

I am running Windows 10 and Subsonic has been running trouble free for many years.

Any pointers please for where I should start troubleshooting?

Many thanks
wr85496
 
Posts: 3
Joined: Wed Dec 19, 2018 1:24 am

Re: HTTP ERROR: 404 after 6.1.5 update

Postby wr85496 » Thu Dec 20, 2018 9:36 am

After completely uninstalling and manually removing residual folders I have reinstalled 6.1.4 which still fails. The tail end of the service log is as follows, can anyone shed some light on the cause of the Java RMI errors, many thanks?

Subsonic running on: http://localhost:4040/
31000 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
31125 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl_Stub[UnicastRef [liveRef: [endpoint:[192.168.1.96:9412](remote),objID:[0:0:0, 0]]]]
31203 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@42a11: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter#0' defined in class path resource [applicationContext-deployer.xml]: Invocation of init method failed; nested exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub (no security manager: RMI class loader disabled)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at net.sourceforge.subsonic.booter.Main.<init>(Main.java:24)
at net.sourceforge.subsonic.booter.Main.main(Main.java:63)
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:498)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub (no security manager: RMI class loader disabled)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:375)
at sun.rmi.registry.RegistryImpl_Stub.rebind(RegistryImpl_Stub.java:155)
at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:286)
at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:227)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 22 more
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub (no security manager: RMI class loader disabled)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 15 more
Shutting down database...
Shutting down UPnP service...
Shutting down UPnP service - Done!
Shutting down database - Done!
wr85496
 
Posts: 3
Joined: Wed Dec 19, 2018 1:24 am

Re: HTTP ERROR: 404 after 6.1.5 update

Postby toolman » Thu Dec 20, 2018 9:47 pm

Try uninstalling Subsonic.
After uninstall is complete rename folder C:\Subsonic C:\Subsonic_old
Install Subsonic 6.1.5 again.
This becomes a totally fresh installation so admin password is default. All your settings. users etc are lost at this stage!!!!
If Subsonic starts normally and you can log in You can exit Subsonic and stop the Subsonic service.
Rename the newly created folder C:\subsonic\db C:\subsonic\db\new
Rename the newly created folder C:\subsonic\db.backup C:\subsonic\db.backup.new
Copy the folders C:\subsonic\db and C:\subsonic\db.backup from C:\Subsonic_old to C:\Subsonic.
These steps restore your database to the new installation, in the proces keeping the new empty database as backup.
Start the Subsonic service again and test if you cann acces Subsonic in the way you used to do.
If everything is ok you can delete the folders C:\subsonic\db\new and C:\subsonic\db.backup.new
If not Stop the Subsonic service again delete the folders C:\subsonic\db and C:\subsonic\db.backup in C:\subsonic, rename C:\subsonic\db\new and C:\subsonic\db.backup.new to C:\subsonic\db and C:\subsonic\db.backup.
Now you'll have to configure Subsonic from scratch because all your settings, users, star ratings and recently added statistics have all gone.
toolman
 
Posts: 538
Joined: Fri Dec 11, 2009 4:18 pm
Location: Netherlands

Re: HTTP ERROR: 404 after 6.1.5 update

Postby wr85496 » Fri Dec 21, 2018 11:38 am

toolman, many thanks for your reply much appreciated. I have followed your advice but I cannot get the Subsonic service to start. The Subsonic tray icon remains red and the control panel reports 'Running.Auto-start' and then ultimately 'Not running.Auto-start' with the Java RMI errors as shown above posted in the log file.

I desperation to get music playing again I discovered Madsonic which I have installed and is running although it appears to be a lot slower and is not a viable alternative since I have already invested in the premium Subsonic service. Could this be related to the Java Runtime Environment installed on my system? I have been running Subsonic without problem for 5+ years and then suddenly boom, after moving from 6.1.4 to 6.1.5 I have this problem so I wonder of something else has changed in the OS which is the root of this issue?
wr85496
 
Posts: 3
Joined: Wed Dec 19, 2018 1:24 am

Re: HTTP ERROR: 404 after 6.1.5 update

Postby toolman » Fri Dec 21, 2018 12:05 pm

You could always try uninstalling java completly using https://java.com/en/download/uninstalltool.jsp. This will remove ALL older versions of Java found on your computer.
If madsonic is running I would shut down that service prior to removing Java.
Perhaps a reboot is required.
Next you can install java again from https://java.com/
Good luck
toolman
 
Posts: 538
Joined: Fri Dec 11, 2009 4:18 pm
Location: Netherlands


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests