Error java.rmi.UnexpectedException

I've got this error and i would like to know if it´s related to the environment
( properties, configuration, etc ) or could be a problem in the application.
java.rmi.UnexpectedException: Unexpected exception in symprise.etruck.ejb.AgendamentoEJB.getItensAgendamento():
javax.ejb.EJBException at symprise.etruck.ejb.AgendamentoEJB.ejbLoad(AgendamentoEJB.java:328)
at weblogic.ejb.internal.EntityEJBContext.load(EntityEJBContext.java:160) at weblogic.ejb.internal.EntityEJBContext.afterBegin(EntityEJBContext.java:214)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:162)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:445) at symprise.etruck.ejb.AgendamentoEJBEOImpl.getItensAgendamento(AgendamentoEJBEOImpl.java:343)
at symprise.etruck.ejb.AgendamentoEJBEOImpl_WLSkel.invoke(AgendamentoEJBEOImpl_WLSkel.java:188)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:77)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) ; nested exception
is: javax.ejb.EJBException
Thanks
Flavio Fonte

It looks like AgendamentoEJB.java:328 threw an EJBException.
-- Rob
Flavio Fonte wrote:
I've got this error and i would like to know if it´s related to the environment
( properties, configuration, etc ) or could be a problem in the application.
java.rmi.UnexpectedException: Unexpected exception in symprise.etruck.ejb.AgendamentoEJB.getItensAgendamento():
javax.ejb.EJBException at symprise.etruck.ejb.AgendamentoEJB.ejbLoad(AgendamentoEJB.java:328)
at weblogic.ejb.internal.EntityEJBContext.load(EntityEJBContext.java:160) at weblogic.ejb.internal.EntityEJBContext.afterBegin(EntityEJBContext.java:214)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:162)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:445) at symprise.etruck.ejb.AgendamentoEJBEOImpl.getItensAgendamento(AgendamentoEJBEOImpl.java:343)
at symprise.etruck.ejb.AgendamentoEJBEOImpl_WLSkel.invoke(AgendamentoEJBEOImpl_WLSkel.java:188)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:77)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) ; nested exception
is: javax.ejb.EJBException
Thanks
Flavio Fonte

