AllowUserPasswordChange not working in jasperserver 6.0.1 - jasperserver

I have changed the jasperserver-servlet.xml file in jasperserver 6.0.1 to enable the user password change link on the login screen as below.
From:
<property name="allowUserPasswordChange" value="false" />
To:
<property name="allowUserPasswordChange" value="true" />
This enabled the change password link on the login screen but when i am clicking on the link nothing is happening. Do i am missed some settings.

Related

JetBrain Rider , Access denied when using IIS Express with Windows Authentication

I have an enabled Windows Authentication on my projects. When I run it from Rider, it always prompts me "access denied". It's working fine when I run it via Visual Studio.
How can I solve this?
Navigate to: <project>.idea/config/applicationhost.config
Find the tag <authentication> and enable the <windowsAuthentication> tag like so: <windowsAuthentication enabled="true">
Mine looks like this:
<windowsAuthentication enabled="true">
<providers>
<add value="Negotiate" />
<add value="NTLM" />
</providers>
</windowsAuthentication>
Work-in-progress by JetBrains, see issue RIDER-15230
Just to build on #RyanDawkins answer with a GUI equivalent.
Steps
Right-click the Project the web app launches from
Select Properties ...
In the Modal, under Properties > Web there is a checkbox for Windows authentication
Screenshot
This is similar to the Visual Studio way of doing things, it just saves the settings in {SolutionFolder}/.idea/config instead of {SolutionFolder}/.vs/config
In <project>.idea/config/applicationhost.config
I had to do two things:
Set: <windowsAuthentication enabled="true">
Set: <anonymousAuthentication enabled="false">

JRebel: how to disable hbm2dll schema export in JRebel?

The question says it all. i'm using jrebel (5.5)
for hibernate plugin it says: "Enables automatic schema updating if hibernate.hbm2ddl.auto=update or schemaUpdate=true on org.springframework.orm.hibernate3.LocalSessionFactoryBean."
how can i disable it (or change)? it deletes and recreates (incorrect) my database schema on every start/stop and clean...
thx
Pardon,
i've found out that my full text search failed badly.
there was another setting for this in the persistence.xml. feeling dumb right now.
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
change it to:
<property name="hibernate.hbm2ddl.auto" value="none" />
did it for me

WebWorks: Open Web Browser?

How do I open a web browser from a Blackberry Webworks 2.0 application?
I tried:
http://www.blackberry.com/developers/docs/webworks/api/blackberry.invoke.BrowserArguments.html
but that doesn't want to work.
Thanks
I'll answer with one of my own working config files and a <script> section
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0">
<name>Webworks</name>
<author>De Wet Steynberg</author>
<feature id="blackberry.app" required="true" version="1.0.0.0"/>
<feature id="blackberry.identity" required="true" version="1.0.0.0"/>
<feature id="blackberry.invoke.BrowserArguments" required="true" version="1.0.0.0"/>
<feature id="blackberry.invoke" required="true" version="1.0.0.0"/>
<access subdomains="true" uri="http://www.somedomain.com">
<feature id="blackberry.app" required="true" version="1.0.0.0"/>
</access>
<content src="index.html"/>
<rim:loadingScreen backgroundColor="#000000" foregroundImage=""/>
<rim:navigation mode="focus"/>
</widget>
and the script tag that does the job:
<script>
var args = new blackberry.invoke.BrowserArguments('http://www.blackberry.com');
blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);
</script>
Tried and tested. Perhaps create a small test example. If that doesn't work there might be something wrong with your emulator.
If you get a message moaning about permissions and such, do the following:
1) From the homescreen press the menu button
2) At the bottom go to options (The icon with the wrench)
3) Go to Applications
4) Click the menu button and select "Edit Default Properties"
5) Set everything to "Allow", Menu, Save
6) Click Menu, Edit Default Permissions again
7) Click Menu, Apply Defaults to All, answer "Yes" to the popup prompt
8) Now navigate to the "Downloads" or " Applications" section and start your app up again.
These settings sometimes seem to get lost on the emulator between restarts. As long as your app remains open you can avoid lengthy recompiles and emulator reboots though.
Hope this helps
If you are building you app for BlackBerry 10, the format of the invocation interface has changed. It now leverages the built in system invocation framework (very powerful).
Here is how you would launch the browser app using the new system:
blackberry.invoke.invoke({
target: "sys.browser",
uri: "http://www.blackberry.com"
}, onSuccess, onError);
Fortunately, there is a great working sample app already published in Github: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/invoke

How to create share for a whole drive under WiX?

I would like to create a share for a whole drive in my WiX installer project. The default approach for share creation works just fine for folders, but not for drives! The following code snippet illustrates the problem:
<!-- Works! -->
<Property Id="MySharePath"><![CDATA[X:\ROOT]]></Property>
<!-- Works NOT!
<Property Id="MySharePath"><![CDATA[X:\]]></Property>
-->
<Directory Id="MySharePath" Name=".">
<Component Id="C__AddShare"
Guid="$(var.GuidAddShare)"
KeyPath="no"
Permanent="yes">
<CreateFolder/>
<!-- Create necessary share -->
<util:FileShare Id="MY_SHARE"
Name="MY_SHARE"
Description="MY_SHARE">
<util:FileSharePermission ChangePermission="yes"
CreateChild="yes"
CreateFile="yes"
Delete="yes"
DeleteChild="yes"
GenericAll="yes"
GenericExecute="yes"
GenericRead="yes"
GenericWrite="yes"
Read="yes"
ReadAttributes="yes"
ReadExtendedAttributes="yes"
ReadPermission="yes"
Synchronize="yes"
TakeOwnership="yes"
Traverse="yes"
User="LukeSkywalker"
WriteAttributes="yes"
WriteExtendedAttributes="yes"/>
</util:FileShare>
</Component>
</Directory>
Does anybody has a hint for this?
I don't think the WiX toolset supports this today. It'd be great if you updated the FileShare extension to handle this case and contributed back to the community.

Persisting app.config variables in updates via Click once deployment

Every time a new update is released for an application with click once, the variables in the app.config file are destroyed
<userSettings>
<app.My.MySettings>
<setting name="Email" serializeAs="String">
<value />
</setting>
<setting name="UserName" serializeAs="String">
<value />
</setting>
</app.My.MySettings>
</userSettings>
How can i prevent that?
Is there any way of feching the variables from the previous application version?
Do you have the "Applications should check for updates" option checked?
Have a look at Exploring Secrets of Persistent Application Settings (the section titled "Maintaining Settings Between Program Versions"):
For any settings from the current
version that match settings in the
prior version, this routine will
import them into the current version's
user.config file:
At the entry point to your program, place the following code.
if (Properties.Settings.Default.UpgradeSettings)
{
Properties.Settings.Default.Upgrade();
Properties.Settings.Default.UpgradeSettings = false;
}
Note that UpgradeSettings is a boolean user setting (not application) that you need to add yourself, and you want the default value to be True.
If you use user-level settings instead of application-level settings, it will copy them forward when a new version is retrieved.
The safest thing to do, though, is to separate this data from the ClickOnce update, uh, "experience". See if this helps:
http://robindotnet.wordpress.com/2009/08/19/where-do-i-put-my-data-to-keep-it-safe-from-clickonce-updates/