Connect to java data srvice

hi,
how to connect to java data/services ?
I  had this error :
Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
my project java is in : D:\SVN\VAZII\trunk\VaziiAdminService
my project flex tha must use the service is in : D:\SVN\ICOSNET_WALLET\trunk\ConfortPayAdmin
My server tomcat is in : C:\apache-tomcat-7.0.32
what i must write in this input dialog box ?
Root Folder, Root URl, and Context root
thanks

is there someone that knows flash builder here ?

Similar Messages

  • Crystal Reports data connection using Java beans

    Hi
    My name is Bach Ong, i'm currently perform re-configuring Crystal reports 2008 to connect via
    Java bean to Jboss server, this uses look up service on JBoss server. The connection is using Connect
    look up using the properties:
    java.naming.provider.url=jnp://emgsydapp121:10499
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    for file CRConfig.xml i put as follows:
    <JDBCURL></JDBCURL>
    <JDBCClassName></JDBCClassName>
    <JDBCUserName></JDBCUserName>
    <JNDIURL>jnp://emgsydapp121:10499</JNDIURL>
    <JNDIConnectionFactory>org.jnp.interfaces.NamingContextFactor
    y</JNDIConnectionFactory>
    <JNDIInitContext>/</JNDIInitContext>
    <JNDIUserName></JNDIUserName>
    Can you advise us if this step is correct, and is there any
    documentation that can guide us to right direction.
    for Java testing in Eclipse using remote call class it is working suing the following code:
            Properties p = new Properties();
            p.put(Context.INITIAL_CONTEXT_FACTORY,
            "org.jnp.interfaces.NamingContextFactory");
            p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
            p.put(Context.PROVIDER_URL, "jnp://emgsydapp121:10499");
             InitialContext ctx = new InitialContext(p);
      Date asAtDate = CrystalUtils.convertToDate("2014-01-01", CrystalUtils.relativeToToday(0), false);
         String asxCode = "BHP";
         ClosingPricesReportRequest criteria = new ClosingPricesReportRequest(asAtDate, asxCode);
         InitialContext context = new InitialContext(p);
         ClosingPricesReportService ejb = (ClosingPricesReportService) context.lookup(ClosingPricesReportService.REMOTE_JNDI);
         ClosingPricesReport report = ejb.createMTMClosingPriceReport(criteria);
         System.out.println(report.getClosingPrices()[0].getClosingPrice());
         testval = report.getClosingPrices()[0].getClosingPrice().toString();
         System.out.println(testval);
    when i run the tes code the results as follow:
    10:49:45,244 DEBUG [SecurityAssociation ] Using ThreadLocal: false
    10:49:45,338 DEBUG [MicroSocketClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] constructed
    10:49:45,338 DEBUG [MicroRemoteClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] connecting
    10:49:45,338 DEBUG [MicroSocketClientInvoker ] Creating semaphore with size 50
    10:49:45,338 DEBUG [MicroRemoteClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] connected
    10:49:45,369 DEBUG [ClientSocketWrapper ] reset timeout: 0
    10:49:45,650 DEBUG [InvokerRegistry ] removed SocketClientInvoker[709446e4, socket://emgsydapp121:10473] from registry
    10:49:45,650 DEBUG [MicroSocketClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] disconnecting ...
    10:49:45,650 DEBUG [SocketWrapper ] ClientSocketWrapper[Socket[addr=/10.137.2.40,port=10473,localport=64150].2cba5bdb] closing
    37.99000000000000198951966012828052043914794921875
    37.99000000000000198951966012828052043914794921875
    Can anyone assist me in convert the above settings to get access by Crystal reports.
    My attemp current are below:
    public class CFDClosingPricesRpt extends CrystalReport {    
        //Constructor
        public CFDClosingPricesRpt(){
            super(ClosingPriceBean.INSTANCE);
         * Returns the ResultSet for this report to Crystal.
         * @param asxCode
         * @param asAtDateString
         * @return
    public ResultSet getNewReport(String asxCode, String asAtDateString) {                     
         try {
             Properties p = new Properties();
             p.put(Context.INITIAL_CONTEXT_FACTORY,
             "org.jnp.interfaces.NamingContextFactory");
             p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
             p.put(Context.PROVIDER_URL, "jnp://emgsydapp121:10499");
             //InitialContext ctx = new InitialContext(p);
             clearCachedReportBeans();     
       Date asAtDate = CrystalUtils.convertToDate("2013-01-01", CrystalUtils.relativeToToday(0), false);
          asxCode = "BHP";
          ClosingPricesReportRequest criteria = new ClosingPricesReportRequest(asAtDate, asxCode);
          //ClosingPricesReportService ejb = (ClosingPricesReportService) ctx.lookup(ClosingPricesReportService.REMOTE_JNDI);
          ClosingPricesReportService ejb = (ClosingPricesReportService) ServiceLocator.getInstance().getService(ClosingPricesReportService.REMOTE_JNDI);           
          ClosingPricesReport report = ejb.createClosingPriceReport(criteria);
          // assemble Crystal-friendly DTO
          Collection closingPrices = Arrays.asList(report.getClosingPrices());
          for (Iterator iter = closingPrices.iterator(); iter.hasNext();) {
                    MBLXClosingPrice cp = (MBLXClosingPrice) iter.next();               
                    if (cp==null) continue;               
                    addReportBean(new ClosingPriceBean( report.getSuppliedDate(),
                                cp.getClosingPrice(),
                                cp.getAsxCode()));
      } catch (Throwable x) {     
          saveErrorMessage(x);
      return getAsResultSet();             
    Thanks
    Bach Ong

    Hi Don Thanks for the reply.
    I've was able to connect via Java beans and JNDI. But this one is going the JNDI of JBoss sever, which the JNDI already configure and working for Crystal reports v10.
    Bach

  • PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.

    hi,
    I am not able to connect to oracle data base using JSP. PFB the code and out put.
    <html>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <body>
    <%
    try
         out.println("hi<br>");
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
         out.println("connected<br>");
    catch (SQLException e)
    out.println("ERROR: failed to connect!");
    out.println("ERROR: " + e.getMessage());
    e.printStackTrace();
    return;
    %>
    </body>
    </html>
    OUTPUT:
    hi
    ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
    Please guide me on this issue.
    Edited by: user10997061 on Apr 10, 2009 4:27 AM

    I definitely do not know much about JSP but
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    indicates
    <quote>
    This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
    jdbc:oracle:oci:@myhost:1521:inst1
    <quote>
    I do not see the port information in your connect string. Is that an issue?

  • Cannot connect to JDBC data source

    We are trying to configure Visual Composer to connect to the backend BI-ABAP
    BI database which is DB2, from the Visual Admin on the windows box.
    Downloaded the driver for DB2 JDBC from IBM website
    (ibm_data_server_driver_package_win64_ALL_LANG_v97.exe) Not sure if this is the correct driver, because we are unable to connect to the BI
    Landscape information
    BI- ABAP: NW 701 SP4 AIX 6100-3/DB2 v9.5.0.4,FIXPACK 4
    BI-JAVA: NW 701 SP4 WIN2003 X64/SQL2005 SP3
    When i run this url http://servername:port/TestJDBC_Web/test2 i i get the following error
    Exception Details:
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:238)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getConnection(JDBCModel.java:796)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getTables(JDBCModel.java:132)
         at com.sap.ip.bi.sdk.trialarea.connector.servlet.controller.Control2.doPost(Control2.java:25)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot open the connection
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:123)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnectionFactory.createManagedConnection(JdbcManagedConnectionFactory.java:112)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:338)
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:262)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:233)
         ... 19 more
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot connect to JDBC data source
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:336)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connect(Connection.java:99)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:118)
         ... 23 more
    Caused by: java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:532)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:320)
         ... 25 more

    Hi,
    you can check the configuration:
    http://help.sap.com/saphelp_scm50/helpdata/en/43/e35b3315bb2d57e10000000a422035/content.htm
    Regards, Mayur

  • Problem with updating oracle DB with java date thru resultset.updateDate()

    URGENT Please
    I am facing problem in updating oracle database with java date through resultset.updateDate() method. Can anybody help me please
    following code is saving wrong date value (dec 4, 2006 instead of java date jul 4, 2007) in database:
    ResultSet rs = stmt.executeQuery("SELECT myDate FROM myTable");
    rs.first();
    SimpleDateFormat sqlFormat = new SimpleDateFormat("yyyy-mm-dd");
    java.util.Date myDate = new Date();
    rs.updateDate("myDate", java.sql.Date.valueOf(sqlFormat.format(myDate)));
    rs.updateRow();

    I believe you should use yyyy-MM-dd instead of yyyy-mm-dd. I think MM stands for month while mm stands for minute as per
    http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    (If this works, after spending so much of your time trying to solve it, don't hit yourself in the head too hard. I find running out of the room laughing hysterically feels better).
    Here is a more standard(?) way of updating:
    String sqlStatement=
    "update myTable set myDate=? where personID=?"
    PreparedStatement p1= connection.prepareStatement(sqlStatement);
    p1.setDate(1,new java.sqlDate());
    p1.setInt(2, personID);
    p1.executeUpdate();

  • Looking for a class to connect to MySQL data base

    Hi,
    I'm looking for a class to connect to MySQL data base.
    And i want to know how to access to my data base MySQL under linux ( i've already the driver for mysql-java).
    Can you help me ?
    Thank u.

    I'm looking for a class to connect to MySQL data
    base.Do you mean driver class or ready-made code?
    And i want to know how to access to my data base
    MySQL under linux ( i've already the driver for
    mysql-java).Search for the JDBC tutorial.

  • Connectivity of Java and SAP using JCO

    Hi,
    Using the example5 given along with the JCO package I was able to connect to Java from SAP. Can I use the same server for bi directional data transfer . That is I want to use the same server to recieve data from SAP and also I should be able to Send data to SAP from Java using the same server.
    Regards ,
    Nagaraju Donikena.

    Hi,
    You can use the same server for data sending and receiving.
    You can also go through the following link for knowing more about JCO.
    http://www.persistent.co.in/resource_center/
    white_papers/Java_SAP_Integration.pdf
    Thanks
    Ritushree

  • How an applet can connect to a data base?

    how an applet can connect to a data base?

    You need to set up a policy, it's a bit convoluted, see http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/dba.html#applet for more.

  • SAS connectivity with JAVA

    Hi,
    I have a piece of code to connect to SAS data set i have taken the drivers provided by SAS and the below code is giving error saying server not accepting userid/password but with that userid and password i can connect to SAS in other applications can any body suggest what's wrong with this.
    Driver driver=(Driver)  Class.forName("com.sas.net.sharenet.ShareNetDriver").newInstance();         System.out.println("Driver loaded");         System.out.println("JDBC:"+driver.jdbcCompliant());         String url="jdbc:sharenet://164.56.174.116:8591";         Properties credentials=new Properties();         credentials.put("user","userName");         credentials.put("password","Password");         Connection connection=driver.connect(url,credentials);         System.out.println("Connection made");         connection.close();         System.out.println("Connection closed");
    i am getting this error
    Exception in thread "main" java.sql.SQLException: Sharenet.S58.ex.txt: Sharenet.S279.ex.txt: Sharenet.S06.ex.txt: Userid/Password not accepted by server...         at com.sas.net.sharenet.ShareNetConnection.<init>(ShareNetConnection.java:219)         at com.sas.net.sharenet.ShareNetDriver.connect(ShareNetDriver.java:165)

    Once you get past actually getting a driver the configuration of it is entirely driver dependent.
    There are at least four ways that I can't think of to do use validation. There could be others. They way you have choosen, if supported at all, might be dependent on the exact name used. For example (not necessarily a solution) it could be that instead of 'user' you need 'usr' or 'User'.
    Often this involves looking at the driver documentation and just guesssing until something works.

  • Connect to a data server with topology manager

    Hi! I am new to ODI...
    I've created a master and work repository. Now I'm in topology manager to create a data server from Physical Architecture. I succeed in connecting to this data server with "Oracle Toad" using a service name...so I select JDBC driver and then I insert jdbc:oracle:oci8:@&lt;tns_alias&gt; (with the right service name).
    Then it give me the message that it can connect to the data server, but when i click ok, it says me:
    {color:#ff0000}java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3013)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:228)
    at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:361)
    at oracle.jdbc.driver.T2CConnection.&lt;init&gt;(T2CConnection.java:142)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jz.dP(jz.java)
    at com.sunopsis.graphical.frame.b.jz.bD(jz.java)
    at com.sunopsis.graphical.frame.bo.bz(bo.java)
    at com.sunopsis.graphical.frame.b.jz.em(jz.java)
    at com.sunopsis.graphical.frame.b.jz.&lt;init&gt;(jz.java)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.sunopsis.graphical.frame.bb.b(bb.java)
    at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
    at java.lang.Thread.run(Unknown Source)
    {color}
    My environment variable for Oracle are:
    C:\oracle\ora92\bin;C:\Programmi\Oracle\jre\1.3.1\bin;
    I succeed in connecting with OCI using Toad...why can't I connect with ODI? Need I to install another component? (and which?)
    Sorry for my english...please help me! thanks....
    Alessia
    Edited by: user1762560 on 26-feb-2009 9.06

    jdbc:oracle:oci8:@tns_alias
    it doesn't contain the sign '< ' or '>'

  • Passing Database Pool Connection to Java Object

    SO I have a set of Java libs that i would like to use within
    CFMX. In fact, I would like to do all my business logic with those
    libraries. Question is, the classes require I pass a database
    connection to them. How would I do this?

    In Coldfusion you can just code the usual Java DB connection
    directly. That is, something like
    <cfscript>
    classObj = CreateObject("java", "java.lang.Class");
    classObj.forName("etc.etc..Driver");
    driverManager = CreateObject("java",
    "java.sql.DriverManager");
    connectionURL="jdbc: etc etc. ";
    conn=driverManager.getConnection(connectionURL,username,password);
    myQuery="SELECT blah1, blah2 FROM blah3";
    preparedStatement = conn.prepareStatement(myQuery);
    rs=preparedStatement.executeQuery();
    while (rs.next()) {
    etc etc
    rs.close();
    conn.close();
    </cfscript>
    That is for single calls. To set up a permanent connection,
    you could include in the libraries a class whose job is simply to
    establish the connection to the DB. I should expect the code to
    contain some of the themes above, namely,
    getConnection (String url, String user, String password)
    connectionURL = "jdbc:etc"
    java.sql.Connection conn =
    java.sql.DriverManager.getConnection (connectionURL, username,
    password);
    etc. etc.
    You could also find it convenient to store connection and
    user data data in a properties object of the java.util.Properties
    class.
    java.util.Properties properties = new java.util.Properties
    properties.setProperty ("user", "bkbk");
    properties.setProperty ("password", "knoflook");
    java.sql.Connection conn =
    java.sql.DriverManager.getConnection (connectionURL, properties);

  • Which version of ODBC Driver supports DSN-less Connection in JAVA

    hai,
    Which version of ODBC Driver supports DSN-less Connection in JAVA.
    -raja

    hai,
    Pleae help in this regard.
    I am using a DSN-less connection to conect to
    Access using JDBC. But it is not working. It is throwing
    Data Source Name too long exception.
    I think the problem is with ODBC version.
    Let me clear about this.
    Thanks in Advance.
    -raja

  • DialUp Connection using Java

    Dear friends
    I am facing problem,How to get DailUpConnection in Java .Is there any APIs which provide the DialUpConnection.
    Please mention the API's or Sample code .
    thanks

    As the previous reply states, my computer has been configured to automatically connect using dial up services, whenever windows determines a connection is needed.
    I was wrong to say that Java does this. However, I just thought it might be easier for you to configure you internet connection to automatically connect when needed.
    When I run the following program an automatic connection is made. If I am not configured for automatic dial up, then a dialog box is displayed asking me to connect:
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.HttpURLConnection;
    public class URLTester
         private final static String PROTOCOL = "http://";
         public static void main(String args[])
              if ( args.length != 1 )
                   System.out.println("Usage: java URLTester <url>");
                   System.exit(-1);
              String urlString = args[0];
              try
                   // Create URL object from the URL string
                   URL url = new URL(PROTOCOL + urlString);
                   // The connection object has information that my be
                   // retrieved without parsing the data returned
                   HttpURLConnection conn = (HttpURLConnection)url.openConnection();
                   conn.connect();
                   // Get an input stream from the URLConnection object
                   // Note: if you dont need connection information you can get an
                   // input stream from the URL object ( url.openStream() )
                   InputStreamReader isr = new InputStreamReader( conn.getInputStream() );
                   BufferedReader in = new BufferedReader( isr );
                   String line;
                   while ( (line = in.readLine() ) != null )
                        System.out.println( line );
                   in.close();
              catch(IOException e)
                   System.out.println( e );
    }

  • Need database JTA service connected to java service

    Hi,
       In my trial the database service was already connected up to my java service and showed in the data sources window.
       In my paid service the connection is not made - therefore my JPA datasource is not resolving  - as expected until this is fixed.
       Could you join the 2 services or direct myself to a way to manually join them.
       thank you
       /michael
       obrienlabs.org
    Exception: Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [database]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'database'. Resolved ''; remaining name 'database' javax.persistence.PersistenceException: Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [database]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'database'. Resolved ''; remaining name 'database'
    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:517)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)
    at com.vision.cloud.jpa.VisitorServlet.readData(VisitorServlet.java:238)
    at com.vision.cloud.jpa.VisitorServlet.processRequest(VisitorServlet.java:141)
    at com.vision.cloud.jpa.VisitorServlet.doGet(VisitorServlet.java:355)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:165)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.security.internal.WebGateRedirectFilter.doFilter(WebGateRedirectFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [database]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'database'. Resolved ''; remaining name 'database'
    at org.eclipse.persistence.exceptions.ValidationException.cannotAcquireDataSource(ValidationException.java:497)
    at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:109)
    at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
    at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:330)
    at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:293)
    at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:418)
    at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:216)
    at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:146)
    at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:484)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:633)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:208)
    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488)
    ... 38 more Caused by: javax.naming.NameNotFoundException: Unable to resolve 'database'. Resolved ''; remaining name 'database'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:402)
    at javax.naming.InitialContext.lookup(InitialContext.java:396)
    at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:103)
    ... 48 more

    going through association documentation
    http://docs.oracle.com/cloud/CSGSG/manageservices.htm#CSGSG378
    Found the tab in administration
    Associated ServicesAdd Database Association
    No associated services found.

  • Phone is connecting and transfering data in the ba...

    Today at work my Nokia 6710 did start to transfer data in the background without my interaction. I was typing a sms while the symbol for data transfer below the 3G lit up. Did a quick check in the menu->settings->connectivity->Conn.mgr.  Yes, one active connection was sending and receiving data, small amounts 3-4kb, then idle.
    I ended the connection in the Conn.mgr. Closed all the apps in the phone and waited a minute. Then it started one new connection in the background again! Same procedure, checked and closed it...! This did not stop, every time the phone started a new connection after a minute? 
    I did try to find what could cause this, but no success. What is going on, any ideas for what to check? 
    I finally deleted my  3G access point in menu->settings->settings->connection->destinations->internet
    This did stopp the phone from connecting and transfering data. 
     Back home I connected to my WiFi at home, used the browser and closed the connection. Guess what, the phone did now connect via the WiFi in the background doing exactly the same type of small data transfer - without asking!? 
    What is this? I downloaded the latest F-Secure mobile version to check for virus, but nothing, it was clean.
    I did shut down the phone, will not use it until I can stop these unwanted connections and transfers. Please help.

    Finally I found the reason for these data transfers. The upgrade of the mentioned files did have something to do with all of this, but the removal of the files did not help. 
    So, I did go through all the settings in again for Connections and the setting for Share Video were set On...? Turning this setting Off did stop the background data transfers. 
    Problem solved perhaps. But I still wonder why the Share Video setting did start sending data while the phone was not in use? A bug? A virus? A hacker trying to activate the webcam?

