StreamCorruptedException error

I´m geting the folowing error:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.io.StreamCorruptedException
This is happening when I´m executing one method that get as argument
a value object "MercadoFCDBean.setData(CompanhiaVO valueobject)" .
The versions of the CompanhiaVO are the same in the client and in the
server. The client is a Tomcat 4.1.
What is the possibles causes?

I´m geting the folowing error:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.io.StreamCorruptedException
This is happening when I´m executing one method that get as argument
a value object "MercadoFCDBean.setData(CompanhiaVO valueobject)" .
The versions of the CompanhiaVO are the same in the client and in the
server. The client is a Tomcat 4.1.
What is the possibles causes?

Similar Messages

  • StreamCorruptedException invalid type code: 01

    ok here's the deal. this is another one of those "help me, objectinput/outputstream sucks" anyways, i'm making a program which will play a board game between two computers over a ServerSocket network and I'm using a dataTransfer class to hold any chat messages (there's a chat box incorporated in the UI), and the matrices of the different players' pieces. It was working fine until I added in the matrices. It also works fine when I run two instances of the program on the localhost, but when it's on two seperate computers I get a StreamCorruptedException error on the receiving end at this line:
    input=(dataTransfer)in.readObject();
    here's what my dataTransfer class looks like:
    public class dataTransfer implements Serializable {
         private String s;
         private boolean chat;
         private int[][]hostPieces;
         private int[][]clientPieces;
         public dataTransfer(String s1, int[][]p1,int[][]p2, boolean c)
              chat=c;
              s=s1;
              hostPieces=p1;
              clientPieces=p2;
         public dataTransfer(int[][]p1,int[][]p2)
              chat=false;
              hostPieces=p1;
              clientPieces=p2;
         public String getString(){return s;}
         public boolean isChat(){return chat;}
         public int[][] getHostPieces()
              return hostPieces;
         public int[][] getClientPieces()
              return clientPieces;
    }I'm guessing that there's something about matrices that will not allow me to send them over the ObjectOutputStream and/or receive them on the ObjectInputStream. Any tips, suggestions, comments?

    ok, here's my connection method, which is only called once and which sets up my socket and in and out streams
    public void connect()
        if(isHost){
            while(!connected){
        try{
        srvr=new ServerSocket(1234);
        skt=srvr.accept();
        if(skt.isConnected())connected=true;}catch(Exception e){}}}
        else{
            while(!connected){
                try{
                    skt=new Socket(hostIP,1234);
                    if(skt.isConnected())connected=true;
                }catch(Exception e){e.printStackTrace();}
        xtext.append("Computer: Connected"+"\n");
        if(skt.isConnected()){
        try{
         out=new ObjectOutputStream(skt.getOutputStream());
        in=new ObjectInputStream(skt.getInputStream());
        }catch(Exception e){e.printStackTrace();}}
    }and here's my method which sends the text. while the actual dataTransfer class contains matrices, i've only gotten to the point of sending the text messages but even that's not working
    public void SendText(String s)
    data=new dataTransfer(s+"\n",myPieces,myPieces,true);
        try{
        out.writeObject(data);
        out.flush();
        out.reset();}catch(Exception e){e.printStackTrace();}
    }and here is the code that's giving me so much trouble
    while(!inGame)
             if(connected){
             try{
                    input=(dataTransfer)in.readObject();
                    System.out.println("hello");
                    }catch(Exception e){e.printStackTrace();}
                    if(input!=null)xtext.append("Opponent: "+input.getString());}
                repaint();
            }hope that's decently clear. any help is much appreciated

  • Error when starting weblogic 10.0: BEA-149508

    When starting our weblogic 10.0 server, we get a <BEA-149508> error, indicating JMX cannot talk to the admin server. This is unusual, because immediately before we get this error, we log:
    <BEA-149511> <Established JMX Connectivity with the Adminstration Server AdminServer at service:jmx:t3://(our IP address) /jndi/weblogic.management.mbeanservers.domainruntime.>
    Our investigation is getting nowhere, and we'd appreciate any help you can offer. Thanks.
    -Matt Kaiser
    full error message:
    <BEA-149508> <Unable to establish JMX Connectivity with the Adminstration Server.
    StackTrace:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.io.StreamCorruptedException: invalid type code: AC
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:217)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
         at javax.management.remote.rmi.RMIConnectionImpl_1000_WLStub.invoke(Unknown Source)
         at weblogic.management.remote.common.RMIConnectionWrapper$15.run(ClientProviderBase.java:639)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.security.Security.runAs(Security.java:61)
         at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:637)
         at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:978)
         at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainRuntimeService.notifyDomainRuntime(RegisterWithDomainRuntimeService.java:134)
         at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainRuntimeService.start(RegisterWithDomainRuntimeService.java:82)
         at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainRuntimeServiceLate.start(RegisterWithDomainRuntimeServiceLate.java:17)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    java.io.StreamCorruptedException: invalid type code: AC
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1642)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    What's your jvm version ?
    You must use 1.5 jvm.
    Example: If you use jvm 1.6, the managed servers starts but error <BEA-149508> and you cannot admin you instance.
    With an official 1.5, no probs
    Fax

  • When using URLConnection read input stream error

    hi,
    In my applet I build a URLConnection, it connect a jsp file. In my jsp file I refer to a javaBean. I send two objects of request and response in jsp to javaBean. In javabean return output stream to URLConnect. At that time a error happened.WHY???(Applet-JSP-JAVABean)
    Thanks.
    My main code:
    APPLET:(TestApplet)
    URL url = new URL("http://210.0.8.120/jsp/test.jsp";
    URLConnection con;
    con = url .openConnection();
    con = servlet.openConnection();
    con.setDoInput( true );
    con.setDoOutput( true );
    con.setUseCaches( false );
    con.setRequestProperty( "Content-Type","text/plain" );
    con.setAllowUserInteraction(false);
    ObjectOutputStream out;
    out = new ObjectOutputStream(con.getOutputStream());
    Serializable[] data ={"test"};
    out.writeObject( data );
    out.flush();
    out.close();
    //until here are all rigth
    ObjectInputStream in = new ObjectInputStream( con.getInputStream() );//happened error
    JSP:
    TestBean testBean = new TestBean ();
    testBean .execute(request, response);
    JAVABEAN:
    public void execute( HttpServletRequest request,
    HttpServletResponse response )
    ObjectInputStream in = new ObjectInputStream( request.getInputStream() );
    String direct = (String) in.readObject();
    System.out.prinltn("direct");
    ObjectOutputStream out = new ObjectOutputStream( response.getOutputStream() );
    SerializableSerializable[] data ={"answer"};
    out.writeObject( data );
    out.flush();
    out.close();
    Error detail:
    java.io.StreamCorruptedException: invalid stream header
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:729)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:251)
         at TestApplet.postObjects(TestApplet.java:172)

    you have to pay attention to the sequence of opening the streams.
    The following example is: client sends a string to server, and servlet sends a response string back.
    client side:
             URL url = new URL( "http://152.8.113.149:8080/conn/servlet/test" );
             URLConnection conn = url.openConnection();   
             System.out.println( "conn: " + conn );
             conn.setDoOutput( true );
             conn.setDoInput( true );
             conn.setUseCaches( false );
             conn.setDefaultUseCaches (false);
             // send out a string
             OutputStream out = conn.getOutputStream();
             ObjectOutputStream oOut = new ObjectOutputStream( out );
             oOut.writeObject( strSrc ); 
             // receive a string
             InputStream in = conn.getInputStream();     
             ObjectInputStream oIn = new ObjectInputStream( in );
             String strDes = (String)oIn.readObject();server side
             // open output stream
             OutputStream out = res.getOutputStream();  
             ObjectOutputStream oOut = new ObjectOutputStream( out );
             // open input stream and read from client
             InputStream in  = req.getInputStream();
             ObjectInputStream oIn = new ObjectInputStream( in );
             String s = (String)oIn.readObject();
             System.out.println( s );
             // write to client
             oOut.writeObject( s + " back" ); I have the complete example at http://152.8.113.149/samples/app_servlet.html
    don't forget to give me the duke dollars.

  • Error to add urlservice sample portlet to pages

    I have successfuly installed the JPDK and URLService,and I can see the google portlet works in the portlet repository,but when I add it to pages ,there is a lot of error:
    : Error while adding Portlets to the Page. (WWC-44012)
    An unexpected error occurred: ORA-29532: Java call terminated by uncaught Java exception: java.net.ProtocolException: Invalid Content-length header received: 3162 (WWC-43000)
    An unexpected error occurred: java.net.ProtocolException: Invalid Content-length header received: 3162
    at HTTPClient.Response.getHeaders(Response.java:663)
    at HTTPClient.Response.getStatusCode(Response.java:232)
    at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:80)
    at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:623)
    at HTTPClient.HTTPResponse.getInputStream(HTTPResponse.java:515)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(HttpProviderDispatcher.java:817)
    at oracle.webdb.provider.web.HttpProviderDispatcher.registerPortlet(HttpProviderDispatcher.java:203)
    (WWC-43000)
    any on who have had this problems before?
    how to resolve it ?thanks a lot

    thanks for reply ,now my problem is resovled ,but i meet another problem.
    That is that I can add the portlet to the page and display well,but when I try to integrate the portlet with external applicatioon by BASIC AUTH,it does not work ,WHEN i set the provider's login frequency is "never" the jserv.log displayes:
    [11/07/2002 19:37:12:182 GMT-05:00] page/Unable to get cache object from getOutputStream
    [11/07/2002 19:44:57:752 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 19:44:57:752 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 19:44:57:753 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(PortletReference,ProviderUser) *****************
    [11/07/2002 19:44:57:753 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 19:44:57:753 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 19:44:57:753 GMT-05:00] urlsample/URLSecurityManager:hasAccess(PortletReference: Return Value being returnedtrue
    [11/07/2002 19:44:57:754 GMT-05:00] urlsample/renderBody : Entering render ********************************
    [11/07/2002 19:44:57:754 GMT-05:00] urlsample/renderBody : DebugLevel = 3
    [11/07/2002 19:44:57:754 GMT-05:00] urlsample/ProviderSubscribe : Hashtable doesn't have any values. Loading from file ...
    [11/07/2002 19:44:57:754 GMT-05:00] urlsample/URLProvider:init:mapFilePath /opt/urlservices/providers/urlsample
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/URLProvider:storeSubscriberKeyPersistent: Leaving ...
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/URLProvider:loadSubscriberInfo: Entered ...
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/URLProvider:loadSubscriberInfo: Created File Inputstream ...java.io.FileInputStream@62937c
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/URLProvider:loadSubscriberInfo: Exception occured ... java.io.StreamCorruptedException: Caught EOFException while reading the stream header
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/ProviderSubscriber:getSubscriber -- ProviderId & subscriberID -- 5074441 & null
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/URLRenderer:renderBody -- subscriberID -- null
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/Before getHtpsProxyInfo
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/No httpsProxy Values specified in provider.xml
    [11/07/2002 19:44:57:755 GMT-05:00] urlsample/After checking for httpsProxy proxy tag
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/Inline pageurl received = null
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/Params fetched through readPortletPageParameters :
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream Inside
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream:Session = null
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream : Content URL Specified = http://172.20.1.6/docs/bp.asp
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream : URL Constructed = http://172.20.1.6/docs/bp.asp
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/Connection type = HTTPClient.HttpURLConnection[http://172.20.1.6/docs/bp.asp]
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream : HttpURLConnect is = HTTPClient.HttpURLConnection[http://172.20.1.6/docs/bp.asp]
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream : After doInput and doOutput
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream : After Connect
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream:After open connection
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream: Null check for session
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream: Check for Cookies != null
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream: No cookies found in servlet session.null
    [11/07/2002 19:44:57:756 GMT-05:00] urlsample/getURLStream: Before getInputStream
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/getURLStream: After getInputStreamHTTPClient.RespInputStream@4fec48
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/getUrlStream: Before returning Input Stream ...
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/UrlStream received = HTTPClient.RespInputStream@4fec48
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/renderBody:filter is not null
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/filterContent : Entering HtmlFilter filterContent *****************
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/filterContent : Url input stream ---- : HTTPClient.RespInputStream@4fec48
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/ConvertStreamToStringBuffer: Inside
    [11/07/2002 19:44:57:760 GMT-05:00] urlsample/Character encoding = ISO-8859-1
    [11/07/2002 19:44:57:761 GMT-05:00] urlsample/ConvertStreamToStringBuffer:Before close
    [11/07/2002 19:44:57:761 GMT-05:00] urlsample/ConvertStreamToStringBuffer: Leaving
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/filterContent : HtmlFilter Trim HTML Header Contents :
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/TrimHtmlHeader:Before replacing escape characters
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/TrimHtmlHeader:Token to be replaced<body
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/TrimHtmlHeader:ExcludeString1533
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/TrimHtmlHeader:Last occurence found for: <body
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/TrimHtmlHeader: Before returing after trimming
    [11/07/2002 19:44:57:762 GMT-05:00] urlsample/filterContent : URL Contents Before footerTrimTag : <body bgcolor="FFFFFF">
    <table width="410" cellpadding="3" cellspacing="5">
    <tr>
    <td align="left" valign="middle" width="360">
         <h1 style="COLOR:000000; FONT: 13pt/15pt verdana"><!--Problem-->You are not authorized to view this page</h1>
    </td>
    </tr>
    <tr>
    <td width="400" colspan="2">
         <font style="COLOR:000000; FONT: 8pt/11pt verdana">You do not have permission to view this directory or page using the credentials you supplied.</font></td>
    </tr>
    <tr>
    <td width="400" colspan="2">
         <font style="COLOR:000000; FONT: 8pt/11pt verdana">
         <hr color="#C0C0C0" noshade>
    <p>Please try the following:</p>
    <ul>
    and when I set the provider lpgin frequency to "never" the portlet allways said that "update login infomation"
    when i click the link ,and enter the username,password ,it also display the message above,the jerv.log display:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/          portal:getPortlet:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/               portletId:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    1
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:38:394 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/               language:
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/                    en
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:38:395 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:38:396 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:38:396 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/          portal:deregisterPortlet:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/               portletInstance:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/                    portletId:
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/                         1
    [11/07/2002 02:39:40:604 GMT-05:00] urlsample/                    instanceName:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         330_GOOGLE.COM PORTLET_5074441
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:40:605 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:40:606 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:40:606 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:39:46:714 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:46:714 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:46:714 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:46:714 GMT-05:00] urlsample/          portal:isPortletRunnable:
    [11/07/2002 02:39:46:714 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:46:714 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/               portletInstance:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    portletId:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         3
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    instanceName:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:46:727 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:46:728 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/          portal:isPortletRunnable:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/               portletInstance:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    portletId:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                         1
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    instanceName:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:47:144 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:47:145 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:47:146 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:47:146 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:39:47:147 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:47:147 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:39:47:354 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:47:355 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:47:355 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:47:355 GMT-05:00] urlsample/          portal:isPortletRunnable:
    [11/07/2002 02:39:47:355 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/               portletInstance:
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/                    portletId:
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/                         2
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/                    instanceName:
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:47:356 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:47:357 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/          portal:getPortlet:
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/               portletId:
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/                    1
    [11/07/2002 02:39:51:594 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/               language:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    en
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:51:595 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:51:597 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:51:597 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:39:51:854 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:51:854 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:51:854 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:51:854 GMT-05:00] urlsample/          portal:registerPortlet:
    [11/07/2002 02:39:51:854 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/               portletInstance:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    portletId:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         1
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    instanceName:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         331_WINDCHILL PORTLET_5074441
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:51:855 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:51:857 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:51:857 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:39:52:863 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:39:52:863 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/          portal:getPortlet:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/               portletId:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    1
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/               user:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                         WCADMIN
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                         PORTAL30
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                         10
    [11/07/2002 02:39:52:864 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                         2002-07-11-15:19:18
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                         928192002162PORTAL30
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    null
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/               language:
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    zh-CN
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:39:52:865 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:39:52:866 GMT-05:00] urlsample/Entering URLSecurityManager hasAccess(Portlet,ProviderUser) *****************
    [11/07/2002 02:39:52:866 GMT-05:00] urlsample/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is non registered, Returning true
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/Traverse WebDB request tree:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/SOAP-ENV:Envelope:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/     SOAP-ENV:Body:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/          portal:initSession:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/               providerId:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    5074441
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/               user:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                         XUELG
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    username:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                         XUELG
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    authLevel:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                         10
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    mappedName:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    loginTime:
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                         2002-07-11-15:40:26
    [11/07/2002 02:40:37:675 GMT-05:00] urlsample/                    sessionId:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                         809192002171XUELG
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    subscriberId:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    companyName:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/               externalApp:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    name:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    password:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    authUserField:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    authPassField:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    authURL:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                         http://l3000c.subway.com/Windchill/servlet/WindchillAuthGW
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    authMethod:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                         BASICAUTH
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    applicationFields:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    null
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/               portalVersion:
    [11/07/2002 02:40:37:676 GMT-05:00] urlsample/                    3.0.9.8.0
    [11/07/2002 02:40:37:678 GMT-05:00] urlsample/Entering initSession *********************
    [11/07/2002 02:40:37:678 GMT-05:00] urlsample/<authentication> tag not found in in provider.xml.
    oracle.portal.provider.v1.AuthenticationException: Authenticaion tag cannot be null. Please provide authentication details (in provider.xml) or make the provider login frequency as 'Never'
         at oracle.portal.provider.v1.ContainerException.fillInStackTrace(ContainerException.java:58)
         at java.lang.Throwable.<init>(Unknown Source)
         at java.lang.Exception.<init>(Unknown Source)
         at oracle.portal.provider.v1.ContainerException.<init>(ContainerException.java:19)
         at oracle.portal.provider.v1.ProviderException.<init>(ProviderException.java:11)
         at oracle.portal.provider.v1.ExternalAuthenticationException.<init>(ExternalAuthenticationException.java:17)
         at oracle.portal.provider.v1.AuthenticationException.<init>(AuthenticationException.java:12)
         at oracle.portal.provider.v1.http.URLProvider.initSession(URLProvider.java:217)
         at oracle.portal.provider.v1.http.ServletProviderResponse.initSession(ServletProviderResponse.java:406)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:657)
         at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:390)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Unknown Source)
    any one who knows the problem how to resolve?thanks

  • Error when deploying EAR in OC4J 10.1.3.0.0 with a deployment plan

    Hello!
    I try to deploy an ear file specifying a deployment plan generated from web interface using command line utilities. I try to use both admin_client.jar and oracle ant task and still get the same error. When i remove deployment plan argument, the application is successfully deployed.... Any Idea?
    My server:
    OC4J 10.1.3.0.0 on an AIX server
    The error raised during deployment:
    [MyServer] 08/04/07 12:46:56 Notification ==>Application Deployer for MyApp STARTS.
    [MyServer] 08/04/07 12:46:56 Notification ==>Copy the archive to /oracle/product/j2ee/home/applications/MyApp.ear
    [MyServer] 08/04/07 12:46:56 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear begins...
    [MyServer] 08/04/07 12:46:56 Notification ==>Unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Done unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Done unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear end
    s...
    [MyServer] 08/04/07 12:46:59 Notification ==>Starting application : MyApp
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing ClassLoader(s)
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing EJB container
    [MyServer] 08/04/07 12:46:59 Notification ==>Loading connector(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Starting up resource adapters
    [MyServer] 08/04/07 12:47:00 Notification ==>Initializing EJB sessions
    [MyServer] 08/04/07 12:47:00 Notification ==>Committing ClassLoader(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic ends...
    [MyServer] 08/04/07 12:47:00 Notification ==>Started application : MyApp
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding web application(s) to site default-web-site begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding ic web-module for application MyApp to site default-web-site under context root ic
    [MyServer] 70/01/01 00:00:00 Notification ==>Error deserializing return-value: unexpected reset; nested exception is:
    java.io.StreamCorruptedException: unexpected reset
    [Summary] There are total 1 instances in the operation.
    [Summary] Operation failed on MyServer
    [Summary] Operation on cluster FAILED since 1 instanced failed!
    Here my deployment plan generated by the Application Server Control Console
    moduleType=ear
    applicationID=MyApp
    bindWebApp=default-web-site
    parent=default
    moduleID=.
    doctype=orion-application
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/sch
    ema/orion-application-10_0.xsd">
    </orion-application>
    moduleID=myapp.war
    doctype=orion-web-app
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
    orion-web-10_0.xsd" context-root="myapp">
    <resource-ref-mapping name="jdbc/ds" location="jdbc/myapp/ds">
    </resource-ref-mapping>
    <web-app-class-loader>
    </web-app-class-loader>
    </orion-web-app>
    My Command line to deploy the application
    java -jar admin_client.jar deployer:cluster:opmn://MyServer/home oc4jadmin XXXXX -deploy -file ~/MyApp.ear -deploymentName MyApp -deploymentPlan ~/myapp_plan.dat
    Ant file used to deploy
    <project name="Deploy EAR in OC4J" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">
    <property name="server.host" value="MyServer"/>
    <property name="server.user" value="oc4jadmin"/>
    <property name="server.password" value="XXXXXX"/>
    <property name="deploy.filepath" value="/home/myhome/MyApp.ear"/>
    <property name="deploy.deployname" value="MyApp"/>
    <property name="deploy.logpath" value="${basedir}/deploy-ear.log"/>
    <property name="deploy.planpath" value="/home/myhome/myapp_plan.dat"/>
    <property name="deploy.uri" value="deployer:cluster:opmn://${server.host}/home"/>
    <target name="deploy-ear">
    <oracle:deploy
    deployerUri="${deploy.uri}"
    userId="${server.user}"
    password="${server.password}"
    file="${deploy.filepath}"
    deploymentName="${deploy.deployname}"
    bindAllWebApps="default-web-site"
    deploymentPlan="${deploy.planpath}"
    logFile="${deploy.logpath}"/>
    </target>
    </project>
    Thanks
    Message was edited by:
    Olivier MARTIN

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Java.io.StreamCorruptedException: InputStream does not contain a serialized object

              I have an applet which calls a JSP to write data object to the db and then the
              JSP sends back the updated data object. The writing part is ok but the response
              is giving the following error. The data object is in a separate class which implements
              Serialized.
              Here's the code in the applet calling the JSP and the response from the JSP
              URL server = null;
              String urlConnectionString = "http://localhost:7001/isLoginValid.jsp";
              try
              server = new URL(urlConnectionString);
              catch(MalformedURLException e)
              System.out.println("URL exception: " + e );
              // send request
              ObjectInputStream response = null;
              Object result = null;
              try
              URLConnection conn = server.openConnection();
              conn.setDoOutput(true);
              conn.setUseCaches(false);
              conn.setRequestProperty("Content-Type", "application/octet-stream");
              ObjectOutputStream request = new ObjectOutputStream(new
              BufferedOutputStream(conn.getOutputStream()));
              request.writeObject((Object)dvo);
              request.flush();
              request.close();
              // get the result input stream
              response = new ObjectInputStream(new BufferedInputStream
              (conn.getInputStream()));
              // read response back from the server
              result = response.readObject();
              if( result!=null && (result instanceof DataVO))
              dvo = (DataVO)result;
              String vo = dvo.printDataVO();
              System.out.println("*DataVO*\n"+vo);
              else
              System.out.println("not an instanceof DataVO");
              catch(IOException ignored)
              System.out.println("Error in DataVO response");
              ignored.printStackTrace();
              Here's the code in the JSP sending the response back to the applet. The 'dvo'
              object is the object which is serialized and has gets and sets for the diff. data
              elements. When I print the 'dvo' before writing the object to outputStream it
              prints the correct values for the data element.
              // send response
              response.setStatus(HttpServletResponse.SC_OK);
              ObjectOutputStream outputStream = new ObjectOutputStream (new BufferedOutputStream
              (response.getOutputStream()));
              outputStream.writeObject(dvo);
              outputStream.flush();
              ERROR is as follows:
              Error in DataVO response
              java.io.StreamCorruptedException: InputStream does not contain a serialized object
              at java/io/ObjectInputStream.readStreamHeader
              at java/io/ObjectInputStream.<init>
              What am I doing wrong?. Please respond soon. The applet is run on IIS and the
              JSP in on weblogic 6.1. I'm not sure if that makes any difference.
              

              I have an applet which calls a JSP to write data object to the db and then the
              JSP sends back the updated data object. The writing part is ok but the response
              is giving the following error. The data object is in a separate class which implements
              Serialized.
              Here's the code in the applet calling the JSP and the response from the JSP
              URL server = null;
              String urlConnectionString = "http://localhost:7001/isLoginValid.jsp";
              try
              server = new URL(urlConnectionString);
              catch(MalformedURLException e)
              System.out.println("URL exception: " + e );
              // send request
              ObjectInputStream response = null;
              Object result = null;
              try
              URLConnection conn = server.openConnection();
              conn.setDoOutput(true);
              conn.setUseCaches(false);
              conn.setRequestProperty("Content-Type", "application/octet-stream");
              ObjectOutputStream request = new ObjectOutputStream(new
              BufferedOutputStream(conn.getOutputStream()));
              request.writeObject((Object)dvo);
              request.flush();
              request.close();
              // get the result input stream
              response = new ObjectInputStream(new BufferedInputStream
              (conn.getInputStream()));
              // read response back from the server
              result = response.readObject();
              if( result!=null && (result instanceof DataVO))
              dvo = (DataVO)result;
              String vo = dvo.printDataVO();
              System.out.println("*DataVO*\n"+vo);
              else
              System.out.println("not an instanceof DataVO");
              catch(IOException ignored)
              System.out.println("Error in DataVO response");
              ignored.printStackTrace();
              Here's the code in the JSP sending the response back to the applet. The 'dvo'
              object is the object which is serialized and has gets and sets for the diff. data
              elements. When I print the 'dvo' before writing the object to outputStream it
              prints the correct values for the data element.
              // send response
              response.setStatus(HttpServletResponse.SC_OK);
              ObjectOutputStream outputStream = new ObjectOutputStream (new BufferedOutputStream
              (response.getOutputStream()));
              outputStream.writeObject(dvo);
              outputStream.flush();
              ERROR is as follows:
              Error in DataVO response
              java.io.StreamCorruptedException: InputStream does not contain a serialized object
              at java/io/ObjectInputStream.readStreamHeader
              at java/io/ObjectInputStream.<init>
              What am I doing wrong?. Please respond soon. The applet is run on IIS and the
              JSP in on weblogic 6.1. I'm not sure if that makes any difference.
              

  • Production issue; Please HELP !!! ...weired error while starting WLS8.1 server

    Hi All/Rob,
    Iam running WLS8.1+SP2 and i have 4 clusters each of these clusters contains 4
    managed servers.
    Now, iam getting a weired error when starting each of the instances ......this
    is the Exception that iam getting:
    PLEASE HELP AS THIS IS OUR PRODUCTION ISSUES ........
    <Feb 25, 2004 11:42:29 AM EST> <Notice> <Security> <BEA-090082> <Security initializing
    using security realm myrealm.>
    <Feb 25, 2004 11:42:30 AM EST> <Notice> <WebLogicServer> <BEA-000328> <Starting
    WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub">
    Failed setting Group
    <Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090031> <Failed to Switch
    to Group rsaadmin.>
    Failed setting user
    <Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090033> <Failed to Switch
    to User rsaadmin.>
    <Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000138> <Listening for
    announcements from cluster RSA on 237.0.3.11:8001.>
    <Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize
    with other running members of RSA.>
    <Feb 25, 2004 11:43:21 AM EST> <Warning> <HTTP> <BEA-101247> <admingui.war: Public
    ID references the old version of the Servlet DTD. You must change the public ID
    in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000355> <Thread
    "ListenThread.Default" listening on port 8020, ip address 153.2.252.189>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <Cluster> <BEA-000102> <Joining cluster
    RSA on 237.0.3.11:8001>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000330> <Started
    WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub" running in Production
    Mode>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000360> <Server
    started in RUNNING mode>
    <Feb 25, 2004 12:02:23 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 25, 2004 12:03:38 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 25, 2004 12:09:11 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
    in the network that are possibly running different versions of WebLogic Server.
    These two clusters probably name the same RSA and they are using same address
    237.0.3.11 and port 8001.>
    <Feb 25, 2004 12:09:37 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 25, 2004 12:09:59 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
    in the network that are possibly running different versions of WebLogic Server.
    These two clusters probably name the same RSA and they are using same address
    237.0.3.11 and port 8001.>
    <Feb 25, 2004 12:10:09 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 25, 2004 12:12:43 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
    in the network that are possibly running different versions of WebLogic Server.
    These two clusters probably name the same RSA and they are using same address
    237.0.3.11 and port 8001.>
    <Feb 25, 2004 12:13:31 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
    in the network that are possibly running different versions of WebLogic Server.
    These two clusters probably name the same RSA and they are using same address
    237.0.3.11 and port 8001.>

    Rob,
    Each cluster uses UNIQUE IP address ......but here is the information that iam
    getting .....if that is in any way related to this problem ....i ran this command
    bash-2.03# java -cp /xx/bea/weblogic81/server/lib/weblogic.jar utils.MulticastTest
    -A 237.0.3.11
    ***** WARNING ***** WARNING ***** WARNING *****
    Do NOT use the same multicast address as a running WLS cluster.
    Starting test. Hit any key to abort
    Using multicast address 237.0.3.11:7001
    Will send messages under the name 1077733276 every 2 seconds
    Will print warning every 600 seconds if no messages are received
    I (1077733276) sent message num 1
    I (1077733276) sent message num 2
    Received message 2 from 1077733276
    I (1077733276) sent message num 3
    Received message 3 from 1077733276
    I (1077733276) sent message num 4
    Received message 4 from 1077733276
    I (1077733276) sent message num 5
    Received message 5 from 1077733276
    I (1077733276) sent message num 6
    Received message 6 from 1077733276
    I (1077733276) sent message num 7
    Received message 7 from 1077733276
    Rob Woollen <[email protected]> wrote:
    First thing to check is that each cluster has its own multicast address.
    It looks like the server is complaining that multiple clusters are using
    237.0.3.11 and port 8001
    -- Rob
    steve wrote:
    Hi All/Rob,
    Iam running WLS8.1+SP2 and i have 4 clusters each of these clusterscontains 4
    managed servers.
    Now, iam getting a weired error when starting each of the instances......this
    is the Exception that iam getting:
    PLEASE HELP AS THIS IS OUR PRODUCTION ISSUES ........
    <Feb 25, 2004 11:42:29 AM EST> <Notice> <Security> <BEA-090082> <Securityinitializing
    using security realm myrealm.>
    <Feb 25, 2004 11:42:30 AM EST> <Notice> <WebLogicServer> <BEA-000328><Starting
    WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub">
    Failed setting Group
    <Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090031> <Failedto Switch
    to Group rsaadmin.>
    Failed setting user
    <Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090033> <Failedto Switch
    to User rsaadmin.>
    <Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000138> <Listeningfor
    announcements from cluster RSA on 237.0.3.11:8001.>
    <Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000133> <Waitingto synchronize
    with other running members of RSA.>
    <Feb 25, 2004 11:43:21 AM EST> <Warning> <HTTP> <BEA-101247> <admingui.war:Public
    ID references the old version of the Servlet DTD. You must change thepublic ID
    in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application2.3//EN".>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000355><Thread
    "ListenThread.Default" listening on port 8020, ip address 153.2.252.189>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <Cluster> <BEA-000102> <Joiningcluster
    RSA on 237.0.3.11:8001>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000330><Started
    WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub" runningin Production
    Mode>
    <Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000360><Server
    started in RUNNING mode>
    <Feb 25, 2004 12:02:23 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 25, 2004 12:03:38 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 25, 2004 12:09:11 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
    in the network that are possibly running different versions of WebLogicServer.
    These two clusters probably name the same RSA and they are using sameaddress
    237.0.3.11 and port 8001.>
    <Feb 25, 2004 12:09:37 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 25, 2004 12:09:59 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
    in the network that are possibly running different versions of WebLogicServer.
    These two clusters probably name the same RSA and they are using sameaddress
    237.0.3.11 and port 8001.>
    <Feb 25, 2004 12:10:09 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
    receive error: java.io.StreamCorruptedException
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
    at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 25, 2004 12:12:43 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
    in the network that are possibly running different versions of WebLogicServer.
    These two clusters probably name the same RSA and they are using sameaddress
    237.0.3.11 and port 8001.>
    <Feb 25, 2004 12:13:31 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
    in the network that are possibly running different versions of WebLogicServer.
    These two clusters probably name the same RSA and they are using sameaddress
    237.0.3.11 and port 8001.>

  • While creating InitialContext I have got error that server was not found...

    Hello.
    On the server console I'v seen next message:
    java.util.EmptyStackException
         at weblogic.utils.collections.Stack.pop(Stack.java:72)
         at weblogic.rjvm.InboundMsgAbbrev.getAbbrev(InboundMsgAbbrev.java:85)
         at weblogic.rjvm.MsgAbbrevInputStream.readImmutable(MsgAbbrevInputStream.java:172)
         at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:186)
         at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.java:290)
         at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:906)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
         at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:107)
         at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:115)
         at weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:685)
         at weblogic.rjvm.ConnectionManagerServer.handleIdentifyRequest(ConnectionManagerServer.java:255)
         at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:619)
         at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    I use correct version of weblogic.jar,
    the property for initial context:
    java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://127.0.0.1:7001
    The server is Veblogic 6.1
    The client is runing under Visual Age 3.5 EE

    "Yuriy Kuzmenko" <[email protected]> wrote:
    >
    The nested exception on the client side was:
    java.io.StreamCorruptedException: Type code out of range, is 0
         java.lang.Throwable(java.lang.String)
         java.lang.Exception(java.lang.String)
         java.io.IOException(java.lang.String)
         java.io.ObjectStreamException(java.lang.String)
         java.io.StreamCorruptedException(java.lang.String)
         byte java.io.ObjectInputStream.peekCode()
         void java.io.ObjectInputStream.SkipToEndOfBlockData()
         java.io.ObjectStreamClass java.io.ObjectInputStream.inputClassDescriptor()
         java.lang.Object java.io.ObjectInputStream.readObject(boolean)
         java.lang.Object java.io.ObjectInputStream.readObject()
         int java.io.ObjectInputStream.inputObject(boolean)
         java.lang.Object java.io.ObjectInputStream.readObject(boolean)
         java.lang.Object java.io.ObjectInputStream.readObject()
         java.lang.Object weblogic.common.internal.ChunkedObjectInputStream.readObject()
         java.lang.Object weblogic.common.internal.ChunkedObjectInputStream.readObject(java.lang.Class)
         weblogic.common.internal.PeerInfo weblogic.rjvm.ConnectionManager.readPeerInfo(weblogic.rjvm.MsgAbbrevInputStream)
         void weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(weblogic.rjvm.MsgAbbrevJVMConnection,
    weblogic.rjvm.MsgAbbrevInputStream)
         void weblogic.rjvm.ConnectionManager.dispatch(weblogic.rjvm.MsgAbbrevJVMConnection,
    weblogic.utils.io.ChunkedDataInputStream)
         void weblogic.rjvm.t3.T3JVMConnection.dispatch()
         boolean weblogic.socket.JavaSocketMuxer.processSockets2()
         void weblogic.socket.JavaSocketMuxer.processSockets()
         void weblogic.socket.SocketReaderRequest.execute(weblogic.kernel.ExecuteThread)
         void weblogic.kernel.ExecuteThread.execute(weblogic.kernel.ExecuteRequest)
         void weblogic.kernel.ExecuteThread.run()
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested
    exception:
    [java.io.StreamCorruptedException: Type code out of range, is 0]
         java.lang.Throwable(java.lang.String)
         java.lang.Error(java.lang.String)
         weblogic.utils.NestedError(java.lang.String, java.lang.Throwable)
         weblogic.utils.AssertionError(java.lang.Throwable)
         weblogic.common.internal.PeerInfo weblogic.rjvm.ConnectionManager.readPeerInfo(weblogic.rjvm.MsgAbbrevInputStream)
         void weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(weblogic.rjvm.MsgAbbrevJVMConnection,
    weblogic.rjvm.MsgAbbrevInputStream)
         void weblogic.rjvm.ConnectionManager.dispatch(weblogic.rjvm.MsgAbbrevJVMConnection,
    weblogic.utils.io.ChunkedDataInputStream)
         void weblogic.rjvm.t3.T3JVMConnection.dispatch()
         boolean weblogic.socket.JavaSocketMuxer.processSockets2()
         void weblogic.socket.JavaSocketMuxer.processSockets()
         void weblogic.socket.SocketReaderRequest.execute(weblogic.kernel.ExecuteThread)
         void weblogic.kernel.ExecuteThread.execute(weblogic.kernel.ExecuteRequest)
         void weblogic.kernel.ExecuteThread.run()

  • UTFDataFormatException and StreamCorruptedException

    We have an applet client that is communicating with a servlet in Apache Tomcat through HttpUrlConnection
    using ObjectOutputStream / ObjectInputStream.
    Everything has been working fine, but recently one of our users has had some serious problems
    with the client-server communication. Basically this occurs so that client will throw
    UTFDataFormatExceptions and StreamCorruptedExceptions to Java console. These exceptions are
    thrown pretty randomly, for example sometimes 10 times in a row (out of 10 tries) and then
    a few times with no errors and after that more exceptions and so on.
    These exceptions are thrown when client is loading quite a big chunk of data from server.
    According to server access-logs something between 1500000 and 2000000 bytes are transferred.
    Server side logs show no errors.
    JDK on server is 1.4.2_xx and client side Java plug-in is 1.5.0_xx. We have tried different
    Java plug-in versions with no change.
    Other users get those exceptions too when using this particular environment, but less frequently.
    I've tried to debug the applet and the funny thing is, that when I'm running the applet through
    my IDE (JBuilder) I get no exceptions.

    ejp wrote:
    What you're doing with all the extra buffering is pointless and error-prone. Get rid of the ByteArrayOutputStream and ByteArrayInputStream and connect the ObjectInputStream and ObjectOutputStream directly to the socket.Actually the reason for the extra buffering is due to the use of nio channels. I was basically following the advice from http://forum.java.sun.com/thread.jspa?threadID=449283&messageID=2040791 , i.e.,
    dmbdmb wrote:
    You could always call layer an ObjectOutputStream ontop of a ByteArrayOutputStream, write the objects, then grab the bytes from the ByteArrayOutputStream and write them with niobut unfortunately I still got the above exceptions using the scheme described. Are there other reliable ways to accomplish the same task?

  • Problems moving from 1.3.1 to 1.4 (StreamCorruptedException)

    Hi all,
    I'm having a terrible time moving my existing project from 1.3 to 1.4. The GUI (running on W2k) works fine, but the server side of the app (running on Solaris 2.6 w/ current patches & Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)) is giving me fits in a couple of places. The app has been in production for over a year using 1.3.1.
    Everything has gone smoothly with the exception of a couple of problems that I just can't seem to get around. Namely, I get UnmarshalExceptions with nested StreamCorruptedExceptions on some of the RMI calls. Everything I send across the wire implements Serializable.
    I got around the first one - Sending an array of objects that each had as a member variable a java.text.MessageFormat object blew up with the before mentioned exception. Wierd thing is, if I send just one of those objects it's not a problem, only when sending an array of them is it bad. Changing the type to String and then creating MessageFormat objects from those strings lazily on the client got around the problem. (yuck)
    Anyways, I now have two more issues similar to the above mentioned that I can't seem to find a work-around for. These objects only contain data members of primitive and/or String type. They also implement Serializable, so I can't understand what the problem is. Below is a copy of the exception I'm getting.
    |java.rmi.ServerException: RemoteException occurred in server
    thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.io.StreamCorruptedExceptionjava.rmi.ServerException: RemoteException occurred in server thread; nested excepti
    on is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.io.StreamCorruptedException
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
    at com.<myco>.<myprod>.interfaces.<host>.Service_Stub.getResponse(Unknown Source)
    at com.<myco>.<myprod>.interfaces.<host>.Factory.getResponse(Factory.java:182)
    at com.<myco>.<myprod>.maintenance.hosts.MaintenanceHost.getWorkload(MaintenanceHost.java:812)
    at com.<myco>.<myprod>.maintenance.MaintenanceService.getWorkload(MaintenanceService.java:2359)
    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:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.io.StreamCorruptedException
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:249)
    ... 6 more
    Caused by: java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1291)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:246)
    ... 6 more
    I've utilized 1.4's ability to getCause(), get the StackTraceElement[] of it, and iterate to see what is present in the "...6 more". If anyone needs to see that to help me, I'll gladly post it as well.
    Thanks in advance for any assistance, I've spent way too much time working on this issue.
    Eric

    I found this thread while searching for an answer to my question and I am wondering if there is any update. Here is my situation...
    We have a 100% Java application which utilizes RMI only. It has been running in production on the 1.2.2 JDK for over four years in many operating environments (Solaris 8, 9, Windows 9x, 2K and XP, Linux).
    We have finally decided to bite the bullet and upgrade the app to 1.4.2 (specifically the _04 release).
    We are getting the StreamCorruptedException consistently. After narrowing the problem we have uncovered that the issue is, indeed, directly related to java.text.Format decendants (in this case SimpleDateFormat and DecimalFormat.
    We have a class (call it OurClass)which includes a SimpleDateFormat instance. SimpleDateFormat implements Serializable (as does OurClass). When an object of OurClass is enstantiated an instance of SimpleDateFormat is created. When this class is passed as a parameter to a server call and needs to be serialized the StreamCorruptedException is thrown. If we comment out the "new SimpleDateFormat()" the code completes successfully.
    The same is true for DecimalFormat.
    What gives? This thread started in late '02 and was last addressed here in early '03. I see that someone posted that some problems can be expected in RMI over IIOP but we have a Java-to-Java RMI-only application.

  • Getting Errors in ACC 10.2

    Hi all,
    We are using ATG 10.2 version, and in our developments we customized ProductCatalog repository, SiteRepository, ProfileAdapterRepository and others, adding new properties or updating existing properties.
    But we have found a problem accessing the ACC: when we try to access repository items customized by us, we always find the error below.
    java.io.StreamCorruptedException: unexpected block data
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.core.util.UnsynchronizedHashtable.readObject(UnsynchronizedHashtable.java:623)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.repository.ItemDescriptorImpl.readObject(ItemDescriptorImpl.java:504)
      at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at java.util.HashSet.readObject(HashSet.java:291)
      at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.core.util.UnsynchronizedHashtable.readObject(UnsynchronizedHashtable.java:623)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.repository.ItemDescriptorImpl.readObject(ItemDescriptorImpl.java:504)
      at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.core.util.UnsynchronizedHashtable.readObject(UnsynchronizedHashtable.java:623)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.repository.ItemDescriptorImpl.readObject(ItemDescriptorImpl.java:504)
      at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.core.util.UnsynchronizedHashtable.readObject(UnsynchronizedHashtable.java:623)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.repository.ItemDescriptorImpl.readObject(ItemDescriptorImpl.java:504)
      at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.core.util.UnsynchronizedHashtable.readObject(UnsynchronizedHashtable.java:623)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.repository.ItemDescriptorImpl.readObject(ItemDescriptorImpl.java:504)
      at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at atg.ui.repository.model.RepositoryClientImpl.getRepositoryItemDescriptor(RepositoryClientImpl.java:727)
      at atg.ui.expreditor.targeting.RepositoryExpressionContext.getContentItemBeanInfo(RepositoryExpressionContext.java:136)
      at atg.ui.expreditor.targeting.RepositoryExpressionContext.<init>(RepositoryExpressionContext.java:96)
      at atg.ui.repository.QueryExpressionPanel.initialize(QueryExpressionPanel.java:287)
      at atg.ui.repository.RepositoryList.setRepositoryName(RepositoryList.java:293)
      at atg.ui.builder.RepositoryController.setRepositoryDisplayComponent(RepositoryController.java:156)
      at atg.ui.builder.RepositoryUIFramework.initializeControllers(RepositoryUIFramework.java:672)
      at atg.ui.builder.RepositoryUIFramework.initialize(RepositoryUIFramework.java:332)
      at atg.ui.builder.RepositoryAdminTask.getComponent(RepositoryAdminTask.java:642)
      at atg.ui.hub.TaskPanel.show(Hub.java:2582)
      at atg.ui.hub.Hub.taskSelected(Hub.java:1750)
      at atg.ui.hub.NavigationAction.actionPerformed(NavigationAction.java:126)
      at atg.ui.hub.MenuItem.fireSelectionEvent(MenuItem.java:122)
      at atg.ui.hub.MenuItem.actionPerformed(MenuItem.java:100)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at atg.ui.hub.HubMenuItemButton$HubMenuItemButtonModel.setPressed(HubMenuItemButton.java:538)
      at atg.ui.hub.HubMenuItemButton.mouseReleased(HubMenuItemButton.java:401)
      at java.awt.Component.processMouseEvent(Component.java:6288)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6053)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4651)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4481)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4481)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
      at java.awt.EventQueue.access$000(EventQueue.java:84)
      at java.awt.EventQueue$1.run(EventQueue.java:602)
      at java.awt.EventQueue$1.run(EventQueue.java:600)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:616)
      at java.awt.EventQueue$2.run(EventQueue.java:614)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    But when we try to access this items in BCC, for example, it works fine, with all custom properties, values and resourceBundles working fine, without any error.
    Anyone can help us to solve this problem?
    Thanks in advance.

    Hi all,
    I could solve the problem using this Oracle Support link:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=1037396.1
    Thanks !

  • Saving and loading serialized objects (StreamCorruptedException)

    Hello,
    I am relatively new to Serialization (coming to that, a bit new to Java too) and I am having a problem with the following:
    I am saving a number of serialized objects (all of the same class) in a file using the following way (the method is called multiple times to save a list of TeamMember objects):
    Note: TeamMember is a custom class.
    public void addTeamMember(TeamMember p) {
                outputStream = new ObjectOutputStream( new FileOutputStream( "team.dat", true ) );
                outputStream.writeObject( p );
                outputStream.flush();
                outputStream.close();
                outputStream = null;
    }Then I'm trying to retrieve the objects from the file and display them. The method used is the following (it will loop through the file until found or it throws an EOFException. Is using the EOFException good practice to search through the entire file?):
    public TeamMember getTeamMember(String id) {
            TeamMember currentMember = null;
            try {
                boolean found = false;           
                inputStream = new ObjectInputStream( new FileInputStream( "team.dat" ) );
                while ( !found ) {
                    currentMember = (TeamMember)inputStream.readObject();
                    if ( currentMember.getId().equals( id ) )
                        found = true;
                } // end while
                closeInputFile();
                return currentMember;
            } // end try
            catch ( EOFException e ) { // end of file reached
                closeInputFile();           
                return null;
            } // end catch
            catch ( IOException e ) {
                closeInputFile();
                System.err.println( e.getMessage() );
                return null;
            } // end catch
        }Now as a test, I am adding 3 members with IDs 1, 2 and 3 respectively. Then I am calling getTeamMember three times with the different IDs. With ID "1", it works fine. When I give it ID 2, it gives an IOException with message "StreamCorruptedException: invalid type code: AC".
    While tracing the program, I've seen that it always gives me that error when reading past the first object saved in the file.
    Am I saving the objects in a wrong way, or reading them is done incorrectly?
    Any help is much appreciated.
    I hope I was clear enough, and that I posted in the correct forum.
    Thanks in advance.
    Andrew.

    If that is so, might you hint me for a work around?
    I want to append objects in a single file, then be able to find and read an object from the file.
    Thanks again.
    Andrew

  • StreamCorruptedException while using JWS

    Hello,
    I'm wanting to deploy the client of a client/server networked app in JWS, but for some reason I'm getting StreamCorruptedExceptions when I try to deserialize Objects contained in network messages. This doesn't happen when I run the app outside of JWS, so it appears to be some weird interaction with JMS. Here are all the details I can think of:
    The app is being distributed as one jar, including all libraries, by using the Fatjar plugin for Eclipse.
    I'm using Apache Tomcat v5.5.12 as the application server so that I can click a link in a browser to start the JWS app.
    I'm using ActiveMQ v4.0M3 as a JMS provider to handle passing messages across the network. (The same thing happens with ActiveMQ v3.2.1)
    This is the error print out:
    Caught: javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.StreamCorruptedException
    javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.StreamCorruptedException
         at org.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:34)
         at org.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:173)
         at com.shai.ogma.networking.JMSLink.onMessage(JMSLink.java:115)
         at org.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:703)
         at org.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:95)
         at org.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:148)
         at org.activemq.thread.SimpleTaskRunner.runTask(SimpleTaskRunner.java:129)
         at org.activemq.thread.SimpleTaskRunner.access$100(SimpleTaskRunner.java:44)
         at org.activemq.thread.SimpleTaskRunner$1.run(SimpleTaskRunner.java:62)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.StreamCorruptedException
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at java.util.HashMap.readObject(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at java.util.HashMap.readObject(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at java.util.HashMap.readObject(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
         at java.io.ObjectInputStream.readSerialData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at com.shai.ogma.messaging.OgmaMessage.readExternal(OgmaMessage.java:245)
         at java.io.ObjectInputStream.readExternalData(Unknown Source)
         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
         at java.io.ObjectInputStream.readObject0(Unknown Source)
         at java.io.ObjectInputStream.readObject(Unknown Source)
         at org.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:167)
         ... 10 more
    Notes about the error message:
    The thing it is getting stuck on while trying to deserialize is one of my own classes with readObject() and writeObject() defined.
    It can serialize/deserialize without problems outside of JWS.
    All the classes I'm serializing are in synch between the server and the client. I.e. there shouldn't be any problems with serialversionUID caused by code being at different versions.
    The code at org.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:167) doesn't appear to be doing anything funny.
    Does anyone have any clues what might be causing this behavior and how to fix it?
    Thanks!

    Here is my guess. The browser VM has some subtle interractions with the browser. An SSL connection usually starts with the server sending a certificate and the client 'accepting it'. The acceptance or rejection is based on the root certificates configured in the client. The browser has such a 'database' of root certificates. I bet the browser VM is using the same database as the browser.
    When you run the application stand-alone, the database is somewhere in the JRE. Somehow the root certificate of your server certificate is not there.

  • StreamCorruptedException

    Hi,
    I'm trying to send serialized objects over socket connection, see the code snippet below.
    import java.io.*;
    import java.net.*;
    public class Test2 {
    private ObjectOutputStream oos;
    private ObjectInputStream ois;
    private Socket s;
    public Test2(String host, int port) {
         try {
         s = new Socket(host, port);
         s.setTcpNoDelay(true);
         oos = new ObjectOutputStream(s.getOutputStream());
         ois = new ObjectInputStream(s.getInputStream());
         oos.writeObject("data");
         oos.flush();
         System.out.println(ois.readObject());
         } catch (UnknownHostException e) {
         e.printStackTrace();
         } catch (IOException ioe) {
         ioe.printStackTrace();
         } catch (ClassNotFoundException cnfe) {
         cnfe.printStackTrace();
    public static void main(String args[]) {
         Test2 t = new Test2("localhost", 5000);
    When I compiled the program, I got the following error message,
    java.io.StreamCorruptedException: invalid stream header
    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    at java.io.ObjectInputStream.<init>(Unknown Source)
    at Test2.<init>(Test2.java:17)
    at Test2.main(Test2.java:63)
    Can someone give pointers on how to solve this problem?
    Thank you in advance for your help!

    If the other end isn't written in Java using ObjectInput/OutputStreams you can't use Serialization in either direction.

Maybe you are looking for

  • GUI_Download problem in tab delimited file

    Hi, I am trying to download tab delimited file using F.M GUI_DOWNLOAD.We have 4.6C version.I have declared internal table with 5 columns.The file created using F.M is very strange.Column 1 and 2 and 3 and 4 are seaprated by tab but column 2 and 3  an

  • Temple run on an older ipod touch

    Can someone tell me if I can download an older version of temple run.  My daughter wants it on her Ipod touch but it will not update to the lastest iOS 4.3?

  • Missing features in nokia asha 200

    hello,  i am from egypt and i don't have FM  recording in my asha 200 ?? i suggeste make this feature available in a new software update .. there is also some specefications ..here on the site about asha 200 that dosen't exist such as Sequence mode i

  • Files copied as .lnk files to usb and does not show up in Windows

    When I copy files from the MBP to a USB disk, instead of copying the files as is, the Mac converts the files into a .LNK file, which then shows up as "shortcuts" rather than the copied file in Windows. Why is this?

  • Installing Windows 2008 Server on T500

    Hi, I am considering installing Windows server 2008 on my T500, but was a bit concerend about driver support and compatibility. Has anyone else tried this? Thanks David