Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#223474 - 29/08/2003 13:05 Re: tRio 0.1.4 alpha4 [Re: pauln]
shawnharper
new poster

Registered: 16/10/2003
Posts: 29
Got the PM (sorry I was slacking) and installed the SW. What's next?

An aside: anyone ever have the audio drop out for ~1 second, evrey 7-20 seconds? Happens sometimes - haven't been able to determine the trigger.

Top
#223475 - 29/08/2003 13:38 Re: tRio 0.1.4 alpha4 [Re: shawnharper]
julf
veteran

Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
I have it - but not quite as frequently. 1-sec dropouts at moderate intervals. Have been blaming my curent makeshift set-up, with an XP box running ARM from a samba-served file store on a Linux box.

Top
#223476 - 29/08/2003 14:09 Re: tRio 0.1.4 alpha4 [Re: julf]
shawnharper
new poster

Registered: 16/10/2003
Posts: 29
I think it's about time for me to have a seperate music server, that I keep in a closet or something. There's 2 other people using this one (wife and reoommate) and it'd be simpler that way.

Question: I've never used Linux. I've been born and raised on Windows.

Should I use a Linux or XP Pro box? (I have win 2k also)

Thanks.

Top
#223477 - 30/08/2003 01:04 Re: tRio 0.1.4 alpha4 [Re: shawnharper]
julf
veteran

Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
In reply to:

I've never used Linux. I've been born and raised on Windows.
Should I use a Linux or XP Pro box? (I have win 2k also)



Well, I feel (rather strongly) that Linux (or even better, OpenBSD) is far superior as a server platform. But there is a significant learning curve.

My advice is go for Linux *iff* you also want to use the opportunity to learn about Linux. If you just want a server with minimum hassle, go for WinXP based on the "better the devil you know" principle. Avoid w2k.

Top
#223478 - 30/08/2003 09:23 Re: tRio 0.1.4 alpha4 [Re: julf]
shawnharper
new poster

Registered: 16/10/2003
Posts: 29
Hmm. Learning curve. I definitely want to learn Linux, but life's too hectic right now to take that on. I just want music that plays reliably.

XP it is. Thanks.

Top
#223479 - 01/09/2003 19:33 Re: Periodic Crash in Trio server [Re: TinnedFish]
mwmorris57
stranger

Registered: 01/09/2003
Posts: 2
I seem to be having the same problem. When I last experienced this I was runnging jrec 2.5, jetty 4.2.11, trio 0.1.4.alpha4. I was using ARM with DHCP disabled, getting DHCP from my linksys BEFSR41 router. I had a dhcp range of 192.168.1.129 through 192.168.1.200. All other devices on my network are fixed ip. I've since turned off DHCP in the router and re-activated in ARM. I'm trying to see if this will correct the problem. My hard deive is about a year old so its pretty fast. Can't remember the exact specs.

Top
#223480 - 02/09/2003 09:51 Re: tRio 0.1.4 alpha4 [Re: pauln]
Jerz
addict

Registered: 13/07/2002
Posts: 634
Loc: Jesusland
OK for some reason at the office I get just the gray background when starting the web interface any ideas?

Edit: Please see attachment. It definatelys says that the applet started and I don't see any errors...



Attachments
3752-trio front end.JPG (202 downloads)



Edited by Jerz (02/09/2003 14:57)

Top
#223481 - 02/09/2003 14:38 Re: tRio 0.1.4 alpha4 [Re: pauln]
jvolino
stranger

Registered: 18/04/2003
Posts: 13
I am having trouble getting the Player tab to make the player info page display on the web interface. Initially it didn't work, then it did, now I can't get it to work at all. I see the Status page, but when I click on the Player tab, it either ignores my click or turns light grey without switching the Player page (Status page remains visible). I am on WinXP Pro SP1, running with ARM as server, have JRE 1.4.2_01 installed. I have 3 Rios active on my LAN.

It looks like there's an exception generated on Java console in response to clicks, but the Copy button doesn't seem to copy it to the Windows clipboard (any tips?).
The first error listed is:
java.lang.IllegalArgumentException: setSelectedIndex: 3 out of bounds
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at trio.applet.TRioAppletPlayerPanel.getModePanel(Unk. src.)
etc...

Thanks for all your work!
--Judd Volino




Top
#223482 - 02/09/2003 19:01 Re: tRio 0.1.4 alpha4 [Re: jvolino]
jvolino
stranger

Registered: 18/04/2003
Posts: 13
Well, I was able to get the Player tab to work again. It seems like when I tried to get to the tab for a freshly-booted player, it wouldn't work. But if I started something playing from the player itself, then I could click on the tab. Is this to be expected?

Top
#223483 - 03/09/2003 08:22 Re: tRio 0.1.4 alpha4 [Re: jvolino]
shawnharper
new poster

Registered: 16/10/2003
Posts: 29
jvolino - I have the same problem frequently. I think the "system" is finicky about what order you do things, and how long you wait between starting each app. I haven't found the recipe yet.

Anybody know the recipe?

i.e.
Turn receiver on
Wait 15 sec
start tRio
Wait 25 sec
start web interface
be happy, play music.

Top
#223484 - 03/09/2003 11:14 Re: tRio 0.1.4 alpha4 [Re: Jerz]
Jerz
addict

Registered: 13/07/2002
Posts: 634
Loc: Jesusland
Well, I've got the front end working at the office (at home no problems) and everything seems to work fine except:
1. I hit "play" and nothing happens. I can skip to the next song but it will not play. I can also pull up a radio station and everything "looks" fine except it won't play.

2. The only play options are "quen n play" or "radio" nothing else.

It was much easier getting the old PII 400 to work.



Top
#223485 - 03/09/2003 13:44 Re: tRio 0.1.4 alpha4 [Re: Jerz]
Jerz
addict

Registered: 13/07/2002
Posts: 634
Loc: Jesusland
Nevermind... for some reason I had to assign static ip's to the trio server as well as the player which was done in my sonicwall firewall. Works perfect now.

Cheers!

Top
#223486 - 03/09/2003 15:02 Re: Periodic Crash in Trio server [Re: TinnedFish]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
Bruce,

I've had another look at this and the problem is actually happening in JReceiver and not tRio.

