Access WebDav repository by java...please URGENT

Samebody can help me about the access to the webdav Repository of xmldb oracle by java?
please help me!

Gentlemen,
Thanks for the replies.
I'm glad to hear that normally I shouldn't do anything special when accessing a WebDAV-repository.
I'm currently building a 'debug-environment' so I get more specific error-information.
I will come back..
Maarten
Message was edited by: Maarten
I have found the error:
one of the parameters we used in the coding was 'LOCATION'. We filled this parameter with '/webdav' since we saw that folder in the root when looking in Km content
BUT as the prefix in the WebDAV repository manager we filled '/tst'
that was the reason for a InvalidUriExeception
once we changed our parameter to '/tst' everything works fine!
Kind regards,
Maarten
        Maarten Rutten

Similar Messages

  • User Access to Oracle Business Rules Webdav Repository

    Hi All
    I've done the following steps for to create Webdav repository;After that i have tried to connect Ruleauthor using Webdav repository but got the "Repository not exist" error message.
    1. Create wallet with password "welcome1" saved to specific location
    Ex: D:\oracleSOA\OracleHttp\wallet\rule_wallet
    This created "ewallet" file
    On the "Environment Entry Mappings" screen, the only field I can change is the "Deployed Value" field. I have the following on this screen.
    Name:                walletStorePath
    Type:                Unavailable
    Description:           Wallet Store Location
    Value:               applications/ruleauthor/ruleauthor/WEB-INF/owd
    Deployed Value      D:\oracleSOA\OracleHttp\wallet\rule_wallet\ewallet
    2. Commands to create the password:
    D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -createEntry Dell-3500.blr.scandentgroup.com-80-Talk-u ruleadmin
    Create Wallet:
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -create
    Create Webdav user/pwd
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -createEntry Dell-3500.blr.scandentgroup.com-80-Talk-u ruleadmin
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -createEntry Dell-3500.blr.scandentgroup.com-80-Talk-p welcome1
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -list
    Gives the list for Oracle Secret Store entries:
    Dell-3500.blr.scandentgroup.com-80-Talk-u
    3. Command to create the .htpasswd file.
    D:\OracleSOA\OracleHttp\Apache\Apache\bin>bin\htpasswd -c conf\.htpasswd ruleadmin
    Automatically using MD5 format on Windows.
    New password: welcome1
    Re-type new password: welcome1
    Adding password for user ruleadmin
    4. moddav.conf file.
    <Location /secret_repository>
    DAV on
    AuthType Basic
    AuthName Talk
    AuthUserFile D:\OracleSOAHome\OracleHttp\Apache\Apache\conf\.htpasswd
    Require user ruleadmin
    </Location>
    NOTE:- I have tried to connect my webdave repos URL(http://Dell-3500.blr.xxnetworkgroup.com:80/secret_repository) as webfolder using Internet Explorer.But got the Dont have permission to access "secret_repository" on this server message
    Any help would be greatly appreciated!
    Thanks
    ismail

    Hi All
    I've done the following steps for to create Webdav repository;After that i have tried to connect Ruleauthor using Webdav repository but got the "Repository not exist" error message.
    1. Create wallet with password "welcome1" saved to specific location
    Ex: D:\oracleSOA\OracleHttp\wallet\rule_wallet
    This created "ewallet" file
    On the "Environment Entry Mappings" screen, the only field I can change is the "Deployed Value" field. I have the following on this screen.
    Name:                walletStorePath
    Type:                Unavailable
    Description:           Wallet Store Location
    Value:               applications/ruleauthor/ruleauthor/WEB-INF/owd
    Deployed Value      D:\oracleSOA\OracleHttp\wallet\rule_wallet\ewallet
    2. Commands to create the password:
    D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -createEntry Dell-3500.blr.scandentgroup.com-80-Talk-u ruleadmin
    Create Wallet:
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -create
    Create Webdav user/pwd
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -createEntry Dell-3500.blr.scandentgroup.com-80-Talk-u ruleadmin
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -createEntry Dell-3500.blr.scandentgroup.com-80-Talk-p welcome1
    mkstore -wrl D:\OracleSOAHome\OracleHttp\wallet\rule_wallet -list
    Gives the list for Oracle Secret Store entries:
    Dell-3500.blr.scandentgroup.com-80-Talk-u
    3. Command to create the .htpasswd file.
    D:\OracleSOA\OracleHttp\Apache\Apache\bin>bin\htpasswd -c conf\.htpasswd ruleadmin
    Automatically using MD5 format on Windows.
    New password: welcome1
    Re-type new password: welcome1
    Adding password for user ruleadmin
    4. moddav.conf file.
    <Location /secret_repository>
    DAV on
    AuthType Basic
    AuthName Talk
    AuthUserFile D:\OracleSOAHome\OracleHttp\Apache\Apache\conf\.htpasswd
    Require user ruleadmin
    </Location>
    NOTE:- I have tried to connect my webdave repos URL(http://Dell-3500.blr.xxnetworkgroup.com:80/secret_repository) as webfolder using Internet Explorer.But got the Dont have permission to access "secret_repository" on this server message
    Any help would be greatly appreciated!
    Thanks
    ismail

  • Creating UserName Pwd  for WebDAV Repository Created with HTTPSERVER moddav

    how to create UN/PWD for WebDAV repository for Rules Engine.
    I have created webdav repository in HTTP server using
    C:\product\10.1.3.1\SERVER036\Apache\oradav\conf\moddav.conf
    Currenly I am able to connect to repository using without Username PWD.
    I want to connect to webdav repository using UN/PWD .
    from RuleAuthor as well as rulesSDK.
    how to create authenication system.?
    I am not able to understand from documentation.
    Do we have to use Oracle Wallet.for Auth of WebDAV repo?
    I have created a Wallet which generated pk12 file .
    Where to define Wallet Path location Is it in moddav.conf
    if so please give me the systax to be be added for wallet path.
    Please provide me the steps to create UN PWD for WebDAV repost0iry in HTTPSERVER.
    Also sample code to access the same from rulesSDK.
    Thanks

    Hi Julian,
    I am also having the very similar kind of issue as Naresh.
    Thanks for your positive reply that it is possible.
    I would like to know whether the server URL of the HTTP system is right if it is like "http://someportal.companyname.com:50000/irj/portal". Because if I give this as the server URL, I am not in even able to see the folder(the prefix name which we give during WebDAV repository creation) in the KM Content iView.
    If it is wrong, what is the right format of the server URL to be used in the HTTP system creation?
    I am able to see the folder(the prefix name which we give during WebDAV repository creation) without content if the server URL is like "http://someportal.companyname.com". But I feel this is not right as we are not even specifying the port number as "50000" here.
    And what is the system path to be used during the Repository creation? can that be "/documents"? If so, can all the documents under "/documents" be accessed from the WebDAV repository?
    Your reply will be of great help to me as I am in urgent need of a solution to this problem.
    Thanks & Best regds,
    Alagammai.

  • KM links not functioning through Webdav repository view

    Hi All,
    I have a somewhat complicated setup here which is causing some strange issues.
    We have an EP instance and a BI portal instance setup. Currently we broadcast reports to our BI portal KM instance, and use ICE to replicate the data from BI portal KM to EP KM. This is not the desired end result.
    According to SAP, the end result should consist of using a Webdav repository solution. When users hit the EP KM, specifically the content that is being replicated over currently, they would hit a Webdav repository which points to the BI portal KM, which has an identical KM folder structure. So far this works fine. The problem happens when we create links within the BI portal KM.
    Near the root of the KM structure, we have the main content. We link back to this main content with different permissions on each link. This is done for business reasons.
    When I try to access this linked content from the BI portal KM it works fine. From the EP KM it throws a HTTP 403 not authorized error. I have tried opening up the permissions to everyone on both KM's with no success. When I access the content directly (ie not linked) it works fine (same permissions). Any ideas why the linked content through a webdav repository would throw HTTP 403 errors?
    Kind Regards,
    Richard
    Edit: I should add that we are currently using EP 7.0 EHP1 SP3 highest current patch level and BI 7.0 EHP1 SP3 highest current patch level.
    Edited by: Richard de Gonzague on May 5, 2009 4:33 PM

    Hi,
    I have a similar requirement where in we need to integrate CRM Content Management with SAP KM.Can you please let me know  -
    1. How do I connect it using the Web Dav repository manager. Can you point me to the document.
    2. If you were to resolve the error that is mentioned below. I will have a similar requirement once the WebDav repository manager is configured.
    Thanks,
    Vivek

  • Can a WebDAV repository be created pointing to a folder in the same portal?

    Hi All,
    I am in the process of testing the WebDAV repository feature in our portal(EP6SP9 on windows platform).
    The problem is I do not have another portal with CM running to test this functionality. As the WebDAV repository has to point to another WebDAV server, I am trying to point it to the same portal in which I am creating the WebDAV repository. Is this possible?
    After creating the WebDAV repository, I am able to see the WebDAV folder(the prefix given during the WebDAV repository creation) in the KM area, if the URL name given during the HTTP System creation is like "www.somename.company.com". But I am not able to see any content under this folder. But this URL cannot point to any portal, as the URL name of the portal should have a port number like "www.somename.company.com:50000/irj/portal"
    If I give the proper URL of the portal I am not even able to see the WebDAV folder.
    Any help in this regard will be greatly appreciated, as it is a very urgent requirement for us.
    Best regds,
    Naresh.

    Hi Julian,
    I am also having the very similar kind of issue as Naresh.
    Thanks for your positive reply that it is possible.
    I would like to know whether the server URL of the HTTP system is right if it is like "http://someportal.companyname.com:50000/irj/portal". Because if I give this as the server URL, I am not in even able to see the folder(the prefix name which we give during WebDAV repository creation) in the KM Content iView.
    If it is wrong, what is the right format of the server URL to be used in the HTTP system creation?
    I am able to see the folder(the prefix name which we give during WebDAV repository creation) without content if the server URL is like "http://someportal.companyname.com". But I feel this is not right as we are not even specifying the port number as "50000" here.
    And what is the system path to be used during the Repository creation? can that be "/documents"? If so, can all the documents under "/documents" be accessed from the WebDAV repository?
    Your reply will be of great help to me as I am in urgent need of a solution to this problem.
    Thanks & Best regds,
    Alagammai.

  • WIndows File Repository Vs WebDAV Repository

    Hi,
    Colud you please let me know what s the difference between 
    windows file repository and webDAV repository .
    Thanks in Advance,
    Ashok

    Hi Ravi,
    if you want to integrate a Windows File Server, the file system repository is the easiest way to implement this.
    Here you can use the W2KSecurity Manager to manage the access rights.
    But all Users have to do an User Mapping in the Portal. That means that they have to save their username and password in the portal before they can access the files. If the password for the file server has to be changed periodically, this method is not very user-friendly.
    if you have a WebDAV Server, you could use the WebDAV Repository to connect to this server. In this case you can use the kerberos module to install a really Single Sign-On.
    For more information see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1f93f5c-0301-0010-5c83-9681791f78ec
    Regards
    Sven

  • Error while trying to access a Repository Item thru ACC

    Hi,
    I was trying to access a Repository Item from ACC , I am getting this following error :
    Error reading list or array index from the database. This means the database table holding this property does not have sequential integers starting with 0 in its multi-column. This should only happen if the database table was modified directly (outside of Dynamo).
    java.lang.Exception
      at atg.adapter.gsa.ListTable.loadHelper(ListTable.java:190)
      at atg.adapter.gsa.ListTable.loadProperties(ListTable.java:97)
      at atg.adapter.gsa.GSAItemDescriptor.loadProperties(GSAItemDescriptor.java:5874)
      at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:5986)
      at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:1339)
      at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1232)
      at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1510)
      at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:151)
      at atg.repository.nucleus.RepositoryItemPropertyMapper.getPropertyValue(RepositoryItemPropertyMapper.java:151)
      at atg.beans.DynamicBeans.getPropertyValue(DynamicBeans.java:333)
      at atg.beans.DynamicBeanState.initializeFrom(DynamicBeanState.java:152)
      at atg.beans.DynamicBeanState.<init>(DynamicBeanState.java:122)
      at atg.ui.repository.model.RepositoryItemState.<init>(RepositoryItemState.java:428)
      at atg.ui.repository.model.RepositoryAgentImpl.createRepositoryItemState(RepositoryAgentImpl.java:2934)
      at atg.ui.repository.model.RepositoryAgentImpl.getRepositoryItem(RepositoryAgentImpl.java:3901)
      at atg.ui.repository.model.RepositoryAgentImpl.getRepositoryItem(RepositoryAgentImpl.java:1225)
      at atg.ui.repository.model.RepositoryAgentImpl.getCompressedRepositoryItem(RepositoryAgentImpl.java:1251)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:273)
      at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:127)
      at sun.reflect.GeneratedMethodAccessor401.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
      at sun.rmi.transport.Transport$1.run(Transport.java:159)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:662)

    Got corrected with changing data-type for a property in the definition file.

  • WebDav Repository - MS Sharepoint Integration

    Hi Everybody,
    I'm trying to apply the things I read in the article "Interoperability between SAP Enterprise Portal 6.0 and Windows SharePoint Services" (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e891378-0601-0010-5386-a3387f1b161b).
    It's about configuring WebDav repositories to access HTTP Systems. I'm trying to acces documents stored in MS Sharepoint.
    I'm having a problem with security.
    The IViews I use to access the WebDav repository I defined are working well and showing the content stored in MS Sharepoint.
    My problem is that those IViews are showing the info with the privileges granted to the user I've used to define the HTTP System.
    In that config screen, there's a checkbox that says "Same user domain". Its hint says that if it is checked, the credentials of the logged user would be forwarded to the http server, but this is not happening.
    I'm logging on to SAP Portal with an user that has no permissions in Sharepoint and i'm still seeing the documents and I can even upload new documents.
    Can anybody help me?
    Thanks in advance, Fede.

    Hi all,
    the WSS WebDAV Connector (aka "SharePoint WebDAV Connector, SWC) was released some days ago and a new Interoperability Section on Microsoft-sap.com is now live.
    See http://www.microsoft-sap.com/technology.aspx --> SAP Enterprise Portal (EP) for the WSS WebDAV Connector.
    In the SWC documentation there are some hints for the configuration of the security requirements / authentication types which should be helpful for your problem.
    Kind regards,
    Robert Draken, Comma Soft AG.

  • WebDav Repository Manager Disappears???

    Hello,
    I am seeing some strange behavior with an IIS WebDAV based KM WebDAV repository manager I created. I used the following as a basis for my setup.
    http://help.sap.com/saphelp_nw04/helpdata/en/4a/217fb6c33c6748a1715a161ac942cd/frameset.htm
    I created the memory cache, CM HTTP System, a portal system aliased with the same ID as the CM system, and finally the WebDAV Repository manager. If further setting detail is needed I can send that. The repository worked on Friday. It is not there today. This has happened twice. When I drill down into Content Administration > KM Content>root > runtime > Repository Managers... > IISWD > servers I am presented with "hostname". When I select Details>Properties>Miscellaneous tab I see failures.
    Example:
    last-failure-1:   2007-07-16T20:12:14Z: PROPFIND /ExternalPortal: com.sapportals.wcm.WcmException: sending request to: http://hostname/ request uri: /ExternalPortal unable to connect to hostname: unknown host: hostname (java.net.UnknownHostException: hostname)
    All of the required KM objects mentioned before are still present and configured as they were a few days ago. Is my repository loosing it's reference to the CM HTTP System.? Has anyone seen this before?
    Thanks,
    Doug

    Hi Doug
    I believe the problem is that your HTTP System in the portal cannot see the share you are trying to integrate into the potal. Is it a webdav-share set up using an IIS?
    I have tried to implement the WebDAV/SSO solution where we got the same error for no reason. But after installing some different hotfixes (http://support.microsoft.com/default.aspx?scid=kb;en-us;893246, eg) and changing server to a standalone IIS, the error didn't occur any more.
    Hope that can give you some ideas.
    Kind regards,
    Martin

  • Want to access RESTful Services through Java Program

    We are trying to access RESTful Services exposed by Oracle database cloud through our Java code, with authentication enabled for a particular user.
    Till now, we have completed below steps:
    1) We have a working account with Oracle database cloud (Username – xxx.xxx)
    2) We log in using the credentials for above account, and navigate to Oracle Apex ? SQL Workshop ? RESTful Services
    3) We create a new “RESTful Service Module” by filling out the details as below:
         Name:                                  SampleTest 
         URI Prefix:                            test
         URI Template:                       /getallemp
         Pagination Size:                    25 (kept to default)
         Required Privilege:                 TestGroupPrivilege
         Resource Handler Details:
                    Method:              GET
                    Source Type:      Query
                    Format:               JSON
                    Source:               select * from emp
    After creating the above module and testing it, it works fine and the data is retrieved in JSON successfully.
    The resulting URL for above RESTful Service Module is: https://<HOST_URL>/apex/test/getallemp
    Note that “TestGroupPrivilege” is a privilege assigned to the user group “RESTful Services” and the user “xxx.xxx” is a member of “RESTful Services” user group.
    4) We are unable to call the RESTful services from Java program. We are passing username and password in request header as basic authentication. But, we are getting: Error 500--Internal Server Error
    5) If we change the “Required Privilege” to default i.e. no privileges present on the module, we can get the response through Java code and everything works perfectly fine.
    Please suggest us in: How to access RESTful Services through Java code by passing user credentials in HTTP header for authentication. Also let us know if we have to do any settings through Apex, in case we are missing any.
    Message was edited by: NeerajGirolkar
    - When we are logging in to Oracle cloud on browser and execute the Oracle cloud RESTful service in another tab of same browser, we are able to get the result. But when executed the same RESTful service from a different browser or java program we get internal server error.
    - After investigation, we found that when user logs in to oracle database cloud, a cookie is set in browser with name s “OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443” and value as some random token. This cookie is passed in the subsequent requests to the RESTful Service calls when using same browser and as a result, we are able to get the results
    - In the Java program, we copied the same cookie with random token in the HTTP Request header and we got the proper response from REST APIs.
    - It seems that this cookie is created by an Oracle Middleware tool/server called as OAM – Oracle Accounts Manager, which sends the authentication token after successful authentication and creates the cookie.
    - We found that the cookie that OAM creates on authentication is exactly in the same format i.e. ‘OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443’. So, we are guessing that Oracle cloud uses OAM for authentication. Please refer to following link for same : http://docs.oracle.com/cd/E14571_01/doc.1111/e15478/sso.htm
    Can anyone please suggest:
    1.     How to provide authentication to Oracle Cloud REST APIs from java program?
    2.     How to pass the username and password in Java code to OAM (or how to communicate with OAM using Java) so that we can receive the unique token from OAM. We can use the token in the further requests? 3.     Also in Oracle cloud white papers , it is mentioned that they support OAuth2.0. But we didn’t find any URLs for same. Can anyone please confirm?
    Thanks
    ~ Neeraj Girolkar

    Hi Nilesh,
    We tried to connect to Oracle Cloud Database using the way you suggested above, but unfortunately it is not working as well.
    Can you let us know the authentication process with Oracle Cloud Database? We found in documentation that it uses OAM (Oracle Access Manager) for authentication. Can you tell us a bit about that? That will be extremely helpful.
    Thanks,
    - Neeraj

  • WebDav-Repository "root"

    Hello,
    i have create a webdav-repository with follow configuration:
    Prefix: /ad_cp
    System_Path: reference to the root directory in the target system (/irj/servlet/prt/portal/prtroot/com.rs.pct.ep.km._._.parf.webdav.docs)
    Now in the source system the webdav repository  not indicated as "/ad_cp" but as "root".
    which configuration must I make thereby repository is correctly indicated.
    Thanks for your help!

    Hi Martina,
    The portal UI does not display the actual resource names, but instead it does show the value of the displayName property. At least, if this is present.
    And the WebDav RM, naturally, does reflect all properties of the referenced remote resources locally.
    So in your situation the remote target has the displayName property "root" and this overlaps the configured prefix name.
    Note: This only applies to the portal html UI. If you access your portal via WebDav then you'll see the expected prefixes.
    Best regards,
    Michael

  • WebDAV repository to Content Server

    Hi all,
    I have a problem. We have some data in a content server, and would like to create a repository to allow users to read the file on this content server. SAP says it is posible to technically posible to connect to the content server via webdav, but I can't find how to do it. If I make a connection to the IIS I only get the files in the home directory of the content server website, that is som dlls. If I make a webdav connection to the database I only get a connection to a system webdav table that have nothing, and can't configure the table to use the content server tables.
    Any idea on how to solve this? Can't use the DMS connector in this case, because we use archivelink.
    Thanks in advance,
    Gregori Coll Ingles.

    Hi Gregori
           You can configure your content server data as file repository. You can refer this link for the
    configuration of file repository.
    http://help.sap.com/saphelp_nw04/helpdata/en/4c/9d953fc405330ee10000000a114084/frameset.htm
           Or if you want to do it using IIS Server. You have to
    1) Creat one virtula directory under your default website.
    2) Apply your data folder as the Web Site Content Directory for that virtual directory.
           For eg. you have created the virtual directory named 'Content' then you can access your web site as
    http://website/Content.( website= yours website ip or name)
    3) Give the same path as above in 'http system' which you have created for the WebDAV repository.
            Hope this will help you.
    Prasad

  • Java Developers Urgently Required-Guildford UK -up to 45,000 per annum

    Permanent Java Developer urgently required for a leading pre-press work flow software house.
    We need developers with the following skills:
    Java J2EE
    JSF OR Spring OR Struts
    JSP Servlets / Swing
    JDBC SQL
    JDOM / HTML / JavaScript / CSS / XML / XSL / DTD / XPATH
    Desktop: Windows XP
    Eclipse3 / CVS
    Basic UML
    These skills are an advantage.
    C++/Perl/AJAX
    Parking, excellent working hours and an immediate start available for the right candidate.
    Please Contact:
    Kelly Riddell
    01483 300515
    [email protected]

    I think that it is something wrong with kernel and graphic drivers but i'm not able to solve it from the beginning of using of Arch by me.
    I'm not so sure this issue is software-related only because in my case it seems the laptop screen enters power-saving mode (10-min timeout) on its own without any events logged (as shown by dmesg) so my next thought was OK, I'm going to get rid of this issue disabling the screen power-saving timeout in the BIOS and set it to never power down or something like that and from then on managing power mode manually; ie: when I want to power down I will just use systemctl suspend/hibernate which work fine ... problem is: there are no related options in my BIOS for such timeout.
    The only timeouts I have are in /etc/systemd/logind.conf set to 30min (#IdleActionSec) (commented) by default so these are not in effect because the screens goes blank after 10m which is less than the (default) 30m in logind. Maybe setting loggind to 9m (un-commented) to catch the event before the machine-default one ?
    IdleActionSec=9min
    IdleAction=suspend
    Will check it and report back.

  • Convert C++ prog into Java( I m new in java)help urgent

    hi all,
    i am very new in java. i have code of C++.i have to convert it in to Java.please help me on urgent basis.plz provide me solution.
    I am looking for positive response.code is below:
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include <sys/stat.h>
    #include <fstream.h>
    #include <iostream.h>
    //#include <sha.h> //24112003
    //#include<wincrypt.h>
    char ntc(unsigned char n){
    if (n<26) return 'A'+n;
    if (n<52) return 'a'-26+n;
    if (n<62) return '0'-52+n;
    if (n==62) return '+';
    if (n==63)return '/';
    unsigned char ctn(char c){
    if (c=='/') return 63;
    if (c=='+') return 62;
    if ((c>='A')&&(c<='Z')) return c-'A';
    if ((c>='a')&&(c<='z')) return c-'a'+26;
    if ((c>='0')&&(c<='9')) return c-'0'+52;
    if (c=='~') return 80;
    return 100;
    int b64decode(char from,char to,int length){
    unsigned char c,d,e,f;
    char A,B,C;
    int i;
    int add;
    char *tot=to;
    for (i=0;i+3<length;){
    add=0;
    A=B=C=0;
    c=d=e=f=100;
    while ((c==100)&&(i<length)) c=ctn(from[i++]);
    while ((d==100)&&(i<length)) d=ctn(from[i++]);
    while ((e==100)&&(i<length)) e=ctn(from[i++]);
    while ((f==100)&&(i<length)) f=ctn(from[i++]);
    //if (f==100) return -1; /* Not valid end */
    if (c<64) {
    A+=c*4;
    if (d<64) {
    A+=d/16;
    B+=d*16;
    if (e<64) {
    B+=e/4;
    C+=e*64;
    if (f<64) {
    C+=f;
    to[2]=C;
    add+=1;
    to[1]=B;
    add+=1;
    to[0]=A;
    add+=1;
    to+=add;
    if (f==80) return to-tot; /* end because '=' encountered */
    return to-tot;
    int b64get_encode_buffer_size(int l,int q){
    int ret;
    ret = (l/3)*4;
    if (l%3!=0) ret +=4;
    if (q!=0){
    ret += (ret/(q*4));
    /* if (ret%(q/4)!=0) ret ++; */ /* Add space for trailing \n */
    return ret;
    int b64strip_encoded_buffer(char *buf,int length){
    int i;
    int ret=0;
    for (i=0;i<length;i++) if (ctn(buf)!=100) buf[ret++] = buf [i];
    return ret;
    int b64encode(char from,char to,int length,int quads){
    // 3 8bit numbers become four characters
    int i =0;
    char *tot=to;
    int qc=0; // Quadcount
    unsigned char c;
    unsigned char d;
    while(i<length){
    c=from[i];
    *to++=ntc(c/4);
    c=c*64;
    i++;
    if (i>=length) {
    *to++=ntc(c/4);
    *to++='~';
    *to++='~';
    break;
    d=from[i];
    *to++=ntc(c/4+d/16);
    d=d*16;
    i++;
    if (i>=length) {
    *to++=ntc(d/4);
    *to++='~';
    break;
    c=from[i];
    *to++=ntc(d/4+c/64);
    c=c*4;
    i++;
    *to++=ntc(c/4);
    qc++; /* qz will never be zero, quads = 0 means no linebreaks */
    if (qc==quads){
    *to++='\n';
    qc=0;
    /* if ((quads!=0)&&(qc!=0)) to++='\n'; / /* Insert last linebreak */
    return to-tot;
    char* mEncryptPassword(char* mPassword)
    char mEncryptedPassword[200]; // To hold encrypted password.
    //char* mEncryptedPassword = new char[200];
    char mPrimEncryptedPassword[200];
    char * temp = new char[200];
    //unsigned char* md; // 19122003
    //md = new unsigned char[100]; // 19122003
    memset(mEncryptedPassword, '\0', sizeof(mEncryptedPassword));
    memset(mPrimEncryptedPassword, '\0', sizeof(mPrimEncryptedPassword));
    strcpy(mPrimEncryptedPassword, mPassword);
    //strcpy(mPrimEncryptedPassword, (char*) SHA1((unsigned char*) mPassword, strlen(mPassword), NULL));
    //strcpy(mEncryptedPassword, (char*) SHA((unsigned char*) mPassword, strlen(mPassword), md)); // 19122003
    //strcpy(mEncryptedPassword, (char*) SHA((unsigned char*) mPassword, strlen(mPassword), md)); //19122003
    b64encode(mPrimEncryptedPassword, mEncryptedPassword, strlen(mPrimEncryptedPassword), 0);
    // If successfully encrypts..
    if (mEncryptedPassword != NULL)
    //char * temp = new char[strlen(mEncryptedPassword)+1];
    strcpy(temp,mEncryptedPassword);
    // strcpy(mRetVal,mEncryptedPassword);
    return (char*)temp;
    //return (mEncryptedPassword);
    //return (char*) md; // 19122003
    else
    return ("Error");
    char* mDecryptPassword(char* mPassword)
    char mDecryptedPassword[200]; // To hold decrypted password.
    char mPrimDecryptedPassword[200];
    char * temp = new char[200];
    // 02032007
    memset(mDecryptedPassword, '\0', sizeof(mDecryptedPassword));
    memset(mPrimDecryptedPassword, '\0', 200);
    strcpy(mPrimDecryptedPassword, mPassword);
    b64decode(mPrimDecryptedPassword, mDecryptedPassword, strlen(mPrimDecryptedPassword));
    // If successfully decrypts..
    if (mDecryptedPassword != NULL)
    //char * temp = new char[strlen(mEncryptedPassword)+1];
    strcpy(temp,mDecryptedPassword);
    // strcpy(mRetVal,mDecryptedPassword);
    return (char*)temp;
    //return (mEncryptedPassword);
    //return (char*) md; // 19122003
    else
    return ("Error");
    void main(int argc, char* argv[])
    cout << mEncryptPassword(argv[1])<<endl<<flush;
    cout << mDecryptPassword(mEncryptPassword(argv[1]))<<endl<<flush;
    Anubhav

    endasil wrote:
    I just thought of how ridiculous this would sound in any other profession:
    Surgeons:
    plz plz help I have patient dying need to insert new kidney into 90yr old patient plz someone come do itLawyers:
    Help client guilty need good defense (I m new in law)help urgentHow come we get stuck with the lazy low-lifes?Because there's no legal requirement that a software developer must be licensed

  • Low level events please URGENT

    hello
    please i have some problem with low level events.please anybody have some solution so please tell me
    basically any language such as c/c++ events are captured by operating system and then focusing on the particular component such as window or textbox etc.
    is there any bypass mechanism in java that we get the lovel level events from any operating system and all to do something.
    please Urgently reply me so that i can try for it, i have some work to do with this stuff.
    thanx in advance
    [email protected]

    You can already get mouse clicks, mouse motions, key presses... what other "low-level" events are you interested in?

Maybe you are looking for