Xdg-default-chooser - Register default XDG application

Hi archers.
I have python-glued together xdg-mime and dzen2, so that when xdg-open hits an mimetype that is not associated,
it fires up a dzen2 menu that allows user to choose between applications capable of handling this mimetype.
I find it quite useful:).
Improvement tips are welcome. Enjoy!
#!/usr/bin/python
# xdg-default-chooser
# A simple script that fires up a dzen2 menu allowing user to
# register default XDG application for a file passed as argv[1]
# requires dzen2 to run
# USAGE: setup environment variable BROWSER so that it points to xdg-default-chooser.py
# This will cause xdg-open to launch xdg-default-chooser.py instead of attempting
# to open file in a browser.
# by shpelda at gmail dot com
from os import environ,walk
from os.path import join
from re import sub
from sys import argv
from subprocess import check_output
from tempfile import NamedTemporaryFile as tempfile
def maxlen(array_of_string):
mx=-1
for x in array_of_string:
if mx < len(x):
mx=len(x)
return mx
entries=[]
mime=check_output(["xdg-mime","query","filetype",argv[1]])
mime=mime.decode('us-ascii').strip()
mime=sub(r'([^;]*);.*',r'\1',mime)
mime='%s'%mime
for xdg_data in environ['XDG_DATA_DIRS'].split(':')\
+ [environ['XDG_DATA_HOME']]:
for root, dirs, files in walk(xdg_data+'/applications'):
for filename in files:
if not filename.endswith('.desktop'):
continue
absfile=join(root, filename)
with open(absfile) as f:
for row in f:
if row.startswith('MimeType'):
if mime in row:
entries.append(filename)
entries.sort()
result=None
with tempfile() as w:
w.write(bytes('%s\n'%mime,'us-ascii'))
for e in entries:
w.write(bytes('%s\n'%e,'us-ascii'))
w.flush()
# dzen2 -m -p -l 5 -e 'entertitle=uncollapse,grabkeys,grabmouse;button1=menuprint,exit;button4=scrollup;button5=scrolldown;'
with open(w.name) as r:
result=check_output(['dzen2','-m','-p','-l','%s'%len(entries)
,'-w','%s'%(maxlen(entries)*10)#FIXME magic
,'-e','entertitle=uncollapse,grabkeys,grabmouse;button1=menuprint,exit;button4=scrollup;button5=scrolldown;']
,stdin=r)
if not result:
raise "Nothing selected"
result=result.decode('us-ascii').strip()
check_output(['xdg-mime','default',result,mime])
check_output(['xdg-open',argv[1]])
Last edited by shpelda (2011-12-05 12:44:45)

File "./xdg-chooser", line 28, in <module>
mime=check_output(["xdg-mime","query","filetype",argv[1]])
IndexError: list index out of range

