Java 1.7 Incompatibility

Need help? Post your questions here.

Moderator: moderators

Re: Java 1.7 Incompatibility

Postby GrindheadJim » Thu Mar 21, 2013 7:41 pm

For anyone not keen on navigating Oracle's archives, here's a reliable, clean source for java 6:

http://www.oldapps.com/java.php
User avatar
GrindheadJim
 
Posts: 23
Joined: Sun Feb 17, 2013 1:38 am

Re: Java 1.7 Incompatibility

Postby ameyers » Tue Mar 26, 2013 2:40 am

I'm having this same problem with Subsonic 4.7 on Win8 x64 as of yesterday after updating Java. I'll try reinstalling Java and see if that helps but if anyone has any other solutions please post.
ameyers
 
Posts: 11
Joined: Sun Mar 13, 2011 11:27 pm

Re: Java 1.7 Incompatibility

Postby gaui » Fri Mar 29, 2013 3:45 am

Code: Select all
C:\Windows\system32>"C:\Program Files (x86)\Subsonic\subsonic-service.exe" -start
Could not start service. Error code: 5


Code: Select all
C:\Windows\system32>java -version
java version "1.7.0_10"


*UPDATE* Updated Java to 1.7.0.17 and reinstalled Subsonic 4.7 and finally got it working! :D

http://java.com/en/download/index.jsp
gaui
 
Posts: 42
Joined: Tue May 15, 2012 5:07 am

Re: Java 1.7 Incompatibility

Postby siGh » Fri Apr 05, 2013 2:02 pm

Would this incompatibility affect the external player in any way? One day it worked perfectly, the next day it didn't. The page loads, there is a brief flash (excuse the pun) where the player would normally be, and then all that remains are the top and bottom titles.
siGh
 
Posts: 30
Joined: Tue Mar 06, 2012 7:51 am
Location: Northamptonshire

Re: Java 1.7 Incompatibility

Postby highnoon » Fri May 10, 2013 9:20 am

When will this issue be resolved???

What is the best workaround?

Tried to do a downgrade to java 7.17 and subsonic 4.7 but has no affect, still have the same problems!

What are the best alternatives to subsonic?
highnoon
 
Posts: 1
Joined: Sat Apr 27, 2013 8:54 am

Re: Java 1.7 Incompatibility

Postby silsurf » Mon Jun 03, 2013 5:17 pm

Is this due to Java 1.7 incompatibility?

HTTP ERROR: 404

/error.jsp

RequestURI=/error.jsp
Caused by:

java.lang.NoClassDefFoundError: net/sourceforge/subsonic/filter/ParameterDecodingFilter$DecodingServletRequestWrapper
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:51)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Powered by Jetty://
silsurf
 
Posts: 1
Joined: Mon Jun 03, 2013 5:15 pm

Re: Java 1.7 Incompatibility

Postby rumremix » Wed Jul 10, 2013 7:03 am

Should this thread still be pinned? Doesn't the latest version of subsonic now work with Java 1.7?
rumremix
 
Posts: 49
Joined: Sun Jul 07, 2013 5:54 am

Re: Java 1.7 Incompatibility

Postby msujdog » Fri Jul 12, 2013 2:15 pm

Help! What's going on here? Java issue? Both the browser and iPhone app don't work.

Exception org.springframework.dao.TransientDataAccessResourceException
Message PreparedStatementCallback; SQL [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]; java.io.IOException: S1000 Data file size limit is reached in statement [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]; nested exception is java.sql.SQLException: java.io.IOException: S1000 Data file size limit is reached in statement [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]
Java version Oracle Corporation 1.7.0_21
Operating system Windows 7 6.1
Server jetty-6.1.x
Memory Used 59 of 68 MB

org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]; java.io.IOException: S1000 Data file size limit is reached in statement [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]; nested exception is java.sql.SQLException: java.io.IOException: S1000 Data file size limit is reached in statement [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:106)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:607)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:792)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:850)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:858)
at net.sourceforge.subsonic.dao.AbstractDao.update(AbstractDao.java:71)
at net.sourceforge.subsonic.dao.MediaFileDao.createOrUpdateMediaFile(MediaFileDao.java:135)
at net.sourceforge.subsonic.service.MediaFileService.checkLastModified(MediaFileService.java:128)
at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:154)
at net.sourceforge.subsonic.controller.MainController.getMediaFiles(MainController.java:158)
at net.sourceforge.subsonic.controller.MainController.handleRequestInternal(MainController.java:68)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.sql.SQLException: java.io.IOException: S1000 Data file size limit is reached in statement [update media_file set folder=?,type=?,format=?,title=?,album=?,artist=?,album_artist=?,disc_number=?,track_number=?,year=?,genre=?,bit_rate=?,variable_bit_rate=?,duration_seconds=?,file_size=?,width=?,height=?,cover_art_path=?,parent_path=?,play_count=?,last_played=?,comment=?,changed=?,last_scanned=?,children_last_updated=?,present=?, version=? where path=?]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:798)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)
... 62 more
msujdog
 
Posts: 17
Joined: Fri Jul 12, 2013 2:09 pm

Re: Java 1.7 Incompatibility

Postby msujdog » Sat Jul 13, 2013 4:31 am

Hey all, my problem was a corrupted database, it appears, I removed all media folders and reset everything, then cleaned the database. Upon reinstall, everything works ok.
msujdog
 
Posts: 17
Joined: Fri Jul 12, 2013 2:09 pm

Re: Java 1.7 Incompatibility

Postby legluondunet » Mon Oct 28, 2013 10:50 pm

msujdog wrote:Hey all, my problem was a corrupted database, it appears, I removed all media folders and reset everything, then cleaned the database. Upon reinstall, everything works ok.


Thank you for this answer, i had same problem.
legluondunet
 
Posts: 6
Joined: Sun Jan 16, 2011 7:42 pm

Re: Java 1.7 Incompatibility

Postby achmetinternet » Thu Oct 31, 2013 1:45 pm

legluondunet wrote:
msujdog wrote:Hey all, my problem was a corrupted database, it appears, I removed all media folders and reset everything, then cleaned the database. Upon reinstall, everything works ok.


Thank you for this answer, i had same problem.


How did you clean the db without removing the whole installation?

EDIT: this helped

http://wiki.cementhorizon.com/display/C ... c+database
achmetinternet
 
Posts: 31
Joined: Fri Feb 11, 2011 3:23 pm

Re: Java 1.7 Incompatibility

Postby gfrench » Mon Feb 24, 2014 4:32 am

please add the <blink> tag to this thread ... it has been a long day.
gfrench
 
Posts: 1
Joined: Mon Feb 24, 2014 4:29 am

Re: Java 1.7 Incompatibility

Postby slovo » Sun Jul 06, 2014 9:21 pm

I'm running Subsonic 5.0 beta 1 on the latest Java 7 on Windows 7. I have ~3TB of media indexed if it matters...

Today I got 503 SERVICE_UNAVAILABLE from Subsonic's Jetty.

I've recovered from a couple complete failures thanks to the subsonic.script, but this time that file was the right size (over 800kb in my case) but completely full of empty/null characters!

I made a copy of the Subsonic directory in case anyone is interested to debug (Sindre?).

I used an older copy of subsonic.script to get my server operational in the meanwhile..
slovo
 
Posts: 3
Joined: Tue Jun 03, 2014 12:59 am

Re: Java 1.7 Incompatibility

Postby Mauro80 » Tue Jan 13, 2015 10:05 pm

Hello all,

today I got the following error message:

HTTP ERROR: 404

/error.jsp
RequestURI=/error.jsp

Caused by:

java.lang.NoClassDefFoundError: net/sourceforge/subsonic/filter/ParameterDecodingFilter$DecodingServletRequestWrapper
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:51)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Powered by Jetty://

I am assuming it is related to a corrupt DB. What do you think?
If that is the case, then, how can it be solved? I am running MAC.

thanks!@
Mauro80
 
Posts: 2
Joined: Thu Sep 25, 2014 8:51 am

Re: Java 1.7 Incompatibility

Postby quatermass » Sun Apr 26, 2015 7:26 pm

How about archiving this topic guys I mean it's 2015 now!
Stuart Halliday
The Computer Man
User avatar
quatermass
 
Posts: 38
Joined: Thu Dec 09, 2010 3:50 am
Location: Livingston, UK

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests