CherryMusic - a python music server with an HTML5 frontend

Hey fellow archers!
CherryMusic
a music streaming server written in python with an HTML5 frontend
nothing to setup, uses SQLite file database
light on resources
support for all major browsers on almost all OSes (also your fancy phone!)
AUR: cherrymusic
You can install the latest version from the AUR.
current features (v0.24.1) are:
super pretty new interface
browse and stream your music inside the browser (locally or remote)
full text search your music
completely AJAX based (no page reloads on click, super fast)
create and share playlists in
multiple user authentication
HTTPS support
live transcoding (e.g. you can stream flac over slow connections)
Screenshots and more documentation
on our project website fomori.org/cherrymusic
Also, it would be of great help, if you installed the git version from the AUR, so we're not the only ones testing the software :)
If you're interested on how it works you can also checkout the sources on github. If you find any bugs or have any issues please  open an issue at github, so we can fix it!
Last edited by twall (2013-03-12 17:17:42)

Hi, using latest git on firefox 15.0.1. I can't seem to play any songs (mp3 tested). There bumps this (not so helpful) message:
I'm sorry, but this is an error message...
It indicates an error... *sigh*
Sorry, it's just... my whole purpose of existance is to give bad news.
It's frustrating.
Would you mind just clicking 'ok' and leave me alone?
I use the default config. Here's the server.log. Clearing cache doesn't help.
[23/Sep/2012:11:17:46] HTTP Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python3.2/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.2/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 137, in api
return self.handlers[action](value)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 217, in api_getsonginfo
return json.dumps(metainfo.getSongInfo(abspath).dict())
File "/usr/lib/python3.2/site-packages/cherrymusicserver/metainfo.py", line 102, in getSongInfo
with ar.audio_open(filepath) as f:
TypeError: object.__new__() takes no parameters
[23/Sep/2012:11:20:25] HTTP Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python3.2/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.2/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 137, in api
return self.handlers[action](value)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 217, in api_getsonginfo
return json.dumps(metainfo.getSongInfo(abspath).dict())
File "/usr/lib/python3.2/site-packages/cherrymusicserver/metainfo.py", line 102, in getSongInfo
with ar.audio_open(filepath) as f:
TypeError: object.__new__() takes no parameters
[23/Sep/2012:11:20:48] HTTP Traceback (most recent call last):
File "/usr/lib/python3.2/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python3.2/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python3.2/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 137, in api
return self.handlers[action](value)
File "/usr/lib/python3.2/site-packages/cherrymusicserver/httphandler.py", line 217, in api_getsonginfo
return json.dumps(metainfo.getSongInfo(abspath).dict())
File "/usr/lib/python3.2/site-packages/cherrymusicserver/metainfo.py", line 102, in getSongInfo
with ar.audio_open(filepath) as f:
TypeError: object.__new__() takes no parameters
PS: When it starts for the first time it says:
[120923-11:30] WARNING : python library "stagger" not found!
There will be no ID-tag support!
[120923-11:28] WARNING : python library "audioread" not found!
Audio file length can't be determined without it!
So, I installed stagger and the warning disappeared. As for audioread,  is it written in python 2 or 3? I made a PKGBUILD for python2 as there is no pkg in AUR. Building it with python3 I get some SyntaxError: invalid syntax while building. Maybe you should add those two packages as optdepends.
EDIT
Well, it seems that the songs are loaded in the playlist after all. The message I mentioned above keeps popping each time I add a song to the list, though.
Last edited by maevius (2012-09-23 08:45:29)

