Error Finding JNDI name (DataSource Name)

Need help on "Error Finding JNDI name (DataSource Name).
The following are the details of my Java Swing Program.
Database used : IBM DB2 V7.2
Report Tool : Crystal Report 11
DataSource used: ODBC
I have a java swing program which calls an Crystal report viewer, to display the selected report. The program is able to display the report (.rpt file) in the java Crystal report viewer which is saved with data.
However when the report is refreshed from the viewer the program throws an error "Error Finding JNDI name (DataSource Name)".
i am using the following Crystal Java Reporting Component (JRC) imports.
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import com.crystaldecisions.ReportViewer.*;
import com.crystaldecisions.reports.reportengineinterface.*;
Also i have configured the CRConfig.xml for JDBC connection as,
<JDBCURL>jdbc:db2:DataSource Name</JDBCURL>
<JDBCClassName>COM.ibm.db2.jdbc.app.DB2Driver</JDBCClassName>
<JDBCUserName>user name</JDBCUserName>

Hi,
Thanks for your reply!
Yes, I used ADO.net in the designer.
The strange thing is that it works fine if I redo the report from scratch by using ADO.net (same XML-file as source as in the old report) and then the same query that didn't work for the "old report". Well on the other hand the new report is not yet as complex as the old one, it has no subreports yet like the old one had.
I'll try using the other XML source tomorrow as you said, and check if I can get the old report to work properly.
The old report has an XML-file as datasource(ADO.net) and all data is in subreports. Every subreport has the same datasource as the main report.
The reason is that when I first start to create a report Crystal Reports asks for a datasource and I filled that in. Then I realized that the reports should be made up of subreports, and when I created the subreports Crystal again asked for a datasource (I thought it could use the datasource from the mainreport).
Best regards,
Sebastian