Do you know how to use mysql? If not, look at the Verify Database Initialization step in the jreceiver install instructions (http://jreceiver.sourceforge.net/jrec-install-server.html).

Please run the following query in mysql:

select * from mfile where src_id = 7200;

The 2nd value this returns is the key into the folder table. Then run this query (changing nnnn to the key value) and let me know what you get:

select * from folder where id = nnnn;

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
#223487 - 03/09/2003 15:11 Re: tRio 0.1.4 alpha4 [Re: jvolino]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
Judd,

This looks like something I'll have to look into. Please write it up as a bug at http://sourceforge.net/tracker/?group_id=72920&atid=536118 .

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
#223488 - 05/09/2003 00:17 Re: Periodic Crash in Trio server [Re: pauln]
TinnedFish
stranger

Registered: 11/06/2003
Posts: 11
Loc: Oregon
Nothing too juicy here I don't think... Anything else? Sorry for the slow comeback, I was busy helping the wife have a baby.

mysql> select * from folder where id = 957;
+-----+----------------------+-----------+-------------------------------------------+
| id | name | parent_id | path |
+-----+----------------------+-----------+-------------------------------------------+
| 957 | The Man Comes Around | 954 | D:\Start\Johnny Cash\The Man Comes Around |
+-----+----------------------+-----------+-------------------------------------------+
1 row in set (0.04 sec)

Top
#223489 - 05/09/2003 00:58 Re: tRio 0.1.4 a4 - WebInterfaceCrash Jukebox mode [Re: pauln]
TinnedFish
stranger

Registered: 11/06/2003
Posts: 11
Loc: Oregon
Steps:
1. open http://pacemaker:8090/trio-applet.htm
2. Select Player tab. Note page opens in Radio mode.
3. Select Jukebox. Client hangs. Note logs:

Trio.bat

<snip>
Got http request: GET /trio-applet.htm HTTP/1.1
Got http request: GET /trio-applet-0.1.4.jar HTTP/1.1
Got http request: GET /images/rio-small.gif HTTP/1.1
getting image: file:/C:/Program Files/tRio-0.1.4.alpha4/images/rio-small.gif
Updating config file
*** start of TRioPlayerJukeboxDlg
Exception listing Albums: jreceiver.common.rpc.RpcException: xmlrpc-problem invo
king method [Menus.getAlbumMenuRecs]
Message: xmlrpc-problem invoking method [Menus.getAlbumMenuRecs]
Root cause: org.apache.xmlrpc.XmlRpcException: jreceiver.common.rpc.RpcException
: bus-problem getting album menu recs
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source)
at jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl.execute(XmlRpcBaseImpl.java:63)
at jreceiver.common.rpc.xmlrpc.MenusImpl.getRecsHelper(MenusImpl.java:135)
at jreceiver.common.rpc.xmlrpc.MenusImpl.getAlbumMenuRecs(MenusImpl.java:49)
at trio.player.TRioPlayerJRecServer.listAlbums(Unknown Source)
at trio.player.TRioPlayerTreeSelection.populateChildren(Unknown Source)
at trio.player.TRioPlayerTreeSelection.hasChildren(Unknown Source)
at trio.player.TRioPlayerJukeboxSequencer.setCurrentSelection(Unknown Source)
at trio.player.TRioPlayerJukeboxSequencer.<init>(Unknown Source)
at trio.player.TRioPlayerJukeboxDlg.<init>(Unknown Source)
at trio.player.TRioPlayerJukeboxMode.enterMode(Unknown Source)
at trio.player.TRioPlayerFrame.modeChanged(Unknown Source)
at trio.player.TRioPlayerUnitSettings.setMode(Unknown Source)
at trio.player.TRioPlayerUnitStream.setPlaybackMode(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(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.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)trio.player.TRioPlayerServerException: Error listing Albums.
at trio.player.TRioPlayerJRecServer.listAlbums(Unknown Source)
at trio.player.TRioPlayerTreeSelection.populateChildren(Unknown Source)
at trio.player.TRioPlayerTreeSelection.hasChildren(Unknown Source)
at trio.player.TRioPlayerJukeboxSequencer.setCurrentSelection(Unknown Source)
at trio.player.TRioPlayerJukeboxSequencer.<init>(Unknown Source)
at trio.player.TRioPlayerJukeboxDlg.<init>(Unknown Source)
at trio.player.TRioPlayerJukeboxMode.enterMode(Unknown Source)
at trio.player.TRioPlayerFrame.modeChanged(Unknown Source)
at trio.player.TRioPlayerUnitSettings.setMode(Unknown Source)
at trio.player.TRioPlayerUnitStream.setPlaybackMode(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(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.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: jreceiver.common.rpc.RpcException: xmlrpc-problem invoking method [Me
nus.getAlbumMenuRecs]
at jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl.execute(XmlRpcBaseImpl.java:69)
at jreceiver.common.rpc.xmlrpc.MenusImpl.getRecsHelper(MenusImpl.java:135)
at jreceiver.common.rpc.xmlrpc.MenusImpl.getAlbumMenuRecs(MenusImpl.java:49)
... 21 more

jrec_jetty.bat log:
<snip>
Sep 4, 2003 11:57:03 PM jreceiver.client.mgr.MgrLauncher registerWithServer
INFO: MgrLauncher: registering with server
23:57:03.680 EVENT mgr-launcher: getProperties: external file=C:\Program Files\
JReceiver-0.2.5\etc\jreceiver.properties
Sep 4, 2003 11:57:04 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='jreceiver.client.mgr.Messages', returnNull=true
23:57:38.751 EVENT Started HttpContext[/]
Sep 4, 2003 11:57:42 PM jreceiver.common.rpc.xmlrpc.XmlRpcBaseHandler execute
WARNING: cannot service rpc request for method=getAlbumMenuRecs user=trio
Message: bus-problem getting album menu recs
Root cause: Message: db-problem getting menu album recs
Root cause: Message: db-problem encoding results
Root cause: Message: sql-problem getting menu recs
Root cause: java.sql.SQLException: General error: Got error 'empty (sub)expressi
on' from regexp
at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source)
at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source)
at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Source)
at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
at org.gjt.mm.mysql.Statement.executeQuery(Unknown Source)
at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Unknown Source)
at jreceiver.server.db.MenuDB.getRecs(MenuDB.java:182)
at jreceiver.server.db.MenuDB.getRecs(MenuDB.java:214)
at jreceiver.server.db.MenuDB.getAlbumMenuRecs(MenuDB.java:74)
at jreceiver.server.bus.MenuBus.getAlbumMenuRecs(MenuBus.java:81)
at jreceiver.server.rpc.MenusDirect.getAlbumMenuRecs(MenusDirect.java:69)
at jreceiver.server.rpc.xmlrpc.MenusHandler.getRecsHelper(MenusHandler.java:95)
at jreceiver.server.rpc.xmlrpc.MenusHandler.executeHandler(MenusHandler.java:75)
at jreceiver.common.rpc.xmlrpc.XmlRpcBaseHandler.execute(XmlRpcBaseHandler.java:44)
at org.apache.xmlrpc.XmlRpcServer$Worker.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
at jreceiver.common.rpc.xmlrpc.XmlRpcServlet.doPost(XmlRpcServlet.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
00:00:00.044 EVENT Log age 2003_08_29.jetty.log

-TinnedFish (bruce)
















Top
#223490 - 05/09/2003 01:45 Re: Periodic Crash in Trio server [Re: TinnedFish]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
And your music is stored in d:\start?
_________________________
Paul (the tRio guy)

Top
#223491 - 05/09/2003 01:51 Re: tRio 0.1.4 a4 - WebInterfaceCrash Jukebox mode [Re: TinnedFish]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
Bruce,

How often does this happen and can you recreate it easily? It been reported to me once before (in 0.1.4.alpha1), but no one else seems to have encountered it and I can't for the life of me recreate it. And so I was hoping that it was something wierd with their jreceiver set up. But alas.

Remind me, is jrec running on a Linux or Windows box?

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
#223492 - 05/09/2003 08:49 Re: tRio 0.1.4 alpha4 [Re: Jerz]
Jerz
addict

Registered: 13/07/2002
Posts: 634
Loc: Jesusland
Well, I'm having problems getting the web interface at the office working properly once again. The receiver works fine but the web interface will not go to the "player" tab. The "status" tab works fine and even allows me to reboot the unit. The strange thing is that it *was* working fine two days ago just after I set the static ip addresses.

Attached is the info from the java console.

java version 1.4.2


Attachments
3788-javaconsole.JPG (207 downloads)


Top
#223493 - 05/09/2003 11:39 Re: Periodic Crash in Trio server [Re: pauln]
TinnedFish
stranger

Registered: 11/06/2003
Posts: 11
Loc: Oregon
Affirmative. The server is scrapped together from parts, so I have three drives, each with a folder in the root. Named Start, Middle, and End. Jreceiver is set up to scan all three as roots.

Top
#223494 - 05/09/2003 11:45 Re: tRio 0.1.4 a4 - WebInterfaceCrash Jukebox mode [Re: pauln]
TinnedFish
stranger

Registered: 11/06/2003
Posts: 11
Loc: Oregon
Happens every time for me, following the steps described. I can live with it if I'm the only one. I tend to live in the Queue and Play mode.

Could also be my slow boot drive (and hence the jreciever drive). If it's doing a huge query of the database on a per track basis, that might exceed a timeout somewhere down the pipe. I'm working to replace the drive (actually not working, but as soon as I land a job I will! <grin>).

Also, my MP3 stash is not the cleanest. It was built from P2P, windows, mac, and linux systems. I've been crawling through the tags and filenames and fixing all the out of range characters from the non-MS OS's, but it's going to take me years. If it's excepting on something doublebyte or the like, I wouldn't be surprised.

My setup - Win2kServer, trio 0.1.4, Java 1.4.2, Jreceiver 0.2.5, ARM (dell cd), tigerdirect rio

Top
#223495 - 07/09/2003 04:34 Re: Periodic Crash in Trio server [Re: TinnedFish]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
Bruce,

To fix the "java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket" error, we need to add jsse.jar to your java classpath. To do this, edit trio.bat and find the following:

-Djava.class.path="%JAVA_HOME%\lib\tools.jar;..."

and then change it to read:

-Djava.class.path="%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\jsse.jar;..."

Hopefully this will fix your problem. But I'm still clueless as to why it's wanting to use a secure socket.

Let me know how you get on.

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
#223496 - 07/09/2003 04:39 Re: tRio 0.1.4 a4 - WebInterfaceCrash Jukebox mode [Re: TinnedFish]
pauln
enthusiast

Registered: 03/12/2001
Posts: 332
Loc: UK
Bruce,

I can't for the life of me get this to happen on my system. But please PM with your email address and I'll send you a fix that *MIGHT* fix it.

Cheers
Paul
_________________________
Paul (the tRio guy)

Top
Page 2 of 2 < 1 2