Similar Messages

  • Building a music server with g3

    Hi- I have an old blue and white powermac g3 which I'd like to turn into a music server. To do that I need a much bigger hard drive (min 250g) and the ability to link into my airport network. Can folks give me some ideas about how to accomplish this at a reasonable price (I'm not a computer geek, but I'm also not afraid to try things). Thanks -Howard

    A Mac-specific SATA controller card and SATA drive can be used to boot most PCI-slot Macs. A generic controller will not boot a Mac.
    At the moment, SATA is working fast only because the drives with the SATA interface are the latest drives. There is nothing inherently faster about SATA, it is not magic, it is mostly hype.
    The transfer rates advertised are the maximum theoretical transfer rates. Since there are no drives that can maintain transfers at those speeds for more than an instant, those numbers will not be seen in daily use. The same fast drives are available with pATA, LVD SCSI, and Fiber-Channel interfaces, too.
    As for that software, you would do better posting on one of the iPod or other music forums, or doing a forum search for those names. They do not get tossed around regularly down here in the older Macs sub-basement.

  • Music server with wrt54gs

    I have a wrt54gs wireless router. Everything works great.  I installed a requestauduio music server that has an internet connection.
    I set up a static IP and it connects fine to the internet.  The idea is to be able from OUTSIDE of the house connect to the music server.
    I go to the website request.com and log in and it tries to connect and it gives me the info. I am not having any luck setting up the linksys to allow me to gain access.
    I know my main IP into the home and it finds it.  It tells me the following
    netsync port  4665
    web port 80
    control port 3663
    xml (flash port) 3660
    Where and how do I input this into the router?
    I went to applications and games
    added application = music
    start 4665 to 4665
    both
    the static ip of the device
    and checked enable.
    I am doing something wrong. Can anybody please fill in the blanks of my inexperience.

    You are in the right place, but you may need to port forward all the ports used by the application. If you forward port 80, is there some kind of security you can set up to restrict access, otherwise you may find everyone on the internat has access to your music....
    Tomato 1.25vpn3.4 (SgtPepperKSU MOD) on a Buffalo WHR-HP-G54
    D-Link DSM-320 (Wired)
    Wii (Wireless) - PS3 (Wired), PSP (Wireless) - XBox360 (Wired)
    SonyBDP-S360 (Wired)
    Linksys NSLU2 Firmware Unslung 6.10 Beta unslung to a 2Gb thumb, w/1 Maxtor OneTouch III 200Gb
    IOmega StorCenter ix2 1TB NAS
    Linksys WVC54G w/FW V2.12EU
    and assorted wired and wireless PCs and laptops

  • Connecting my MBP to a amplifier and projector to use as music server

    Hi,
    I plan on using my MPB as a music server with my hi-def audio system.
    I would like to know if the DVI out also supports sound? How can I use my MBP to play all the tunes through the amplifier to my audio setup and also project via my projector so I can surf the net using a BT keyboard and mouse?
    The A/V receiver in question is the Denon 3808 and the projector is Panasonic AE-2000.
    I would appreciate any help.
    Thanks.
    Best Regards,
    Aditya

    short answer, the DVI out port on your mac doesn't carry any sound data. for that you will have to use the headphone jack with adapters if your amp needs a different type of plug.
    if you're really serious about the sound quality, you should consider an external USB box. there are many out there that work well with mac osx. i can't think of any off the top of my head, but a quick google search for "USB external sound mac osx" would bring up a few good results.
    hope this helps, D

  • Music Server Can't See External Drive Formatted for WIN with Disk Utility.

    Is there any reason an external drive formatted for WIN (MS-DOS(FAT)/FAT32 or NTFS w/ NTFS-3G/MacFUSE) with Disk Utility would not work for intended purpose? I have a music server (Bryston BDP-1) that uses an attached USB drive for storage/playback of music and can only read FAT32 or NTFS formatted drives. I've tried both and neither is readable by the BDP-1, yet I have no problem reading/writing to the supplied 2GB Thumb Drive (FAT32), as well as another 2GB Thumb Drive (FAT32). Get Info shows; "FAT32" for all drives formatted as such.
    Note: From what I'm told the BDP-1 uses a scaled down version of Linux for it's OS. Isn't that UNIX? Shouldn't it be compatible (Read/Write) with other platforms (i.e, Mac)? Bryston says the reason they use it because it's Open-Source. Does Linux only work FAT32 or NTFS?
    I do have Fusion/XP, also access to WIN PC's, but I just hate to use it when I shouldn't have to. It makes no sense why the drive can't be read by the BDP-1 when formatted for WIN under OS X.
    And there was one other issue, after the third try to format fro WIN the external drive suddenly began making faint clicking sounds instead of a spinning drive sound only when plugged into BDP-1 USB port. But it works fine when connected to iMac FW.
    HW Specs:
    Drive: G-Drive Mobile USB/FW 750GB

    Exchanged drive. Works now.

  • Has anyone had difficulty with music server software on the mac mini

    Hello all. I'm using my newly purchased mac mini as a music server and for movies integrated into my sound system. I have 2 handmade tube amps hooked up to a CJ tube pre-amp, running a Neko audio DAC mkII via a silflex mini toslink cable made by lifatec, from the optical out jack of the mac. I'm using audirvana plus software, which allows me to play uncompressed music files directly into my external dac bypassing the internal dac of the mac. CDs sound very good, the mac runs very quietly, and the optical connection seems very clean. HD tracks sound exquisite.
    Took me a while to figure out how to set the systems preferences, but after a few days of trial and error I finally got it right. The low jitter of the optical out is a reality. Audiophile quality is now easy and cost efficient with the mac mini.

    Well, I do understand that.
    However, I've installed iMS 5.2 on win2k several times (I admit, w2k pro, not server), and i've never installed AD.
    If you can get it installed and working for your default domain, but not for other domains, then most likely it has nothign to do with AD or AD domains. iMS idea of domains is very different from AD's idea of domains. We need to be very clear about such.
    for iMS, you have to create additional domains through Delegated Admin, as either "Hosted Domains" or as "Vanity Domains". We do not suggest using "Vanity Domains", and support for such is deprecated.
    Once you have created "Hosted Domains" through Delegated Admin, you can add users to those domains, and they should work, just fine.

  • How do I point a Raspberry Pi music server at my iMac?

    I'm trying to use a Raspberry Pi as a network music server.  I have one SD card with Volumio and another with Rune.  The webUI for both is almost identical.
    My music files are on an HDD attached to my iMac and the Pi is on the same network.  In the Volumio UI I need to enter the path to the music folder on the HD.
    I have selected file share protocol as SMB/CIFS.
    I have entered the iMac's IP address
    I have entered the Remote Directory as Drobo/Rip where Drobo is the name of the HDD and Rip is the folder on Drobo with the music files.
    I cannot get it to mount.  Any suggestions?
    I can send music to Volumio by AirPlay (wired) with no problem at all, but I can't get Volumio to go fetch the music from the iMac.

    Try the > Raspberry Pi Forums.

  • In relation to Wireless Speakers, what does 'Connected Music Server' mean?

    Hello All,
    Need some advise. I am looking at purchasing a Wireless speaker. I currently have a MacBook Pro 10.8 which has my music stored in iTunes. My phone is an Android 4.2.2 device.
    Therefore, I need to buy a wireless speaker that supports AirPlay (aka stream music from my MacBook Pro) and also has an app that I can install on my Android device which can threby access the iTunes playlist so that I can use my phone as the remote control.
    Based on the above requirements, I narrowed down my chocie to the Denon Cocoon Home (whose app is also Deno Cocoon) and the Pioneer A4 XW-SMA4-K (whose app is Pioneer ControlApp)
    Question 1:
    The Denon App says this:
    - When connected to your home Wi-Fi network you can further expand your choice of music by using the Music Server to browse and play all the music that is stored on your PC, Mac or Network Attached Storage (NAS) drive.
    - DRM protected music is NOT supported by the Denon Cocoon app (or any 3rd party music app)
    My question what does one mean by a 'connected music server?' If an AirPlay speaker receives iTunes music, does it automatically become a 'connected music server?' Technically, is music in my iTunes app (some purchased from iTunes store, some imported) considered DRM protected music? Can ithe app read the iTunes music given the above contraint?
    Question 2:
    The Pioneer App has a lot of complicated lingo that says:
    Network Audio Player
    - Browse and select music files on your connected music server
    AV Receiver
    - Browse and select music files on your connected music server
    Network CD Receiver System
    - Browse and select music files on your connected music server
    Wireless Speaker
    - Volume up/down
    - Select Internet Radio Stations
    - PUSH PLAYER
    It uses one app for multiple devices and in the app description has a breakdown for what the app supports for every device. Now the 'connected music server' is not mentioned in 'Wireless Speaker' but the same is mentioned in 'Network Audio Player' so what does that mean?
    I am more veered towards the Pioneer speaker as it costs $100 less and has better reviews but I will go with the one that will aloow me to use my Android phone as a remote control to access the music that the speaker is streaming from my MacBook pro.

    CSS SSL module sending a Close_Notify.
    Try these links;
    http://www.cisco.com/warp/public/117/basic_css_lb_config.html
    http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a008057a127.html

  • Using Apple TV as a multi-room music server

    I am trying to decide whether Apple TV is a good choice for use as a multi room wireless music server. I would rather use Apple TV than say Sonos because I like Apple TV's video capabilities. My decision is going to be largely based on Apple TV's/iTunes/Airtunes compatibility with my current 2 zone home theater system.
    Right now the AV/wireless system looks like this:
    -2 Zone Denon AV receiver wired to wall mounted speakers in the living room and kitchen/patio.
    -Airport Extreme wired into cable modem
    -Wall mounted speakers upstairs in bedroom (not connected to any amplifier)
    Ideally I want to add
    -Apple TV wired to Denon receiver/TV w/ hdmi cable
    -inexpensive AV receiver/amp in bedroom to power wall mounted speakers
    -Airport Express jacked into receiver to stream iTunes library from Apple TV
    -Everything controlled with iPhone
    Questions:
    1. Will this work?
    2. Any idea what my best options for an inexpensive Airtunes friendly amp/receiver are?

    BorrachoPix, An excellemt thread. Always good to know others doing or intending to set up same similar systems. So many options these days it takes a fair while going through them all. I ruled out Squeezebox as not being user friendly enough and was going the Sonos route untill Apple released the itouch remote app which changed everything and gave me an excuse to get an itouch into the bargin as well !!!!!
    Have you though of using a pair of Active speakers instead of Amp and Speakers in the bedroom. Maybe the AudioEngine A2 or A5 Speakers.
    Jask, I use to have the 3801 before changing to the 2807. Will probably do as you suggest and go optical and component video to the amp keeping the HDMI slots for SkyHD and the DVD player. I always find the Denon set up menu a bit of a nightmare but usually get there in the end.
    Perhaps I should be thinking about an iMac for next year as well to complete the circle......just not sure I can justify the expense.

  • Itunes on PC as music server, library on a NAS and Airplay amplifier

    Hello everybody,
    I am putting in place a music server based on I-Tunes, actaully installed (prototype stage) on a quiet laptop.
    I want to keep my media file on a NAS, hardwired to the network. So I will declare I-tunes library on the NAS.
    The NAS will be connected to an Airplay compatible amplifier, which is visible from Itunes (Loudspeakers).
    My question:
    - When selecting a song from Itunes with the laptop, is the data flow going directly from the NAS to the Airplay amplifier (both hardwired) or does it have to go through the laptop (WIFI)?
    Thank you for your help!
    Dominique

    It says: "Important: Windows operating systems don't recognize Mac OS-formatted disks (HFS or HFS Plus formats)".
    The Mac can read (and write) Windows formatted disks.
    As your iPod is Windows formatted, and you want to copy from PC to Mac, that shouldn't be a problem.
    If you have your complete library on your iPod , you can also use a third party application like 'Senuti' (freeware) or 'ipodRip' (shareware) to transfer the contents of your iPod to the Mac. Your playlists on your iPod probably will be saved too.
    Do a Google search for the applications to find the URL's (they will probably be first on the list).
    M

  • Music server software compatibility

    Hello. I have a Lenovo EMC px4-300d and I am looking for a software that allows me to use it as a music server without a computer, directly attached to an ethernet capable DAC (PS Audio Direct Stream). I am wondering if this NAS is compatible with either Minimserver or Plex, or if Twonky 8 culd be used as an alternative for this use. In any case, which control SW can i use; Jremote? Many thanks in advance.

    Hello ridom
    I recommend checking at the PSA forums here.  As for the twonky server built into the px4, it is UPnP and DLNA compatible.  I can't say for certain which DLNA/UPnP remote would work with the specific application you are going for. 
    I can advise that the Twonky server's control interface can be accessed by entering the px4 ip in this format, ipaddress:50599  Jremote might be able to controll the twonky server, but I believe the PS Audio Direct Stream would need to support UPnP/DLNA.
    Technically other media server applications can aggregate media data from the unit. However there is not an official Minimserver or Plex app that can be natively ran on the px4.
    Sorry I do not have more info on this, hope you are able to get it to work, sounds interesting. 
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • Music Server on My Mac

    I am trying to figure out how best to construct my music server and I have a Leopard question. I know that on a PC, Windows messes with audio files and it is necessary, in order to get bit perfect audio off of the PC, to install a piece of software called ASIO that gets around the Windows manipulation of audio data. My question is, if I were to use my mac with Leopard installed, do I have a similar problem or will Leopard pass perfect audio out via my USB port? Thanks.
    PK

    I've never heard of Mac OS X altering the audio output for any reason. Some Macs (all the current models) also have a digital optical audio output port. I mention this because it shows Apple is serious about the quality of audio output.

  • Using iTunes as an audiophile quality music server

    I have recently setup up a music server using iTunes on a Wintel PC, connected through a Creative Audigy 2 external sound card to a Yamaha Class A stereo amp and Dynaudio speakers. Using Apple lossless compression, the sound quality of ripped CDs is equal to or better than my Yamaha audio CD player.
    Has anyone else used this style of setup and what are your experiences?
    The next step is to setup remote (couch-bound) operation by using a wireless keyboard/mouse and attempting to drive iTunes via the big screen TV with the S-Video out on the video card. Has anyone else done this and what were the results?
    Speaking of remote operation, the Audigy 2 come supplied with a remote, but it only seems to control the volume. It has a full complement of controls (eg FF, Pause) that I would like to use to operate iTunes. Any ideas?
    I have read up on Windows Media Centre and associated hardware. Besides being more focussed on video than music and providing an expensive way to watch TV, the overall costs are prohibitive and according to related web forums, the software seems unstable. Hence I've chosen the iTunes route.
    Any and all input appreciated.
    By the way, not an iPod in sight: - sacriledge I know. Don't tell Apple.
    Wintel crap   Windows XP Pro  

    popeyethesquirm wrote:
    i have downloaded flac files and converted them to aiff files
    You didn't have to convert them.
    Just select to burn them as an audio CD ad iTunes will convert as needed.
    how does itunes fit 3 gb onto a 700mb cdr?
    It doesn't.

  • Getting error on console after configuring MS SQL DB server with portal

    Hi,
    I am using WebLogic portal 10.2. I have configured MS SQL server with this portal as mentioned in:
    http://edocs.beasys.com/wlp/docs102/db/SQL.html
    After successfully performing all the steps mentioned in above link, when i try to start WebLogic Portal
    server i get following error on console:
    <Mar 17, 2009 2:00:31 PM GMT+05:30> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\wlserver_10.0\samples\domains\portal\servers\portalServer\logs\portalServer.log is opened. All server side log events will be written to this file.>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Error> <Security> <BEA-000000> <[Security:090759]A SQLException occurred while retrieving password information
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Invalid object name 'USERS'.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    Truncated. see log file for complete stacktrace
    >
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please e
    dit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid.
    The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the bo
    ot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
    at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    >
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Autonomy server stopped.
    and server could not proceed further.
    How can we resolve above error?

    Hi,
    I have re-installed WebLogic Portal 10.2 and now i m trying to configure MS SQL server.
    When i use configuration wizard tool, i could successfully run database scripts and i could see table being created in database. But when wizard reaches its last screen and installation completes about 75%, wizard screen shows following error:
    Traceback (innermost last):
    File "<iostream>", line 14, in ?
    File "C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py", line 118, in create
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
         at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1468)
         at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:732)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx319.create$29(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py:118)
         at org.python.pycode._pyx319.call_function(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:293)
         at org.python.core.PyFunction.__call__(PyFunction.java:179)
         at org.python.pycode._pyx322.f$0(<iostream>:14)
         at org.python.pycode._pyx322.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:162)
         at com.bea.plateng.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:911)
         at com.bea.plateng.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:878)
         at com.bea.plateng.domain.DomainChecker.preprocessOutput(DomainChecker.java:135)
         at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:248)
         at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)
    Caused by: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at com.bea.plateng.domain.script.ScriptExecutor.create4SubTypeObject(ScriptExecutor.java:955)
         at com.bea.plateng.domain.script.jython.ScriptProxyFactory.deepCreateProxy4SubTypeObject(ScriptProxyFactory.java:128)
         at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:728)
         ... 25 more
    Caused by: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:630)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.validate(AbstractConfigAspect.java:1130)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.selfSetValue(AbstractConfigAspect.java:1615)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValueInternal(AbstractConfigAspect.java:1574)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:748)
         at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:757)
         at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleConfigAspects(HTableEditOperation.java:265)
         at com.bea.plateng.domain.script.ScriptExecutor.create4SubTypeObject(ScriptExecutor.java:930)
         ... 27 more
    Caused by: java.beans.PropertyVetoException: The property value is duplicated.
         at com.bea.plateng.domain.event.aspect.UniqueValueValidateListener.valueChanged(UniqueValueValidateListener.java:127)
         at com.bea.plateng.domain.event.aspect.ConfigAspectValueListener.vetoableChange(ConfigAspectValueListener.java:138)
         at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:189)
         at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:156)
         at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:139)
         at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:620)
         ... 34 more
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
         at org.python.core.Py.JavaError(Py.java:324)
         at org.python.core.Py.JavaError(Py.java:311)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:163)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx319.create$29(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py:118)
         at org.python.pycode._pyx319.call_function(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:293)
         at org.python.core.PyFunction.__call__(PyFunction.java:179)
         at org.python.pycode._pyx322.f$0(<iostream>:14)
         at org.python.pycode._pyx322.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:162)
         at com.bea.plateng.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:911)
         at com.bea.plateng.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:878)
         at com.bea.plateng.domain.DomainChecker.preprocessOutput(DomainChecker.java:135)
         at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:248)
         at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)
    what should i do?

  • Can not connect to ther admin server with t3s in the WLST

    Hi,
    Our server face a strange problem.
    We want to add SSL to our server, and I have set the SSL linsten port enabled, an we can access the admin console with https protocol and SSL listen port.
    Then I want to manage the server with
    ##start WLST with DemoTrust enable
    java -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=DemoTrust weblogic.WLST
    ##connect
    If I use
    connect('system','testAdmin','t3://xxxx:10001')
    ##this can connect successful.
    If I use
    connect('system','testAdmin','t3s://xxxx:10002')
    It will cause an error
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3s://xxxx:10002 Use dumpStack() to view the full stacktrace
    I both enabled plain and SSL listen port and I can access the admin console with http and https without problem. But why I just can not use t3s to connect the server in the WLST? Is there any setting related this? Please advise, thanks.
    Here is the dumpStack()
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://xxxx:10002: Destination unreachable; nested exception is:
            java.io.IOException: Stream closed.; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    at org.python.core.PyObject.__call__(PyObject.java:248)
    at org.python.core.PyObject.invoke(PyObject.java:2016)
    at org.python.pycode._pyx4.connect$1(<iostream>:16)
    at org.python.pycode._pyx4.call_function(<iostream>)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyTableCode.call(PyTableCode.java:404)
    at org.python.core.PyTableCode.call(PyTableCode.java:287)
    at org.python.core.PyFunction.__call__(PyFunction.java:179)
    at org.python.pycode._pyx15.f$0(<console>:1)
    at org.python.pycode._pyx15.call_function(<console>)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.core.Py.exec(Py.java:1157)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
    at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:44)
    at weblogic.management.scripting.WLST.main(WLST.java:178)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: t3s://xxxx:10002: Destination unreachable; nested exception is:
    java.io.IOException: Stream closed.; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    ... 43 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.io.IOException: Stream closed.; No available router to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
    ... 48 more
    Edited by: Kaos on Feb 25, 2010 12:06 AM

    Jai/Faisal,
    One strange thing i observe, i tried connecting to admin server through WLST, it works for first time and again it gave me the error next (Connecting alternatively).
    the error message which i am getting:
    This Exception occurred at Thu Jun 10 08:19:39 CDT 2010.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://mo8xdwls0018.bankofamerica.com:8933: Destination unreachable; nested exception is:
            java.io.IOException: Stream closed.; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    we are connecting to t3s://mo8xdwls0018.bankofamerica.com:8933.
    Any help would be appreciated.
    -Vishal Iyer