Similar Messages

  • Crystal Reports XI and Sun One 6.1 web server SP 5 Error finding JNDI name

    I am trying to create a Crystal Reports XI report in a JSP using Sun One 6.1 Web server sp 5.
    At this point I am getting the error �Error finding JNDI name� on Sun One
    The application will run on Netbeans/Tomcat
    I have done the following:
    I edited CRConfig.xml
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>

    <DataDriverCommon>
         <JavaDir>C:\Program Files\Java\j2re1.4.2_10\bin</JavaDir>
    <Classpath>C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar;�</Classpath>

    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@10.10.10.10:1521:dev</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>lab_ro</JDBCUserName>
         <JNDIURL></JNDIURL>

    </JDBC>
    I created a report using JDBC (JNDI) connection and have the JNDI Connection set to the name of DATA.
    The report works just fine in Crystal Reports.
    Then in Netbeans I created an application and it runs in the Tomcat part of Netbeans
    In context.xml I have:
    <Context path="/BOEnterpriseTest3">
    <Resource name="jdbc/dev" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev"
    username="theuserid" password="thepassword" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>
    In web.xml I have
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>crystalreportviewers11</param-value>
    </context-param>

    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>Data</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    in web-inf\sun-web.xml I have
    <sun-web-app>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>Data</jndi-name>
    </resource-ref>
    </sun-web-app>
    I have copied all of Common Files\Business Objects\3.0\java\lib and Common Files\Business Objects\3.0\java\lib\external to the lib folder
    I have copied crystalreportviewers11 to the root of my web application
    I have tried to load the JNDI information and display the report
    <%@page pageEncoding="UTF-8"
    import="com.crystaldecisions.reports.reportengineinterface.*,
    com.crystaldecisions.report.web.viewer.*,
    javax.naming.*,
    javax.sql.*,
    java.sql.*"%>
    <%
    InitialContext initContext = new InitialContext();
    DataSource source = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    try{
         // Look up our data source
    DataSource ds = (DataSource)initCtx.lookup("Data");
    out.println("found ds under jdbc/Data");
    catch ( NamingException e ){
    // Look up our data source
    DataSource ds = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    initCtx.bind("Data", ds);     
    out.println("found ds under java:com/env:jdbc/Data - bound into root initial context for Crystal to find");
    %>
    <%
    //Use the relative path to the report; the physical or full qualified URL cannot be used.
    String reportName = "useridincluded.rpt";
    //Database username and password
    String userName = "theuserid";
    String password = "thepassword";
    //check to see if the Report Source Session Variable already exist
    Object reportSource = session.getAttribute("Report1");
    // Create a new ConnectionInfos and ConnectionInfo object
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfos connectionInfos = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfos();
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfo connectionInfo = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfo();
    //Set username and password for the report's database
    connectionInfo.setUserName(userName);
    connectionInfo.setPassword(password);
    //Add object to collection
    connectionInfos.add(connectionInfo);
    //---------- Create a ReportClientDocument -------------
    com.crystaldecisions.reports.sdk.ReportClientDocument reportClientDocument = new com.crystaldecisions.reports.sdk.ReportClientDocument();
    //---------- Set the path to the location of the report soruce -------------
    //Open report.
    reportClientDocument.open(reportName, 0);
    //Get the report source
    reportSource = reportClientDocument.getReportSource();
    //---------- Create the viewer and render the report -------------
    //create the CrystalReportViewer object
    com.crystaldecisions.report.web.viewer.CrystalReportViewer crystalReportViewer = new com.crystaldecisions.report.web.viewer.CrystalReportViewer();
    //set the reportsource property of the viewer
    crystalReportViewer.setReportSource(reportSource);
    //set the DB logon into the viewer
    crystalReportViewer.setDatabaseLogonInfos(connectionInfos);
    //set viewer attributes
    crystalReportViewer.setOwnPage(true);
    crystalReportViewer.setOwnForm(true);
    crystalReportViewer.refresh();
    //set the CrystalReportViewer print mode
    //crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.ACTIVEX);
    crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.PDF);
    //process the report
    crystalReportViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    On the Sun One Web server
    On the Java Tab
    JDBC Connection Pools
    Pool Name = dev10g
    Class name = oracle.jdbc.pool.OracleDataSource
    User id = theuserid
    url = 10.10.10.10
    password=thepassword
    JDBC Resources
    JNDI Name=dev10g
    Pool = dev10g
    I get the error finding JNDI name � how do I tell Sun One where the JNDI is to make Crystal Reports work?

    I tried the following to test the JNDI
    I am trying to do JNDI in Sun One Web server 6.1 sp 5 but I seem to be missing an important part. I get two different errors based on the JSP code, �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance� or �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�.
    Context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/BOTest">
      <Resource name="jdbc/dev10g" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
      <Resource name="Data" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>Sun-one.xml:
    <sun-web-app>
    <context-root>BOTest</context-root>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>jdbc/dev10g</jndi-name>
    </resource-ref>
    </sun-web-app>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>jdbc/dev10g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>Data</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </web-app>server.xml has:
    <RESOURCES>
    - <JDBCCONNECTIONPOOL name="dev10g" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/dev10g" poolname="dev10g" enabled="on" />
      <JDBCRESOURCE jndiname="Data" poolname="dev10g" enabled="on" />
    - <JDBCCONNECTIONPOOL name="Data" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/Data" poolname="Data" enabled="on" />
      <JDBCRESOURCE jndiname="dev10g" poolname="dev10g" enabled="on" />
      </RESOURCES>I am getting the following error: �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
    init = new InitialContext();
    Context envCtx = (Context) init.lookup("java:comp/env");
    datasource = (DataSource)  envCtx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>I get the following error: Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
        init = new InitialContext();
        ctx = (Context) init.lookup("java:comp/env");
        datasource = (DataSource) ctx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>

  • ERROR [JRCCommunicationAdapter]  detected an exception:Error finding JNDI n

    Hi,
    I have two datasources, when i am deploying my application in jboss one ds related data is coming, but other ds related report is giving the following excepion.
    ERROR [JRCCommunicationAdapter]  detected an exception:Error finding JNDI name.
    In UI i am getting as Error finding JNDI name

    The JRC will write temporary files to whatever temp directory is specified in your java System.properties.  Check to see which directory java has specified.... it may be your application server temp, or your user temp..... and ensure that there are appropriate permissions on this directory so that the JRC can write files in here.

  • How to find the Data source name on linux server

    Hello All,
    Good Morning...
    I created a rpd in my local machine and deployed on the server through Fusion middle ware.
    and copied the catalog file there in the server.
    While working on my local machine I have two odbc connections... one is for development and other is for production.
    at the time of deployment to the server I changed the development instance to production instance throught the connection pool.
    I am encountering the following error while working on the analyis....
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified. (HY000)
    I think this is because of the mismatch of the datasource name in server and my local machine...could you please tell me how to find the datasource names on the server?
    Thanks!

    Hi Dpka-
    I created two ODBC connections in my system.
    one for development and another for Production.
    while deploying the rpd to the server I changed the development login credentials with production login.
    The problem here is I just want to know whether Iam giving the same datasource name which was presented on the server or not.
    I don't have access to the server now.
    Is there any way to find out the datasource names which were presented on the server with the help of admin console?
    Thanks!

  • "Errored while looking up datasource: PWC4216: Name myDB is not bound in th

    hi all,
    am trying to deploy my web application (.war which has a servlet which connects to a db and fetches records and displays in jsp) file in SunOne web server V7 but i cant get past this error :
    [29/Jun/2010:15:14:46] failure (24218): for host 146.171.59.144 trying to POST /BbaMigrationQueryTool/BBAMigrationQuery, service-j2ee reports: NamingExcep
    tion caught: Errored while looking up datasource: PWC4216: Name myDB is not bound in this Context
    my java code to lookup the jndi name :
       1.     //looks up a datasource 
       2.     private static synchronized DataSource getDataSource(String jndiName) throws NamingException { 
       3.  
       4.         DataSource dataSource = null; 
       5.  
       6.         try { 
       7.             Context c = new InitialContext(); 
       8.              Context envContext = (Context) c.lookup("java:comp/env"); 
       9.             Logger.getLogger(DBUtilities.class.getName()).log(Level.INFO, "Found sub context"); 
      10.               dataSource = (DataSource) envContext.lookup(jndiName); 
      11.  
      12.         } catch (NamingException e) { 
      13.             e.printStackTrace(); 
      14.             throw new NamingException("Errored while looking up datasource: " + e.getMessage()); 
      15.         } 
      16.  
      17.         return dataSource; 
      18.     } 
      i call the above method with "jdbc/myDB" and have created a JDBC recourse within the SunOne web server via the admin console.
    my web.xml i have an entry for the resource as follows :
       1.             <resource-ref> 
       2.         <res-ref-name>jdbc/myDB</res-ref-name> 
       3.         <res-type>javax.sql.DataSource</res-type> 
       4.         <res-auth>Container</res-auth> 
       5.         <res-sharing-scope>Shareable</res-sharing-scope> 
       6.     </resource-ref> 
    in my sun-web.xml i have an entry as follows :
       1.     <resource-ref> 
       2.         <res-ref-name>jdbc/myDB</res-ref-name> 
       3.         <jndi-name>jdbc/myDB</jndi-name> 
       4.     </resource-ref> 
    server.xml has this entry in it :
       1.   <jdbc-resource> 
       2.     <jndi-name>jdbc/myDB</jndi-name> 
       3.     <datasource-class>oracle.jdbc.pool.OracleDataSource</datasource-class> 
       4.     <property> 
       5.       <name>password</name> 
       6.       <value>76765</value> 
       7.     </property> 
       8.     <property> 
       9.       <name>user</name> 
      10.       <value>56756</value> 
      11.     </property> 
      12.     <property> 
      13.       <name>url</name> 
      14.       <value>jdbc:oracle:thin:@serveretc etc</value> 
      15.     </property> 
      16.     <description/> 
      17.   </jdbc-resource>
      what could be wrong ??
    thanks in advance.
    Edited by: cesarNZ on Jun 29, 2010 7:58 PM
    Edited by: cesarNZ on Jun 29, 2010 8:00 PM

    try to not split the attributes in server.xml
    use them like
    <Context path="/myPath" docBase="myDocBase" debug="5" reloadable="true" crossContext="true" source="org.eclipse.jst.j2ee.server:myDocBase">
                          <Resource name="jdbc/myDB"
                                                     auth="Container"
                                                     type="javax.sql.DataSource"
                                                     maxActive="100"
                                                     maxIdle="30"
                                                     maxWait="10000"
                                                     username="$$$"
                                                     password="$$$"
                                                     driverClassName="com.mysql.jdbc.Driver"
                                                     url="jdbc:mysql://localhost/myTest" />
                     </Context>and i dont know why you define two resources
    try to look at
    http://forums.sun.com/thread.jspa?messageID=11013089&#11013089

  • Error: Datasource name not found and no default driver specified

    HI All,
    I have MySQL as my data base.
    I created one universe on top of MySQL. Then i made one webI report on top of that and exported it to BO Portal (Infoview).
    Now when I am refreshing this report, it gives me below error in Infoview while its getting refreshed in WebI.
    [Database Error] [Microsoft ODBC Driver manager] Datasource name not found and no default driver specified.
    WIS 10901
    I found SAP Note 1200396 and have created DSN with Same name on Server.
    But still I am facing same problem. I have not clustered enviroment.
    Guys any one have some idea about this?
    I will appreciate your answer.
    Thanks in advance,
    Rishit

    If your BOBJ server runs on 64bit windows you should set up the DSN using the 32bit ODCB utility (<Windowa installation director>\SysWOW64\odbcad32.exe )
    Regards,
    Stratos

  • CPI2.0 RSL #2032 error while adding NAM Datasources

    Hello,
    Despite implemented the RSL-Flash Patch allready, I get into this error when trying to add NAM Datasources
    at Administration > System Settings > Data Sources
    after having the HTTPS credentials for the NAM's configured.
    The RSL-Flash Patch was improving for template assignment and other parts of the CPI GUI, but for NAMs we still get into this error.
    Please help.
    Steffen

    Dear Manikandan P,
    Is there any change and check in stored procedure SBO_SP_TransactionNotification?
    Best Regards
    Jane Jing
    SAP Business One Forums team
    Edited by: Rui Pereira on Dec 23, 2008 3:56 PM

  • Can't find bundle for base name Error - Portlet Localization

    I am trying to have the portlet content localization to work. I am using the 5.0.4 with Web Logic.
    I placed following files in the same directory:
    Portlet.jspStaplesBundle.properties(default)StaplesBundle_en_US.propertiesStaplesBundle_fr_FR.properties
    However, when I load the portlet, i got the error. "Can't find bundle for base name StaplesBundle, locale en_US". Do I need to place the bundle in a specific folder? I copied detailed errors below. Any ideas?
    java.util.MissingResourceException: Can't find bundle for base name StaplesBundle, locale en_US at java.util.ResourceBundle.throwMissingResourceException(Ljava.lang.String;Ljava.util.Locale;)V(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Ljava.lang.String;Ljava.util.Locale;Ljava.lang.ClassLoader;)Ljava.util.ResourceBundle;(Unknown Source) at java.util.ResourceBundle.getBundle(Ljava.lang.String;Ljava.util.Locale;)Ljava.util.ResourceBundle;(Unknown Source) at jsp_servlet.__portlet._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__portlet.java:162) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method) at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661) at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630) at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method) at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178) at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)

    Just ensure the DataBase_en_US.properties file exists in the following folder:
    <WebApp Directory>\ web \ WEB-INF \ classes \ DataBase_en_us.properties

  • Defining DataSource name in Datatemplate sqlStatement tag giving error

    Hi,
    I have a data template in which i want to define the datasource name in the sqlStatement dataSourceRef field.following is my datatemplate
    <dataTemplate name="dt">
         <properties>
         </properties>
         <parameters>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1" dataSourceRef="DMT_WORK_ODI">
                   <![CDATA[ select  extraction_id ,ext_name from dmutb_extraction_master]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="q1" source="Q1">
                   <element name="extraction_id" value="extraction_id"/>
                   <element name="ext_name" value="ext_name"/>
              </group>
         </dataStructure>
    </dataTemplate>
    But when I run this report its giving me error java.net.ConnectException: Connection refused: connect
    please help me...

    dataSourceRef is mandatory attribute in this element
    <dataTemplate name="dt" dataSourceRef="DMT_WORK_ODI">dataSourceRef is an optional attribute in the sqlStatement element

  • JNDIConnector datasource name= null,Problem in connection of Mysql and bean

    Hi
    I am using Sun App Server9.0, Mysql5.0, and Netbeans 5.5. When I am trying to run my facade, it is not detacting datasource.
    Do I have to set some property in server.
    I am getting this exception.
    deployed with moduleid = EnterpriseApplication1-app-client
    [TopLink Config]: 2007.05.13 01:33:53.906--ServerSession(14411981)--property toplink.server.platform.class.name is deprecated, property toplink.target-server should be used instead.
    topLink_version
    application_server_name_and_version
    platform=>MySQL4Platform
    user name=> ""
    connector=>JNDIConnector datasource name=>null
    );|connecting
    ;|connected_user_database_driver
    platform=>MySQL4Platform
    user name=> ""
    connector=>JNDIConnector datasource name=>null
    );|connecting
    ;|connected_user_database_driver
    login_successful
    mohi d0one
    code is
    public void addEmail (UserEntity key, EmailEntity emailObj)throws EmailExistsException, EmailAlreadyAddedException
    Query query;
    Query query_return;
    List list;
    EmailEntity emailObjList;
    EntityTransaction tx ;
    String email = emailObj.getEmailAddress();
    // if(verifyEmailAddress(email)){
    list = find(key.getUser_Id());
    query_return = em.createQuery(
    "from EmailEntity c where c.user_id=:user_id");
    query_return.setParameter("user_id", key.getUserId());
    list = query_return.getResultList( );
    tx = em.getTransaction();
    tx.begin();
    em.persist(emailObj);
    tx.commit();
    Please suggest me what I am missing.
    In server console I have-----
    C:/Sun/SDK/jdk\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=C:/Sun/SDK/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=C:/Sun/SDK/lib/endorsed
    -Djava.security.policy=C:/Sun/SDK/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/SDK/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=C:/Sun/SDK/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/SDK/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=C:/Sun/SDK/jdk/jre/lib/ext;C:/Sun/SDK/domains/domain1/lib/ext;C:/Sun/SDK/javadb/lib
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
    -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
    -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.configName=server-config
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Dcom.sun.aas.promptForIdentity=true
    -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
    -Dcom.sun.aas.instanceRoot=C:/Sun/SDK/domains/domain1
    -Dcom.sun.aas.domainName=domain1
    -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/SDK/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/imq/lib/imqxm.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
    -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
    -Dcom.sun.aas.classloader.serverClassPath=C:/Sun/SDK/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
    -Dcom.sun.aas.classloader.appserverChainJars.ee=
    -Dcom.sun.aas.configRoot=C:/Sun/SDK/config
    -Djava.library.path=C:\Sun\SDK\lib;C:\Sun\SDK\lib;C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\SDK\lib;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\GTK\2.0\bin;C:\Softwares;C:\Program Files\jboss-4.0.5.GA\bin;C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\Java\jdk1.6.0\bin;C:\Sun\SDK\bin;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -Dcom.sun.aas.installRoot=C:/Sun/SDK
    -Dcom.sun.aas.ClassPathPrefix=
    -Dcom.sun.aas.ClassPathSuffix=
    -Dcom.sun.aas.ServerClassPath=
    -cp
    ;C:/Sun/SDK/lib/appserv-launch.jar
    com.sun.enterprise.server.PELaunch
    start
    Starting Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01) ...
    CORE5098: AS Socket Service Initialization has been completed.
    CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems Inc.]
    SEC1002: Security Manager is OFF.
    ADM0001:MBeanServer initialized successfully
    SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
    sgmt.service_initialized
    DPL5400:Exception occurred : error in opening zip file.
    ADM1079: Initialization of AMX MBeans successful
    ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://software-3bf780.gateway.2wire.net:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
    ADM1506: Status of Standard JMX Connector: Active = [true]
    JTS5014: Recoverable JTS instance, serverId = [3700]
    About to load the system app: MEjbApp
    LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
    About to load the system app: __ejb_container_timer_app
    EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
    LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
    [TopLink Config]: 2007.05.13 12:48:24.234--ServerSession(10697984)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
    [TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
    [TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
    naming.bind
    **RemoteBusinessJndiName: session.EmailEntityFacadeRemote; remoteBusIntf: session.EmailEntityFacadeRemote
    LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!
    SMGT0007: Self Management Rules service is enabled
    Application server startup complete.
    WEB0302: Starting Sun-Java-System/Application-Server.
    WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []
    WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]
    WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
    About to load the system app: __JWSappclients
    WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [__JWSappclients]
    CORE5024: EJB module [EnterpriseApplication1-ejb] unloaded successfully!
    DeployedItemRef postDeregistration failed. Load Balancer Monitoring MBeans might be lying around if this application is being load balanced
    ADM1006:Uploading the file to:[C:\Documents and Settings\mohini kharb\Local Settings\Temp\s1astempdomain1server-1036455939\EnterpriseApplication1-ejb.jar]
    deployed with moduleid = EnterpriseApplication1-ejb
    ADM1041:Sent the event to instance:[ModuleDeployEvent -- enable ejb/EnterpriseApplication1-ejb]
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
    naming.bind
    **RemoteBusinessJndiName: session.EmailEntityFacadeRemote; remoteBusIntf: session.EmailEntityFacadeRemote
    LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!
    ADM1006:Uploading the file to:[C:\Documents and Settings\mohini kharb\Local Settings\Temp\s1astempdomain1server-1036455939\EnterpriseApplication1.ear]
    deployed with moduleid = EnterpriseApplication1
    ADM1041:Sent the event to instance:[ApplicationDeployEvent -- enable EnterpriseApplication1]
    [TopLink Config]: 2007.05.13 01:31:19.796--ServerSession(25852780)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
    naming.bind
    EJB5090: Exception in creating EJB container [javax.naming.NameAlreadyBoundException: Use rebind to override]
    appId=EnterpriseApplication1 moduleName=EnterpriseApplication1-ejb_jar ejbName=EmailEntityFacade
    LDR5012: Jndi name conflict found in [EnterpriseApplication1]. Jndi name [session.EmailEntityFacadeRemote] for bean [EmailEntityFacade] is already in use.
    LDR5013: Naming exception while creating EJB container:
    javax.naming.NameAlreadyBoundException: Use rebind to override
    at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:279)
    at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:219)
    at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:98)
    at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:77)
    at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:372)
    at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:387)
    at javax.naming.InitialContext.bind(InitialContext.java:404)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:215)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:168)
    at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:948)
    at com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:220)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:671)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:184)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
    at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
    at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
    at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Registering ad hoc servlet: WebPathPath: context root = "/EnterpriseApplication1", path = "/EnterpriseApplication1-app-client'
    Java Web Start services started for application com.sun.enterprise.appclient.jws.ApplicationContentOrigin@fa6240 registration name=En

    The server log indicates that
    "Application NOT loaded: [EnterpriseApplication1]"
    I also see:
    "Jndi name conflict found in [EnterpriseApplication1]. Jndi name [session.EmailEntityFacadeRemote] for bean [EmailEntityFacade] is already in use."
    Will forward this the deployment team. Will get back to you soon

  • Basic questions about PL/SQL web services and datasource names

    Hi there,
    I successfully generated a web service for a PL/SQL packaged procedure in JDeveloper 11.1.1.3.0).
    In the web service base class the following code was generated:
    __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");However in the weblogic server the datasource name is jdbc/somethingelse so the deployment fails at first.
    What is the recommended procedure to solve this issue? The obvious solution is to manually edit the source -- that is what I did and it worked fine. However if I re-generate the web service I will lose my change. Is there a better way to do this?
    Another question -- in the generated web.xml file, there is a resource-ref for the datasource. I was hoping that changing the datasource name there would help but it didn't work. What is it used for in this context?
    Thanks
    Luis

    Hi Vishal,
    I did as you suggested but it didn't work... see below more details.
    Thanks
    Luis
    1 - I re-generated the web service from the PL/SQL package. The constructor in CFBTestWSBase class looks likes this:
    public CFBTestWSBase() throws SQLException
      {  try {
    javax.naming.InitialContext __initCtx = new javax.naming.InitialContext();
    __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/custfeedbackDS");
    } catch (Exception __jndie) {
    throw new java.sql.SQLException("Error looking up <java:comp/env/jdbc/custfeedbackDS>: " + __jndie.getMessage());
    }2 - I added the following section to weblogic.xml:
      <resource-description>
        <res-ref-name>comp/env/jdbc/custfeedbackDS</res-ref-name>
        <jndi-name>jdbc/DataSource</jndi-name>
      </resource-description>3 - I got the following error when during deployment to weblogic server:
    [HTTP:101216]Servlet: "CFBTestWSPort" failed to preload on startup in Web application: "CustFeedbackTestWS.war".
    java.sql.SQLException: Error looking up <java:comp/env/jdbc/custfeedbackDS>: While trying to look up comp/env/jdbc/custfeedbackDS in /app/webapp/CustFeedbackTestWS.war/346617503.
    at cfbtestws.CFBTestWSBase.<init>(CFBTestWSBase.java:33)
    at cfbtestws.CFBTestWSUser.<init>(CFBTestWSUser.java:11)
    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:513)
    ...

  • Sorry for error in Darren McNally's name

    I spell checked my original message about being able to flash
    9, but did not catch the error in Mr. McNally's name. I highly
    recommend to those who are still having install problems to follow
    his instructions about Download Center problems. Just be sure to
    save the uninstall download to C:\, otherwise it doesn't work. As I
    have stated, I did not experience these particular problems but
    these instructions did solve my install problems.

    check the jndi view of the server after deployment to find out the correct name.
    But if you get that exception you're not even getting to the point of looking up the jndi entry, the creation of the initial context failed because you didn't set it up with the correct parameters.
    You need to set some system properties for the initialcontext to work.
    Here's an example, you can also set them in a Properties object you pass to the constructor (often handy, as you can load them from file at runtime).
    java -classpath.;c:\Sun\AppServer.ib\j2ee.jar;c:\Sun\AppServer.ib\appservrt.jar;c:\Sun\AppServer.ib\appserv-admin.jar-Dorg.omg.CORBA.ORBInitialHost=localhost-Dorg.omg.CORBA.ORBInitialPort=3700 MEJBStandaloneClient ejb/mgmt/MEJBThe jars on the classpath are also required.

  • 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 setting up destination name in depolyment descriptor

    <b>the error is,</b> <br>
    [EJB:011113]Error: The Message Driven Bean 'MessageAccess(Application: mssp, EJBComponent: mssp-MDB.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
    <br><b>the ejb-jar entry is,</b><br>
    <message-driven >
    <description><![CDATA[Bean to access messages]]></description>
    <display-name>MessageAccessBean</display-name>
    <ejb-name>MessageAccess</ejb-name>
    <ejb-class>com.valimo.mssp.jms.j2ee.MSSPListenerBean2</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    </message-driven-destination>
    </message-driven>
    <br><b>and weblogic-ejb-jar entry is like</b>,<br>
    <weblogic-ejb-jar>
    <!-- <weblogic-version>9.1</weblogic-version> -->
    <weblogic-enterprise-bean>
    <ejb-name>MessageAccess</ejb-name>
    <message-driven-descriptor>
    <destination-jndi-name>topic/Topic</destination-jndi-name>
    </message-driven-descriptor>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    <br>
    can you help?

    They should be able to log into their account via http://appleid.apple.com and update their name.

  • How to find out the file name

    Hi,
    In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
    How to find out the file name from selection screen?
    I searched SCN threads but not found relavant solution.
    Thanks,
    R Kumar

    Hi
    This code gets only filename from selection screen :
    REPORT x.
    PARAMETERS p_file(100).
    DATA : gv_full_path LIKE  ibipparms-path,
           gv_full_path_string TYPE string,
           gv_filename(100),
           gv_file_ext(3).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Ask user to select file with a popup :
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = gv_full_path.
    Get filename from path :
      gv_full_path_string = gv_full_path.
      CALL FUNCTION 'CH_SPLIT_FILENAME'
        EXPORTING
          complete_filename = gv_full_path_string
        IMPORTING
          extension         = gv_file_ext
          name              = gv_filename.
      CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
      p_file = gv_filename.
    I hope it helps.

Maybe you are looking for

  • Problem learning Sony remote...

    I have a Sony Bravia TV. With the previous Apple TV I could get it to learn this TV's remote when in DVD mode. However, with my Apple TV 2 if I try to learn this remote the progress bar stops about 30% the way through each time it tries to learn a ne

  • After downloading OS X I can't find any of my photos I had on my mac. How do I get them back?

    After downloading OS X I can't find any of my photos I had on my mac. How do I get them back?

  • Issues with Single Frequency Analysis

    Hi all,  I recently installed multisim 13 on a new computer. I went to do a simple single frequency analysis of an RC circuit and got some funny results. The magnitude of the voltages measured by the probes seem to be off, and I have never experience

  • Cancellation of sales order through VA02

    Hi experts, My user wants to cancel some sales orders through VA02.He select line item 10 and then goes to "reasons for rejection" and put " 51 cancelled".then save it.Systems shows following error and he unables to cancel it. You cannot select assem

  • 8800 Sirocco - can't see any contacts in PC Suite

    After wrestling with BlueSoleil driver versions I finally got my laptop talking via Blutooth with my 8800. Now I can dowload/upload messages,images, tunes etc. OK. My problem is I can't edit my contacts - I open the phone folder where they are suppos