Workflow intergration with Java

Dear All,
I have the requirement in which I have to integrate the workflow with Java.
The scenario is like the person want to trigger the workflow from web or mobile device , and want to do all the relevant things related to workflow like approval rejection through web or mobile device.
Is this possible. If yes then how , how we can get the action user done on the web or mobile device.
Do i have to make any RFC or BAPI for this?
Kindly help and give suggestion to achieve this.
Thanks in advance.
Regards,
Rachit Khanna

Hi Chandra,
As mentioned in the doc, I am looking for the below node which is not there in my system.
From my system:
I think the reason might be same for not having the node here in SPRO and not having the WF standard services(WFSERVICE andWFHUBSERVICE).
By the way the package is there.
Thanks & Regards,
Hafizul

Similar Messages

  • Outlook intergration with Java

    Im building a application that was orginaly intended to contain a mail client, but why reinvent the wheel right ?
    Is anyone familliar how to add funcionality to outlook ?
    I cannot seem to find information on intergration with a java program.
    Before I get a pile of retorts that I should not do this with java. I never made the decision, that came from above.
    Specificly I need to add a menu item, and an option included whenever a user rightclicks on an email.
    And vice versa I need to be able to open Outlook and jump to a specific email.
    Does anyone know where information can be found to add functionality to Outlook ? Ive been snooping around but have not found much.

    Im building a application that was orginaly intended
    to contain a mail client, but why reinvent the wheel
    right ?
    Is anyone familliar how to add funcionality to outlook
    I cannot seem to find information on intergration with
    a java program.
    Before I get a pile of retorts that I should not do
    this with java. I never made the decision, that came
    from above.
    Well, maybe you need to learn to be candid with your management. Optimism is one thing, Stupidity (theirs, not yours) is another. If it is practical and feasible to solve a problem with their requirements, be optimistic and do it. If their suggestion clearly shows a lack of engineering knowledge, politely suggest that you use the right tool for the job (which is NOT java).

  • SAP workflow with java

    Hello , i new to SAP systems with Java Language.
    I need help for starting a workflow in sap using java language specially how to pass the TASK parameter like WS97xxxxx…

    This is not a SAP forum. Even if it were a SAP forum, you're not even asking any kind of question!

  • How to upgrade Forms 11gR2 to use JAVA 7 after it was installed with JAVA 6

    I recently installed Forms 11gR2 on a development server.  We are trying to have the latest versions of everything to migrate from Forms 10g and assure we have support for the next few years.
    Our platform has the following software configuration:
    Solaris 10 (Update 19) SPARC 64 bits
    Weblogic 11g (10.3.6) that was installed with Java JDK 1.6.0_38
    Forms 11g R2 (11.1.2.1) that was also installed with
    Java JDK 1.6.0_38
    I tried to install Weblogic and Forms using the latest Java 7 JDK (1.7.0_25) but I got an error in the final steps of Forms setup, when I was configuring the domain.  I searched online and found a couple of tips but nothing worked.  The installation was stuck at the
    Creating Weblogic Domain step.  So I decided to try the installation process with the Java 6 JDK that we are using right now for Forms 10g, and it worked perfectly.  I have now two options but I don't know which one might be the better path:
    Uninstall Weblogic and Forms 11g completely, and try to re-install them again with Java 7, trying to fix the error that I got at the end of the configuration process.
    Try to upgrade the current Forms 11g installation from Java 6 to Java 7.  I found a blog that might suggest it is possible, but I don't know if it may cause additional issues along the road. http://pitss.com/us/2013/02/20/how-to-use-java-7-with-oracle-forms-11g-in-an-oracle-supported-environment/
    Thanks in advance for any suggestions you might have, or if any of you has experience installing Forms 11gR2 with Java 7 it might be great to know how to fix this error.  It might be worth mentioning that when I installed Forms and Weblogic with Java 6 I used exactly the same values, ports, options and paths.  The error appears like this in the installation logs and the process hangs there:
    XXX: adding task: oracle.as.install.classic.ca.standard.DomainProvisioningTask
      AdminServer port is 7001
      trying to connect to admuxas09.adminsrvad.sa.gov.au 7001
      Creating Weblogic Domain.
    oracle.as.provisioning.exception.ASProvWorkflowException
            at oracle.as.provisioning.weblogic.ASDomain._createDomain(ASDomain.java:2958)
            at oracle.as.provisioning.weblogic.ASDomain.createDomain(ASDomain.java:2476)
            at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:633)
            at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
            at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
            at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
            at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
            at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
            at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
            at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
            at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
            at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
            at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
            at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
            at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
            at java.lang.Thread.run(Thread.java:662)
    oracle.as.provisioning.exception.ASProvisioningException
            at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
            at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
            at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
            at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
            at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
            at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
            at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
            at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
            at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
            at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
            at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
            at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:686)
            at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
            at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
            ... 13 more
    Cheers,
    Ivan Neva
    Oracle DBA

    Well if I got it to work with java 6 I'd leave it alone, to say the least. The elephant in the room is the certification matrix.
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html
    there's 2 issues, what jdk does forms on the server want? Bigger question, what JRE is acceptable on the client?
    You would surely want the jre to be 7 on the client. Regarding the jdk on the server, you could leave it as is IMHO.
    Note that there was a patch to 11gr2. In conclusion, be sure to check the cert matrix regarding what is certified for the jdk for the server.
    I think the matrices are saying that if you have forms 11.1.2.1.0 that you can use the jdk 7. but like I said the big issue is what can the client use?
    As I read the matrix I think it is saying you have to have 11.1.2.1.0 to use the jre 7 on the client.
    So I would say if you have 11.1.2.1.0 on the server you are good because it's not a problem to have the jdk 6 on the server, if not you have to apply the patch in order to enable the jre 7 on the client.

  • Help/Tutorial on Using Xpress with Java

    Hi forum:
    Can anyone point me to a tutorial or article on how to use Java method from Xpress (in NetBeans).
    I have created a java class in the 'Custom Java' folder for the IDM prodject in Netbeans - I am not terribly sure what next steps to take.

    Yes..The sun documentation does seem to be written in such a way to try and impress rather than to inform.
    But...
    XPRESS and Java, you only got one or two options.. as the previous guy said.. look at the Workflow, Forms and Views docu. There is a section called Java and Javascript expressions in the XPRESS language section.
    I guess the <invoke> is the most commonly used XPRESS command with java. You invoke a method of a class.
    The trick is figuring out how to introduce your new class into the IDM environment so that your XPRESS can find it.. and then call the method via the XPRESS invoke.
    Typically, you create a .jar of your custom classes, drop this .jar into $WSHOME/WEB-INF/lib and restart your App server.
    Do a search of the forums for "custom classes"
    I totally agree with you that SUN documentation is a perfect example of the 80/20 law.

  • FTP workflow hangs with OWB 11gR2

    Hi,
    i created a workflow process in OWB, the purpose is using "ftp" commands to execute "dir" command but it's not working.
    i configured my "ftp" in workflow process with the folowing parameters
    ===============
    1:COMMAND : /usr/bin/ftp
    2:PARAMETER_LIST: ?-v?
    3:SUCCESS_THRESHOLD: 0
    4:SCRIPT :
    open ${Remote.Host}
    user oracle ensias
    lcd ${Working.RootPath}
    cd ${Remote.RootPath}
    dir
    quit
    ===============
    at the same time ,i created two locations in FILE LOCATION node with the names:"LOCAL","SERVER", Then configured the workflow process
    remote location: SERVER
    working location: LOCAL
    ===============
    & i changed the folowing values in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.FTP.security_constraint = DISABLED
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = DISABLED
    property.RuntimePlatform.0.NativeExecution.SQLPlus.security_constraint = DISABLED
    property.RuntimePlatform.0.NativeExecution.OMBPlus.security_constraint = DISABLED
    to
    property.RuntimePlatform.0.NativeExecution.FTP.security_constraint = NATIVE_JAVA
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    property.RuntimePlatform.0.NativeExecution.SQLPlus.security_constraint = NATIVE_JAVA
    property.RuntimePlatform.0.NativeExecution.OMBPlus.security_constraint = NATIVE_JAVA
    ===============
    but when i press Start it just keeps running without any result
    i also disabled my firewall
    Any ideas what's wrong?
    Thanks in advance.
    ===============
    My conf:
    OS : CentOS 6
    JAVA: version 7 (build 1.7.0-b147)
    Oracle Database 11g Release 2
    OWB integreated with the oracle databse
    Edited by: 882372 on 30 août 2011 06:16

    sorry for the delay but it's because of the holly-days
    I'm using OWB and a local server (vsftpd) for testing purposes and yes i restarted my computer after editing the file, i even tried to change the values in my script but with no results, i started to think that the script is not the issue, i configured OWB according to its official documentation & I'm a little confused...
    here's the content of my log file after pressing the start button:
    ==================================
    2011/08/25-15:50:53-WET [1F436F5][] Explicit garbage collection - requested
    2011/08/25-15:50:53-WET [1F436F5][] AuditId=1193: Processing execute request
    2011/08/25-15:50:53-WET [1F436F5][] Free Memory(bytes)=20834776 Total Memory(bytes)=24051712 Used Memory(bytes)=3216936 Used Memory(percent)=14%
    2011/08/25-15:50:53-WET [163F7A1][] Thin driver connection time - 42 millisecond(s)
    2011/08/25-15:50:53-WET [163F7A1][ORACLE_OWNER.ORACLE_WORKSPACE] Initializing execution for auditId= 1193 parentAuditId= null topLevelAuditId=1193 taskName=PROCESS_FLOW_1
    2011/08/25-15:50:54-WET [163F7A1][ORACLE_OWNER.ORACLE_WORKSPACE] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2011/08/25-15:50:54-WET [163F7A1][ORACLE_OWNER.ORACLE_WORKSPACE] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    2011/08/25-15:50:54-WET [163F7A1][ORACLE_OWNER.ORACLE_WORKSPACE] Thin driver connection time - 49 millisecond(s)
    2011/08/25-15:50:54-WET [163F7A1][ORACLE_OWNER.ORACLE_WORKSPACE] Workflow equivalent DB Java Encoding = WINDOWS-1252
    2011/08/25-15:50:54-WET [1F436F5][] Explicit garbage collection - requested
    2011/08/25-15:50:54-WET [1F436F5][] AuditId=1198: Processing execute request
    2011/08/25-15:50:54-WET [1F436F5][] Free Memory(bytes)=21648616 Total Memory(bytes)=26869760 Used Memory(bytes)=5221144 Used Memory(percent)=20%
    2011/08/25-15:50:54-WET [14D1D41][] Thin driver connection time - 45 millisecond(s)
    2011/08/25-15:50:54-WET [14D1D41][ORACLE_OWNER.ORACLE_WORKSPACE] Initializing execution for auditId= 1198 parentAuditId= 1193 topLevelAuditId=1193 taskName=PROCESS_FLOW_1:FTP
    2011/08/25-15:50:55-WET [14D1D41][ORACLE_OWNER.ORACLE_WORKSPACE] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2011/08/25-15:50:55-WET [14D1D41][ORACLE_OWNER.ORACLE_WORKSPACE] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.FTP'
    ==================================
    you can notice that it contains NO error & it stops when "Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.FTP'"
    so, any help ?

  • Cisco Call Manager intergration with Active Directory

    We have Cisco Voip which is currently not intergrated with AD. The data (users) in Call Manager have not been updated, (ie if someone left the organisation the ICT department were never told and the new starter took over) I have been asked to intergrate this with active directory and then look in ad and resolve any discrepancies. Has anyone ever completed something similar. Any advise or imput would be gratefully appreicated. Thank You

    Just make sure all the users you want to keep in CUCM are in AD and use the exact same userID or whatever field you'll use for the integration. Those users will just be updated with the AD info and any dependencies they have in CUCM will be there.
    Users that do not have a matching ID in AD will be deleted.
    HTH
    java
    If this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • Failed to load value at index 22 with java object of type java.lang.String

    Hi all,
    As i am trying to open the notifications created from Administartor Workflow ,
    It throws a below error::
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 22 with java object of type java.lang.String due to java.sql.SQLException. at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720) at oracle.apps.ap.oie.workflow.apexp.webui.NotifExpLinesCO.processRequest(NotifExpLinesCO.java:116) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.process
    java.sql.SQLException: Invalid column index
    at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:1042) at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1198) at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1633) at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java:2221).
    No extensions done in the page
    Please let me know the cause for this error ASAP
    Thanks
    Kash

    Problem solved. set the datatype as timestamp for that attribute in buissiness object.

  • Installing Workflow Notification with Gmail as email server...IMAP4

    I'm trying to install notification for Workflow and instructions say to use an IMAP4 type of mail server connection, not just IMAP. This is all through the Oracle Application Manager web interface.
    We use a special type of Gmail hosting for our company email and I've tried all kinds of combinations of server naming but the Workflow Notification service never succeeds in connecting and then the server never starts up.
    Has anyone succeeded in using Gmail for an IMAP4 type incoming email system?
    I do have an option to use MS Exchange and may try that if easier...any problems with setting up MS Exchange with Workflow Notification?

    Oracle Workflow supports IMAP version 4 (IMAP4) compliant mail servers.
    Note: 231286.1 - Configuring the Oracle Workflow 2.6 Java-based Notification Mailer with Oracle Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=231286.1
    Note: 268085.1 - Configuring the Oracle Workflow 2.6/11i.OWF.H Java-based Notification Mailer with Oracle Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=268085.1
    Note: 249957.1 - Example Of Configuring Workflow Java Notification Mailer With Oracle Applications 11.5.x
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=249957.1
    What is the error you are getting? Did you try to run "Workflow Java Mailer Setup Test" and see if it reports any errors?
    Note: 274764.1 - Oracle Workflow Cartridge Workflow Java Mailer Setup Test
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=274764.1
    I do have an option to use MS Exchange and may try that if easier...any problems with setting up MS Exchange with Workflow Notification?We have MS Exchange configured with no issues.

  • Executing Workflow Task through JAVA APIs

    Hi,
    I'm able to send the workflow task to the next step with JAVA APIs.
    The problem comes here if I try to log in into MDM through IConnectorGatewayService.
    If I get a connection to MDM through CatalogData's login method, everything works fine, task is getting executed properly. But, if I try to run the same code where I get the connection through IConnectorGatewayService, the same code doesn't work.
    Surprisingly, there is no problem in retrieving data from MDM while connecting with ConnectorGatewayService.
    Please do let me know if I need to specify some parameters while getting the connection with IConnectorGatewayService so that I can change the workflow task status.
    Thanks and Regards,
    Mausam

    Hi Mausam
    Please go through this document u will get the solution
    https://help.sap.com/javadocs/MDM/current/index.html
    https://help.sap.com/javadocs/MDM/current/index.html
    I think it may help you
    Regards
    Hari

  • XSLT Mapping with Java class not working in Integration Repository

    Hi,
    I have an XSLT mapping program with Java enhancement and I was able to successfully tested it in Stylus Studio. However, when I imported the Java class and the xslt program in Enterprise Service Builder and tested it, my program does not compile.
    Here is the error message: "Transformer Configuration Exception occurred when loading XSLT mapping_temp.xsl; details: Could not compile stylesheet".
    My java program is in a zip file containing SOAPHeaderHandler.java and SOAPHeaderhandler.class. My Java has a package com.nga.xslt.
    Here is the declaration of my Java class in the XSLT: xmlns:javamap="java:com.nga.xslt.SOAPHeaderHandler"
    It seems that it could not read the java class. Can you please advice what is wrong?

    Hi ,
    select XMLTOOLKIT option in Operation mapping and execute it.
    I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
    then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
    Regards,
    Raj

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Problem with java installation on Linux

    HI ,
    I am trying to install jdk on Linux..I am new to java and Linux both. I am trying to download the file for the linux installation onto my home PC(windows XP) and then ftp it to my Linux machine. I need to do this because I have a remote login to my Linux machine( a server at school). However when I try to download file my IE jsut crashes. I can see the page for accepting the Agreement but when I click on Accept the next page just stops responding.
    Could someone explain why this is happening.
    thanks,
    G.

    The problem doesn't have to do anything with Java or Linux as far as i can see. It's more likely a problem with Windows XP and IE. Be assured that normally downloading the Linux JDK in windows is not a problem.

  • Problem with Java and Windows (Mainly Vista and UAC)

    Hi all,
    I am having a problem with a program that I've devoloped. The program itself is packaged as a jar and I plan to deploy it across multiple platforms eventually however right now i am only concerned about windows based systems. I have made an installer for a windows baised systems using NSIS to install the software files. I made the installer as I need several java packages to be installed so the program would work (JAI, J3D, JAI ImageIO) and I also require the program to have fileassociations on windows.
    I know that this is not what java is about, however the majority of the users will be on windows baised systems so I've decided that OS specific installers is the best option.
    During the process I have noticed that there are several key problem with java for this type of application!
    The first issue that I have come across is getting file associations to work on java. As a .jar is not an excutable it is not possible to directly associate a filetype with it in java so to overcome this I currently run the program from a .bat files and also the program requires large memory so this also allows me to run the program with -xmx. The batch file that I use is :
    <code>
    cd PATH TO PROGRAM
    start javaw -Dsun.java2d.noddraw=true -Xmn100M -Xms500M -Xmx1000M -jar "PATH TO PROGRAM\program.jar" %1 -vram 134217728
    pause;
    </code>
    Ok so all this appears to work fine and allows windows to have file associations and start the program and thats all works perfectly but this is a non-ideal solution. Has anyone got any advice on improving this?
    The next problem that I have appears to be a problem with Vista and UAC (user access control). When a user installs the program and installs the program into the program files directory I found that the program did not work and kept saying that I did not have access to the files in the current directory. This is a problem as I read and write settings files during program execution.
    On a Vista system UAC prevents file write operations into the Program Files directory unless the program has requested elevated status even if the user is a full administrator. The probem is that there appears to be no real way to achieve this under java that I'm aware of...
    Has anyone else had this probem and has a suitable solution?
    Any advice on these issues would realy be appricated.
    Regards
    Joey

    Ok so i've kinda found a solution, its not ideal but its very good. I found this program called Elevate
    A link to the site I got it was
    http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/03/27/elevate-a-process-at-the-command-line-in-vista.aspx
    This program allows you start java with a UAC dialog for high access using
    Elevate java -jar myjar.jar
    This then allows you to have full access using java... I guess it could be dangerous but it does the job.

  • Problem with java and flex web service

    Hi,
    I have a basic web service written in java using jax ws 2.1
    ri. I need to call it from Flex using the WebService class
    Annotations for the java web method :
    @WebMethod
    public void Login(
    @WebParam(name="server") String serverURL,
    @WebParam(name=AUTHENTICATE_HEADER,header=true,mode=WebParam.Mode.INOUTHolder<Authenticate Header>
    authHeader)
    When I try and call the service from Flex , it can't find the
    login method and attempts to call it fail. If I set the web service
    to RPC based using @SOAPBinding , the method is found but then
    there are issues with the authentication header.
    What do I need to do to get flex web services communicating
    succesfully with java ?
    Are there are any known compatibility issues ? Or guidelines
    for going about this ?
    Any help would be appreciated

    well Shay,
    i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
    I have included all the files java and the compiled classes, but I do not have files jar.
    But don't works: if i create only one java class with all code inside then it works fine!!
    Daniele

Maybe you are looking for

  • How do I use my Macbook Air with a display?

    I wish to use the display with the Macbook Air. The screen on the MBA is too small for home use so I want to use the display instead. How do I do this? It's awkward to type on the MBA keyboard and then look at the display next to the MBA. However I w

  • How to remove credit card from iTunes

    Because can't get no apps cause of the credit card information

  • How to get System time during report generation?

    Hi, I am developing a template in which I am required to show data of current year only. Is there any method by which I can get system time(from which I will extract year) ?

  • ITunes purchased on another laptop

    Hello All , I recently purchased a new laptop and installed iTunes and successfully synced my iPod. However, I purchased songs from iTunes using my old laptop and when I installed these songs onto iTunes and tried to sync them to my iPod I get an err

  • Multiple Agreement for Single Project

    Hi All, In our Implementation client generally gets multiple agreements for a single project. How to specify the Agreement Reference when we are creating an Event for billing? By the way have set up the funding option at the Project Level. Thanks in