Java 1.7 Incompatibility

Need help? Post your questions here.

Moderator: moderators

Re: Java 1.7 Incompatibility

Postby gurutech » Sun Oct 28, 2012 8:53 pm

Are you still running 4.6? I believe this has been fixed with 4.7. I'm running the latest MadSonic 4.7 update and have no issues at all.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Java 1.7 Incompatibility

Postby GJ51 » Sun Oct 28, 2012 10:35 pm

I'll concur with that as I too run the latest Java release on all my sites using Windows and the WAR version on Tomcat.

I see many similar posts with issues like this that seem to be most often encountered by users running some variation of Linux, which makes me wonder if it isn't just an issue with individual OS setups. I've never gotten too deeply into Linux (conceeding that my Android phone doesn't really count) as I always felt it just demanded a lot of research, so I can't begin to guess as to the cause. I'm just making the observation that those reporting seem to be Linux users, which would make me suspect that the interaction between Java and the OS aren't set up properly.

Just guessing as all my Windows sites aren't having any problems like this at all.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Java 1.7 Incompatibility

Postby gurutech » Mon Oct 29, 2012 12:39 am

I'm running Fedora with no problems on the Subsonic side. I do tend to create my own "problems" on the OS side, but that's how I'm learning to use/troubleshoot Linux.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Java 1.7 Incompatibility

Postby GJ51 » Mon Oct 29, 2012 1:56 am

I'm in the process of resurecting an old PC and putting CentOS on it just to see what all the fuss is about. Hope I'm not too far over the hill to learn another OS. I was going to work on Win 8, but I think maybe Linux might be easier - LOL.

Now if I can only figure out how to install the damn thing ...
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Java 1.7 Incompatibility

Postby gurutech » Mon Oct 29, 2012 3:26 am

Centos is an easy install... just boot from the DVD and follow the prompts. I have a weird setup, with my music library on a Windows machine, and drives "mapped" to there from my Linux box (currently Fedora, but may go Centos when I replace the box), so I have to set up Samba file sharing, which is a real PITA because whenever I reboot the machine I have to run the Samba config and "save" it (without making changes) in order for it to work.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Java 1.7 Incompatibility

Postby GJ51 » Mon Oct 29, 2012 3:53 am

Thanks,

I got CentOS installed and downloaded the Madsonic .rpm, clicked on the .rpm and it gave me the option to install, which I did, but after that it hasn't done anything!

What next to get SS running?

LOL - I'm too old for this!!!!!

Do I need to install Apache?

Yeah, my network is all Windows - I think this will be a PITA to integrate and be able to access my storage array on the other server that has all my media files. I guess I just need to learn this if I'm ever going to learn how to manage Linux and Windows on the same network.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Java 1.7 Incompatibility

Postby gurutech » Mon Oct 29, 2012 4:29 am

Yes, you need to install Apache, PHP, MySQL (if using the registration engine), and Samba. You can do it via command line, but it's easier through the software installer, where you can just click and choose what to install, without worries of not knowing the install name of something.

Once Samba is installed, you have to mount a drive in the /etc/fstab file, then create the actual mount location, and finally type "mount -a" (or reboot) to mount it. (This is really the hardest part, and once you get the hang of it, it's very easy.) Then just use the mount location in Subsonic.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Java 1.7 Incompatibility

Postby mlutzow » Thu Feb 14, 2013 3:37 pm

Hmmm, this may be a little late on the uptake, but I've had Java 7 running in a Windows environment even before I installed Subsonic and haven't had any problems with Java. I did have issues last night with the Subsonic premium service (friendly server URL) where I was getting port 80 timeouts. I do have work arounds for this fortunately. Everything seems fine today with the subsonic.org route, though.
mlutzow
 
Posts: 9
Joined: Sat Feb 02, 2013 6:12 pm

Re: Java 1.7 Incompatibility

Postby daneren2005 » Thu Feb 14, 2013 6:29 pm

Given others have been having no problem with it I decided to give it a try. Running Ubuntu 12.04 with Oracle Java 1.7 and no problems.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Java 1.7 Incompatibility

Postby ddweb » Mon Mar 04, 2013 3:03 pm

Hello i have a problem with my subsonic...is crashing very often...i get this error in the log file...

322050003 [btpool0-0 - Acceptor0 SelectChannelConnector@0.0.0.0:4040] WARN org.mortbay.log - dispatch failed!
Exception in thread "btpool0-0" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:691)
at org.mortbay.thread.BoundedThreadPool.newThread(BoundedThreadPool.java:377)
at org.mortbay.thread.BoundedThreadPool.dispatch(BoundedThreadPool.java:94)
at org.mortbay.jetty.nio.SelectChannelConnector$1.dispatch(SelectChannelConnector.java:86)
at org.mortbay.io.nio.SelectChannelEndPoint.dispatch(SelectChannelEndPoint.java:68)
at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:502)
at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:168)
at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:514)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.

Can anyone help me with this?

Thanks
ddweb
 
Posts: 23
Joined: Thu Apr 26, 2012 2:18 pm

Re: Java 1.7 Incompatibility

Postby bushman4 » Mon Mar 04, 2013 4:19 pm

This is a duplicate post. I answered it in the other post where you posted the same question.

Allocate more memory to Subsonic.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2021-09-23:
4,120 artists
16,235 albums
201,172 songs
5525.59 GB
26,799 hours
User avatar
bushman4
 
Posts: 872
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Java 1.7 Incompatibility

Postby FUNKILL » Thu Mar 07, 2013 5:14 pm

I have Subsonic 4.6 runing as it should with latest Java install (7u17). in the begining i got an error when trying to start subsonic-agent or service. Went to java.com to test my Java install, browser / chrome) stated Java crashed. uninstalled java and then reinstalled. Tested Java install again with success at Java.com Now Service and agent runs fine. :D
OS: Win 7 Ultimate 64bit.
FUNKILL
 
Posts: 5
Joined: Fri Apr 20, 2012 12:46 pm

Re: Java 1.7 Incompatibility

Postby gaui » Mon Mar 18, 2013 1:59 am

This is what happens when I try to run the service:

Image
gaui
 
Posts: 42
Joined: Tue May 15, 2012 5:07 am

Re: Java 1.7 Incompatibility

Postby GJ51 » Mon Mar 18, 2013 2:50 am

Then it's not installed properly.

There have been a lot of Java updates recently and I get to install them on all the machines on our network. The one consistent thing I notice is that when you begin the update/install process there is an initial period of time where it looks like nothing is going on and there is no evidence that anything is happening.

If you aren't familiar with this behavior of the Java installer, it is quite possible for a user to assume that the process has finished and do something that prevents the install/upgrade from finishing properly. I'm beginning to think this may be one of the reasons we see so many reports of installation related problems. Even on a fast machine there can be a minute or two of inactivity where one might think that the Java installation has already finished.

Be sure to give Java PLENTY of time to finish the install process and report that it has completed successfully.

Impatience during installation or upgrading as well as improper shutdowns, some perhaps even caused by Microsoft automatic upgrades, seems to be the leading reason why users have Subsonic failures.

I only use Windows, but after installing Subsonic hundreds of times, I have never yet had a problem installing it and getting it running properly except when I started rushing the process and not letting each step finish properly. Once installed properly, Subsonic runs rock solid indefinitely unless the host machine goes through an improper shutdown that doesn't give all the files time to be closed properly.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Java 1.7 Incompatibility

Postby gaui » Mon Mar 18, 2013 9:57 pm

I'm running Windows 8. Maybe that matters.
gaui
 
Posts: 42
Joined: Tue May 15, 2012 5:07 am

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests