Author Archives : Arun Kumar Ramar


How to solve “MobaXterm X11: Proxy authorization not recognized” Error

When you want to run an interactive program in linux server, and you have logged in through remote shell (with tools like MobaXterm), and you want to use sudo or su command to invoke the interactive program then you may get errors relating to Proxy authorization, when you try to invoke the program

For e.g., you enter the command as shown below

[username@servername ~]$ sudo ./catalogmover.sh

You will receive the following error message

MobaXterm X11: Proxy authorisation not recognised

Steps to resolve this issue

  •  Change to your home director

       [username@servername ~]$ cd ~

  • Run the following command

      [username@servername ~]$ xauth list

This command will list down the session ids as shown below

<ServerName>/unix:11 MIT MAGIC   COOKIE   1 1652db51d8a3a6e1fc837491a706d194

<ServerName>/unix:10 MIT MAGIC   COOKIE 1 2df6b584ff6448924900165ae51a7589

  • Copy the last line from the above results and add to the command sudo xauth add as shown below to add the session id to the authorization list

[username@servername ~]$ sudo xauth add <ServerName>/unix:10 MIT MAGIC COOKIE   1 2df6b584ff6448924900165ae51a7589

If you did not receive any error message, then the operation is successful.

  • Now try to run the actual command you were trying to invoke

[username@servername ~]$ sudo ./catalogmover.sh

You should see the user interface for the command coming up.

Remember the .Xauthority file is a hidden file, and so if you check for the file with simple ls -ltr command it will not be listed.

So you should use a command as shown below to check if the file is present.

[username@servername ~]$ ls – ltr .Xauthority

Also, if the file is not present, copy the file from the root directory, and then change the permissions and ownership for the file.

[username@servername ~]$ sudo cp – p /root/.Xauthority ./

[username@servername ~]$ sudo chmod 600 .Xauthority

[username@servername ~]$ sudo chown <username> .Xauthority

(In the above command <username> is your user-id )

Hope this helps. Happy linuxing !!!


Integrate JD Edwards with Content and Experience Cloud to drive digital business process improvements

JD Edwards announces their new out-of-the-box support for Oracle Content and Experience Cloud!

JD Edwards along with Oracle Content and Experience Cloud will help Facilitate in context transaction and internal operational collaboration, Simplify working with external customers, suppliers or partners, Drive digital business process improvements and Reduce storage costs

This solution provides the ability to attach documents to transactions and store them in the cloud using Oracle Content and Experience Cloud. This allows you to:

  • Quickly access Cloud documents versus traditional file systems
  • View documents without downloading
  • Drag-and-drop files effortlessly
  • Access business documents via JD Edwards, web, desktop or mobile devices
  • Search across all attachments
  • Analytics regarding document usage

Additionally, social collaboration features provide the ability to have in context conversations internally or externally regarding a transaction or a document attached to a transaction. The integration also supports operational collaboration within an organization outside of any transaction context.

Looking to learn more? Check out the integration in action.


Bilingual Portal in WebCenter Portal & Content Internationalization

bilingual

If you are working with a customer who has a global presence and needs to present information in more than one language in their public facing portal or website, you can rely on Internationalization capabilities of Oracle WebCenter.

Oracle WebCenter Portal supports internationalization for portal assets. However, if you integrate content from WebCenter Content, you need to implement your own solution to support more than one language. This post provides a simple approach to accomplish this goal. The solution described here uses out-of-the-box features of WebCenter Portal and Content, does not require any customization and supports bi-lingual content.

This solution will accomplish two goals:

  1. Present portal page content from WebCenter Content
  2. Switch to selected language content automatically when user switches to a different language (in the Portal)

The sample code referred here uses a portal named PortalLab and a WebCenter Content connection named WCC. It switches content between English (en) and Tamil (ta)

We are using WebCenter WIKI pages to surface content in Portal pages. WIKI pages can be edited in a Rich Text editor and stored in WebCenter Content and hence its life-cycle (workflow, revision and archiving) can be controlled from WebCenter Content. We use WebCenter Expression Language (EL) to select language specific content.

Let us assume that your Portal has several pages including an “About Us” page and “Contact Us” page.

1. Create a portal page named Content Administrator and set the page permissions to allow only Administrators to view the page. Edit the page and add a Document Viewer taskflow Save and view the page and add folders matching the name of each portal pages (for example: AboutUs, ContactUs etc…)

Create WIKI pages under each folder as below:

>AboutUs
 - content_en
 - content_ta
 >ContactUs
 - content_en
 - content_ta

View the info tab for the each of the WIKI page and note down the Identifier

Example:
 WCC#dDocName: 37001
 WCC#dDocName: 37002

2. Edit the About Us portal page (Not the Folder we created, but the Portal Page) and add a Content Presenter. Edit the Content Presenter (the white wrench icon) and enter the following properties:

Data Source: #{facesContext.externalContext.requestLocale == 'en' ? 'WCC#dDocName: 37001' : 'WCC#dDocName: 37002'}

Save the portal page.

Test by visiting the page and switching the language.