Change tmp directory used during deploying BPEL

Hi,
We need to be able to deploy BPEL processes using ANT but use a different temporary directory from the default being /tmp on Linux. We are using BPEL 10.1.3.4 on OAS. This is because we have different oracle accounts and homes on the same host.
I don't see a way to change in the build.xml file the <bpelc task to specify a temp directory.
I see in the bpelc commonad line there is the -b option but not in the build.xml
We get the error:
org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. /tmp/upload_00000002.tmp (Permission denied)
This is becuase the other oracle account own this file with Read only for everyone else.
I changed the permission to Write for all for the upload files and was able to deploy but these files are removed on reboots and so the deployment will get the same issue again. Also the number of upload files will grow.
Please let me know if you know a solution to specify in a specific tmp directory.
Thanks

The metalink note solved the issue. Had to do BOTH outllined changes.
Thanks

Similar Messages

  • Change default Windows background during deployment

    I have a Windows deployment server up and running and deploying custom Windows 7&8 images which all work fine. I want to be able to change the default Windows background to a custom image during deployment so when a new user is created and logs in locally,
    my image is displayed rather than the default one. I know this can be done by changing an entry in the registry, but I would like some help in creating a script to do this during deployment and also where this script would have to be placed and how to run
    this. I am a noob at scripting and any help would be appreciated! ;)
    Thanks in advance

    I am using the process documented at the link below in my builds today with a lot of success. In addition to setting the background for every user, it will also allow for setting the colors and accents. Pretty good stuff from the guys at CoreTech.
    http://blog.coretech.dk/hra/change-default-windows-8-1-wallpaper-color-scheme-and-lock-screen-background/
    .bill
    Regards, Bill Moore @BMooreAtDell

  • Need to change the directory using the java program

    hi,
    can anyone give me the code to change the directory in the java program by using the system command.
    as in C where we use the system call system("cd");
    the same way how to do that in java. please help me with that!!!

    Please search the forums for "runtime.exec", there are dozens of examples posted.
    Although this may not do you any good, since changing the os's directory is not likely to change anything you're using in Java. What are you trying to do?

  • How would I create a set of folders in the /tmp directory using AS?

    I have a set of folders that whenever I restart my machine they get removed (they're in the /tmp directory as they are temporary cache files).
    Right now I'm manually re-creating those folders whenever I restart.
    So how could I automatically create the set of folders on startup?
    I need to create:
    /tmp/fcgi_ipc/
    /tmp/fcgi_ipc/dynamic/
    I figure I can create an bit of AppleScript and set it to run on startup...but I'm totally clueless on exactly what that AppleScript needs to be.
    I've tried various "make new folder at ____" but nothing is cutting it.

    Consider ...
    set base_Path to "/private/var/tmp/" -- path to 'tmp' folder.
    set base_Folder to "fcgi_ipc" -- Desired base folder.
    set sub_Folder to "dynamic" -- Sub-folder of base folder.
    try -- Try handles 'folder already exists' error.
    do shell script ("mkdir " & base_Path & base_Folder) -- Create base folder.
    end try
    try -- Try handles 'folder already exists' error.
    do shell script ("mkdir " & base_Path & base_Folder & "/" & sub_Folder) -- Create sub-folder.
    end try
    ... Naturally, you can hard code it, as well ...
    try -- Try handles 'folder already exists' error.
    do shell script ("mkdir /private/var/tmp/fcgi_ipc/") -- Create base folder.
    end try
    try -- Try handles 'folder already exists' error.
    do shell script ("mkdir /private/var/tmp/fcgi_ipc/dynamic/") -- Create sub-folder.
    end try
    ... or ...
    do shell script ("mkdir -p /private/var/tmp/fcgi_ipc/dynamic/") -- Create all folders at once.

  • How do I set customized changes in Custom Toolsets during deployed installation on Adobe Acrobat Pro XI?

    I am trying to set settings in the Custom Toolsets, specifically Protection\Redaction Properties - Example:  Changing highlight color and enabling text overlay.  Is there a way to modify the settings for a deployment?  I am unable to find a way through the Customization wizard and am having trouble finding documentation on deploying customized settings to toolsets. 
    Issue:
    Customizing Toolsets as part of Adobe Acrobat Pro XI Deployment
    Environment:
    For deployment I am using the Adobe Customization Wizard and SCCM 2012 to distribute and install Adobe Acrobat Pro XI.
    Environment has both Windows 7 and Windows 8.1
    Adobe Acrobat Pro XI
    Thank you,
    Mike

    It's in the ETK:
    3   Pre-Deployment Planning — Enterprise Administration Guide
    3.7.4   Tool Sets
    Acrobat 11.0 introduces a streamlined way to create and manage custom tool sets across the enterprise. A Customize button in the upper right-hand area of the toolbar allows users to create new tool sets, manage existing tool sets, and choose any existing tool set.
    This feature helps organizations standardize task-specific tool views, reduce training costs, and improve employee efficiency by grouping related tools into a common view. This feature allows:
    End users to easily create or import custom tool sets.
    Easy switching between different tool sets.
    IT to create, distribute, and otherwise manage tool sets across the enterprise.
    _images/toolsetmenu.png
    3.7.4.1   Tool set file locations
    Tool set files reside in two locations:
    A local user directory (full access): Files which are stored and imported by the current user are placed in the default current user’s directory. For example:
    C:\Users\<username>\AppData\Roaming\Adobe\Acrobat\11.0\UICustomization\<anyname>.aaui
    A local, product directory (read only): Files in this directory are visible to any user on the machine. For example:
    C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\UICustomization\<language>\<anyname>.aaui
    3.7.4.2   UI overview
    To work with tool sets:
    Choose Customize > Manage Tool Sets.
    Perform any needed action.
    Note When creating a new Tool Set, you can choose any available tool in any desired order.
    Managing tool sets
    _images/Toolsetpanel.png

  • Change Apple ID Used During MacBook Set Up

    Hi - I set up a MacBook for myself and want to give it to my wife. I set it up using my Apple ID. When my wife opens up iChat, e.g., the application thinks it's me. How can I change the Apple ID associated with the MacBook to her Apple ID ... without doing a complete system restore and restart?

    Thanks. So, as it turns out, all along, I think, the "View as Name" in the buddy list is me, but the "View as Handle" is my wife, and the client is logged into her account, so we are all set. The "Name" field must just pull that name data from some field created during the log-on process. A little annoying for those of us (like) with technology OCD but my wife could care less. The mail application also seems to pre-populate its fields from the log-on process data I provided, but it too can be easily over-written. False alarm, it seems.

  • How to change read-directory when using file adapter

    Hi, I'm deploying BPEL process to read files from a directory. I want to change the directory where to read dynamically. This can be achieved by using a file header variable. I know how to do this. But, the problem for me is that I can not find a place to assign this file header variable a correct value. The first step in my BPEL process is the receive-step and this has to be the first step. I wanted to place the assign-step before this step but this makes the BPEL process invalid. First step has to be a receive or a pick-step. So, now I have a dilemma! Anyone an advice on this?
    Thanks in advance.

    Maybe you can use this information :
    http://otndnld.oracle.co.jp/document/products/as10g/1012/doc_v3/integrate.1012/B14448-01/html/app_trblshoot.htm
    A.3.3 Common User Errors explains something about the fileheader messages

  • ClassCastException during deployment with more than one used entity

    Hi,
    i am still trying to get into NW development and got one more time stuck. I have a CE 7.1 SR5 project containing a dictionary, a bean module, an EAR project and a web dynpro project.
    With the following two classes everything runs fine:
    [AT]Entity
    [AT]Table(name="TMP_USER")
    [AT]NamedQueries(value={[AT]NamedQuery(name="doLogin", query="SELECT u FROM User u WHERE u.login = :login AND u.password = :password")})
    public class User implements Serializable {
         [AT]Id
         private int id;
         private String login;
         private String password;
         private static final long serialVersionUID = 1L;
         public User() {
              super();
    // Omitted Accessors
    [AT]Stateless(name="UserSessionBean")
    [AT]WebService
    public class UserSessionBean implements UserSessionLocal
         [AT]PersistenceContext(unitName="DBAccess")
         private EntityManager em;
         public User doLogin(String login, String password)
              Query query = em.createNamedQuery("doLogin");
              query.setParameter("login", login);
              query.setParameter("password", password);
              try
                   return (User) query.getSingleResult();               
              catch(NoResultException e)
                   return null;
    build, deploy, run in webservice navigator -> ok
    Then i created a new entity:
    [AT]Entity
    [AT]Table(name="TMP_PROJECT")
    [AT]NamedQueries(value={[AT]NamedQuery(name="findAllProjects", query="SELECT p FROM Project p")})
    public class Project implements Serializable {
         [AT]Id
         private int id;
         private int ownerid;
         private String name;
         private Timestamp creationtime;
         private String description;
         private int number;
         private short subnumber;
         private static final long serialVersionUID = 1L;
         public Project() {
              super();
      Omitted Accessors
    build, deploy, run in webservice navigator -> no problem.
    Then i changed  the UserSessionBean to:
    [AT]Stateless(name="UserSessionBean")
    [AT]WebService
    public class UserSessionBean implements UserSessionLocal
         [AT]PersistenceContext(unitName="DBAccess")
         private EntityManager em;
         public User doLogin(String login, String password)
              Query query = em.createNamedQuery("doLogin");
              query.setParameter("login", login);
              query.setParameter("password", password);
              try
                   return (User) query.getSingleResult();               
              catch(NoResultException e)
                   return null;
         public Projecet testfunc()
              return null;
    And now during deployment there is an warning (in reality it´s an exception) and the bean does not work any more.
    The exception is
              1. Exception has been returned while the 'testproject.testcorp.de/testprojectear' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 7707450:com.sap.engine.services.deploy.container.DeploymentException:
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.makeStartInitially(WebServicesDeployManager.java:693)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:184)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:145)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:877)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Exception occured during web services deployment. Unable to generate serialization framework for web service UserSessionBeanService, application testproject.testcorp.de/testprojectear.
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:360)
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:220)
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.execute(WSInitialStartProcess.java:140)
         at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:316)
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.makeStartInitially(WebServicesDeployManager.java:688)
         ... 37 more
    Caused by: java.lang.ClassCastException: class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5:library:jaxb20[AT]com.sap.engine.boot.loader.ResourceMultiParentClassLoader[AT]1489c06[AT]alive incompatible with class com.sun.xml.bind.v2.model.impl.ClassInfoImpl:library:jaxb20[AT]com.sap.engine.boot.loader.ResourceMultiParentClassLoader[AT]1489c06[AT]alive
         at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getBaseClass(ClassInfoImpl.java:170)
         at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:58)
         at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:38)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:142)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:48)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:40)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
         at com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:56)
         at com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:33)
         at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:22)
         at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:15)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:38)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:41)
         at java.util.AbstractList$Itr.next(AbstractList.java:422)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:48)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:40)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
         at com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:56)
         at com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:33)
         at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:22)
         at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:15)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:38)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:41)
         at java.util.AbstractList$Itr.next(AbstractList.java:422)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:48)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:40)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:204)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:356)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:217)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
         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:585)
         at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
         at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
         at com.sap.engine.services.webservices.jaxws.j2w.JaxWsSchemaGenerator.genJaxbMappings(JaxWsSchemaGenerator.java:274)
         at com.sap.engine.services.webservices.jaxws.j2w.JaxWsIMappingGenerator.generateWSDL(JaxWsIMappingGenerator.java:103)
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:286)
         ... 41 more
    I already downgraded my Java JRE/JDK to 1.5.0_15 as it was hinted here in the forum, but the problem persists. Any idea what is wrong?

    Thanks for the answer, but i am not using this wizard. Some how this project class must be flawed.
    public User testfunc()
    return null;
    works, but changing to
    public Project testfunc()
    return null;
    immediately leads to the above deployment error.
    This is the offending class, it compiles without warning
    package de.testcorp.testproject.beans;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import javax.persistence.*;
    @Entity
    @Table(name="TMP_PROJECT")
    @NamedQueries(value={@NamedQuery(name="findAllProjects", query="SELECT p FROM Project p")})
    public class Project implements Serializable {
         @Id
         private int id;
         private int ownerid;
         private String name;
         private Timestamp creationtime;
         private String description;
         private int number;
         private short subnumber;
         private static final long serialVersionUID = 1L;
         public Project() {
              super();
         public int getId() {
              return this.id;
         public void setId(int id) {
              this.id = id;
         public int getOwnerid() {
              return this.ownerid;
         public void setOwnerid(int ownerid) {
              this.ownerid = ownerid;
         public String getName() {
              return this.name;
         public void setName(String name) {
              this.name = name;
         public Timestamp getCreationtime() {
              return this.creationtime;
         public void setCreationtime(Timestamp creationtime) {
              this.creationtime = creationtime;
         public String getDescription() {
              return this.description;
         public void setDescription(String description) {
              this.description = description;
         public int getNumber() {
              return this.number;
         public void setNumber(int number) {
              this.number = number;
         public short getSubnumber() {
              return this.subnumber;
         public void setSubnumber(short subnumber) {
              this.subnumber = subnumber;

  • Error during deployment component: myBPEL to srv engine:implementation.bpel

    Hi there, I am trying to install some composites from development onto my end.
    There was a problem in cluster installation, due to, I am using only one JVM Instance, I mean, I have a Cluster, two instances, but only one running ! Is a bpel development domain.
    All the BPEL internal components are running and health, but when i try to install a composite package deploy from Development company, I got these errors :
    Deploying on partition "default" of "/Farm_bpel/cia_bpel/CLUSTER01" ...
    Deploying on "/Farm_bloc_bpel/bloc_bpel/CLUSTER01" failed!
    There was an error deploying the composite on bpelbbhml02_cl1_01: Operation failed - Member(Id=1 Timestamp=2011-11-24 12:53:58.579 Address=10.13.164.13:8088 MachineId=41741 Location=machine:SERVERJVM02 process:10274 Role=WeblogicServer):Error occurred during deployment of component: AlteracaoMeioPagamentoBPEL to service engine: implementation.bpel for composite: AlteraMeioPagamentoSOA: ORABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "/logs/dc/soa_93176be3-a08c-4a43-adb7-648d6de66f89"; the exception reported is: java.lang.IllegalStateException: this is only a psuedo object
    This error contained an exception thrown by the underlying deployment module.
    ; . Please see the server diagnostic logs on SERVERJVM02 for details.
    Verify the exception trace in the log (with logging level set to debug mode).
    My development team has no figered out what happened !
    I would appreciate any help from you .
    Thanks in advance
    Edson

    The problem has been solved, there was misstyped URI (endpoint)
    Thanks

  • Invoking deployed bpel process using WLST

    Hi All,
    Am new to WLST. So please tolerate with me if i am asking the obvious
    I read through the forums and have successfully deployed a BPEL process using WLST as given below
    ant -f ant-sca-deploy.xml -DserverURL=http://localhost:8001 -DsarLocation=C:\oracle\Middleware\PS3\Oracle_SOA1\bin\sca_esd9_jca_bpel1.1_ccgd_trn_ob_rev1.jar -Doverwrite=true -Duser=weblogic -Dpassword=welcome1 -DforceDefault=true
    And i have also tried un deploying and it works fine.
    But, the problem is, i want to invoke the deployed BPEL process either by accessing the WSDL URL (http://localhost:8001/soa-infra/services/default/esd9_jca_bpel1.1_ccgd_trn_ob/bpelprocess1_client_ep?WSDL) or by any other means using WLST. I have to send an input to this deployed process.
    I have googled it and have found ways to invoke a web service using JAVA or VBS. But is it possible to do it through WLST?
    Thanks in advance.

    Sancho,
    Thanks for the prompt reply. We trying to automate the following process:-
    1. The user select multiple documents from a folder in a library that contains all released documents.
    2. He then locks the documents.
    3. Selects the locked documents and copies it to a folder in the personal library.
    We are trying to lock and copy the documents as a 1 step process, because its difficult for the users to select all of the documents locked earlier and then copy it the personal library.
    We are trying to take the folder name as the user parameter, when the files are locked, so that the process and create the lock the files, create the folder and copy the files in this folder.
    Thanks again for your time and help.
    Hetal

  • Error while deploying BPEL Process using FTPAdapter

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

    Hi,
    I have process which uses FTPAdapters.
    When I deploy in developer instance it doesn't give any error, but when I
    try to deploy in middle tier instance i get below error
    Error deploying BPEL archive.An error occurred while attempting to deploy the BPEL archive file "bpel_ftpbinarysample_1.0.jar"; the exception reported is: Problem 1: [GetFile_PL.wsdl]: Cannot locate Java class oracle.tip.adapter.ftp.inbound.FTPActivationSpec - please check the spelling.
    I have setup connection parameters in oc4j-ra.xml both developer and middletier versions.
    Regards,
    Avinash
    Can anybody help me in this issue ?

  • Error while deploying BPEL Process(Error during deployment: Deployment Fail

    Hi,
    when i try to deploying 11.1.1.3 - bpel project with thirdpartyparty adapter from jdeveloper to weblogic server, I got the following error.
    [04:53:50 PM] Error deploying archive sca_TPASOAProject_rev1.0.jar to partition "default" on server soa_server1 [10.150.67.195:8001]
    [04:53:50 PM] HTTP error code returned [500]
    [04:53:50 PM] Error message from server:
    Error during deployment: Deployment Failed: [JCABinding] [TPASOAProject.Service1/1.0]Unable to complete load due to: Generic error.
    Generic error.
    Cause: Unable to find suitable outbound binding.
    Please create a Service Request with Oracle Support.
    : Generic error.
    Generic error.
    Cause: Unable to find suitable outbound binding.
    Please create a Service Request with Oracle Support.
    [04:53:50 PM] Check server log for more details.
    [04:53:50 PM] Error deploying archive sca_TPASOAProject_rev1.0.jar to partition "default" on server soa_server1 [10.150.67.195:8001]
    [04:53:50 PM] #### Deployment incomplete. ####
    [04:53:50 PM] Error deploying archive file:/C:/JDeveloper/mywork/Application16/TPASOAProject/deploy/sca_TPASOAProject_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Please, any one can tell solution for this.
    Thanks In advance
    Amar.
    Edited by: 897448 on Dec 13, 2011 8:48 PM

    Hi,
    when i try to deploying 11.1.1.3 - bpel project with thirdpartyparty adapter from jdeveloper to weblogic server, I got the following error.
    [04:53:50 PM] Error deploying archive sca_TPASOAProject_rev1.0.jar to partition "default" on server soa_server1 [10.150.67.195:8001]
    [04:53:50 PM] HTTP error code returned [500]
    [04:53:50 PM] Error message from server:
    Error during deployment: Deployment Failed: [JCABinding] [TPASOAProject.Service1/1.0]Unable to complete load due to: Generic error.
    Generic error.
    Cause: Unable to find suitable outbound binding.
    Please create a Service Request with Oracle Support.
    : Generic error.
    Generic error.
    Cause: Unable to find suitable outbound binding.
    Please create a Service Request with Oracle Support.
    [04:53:50 PM] Check server log for more details.
    [04:53:50 PM] Error deploying archive sca_TPASOAProject_rev1.0.jar to partition "default" on server soa_server1 [10.150.67.195:8001]
    [04:53:50 PM] #### Deployment incomplete. ####
    [04:53:50 PM] Error deploying archive file:/C:/JDeveloper/mywork/Application16/TPASOAProject/deploy/sca_TPASOAProject_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Please, any one can tell solution for this.
    Thanks In advance
    Amar.
    Edited by: 897448 on Dec 13, 2011 8:48 PM

  • Error getting while deploying BPEL process using CI in peoplesoft adapter

    When i am deploying BPEL process which connects to peoplesoft through component interface (CI) using peoplesoft adapter. I am getting error when i pass the input parameter which fetches data from peoplesoft component.
    after posting XML message following error occurs.
    <faultstring>java.lang.IllegalStateException: Cannot call setRollbackOnly() current thread is NOT associated with a transaction</faultstring>
    any help will be very thankful

    Thanks for your response
    This is the part of log when i am giving request from JCA servlet to JDE test
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() exited.
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFConnection.close() called, on connection: com.ibi.afjca.cci.IWAFConnection@188518f for IWAFManagedConnection: com.ibi.afjca.spi.IWAFManagedConnection@e19158
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [info ] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning dispatch event 1
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection.cleanup() for JDEdwards:JDEFinalMorning entered.
    Wed, 23 Jan 2008 10:28:31.0557 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning cleaned.
    Wed, 23 Jan 2008 10:28:31.0573 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection.destroy() for JDEdwards:JDEFinalMorning entered.
    Wed, 23 Jan 2008 10:28:31.0604 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEFinalMorning destroyed.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFManagedConnection created for JDEdwards:JDEdwardsCFIN
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [info ] [IWAF JCA JDEdwards] IWAFManagedConnection for JDEdwards:JDEdwardsCFIN has listener registered: com.evermind.server.connector.ConnectionContext@1f24a78
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFConnection created, com.ibi.afjca.cci.IWAFConnection@1f71eb7, for IWAFManagedConnection: com.ibi.afjca.spi.IWAFManagedConnection@1267d64
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction created.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() entered.
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() called with string:
    <jdeRequest type="callmethod" user="ASHISHM" pwd="ASHISHM" environment="JDV811" session="">
    <callMethod name="GetEffectiveAddress" app="" runOnError="no">
    <params>
    <param name="mnAddressNumber">1001</param>
    <param name="jdDateBeginningEffective"></param>
    <param name="cEffectiveDateExistence10"></param>
    <param name="szAddressLine1"></param>
    <param name="szAddressLine2"></param>
    <param name="szAddressLine3"></param>
    <param name="szAddressLine4"></param>
    <param name="szZipCodePostal"></param>
    <param name="szCity"></param>
    <param name="szCountyAddress"></param>
    <param name="szState"></param>
    <param name="szCountry"></param>
    <param name="szUserid"></param>
    <param name="szProgramid"></param>
    <param name="jdDateupdated"></param>
    <param name="szWorkstationid"></param>
    <param name="mnTimelastupdated"></param>
    <param name="szNamealpha"></param>
    <param name="mnSynchronizationStatus"></param>
    <param name="mnServerStatus"></param>
    </params>
    <onError abort="no"></onError>
    </callMethod>
    </jdeRequest>
    Wed, 23 Jan 2008 10:28:40.0636 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() gets the inDoc com.iwaysoftware.idom.XmlDocument@101bde9
    Wed, 23 Jan 2008 10:28:49.0606 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() added at index 0, return record:
    <jdeResponse user="ASHISHM" type="callmethod" session="3780.1201064308.7" environment="DV811" role="*ALL">
    <callMethod app="" name="GetEffectiveAddress" runOnError="no">
    <returnCode code="2"/>
    <params/>
    </callMethod>
    </jdeResponse>
    Wed, 23 Jan 2008 10:28:49.0606 IST - Thread[AJPRequestHandler-HTTPThreadGroup-54,5,HTTPThreadGroup] [debug] [IWAF JCA JDEdwards] IWAFInteraction.execProcess() return record:
    [<jdeResponse user="ASHISHM" type="callmethod" session="3780.1201064308.7" environment="DV811" role="*ALL">
    <callMethod app="" name="GetEffectiveAddress" runOnError="no">
    <returnCode code="2"/>
    <params/>
    </callMethod>
    </jdeResponse>

  • Change password in Active Directory using the JNDI GSS-API/Kerberos

    Hi
    I am trying to the JNDI GSS-API to change a user password.
    When I actually try to change the password using ctx.modifyAttributes(userName, mods), I get the exception:
    09:39:38,163 ERROR [STDERR] javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0 ]; remaining name 'CN=USER,OU=Usuarios,DC=testead,DC=br'
    Here's my java code:
    public class ChangePasswordLDAPCommand implements Command {
         static Logger logger = Logger.getLogger(ChangePasswordLDAPCommand.class.getName());
         @SuppressWarnings("unchecked")
         public boolean execute(org.apache.commons.chain.Context context) throws ApplicationException {
              logger.info("Início - execute");
              try {
                   CoreConfig config = CoreConfig.getInstance();
                   String userName = config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_ADMIN_NAME);
                   char[] password = config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_ADMIN_PASSWORD).toCharArray();
                   Subject subject = new Subject();
                   Krb5LoginModule krb5LoginModule = new Krb5LoginModule();
                   Map<String, String> map = new HashMap<String, String>();
                   Map<String, String> shared = new HashMap<String, String>();
                   map.put("com.sun.security.auth.module.Krb5LoginModule","required");
                   map.put("client","true");
                   map.put("useTicketCache","true");
                   map.put("doNotPrompt","true");
                   map.put("useKeyTab","true");
                   map.put("useFirstPass","true");
                   map.put("refreshKrb5Config","true");
                   logger.info(">>>>> map.toString(): "+map.toString());
                   shared.put("javax.security.auth.login.name", config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_ADMIN_NAME));
                   shared.put("javax.security.auth.login.password", config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_ADMIN_PASSWORD));
                   shared.put("javax.net.debug","SSL,handshake,trustmanager");
                   shared.put("sun.security.krb5.debug","true");
                   shared.put("com.sun.jndi.ldap.connect.pool.timeout","30000");
                   logger.info(">>>>> shared.toString(): "+shared.toString());
                   krb5LoginModule.initialize(subject, new UserNamePasswordCallbackHandler(userName,password),shared,map);
                   krb5LoginModule.login();
                   if(krb5LoginModule.commit()){
                        //Recupera o usuario a ser alterado
                        UsuarioTOLDAP usuarioTO = (UsuarioTOLDAP) context.get(CoreConfig.USUARIO_TO_LDAP);
                        logger.info(">>>>>>>>>>>>>>>>>>>>>> subject.toString(): "+subject.toString());
                        Subject.doAsPrivileged(subject, new JndiAction(usuarioTO), null);
              } catch (LoginException e) {
                   e.printStackTrace();
              } catch (PrivilegedActionException e) {
                   e.printStackTrace();
              logger.info("Fim - execute");
              return Command.CONTINUE_PROCESSING;
    @SuppressWarnings("unchecked")
    public class JndiAction implements java.security.PrivilegedExceptionAction{
         private static Logger logger = Logger.getLogger(JndiAction.class.getName());
         private UsuarioTOLDAP usuarioTOLDAP = null;
         public JndiAction(UsuarioTOLDAP usuarioTO) {
              this.usuarioTOLDAP = usuarioTO;
         public Object run() {
              performJndiOperation(usuarioTOLDAP);
              return null;
         @SuppressWarnings("unchecked")
         private static void performJndiOperation(UsuarioTOLDAP usuarioTOLDAP){
              logger.info(">>>>> entrei na JndiOperation");
              try {
                   CoreConfig config = CoreConfig.getInstance();          
                   String distinguishedName = "";
                   String keystore = "C:/Documents and Settings/user/.keystore";
                   System.setProperty(CoreConfig.JAVAX_NET_SSL_TRUSTSTORE,keystore);
                   System.setProperty("com.sun.jndi.ldap.connect.pool.timeout","30000");
                   System.setProperty("javax.net.debug","all");
                   System.setProperty("sun.security.krb5.debug","true");
                   Hashtable env = new Hashtable();
                   env.put(Context.INITIAL_CONTEXT_FACTORY, CoreConfig.INITIAL_CONTEXT_FACTORY);
                   env.put(Context.PROVIDER_URL, config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_URL));
                   env.put(Context.SECURITY_AUTHENTICATION, CoreConfig.SECURITY_PROTOCOL_GSSAPI);
                   env.put(Context.SECURITY_PRINCIPAL, config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_ADMIN_NAME));
                   env.put(Context.SECURITY_CREDENTIALS, config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_ADMIN_PASSWORD));
                   env.put(CoreConfig.JAVAX_NET_SSL_TRUSTSTORE,keystore);
                   env.put("javax.security.sasl.qop","auth-int");
                   env.put("javax.security.sasl.strength","high");
                   env.put("javax.security.sasl.server.authentication","true");
                  String userName = "CN=USER,"+config.getProperty(CoreConfig.PARAM_CONFIG_LDAP_BASE_DN);
                   // Cria o contexto inicial de acesso ao LDAP
                   //DirContext ctx = new InitialDirContext(env);
                   // Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //set password is a ldap modfy operation
                   ModificationItem[] mods = new ModificationItem[1];
                   //Replace the "unicdodePwd" attribute with a new value
                   //Password must be both Unicode and a quoted string
                   String newQuotedPassword = "\"" + usuarioTOLDAP.getNovaSenha() + "\"";
                   byte[] newUnicodePassword = newQuotedPassword.getBytes("UTF-16LE");
                   mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, new BasicAttribute("unicodePwd", newUnicodePassword));
                   // Perform the update
                   ctx.modifyAttributes(userName, mods);
                   ctx.close();
              } catch (NamingException e1) {
                   e1.printStackTrace();
              } catch (UnsupportedEncodingException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Edited by: c0m4nch3 on Jan 21, 2010 12:13 PM

    Refer to my response for a similar question in http://forums.sun.com/thread.jspa?threadID=5416736
    Also the following may be related: http://forums.sun.com/thread.jspa?threadID=5196192
    Good luck.

  • Changing user password in Active Directory using the JNDI GSS-API/Kerberos5

    Hello,
    I am trying to the JNDI GSS-API to change a user password on an Active Directory Server 2003. I have seen a variation of this using SSL on the thread [*http://forums.sun.com/thread.jspa?threadID=592611&start=0&tstart=0*|http://forums.sun.com/thread.jspa?threadID=592611&start=0&tstart=0]
    but I can't seem to make this work using the GSS-API. I can successfully create a javax.security.auth.login.LoginContext.LoginContext and then call the login method on it to log in as a user. I then call the javax.security.auth.Subject.doAs() method which calls the run method in a class extending the javax.security.PrivilegedActionClass. But when I actually try to change the password using InitialDirContext.modifyAttributes(), I get the exception:
    *javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002077: SvcErr: DSID-03190DC9, problem 5003 (WILL_NOT_PERFORM), data 0*
    *If anyone can help me figure out why it doesn't work, that would be great!*
    P.S: I know the error seems to suggest that there might be some active directory setting that is preventing this from working, but I've checked all relevant settings on the Windows 2003 server Active Directory that I can think of: In the User properties->Account->Account options, I've made sure the user can change password. Also, in the Group Policy->Computer Configuration->Windows Settings->Security Settings->Account Policies->Password Policy, Maximum password age is zero and so is minimum password age.
    Here's my java code:
    {code}import javax.naming.*;
    import javax.security.auth.*;
    import java.security.PrivilegedAction;
    import java.io.UnsupportedEncodingException;
    public void changeSecret((String uid, String oldPassword, String newPassword)
         throws NamingException, ACException{
    try {
         K5CallbackHandler cb = new K5CallbackHandler(uid, oldPassword);
         LoginContext lc = new LoginContext("marker", cb);
         lc.login();
         Subject.doAs(lc.getSubject(), new ChangePasswordAction(rz.getName(), oldPassword, newPassword));
         catch(LoginException e) {
         try {
              lc.logout();
         catch(LoginException e) {
    }ChangePasswordAction.java is:import javax.naming.*;
    import javax.naming.naming.directory.*;
    import java.io.UnsupportedEncodingException;
    private class ChangePasswordAction implements PrivilegedAction {
         private String uid;
         private String quotedOldPassword;
         private String quotedNewPassword;
         public ChangePasswordAction(String uid, String oldPassword, String newPassword) {
              this.uid = uid;
              quotedOldPassword = "\"" + oldPassword + "\"";
              quotedNewPassword = "\"" + newPassword + "\"";
         public Object run() {
              Hashtable env = new Hashtable(11);
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.PROVIDER_URL, "ldap://ad2k3:389");
              env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
              try {
                   DirContext ctx = new InitialDirContext(env);
                   ModificationItem[] mods = new ModificationItem[2];
                   byte[] oldPasswordUnicode = quotedOldPassword.getBytes("UTF-16LE");
                   byte[] newPasswordUnicode = quotedNewPassword.getBytes("UTF-16LE");
                   mods[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE, new BasicAttribute("unicodePwd", oldPasswordUnicode));
                   mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE, new BasicAttribute("unicodePwd", newPasswordUnicode));
                   ctx.modifyAttributes(uid, mods);
                   ctx.close();
              } catch (NamingException e) {
              } catch (UnsupportedEncodingException e) {
              return null;
    }K5CallbackHandler is:import javax.security.auth.callback.*;
    final class K5CallbackHandler
    implements CallbackHandler {
         private final String name;
         private final char[] passwd;
         public K5CallbackHandler(String nm, String pw) {
              name = nm;
              if(pw == null) {
                   passwd = new char[0];
              else {
                   passwd = pw.toCharArray();
         public void handle(Callback[] callbacks)
         throws java.io.IOException, UnsupportedCallbackException {
              for(int i = 0; i < callbacks.length; i++) {
                   if(callbacks[i] instanceof NameCallback) {
                        NameCallback cb = (NameCallback) callbacks;
                        cb.setName(name);
                   else {
                        if(callbacks[i] instanceof PasswordCallback) {
                             PasswordCallback cb = (PasswordCallback) callbacks[i];
                             cb.setPassword(passwd);
                        else {
                             throw new UnsupportedCallbackException(callbacks[i]);
    }The relevant entry in the JAAS.conf file that is referred to as "marker" in the LoginContext constructor is:
    marker {
    com.sun.security.auth.module.Krb5LoginModule required client=TRUE;

    This is one of the two Active Directory operations I have never solved using Java/JNDI. (FYI the other one is Cross Domain Move).
    My gut feel is that the underlying problem (which happens to be common to both Change Password & X-Domain Move) is that Java/JNDI/GSSAPI does not negotiate a sufficiently strong key length that allows Active Directory to change passwords or perform cross domain moves when using Kerberos & GSSAPI.
    Active Directory requires at a minimum, 128 bit key lengths for these security related operations.
    In more recent Kerberos suites and Java versions, support for RC4-HMAC & AES has been introduced, so it may be possible that you can negotiate a suitably string key length.
    Make sure that your Kerberos configuration is using either RC4-HMAC or AES and that Java is requesting a strong level of protection. (You can do this by adding //Specify the quality of protection
    //Eg. auth-conf; confidentiality, auth-int; integrity
    //confidentiality is required to set a password
    env.put("javax.security.sasl.qop","auth-conf");
    //require high strength 128 bit crypto
    env.put("javax.security.sasl.strength","high"); in your ChangePasswordAction class.
    You may also want to enable sasl logging in your app to see what exactly is going on and you may also want to check on the Java Security forum how to configure/enforce/check both RC4-HMAC or AES is used as the Kerbeos cipher suite and that a string key length is being used.
    Good luck.

Maybe you are looking for