Maybe you are looking for

  • MSI GX640 - Can it do 2560x1440 on an external monitor?

    Hello all, I'm considering to buy a 27" monitor with a 2560x1440 resolution (either the Hazro HZ27WC or the Dell Ultrasharp U2711, but I start spending money I need to know if the MSI GX640 can do this? The graphics card seems to do only 1920x1200, h

  • HT4906 Photo Stream will not remain checked in my system preferences

    I have photo stream on my phone and ipad.    2 problems are calendar does not update to phone and photo stream cannot connect with computer.   I keep checking it in the system preferences and it doesn't connect and unchecks itself.

  • Want to change template for an application

    I made my first test application on oracle's provided platform. I chose the template with No tabs. Now I realize I need the tabs. I dont find a way to change the template assigned to an application. Is it really allowed or not ?? regards, raghav..

  • MacBook dead after update to 10.8.1

    Hi My config: MacBook 6,1 with OS X: 10.8.0 - Language: German. The installations is fresh and only a few days old.... Today, I've notived that 10.8.1 is available, so I've decided to install it with the following procedure: Hit 'Update' in Mac AppSt

  • HT1711 How do I update new versions of Apps using the new iTunes?

    Good day all. I am having problems downloading updated versions of some Apps using the new iTunes. How do I update new versions of Apps using the new iTunes?