Maybe you are looking for

  • Problem:ABAp list to pdf :downaloading single line item instead of multiple

    Hi all,          my requirement is converting the report output as pdf and download. if user enter multiple vendors, we have to download vendor data based up on vendor as separate pdf file. for this i used NEW PAGE PRINT ON. everything i'm downalodin

  • Table internal in a module function

    Hi abappers, I want use the values of my table internal in my function module; then in my module funtion add the table internal in the tab TABLE Then call to my function module: num = 3.       CALL FUNCTION 'ZMF1'               EXPORTING             

  • (ABAP) Code in Transformation--TO ADD LEADING ZERO FOR VALUES 10

    Hi, I am calculacting years and months between 2 given dates by using a Function Module. The result of FM will be E_YEARS & E_MONTHS as per my requirment i need to present the output in YY.MM format for that reason i am doing the below calculaction l

  • Now I need a new Graphics card for CS4

    Hi - So I took the plunge and upgraded to CS4 - then discovered to my annoyance that Matrox aren't bothering ('corporate decision') to write drivers for their AVPE card to support WYSIWYG with CS4. Great, so a £200 card is now on the ebay pile and my

  • Xcelsius and DocumentDownload syntax

    Hi! I´m trying to call a Xcelsius dashboard from another dashboard (parent, child) with SWF loader component. These dashboards are published in Inofview and I try to call the child dashboard with the following syntax: http://server:port/Xcelsius/open