Clear wsdl cache from java

hi ,
I am trying to clear wsdl cache from java , some errors are coming,
Please any one help me
this is my code
package bpeltest;
import com.oracle.bpel.client.BPELProcessId;
import java.util.Properties;
import com.oracle.bpel.client.IBPELDomainHandle;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.ServerException;
public class UnDeployBPELProcess {
public static void main(String[] args) throws ServerException {
UnDeployBPELProcess unDeployBPELProcess = new UnDeployBPELProcess();
//Properties with BPEL server connection information
Properties props = new Properties();
props.put("orabpel.platform", "ias_10g");
props.put("java.naming.factory.initial", "com.evermind.server.rmi.RMIInitialContextFactory");
props.put("java.naming.provider.url", "opmn:ormi://EC3-VEDARRA:6005:home");
props.put("java.naming.security.principal", "oc4jadmin");
props.put("java.naming.security.credentials", "oracle1");
props.put("dedicated.connection","true");
//Get a locator in default domain
Locator locator = new Locator("default","oracle1",props);
//Get a handle to the domain
IBPELDomainHandle iBPELDomainHandle = locator.lookupDomain();
iBPELDomainHandle.undeployProcess(new BPELProcessId("default","MyUndeployedBPELProcess"));
System.out.println("iBPELDomainHandle" + iBPELDomainHandle);
iBPELDomainHandle.clearWSDLCache();
compilation errors:
C:\jdevstudio10131\jdk\bin\javaw.exe -client -classpath C:\jdevstudio10131\jdev\mywork\javatest\BPELTest\classes;C:\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\oc4j-internal.jar;C:\product\10.1.3.1\OracleAS_1\opmn\lib\optic.jar;C:\jdevstudio10131\j2ee\home\lib\ejb.jar -Dhttp.proxyHost=157.204.22.4 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.2o7.net|32.85.*|chipsndip|157.204.*|localhost|127.0.0.1|*.wlgore.com|EC3-VEDARRA|tigger -Dhttps.proxyHost=157.204.22.4 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=*.2o7.net|32.85.*|chipsndip|157.204.*|localhost|127.0.0.1|*.wlgore.com|EC3-VEDARRA|tigger bpeltest.UnDeployBPELProcess
Exception in thread "main" java.lang.Exception: Failed to create "ejb/collaxa/system/FinderBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/FinderBean not found
     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
     at javax.naming.InitialContext.lookup(InitialContext.java:351)
     at com.oracle.bpel.client.util.BeanRegistry.lookupFinderBean(BeanRegistry.java:337)
     at com.oracle.bpel.client.Locator.getFinder(Locator.java:920)
     at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
     at bpeltest.UnDeployBPELProcess.main(UnDeployBPELProcess.java:29)
     at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
     at com.oracle.bpel.client.Locator.getFinder(Locator.java:926)
     at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
     at bpeltest.UnDeployBPELProcess.main(UnDeployBPELProcess.java:29)
Caused by: java.lang.Exception: Failed to create "ejb/collaxa/system/FinderBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/FinderBean not found
     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
     at javax.naming.InitialContext.lookup(InitialContext.java:351)
     at com.oracle.bpel.client.util.BeanRegistry.lookupFinderBean(BeanRegistry.java:337)
     at com.oracle.bpel.client.Locator.getFinder(Locator.java:920)
     at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228)
     at bpeltest.UnDeployBPELProcess.main(UnDeployBPELProcess.java:29)
     at com.oracle.bpel.client.util.BeanRegistry.lookupFinderBean(BeanRegistry.java:351)
     at com.oracle.bpel.client.Locator.getFinder(Locator.java:920)
     ... 2 more
Process exited with exit code 1.
and one more
where we find thiis value
"java.naming.factory.initial"= "com.evermind.server.rmi.RMIInitialContextFactory"
Regards
janardhan

I think there is error with this line in code
props.put("java.naming.provider.url", "opmn:ormi://EC3-VEDARRA:6005:home");
Please see the post for details
http://oraclebpelindepth.blogspot.com/2008/08/bpel-context-properties-for-client-api.html
The value should be
props.put("java.naming.provider.url", "opmn:ormi://EC3-VEDARRA:6005:home/orabpel");
Every Little Helps
Kalidass Mookkaiah
http://oraclebpelindepth.blogspot.com/

Similar Messages