Similar Messages

  • How can I change the default program for the external applications editor?

    I have read the on line directions for this and it reads "select a file type in the left pane."   I do not see where this is in the left pane.  All I see in the left pane is "Browser start pages" and a "How do I " Pane.  Nothing with file types.

    Hello,
    Welcome to Adobe Forums.
    In order to change the default program for the external applications editor. Please follow the steps as mentioned below.
    Click on Edit menu then choose preferences.
    Once the preferences dialog box open.
    click on file editors.
    On the Left pane you will find all the file types which you want to edit .
    On the right hand side you will find the editors for that specific file type.
    If you want to add any other application you need to click on + symbol at the top of right pane.
    Select the path of that application which you want to apply.
    clcik on open.
    If you want to make it primay you can click make primary option available at the right hand top. For more detials please check the screenshot below.
    Regards,
    Rajeev

  • Changing the default mail sender name in Application server

    Hi,
    how do I change default mail sender name in application server.
    It is administrator@application by default.

    Does the email send from the operating system (sendmail ) or from the IAS?
    If its from the ias , then its in the httpd.conf.
    If its from the Operating system then I dont rememeber
    If you have a non windows platform (like unix) easiest way will be to do a grep for "administrator@application "
    Best Regards
    Rajesh Alex

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

  • Default settings file for Terminal Application?

    Hello,
    As in other Unixes /etc/bashrc or ~/.bashrc seem to contain the default settings for the Terminal Application.
    But i was looking for the config file where i can set the default keyboard or keymapping for the Terminal Application?
    The "Desktop-Keyboard/Keymapping" is ok , but in the Terminal several keys don´t work correctly. I need to ssh into another machine but the users password can´t be written correctly as of errors with keymapping so i can´t login into the other box.
    Thanks for infos,
    tyrtux.
    MacBook white 2Ghz ICD   Mac OS X (10.4.8)  

    Then, check ~/Library/Preferences/com.apple.Terminal.plist, using:
    defaults read com.apple.Terminal
    in the Terminal. Look especially at the KeyBindings entries. Use the Property List Editor that comes with the XCode Tools to change/modify those to suit your needs.

  • How do I choose a default startup drive?

    I have two startup drives on my Hard Drive. One is Snow Leopard and the other is Leopard. I need Leopard for some printing issues with Photoshop and Epson. How do I choose a default startup drive? Most of the time I want the Snow Leopard drive at startup but it seems to always start up on Leopard. I need to always hold down the option key at startup. Sometimes I forget.

    noondaywitch wrote:
    System Preferences > Startup Dive > select the drive with 10.6.x I suspect you may need to do that for both systems. Click the lock to prevent further changes, then do an option-boot and ensure it'll let you start from the other.
    Macs store a reference to the default startup drive set in System Preferences > Startup Drive in PRAM, so you don't have to set it individually for each drive or partition -- as long as the selected one is available at startup time, that is the one the Mac will start up from. (Otherwise, it will be the first available one found. If none capable of starting up the Mac are found instead the flashing slashed circle with the question mark in it won't go away, indicating the Mac is still waiting for you to make one available, for instance by powering up an attached external drive or inserting a bootable DVD.)
    The option key startup method temporarily overrides this & allows you to choose another drive or partition, but just for that startup -- the next time you start up normally, it will revert to the selected one.
    Also, the lock in System Preferences has nothing to do with making preference settings permanent or persistent. It is just a security feature to prevent unauthorized users from making changes from an already logged in user account. For instance, it makes no difference if the lock is closed or open at startup time, because that is before the OS is running or able to check preference file settings stored on disks. During the early stages of the boot process, code resident in firmware checks for depressed keys & buttons before loading the OS from the default source set in PRAM. This is how it decides if it should instead run the Startup Manager (evoked by the option key), first eject a CD or DVD (evoked by the eject key or primary mouse button), or start up from an alternate source like an installer DVD (evoked by the C key).

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • Increase default font size across all applications?

    I just got a new Macbook with a 15.4 inch 1400x900 screen resolution, and I am finding that the text on screen is really tiny in most cases (on the Apple menu it is fine).
    Even some buttons are tiny.
    Is there any way to increase the text size systemwide? Since the GUI is PDF based, it ought to scale well, right?
    I don't want to lower the resolution, because I naturally want to keep the sharpness.

    Hi, eobet.
    There's no way of doing this through the Mac OS X GUI itself. However, the freeware application TinkerTool permits you to "set nine categories of default fonts used in Cocoa applications." This permits you to change the font used and its size.
    This facility employs hidden settings within Mac OS X, so it's a bit of a hack and should be used with caution and at your own risk.
    The graphical elements of the GUI, such as the buttons you cite, cannot be changed other than by lowering the resolution.
    For the visually impaired, Mac OS X offers a Zoom option in System Preferences > Universal Access > Seeing. This permits one to magnify a portion of the screen to the full width of the screen.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • SDP-25108: One or more addresses from Access Point {0} is already registered by another application.

    We create  SOA Project which use  UMS Adapter to notify any  incoming Email
    and i received this issue  in soa server "
    [sdpm/ReceivingQueuesInfo=OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMAppDefRcvQ1, Principal=<ANY>, AppInstanceName=null, Delegate=null, AppName=default/Project2!1.0, ClientVersion=11.1.1.7.0, ClientType=POJO].
    [2014-04-23T22:02:17.619+03:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: UMSAdapter] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/UMSAdapter] [TARGET_TYPE: j2ee_application]  UMS Adapter AccessPoint : [email protected]
    [2014-04-23T22:02:17.624+03:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: UMSAdapter] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/UMSAdapter] [TARGET_TYPE: j2ee_application]  UMS Adapter UmsEndpoint.registerUmsAccessPoints(..) - Error duing registering access points..
    [2014-04-23T22:02:17.625+03:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: UMSAdapter] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/UMSAdapter] [TARGET_TYPE: j2ee_application]  UMS Adapter
    [2014-04-23T22:02:17.627+03:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: UMSAdapter] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/UMSAdapter] [TARGET_TYPE: j2ee_application]  UMS Adapter Error during ums adapter endpoint activation
    [2014-04-23T22:02:17.629+03:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: UMSAdapter] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/UMSAdapter] [TARGET_TYPE: j2ee_application]  UMS Adapter [[
    javax.resource.ResourceException: oracle.sdp.messaging.NoPermissionException: SDP-25108: One or more addresses from Access Point {0} is already registered by another application.
      at oracle.tip.adapter.ums.inbound.UmsEndpoint.registerUmsAccessPoints(UmsEndpoint.java:260)
      at oracle.tip.adapter.ums.inbound.UmsEndpoint.registerApplication(UmsEndpoint.java:104)
      at oracle.tip.adapter.ums.inbound.UmsEndpoint.<init>(UmsEndpoint.java:97)
      at oracle.tip.adapter.ums.inbound.UmsListenerEndpoint.<init>(UmsListenerEndpoint.java:47)
      at oracle.tip.adapter.ums.UmsResourceAdapter.endpointActivation(UmsResourceAdapter.java:201)
      at oracle.integration.platform.blocks.adapter.fw.impl.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:489)
      at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performEndpointActivation(JCAEndpointActivation.java:666)
      at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.activateInboundJcaEndpoint(JCAEndpointActivation.java:649)
      at oracle.integration.platform.blocks.adapter.fw.jca.lifecycle.JCAEndpointActivation.performActivation(JCAEndpointActivation.java:397)
      at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.endpointActivation(AdapterServiceRevisionRegistry.java:593)
      at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.activate(AdapterServiceRevisionRegistry.java:444)
      at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceRevision.setDefaultRevision(AdapterServiceRevisionRegistry.java:409)
      at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeries.setDefaultRevision(AdapterServiceRevisionRegistry.java:334)
      at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry$AdapterServiceSeriesSet.setDefaultRevision(AdapterServiceRevisionRegistry.java:140)
      at oracle.integration.platform.blocks.adapter.fw.metadata.AdapterServiceRevisionRegistry.setDefaultRevision(AdapterServiceRevisionRegistry.java:102)
      at oracle.integration.platform.blocks.adapter.AdapterService.defaultRevisionChanged(AdapterService.java:347)
      at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.notifyDefaultRevisionListeners(StandaloneCompositeDeploymentCoordinatorImpl.java:280)
      at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:77)
      at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:467)
      at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:268)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:203)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:147)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:134)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:100)
      at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:221)
      at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.sdp.messaging.NoPermissionException: SDP-25108: One or more addresses from Access Point {0} is already registered by another application.
      at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
      at oracle.sdpinternal.messaging.storage.MessagingStore_urkbp2_EOImpl_1035_WLStub.registerAccessPoint(Unknown Source)
      at oracle.sdpinternal.messaging.StoreProxyAdapter.registerAccessPoint(StoreProxyAdapter.java:491)
      at oracle.sdpinternal.messaging.MessagingClientImpl.registerAccessPoint(MessagingClientImpl.java:779)
      at oracle.sdpinternal.messaging.MessagingClientImpl.registerAccessPoint(MessagingClientImpl.java:231)
      at oracle.sdpinternal.messaging.MessagingClientBase.registerAccessPoints(MessagingClientBase.java:120)
      at oracle.tip.adapter.ums.inbound.UmsEndpoint.registerUmsAccessPoints(UmsEndpoint.java:253)
      ... 59 more
    [2014-04-23T22:02:17.630+03:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: soa-infra] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] JCABinding=>  Project2 Error while performing endpoint Activation: Unable to create Endpoint.[[
    [2014-04-23T22:02:17.632+03:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [host: sameer-PC] [nwaddr: 10.1.1.101] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000KMFxn974ioy707MaMF1JLnN^00000C,0:1] [APP: soa-infra] [DSID: 0000KMFqsL^FW715zvs1yW1JM0K^000008] [TARGET: /Farm_base_domain/base_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] JCABinding=>  Project2 [[
    Unable to create Endpoint.
    thanks
    Sameer

    The WAP54G's repeater mode essentially sets up the 2nd access point as an extender of the main (root) access point. Since you will be extending the signal, you will need to configure the same wireless settings on both devices. SSIDs, channels, security settings need to be identical. Do set a STATIC IP address for your APs. If your network allows you to use the default IP (192.168.1.245) of the AP, you may set the 2nd unit to have an IP address like 192.168.1.246. The APs need to be in the same network.
    An essential step in setting up the AP to repeater mode is indicating the main AP's wireless MAC address. This will register the main device to the second AP and will get them to communicate. To get this info, you need to:
    1. Login to the main AP's setup page.
    2. Go to Status.
    3. Click on the Wireless subtab.
    4. Retrieve the MAC address indicated.
    Register this info unto the 2nd AP and Save Settings. You may need to reboot the devices to get the connection going. Once the devices are in sync, the client devices should be getting IP addresses assigned by the DHCP server (your DSL modem). To confirm that your setup is operational, you should be able to roam on the network in a location you would not have network access to without the AP on wireless repeater mode.

  • Where should one register a web application directory

    Hi:
    I have created a server domain and server instance for weblogic 8.1. Could someone
    please tell me where I should register the web application directory so that my
    jsp files could be served from this directory or a sub-directory of this web application
    directory?
    Thanks in advance.
    Rino

    Yes, it did work!
    Thanks a lot.
    Rino
    "Deepak Vohra" <[email protected]> wrote:
    >
    Rino,
    Is directory structure of the WebApplication the following?
    user_projects/mydomain/applications/myWebApp/jsp/HelloWorld.jsp
    myWebApp/WEB-INF/web.xml
    myWebApp/WEB-INF/weblogic.xml
    thanks,
    Deepak
    "Rino" <[email protected]> wrote:
    I did put the web application directory "myWebApp" under the "applications"
    folder
    but it still gives me error 404-Not Found.
    The content my my weblogic.xml file is as follows:
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA
    Systems, Inc.//DTD Web Application 8.1//EN"
    "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
    <weblogic-web-app>
    <context-root>myWebApp</context-root>
    </weblogic-web-app>
    Can someone explain me how the applications folder serves the jsp pages?
    And
    also what I may be doing wrong
    Thanks.
    Rino
    "Deepak Vohra" <[email protected]> wrote:
    I created a web application directory "myWebApp" under my weblogichome directory.
    The web application directory "myWebApp" should be under the 'applications'
    directory.
    thanks,
    Deepak
    "Rino" <[email protected]> wrote:
    Thanks for your response. However, I still could not get it to work.
    My weblogic home is "C:\bea\weblogic81"
    I created a web application directory "myWebApp" under my weblogic
    home
    directory.
    I also created a WEB-INF folder under "myWebApp" directory.
    After this I created "weblogic.xml" file under the WEB-INF folder.
    The content of my weblogic.xml file is as follows:
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA
    Systems, Inc.//DTD Web Application 7.0//EN"
    "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
    <weblogic-web-app>
    <context-root>myWebApp</context-root>
    </weblogic-web-app>
    Under my web application folder i.e. "myWebApp" I have a sub-directory
    named jsp.
    In this sub-directory I placed my helloworld.jsp file.
    Now when I try to run my jsp file from the browser as follows.
    http://localhost:port/jsp/helloworld.jsp
    I get an error message "Error 404-Not Found
    Could someone let me know what I am doing wrong here?
    Thanks in advance.
    Rino
    "Deepak Vohra" <[email protected]> wrote:
    The applications directory has a default Web Applications directory,
    DefaultWebApp.
    To specify a Web Applications dir other than the DefaultWebApp dir,specify
    the
    web app dir in
    the context-root element of weblogic.xml deployment descriptor.
    thanks,
    Deepak
    "Rino" <[email protected]> wrote:
    Hi:
    I have created a server domain and server instance for weblogic
    8.1.
    Could someone
    please tell me where I should register the web application directory
    so that my
    jsp files could be served from this directory or a sub-directoryof
    this
    web application
    directory?
    Thanks in advance.
    Rino

  • Registering a partner application with SSO SDK

    Good day
    Since 2 days, I am struggling for the issue of registering a Servlet application as a partner
    application using the SSO Login Server.
    As per the suggested note id 182701.1 in metalink , I implement the following steps :
    - Step A : Create the partner Application Schemas (Succesful & the name of the shemas is : ssopartner)
    - Step B : Load Packages for the partner application (Successful)
    - Step C : Obtain the registration information (Successful)
    - Step D : Run the regapp.sql (successful but they forgot to mention that I should load the
    SSOHash.class )
    - Step E : Compile and Run
    I deploy the application under 9iAS in order to test it.
    I add the ssosdk307.jar the the jserv.properties file.
    I invoke the SSOPartnerServlet java program by entering :
    http://name of the webserver/servlet/SSOPartnerServlet
    I got the message "redirecting to the login server" and I got the
    login page of the SSO Server.
    Once I submit the user/password , I got HTTP 400: Page cannot be
    displayed.
    I check the mod_jserv.log file and find out the following message :
    [08/04/2002 13:54:16:949] (ERROR) ajp12: Servlet Error: POST is not
    supported by this URL
    Could you please advise
    Your prompt feedback is highly appreciated
    regards

    I believe that this is not possible as the mod_osso realizes that the URL is below an URL that you want to protect.
    The only way I see that you can do this is the following modification in the mod_osso.conf:
    <Location /myApp/secure_partA>
    AuthType basic
    Require valid-user
    </Location>
    <Location /myApp/secure_partB>
    AuthType basic
    Require valid-user
    </Location>
    <Location /myApp/secure_partX>
    AuthType basic
    Require valid-user
    </Location>
    So your application /myApp/subApp will not be effected and people can just access this part. However you will have more administration in your mod_osso.conf
    cu
    Andreas

  • Register non web application on SSO

    how can i register non web application ? I have installed app server , oid and was able to sync with active directory. I need to integrate and have a single sign on for all my application . What will be the next step ?

    Thanks Kiran for your prompt response. I dont have any web based application. I have some of the applications where backends are oracle and sybase. How can a provide a single sign on for the application. Once the user enters his user name or password. If he has the prvilege the use multiple apps he dont have to enter username and password for each application. I had syn with windows AD. I have oracle db on unix. I believe i have to sync with EM users for all oracle db. what about sybase ?? how can i have the single sign on . I have OID, IAS installed on a single windows server.
    Yesterda when i restarted the server i got the following error. when i checked the opmnctl status
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    DSA | DSA | N/A | Down
    LogLoader | logloaderd | N/A | Down
    dcm-daemon | dcm-daemon | N/A | Down
    OC4J | OC4J_SECURITY | N/A | Down
    HTTP_Server | HTTP_Server | 2088 | Alive
    OID | OID | N/A | Down
    earlier oc4j_security and OID was alive now only http_server is alive
    when i tried to start the process i get the following errors
    E:\OraHome_1\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=CV2K3TESTAPP02:6200
    1 of 3 processes started.
    ias-instance id=iasrep.cv2k3testapp02.corp.cvpsnet.net
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/OC4J_SECURITY/default_island
    Error
    --> Process (pid=0)
    oid dependency failed
    OID
    failed to start a managed process because a dependency check failed
    Log:
    none
    ias-component/process-type/process-set:
    OID/OID/OID
    Error
    --> Process (pid=0)
    database dependency failed
    iasrep
    failed to start a managed process because a dependency check failed
    Log:
    I would appreciate if anyone could help me

  • Registering a Partner application with Oracle SSO 10gR2

    Hi Everybody
    I'd like to ask a question around registering a partner application with Oracle SSO.
    I have entered my home_url, logout_url and cancel_url e.g. home_url is https://vevopuitest1.co.uk/vevo_test1 and so on for the other fields.
    When I save the details some information is automatically created e.g. Site Id, Site Token etc.
    The bit that I am particularly interested in are the fields Single Sign-On URL and Single Sign-Off URL.
    For my purposes these fields are respectively: https://cwassotest1.co.uk/pls/orasso/orasso.wwsso_app_admin.ls_login and https://cwassotest1.co.uk/pls/orasso/orasso.wwsso_app_admin.ls_logout
    My questions are:
    1. Where do these values come from?
    2. Can I view them anywhere, say, in Oracle Directory Manager or using ldif queries?
    I would like to be able to verify these values.
    Many Thanks
    Andy

    I'm afraid this won't answer your question completely, but AFAIK in principle it does not matter on which machine SSO is running, as long as it passes the user id and credentials properly through the HTTP Header. Even more: in practice it is very common to have SSO running on a different machine than where your app runs.
    So what I would do is find out how to use ADF Faces with SSO. Perhaps someone else can provide pointers on that.
    Jan Kettenis

  • Default signature (the default cursive name) does not display on executed PDF

    When I and my client e-sign a document with our default signatures (the default cursive name), none of our signatures displays on the executed (e-signed by both of us) PDF. However if I and/or client upload an image for our signatures and use it for our profile to e-sign the document, it does show up on the executed PDF.
    The problem is I can’t ask everyone to upload an image of their signatures. The default signature (cursive name should show up on executed PDF. Any idea why it doesn’t or how to fix it?
    Thanks for your help in advance.

    Similar problem. The cursive signature and date stamp appear in Acrobat Pro, but not in Preview. I tried to sign in Preview Document Mode, as suggested elsewhere, and that did not work. This is a preloaded signature I'm working with. It worked on my first attempt when I created the signature. Perhaps that's the only thing that works.

  • On firefox clickable buttons are not clickable for me eg the + to open new tab ,the sign in . register and other applications buttons on this page wont click yet the 2 blue change buttons are fine

    Question
    on firefox clickable buttons are not clickable for me eg the + to open new tab ,the sign in . register and other applications buttons on this page wont click yet the 2 blue change buttons are fine

    Top of Firefox window non-responsive, toolbars non responsive -- also see [http://kb.mozillazine.org/Problematic_extensions Problematic extensions]
    *caused by Yahoo Toolbar -- https://support.mozilla.com/questions/890908
    *caused by Babylon Toolbar -- https://support.mozilla.com/questions/890670

Maybe you are looking for