Error while running EJB Client

Hi All,
I have just written a program in EJB for currency conversion. But while running the client , i am getting the following error:
C:\Java Source Code\EJB>java CalculatorClient
java.lang.NoSuchMethodError: loadClass0
at com.sun.corba.ee.internal.util.JDKClassLoader.specialLoadClass(Native
Method)
at com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoade
r.java:58)
at com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:18
0)
at com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:83)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.loadClass(Util.java:37
8)
at javax.rmi.CORBA.Util.loadClass(Unknown Source)
at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(Unknown Sour
ce)
at javax.rmi.PortableRemoteObject.<clinit>(Unknown Source)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
a:57)
etc........
The files that have been created are in the same folder which are as follows:
Calculator.java Calculator.class - Remote Interface
CalculatorHome.java CalculatorHome.class - Home Interface
CalculatorEJB.java CalculatorEJB.class - EJB class
ejbClient.jar - Client Jar
ejb.ear
The version for J2EE is 1.2.1
Version for Jdk is 1.4.2
Operating System - WinXP
Could somebody pls help?
Cooljacks

... but you did deploy it to an application server, right?

Similar Messages

  • Error while running EJB from Client

    I am able to successfuly deploy the EJB in Oracle 8.1.5, While running the Client code I am getting the following error, can any one help how to solve.
    org.omg.CORBA.INTERNAL[completed=MAYBE, reason=java.lang.ClassNotFoundException: com.visigenic.vbroker.ds.DSUser]
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at org.omg.CORBA.SystemException.<init>(Compiled Code)
    at org.omg.CORBA.INTERNAL.<init>(Compiled Code)
    at com.visigenic.vbroker.orb.ORB.create(Compiled Code)
    at com.visigenic.vbroker.orb.ORB.create(Compiled Code)
    at com.visigenic.vbroker.orb.ORB.locator(Compiled Code)
    at com.visigenic.vbroker.orb.ORB.bind(Compiled Code)
    at com.visigenic.vbroker.orb.UnboundStubDelegate.bind(Compiled Code)
    at com.visigenic.vbroker.orb.UnboundStubDelegate.request(Compiled Code)
    at com.visigenic.vbroker.orb.UnboundStubDelegate.request(Compiled Code)
    at org.omg.CORBA.portable.ObjectImpl._request(Compiled Code)
    at org.omg.CORBA._st_InitialReferences.get(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.defaultSession(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled Code)
    at oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled Code)
    at javax.naming.InitialContext.lookup(Compiled Code)
    at Date.Client.main(Compiled Code)
    null

    Verify if the connect.properties match your deployment mode viz Local, EJB or Oracle8i.
    Uday

  • Error in running EJB Client on a remote machine

    I delploy my beans and can run the EJB Client locally. However when I try to run the Client on another machine, there are errors.
    Here is the errors
    Syntax error
    Out of environment space
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/appclient/Main
    I have follow the step in the j2ee tutorial and set the env variables according. Here is the bat file I write
    set APPCPATH=CBSAppClient.jar
    set VMARGS=-Dj2eelogin.name=guest -Dj2eelogin.password=guest123 -Dorg.omg.CORBA.ORBInitialHost=192.168.0.2
    runclient -client CBSApp.ear -name CBSClient -textauth
    Do anyone facing the same problem with me?
    And how can I solve the problems?
    This is really URGENT, please help

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Problem while running EJB client

    my TaxClient program caught an exception when i issued this command:
    java -classpath %J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\j2ee.jar;TaxClient.jar;. TaxClient
    the exception look like this:
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Porta
    bleRemoteObject.java:296)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at TaxClient.main(TaxClient.java:13)
    and this is my client code:
    import bmp.*;
    import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    public class TaxClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    Object objRef = initial.lookup("MyTaxBean");
    TaxHome home = (TaxHome) PortableRemoteObject.narrow(objRef, TaxHome.class);
    Tax tax = null;
    tax = home.create("IL", 5.00f);
    tax = home.create("CA", 6.25f);
    tax = home.create("FL", 8.50f);
    tax = home.create("CO", 6.75f);
    tax = home.findByPrimaryKey("CA");
    System.out.println("CA tax rate: " + tax.getTaxRate());
    System.out.println("Changing tax rate for CA state");
    tax.setTaxRate(8.25f);
    System.out.println("New CA tax rate: " + tax.getTaxRate());
    Collection taxArray = home.findInRange(5.0f, 7.0f);
    Iterator it = taxArray.iterator();
    while (it.hasNext()) {
    Object objRef2 = it.next();
    tax = (Tax)PortableRemoteObject.narrow(objRef2, Tax.class);
    System.out.println("Tax Rate in " + tax.getPrimaryKey() + ": "
    + tax.getTaxRate());
    tax.remove();
    } catch (Exception ex) {
    System.err.println("Caught an exception.");
    ex.printStackTrace();
    anyone who know what is problem pls help. i'm using win2k, j2sdk 1.3.1_02 and j2ee1.3.1. thanks

    yeah its run. some problem with the deployer descriptor. but problem occured again when i try to run the client for the second time it throws exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: O
    bject state could not be saved; nested exception is:
    javax.ejb.EJBException: Object state could not be saved
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Object st
    ate could not be saved; nested exception is:
    javax.ejb.EJBException: Object state could not be saved
    javax.ejb.EJBException: Object state could not be saved
    <<no stack trace available>>
    why it runs for the first time but not for the second?

  • ClassCastException exception while running EJB Client

    Folks,
    I am getting following exception while running the EJB Client.. I am
    using WLS 5.1
    Exception in thread "main" java.lang.ClassCastException
    at
    javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:319)
    at FirstStatelessEJBClient.Client.lookupHome(Client.java:149)
    at FirstStatelessEJBClient.Client.<init>(Client.java:44)
    at FirstStatelessEJBClient.Client.main(Client.java:82)
    Can anybody throw a light on this.
    Thanks
    Ashish

    Hi Eduardo,
    Below is my classpath. The stubs are in first_statlessSession.jar file.
    CLASSPATH=C:\weblogic\myserver\first_statelessSession.jar;
    C:\jdk1.2.2\lib\tools.jar;C:\weblogic\license;C:\weblogic\classes;C:\weblogi
    c\lib\weblogicaux.jar;
    C:\weblogic\myserver\clientclasses;C:\weblogic\myserver\serverclasses
    Also, I am just compiling and deploying the
    C:\weblogic\examples\ejb\basic\statelessSession myself and testing it. I
    am
    using the build.cmd files to compile and deploy the above EJB. If I use the
    jars provided by weblogic it works fine with same above classpath.
    I don't know what to do next. I have invested the whole day to solve this
    problem and couldn't.
    Please let me know if I am doing anything wrong.
    Appreciate your help.
    Thanks,
    Ashish
    Eduardo Ceballos wrote:
    Try putting the stubs into the client class path.
    "Ashish N. Shah" wrote:
    Folks,
    I am getting following exception while running the EJB Client.. I am
    using WLS 5.1
    Exception in thread "main" java.lang.ClassCastException
    at
    javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:319)
    at FirstStatelessEJBClient.Client.lookupHome(Client.java:149)
    at FirstStatelessEJBClient.Client.<init>(Client.java:44)
    at FirstStatelessEJBClient.Client.main(Client.java:82)
    Can anybody throw a light on this.
    Thanks
    Ashish

  • Getting runtime error while running HTTPS client

    hi
    i have return https client in java,which does not give error while compiling but its giving runtime error as shown below.
    java.security.NoSuchAlgorithmException: Algorithm RSA not available
    at javax.net.ssl.SunJSSE_b.a(DashoA6275)
    at javax.net.ssl.KeyManagerFactory.getInstance(DashoA6275)
    at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java
    :65)
    java.lang.NullPointerException
    at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java
    :78)
    and this is the code
    import java.net.*;
    import java.io.*;
    import javax.net.ssl.*;
    //import javax.security.cert.X509Certificate;
    import java.security.KeyStore;
    import java.security.*;
    * This example shows how to set up a key manager to do client
    * authentication if required by server.
    * This program assumes that the client is not inside a firewall.
    * The application can be modified to connect to a server outside
    * the firewall by following SSLSocketClientWithTunneling.java.
    public class SSLSocketClientWithClientAuth {
    public static void main(String[] args) throws Exception {
         //String host = null;
         //int port = -1;
         String host="10.11.25.251";
         int port = 443;
         SSLSocket socket;
         String path = null;
         for (int i = 0; i < args.length; i++)
         System.out.println(args);
         /*if (args.length < 3) {
         System.out.println(
              "USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         /*try {
         host = args[0];
         port = Integer.parseInt(args[1]);
         //path = args[2];
         } catch (IllegalArgumentException e) {
         System.out.println("USAGE: java SSLSocketClientWithClientAuth " +
              "host port requestedfilepath");
         System.exit(-1);
         try {
         * Set up a key manager for client authentication
         * if asked by the server. Use the implementation's
         * default TrustStore and secureRandom routines.
         SSLSocketFactory factory = null;
         try {
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              char[] keystorepass = "123456".toCharArray();
              char[] keypassword ="13051983".toCharArray();
              ctx = SSLContext.getInstance("TLS");
              //kmf = KeyManagerFactory.getInstance("RSA");
              ks = KeyStore.getInstance("JKS");
              ks.load(new FileInputStream("testkeys"), keystorepass);
    kmf = KeyManagerFactory.getInstance("RSA");
              kmf.init(ks, keypassword);
              ctx.init(kmf.getKeyManagers(), null, null);
              factory = ctx.getSocketFactory();
         } catch (Exception e) {
              //throw new IOException(e.getMessage());
         e.printStackTrace();
              socket = (SSLSocket)factory.createSocket(host, port);
              socket.startHandshake();
         * send http request
         * See SSLSocketClient.java for more information about why
         * there is a forced handshake here when using PrintWriters.
    PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())));
         // out.println("GET " + path + " HTTP/1.1");
         out.println();
         out.flush();
         * Make sure there were no surprises
         if (out.checkError())
              System.out.println(
              "SSLSocketClient: java.io.PrintWriter error");
         /* read response */
         BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        socket.getInputStream()));
         String inputLine;
         while ((inputLine = in.readLine()) != null)
              System.out.println(inputLine);
         in.close();
         out.close();
    socket.close();
         } catch (Exception e) {
         e.printStackTrace();
    please help me out .
    regards,
    sunil

    Hi
    Please do a fetch from the database and then change the information in DRM console for the CSS parameter. This error I received only due to the CSS details in DRM 11.1.2.
    Thanks
    Rupak
    Mantra to Win | WinMantras.com | http://hyperion.winmantras.com

  • Getting Error while running Web Client

    Hi ,
    I installed DRM_11.1.2.1.0 Successfully. I am able to create Repositry also successfully.I started all the services But when i am running Web Client i am getting below error. Can any one please help me onthis how to solve this.Thanks in advance.
    Server Error in '/drm-web-client' Application.
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [NullReferenceException: Object reference not set to an instance of an object.]
    Oracle.Drm.Client.Error.Page_Load(Object sender, EventArgs e) +26
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604
    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

    Hi
    Please do a fetch from the database and then change the information in DRM console for the CSS parameter. This error I received only due to the CSS details in DRM 11.1.2.
    Thanks
    Rupak
    Mantra to Win | WinMantras.com | http://hyperion.winmantras.com

  • Error while running EJB from java client on JBOSS

    Hi
    As i am new to EJB i have created a helloworld application in ejb which is working fine when i try to call it from servlet but when i try to invoke the same ejb from java client (i.e from diff jvm) on jboss i got the following error:
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]]
         at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1399)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.gl.TestClient.main(TestClient.java:39)
    Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]
         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254)
         at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370)
         ... 4 more
    Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]
         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:228)
         ... 5 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)
         at java.net.Socket.connect(Socket.java:469)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:266)
         at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
         at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
         at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:224)
         ... 5 more
    Following is my code:
    Home Interface:
    package com.gl;
    import javax.ejb.CreateException;
    public interface testHome extends EJBHome {
         String JNDI_NAME = "testBean";
         public     test create()
         throws java.rmi.RemoteException,CreateException;
    Remote Interface:
    package com.gl;
    import java.rmi.RemoteException;
    import javax.ejb.EJBObject;
    public interface test extends EJBObject {
         public String welcomeMessage() throws RemoteException;
    Bean:
    package com.gl;
    import java.rmi.RemoteException;
    import javax.ejb.EJBException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    public class testbean implements SessionBean {
         public void ejbActivate() throws EJBException, RemoteException {
              // TODO Auto-generated method stub
         public void ejbPassivate() throws EJBException, RemoteException {
              // TODO Auto-generated method stub
         public void ejbRemove() throws EJBException, RemoteException {
              // TODO Auto-generated method stub
         public void setSessionContext(SessionContext arg0) throws EJBException,
                   RemoteException {
              // TODO Auto-generated method stub
         public void ejbCreate(){}
         public String welcomeMessage(){
              return "Welcome to the World of EJB";
    ejb-jar.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>testBean</ejb-name>
    <home>com.gl.testHome</home>
    <remote>com.gl.test</remote>
    <ejb-class>com.gl.testbean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    jboss.xml:
    <?xml version='1.0' ?>
    <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
    <jboss>
    <enterprise-beans>
    <entity>
    <ejb-name>testBean</ejb-name>
    <jndi-name>testBean</jndi-name>
    </entity>
    </enterprise-beans>
    </jboss>
    Client code:
    package com.gl;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    public class TestClient {
         public static void main(String[] args) throws Exception{
                   try{
                   /*     Properties props=new Properties();
                        props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
                        props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
                        props.put(Context.PROVIDER_URL, "jnp://localhost:1099");
                   Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,
    "org.jnp.interfaces.NamingContextFactory");
    props.put(Context.PROVIDER_URL, "localhost:1099");
                        System.out.println("Properties ok");
                        //env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");
                        //env.put(Context.PROVIDER_URL,"http://localhost:8080");
                        //env.put(Context.SECURITY_PRINCIPAL, "");
                        //env.put(Context.SECURITY_CREDENTIALS, "");
                        Context ctx=new InitialContext(props);
                        System.out.println("context ok");
                        //testHome home = (testHome)ctx.lookup("testBean");
                        Object obj = ctx.lookup ("testBean");
                        System.out.println("ojb = " + obj);
                        testHome ejbHome = (testHome)PortableRemoteObject.narrow(obj,testHome.class);
                   test ejbObject = ejbHome.create();
                   String message = ejbObject.welcomeMessage();
                        System.out.println("home ok");
                        System.out.println("remote ok");
                        System.out.println(message);
                        catch(Exception e){e.printStackTrace();}
    I am able to successfully deployed my ejb on JBOSS but i m getting above error when i am trying to invoke ejb from java client.
    kindly suggest me something to solve this issue.
    Regards
    Gagan
    Edited by: Gagan2914 on Aug 26, 2008 3:28 AM

    Is it a remote lookup? Then maybe this will help:
    [http://wiki.jboss.org/wiki/JBoss42FAQ]
    - Roy

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • The server deploy EJB but I run EJB Client program,The error msg is can't find JNDI

    Hi all:
    I am using Weblogic 6.1/SP2. I use the console to start
    server and deploy EJB jar,from the msg I see my EJB jar
    been deployed. When I run EJB Client program, the error
    msg is can't find JNDI name t3://URL:11003.....
    I check my ejb-jar.xml amd weblogic-ejb-jar.xml are fine.
    Last week I did deploy EJB and ran the client both
    suceessful. Any ideas, Thank you.

    Sabha:
    Thank you for your help info, I soloved the problem.
    The problem is the ejb jar was deleted(I don't why)
    then System Admin to deploy EJB jar from Admin console.
    After that everything is fine.
    "Sabha" <[email protected]> wrote:
    Run weblogic.Admin -url ... LIST to see whether the JNDI name is there
    . or
    you can view the jndi tree of the server from the console (right click
    on
    server name) and check whether the ejb home is bound to the correct jndi
    name.
    -Sabha
    "Matthew Shinn" <[email protected]> wrote in message
    news:[email protected]..
    Hi Albert,
    I would double check to make sure the EJB was indeed deployed (check
    server log). What message did you see that leads you to believe itwas
    successfully deployed? Also, verify the JNDI name you are lookingup in
    your client matches the JNDI name for the EJB. If this doesn't solve
    the problem, please post the error message and stack trace you are
    seeing on the client.
    - Matt
    Albert Pi wrote:
    Hi all:
    I am using Weblogic 6.1/SP2. I use the console to start
    server and deploy EJB jar,from the msg I see my EJB jar
    been deployed. When I run EJB Client program, the error
    msg is can't find JNDI name t3://URL:11003.....
    I check my ejb-jar.xml amd weblogic-ejb-jar.xml are fine.
    Last week I did deploy EJB and ran the client both
    suceessful. Any ideas, Thank you.

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Error while running ejbc - Deployment time

    Whilst trying to deploy my WSE through J2EE deploy tool i get the follwoing error:
    Deployment failed on target Server localhost:4848 : Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    I am not using ejb as far as I'm aware. I have succesfully buit my WSE using asant with no compilation errors.
    Here is copy of the code
    package rcews;
    import java.rmi.RemoteException;
    import java.util.Vector;
    import java.sql.*;
    import javax.sql.DataSource;
    //import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.xml.rpc.server.ServletEndpointContext;
    import javax.xml.rpc.server.ServiceLifecycle;
    import javax.xml.rpc.ServiceException;
    public class RceWSImplementation implements RceWSInterface, ServiceLifecycle {
         private DataSource ds;
         ServletEndpointContext endPtCntxt;
         public void init(Object context) throws ServiceException {
              try {
                   endPtCntxt = (ServletEndpointContext) context;
                   InitialContext ic = new InitialContext();
                   // Specify the logical name of the database
                   // Obtain the DataSource object associated with the logical name
                   ds = (DataSource) ic.lookup("java:comp/env/jdbc/rcedstar");
                   ic.close();
              } catch(NamingException ne) {
                   ne.printStackTrace();
                   throw new ServiceException("\nCannot initialise JNDI ENC\n", ne);
         public String [] getSignals() throws RemoteException {
              Statement sqlStmnt;
              ResultSet rs;
              String countQuery = "SELECT COUNT(DISTINCT signal_ref) FROM tblSignals";
              String query = "SELECT DISTINCT signal_ref FROM tblSignals ORDER BY signal_ref";
              String[] signals = null;
              int count = 0;
              try {
                   // Establish connection with the database and return a Connection object
                   Connection con = ds.getConnection();
                   System.out.println("Connection made Successfully");
                   // Create and execute SQL statement
                   sqlStmnt = con.createStatement();
                   rs = sqlStmnt.executeQuery(countQuery);
                   if(rs.next()) {
                        int size = rs.getInt(0);
                        signals = new String[size];
                   rs = sqlStmnt.executeQuery(query);
                   // Move through ResultSet and pull singal reference information
                   while(rs.next()) {
                        signals[count] = rs.getString("signal_ref");
                        count++;
                   con.close();
              } catch (Exception e) {
                   e.printStackTrace();
              return signals;
         public Vector getLampDurations(String[] signal_refs, String[] lamps, int hours) throws RemoteException {
              // Varaible Declarations
              Vector details = null;
              String signals, lamp_colours;
              PreparedStatement psqlStmt;
              ResultSet rs;
              String query = "SELECT signal_ref, light, SUM(duration), SUM(on_count) FROM tblsignals, tblsignal_events " +
                        "WHERE tblSignals.id = tblSignal_Events.id AND tblSignals.signal_ref IN (?) AND tblSignals.light IN (?) " +
                        "GROUP BY signal_ref, light" +
                        "HAVING SUM(duration) > ?";
              StringBuffer sbSignals = new StringBuffer(50);
              StringBuffer sbLamps = new StringBuffer(31);
              // Build Strings for use in Prepared SQL statements
              for(int i=0;i<signal_refs.length-1;i++) {
                   sbSignals.append("'" + signal_refs[i] + "'");
                   sbLamps.append("'" + lamps[i] + "'");
                   if (i <= signal_refs.length - 2) {
                        sbSignals.append(",");
                        sbLamps.append(",");
              signals = new String(sbSignals);
              lamp_colours = new String(sbLamps);
              try {
                   // Establish connection with the database and return a Connection object
                   Connection con = ds.getConnection();
                   System.out.println("Connection made Successfully");
                   // Apply strings to statement
                   psqlStmt = con.prepareStatement(query);
                   psqlStmt.setString(1, signals);
                   psqlStmt.setString(2, lamp_colours);
                   psqlStmt.setInt(3, hours);
                   // Obtain data from DB
                   details = new Vector(4);
                   String[] results = new String[4];
                   rs = psqlStmt.executeQuery();
                   while(rs.next()) {
                        // Copy contents of the ResultSet into a String Array for each record
                        int i = 0;
                        results[i]   = rs.getString(1);               //Signal Reference
                        results[i++] = rs.getString(2);               //Lamp (i.e colour)
                        double seconds  = rs.getDouble(3);          //Duration
                        seconds = seconds / (60*60);               //Convert Seconds to Hours - would be nice to convert to Hours:mins:secs
                        results[i++] = String.valueOf(seconds);
                        results[i++] = String.valueOf(rs.getInt(4));     //Number of Times lamp has been switched on
                        // Append the string Array to a Vector
                        details.addElement(results);
                   if (psqlStmt != null) { psqlStmt.close(); }
                   if (con != null) { con.close(); }
              } catch (Exception e) {
                   e.printStackTrace();
              return details;
         public void destroy() {
              ds = null;
    }

    Have since found this from the server log but I have no idea about how to solve this!
    [#|2004-03-10T15:08:04.574+0000|INFO|j2ee-appserver1.4|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5109: EJBC - START of EJBC for [RCE-WebService]|#]
    Remote message: Processing beans ....
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RceWSInterface_Tie.java:32: '(' or '[' expected
    super(new rcews.RCE-WebService_SerializerRegistry().getRegistry());
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RceWSInterface_Tie.java:32: ')' expected
    super(new rcews.RCE-WebService_SerializerRegistry().getRegistry());
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:18: '{' expected
    public class RCE-WebService_SerializerRegistry implements SerializerConstants {
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:33: <identifier> expected
    registerSerializer(mapping,rcews.RceWSInterface_getLampDurations_RequestStruct.class, type, serializer);
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:33: '{' expected
    registerSerializer(mapping,rcews.RceWSInterface_getLampDurations_RequestStruct.class, type, serializer);
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:65: illegal start of type
    return registry;
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:65: <identifier> expected
    return registry;
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:68: 'class' or 'interface' expected
    private static void registerSerializer(TypeMapping mapping, Class javaType, QName xmlType,
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:74: 'class' or 'interface' expected
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:75: 'class' or 'interface' expected
    ^
    10 errors

  • Error while running the tutorial posted by Steve Muench

    Hi Guys,
    I have been trying to run the tutorial published by Steve Muench on October 9 2006. I've followed all the steps as specified in the tutorial.
    Chapter 3.4:Run the Application, should supposed to compile and run my application using stand-alone embedded OC4J. It was compiled witout any error. But gave me the following error while running the application.
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracledevday\jdeveloper\jdev\system\oracle.j2ee.10.1.3.39.14\embedded-oc4j\config>
    C:\oracledevday\jdeveloper\jdk\bin\javaw.exe -client -classpath C:\oracledevday\jdeveloper\j2ee\home\oc4j.jar;C:\oracledevday\jdeveloper\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\oracledevday\jdeveloper\jdev\system\oracle.j2ee.10.1.3.39.14\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-10-12 22:47:17.250 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    2006-10-12 22:47:17.265 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    2006-10-12 22:47:22.609 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: datatags does not exist. Error creating Web application: webapp
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 14015 ms.
    Target URL -- http://10.10.10.10:8988/MyDemo/faces/pages/EmployeesTable.jspx
    06/10/12 22:47:22 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    22:47:26 WARN (Digester) -[ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    22:47:26 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/EmployeesTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/DepartmentsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/LocationsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/CountriesTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/RegionsTable.jspx)
    22:47:27 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/pages/JobsTable.jspx)
    2006-10-12 22:47:29.546 TRACE Setting JAZN Config property ...
    2006-10-12 22:47:29.625 NOTIFICATION ---- JAZNSecurityContext.getUserPrincipal(): NULL
    2006-10-12 22:47:32.015 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    22:47:32 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/EmployeesTable.jspx, pagedef=EmployeesPageDef
    22:47:32 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    22:47:32 DEBUG (BreadcrumbStack) -Adding breadcrumb to stack: "Employees" (/pages/EmployeesTable.jspx)
    22:47:32 DEBUG (JhsPageLifecycle) -Executing prepareRender, page=/pages/EmployeesTable.jspx, pagedef=EmployeesPageDef
    22:47:32 DEBUG (BreadcrumbStack) -Breadcrumb already on stack; rolling back the stack
    22:47:32 DEBUG (BreadcrumbStack) -Adding breadcrumb to stack: "Employees" (/pages/EmployeesTable.jspx)
    2006-10-12 22:47:34.468 ERROR
    Please advise and let me know if you need any other information from me.
    Thanks,
    Magesh.

    Thanks Steven.
    That makes sense. Is there anything I can do to make this demo work without de-installing 10.1.3.1 Preview? Or If I also install 10.1.3.0.4 with SU5 on another folder, does that affect my 10.1.3.1 Preview version?
    I'm using 10.1.3.1 Preview version to learn Oracle's SOA suite.
    Thanks again,
    Magesh.

  • Error while running adlnkoh.sh

    I am performing cloning of Oracle Apps R12 version 12.0.4
    Using cold backup single node to single node.
    I got an error and i checked the logfile i got this
    Error while running adlnkoh.sh.
    return code = .1.7.12.14.15.16.17.18.19.21.22.23.24.25.26.27.30.32.33.34.42.43.44.45.46.47.48.49.51.52.53.54.55.56.57.58.59.60.62
    Please check logfile located at /oracle/cloning/db/tech_st/10.2.0/appsutil/log/TEST1_zishan/make_12091249.log
    Then I had seen above logfile and i got this error
    running genclntsh...
    /oracle/cloning/db/tech_st/10.2.0/lib/libcore10.a: could not read symbols: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    Failed to generate client shared library on Thu Dec 9 12:49:07 IST 2010...
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.s /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.o
    Completed removing old executables on Thu Dec 9 12:49:07 IST 2010...
    /usr/bin/gcc -O2 -I/oracle/cloning/db/tech_st/10.2.0/rdbms/demo -I/oracle/cloning/db/tech_st/10.2.0/rdbms/public -I/oracle/cloning/db/tech_st/10.2.0/plsql/public -I/oracle/cloning/db/tech_st/10.2.0/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -c -o config.o config.c
    Completed relinking target config.o ...
    Completed linking target links on Thu Dec 9 12:49:09 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/precomp/lib
    Linking /oracle/cloning/db/tech_st/10.2.0/precomp/lib/proc
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    /bin/chmod: cannot access `/oracle/cloning/db/tech_st/10.2.0/precomp/lib/proc': No such file or directory
    make: *** [oracle/cloning/db/tech_st/10.2.0/precomp/lib/proc] Error 1
    Failed linking target relink on Thu Dec 9 12:49:10 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/rdbms/lib
    /usr/bin/ar cr /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/libknlopt.a /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/kkpoban.o
    /oracle/cloning/db/tech_st/10.2.0/lib//libcore10.a: could not read symbols: No more archived files
    collect2: ld returned 1 exit status
    make: *** [oracle/cloning/db/tech_st/10.2.0/rdbms/lib/oracle] Error 1
    Failed linking target oracle on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/network/lib
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1
    Failed linking targets nnfgt.o mkldflags client_sharedlib on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/sqlplus/lib
    make: *** [sqlplus] Error 1
    Failed linking target sqlplus on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/rdbms/lib
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [trcroute] Error 1
    Failed linking target install ((ins_net_client.mk) on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/plsql/lib
    chmod 755 /oracle/cloning/db/tech_st/10.2.0/bin
    make: *** [ctxload] Error 1
    Failed linking target install on Thu Dec 9 12:49:13 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/sysman/lib
    make -f /oracle/cloning/db/tech_st/10.2.0/sysman/lib/ins_sysman.mk relink_sharedobj SHAREDOBJ=libnmemso
    Error found while relinking
    return code = .1.7.12.14.15.16.17.18.19.21.22.23.24.25.26.27.30.32.33.34.42.43.44.45.46.47.48.49.51.52.53.54.55.56.57.58.59.60.62

    No it is not packages problem i had check all the packages it is showing some relinking error.
    Please do help me out, I am sending u the log record of make file
    /oracle/cloning/db/tech_st/10.2.0/appsutil/log/TEST1_zishan/make_12091509.log
    running genclntsh...
    /oracle/cloning/db/tech_st/10.2.0/lib/libcore10.a: could not read symbols: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    Failed to generate client shared library on Thu Dec 9 15:09:21 IST 2010...
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.s /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.o
    Completed removing old executables on Thu Dec 9 15:09:21 IST 2010...
    /usr/bin/gcc -O2 -I/oracle/cloning/db/tech_st/10.2.0/rdbms/demo -I/oracle/cloning/db/tech_st/10.2.0/rdbms/public -I/oracle/cloning/db/tech_st/10.2.0/plsql/public -I/oracle/cloning/db/tech_st/10.2.0/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -c -o config.o config.c
    Completed relinking target config.o ...
    make[1]: *** [oracle/cloning/db/tech_st/10.2.0/sysman/lib/nmccollector] Error 1
    make[1]: Leaving directory `/oracle/cloning/db/tech_st/10.2.0/sysman/lib'
    make: *** [nmccollector] Error 2
    Failed linking target collector on Thu Dec 9 15:09:34 IST 2010...
    The value of IS_RAC:false
    Error found while relinking
    return code = .1.7.12.14.15.16.17.18.19.21.22.23.24.25.26.27.30.32.33.34.42.43.44.45.46.47.48.49.51.52.53.54.55.56.57.58.59.60.62

  • Getting error while running baseline_update.sh

    Hi, getting the below error while running baseline_update script:
    [10.22.13 16:57:17] INFO: Pushing authoring content to dgraph: AuthoringDgraph
    [10.22.13 16:57:17] SEVERE: Service Unavailable (503):
    Occurred while executing line 5 of valid BeanShell script:
    2|
    3|        compId = invokingObject.getElementId();
    4|        log.info("Publishing Workbench 'authoring' configuration to MDEX '" + compId + "'");
    5|        IFCR.pushAuthoringContentToDgraphById(compId);
    6|
    7|
    [10.22.13 16:57:17] WARNING: Caught an exception while executing post-startup script for server component 'AuthoringDgraph'.
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException
    com.endeca.soleng.eac.toolkit.utility.IFCRUtility execute - Service Unavailable (503):
    [10.22.13 16:57:17] INFO: [AuthoringMDEXHost] Starting shell utility 'rmdir_dgraph-input-old'.
    [10.22.13 16:57:18] INFO: [LiveMDEXHostA] Starting shell utility 'cleanDir_local-dgraph-input'.
    [10.22.13 16:57:18] SEVERE: Error communicating with EAC agent while starting utility 'cleanDir_local-dgraph-input'.
    Occurred while executing line 7 of valid BeanShell script:
    4|    AuthoringDgraphCluster.copyIndexToDgraphServers();
    5|    AuthoringDgraphCluster.applyIndex();
    6|
    7|    LiveDgraphCluster.cleanDirs();
    8|    LiveDgraphCluster.copyIndexToDgraphServers();
    9|    LiveDgraphCluster.applyIndex();
    10|
    [10.22.13 16:57:18] SEVERE: Error executing valid BeanShell script.
    Occurred while executing line 29 of valid BeanShell script:
    26|        Dgidx.run();
    27|
    28|        // distributed index, update Dgraphs
    29|        DistributeIndexAndApply.run();
    30|
    31|        // Upload the generated dimension values to Workbench
    32|        WorkbenchManager.cleanDirs();
    [10.22.13 16:57:18] SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
    Caused by java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl invoke0 - null
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
    com.endeca.soleng.eac.toolkit.utility.Utility start - Error communicating with EAC agent while starting utility 'cleanDir_local-dgraph-input'.
    Caused by com.endeca.eac.client.EACFault
    sun.reflect.NativeConstructorAccessorImpl newInstance0 - null
    Please help??

    Hi TimK,
    File is empty.Nothing is there.I am using windows8 .
    Please help .

Maybe you are looking for

  • Images are not shown after deploying in apps

    After deploying my application in apps i have put all my images in media folder even then the images are not displaying, can any tell me what is the reason for this, but when i have deployed before it was working fine...

  • Question regarding cloning across architecture.

    Hi Our production setup is 11i (about to migrate to 12.1 from 11.5.9 by this year end), on Solaris 10 on SUN SPARC 64 M5000 server with 128GB, Database sitting on a EMc2 Disk-array of 6TB capacity. The current size of our PROD data is close to 320GB.

  • Raster image in Illustrator

    I am currently using Illustrator CS4 on Windowd XP. I am reasonably new to Illustrator having been a Corel user for the last 10 years, so I apologise if this is a simple request. I have imported a raster image into illustrator and I would like to kno

  • Best way to manage podcasts?

    Before apple decided to bring back the podcast app it was in-bedded in to itunes and it worked (half the time) but now there is a podcast app it just doesn't work with itunes properly. I was happy with having my PC download everything and then sync i

  • Is it possible to Add to Multi-Select Lov through Customization?

    Hi All, I have a Oracle Seeded page( Oracle Training Administrator). Clients wants a new field with Multi-Select LOV on that. Is is possible to create Multi-Select LOV through Customization or changing the page in JDeveloper? As per OAF Developer gui