ITunes U Authentication Service
Hi,
During our deployment we've built a little ruby application that allows you to quickly and easily integrate existing authentication sources into your iTunes U infrastructure. We've packaged it up as a ruby gem so you can grab it and use it from here: http://iauthu.rubyforge.org/.
Feel free to use it and tinker as needed. If you have questions, suggestions or things you'd like added feel free to drop us a line.
--Ivan
Hi,
During our deployment we've built a little ruby application that allows you to quickly and easily integrate existing authentication sources into your iTunes U infrastructure. We've packaged it up as a ruby gem so you can grab it and use it from here: http://iauthu.rubyforge.org/.
Feel free to use it and tinker as needed. If you have questions, suggestions or things you'd like added feel free to drop us a line.
--Ivan
Similar Messages
-
Event Log stopped working - Error 1747 : The Authentication Service is Unknown
I reccently noticed that my scheduled tasks were no longer running. I tried to bring up the task scheduler and it said the service was not running. I checked the service and sure enough, it was not running. I tried to start it and it failed because the windows event log service, which is a dependency, was also not running. I tried to start the event log service, and gave the error above in the subject line.
The event log service uses a log on of "Local Service". There are other services that use the same log on and they start up with no problem. I have searched the internet for a solution to this and have tried several things I found with no luck. One was to run SFC, another was to delete the Windows/Logs and Windows/System32/Logfiles folders so they would be re-created on startup. I also tried subinacl to reset the ACLs on registry branches and the subfolders of %SystemDrive% as recommeded in another forum.
I am running Vista Home Premium and all the latest updates have neen applied. Anyone have any further ideas? (short of re-installing Vista).
Thanks.Hi there Robin. I am an IT Technician & felt that I needed to begin communication with you regarding this issue. I recently made a post in this thread detailing my issues & found resolution. I just wanted to share my post with you & hope that the information is useful to others that need to resolve these issues without re-installing their operating systems. Please find my post below:
Hi all. I am an IT technician & have recently been troubleshooting a customer's Windows Vista Home Premium laptop in a wireless home network.
In a nutshell the laptop suddenly stopped connecting to the wireless router; upon investigation I found lots of windows services were not starting; this sent me on a bit of a wild goose chase as this showed all signs of some kind of trojan / malware infection hogging the system. Here are some of the things I saw:
1). Norton 360 wasn't even running correctly & I was unable to view it's firewall status.
2). Windows firewall was disabled & I was unable to start it (service failed error message).
3). I was unable to view windows event logs & received "Error 1747 : The Authentication Service is Unknown"
4). Windows Side Bar was all blanked out & not showing any gadgets
5). I attempted a system restore but that failed (I saw references in system restore that the Bonjour service had been un-installed)
I did loads of further investigation & found this thread. It would appear that removing, or even trying to remove / un-install the Bonjour service may cause the above mentioned issues in windows Vista. I have not seen this kind of errata in windows XP.
I have heard of people pulling their hair out & re-installing the operating system possibly due to experiencing these issues.
Please Read On....
Resolution that worked for me:
I ran the Winsock corruption fix that is mentioned in previous threads as per microsoft's instructions found at the following URL: http://support.microsoft.com/kb/811259
Manual steps to recover from Winsock2 corruption for Windows Vista users
Winsock corruption can cause connectivity problems. To resolve this issue by using Network Diagnostics in Windows Vista, follow these steps:
1.
Click , and then click Network.
2.
Click Network and Sharing Center.
3.
In the Network and Sharing Center box, click Diagnose and Repair.
Note You may also access the Network and Sharing Center in Control Panel.
If the Network and Diagnostic tool was unable to find a problem, you can manually repair or reset Winsock.
Manual steps to repair or to reset Winsock for Windows Vista users
1.
Click , type cmd in the Start Search box, right-click cmd.exe, click Run as administrator, and then press Continue.
2.
Type netsh winsock reset at the command prompt, and then press ENTER.
Note If the command is typed incorrectly, you will receive an error message. Type the command again. When the command is completed successfully, a confirmation appears, followed by a new command prompt. Then, go to step 3.
3.
Type exit, and then press ENTER
Hey Presto!!!! After re-booting everything is back online & all necessary windows services & norton 360 are starting as normal.
Further Information on Bonjour Service:
http://en.wikipedia.org/wiki/Bonjour_(software)
As I understand & in my experience the Bonjour service is installed as a sub-aplet with certain 3rd party software applications including Apples itunes & Adobe newest Creative Suite 3 installs Apple’s Bonjour service even if you don’t install Version Cue. Its main goal is to provide zero-configuration connectivity between Version Cue server and the suite’s applications.
A bit more CSi & i've established how to un-install Bonjour service; there is a great topic on this subject at the following URL: http://www.raymond.cc/blog/archives/2008/02/10/how-to-uninstall-or-remove-bonjour-mdnsresponderexe/
Thanks to all for your post & input...it has really helped to get this issue resolved (well for me anyway) & has of course save a re-install!!!!
I will keep an eye on this thread...please post your resolutions / experiences to help others.
Kind regards -
PHP iTunes U authentication issue
I’ve been working with integrating iTunes U with Moodle. On the Moodle site there is an iTunes U block available for integrating the 2 systems. I’ve been trying to use this and I am able to get to the iTunes U site from Moodle, but I am not being signed into the site as an authenticated user. I can’t seem to figure out why. I was however able to authenticate with a Perl script.
The Moodle block has a Setting section where I fill in all my site specific information such as the Shared Secret. This is definitely working fine as I am able to get to my site without issue. But, the passing of the credentials and identity do not seem to be working because I am not being signed in as an authenticated user.
Right now my Credentials are very basic – formatted just like the sample ones – such as:
Adminstrator@urn:mace:itunesu.com:sites:example.edu (where example.edu is my school’s name).
Can anyone review the files below and shed some light on why I am not getting authenticated?
Thanks.
Itunes_redirect.php
<?php // $Id: itunesu_redirect.php,v 1.1 2008/06/06 19:08:49 mchurch Exp $
require_once('../../config.php');
global $USER, $CFG;
require_once($CFG->dirroot.'/lib/weblib.php');
require_once($CFG->dirroot.'/lib/moodlelib.php');
require_once($CFG->dirroot.'/blocks/itunesu/itunes.php');
if (!isloggedin()) {
print_error('sessionerroruser', '' , $CFG->wwwroot);
$destination = required_param('destination', SITEID, PARAM_INT); // iTunes U destination
$name = fullname($USER);
/* Create instance of the itunes class and initalized instance variables */
$itunes = new itunes();
$itunes->setUser($name, $USER->email, $USER->username, $USER->id);
/* more work needs to be done with determining credentials */
$itunes->setAdminCredential($CFG->blockitunesuadmincred);
$itunes->setInstructorCredential($CFG->blockitunesuinsturctcred);
$itunes->addAdminCredentials();
$itunes->setSiteURL($CFG->blockitunesuurl);
$itunes->setSharedSecret($CFG->blockitunesusharedsecret);
$itunes->setDestination($destination);
$itunes->invokeAction();
?>
Itunes.php file:
<?php
# iTunes Authentication Class
# Written by Aaron Axelsen - [email protected]
# University of Wisconsin - Whitewater
# Edited by Ryan Pharis, [email protected] - Texas Tech University
# Class based on the Apple provided ITunesU.pl
# example script.
# REQUIREMENTS:
# PHP:
# - tested with PHP 5.2
# - make sure hash_hmac() works - <a class="jive-link-external-small" href="http://us2.php.net/manual/en/function.hash-hmac.php">http://us2.php.net/m anual/en/function.hash-hmac.php</a>
# - php curl support
#Example Usage:
<?php
include('itunes.php');
$itunes = new itunes();
// show loading screen while processing request
//include(ROOTURL.'/includes/pages/itunesload.php');
// Set User
$itunes->setUser("Jane Doe", "[email protected]", "jdoe", "42");
// Set Admin Permissions
$itunes->addAdminCredentials();
// Set Instructor Permission
//$itunes->addInstructorCredential('uniquename_fromitunes');
// Set Student Credential
//$itunes->addStudentCredential('uniquename_fromitunes');
// Set Handle
// This will direct login to the specific page
#$itunes->setHandle('');
// iTunes U Auth Debugging
$itunes->setDebug(true);
$itunes->invokeAction();
?>
class itunes {
// Oktech - add
var $authtoken;
var $siteURL;
var $debugSuffix;
var $sharedSecret;
var $administratorCredential;
var $instructorCredential;
var $studentCredential;
var $urlonly;
var $urlcredentials;
var $destination;
// Oktech
* Create iTunes Object
public function __construct() {
$this->setDebug(false);
$this->siteURL = 'https://deimos.apple.com/WebObjects/Core.woa/Browse/example.edu';
$this->directSiteURL = 'https://www.example.edu/cgi-bin/itunesu';
$this->debugSuffix = '/abc1234';
$this->sharedSecret = 'STRINGOFTHIRTYTWOLETTERSORDIGITS';
$this->administratorCredential = 'Administrator@urn:mace:itunesu.com:sites:example.edu';
$this->studentCredential = 'Student@urn:mace:itunesu.com:sites:example.edu';
$this->instructorCredential = 'Instructor@urn:mace:itunesu.com:sites:example.edu';
$this->credentials = array();
// Set domain
$this->setDomain();
// Oktech add
public function getInstructorCredential() {
return $this->instructorCredential;
public function setInstructorCredential($credential) {
$this->instructorCredential = $credential;
public function getStudentCredential() {
return $this->studentCredential;
public function setStudentCredential($credential) {
$this->studentCredential = $credential;
public function getAdminCredential() {
return $this->administratorCredential;
public function setAdminCredential($credential) {
$this->administratorCredential = $credential;
public function getSharedSecret() {
return $this->sharedSecret;
public function setSharedSecret($sharedsecret) {
$this->sharedSecret = $sharedsecret;
public function getAuthToken() {
return $this->authtoken;
public function setAuthToken($authtoken) {
$this->authtoken = $authtoken;
public function getDebugSuffix() {
return $this->directSiteURL;
public function setDebugSuffix($debugsuffix) {
$this->directSiteURL = $debugsuffix;
public function getSiteURL() {
return $this->siteURL;
public function setSiteURL($siteurl) {
$this->siteURL = $siteurl;
* Extract the URL from the return html
* block from the iTunes U server. Replace
* Apple's itmss tag with https
private function extractURL($htmlblock) {
$remainder = '';
$pos = 0;
$result = '';
$remainder = strstr($htmlblock, "_open('i");
$remainder = substr_replace($remainder, '', 0, 7);
$remainder = substr_replace($remainder, 'https', 0, 5);
$pos = strpos($remainder, "');");
$result = substr_replace($remainder, '', $pos);
$this->urlonly = $result;
public function getExtractedURL() {
return $this->urlonly;
* Extract the credentials part from the returned URL from
* the iTunes U server
public function extractURLCredentials($url) {
$result = '';
$pos = 0;
$remainder = strstr($url, "gtcc.edu?");
$remainder = substr_replace($remainder, '', 0, 9);
$this->urlcredentials = $remainder;
public function getExtractedURLCredentials() {
return $this->urlcredentials;
public function setDestination($destination) {
$this->destination = $destination;
public function getDestination() {
return $this->destination;
// Oktech add
* Add's admin credentials for a given user
public function addAdminCredentials() {
$this->addCredentials($this->administratorCredential);
* Add Student Credential for a given course
public function addStudentCredential($unique) {
$this->addCredentials($this->studentCredential.":$unique");
* Add Instructor Credential for a given course
public function addInstructorCredential($unique) {
$this->addCredentials($this->instructorCredential.":$unique");
* Set User Information
public function setUser($name, $email, $netid, $userid) {
$this->name = $name;
$this->email = $email;
$this->netid = $netid;
$this->userid = $userid;
return true;
* Set the Domain
* Takes the siteURL and splits off the destination, hostname and action path.
private function setDomain() {
$tmpArray = split("/",$this->siteURL);
$this->siteDomain = $tmpArray[sizeof($tmpArray)-1];
$this->actionPath = preg_replace("/https:\/\/(.+?)\/.*/",'$1',$this->siteURL);
$pattern = "/https:\/\/".$this->actionPath."(.*)/";
$this->hostName = preg_replace($pattern,'$1',$this->siteURL);
$this->destination = $this->siteDomain;
return true;
* Set the Handle
* Takes the handle as input and forms the get upload url string
* This is needed for using the API to upload files directly to iTunes U
public function setHandle($handleIn) {
$this->handle = $handleIn;
$this->getUploadUrl = "http://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/".$this->siteDoma in.'.'.$this->handle;
return true;
* Get Identity String
* Combine user identity information into an appropriately formatted string.
* take the arguments passed into the function copy them to variables
private function getIdentityString() {
# wrap the elements into the required delimiters.
return sprintf('"%s" <%s> (%s) [%s]', $this->name, $this->email, $this->netid, $this->userid);
* Add Credentials to Array
* Allows to push multiple credientials for a user onto the array
public function addCredentials($credentials) {
array_push($this->credentials,$credentials);
return true;
* Get Credentials String
* this is equivalent to join(';', @_); this function is present
* for consistency with the Java example.
* concatenates all the passed in credentials into a string
* with a semicolon delimiting the credentials in the string.
private function getCredentialsString() {
#make sure that at least one credential is passed in
if (sizeof($this->credentials) < 1)
return false;
return implode(";",$this->credentials);
private function getAuthorizationToken() {
# Create a buffer with which to generate the authorization token.
$buffer = "";
# create the POST Content and sign it
$buffer .= "credentials=" . urlencode($this->getCredentialsString());
$buffer .= "&identity=" . urlencode($this->identity);
$buffer .= "&time=" . urlencode(mktime());
# returns a signed message that is sent to the server
$signature = hash_hmac('SHA256', $buffer, $this->sharedSecret);
# append the signature to the POST content
return sprintf("%s&signature=%s", $buffer, $signature);
* Invoke Action
* Send a request to iTunes U and record the response.
* Net:HTTPS is used to get better control of the encoding of the POST data
* as HTTP::Request::Common does not encode parentheses and Java's URLEncoder
* does.
public function invokeAction() {
$this->identity = $this->getIdentityString();
$this->token = $this->getAuthorizationToken();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $this->generateURL() . '?' . $this->token);
//curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// Oktech - change
$this->authtoken = curl_exec($ch);
curl_close($ch);
/* Start a new sesstion and send a request for specific content with the appropriate credentials */
$ch = curl_init();
$this->extractURL($this->authtoken);
$this->extractURLCredentials($this->urlonly);
curl_setopt($ch, CURLOPT_URL, $this->siteURL . '.' . $this->destination . '?' . $this->urlcredentials);
//curl_setopt($ch, CURLOPT_POST, 1);
curl_exec($ch);
curl_close($ch);
// Oktech
* Auth and Upload File to iTunes U
* This method is said to not be as heavily tested by apple, so you may have
* unexpected results.
* $fileIn - full system path to the file you desire to upload
public function uploadFile($fileIn) {
$this->identity = $this->getIdentityString();
$this->token = $this->getAuthorizationToken();
// Escape the filename
$f = escapeshellcmd($fileIn);
// Contact Apple and Get the Upload URL
$upUrl = curl_init($this->getUploadUrl.'?'.$this->token);
curl_setopt($upUrl, CURLOPT_RETURNTRANSFER, true);
$uploadURL = curl_exec($upUrl);
$error = curl_error($upUrl);
$http_code = curl_getinfo($upUrl ,CURLINFOHTTPCODE);
curl_close($upUrl);
print $http_code;
print "
$uploadURL";
if ($error) {
print "
$error";
# Currently not working using php/curl functions. For now, we are just going to echo a system command .. see below
#// Push out the designated file to iTunes U
#// Build Post Fields
#$postfields = array("file" => "@$fileIn");
#$pushUrl = curl_init($uploadURL);
#curl_setopt($pushUrl, CURLOPT_FAILONERROR, 1);
#curl_setopt($pushUrl, CURLOPT_FOLLOWLOCATION, 1);// allow redirects
#curl_setopt($pushUrl, CURLOPT_VERBOSE, 1);
#curl_setopt($pushUrl, CURLOPT_RETURNTRANSFER, true);
#curl_setopt($pushUrl, CURLOPT_POST, true);
#curl_setopt($pushUrl, CURLOPT_POSTFILEDS, $postfields);
#$output = curl_exec($pushUrl);
#$error = curl_error($pushUrl);
#$http_code = curl_getinfo($pushUrl, CURLINFOHTTPCODE);
#curl_close($pushUrl);
#print "
#print $http_code;
#print "
$output";
#if ($error) {
# print "
$error";
// Set the php time limit higher so it doesnt time out.
settimelimit(1200);
// System command to initiate curl and upload the file. (Temp until I figure out the php curl commands to do it)
$command = "curl -S -F file=@$f $uploadURL";
echo "
echo $command;
exec($command, $result, $error);
if ($error) {
echo "I'm busted";
} else {
print_r($result);
echo $command;
* Set Debugging
* Enable/Disable debugging of iTunes U Authentication
public function setDebug($bool) {
if ($bool) {
$this->debug = true;
} else {
$this->debug = false;
return true;
* Generate Site URL
* Append debug suffix to end of url if debugging is enabled
private function generateURL() {
if ($this->debug) {
return $this->siteURL.$this->debugSuffix;
} elseif ($this->isHandleSet()) {
return $this->directSiteURL.'.'.$this->handle;
} else {
return $this->siteURL;
* Check to see if the handle is set
private function isHandleSet() {
if (isset($this->handle))
return true;
else
return false;
?>Janet ... hmmm ... I suppose it could also be "Jane T. Smith" ... ah well, anywho,
One thing to understand when it comes to credentialling is that, even if your transfer CGI (Moodle block) doesn't work ... if you redirect someone to your iTunes U site, that person will -always- carry two credentials ... "Unauthenticated" and "All". You do not have to assign the credentials ... they are automatic.
Put it this way, if I direct you to my site:
https://deimos.apple.com/WebObjects/Core.woa/Browse/uic.edu
if you click on that link, authentication or no, Apple will give you the "Unauthenticated" and "All" credentials. Anywhere on my site where those creds are good, you'll have access.
Hmmm ... maybe I can rephrase it this way ... there are four credentials that are a part of every site ...
All ... everyone who accesses your site gets this cred ... everyone.
Authenticated ... if you pass a valid iTunes U URL request for a user, he/she will get this cred.
Unauthenticated ... this cred is given whenever someone gets to your site -without- a tokenized (credentials, identity, time, signature) URL request. For example, if someone uses your site base URL without any modification.
Administrator ... this cred has total access to a site.
So if you access your site using your admin cred, you'll actually carry three creds ... "Administrator" (of course), but also "All" and "Authenticated".
So why this long discussion of creds? Well, if you're getting in with the "Unauthenticated" credential, it's a sure sign your transfer CGI (Moodle thingy) isn't working ... at all. It's not that you can't pass the admin cred ... or identity info ... you're not passing any info. And because you're not passing any info, iTunes U does the default thing ... give you "All" and "Unauthenticated" access. -
Unable to connect to ITunes message reads Service Apple Mobile Device failed to start. Verify that you have sufficient privileges to start services
Try removing and reinstalling Aple Mobile Device Service.
How to restart the Apple Mobile Device Service (AMDS) on Windows
Remove and reinstall iTunes and AMDS
If the issue continues after restarting AMDS, then you'll need to remove and reinstall AMDS and iTunes.
Completely uninstall AMDS, iTunes, and all Apple software. Click the appropriate links below for steps:
Windows XP
Windows Vista or Windows 7
Restart the computer.
Download and install (or reinstall) the latest version of iTunes from www.apple.com/itunes. Installing iTunes will also install AMDS.
Restart the computer.
Start iTunes and connect the device. It should be recognized properly in Windows.
If that doesn't do it, take a look at the security software on your computer. Use this as a guide -> iTunes: Troubleshooting security software issues -
AM 7: Authentication Service is not initialized;&LoginLogoutMapping failed.
Hi folks, we have an environment with Bea WLS 8.1.6 and have installed SUN AM 7
(part of it with an amsilent-script, part of it manually) & DS 5.2.
The server log-file contains an error during StartUp:
during startup in the BEA WLS 8.1.6 log file:
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor67]
<Feb 4, 2008 7:03:27 PM CET> <Error> <HTTP> <BEA-101216> <Servlet: "LoginLogoutMapping" failed to preload on startup in Web application: "amserver".
javax.servlet.ServletException
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:990)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3399)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2169)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3111)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1769)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:352)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
Caused by: java.lang.NullPointerException
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:975)
... 19 more
>
When we call the login-page http://full-host-name-with-domain:port_at_Bea/amserver/UI/Login, we get Authentication Service is not initialized.
after first call of http://HOSTNAME_with_full_domain:PORT/amserver/UI/Login
<Feb 4, 2008 7:08:24 PM CET> <Error> <HTTP> <BEA-101046> <[ServletContext(id=12732427,name=amserver,context-path=/amserver)] [ERROR] Uncaught application exce
ption
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key
at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
at java.util.ResourceBundle.getObject(ResourceBundle.java:322)
at java.util.ResourceBundle.getString(ResourceBundle.java:285)
at com.sun.identity.authentication.service.AuthUtils.getErrorVal(AuthUtils.java:2823)
at com.sun.identity.authentication.service.AuthUtils.getErrorTemplate(AuthUtils.java:1149)
at com.sun.identity.authentication.UI.LoginViewBean.setErrorMessage(LoginViewBean.java:1576)
at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:372)
at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
<Feb 4, 2008 7:08:24 PM CET> <Error> <HTTP> <BEA-101020> <[ServletContext(id=12732427,name=amserver,context-path=/amserver)] Servlet failed with Exception
com.iplanet.jato.CompleteRequestException
at com.sun.identity.authentication.UI.AuthenticationServletBase.onUncaughtException(AuthenticationServletBase.java:122)
at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
less amNaming:
02/04/2008 03:50:21:473 PM CET: Thread[main,5,main]
02/04/2008 03:51:05:032 PM CET: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
ERROR: Naming Initialization failed.
java.lang.NullPointerException
at java.lang.String.<init>(String.java:390)
at com.sun.identity.security.AdminPasswordAction.run(AdminPasswordAction.java:86)
at java.security.AccessController.doPrivileged(Native Method)
at com.iplanet.services.naming.service.NamingService.<clinit>(NamingService.java:133)
at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:644)
at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:560)
at com.iplanet.services.naming.WebtopNaming.getServiceAllURLs(WebtopNaming.java:264)
at com.sun.identity.jaxrpc.JAXRPCUtil.getValidServerURL(JAXRPCUtil.java:193)
at com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:108)
at com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:206)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:377)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:355)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:320)
at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.<init>(SMSJAXRPCObject.java:88)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:250)
at com.sun.identity.authentication.service.AuthUtils.<clinit>(AuthUtils.java:170)
at com.sun.identity.authentication.UI.LoginServlet.initializeRequestContext(LoginServlet.java:125)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
02/04/2008 03:51:05:037 PM CET: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
ERROR: Can't get naming table
java.lang.NullPointerException
at com.iplanet.services.naming.service.NamingService.updateNamingTable(NamingService.java:202)
at com.iplanet.services.naming.service.NamingService.updateNamingTable(NamingService.java:190)
at com.iplanet.services.naming.service.NamingService.getNamingTable(NamingService.java:178)
at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:644)
at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:560)
at com.iplanet.services.naming.WebtopNaming.getServiceAllURLs(WebtopNaming.java:264)
at com.sun.identity.jaxrpc.JAXRPCUtil.getValidServerURL(JAXRPCUtil.java:193)
at com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:108)
at com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:206)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:377)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:355)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:320)
at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.<init>(SMSJAXRPCObject.java:88)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
amNaming
less amSDK:
02/04/2008 06:11:28:570 PM CET: Thread[main,5,main]
DataLayer: number of retry = 3
02/04/2008 06:11:28:570 PM CET: Thread[main,5,main]
DataLayer: retry interval = 1000
02/04/2008 06:11:28:572 PM CET: Thread[main,5,main]
DataLayer: retry error codes = [91, 81, 80]
02/04/2008 06:11:28:596 PM CET: Thread[main,5,main]
ERROR: AdminUtils: Initialize admin info
Got LDAPServiceException code=19
at com.iplanet.services.ldap.DSConfigMgr.loadServerConfiguration(DSConfigMgr.java:436)
at com.iplanet.services.ldap.DSConfigMgr.getDSConfigMgr(DSConfigMgr.java:162)
at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:76)
at com.sun.identity.security.AdminDNAction.run(AdminDNAction.java:86)
at java.security.AccessController.doPrivileged(Native Method)
at com.iplanet.dpro.session.service.SessionService.<init>(SessionService.java:1555)
at com.iplanet.dpro.session.service.SessionService.getSessionService(SessionService.java:398)
at com.sun.identity.authentication.service.AuthD.getSS(AuthD.java:699)
at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:720)
at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:488)
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3399)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2169)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3111)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1769)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:352)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
02/04/2008 06:11:28:609 PM CET: Thread[main,5,main]
Crypt.static{}: Encryptor class= com.iplanet.services.util.JCEEncryption
02/04/2008 06:11:29:768 PM CET: Thread[main,5,main]
Crypt.static{}: Encryptor class= com.iplanet.services.util.JCEEncryption
02/04/2008 06:11:29:769 PM CET: Thread[main,5,main]
Crypt.static{}: Encryptor class= com.iplanet.services.util.JCEEncryption
(END)
less amSession:
02/04/2008 06:11:28:306 PM CET: Thread[main,5,main]
02/04/2008 06:11:28:419 PM CET: Thread[main,5,main]
Initiating login thread pool size = 10
Threshold = 100
02/04/2008 06:11:29:780 PM CET: Thread[main,5,main]
ERROR: SessionService.SessionService(): Initialization Failed
java.lang.NullPointerException
at java.lang.String.<init>(String.java:390)
at com.sun.identity.security.AdminPasswordAction.run(AdminPasswordAction.java:86)
at java.security.AccessController.doPrivileged(Native Method)
at com.iplanet.dpro.session.service.SessionService.<init>(SessionService.java:1557)
at com.iplanet.dpro.session.service.SessionService.getSessionService(SessionService.java:398)
at com.sun.identity.authentication.service.AuthD.getSS(AuthD.java:699)
at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:720)
at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:488)
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3399)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2169)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3111)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1769)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:352)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
02/04/2008 06:11:29:784 PM CET: Thread[main,5,main]
ERROR: Error creating service session
java.lang.NullPointerException
at com.iplanet.dpro.session.service.SessionService.generateEncryptedID(SessionService.java:605)
at com.iplanet.dpro.session.service.SessionService.generateSessionId(SessionService.java:629)
at com.iplanet.dpro.session.service.SessionService.newInternalSession(SessionService.java:573)
at com.iplanet.dpro.session.service.SessionService.getServiceSession(SessionService.java:517)
at com.iplanet.dpro.session.service.SessionService.getAuthenticationSession(SessionService.java:424)
at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:720)
at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:488)
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3399)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2169)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3111)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1769)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:352)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
(END)
less amAuth:
02/04/2008 06:11:28:198 PM CET: Thread[main,5,main]
Directory Host: zws21t.ham.dlh.de
Directory PORT : 20389
02/04/2008 06:11:28:199 PM CET: Thread[main,5,main]
Session store using null
02/04/2008 06:11:28:199 PM CET: Thread[main,5,main]
AuthD initializing
02/04/2008 06:11:29:787 PM CET: Thread[main,5,main]
ERROR: AuthD failed to get auth session
02/04/2008 06:11:29:859 PM CET: Thread[main,5,main]
ERROR: AuthD init()
com.iplanet.dpro.session.SessionException: AuthD failed to get auth session
at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:723)
at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:488)
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3399)
root@HOSTNAME:username#
The AMConfig.properties file is world readable. All JAR's in /opt/SUNWam/lib are also accessable by the Bea-User (managed-server). The user "amAdmin" exist's on the connected DS-Instance. During installation, all the needed information in the amsilent-file has been provided.
SERVER_NAME=HOSTNAME-BEA
SERVER_HOST=HOSTNAME-BEA.FULL-DOMAIN
SERVER_PORT=port-of-managed-server
ADMIN_PORT=port-of-admin-server
DS_HOST=HOSTNAME-DS
DS_DIRMGRPASSWD=ds-pw
ROOT_SUFFIX="dc=sub2,dc=sub1,dc=sub"
ADMINPASSWD=abcdef
AMLDAPUSERPASSWD=ghijklm
COOKIE_DOMAIN=.mydomain.org
AM_ENC_PWD=an_encrypted_pw
NEW_OWNER=user-bea-managed-server
NEW_GROUP=group-of-user-bea-managed-server
PAM_SERVICE_NAME=other
WEB_CONTAINER=WL8
Does someone have an idea ? Any hint would be great.
Best regards.
D.Looks like the Platform service doesn't have the FQDN listed in the server name...
Please use this command to check it...
ldapsearch -D "cn=Directory Manager" -w password -h <DS-host> -p <DS-port> -b "ou=iPlanetAMPlatformServioce,ou=services,<Base -dn>"
-B objectclass=* -
How to Specify Metadata When Adding Content Using iTunes U Web Service?
I've been developing Java applications using iTunes U Web service and uploaded content to iTunes U site using iTunes U Web service without problem. Now I want to add metadata fields (name, artist name, album name, etc.) for the tracks I uploaded. It seems to me that "AddTrack" will do. So I tested it but it neither adds a track under the specified group nor updates metadata fields for an existing track. It turned out "MergeTrack" actually updates metadata fields for an existing track. So is there any way to specify metadata at the time of adding content using iTunes U Web service? And what exactly does AddTrack do? This is all about contents hosted by iTunes U site and no RSS is involved.
I'm referring to the "AddTrack" method in iTunes U Web service:
http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUWebServices/c hapter18_section_21.html#//appleref/doc/uid/AdminGuide-CH13-SW26Thanks for all the replies. My question is whether there is any way to specify metadata WHEN adding content using iTunes U Web service. Specifying metadata AFTER adding content can be achieved by MergeTrack (weird naming) and it does work.
As for setting track level meta-data in the media file and then upload it, there're several reasons against that, among which are:
1. Some track metadata are context-dependent. A video about buildings on Michigan Ave in Chicago can be track #2 in a history course and described as "historic view of the Magnificent Mile", but the same media can also be track #5 in a landscape design course and described as something like "contemporary architecture". Setting these metadata in the media file itself is not the preferred way to do it since it implies maintaining a version of the same media for any course/group it gets uploaded to.
2. Setting metadata in a location separate from the media file helps track the metadata change and search for media without digging into the media itself.
3. If MergeTrack "updates" metadata, there got to be some other method that "creates" metadata - that's what a well-designed API should look like. And setting metadata in the media file is not an equivalent to a "create metadata" method call. In rickwolf's term, that implicit AddTrack should actually be made explicit so the party uploading content can explicitly specify metadata instead of having iTunes U extract metadata from the media.
It is still not clear what "AddTrack" does exactly, maybe rickwolf is right - it's only relevant to tracks created through RSS.
So it seems to me there is no other way to specify metadata WHEN adding content using iTunes U Web service than setting metadata in the media file. To me it is more like a design flaw.
Message was edited by: Stone Xiang
Message was edited by: Stone Xiang
Message was edited by: Stone Xiang -
Iphone 3gs need activation after update by itune and no service
iphone 3gs need activation after update by itune and no service
what can i do ?No need to Multiple post... see your other Thread...
https://discussions.apple.com/thread/5846382?tstart=0 -
Integrate Central Authentication Service (CAS) in SharePoint 2010
Hi All,
Going to implement Single sign one, with all internal application,
Also some application is running in SharePoint, I want to integrate Central Authentication Service (CAS)
in SharePoint 2010.
Pls give me some idea.
DeepakYou can do CAS and SharePoint auth using below
Check below
http://webcache.googleusercontent.com/search?q=cache:EhC3JLvqDWwJ:balendrant.blogspot.com/2013/05/external-authentication-providers-for.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-beta
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=9&ved=0CFEQFjAI&url=http%3A%2F%2Fdownload.microsoft.com%2Fdocuments%2FFrance%2FInterop%2F2010%2FFederated_Collaboration_With_Shibboleth_2_0_and_SharePoint_2010_technologies-1_0.docx&ei=i0u1U6bVB4KMuATP94II&usg=AFQjCNF09JusWUS97-em12JFpaH64Pxa3A&bvm=bv.70138588,d.c2E&cad=rja
If this helped you resolve your issue, please mark it Answered -
Can we run itunes as a service on windows
Can we run itunes as a service? If not we really need the dev team to step up and fix it.
With the new option for sync over wifi we really need a service that runs in the background of our home pc's for the sync. As you know this takes place everytime you apply power, or when you hit the sync now button. So, unless we run itunes in its fullest all the time we can't count on the wifi sync to do what it is designed for. Running itunes eats up computer resources that some people need when doing school work, job work, and other important things. So please build a new version of itunes that allows it to run in the background and serve as a sync service.
Anyway this might be the wrong place for a suggestion but hopefully someone will get it to the right people.Take a look at something called java service wrapper ,
http://wrapper.tanukisoftware.org/doc/english/introduct
on.htmlNot seen that one before. Ta.
Alexandria software used to support a simpler app called JavaService... google for that maybe if the above is too much.
/k1 -
"iTunes Accounts" System Service just used 1.1 GB of cellular data in 14 hours!
Ttitle sums it up. 14 hours ago I activated my new iPhone 6 on T-Mobile, porting my number from AT&T. In this time, even though my phone has been on WiFi for over half of it, the "iTunes Accounts" System Service (Settings>Cellular>System Services) has used 1.1 GB of data. As far as I can tell, after searching extensively, this appears to be a record. Something is broken here, no?
On my 5S (or 5, or 4S, or 4, or 3GS, etc... you get the idea) I averaged less than 1 GB of total cellular data usage per month.
Anyone have any clue what's going on here?Following up... My carrier confirmed that this usage occurred within a 3 hour window, so it's even worse.
I spoke with a Senior Advisor at Apple. You could literally hear the guy shuffling papers and mashing his keyboard. He had no clue what the iTunes Accounts system service actually is. He guessed at about 5 different things that are iTunes related (like Match - which I haven't used since switching phones), but none of his guesses could explain why 1.1 GB of data would be used in 3 hours. 1.1 GB would be like playing music off of Match for around 19 hours straight (assuming 128 Kb/s).
I had to have been the victim of some sort of server side error on Apple's part. Something that probably only takes a few MBs to resolve, like my Match database (names of artists, albums, etc), probably got pushed a few hundred times. I can't think of any other explanation.
Still open to ideas and hoping this isn't a every day occurrence. -
Authentication Service is not initialized.
Hello,
I was authenticating with access manager before and I happen to re-start my machine without stopping the running domain and here is the issue after re-starting machine and the domain.
I get the page from the access manager
'Authentication Service is not initialized.
Contact your system administrator. ' I started my domain and also my amserver. I have no idea on what this means and how to resolve.
Anybody any Ideas.
Thanks,
-BobThere maybe a lot of possibilities such as directory server used by AM running correctly. How about the search of top org dc=xxx,dc=com existing in DS? Also checking /opt/SUNWam/config/ums/serverconfig.xml whether it configures as you expected. If you can't find it, try to set debug.level=message and clean up debug log, restart server and give us what you are finding in log files. HTH, Jerry
-
ITunes U Web Services -- AddCourse
I'm looking to use the AddCourse web service, has anyone else successfully used this feature of the iTunes U Web Service (with Java / Perl)?
Dave from Arizona State has created a set of Java wrappers for the web services API. I haven't tried 'em, but I bet they are really, really cool.
http://discussions.apple.com/thread.jspa?messageID=5417581�
Remember to give Dave the points if the API works the way you need it to do. -
Authentication service (202) did not complete successfully
Hello,
booting my wifes G4 Quicksilver (867MHz), OS 10.4.9, lasts since yesterday about 4 minutes; the time before booting lasted about 1 minute.
Excerpt from console.log:
Jul 5 22:03:20 MamasMac shutdown: reboot by root:
Jul 5 22:03:20 MamasMac SystemStarter[193]: authentication service (202) did not complete successfully
Jul 5 22:06:09 localhost kernel[0]: standard timeslicing quantum is 10000 us
What I tried solving the problem:
1. booting from Tiger DVD
2. starting Disk Utility
3. repairing permissions (some pemissions where repaired)
4. repairing volume (everything ok)
5. resetting user passwords
nothing of which solved the problem.
Any help would be appreciated
thanks
Roland
G4 QS 867 Mac OS X (10.4.9)HI Roland,
I found an article that might shed some light on the problem:
http://forums.macosxhints.com/archive/index.php/t-61068.html
Carolyn -
While downloading a book from iTunes, my internet service was interrupted and i didn't get the entire book. Now when i try to download it, i get the message that i already have downloaded it. It hit the download button in the purchased section, and nada! How can i re-download the book?
Hi Peggs,
Try this:
Open your iBooks app on your iPad
Select the Store Button at the top
Select Purchased at the bottom
You will see your AppleID on the right at the bottom, then Redeem, then Support
Click on your Apple ID, and when the AppleID window comes up with the options, Sign Out
Then Sign In again and try redownloading your book
Hope this helps!
Cheers,
GB -
Having issues agreeing to "iTunes Terms of Service & Privacy Policy"
Having issues agreeing to "iTunes Terms of Service & Privacy Policy" after upgrading to IOS 4.2.1. I had done this previously when it came out and am just now having this issue. I just want to agree to it but cannot find the menu buttons. I did not purchase my iPad (16g Wi-Fi) new. I just registered it w/ apple recently. I DO NOT KNOW anything about the previous owners.....I hope this isn't an jacked iPad or something. Any help or insight would rule.
THANX
Rick DicksonAre you getting the issue described in the following document, Rick?
[iTunes: May not display all options at low screen resolutions|http://support.apple.com/kb/TS1845]
Maybe you are looking for
-
SRM 7.0 Multiple screen for singe document
Hi Experts, In SRM 7.0 when I select an SC and click create confirmation button, a pop-up window gets open for the confirmation to be entered. At this stage, If I click the create confirmation button again on the parent screen a new window get open f
-
11g Human Task; problem with Auto-Generate Task Form
Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 Using book: Getting Started with Oracle SOA 11g R1, A Hands-On Tutorial Had success through Chapt 7. Now working through 8, Creating Human Tasks -- almost everything checks out. De
-
Oracle Universal Installer not starting, failing on pre-requisites
--[This is where the application server 10g Forms and Reports (9.0.4) cd resides for Solaris version 5.9] /data02/FMSinvoice/appsFR904/INSTALL/SOLARIS --[The runInstaller is using oraparam.ini from the following temp location (/data02/FMSinvoice/apps
-
i am using the oracle 11g. i need some examples how to use path index ie creating the table and creating the path index . i need examples on order index ,value index
-
Reduce brightness of Full Screen background
How can I do that please? It's rather too bright for me.