Fault tolerance client /server

hi
i use a very basic client/server socket program
very similar to sun:
http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html
many client can connect to the server...
i would like to add a fault tolerance...
a client try to connect a few time... that don't work, the client try to the second server...
does a need to do something similar to
public class KKMultiServer {
    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket1 = null;
        ServerSocket serverSocket1 = null;
        boolean listening = true;
        try {
            serverSocket = new ServerSocket(4444);
            serverSocket = new ServerSocket(4445);
        } catch (IOException e) {
            System.err.println("Could not listen on port.");
            System.exit(-1);
        while (listening){
         new KKMultiServerThread(serverSocket1.accept()).start();
            new KKMultiServerThread(serverSocket2.accept()).start();
        serverSocket1.close();
        serverSocket2.close();
}thanks

i need your help to finis my code
what i want to do is to create to start 2 tread of server in my class main server....
and each class server start a thread for each connection...
each time a client do a request, i count it
theses method is in server class
import java.net.*;
import java.io.*;
public class ServerMain {
    public static void main(String[] args) throws IOException {
         //will call 2 time server here         
         Server server1 = new Server();
         Server server2 = new Server();
         server1(4444).start();
         server2(4445).start();
import java.net.*;
import java.io.*;
public class Server extends Thread{
    private static int nbRequete=0;
    public synchronized int ajouterRequete(){
        return nbRequete++;
    public synchronized int getRequete(){
        return nbRequete;
    public int port=0;
    public Server(int port) {
        super("Server");
        this.port = port;
    public void run() {
        ServerSocket serverSocket = null;
        Socket s=null;
        boolean listening = true;
       // Server server = new Server();
       // int port;
        try {
             //will put a port variable
            serverSocket = new ServerSocket(port);
            s=serverSocket.accept();
        } catch (IOException e) {
            System.err.println("Could not listen on port.");
            System.exit(-1);
        System.out.println("server run, wait connecting....");
        while (listening)
            new ServerThread(s).start();
        //serverSocket.close();
import java.net.*;
import java.io.*;
public class ServerThread extends Thread {
    private Socket socket = null;
    public ServerThread(Socket socket) {
        super("ServerThread");
        this.socket = socket;
    public void run() {
        try {
            System.out.println("connexion successfull");
            System.out.println("Attente de l'entree.....");
            PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
            BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                            socket.getInputStream()));
            String inputLine, outputLine;
            while ((inputLine = in.readLine()) != null) {
                System.out.println("Server: " + inputLine);
                inputLine = inputLine.toUpperCase();
                out.println(inputLine);
                if (inputLine.equals("Bye."))
                    break;
            out.close();
            in.close();
            socket.close();
        } catch (IOException e) {
            e.printStackTrace();
}the server need to have different port
i'm a little bit confuse
i don't know how to finish this project
:confused:
i have some error i don't understand
ServerMain.java:11: cannot find symbol
symbol  : constructor Server()
location: class Server
        Server server1 = new Server();
                         ^
ServerMain.java:12: cannot find symbol
symbol  : constructor Server()
location: class Server
        Server server2 = new Server();
                         ^
ServerMain.java:13: cannot find symbol
symbol  : method server1(int)
location: class ServerMain
        server1(4444).start();
        ^
ServerMain.java:14: cannot find symbol
symbol  : method server2(int)
location: class ServerMain
        server2(4445).start();
        ^
4 errors

Similar Messages

  • Fault Tolerance - MCS 7825 H3 & MCS 7835 H2 Servers

    Hi,
    I have enabled network fault tolerance on my CUC and CCM Servers, i thought after enabling the network fault tolerance the server would change the mac address to Virtual mac address which indeed it may affect the licenses.
    But after enabling fault tolerance and restarting the server also i didn't see any change in the MAC ID. Its the same MAC ID.
    Pls advice.
    Regards
    Jagadish G

    Hi Jagadish,
    do u get the option of 1000 MB/s  when u configure set network nic eth0  speed ? can u check?
    secondly, Bond 0 would be showing Auto disabled which cannot be changed.
    Can u share snapshot of show netowrk failover?
    regds,
    aman

  • Fault tolerant server on SLES?

    Hi,
    How would you go go about setting up a fault tolerant suse file server? Id like to mirror the edirectory and the primary NSS shares to another server. Is there a suse equivalent method of widows server active directory replication and distributed file system? Currently running SLES 10 SP3.
    Thanks

    On 20/03/2014 23:16, ataubman wrote:
    > You say SLES but you've posted in OES ... which is it?
    I suspect OES since eDirectory and NSS also mentioned. Perhaps at0mic
    can post the output from "cat /etc/*release" so we know.
    > But as a general answer clustering is probably what you're looking for.
    If OES then look at Novell Cluster Services but if SLES then High
    Availability Extension.
    HTH.
    Simon
    Novell Knowledge Partner
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.

  • Experience VMware Fault Tolerance with Central Services/SRM for Appl Servs?

    Hello all, I am looking for real-life experience of VMware Fault Tolerance enabled for SAP Central Services (ABAP/Java). FT is valid only for 1 vCPU VM's, therefor a probable good match with CS. Tips & trics are welcome.
    If SRM is available, is it worthwhile to use it for protecting Application Servers in a dual datacenter? That way, the full capacity is guaranteed even after a disaster (resources should be available of course in the surviving DC).
    So, are the VMware features like SRM and FT actually being used to protect SAP environments, and if yes, to any satisfaction?
    Thanks in advance for your replies,
    Roland

    Hi Roland,
    Did you finally use VMWare Fault Tolerance ? what has been your experience?
    thanks,
    Thomas 

  • Fault tolerant EJBs

    Hello,
    I'm trying to set up a fault tolerant EJB service. I have two application servers with EJB's deployed on them. The two deployments are identical. Client is a portal application. The EJB client configuration file sun-web.xml looks like this:
    >
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC
    "-//Sun Microsystems Inc.//DTD Sun ONE Application Server 7.0 Servlet 2.3//EN"
    "file:/etc/opt/SUNWps/dtd/sun-web-app_2_3-0.dtd">
    <sun-web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/userService</ejb-ref-name>
    <jndi-name>corbaname:iiop:server1:3700,iiop:server2:3700#ejb/userService</jndi-name>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/chosenService</ejb-ref-name>
    <jndi-name>corbaname:iiop:server1:3700,iiop:server2:3700#ejb/chosenService</jndi-name>
    </ejb-ref>
    </sun-web-app>
    Everything works fine as long as server1 is up. The system doesn't work after I shut it dow. On the client I get this exception:
    >
    [#|2006-02-01T13:13:07.939+0200|WARNING|sun-appserver-ee8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=12;|"IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 10.111.143.169; port: 3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
    at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:153)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:244)
    Why doesn't it switch to server2? Did I miss something?

    Hi,
    did you try to specify the JVM parameter -Dcom.sun.appserv.iiop.endpoints=<server1>:port1,<server2>:port2 for the jvm where the client is running?

  • UOO sequencing along with WLS high availability cluster and fault tolerance

    Hi WebLogic gurus.
    My customer is currently using the following Oracle products to integrate Siebel Order Mgmt to Oracle BRM:
    * WebLogic Server 10.3.1
    * Oracle OSB 11g
    They use path service feature of a WebLogic clustered environment.
    They have configured EAI to use the UOO(Unit Of Order) Weblogic 10.3.1 feature to preserve the natural order of subsequent modifications on the same entity.
    They are going to apply UOO to a distributed queue for high availability.
    They have the following questions:
    1) When during the processing of messages having the same UOO, the end point becomes unavailable, and another node is available in order to migrate, there is a chance the UOO messages exist in the failed endpoint.
    2) During the migration of the initial endpoint, are these messages persisted?
    By persisted we mean that when other messages arrive with the same UOO in the migrated endpoint this migrated resource contains also the messages that existed before the migration?
    3) During the migration of endpoints is the client receiving error messages or not?
    I've found an entry on the WLS cluster documentation regarding fault tolerance of such solution.
    Special Considerations For Targeting a Path Service
    When the path service for a cluster is targeted to a migratable target, as a best practice, the path
    service and its custom store should be the only users of that migratable target.
    When a path service is targeted to a migratable target its provides enhanced storage of message
    unit-of-order (UOO) information for JMS distributed destinations, since the UOO information
    will be based on the entire migratable target instead of being based only on the server instance
    hosting the distributed destinations member.
    Do you have any feedback to that?
    My customer is worry about loosing UOO sequencing during migration of endpoints !!
    best regards & thanks,
    Marco

    First, if using a distributed queue the Forward Delay attribute controls the number of seconds WebLogic JMS will wait before trying to forward the messages. By default, the value is set to −1, which means that forwarding is disabled. Setting a Forward Delay is incompatible with strictly ordered message processing, including the Unit-of-Order feature.
    When using unit-of-order with distributed destinations, you should always send the messages to the distributed destination rather than to one of its members. If you are not careful, sending messages directly to a member destination may result in messages for the same unit-of-order going to more than one member destination and cause you to lose your message ordering.
    When unit-of-order messages are processed, they will be processed in strict order. While the current unit-of-order message is being processed by a message consumer, the next message in the unit-of-order will not be delivered unless it is to the same transaction or session. If no message associated with a particular unit-of-order is processing, then a message associated with that unit-of-order may go to any session that’s consuming from the message’s destination. This guarantees that all messages will be processed one at a time and in order, and any rollback or recover will not prevent ordered processing of the messages.
    The path service uses a persistent store to save the state of which member destination a particular unit-of-order is currently using. When a Path Service receives the first message for a particular unit-of-order bound for a distributed destination, it uses the normal JMS load balancing heuristics to select which member destination will handle the unit and writes that information into its persistent store. The Path Service ensures that a new UOO, or an old UOO that has no messages currently on any destination, can be enqueued anywhere in the cluster. Adding and removing member destinations will not disrupt any existing unit-of-order because the routing decision is made dynamically and those decisions are persistent.
    If the Path Service is unavailable, any requests to create new units-of-order will throw the JMSOrderException until the Path Service is available. Information about existing units-of-order are cached in the connection factory and destination servers so the Path Service availability typically will not prevent existing unit-of-order messages from being sent or processed.
    Hope this helps.

  • How make DNS for real fault tolerance?

    Hi,
    Is there any change to make DNS-server fault tolerance for clients (member servers and applications)
    Scenario:
    Primary and Secodary DNS (not AD-integrated)
    If we like to move or rebuild crashed DNS-server from old to new host, there will came service brake for one DNS-server (new server is up and running some time before DNS have been configured (you can ping it and icmp response)), 
    DNS-client is happy for that thus there is no DNS-service or zones and not use secondary DNS-server cause server answer with ICMP and criticals softwares stop working. Is there any change for DNS real fault tolerance?
    I have understood this feature is same in Windows world and non-Windows world

    Hi,
    According to your description, my understanding is that there will came service brake for one DNS server when moving or rebuilding crashed DNS-server from old to new host.
    There are 2 DNS servers: primary and secondary DNS server, both are not AD-Integrated.
    DNS design specifications recommend that at least 2 DNS servers be used to host each zone. For standard primary-type zones, a secondary server is required to add and configure the zone to appear to other DNS servers in the network. This design may provide
    a basic level of fault tolerance for resolving names. Once primary DNS server crashes, secondary DNS server is ready only and can’t process update requests, so we need to manually change the secondary server to primary, and then try to repair the crashed one
    or add another DNS server.
    Comparatively, AD-Integrated primary zones, secondary servers are supported but not required for this purpose. For example, two DNS servers running on domain controllers can be redundant primary servers for a zone, providing the same benefits of adding a
    secondary server while including additional advantages.
    Depending on your need, and choose a better one.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Fault tolerance for network printing

    What options are available to provide fault tolerance for network printing?  Currently, all our shared printers are on ServerA.  Is it possible to have similar shared printers on ServerB and have the clients automatically switch to Server B if
    Server A became unavailable?  We don't care about load balancing as much as fault tolerance.  Thanks to all who post!

    A failover cluster node ? (not in nlb;
    Servers in a Network Load Balancing (NLB) failover cluster cannot be used as print servers in Windows Server 2008 )
    For environments that require high availability, you can use a failover cluster as a print server.  If a node in the cluster fails, all print functionality will fail over to the next node in the cluster.  To improve failover times, we recommend
    that the administrator for the cluster force failover to each node when new print drivers are installed on the server.  During a failover, the driver installation is forced to occur on the active node.  The installation of the driver on each node
    can require several minutes. Forcing this installation process during maintenance will make sure that any unplanned failovers during usual operation will be very quick, because the drivers will already be installed on each node.
    Regards, Philippe
    Don't forget to mark as answer or vote as helpful to help identify good information. ( linkedin endorsement never hurt too :o) )
    Answer an interesting question ? Create a
    wiki article about it!

  • Fault-tolerant bypass capabilities

    This question gets asked a lot in this forum. I got this link off Cisco's website...I'm not affiliated, I just thought it might be helpful. When Cisco says you need a 3rd party solution for this...this is what they mean:
    http://www.csc.shoremicro.com/html/app.htm

    If you set the backhaul-session-manager into set mode after entering the bsm, it Creates a fault-tolerant or non-fault-tolerant session set with the client or server option
    Router(config)# backhaul-session-manager
    Router(config-bsm)#

  • What is the difference with 1 Lync Standard Edition using VMware Fault Tolerant and 2 Lync Enterprise Edition in a cluster

    Hi
    As I will be planning to setup Lync on a virtual environment regardless if it is going to be the Standard or Enterprise edition.
    I am thinking if we use 1 Lync Standard Edition for the FE Server with Fault Tolerance enabled, would it be as good as having 2 Lync Enterprise Edition in a cluster?
    Thanks

    Hi there,
    the main difference between using Lync enterprise and lync standard is the High availability and scalability feature,
    you will get fault tolrance setup with one lync standard edition running on whatever hyper-v and vmware platform, however this will not be an optimum highly available solution for the simple reason that upon a host server failure the image will move
    to another available host server and users will lose their active session durin the move process.
    on the other hand what you will gain if you the Enterprise edition is that you will have a unique identity to which all lync clients will be connecting and this identity is the lync pool identity which is in the background handled with multiple Front-End
    servers and AV conferencing pools, mediation pools and so on.
    In additioin when you have multiple front-ends in place, those front-ends will not work in active/passive mode as in a regular cluster, in contrairy all the servers will be active and handeling the work load.
    hope i make it a bit clear, if yiu need more info i am ready
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread
    Thanks for the response, being a small environment of 300 users, standard edition would be more than enough for me but the fact for HA is very critical for me at this stage. That is why I am exploring the option of using VMware FT.
    I don't quick get what you mean on the users having to move to another image as my understanding of FT is in the event of a host failure (not VM failure like bluescreen etc), the VM will fail over to another host with no lost in any ping etc.
    So, in theory, the Lync Server VM would never know that the parent ESX host had failed and it needed to failover to another host. Hope my understanding is correct.
    Thanks

  • Load Balancing & Fault tolerance in Oracle Apps

    Hello
    I am pretty new to Oracle Apps and Oracle 9iAS
    We are trying to asked to find out the ways of deplying load balancing and fault tolerance in Oracle Apps
    I have gone thru the following articles of metalink and some more from google
    Configuring Web Cache as a Load Balancer for Application Servers
    Create new middle tier node in existing Apps 11i environment using cloning and then load balance
    Integrating and using Web Cache with Forms 9i for Load Balancing
    Running Multiple OC4J Instances From a Single Install of 9iAS 1.0.2.2
    LOAD BALANCING ORACLE APPLICATIONS ON UNIX
    Load Balancing in 11i
    OC4J Clustering Setup
    OC4J Load Balancing for Forms 9i
    Setting up 11i E-Business suite using a hardware load balancer
    Sharing an APPL_TOP in Oracle Applications 11i
    In Oracle Apps Concepts pdf, found that
    Load balancing occurs when there are multiple installations of web server, forms server, reports server, concurrent manager server etc
    Lets consider forms server component of middle tier
    Can there be multiple INSTANCES of forms server within SINGLE INSTALLATION ???
    If it has to be MULTIPLE INSTALLATIONS, then it will require multiple physical machines
    What is software load balancing then ???
    Also read that
    Oracle 9i AS instance is combition of Oracle HTTP Server (OHS) and one or more instances of Oracle9iAS Container for J2EE (OC4J)
    Thus software load balancing can be implemented for Web server component of middle tier using multiple instances of OC4J ???
    Forms metrix server configuration is hardware load balancing ??
    What about Oracle9iAS Web Cache clustering ??
    Please clarify the doubts and suggest me the way
    Thanks a lot

    dear all can any one help me on the following;
    We want to install Oracle Apps 11.5.9 on 4 IBM AIX 5L boxes, the first node
    will hold the database , concurrent and Admin Tiers. as for the other 3 nodes
    it will hold the Forms/Web Tiers and we need to use forms metrics for load
    balancing taking into consideration that we can't use Shared APPL_TOP. we tried
    to find the way how to install and configure this solution but all the
    documents are talking aboout the concept only and this concept is applicable.
    We need the exact steps on how do the installation either using rapidwiz or any
    thing else
    fadi

  • Load balancing and fault tolerance in BPEL PM

    BPEL documentation talks about the ability of clustering processes in BPEL PM Server for fault tolerance and Load balancing. Can anybody tell me how is it done?
    Thanks

    Have you seen these links?
    http://www.oracle.com/technology/products/ias/hi_av/BPEL_HA_Paper.pdf
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28980/clusteringsoa.htm#CHDCGIEJ

  • RAID not fault tolerant on K7N2 Delta 2 Platinum?

    Hi all,
    I'd really appreciate your help with this puzzle.....
    Got a new mobo & 3k Barton chip.... Installed 'em into rig described in my sig below.
    Minimum hardware was installed for this operation:
    new mobo & chip
    1 gig mem card
    CDRW
    Floppy drive
    SATA drives x2 each on separate SATA port
    video card
    Entered Bios on 1st boot:
    Set SATA to enabled in IDE RAID window
    Boot priority to CD Rom for install
    Hard disk boot priority to SATA Mirror
    F10'ed into NVRAID BIOS:
    Set up the RAID as a mirror (RAID 1) with optimal stripe size
    cleared & reformatted both discs
    Mirror is recognised as healthy on reboot.
    Booted into WIN XP SP2 slipstreamed install (this disc has been used successfully before on my previous mobo so I know it works)
    Pressed F6 & loaded NV RAID class driver & NV nForce Storage Controller successfully
    Did the Windows install routine & this is where it starts to deviate from what is written in the manual....
    the request to install the RAID driver during the GUI part of the install never appeared (but this is described as a "might be prompted" in the manual so I wasn't too bothered by its non-appearance) and the driver floppy did spin up at one point so I assumed it had installed each drive automatically
    Went into WinXP and finished the install...
    Surprisingly, both RAID drives are now visible individually in the systray as removable drives under the SAFELY REMOVE HARDWARE icon.
    Went into Disk Management expecting the Initialize & Convert Disk Wizard to appear but no sign of it: RAID drives are visible as ONE drive (as you would expect) but are NOT fault tolerant.
    Things I've done differently each time I installed:
    Tried to convert the mirror to a dynamic disc but this also failed every time.
    Installed nForce2 system drivers before & after going into Disk Management on different installs
    Installed NVRAIDMAN.exe and this reports the mirror as functional & healthy.
    Left the floppy in the drive during the GUI part of WIN XP installing itself and removed it on other install
    I've read the nvRAID FAQ & this isn't covered by it.
    Can't find any reference to the Initialize & Convert Disk Wizard in Microsoft Help & Support, except in a Windows Server 2003 KB article, which I can't find again....
    I've repeated the whole process several times to ensure I haven't missed anything, but the end result is always the same.
    So I now have a weird mirror array that is not fault tolerant in Windoze Disk Management - is it doing what it's supposed to?
    Any ideas??

    As it seems you are doing extensive tests, i would suggest a simple one:
    install as you have (where the RAID manager tells you it is setup correctly and redundant and windows does not see it as redundant), power off and take one drive off. Reboot and see the result. (it should still work and the controller should tell you that redundancy is not valid anymore)
    After that, power off, replug the drive and see if it will reconstruct the array.
    Try for the 2nd drive.
    Then, you will be sure that redundancy is present...
    It seems that with SATA, you can even hotswap the drives (hence the appearance of the drives in the SAFELY remove box).

  • Fault tolerant, highly available BOSE XI R2 questions

    Post Author: waynemr
    CA Forum: Deployment
    I am designing a set of BOSE XI R2 deployment proposals for a customer, and I had a couple of questions about clustering. I understand that I can use traditional Windows clustering to setup an active/passive cluster for the input/output file repositories - so that if one server goes down, the other can seamlessly pick up where the other left off. On this Windows-based active/passive cluster, can I install other BOSE services and will they be redundant, or will they also be active/passive. For example: server A is active and has the input/output file repository services and the Page Server. Server B is passive and also has the input/output file repository services and the Page Server. Can the page Server on B be actively used as a redundant Page Server for the entire BOSE deployment? (probably not, but I am trying to check just to make sure) If I wanted to make the most fault-tolerant deployment possible, I think I would need to:Setup two hardware load-balanced web front-end serversSetup two servers for a clustered CMSSetup two web application servers (hardware load-balanced, or can BOSE do that load-balancing?)Setup two Windows-clustered servers for the input/output file repositoriesSetup two servers to provide pairs of all of the remaining BOSE services (job servers, page servers, webi, etc.)Setup the CMS, auditing, and report databases on a cluster of some form (MS SQL or Oracle)So 10 servers - 2 Windows 2003 enterprise and 8 Windows 2003 standard boxes, not including the database environment.Thanks!

    Post Author: jsanzone
    CA Forum: Deployment
    Wayne,
    I hate to beat the old drum, and no I don't work for BusinessObjects education services, but all of your questions and notions of a concept of operations in regards to redundancy/load balancing are easily answered by digesting the special BO course "SA310R2" (BusinessObjects Enterprise XI R1/R2 Administering Servers - Windows).  This course fully covers the topics of master/slave operations, BO's own load balancing operations within its application, and pitfalls to avoid.  Without attending this course, I for one would not have properly understood the BusinessObjects approach and would've been headed on a collision course with disaster in setting up a multi-server environment.
    Best wishes-- John.

  • Throwing fault to client

    hi all ...first of all i use 10.1.3.1.
    1)I have defined a fault in service.xsd:
    <complexType name="SubscriberError">
    <sequence>
    <element minOccurs="1" maxOccurs="1" name="errorCode" type="int"/>
    <element minOccurs="1" maxOccurs="1" name="errorDesc" nillable="true" type="string"/>
    </sequence>
    </complexType>
    2)I used this in my service.wsdl:
    <message name="SubscriberError">
    <part name="fault" type="client:SubscriberError"/>
    </message>
    3)and finally i changed the port type in service.wsdl as following:
    <portType name="denek">
              <operation name="process">
                   <input message="client:denekRequestMessage" />
                   <output message="client:denekResponseMessage"/>
    <fault message="client:SubscriberError" name="SubscriberError"/>
              </operation>
    </portType>
    Here is the scenario and error :
    When i want to throw a fault from BPEL(in reply activity,i set fault message as a response),fault message goes to client as i expected but at every response i see following error in log files . Is it normal to see these in log files and how can i prevent this?
    <2007-05-14 14:13:39,079> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": faultName: {{http://xmlns.oracle.com/denek}SubscriberError}
    messageType: {{http://xmlns.oracle.com/denek}SubscriberError}
    parts: {{fault=oracle.xml.parser.v2.XMLElement@1757d61}}
    com.oracle.bpel.client.BPELFault: faultName: {{http://xmlns.oracle.com/denek}SubscriberError}
    messageType: {{http://xmlns.oracle.com/denek}SubscriberError}
    parts: {{fault=oracle.xml.parser.v2.XMLElement@1757d61}}
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
    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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:455)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:278)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:129)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    THKS

    thnks Mark
    Although i set the audit level to "off", nothing changed. This exception occurs under opmn logs as i mentioned before.
    Also i send the fault as mentioned in first post.There is no problem to send fault(i see the fault in client side).
    My problem is seeing the following exception in log files.
    May be you can help me about the problem in that log files. Can you generate this according to my explanations-in first post.
    Also i can send you the case(a sample project to generate this) but i don t know how to attach it.
    thks again

Maybe you are looking for