  • How to clear BPEL WSDL Cache  from out side  bpel console

    hi ,
    Is it any way to clear wsdl cache other than bpel console option.
    Please any one can help me.
    Regards
    janardhan

    The short answer is Yes.
    I have a post here that does the undeployment.
    link : [http://oraclebpelindepth.blogspot.com/2008/09/undeploy-bpel-with-java.html]
    You would have to change the code below in there to a new one, that does the trick.
    iBPELDomainHandle.undeployProcess(new BPELProcessId("default","MyUndeployedBPELProcess"));
    Use clearWSDLCache() method that is part of the IBPELDomainHandle Interface.
    The final code will look like
    iBPELDomainHandle.clearWSDLCache();
    I hope you are prepared to use Java API for this.
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • Clear wsdl cache every time a bpel process call is made.

    Hi All,
    I have a bpel process which gets input xml of the size of 6MB. This bpel process interacts with a java component using the WSIF approach to reorder the xml input recieved.
    The strange problem that i am currently encountering right now is for each time the bpel process execution time scales up. For example, the first time i fired the request, the bpel process took 29 seconds to completely execute. The second time it took 39 seconds and the third time it has taken around 56 seconds to execute.
    When i cleared the wsdl cache from within the bpel console, the execution again came down to around 21 seconds.
    Can i know which is the property which we can set in bpel.xml file of the bpel process to clear the wsdl cache each time a request is fired.
    Thanks in Advance,
    Vijay S

    Jay,
    You don't say how these links on the menu page are constructed. If you are using an apex list then for each list entry there would be a target page section in which you would put the target page ID in the Clear Cache field. For example, if the link goes to a page in the current application, say page 10, then you'd put 10 in the Clear Cache field.
    If you are building a link yourself, just put 10 (for page 10) in the clear-cache position of the f?p URL, e.g.,
    f?p=&APP_ID.:10:&APP_SESSION.::NO:10:P10_ITEM:&SOME_ITEM.
    Scott

  • Does wscompile generate "fault" tag in WSDL file from Java exception class?

    I'm trying to generate WSDL files from Java classes. I defined some of my own exception that inherits from "RemoteException", but wscompile doesn't generate the corresponding complex type and "fault" tag. Does anyone know if this is a bug or wscompile doesn't support from Java Exception to fault?
    Thanks

    It will if the exceptions do not inherit from RemoteException.

  • OSB WSDL invocation from java /jsp client!

    Hi ,
    I did a sample work on invoking osb wsdl(based on DB adapter) from a java/jsp application.It worked fine!
    Its a simple select query wth parameter that was configured in my DB adapter.
    Below are the steps I follow -
    a.Created a DB adapter for collective response
    b.created BS out of jca
    c.Generated PS based on above BS.
    d.Performed some xquery tranformation in PS message flow response piepeline.
    e.Exported WSDL and tested it in SOAP UI ,getting the transformed response as required.
    When we generate Java client out of above WSDL in Eclipse ,it generates client for DB data,transformed data fields are not seen -How to obtain transformed data too through Java client?will this work ?
    Is it gud practice to generate java client directly n Eclipse (OEPE) or do we have any other alternative ways to generate Java client out of OSB WSDL?
    Please assist.
    Thanks,
    Ani

    Hi Anuj-
    My proxy was generated out of business ,i get 2 wsdl like master-child .Master wsdl holds referecnce to child wsdl.I hope wsdl generation is fine.
    When i invoke the proxy wsdl url from Java client ,i get below error -
    Exception in thread "main" AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Invalid element in com.oracle.xmlns.pcbpel.adapter.db.PhysicalTampered_Meter.PhysicalTampered_MeterOutput - PhysicalTampered
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in com.oracle.xmlns.pcbpel.adapter.db.PhysicalTampered_Meter.PhysicalTampered_MeterOutput - PhysicalTampered
         at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
         at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
         at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
         at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
         at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
         at org.apache.axis.client.Call.invoke(Call.java:2467)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.oracle.xmlns.pcbpel.adapter.db.CoreAnalytics.PhysicalTampered_Meter.PhysicalTampered_Meter.PhysicalTampered_Meter_pttBindingStub.physicalTampered_Meter(PhysicalTampered_Meter_pttBindingStub.java:175)
         at Client.JavaClient.main(JavaClient.java:25)
         {http://xml.apache.org/axis/}hostname:B7B-3F-149-4HJV

  • I'm having 10.8.3 and today 17-Apr I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same proble

    I'm having 10.8.3 and today 18-Apr Thursday I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same prob.

    Make sure that the plugin is not automatically disabled in Firefox:
    Clinton

  • Run Clear Case command from java and save the out put in to a file.

    Can any one help me out ...
    I want to execute Clear case command from a java and want to save the out put of this command to a file.
    I am naot able to find out how to start..
    Message was edited by:
    chandra_verma

    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to clear the cache from Mac Book Pro

    What is the simplest way to clear out the cache from my Mac Book Pro?

    I will also endorse Thomas_r's comments.  If anything, I would use OnyX, which is a well known maintenance tool.
    Beware that there is also an "onyxmac" website, which is malware and to be avoided...
    The OnyX developer is Titanium software, here:
    http://www.titanium.free.fr/downloadonyx.php

  • Clear portal navigation cache from java

    Hi,
    I've written a navigation connector service based on the example in the ep6 pdk. It works fine but if I make changes to its configuration so that some new navigation entries should appear/disappear, it may last up to 2 hours until they show up. I think the portal caches the navigation entries for each user. Is it possible to clear the nav cache  for certain/all users with a java statement?
    thanks in advance,
    Markus

    Hi,
    if you know what you're doing and what the consequences of programming against a not-public API are, you could do the following:
    CacheAccess cacheAccess = CacheAccess.getAccess("prt");
    cacheAccess.invalidate();
    build time dependency:
    compile against j2ee\cluster\dispatcher\bin\ext\com.sap.ip.basecomps\BaseComps.jar
    run time dependency:
    add the SharingReference value SAPJ2EE::library:com.sap.ip.basecomps to your portal component deployment descriptor (dist/PORTAL-INF/portalapp.xml)
    BR, Fabian

  • Need to call webservice WSDL directly from Java code

    Hi All,
    I hope u all are doing great.
    I am new to web services and i have a requirement where i need to call the webservice directly from the java code, we dont need any middle layer(via proxy n all).
    Can you all please help me on this, we are using Jdeveloper 11g and we do have WSDLs
    we shld be able to use the wsdl in code and pass the request and get the request
    Any help will be appreciated
    Thanks

    @Puthanampatti     
    Thanks, but i already went through this link and seems this link also says we need to access webserivice through stub,dii etc.
    I want straught java code to access webservice without any tier in between
    Thanks

  • How to clear browser cache using java program.

    Is this really feasible that we can delete browser history,cookie and downloaded client side files like js and css file using some java program.
    actually everytime i have to logged out from my application and manually i have to delete all files to see the changes.
    please advice.
    thanks in advance.

    You can write something like this:
    (replace "C:/Stuff" with the path of the folder you wish to delete)
    import java.io.*;
    public class FileDeleter
         public static void main(String[] args)
              deleteContentsInFolder("C:/Stuff");
         public static void deleteContentsInFolder(String path)
              File folder = new File(path);
              File[] contents = folder.listFiles();
              for (File f : contents)
                   if (f.isFile())
                        f.delete();
                        System.out.println("Deleted file: " + f);
                   else
                        System.out.println("Cannot delete: " + f);
    }Edited by: Java-for-Linux on Aug 13, 2009 5:36 PM

  • How do I clear history/cache from safari.

    I've gone to safari settings and cleared cache/history/cookies but previous pages still show up if I go back using the browser arrow.,
    How do I clear previously viewed web pages

    Go to Settings>Safari and delete cache and history.

  • How do i clear my cache from a failed mac 10.7.5 download

    Hi all,
    I tried to update from OSx 10.7.3 to the combo 10.7.5 through software updater and it failed at 99% saying its corrupt.  How do I delete this attempt from my cache so I can try again?  It says its still at 99%.  Any help is greatly appreciated!
    Thanks,

    Just DL the combo and manually run it on your machine, bypassing the Software Update mechanism.

  • WSDL generated from java class - how to include headers?

    I am using the servicegen ant task and generating a web service based on a java class. I would like to include a username and password in the soap header and read that info using a handler. I am able to get that working, but how do I get the auto-generated WSDL to include the username/password header information? Is there something that I have to do in the handler so that this information is included in the WSDL?
    Thanks,
    Mike

    I did do this and I got the following error when deploying to the Stand-alone OC4j:
    Operation failed with error:
    Error compiling
    :D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBOperationsWSApp-DBData-WS\WebServices: Error instantiating compiler: webservice artifact generation failed :oracle.j2ee.ws.common.tools.api.ValidationException : Exception declaration mismatch between Implementation: dbdatapackage.DBDataOperations and Interface: dbdatapackage.DBDataWS. Impl class Method: getData declares exceptions not declared by the interface (java.lang.Exception)
    I am quite sure what it is saying. It generated the code for the Interface: dbdatapackage.DVDataWS. Impl class. Why would it not do it right? What expection is it complaining about? java.lang.Exception?

  • API access to Java Plug-In "x: clear classloader cache" in Java Console

    I am using some third-party tools in a Java application I am developing.
    I am encountering an error that can be worked around manually by issuing the subject command at the appropriate time. Is there API access to this functionality, so that I can programatically invoke the workaround?
    Thanks in advance for your time and consideration.

    Well, I finally came to a solution that is acceptable at least to me, if not ideal. I've started using the BouncyCastle lightweight API. This makes my code somewhat more complicated, and I had to bundle up all the BouncyCastle classes that I'm using into a jar file, and download that to my applet along with my client jar file (after signing the jar files). Using this Lightweight API bypasses the Cipher.getInstance() method all together, and is a little harder to use, but at least everything is working consistently now.
    I still believe this to be a bug either in the ClassLoader or the Cipher.getInstance() method. I intend to try to write a test applet that reproduces the error in a more simple way and if I can pull that off, I'll submit a bug report to Sun.
    Thanks to all who responded!!
    Steve

Maybe you are looking for

  • Contents of a Flash file

    Hi First I need to say that I am not used to flash, so it might be a fairly simple question. I've received some FLAs to translate and a structured folder with some SWFs inside for reference. The SWF files shows a rich dinamic presentation but the FLA

  • Too mane Erro 83 (2000 errors !)

    GWCHECK with content check. One user have more then 2000 errors: Error 83. This example records: - From: Petrov Sergey - Date: Jan 10, 2006 - First archive attempt date: Jan 10, 2008 - Number of archive attempts: 1 - Error number on last Archive atte

  • Where is the window border stored?

    If you open a finder or system prefs window, or even the top of an app like firefox, you have that ugly gray border where the search bar and window-resize buttons are. I just want to know where the resource for it is. I know it should be in disk Libr

  • Setting up prefs for code view fonts and sizes

    using cs5 i copied some pages in from another computer... the fonts and sizes in code view are too small. in prefs - fonts - I made them bigger - then said apply source formatting but they don't always seem to stick - maybe the next day they are smal

  • C# Table of Blob

    I want to pass a collection of blob as a parameter in the procedure. Collection of simple types I pass this way: OracleParameter variable = new OracleParameter(); variable.ParameterName = "IN_VARIABLE"; variable.OracleDbType = OracleDbType.Object; va