Similar Messages

  • Problem while Deploying WebDynpro application-error:java.rmi.RemoteExceptio

    Hi All,
       i installed WAS 6.40 sp 16 on my system its working fine. I can able to log in to the  SDM as remoteGUI.bat using my sdm password.But while deploying the webdynpro appliation i am getting error like "java.rmi.RemoteException: Only Administrators have the right to perform this operation".
    Using my administrator PWD i can log in to all the systems like Useradmin, SDM, J2E engine.
    can any one help me....thanks in advance

    hi all
    i also had the same problem, i am able to log into SDM GUI through Remotegui.bat
    but even though i had changed the password i am not able to deploy the applicaton to j2ee sever, through the NWDS. I tried deploying the applicaton in the
    GUI of SDM there also it is giving like "Only Administrators have the right to perform this operation".
    How to go to User Administration and where?is it in OS level or in Web AS Admin console?
    Adding user admin (default password is also admin) to the Administrators group,
    Go to: User Administration --> Groups and search for Administrators.
    Then add user with ID admin in this group

  • FR error java.rmi.UnmarshalException using grid

    Hello,
    I started using Hyperion Financial Reporting on remote machine and now i installed it on my machine.
    Everything was ok during the installation process. Then i tryed to create a new report with a new grid. When i click on button, FR gives me the following error:
    ; nested exception is:
      java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.io.InvalidClassException: com.hyperion.reporting.graphics.GridObject; local class incompatible: stream classdesc serialVersionUID = -1288366423950156093, local class serialVersionUID = -5245705824007679661
    Can someone explains to me what can i do you to resolve this error?
    During my experiences, it gives me this error only when a report have a grid or when i try to create one.

    I have seen this before where there was a mismatch of versions of FR between server and client, what version/patch are you running?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Servlet failed with Exception java.rmi.UnexpectedException: Unexpected exception in personal.web.news.NewsBean.getID():

              When I run a jsp file, the server has the exception:
              javax.ejb.EJBException
              at personal.web.news.NewsBean.ejbLoad(NewsBean.java:169)
              at weblogic.ejb.internal.EntityEJBContext.load(EntityEJBContext.java:158)
              at weblogic.ejb.internal.EntityEJBContext.afterBegin(EntityEJBContext.java:212)
              at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:162)
              at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:421)
              at personal.web.news.NewsBeanEOImpl.getID(NewsBeanEOImpl.java:282)
              at jsp_servlet._news._jspService(_news.java, Compiled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              I check the JEBean, I can't find any problem. All specification followed the requietments. Can any one tell me how I can resolve the problem?
              Cheers
              Oliver
              

              When I run a jsp file, the server has the exception:
              javax.ejb.EJBException
              at personal.web.news.NewsBean.ejbLoad(NewsBean.java:169)
              at weblogic.ejb.internal.EntityEJBContext.load(EntityEJBContext.java:158)
              at weblogic.ejb.internal.EntityEJBContext.afterBegin(EntityEJBContext.java:212)
              at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObject.java:162)
              at weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:421)
              at personal.web.news.NewsBeanEOImpl.getID(NewsBeanEOImpl.java:282)
              at jsp_servlet._news._jspService(_news.java, Compiled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              I check the JEBean, I can't find any problem. All specification followed the requietments. Can any one tell me how I can resolve the problem?
              Cheers
              Oliver
              

  • Java.rmi.RemoteException: Protocol error reported by the card! why?

    Hello,
    I am currently trying to run the JCK 2.2.1 SecureRMIDemo using SmartCardIO instead of OCF, but getting an error:
    java.rmi.RemoteException: Protocol error reported by the card
    (in my last post I succesfully ran the RMIDemo using my SmartCardIO implementation, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15)
    So here is what I did:
    - I succesfully loaded the server app (com.sun.javacard.samples.SecureRMIDemo) on the card without changes.
    - I created an new accessor class: public class PINCardAccessor extends SmartCardIOAccessor (I wrote SmartCardIOAccessor for the RMIDemo, it should work fine as an accessor)
    - The contents of PINCardAccessor class and SecureOCFCardAccessor are the same, just the class declration makes the difference
    - Here is the most important part of my main method:
                   ca = new PINCardAccessor(false);
                   JavaCardRMIConnect  jcRMI = new JavaCardRMIConnect(ca);                         
                   jcRMI.selectApplet(appAID);
                   // send PIN
                   System.out.println("Sending PIN...");
                if (! ((PINCardAccessor) ca).authenticateUser( PRINCIPAL_APP_PROVIDER_ID ))
                     System.out.println("Wrong PIN!");
                     System.exit(0);
                   Purse myServ = (Purse) jcRMI.getInitialReference();
                   if(myServ == null)
                      throw new Exception("Received null instead of the initial ref");
                   // print balance
                   System.out.println("Balance: "+myServ.getBalance());And finally here is the debug output:
    accessor: select command
    0 a4 4 0 a a0 0 0 0 62 3 1 c a 1 7f
    90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
    90 0 6f 42 6e 40 5e 3e 2 2 38 81 33 f1 0 26 63 6f 6d 2f 73 75 6e 2f 6a 61 76 61 63 61 72 64 2f 73 61 6d 70 6c 65 73 2f 53 65 63 75 72 65 52 4d 49 44 65 6d 6f f 53 65 63 75 72 65 50 75 72 73 65 49 6d 70 6c
    Sending PIN...
    80 39 0 0 4 12 34 0 46 7f
    90 0 0 0
    Le=2
    csum1=0
    csum2=0
    90 0
    80 38 2 2 6 33 f1 ec a8 ff b8 7f
    90 0 99 0 6 ff 9f
    Le=5
    csum1=-97
    csum2=-97
    90 0 99 0 6
    java.rmi.RemoteException: Protocol error reported by the card
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwError(Unknown Source)
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.throwException(Unknown Source)
         at com.sun.javacard.javax.smartcard.rmiclient.CardObjectFactory.getObject(Unknown Source)
         at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.parseAPDU(Unknown Source)
         at com.sun.javacard.ocfrmiclientimpl.JCRemoteRefImpl.invoke(Unknown Source)
         at com.sun.javacard.samples.SecureRMIDemo.SecurePurseImpl_Stub.getBalance(Unknown Source)
         at SecureClient.main(SecureClient.java:60)Please help me, I cant find the reason for this exception.
    thank you
    sebastaian

    Oh, thanks for pointing at the JCRE Spec, it is very informative, but i still have not found the problem yet.
    If i understand everything right, the communication's flow is
    SecureClient <-> PINCardAccessor <-> SmartCardIOAccessor <-> MySecurityService <-> SecurePurseImpl (with help of SecurePurseApplet)
    probably i made a mistake in a protocol of one or more layers.
    - MySecurityService, SecurePurseImpl and SecurePurseApplet are EXACTLY the one's from com.sun.javacard.samples.SecureRMIDemo of JCDK 2.2.1, so there cant be any mistake (?).
    - SmartCardIOAccessor worked fine in my RMIDemo tests, see http://forums.sun.com/thread.jspa?threadID=5405634&tstart=15 - there is also the implementation)
    - SecureClient must be obviously correctly
    so maybe it's something about PINCardAccessor? hmm...i havent found anything, but here is the complete code:
    import javax.smartcardio.CardException;
    * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
    * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    * @(#)SecureOCFCardAccessor.java     1.11 03/07/08
    public class PINCardAccessor extends SmartCardIOAccessor {
        public PINCardAccessor(boolean debug) throws CardException {
              super(debug);
         private static final byte INS_SELECT   = (byte)0xA4;
        private static final byte APDU_CMD_MASK = (byte)0xFC;
        private static final byte CLA_ISO7816 = (byte)0x00;
        private static final byte CLA_AUTH = (byte)0x80;
        private static final byte INS_AUTH = (byte)0x39;
        private static final boolean debug2 = false;
        /** Modifies the data and calls super.sendCommandAPDU to perform the actual send.
         * The data returned from the smart card is returned by this method within
         * the <CODE>ResponseAPDU</CODE> object
         * @param apdu The command APDU to be sent to the smart card
         * @return The response APDU returned from the card. <CODE>null</CODE> if none available.
         * @throws Exception if a communication error or timeout occurred
        public byte[] exchangeAPDU( byte[] sendData ) throws java.io.IOException{
            System.out.println("Send Data:"+SmartCardIOAccessor.getHexString(sendData));
            final boolean select = isSelect(sendData);
            byte[] dataWithChecksum;
            if(select) {
                dataWithChecksum = new byte[ sendData.length ];
                System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length);
            else {
                dataWithChecksum = new byte[ sendData.length + 2];
                System.arraycopy(sendData, 0, dataWithChecksum, 0, sendData.length-1);
                dataWithChecksum[dataWithChecksum.length-1] = sendData[sendData.length-1];
                int Lc = dataWithChecksum[4];
                short csum = 0;
                for(short n = 5; n<Lc+5; ++n) {
                    csum += sendData[n];
                dataWithChecksum[Lc+5] = (byte) (csum>>8);
                dataWithChecksum[Lc+6] = (byte) (csum);
                dataWithChecksum[4] += 2;  // increase Lc
            if(debug2) {
                for(int i=0; i<dataWithChecksum.length;++i) {
                    System.out.print(Integer.toHexString(dataWithChecksum[i] & 0x00FF) + " ");
                System.out.println();
            byte[] receiveDataWithChecksum =  super.exchangeAPDU( dataWithChecksum );
            byte[] receiveData;
            if(debug2) {
                for(int i=0; i<receiveDataWithChecksum.length;++i) {
                    System.out.print(Integer.toHexString(receiveDataWithChecksum[i] & 0x00FF) + " ");
                System.out.println();
                System.out.println();
            if(!select)  // verify the checksum
                int Le = receiveDataWithChecksum.length - 2;   // 2 bytes reserved for SW
                if(debug2) {
                    System.out.println("Le=" + Le);
                short csum1 = 0;
                for(short n = 2; n<Le; ++n) {
                    csum1 += receiveDataWithChecksum[n];
                short csum2 = (short)
                (receiveDataWithChecksum[receiveDataWithChecksum.length - 2]<<8)
                |
                (receiveDataWithChecksum[receiveDataWithChecksum.length - 1] & 0x00FF)
                if(debug2) {
                    System.out.println("csum1=" + csum1);
                    System.out.println("csum2=" + csum2);
                System.out.println("csum1=" + Integer.toHexString(csum1));
                System.out.println("csum2=" + Integer.toHexString(csum2));
                if(csum1 != csum2) throw new java.io.IOException("Wrong checksum on returned data");
                receiveData = new byte[receiveDataWithChecksum.length-2];
                System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
            else {
                receiveData = new byte[receiveDataWithChecksum.length];
                System.arraycopy(receiveDataWithChecksum, 0, receiveData, 0, receiveData.length);
            if(debug2) {
                for(int i=0; i<receiveData.length;++i) {
                    System.out.print(Integer.toHexString(receiveData[i] & 0x00FF) + " ");
                System.out.println();
                System.out.println();
            System.out.println("Receive Data:"+SmartCardIOAccessor.getHexString(receiveData));
            return receiveData;
        boolean authenticateUser( short ID ){
            byte[] externalAuthCommand = new byte[8];
            externalAuthCommand[0] = CLA_AUTH;
            externalAuthCommand[1] = INS_AUTH;
            externalAuthCommand[4] = 2;  // Lc
            externalAuthCommand[5] = (byte)(ID>>8);
            externalAuthCommand[6] = (byte)ID;
            externalAuthCommand[7] = 0x7F;
            try {
                byte[] response = this.exchangeAPDU( externalAuthCommand );
                if(response[0] != (byte)0x90 || response[1] != 0x00) return false;
                else return true;
            }catch (Exception e){
                return false;
        private boolean isSelect(byte[] buffer) {
            if(buffer.length < 2) return false;
            if((buffer[0]&APDU_CMD_MASK)==CLA_ISO7816 && buffer[1]==INS_SELECT) {
                if(debug2) {
                    System.out.println("accessor: select command");
                return true;
            else {
                return false;
    }

  • JSP client in RMI system - java.rmi.UnmarshalException: error unmarshalling

    Hi,
    Im developing a login part for a distributed airline reservation system using JSP as the client but while executing the jsp, the error that is being catched is :
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
    Here are my codes:
    //Interface - Airline.java
    package Air;
    import java.rmi.*;
    public interface Airline extends Remote
         public int CheckUname(String username) throws RemoteException;
    }//implementation - AirlineImpl.java
    import java.net.*;
    import java.io.*;
    import java.sql.*;
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    public class AirlineImpl extends UnicastRemoteObject implements Airline
         public AirlineImpl() throws RemoteException
              super();
         public int CheckUname(String username) throws RemoteException
              try
                   int UnameCount = 0;
                   String xxx = "eaglebeta";
                   if(username.equals(xxx)
                        UnameCount++;
                   return UnameCount;
              catch (Exception e3)
                   System.out.println("Error: " + e3);
                   return 0;
    }//Server - AirlineServer.java
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    public class AirlineServer
         public static void main(String arg[])
              try
                   Airline myAirline = new AirlineImpl();
                   Naming.rebind("Airline", myAirline);
                   System.out.println();
                   System.out.println("************************************");
                   System.out.println(" >>> Airline Reservation System <<< ");
                   System.out.println("    >>> Server is Listening! <<<    ");
                   System.out.println("************************************");
                   System.out.println();
              catch (RemoteException e)
                   //System.out.println("Error: " + e);
                   System.out.println("RMI Registry is not active!");
                   System.out.println("Activate RMI Registry and retry!");
                   System.out.println("Bye bye, exiting...");
              catch (java.net.MalformedURLException e)
                   //System.out.println("URL Error: "+ e);
                   System.out.println("URL Malformed!");
                   System.out.println("Bye bye, exiting...");
    }//JSP client - newuser.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ page import="java.rmi.*, javax.servlet.*" %>
    <%@ page import="java.util.*, java.lang.*, java.io.*, Air.Airline" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#99CCFF">
    <%
    Object Airline = null;
    try
    Airline Air = (Airline)Naming.lookup("rmi://localhost/Airline");
    String Name = "eaglebeta";
    if(Air.CheckUname(Name)>0)
         %>
              Username already exists, choose another name
         <%
    else
         %>
         <%=Name%>
         <%
    catch (Exception e1)
    %>
    <%=e1%>
    <%
    %>
    </body>
    </html>The server, implementation, interface and stub are in a folder named "Airline Server" located on my desktop.
    The interface and stub again are in another folder named "Air" located in the "classes\Air" directory which is located in the tomcat 5.5 installation directory!
    The JSP client is located in the "Root" folder in the tomcat 5.5 installation derectory!
    1. I start the registry in the "Airline Server" folder by typing rmiregistry
    2. Load the Airline Server - java AirlineServer
    3. Call the jsp - http://localhost/newuser.jsp
    And i get the following error:
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
    Please help me to solve this problem!

    When I am including security manager in my JSP code, the browser just get blank without any display
    if(System.getSecurityManager() == null)
         System.setProperty("java.security.policy", "java.policy");
        System.setSecurityManager(new RMISecurityManager());
    }Please, someone solve my problem! Im realy stuck and I don't know how to proceed! Provide me with a solution or any tutorial that would help me...

  • Java RMI program error

    Dear friends,
    I am running an RMI example program,
    have used rmic to generate the stub and skeleton class, have used rmiregistry 1010 to start registry service, and used java Pi to start the server, but there are errors generated as follows,
    Error --java.rmi.UnknownHostException: Unknown host:Default; nested exception is:
    java.net.UnknownHostException:Default
    java.rmi.UnknownHostException: Unknown host:Default; nested exception is:
    java.net.UnknownHostException:Default
    java.net.UnknownHostException:Default
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getAllByName0(Unknown Source)
    at java.net.InetAddress.getByName(Unknown Source)
    at java.net.Socket.<init>(Unknow Source)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknow Source)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknow Source)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknow Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknow Source)
    at sun.rmi.server.UnicastRef.newCall(Unknow Source)
    at sun.rmi.registry.Registry_Stub.bind(Unknow Source)
    at java.rmi.Naming.bind(Unknown Source)
    at Pi.main(Pi.java:23)
    the program codes are as follows,
    //server interface
    import java.rmi.*;
    interface PiRemote extends Remote {
    double getPi() throws RemoteException;
    //server
    import java.net.*;
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.rmi.server.*;
    public class Pi extends UnicastRemoteObject
    implements PiRemote {
    public double getPi() throws RemoteException {
    return Math.PI;
    public Pi() throws RemoteException {
    public static void main(String[] arguments) {
    System.setSecurityManager(new
    RMISecurityManager());
    try {
    Pi p = new Pi();
    Naming.bind("//Default:1010/Pi", p);
    } catch (Exception e) {
    System.out.println("Error -- " +
    e.toString());
    e.printStackTrace();
    //client
    import java.rmi.*;
    import java.rmi.registry.*;
    public class OutputPi {
    public static void main(String[] arguments) {
    System.setSecurityManager(
    new RMISecurityManager());
    try {
    PiRemote pr =
    (PiRemote)Naming.lookup(
    "//Default:1010/Pi");
    for (int i = 0; i < 10; i++)
    System.out.println("Pi = " + pr.getPi());
    } catch (Exception e) {
    System.out.println("Error -- " + e.toString());
    e.printStackTrace();
    who know how to resolve the problem, thank you in advance:)

    I do always use the ip adress/port
    You can find it by
    try {
         ipLocal = InetAddress.getLocalHost();
         catch(Exception e) {
              new PopUpMessage("ERROR","Error in searching IP", true);
    system.out.println("Your IP address is " + ipLocal.getHostAddress());

  • Java.rmi.remote error

    Hello,
    I recently wrote a simply Infobus applet which includes a
    LoginDialog.
    1.when i run it in Jdeveloper(not be packed into .jar
    or .zip), i can login but get a error:"java.lang.OutofMemory",
    however,the frame will appear slowly when i reload the applet.
    (128M RAM in my PC).
    2.when i deployed it into myjar2.jar ,then run it in
    Jdeveloper, I can't login and get a error:"Named Connection cn1
    not be opened", (myjar2.jar includes the
    files: "connections.properties", "cn1.xml","Applet2.class ",etc .
    3.when i run it from client browser(IE5 & Netscape 4.7) after
    deployed,i can see the LoginDialog ,but can't login and get
    error:"java.rmi.remote".
    Please help me to resolve!
    Thanks!
    null

    Hi,
    When you run from within JDeveloper, make sure you are running
    the HTML file rather than the applet.java file. I have had
    better luck when using the HTML file to run, especially with the
    login dialog.
    When you run from a browser externally, make sure you are using
    the JDK 1.2 plugin. I think the release notes contain
    information on where to get it and how to use it.
    Laura
    lxd (guest) wrote:
    : Hello,
    : I recently wrote a simply Infobus applet which includes a
    : LoginDialog.
    : 1.when i run it in Jdeveloper(not be packed into .jar
    : or .zip), i can login but get a error:"java.lang.OutofMemory",
    : however,the frame will appear slowly when i reload the applet.
    : (128M RAM in my PC).
    : 2.when i deployed it into myjar2.jar ,then run it in
    : Jdeveloper, I can't login and get a error:"Named Connection cn1
    : not be opened", (myjar2.jar includes the
    : files: "connections.properties", "cn1.xml","Applet2.class ",etc
    : 3.when i run it from client browser(IE5 & Netscape 4.7)
    after
    : deployed,i can see the LoginDialog ,but can't login and get
    : error:"java.rmi.remote".
    : Please help me to resolve!
    : Thanks!
    null

  • Java.rmi.ServerException:

    I am new to RMI concept
    i stuck with the below problem
    when i execute
    E:\MyProjects\StockRMI>java -Djava.security.policy=policy.all StockMarketServerStockMarketServer is as shown below
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    import SimpleStocks.*;
    public class StockMarketServer {
      public static void main(String[] args) throws Exception {
        if(System.getSecurityManager() == null) {
          System.setSecurityManager( new RMISecurityManager() );
        StockMarketImpl myObject = new StockMarketImpl( "NASDAQ" );
        System.out.println( "RMI StockMarketServer ready..." );
    } i got the following error
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
            java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
            java.lang.ClassNotFoundException: SimpleStocks.StockMarketImpl_Stub
    RMI StockMarketServer ready...Interface class, Interface implementation class and stub all reside in MyProjects\StockRMI\SimpleStocks directory
    where as Server class(StockMarkerServer) is in MyProjects\StockRMI
    even i place the stub in MyProjects\StockRMI directory i got the same error.
    Can any one please save me out of this problem

    hurry!
    Thank u First of all
    I got it.. finally after 2 days
    The error is in CLASSPATH only , i set it
    Thanks once again

  • Java.rmi.ServerException: JAXRPCSERVLET28: Missing port information

    Hi
    We are getting errors when we run the webservice client..
    With this we have also provided the webservice code.
    Please any one help us to resolve this issue...
    Thanks in advance.
    We are using
    J2EE 1.4
    Error:
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:510)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.j
    ava:103)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocatio
    nHandler.java:121)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocatio
    nHandler.java:85)
    at $Proxy0.flowrequest(Unknown Source)
    at dynamicproxy.MathClient.main(MathClient.java:52)
    Web service Client Code:
    package dynamicproxy;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    //import com.ibm.ctg.client.JavaGateway;
    //import com.ibm.ctg.client.ECIRequest;
    import dynamicproxy.*;
    public class MathClient
    static String message;
    static String err=null;
         static StringBuffer sb = null;
         public String s1;
         public static int iValidationFailed = 0;
    public static void main(String[] args)
    try {
    String nameSpaceUri = "urn:Foo";
    String serviceName = "CtgService";
    String portName = "MathFacePort";
    // Specify the location of the WSDL file
    URL url = new URL("http://localhost:8080/math-ctgservice/math?WSDL");
    // Create an instance of service factory
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    // Create a service object to act as a factory for proxies.
    Service mathService = serviceFactory.createService(url,
    new QName(nameSpaceUri, serviceName));
    // Create a proxy
    dynamicproxy.MathFace
    myProxy = (dynamicproxy.MathFace) mathService.getPort(new
                             QName(nameSpaceUri,
    portName), dynamicproxy.MathFace.class);
    // Invoke the add method
    //System.out.println(myProxy.add(23, 12));
              //get the input value and pass it to the function
                   String a = args[0]+"~"+"------------------------------------------------------------";
                   //String a = b.toUpperCase();
                   // Invoke the add method
                   myProxy.flowrequest(a);
                   System.out.println("Message:"+message);
         catch (Exception ex)
    ex.printStackTrace();
    }

    As is so often the case, Google is your friend.
    Googling for the exception message (JAXRPCSERVLET28: Missing port information) yields the following list.
    http://www.google.com/search?hl=en&q=JAXRPCSERVLET28%3A+Missing+port+information&btnG=Google+Search
    Follow the bouncing link, it will lead you to the solution.
    PS.

  • Error in RMI simple code!

    i am using 4 files for rmi
    //Interface file
    public interface Calculator extends java.rmi.Remote{
    public long add(long a,long b)throws java.rmi.RemoteException;
    public long sub(long a,long b)throws java.rmi.RemoteException;
    public long mul(long a,long b)throws java.rmi.RemoteException;
    public long div(long a,long b)throws java.rmi.RemoteException;
    //Implementation file
    public class CalculatorImpl extends java.rmi.server.UnicastRemoteObject
    implements Calculator{
    public CalculatorImpl() throws java.rmi.RemoteException
    super();
    public long add(long a, long b) throws RemoteException {
    return(a+b);
    public long sub(long a, long b) throws RemoteException {
    return(a-b);
    public long mul(long a, long b) throws RemoteException {
    return(a*b);
    public long div(long a, long b) throws RemoteException {
    return(a/b);
    //Server File
    import java.rmi.Naming;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * @author Vedita
    public class CalculatorServer {
    public CalculatorServer(){
    try{
    Calculator c = (Calculator) new CalculatorImpl();
    Naming.rebind("rmi://localhost:1099/Calculator", c);
    catch (Exception e) {
    System.out.println("Trouble"+e);
    public static void main(String args[]){
    new CalculatorServer();
    //Client File
    import java.net.MalformedURLException;
    import java.rmi.Naming;
    import java.rmi.NotBoundException;
    import java.rmi.RemoteException;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * @author Vedita
    public class CalculatorClient {
    public static void main(String args[]) throws NotBoundException, MalformedURLException, RemoteException{
    try{
    Calculator c= (Calculator) Naming.lookup("rmi://remotehost:1099/Calculator");
    System.out.println(c.sub(4, 3));
    System.out.println(c.add(4, 5));
    System.out.println(c.mul(3, 6));
    System.out.println(c.div(9, 3));
    catch(MalformedURLException murle){
    System.out.println();
    System.out.println("MalformedURLException");
    System.out.println(murle);
    catch(RemoteException re){
    System.out.println();
    System.out.println("RemoteException");
    System.out.println(re);
    catch(NotBoundException nbe){
    System.out.println();
    System.out.println("NotBoundException");
    System.out.println(nbe);
    catch(java.lang.ArithmeticException ae){
    System.out.println();
    System.out.println("ArithmeticException");
    System.out.println(ae);
    i am executing the code as follows in command prompt
    in one cmd prompt
    javac *.java
    rmic CalculatorImpl
    rmiregistry
    in other cmd prompt
    javac *.java
    java CalculatorServer
    i am getting this error
    Error java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: CalculatorImpl_Stub
    Please Please help me because i have to submit the project in my college and this basic program is also not working in my pc. Please can anyone help me?

    //Implementation file
    public class CalculatorImpl extends java.rmi.server.UnicastRemoteObject
    implements Calculator{
    public CalculatorImpl() throws java.rmi.RemoteException
    super();super(0);

  • Must redeploy app or get java.rmi.AccessException: CORBA NO_PERMISSION 9998

    Hello. I'm hoping someone can give me a clue to the source of this problem.
    I have a very simple test application which consists of one EJB which is just a stateless session bean that has a method which return the String "Hello". This method can only be run by a user in the "test" role.
    I have a simple commandline client packaged in the application. I use deploytool to extract the Client.jar and I can run it with appclient - client myClient.jar. This little class connects to the bean in the server (via jndi lookup as per all tutorial example) and calls the sayHello() method. A login dialog appears in order to authenticate the user as it should and everything works perfectly ... BUT ...
    If I stop the server and start it again and try to run the client exactly the same way (appclient - client myClient.jar), I get the error message below. The application is running and I confirm that its there using deploytool and asadmin to list components, etc. The only way I can get it work again is by redeploying the application.
    I've looked around and found nothing about this regarding Sun Java System Application Server Platform Edition 8 2004Q4 Beta (which is what I'm using). I found some vague references to a similar sounding problem from people using Application Server 7, but the work around in those posts references switches and settings in deploytool that dont seem to be there in my version.
    Can anyone suggest a fix? I'd like the application to work upon starting up the server each morning for example without having to redeploy it. I'm glad to provide my test application archives and sources to anyone who would find them useful for solving this problem.
    Thanks!
    Error:
    java.rmi.AccessException: CORBA NO_PERMISSION 9998 Maybe; nested exception is:
    org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:179)
    at com.sun.ejb.containers.BaseContainer.authorizeRemoteMethod(BaseContainer.java:908)
    at com.sun.ejb.containers.StatelessSessionContainer.createEJBObjectImpl(StatelessSessionContainer.java:274)
    at com.sun.ejb.containers.EJBHomeImpl.createEJBObjectImpl(EJBHomeImpl.java:89)
    at com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocationHandler.java:140)
    at $Proxy15.create(Unknown Source)
    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 com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1683)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1543)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:925)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:697)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:454)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1188)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:398)
    Caused by: java.rmi.AccessException: Client is not authorized for this invocation.
    at com.sun.ejb.containers.BaseContainer.authorizeRemoteMethod(BaseContainer.java:906)
    ... 19 more
    ----------END server-side stack trace---------- vmcid: 0x2000 minor code: 1806 completed: Maybe
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:195)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at com.dcit.bmj.bmo.interfaces._HelloWorldHome_DynamicStub.create(_HelloWorldHome_DynamicStub.java)
    at com.dcit.bmj.client.WasUpClient.main(WasUpClient.java:35)
    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 com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:423)
    at com.sun.enterprise.appclient.Main.main(Main.java:96)
    Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.NO_PERMISSION: vmcid: 0x2000 minor code: 1806 completed: Maybe
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:179)
    at com.sun.ejb.containers.BaseContainer.authorizeRemoteMethod(BaseContainer.java:908)
    at com.sun.ejb.containers.StatelessSessionContainer.createEJBObjectImpl(StatelessSessionContainer.java:274)
    at com.sun.ejb.containers.EJBHomeImpl.createEJBObjectImpl(EJBHomeImpl.java:89)
    at com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocationHandler.java:140)
    at $Proxy15.create(Unknown Source)
    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 com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1683)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1543)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:925)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:697)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:454)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1188)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:398)
    Caused by: java.rmi.AccessException: Client is not authorized for this invocation.
    at com.sun.ejb.containers.BaseContainer.authorizeRemoteMethod(BaseContainer.java:906)
    ... 19 more
    ----------END server-side stack trace---------- vmcid: 0x2000 minor code: 1806 completed: Maybe
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:575)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:132)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:129)
    ... 10 more

    Hi Raja.
    So Sorry for the delay. Anyway, I've come back to try to do this now and just cant make the problem happen! I'm tearing my hair out to figure out what has changed. In the meantime, I'm going to just move past this. If it shows up again, I'll be sure to post all related files back in this forum.
    Thanks!

  • Java.rmi.NoSuchObjectException: no such object in table

    When I try to connect to my server from an external network, I get this error: java.rmi.NoSuchObjectException: no such object in table
    What is happening is I am connecting to my RMI server through a client, and the RMI server connects to a database, gets the results, and then transfers the results back to the client. It works before in an internal network, even if I'm on a different subnet. But I get that error in an external network. What does that error even mean?

    I turned this to static
    public class PRFromDBServer implements PRFromDatabaseInterface {
       private int      port;
        private String   ipAddress;
        private Registry registry;   
        //This was recently turned static
        private static PRFromDatabaseInterface stub
        public PRFromDBServer() {
             super();
              port=1099;
              try {
                  //get the address of this host.
                  ipAddress= (InetAddress.getLocalHost()).toString();
                  //PRFromDBServer engine=new PRFromDBServer();
                  stub=(PRFromDatabaseInterface)UnicastRemoteObject.exportObject(this, 1081);
                  // create the registry and bind the name and object.
                  registry = LocateRegistry.createRegistry(port);
                  registry.rebind("prFromDBServer", stub);
                  System.out.println("IP:"+ipAddress+" Port:"+port);
              } catch (UnknownHostException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (RemoteException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }//end Server ClassAre you saying I should turn the how class static when I insantiate it?
    private static PRFromDBServer = new PRFromDBServer();

  • Java.rmi.RemoteException: Unexpected fault was returned by the server

    Hi,
    when we try to have some concurrent request, we've got the following error :
    java.rmi.RemoteException: Unexpected fault was returned by the server (faultcode: Server.userException, faultstring: java.net.SocketTimeoutException: Read timed out). at com.plumtree.remote.prc.collaboration.project.ProjectWrapper.store()V(ProjectWrapper.java:263) at com.airbus.collaboration.pcs.api.AirbusProject.store()V(AirbusProject.java:102)
    We don' have this problem for a unique request.
    Can you help us ?
    Thanks,
    Stephane RODIERE

    EDK is not thread safe.  We do not expect people to use it in a mult-threaded way.  Also, the read timed out error that you are getting can happen for a lot of reasons outside of edk's control.  Are you seeing the same read timed out error consistently in the same call?

  • Urgent   Chatting RMI ( java.rmi.ConnectIOException)

    hello;
    I have a project cat in RMI in the network internet,le problem what the server doesn't communicate with the customer (the customer has a private address (local network) and the server has a public address (network internet)) message error:
    java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.27; nested exception is:
    java.net.NoRouteToHostException: No routes to host
    how I can solve this problem (urgent)
    thank you

    There are only two ways that I am aware of to do this:
    1. The customer must deploy a port-forwarding device such as a NAT device, and the client must do -Djava.rmi.server.hostname= the public IP address of the NAT device prior to exporting its callback. The client must also export on a fixed port number, and the NAT device must be configured to forward this port number as appropriate.
    2. Buy and deploy my RMI Proxy product at the client: http://www.rmiproxy.com
    EJP

Maybe you are looking for

  • I cant pay my old bill because my informatio​ns been updating for days?

    I am a returning customer who cancelled there internet because my PC broke and I just got it fixed recently after starting up work again after being laid off since October. My final bill was paid but yet I went to log in to try and renew my service w

  • How to assign the events in a specific method in class builder(se24)

    i have declared one event in event part.i want to asign the event to one method .can any one help me .i have to do it in se24.pls

  • Sharing problem from OSX mavericks to windows 7

    I want to acces a windows 7 shared folder with my mac. I have schared the windows folder and have given full permission to evereyone. The workgroup name, login and pasword are the same on the MAC and Windows 7 PS. I have don a ping test and the resul

  • ODS activation failing with the reason : ODS not built properly"

    Hai,          I have a process chain wherein I have an ODS thats being loaded and activated. The problem is that the load is successful but the activation is failing. When I see the process monitor, it says "DataStore ZXXXX built incorrectly; cannot

  • Error in Creating MV

    Hi, When i try to create MV ,it throws me an following error. ORA-12014: table P_STG_VW' does not contain a primary key constraint Is it posible to create MV without a Primary Key on table? Following is what i'm using to create my view. CREATE MATERI