Issue Type: Bug Bug
Affects Versions: current
Assignee: Mirko Friedenhagen
Components: jswidgets
Created: 28/Feb/13 6:17 AM
Description:

After renaming my site from "ci.example.com" to "ci.example.net" (both at Apache and Jenkins config), _javascript_ console from clients states the following errors and don't execute any subsequent ajax request,

Uncaught ReferenceError: crumb is not defined (program):8
Uncaught ReferenceError: YAHOO is not defined (program):9
Uncaught ReferenceError: createSearchBox is not defined (program):10
2 Uncaught ReferenceError: refreshPart is not defined (program):28
Uncaught TypeError: Object has no method 'insertBefore' ci.example.net:122

To rename the site I've changed my Apache site config to match the following and also renamed "ci.example.com" to "ci.example.net" from Jenkins admin menu,

<VirtualHost *:80>
ServerAdmin [email protected]
ServerName ci.example.net
ServerAlias ci.example.com
ServerAlias ci
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://localhost:9000/
</VirtualHost>

The error dissapears when accesing the site back with ci.example.com name (still an Alias in Apache), with no need to reconfigure the site (Apache or Jenkins).

I've checked new domain name is correctly specified in .xml config files,

hudson.tasks.Mailer.xml: <hudsonUrl>http://ci.example.net/</hudsonUrl>
jenkins.model.JenkinsLocationConfiguration.xml: <jenkinsUrl>http://ci.example.net/</jenkinsUrl>

I've tried to clear the webapp cache with,

sudo service jenkins stop
sudo mv /var/cache/jenkins/war /var/cache/jenkins/war.old
sudo service jenkins start

but this doesn't solve the issue.

Many, many thanks in advance.-

Environment: Ubuntu 10.0.4 LTS
Project: Jenkins
Priority: Major Major
Reporter: Agustín Moretón
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to