Database Connection Error Cannot create PoolableConnectionFactory

Hello everyone,
Background:
I have a newly installed and configured Ubuntu server running Tomcat5.5 and Mysql 5.0. This server was created in an attempt to migrate from a Red Hat server in a similar configuration, running the exact same webapp. Most of the configuration/classpath differences between the two platforms have been ironed out.
The Problem:
When our webapp trys to connect to the database on localhost, an exception 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)' is generated.
The server.xml configuration is below:
<Resource name="jdbc/EconDollarsDB"
auth="Container"
type="javax.sql.DataSource"
username="user"
password="pass"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/DBName?autoReconnect=true"
maxActive="20" maxIdle="5"
/>I can connect to the database just fine using the command line client and the same username/password combo. This configuration has been working fine for at least a year on the older server. The only similar problems I have found on the net (meaning the same exception is generated) involve applets and attempts to connect to different hosts. This case involves a webapp, connecting to localhost, using a configuration that is known to work! I am simply baffled.
The following stacktrace is generated:
javax.servlet.ServletException: Database Connection Error
Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
** BEGIN NESTED EXCEPTION **
java.security.AccessControlException
MESSAGE: access denied (java.net.SocketPermission localhost resolve)
STACKTRACE:
java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
     at java.security.AccessController.checkPermission(AccessController.java:427)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
     at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
     at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
     at java.net.InetAddress.getAllByName(InetAddress.java:1061)
     at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:137)
     at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
     at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
     at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
     at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
     at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
     at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
     at edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:102)
     at edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
     at edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
     at edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
     at edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
     at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
     at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Thread.java:595)
** END NESTED EXCEPTION **
Attempted reconnect 3 times. Giving up.)
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
     org.apache.jasper.runtime.PageContextImpl.access$11(PageContextImpl.java:65)
     org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:766)
     java.security.AccessController.doPrivileged(Native Method)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:764)
     org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:242)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:585)
     org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
     org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
edu.tamu.erl.database.dblibrary.DBLibraryBaseException: Database Connection Error
Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
** BEGIN NESTED EXCEPTION **
java.security.AccessControlException
MESSAGE: access denied (java.net.SocketPermission localhost resolve)
STACKTRACE:
java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
     at java.security.AccessController.checkPermission(AccessController.java:427)
     at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
     at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
     at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
     at java.net.InetAddress.getAllByName(InetAddress.java:1061)
     at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:137)
     at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
     at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
     at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
     at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
     at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
     at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
     at edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:102)
     at edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
     at edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
     at edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
     at edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
     at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
     at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
     at java.lang.Thread.run(Thread.java:595)
** END NESTED EXCEPTION **
Attempted reconnect 3 times. Giving up.)
     edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:105)
     edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
     edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
     edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
     edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
     org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:585)
     org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
     org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
     org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)Any help would be greatly appreciated.

Hi,
Its clearly saying the connect permission is missing with the current available policy.
you add the following permisson entry to the <installed JRE>\lib\security\java.policy file.
(e.g) C:\Program Files\Java\j2re1.4.2_08\lib\security\java.policy
permission java.security.AllPermission;
grant{
permission java.security.AllPermission;
If the application is running standalone then the code is allowed uncontrolled access but for webapplicatons running through browser, the security check is performed for the configured JRE.
Regards
Karthik
<[email protected]>

Similar Messages

  • Database Connection Error: Cannot obtain error message from the server

    I have a SQL statement that wants to add a temp table to the database.   The SQL statement works fine but when I try to add it via 'Add Command' feature in Crystal XI R2, I get the following error message:
    Database Connection Error: Cannot obtain error message from the server
    Any ideas?
    Thanks in advance,
    Zack H.

    Hi Raghavendra,
    I am using this in the 'Add Command' feature but I get the error message displayed in the subject line:
    CREATE TABLE #TibetanYaks(
    YakID char(4),
    YakName char(20) )
    INSERT INTO #TibetanYaks (YakID, YakName)
    SELECT  LastName, FirstName
    FROM      Employee
    WHERE      EmployeeID between '2000' and '3000'
    I haven't tried to add this as a stored procedure but I imagine it will work as I have no problems yet with stored procedures.  I simply want to be able to use temporary tables for the sole purpose of that session and not creating anything static in the database.
    By the way, even though I get the error message, when I look on the backend database, I see that the temporary table was successfully created...its just not brought across correctly in Crystal.
    Any ideas?
    Zack H.

  • Cannot create PoolableConnectionFactory

    Hi,
    running Calendar Server version 7. Two days ago we had a power failure and the system, running our Calendar Server (not on the no-break) 'crashed', or at least was unsolicitedly shut down. After booting, I had problems with my iCal client application on Apple to connect to the server. I get the error message:
    The calendar http://calserver.sonnection.nl:8080/cal/dav/principals/[email protected]/ was not found on the server. Make sure the URL is correct.
    Before the 'crash' this worked without a problem. However, there are no errors in the commands and calendar log files (during a connection attempt from within iCal):
    ...davserver/logs/commands.0:
    [2010-12-23T20:31:26.065+0100] <19> DavServlet [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    [2010-12-23T20:31:26.066+0100] <19> DavServlet [RES] [401] Command execution time: 0.0010 secs
    [2010-12-23T20:31:26.068+0100] <20> DavServlet [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    [2010-12-23T20:31:26.069+0100] <20> DavServlet ----- Authentication: [email protected] login_time=0.0010 secs,start_service_time=0.0 secs.
    [2010-12-23T20:31:26.069+0100] <20> DavServlet ----- Autocreate /home/[email protected]/ start.
    [2010-12-23T20:31:26.070+0100] <20> DavServlet ----- AddCollection /home/[email protected]/ start.
    [2010-12-23T20:31:26.070+0100] <20> DavServlet [RES] [404] Command execution time: 0.0020 secs
    ... davserver/logs/calendar.0:
    INFO [2010-12-23T20:32:59.790+0100] <...DavServerServlet.service> [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    INFO [2010-12-23T20:32:59.791+0100] <...DavServerServlet.service> [RES] [401] Command execution time: 0.0010 secs
    INFO [2010-12-23T20:32:59.793+0100] <...DavServerServlet.service> [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    INFO [2010-12-23T20:32:59.795+0100] <...DavServerServlet.service> [RES] [404] Command execution time: 0.0020 secs
    Furthermore, since the crash my daily backup of the database fails, with an error:
    Backup started at 201012222355...
    Dec 22, 2010 11:55:01 PM com.sun.comms.davserver.backends.jdbcbackend.JdbcBackend getDatabaseName
    SEVERE: SQL error org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    Last packet sent to the server was 0 ms ago.)
    Dec 22, 2010 11:55:01 PM com.sun.comms.davserver.backends.jdbcbackend.JdbcBackend getBackendException
    WARNING: Unexpected SQL error: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    Last packet sent to the server was 0 ms ago.)
    Backend Exception: SQL error: Cannot create PoolableConnectionFactory (Communications link failure
    Last packet sent to the server was 0 ms ago.)
    The backup command I use is:
    $SBINDIR/davadmin db backup -H localhost -u $USER -W $PWDFILE -d $DATABASE -k $BACKUPDIR/caldav.backup.$DATETIME
    Any ideas where to start troubleshooting?
    /rolf

    Yes, I checked. It seems to be running OK:
    root 6842 1 0 22:13 pts/1 00:00:00 /bin/sh /usr/bin/mysqld_safe datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid --user=mysql
    mysql 6889 6842 0 22:13 pts/1 00:00:00 /usr/libexec/mysqld basedir=/usr datadir=/var/lib/mysql user=mysql pid-file=/var/run/mysqld/mysqld.pid skip-external-locking socket=/var/lib/mysql/mysql.sock
    To make sure it is running properly I restarted via /etc/init.d/mysqld stop and start. The log file:
    A mysqld process already exists at Thu Jun 10 14:57:41 CEST 2010
    A mysqld process already exists at Tue Dec 7 13:54:55 CET 2010
    101223 20:22:08 mysqld started
    101223 20:22:08 InnoDB: Started; log sequence number 0 46409
    101223 20:22:08 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
    110103 22:12:55 [Note] /usr/libexec/mysqld: Normal shutdown
    110103 22:12:55 InnoDB: Starting shutdown...
    110103 22:12:56 InnoDB: Shutdown completed; log sequence number 0 46409
    110103 22:12:56 [Note] /usr/libexec/mysqld: Shutdown complete
    110103 22:12:56 mysqld ended
    110103 22:13:04 mysqld started
    110103 22:13:04 InnoDB: Started; log sequence number 0 46409
    110103 22:13:04 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
    Nothing special?
    /rolf

  • CAQuietExec: Error: Cannot create database.

    Could not upgrade from Azure .NET SDK 2.2 to 2.3 (VS 2013) on Windows 8.1 x64. The Storage Emulator 3.0 setup is failing, even if launched manually. Do you have any tips?
    The logs of the WindowsAzureStorageEmulator install has the following lines just before initiating a rollback.
    MSI (s) (F4:D8) [08:18:27:340]: Source for file 'StartStorageEmulator.cmd' is compressed
    InstallFiles: File: StartStorageEmulator.cmd,  Directory: C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\,  Size: 64
    MSI (s) (F4:D8) [08:18:27:340]: Executing op: CacheSizeFlush(,)
    MSI (s) (F4:D8) [08:18:27:340]: Executing op: ActionStart(Name=RunInitialize,Description=Initializing the Storage Emulator,)
    Action 8:18:27: RunInitialize. Initializing the Storage Emulator
    MSI (s) (F4:D8) [08:18:27:340]: Executing op: CustomActionSchedule(Action=RunInitialize,ActionType=1025,Source=BinaryData,Target=CAQuietExec,CustomActionData="C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\WAStorageEmulator.exe"
    init -forcecreate -autodetect)
    MSI (s) (F4:F8) [08:18:27:371]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIEAC9.tmp, Entrypoint: CAQuietExec
    MSI (s) (F4:C8) [08:18:27:371]: Generating random cookie.
    MSI (s) (F4:C8) [08:18:27:371]: Created Custom Action Server with PID 3640 (0xE38).
    MSI (s) (F4:48) [08:18:27:387]: Running as a service.
    MSI (s) (F4:48) [08:18:27:387]: Hello, I'm your 32bit Impersonated custom action server.
    CAQuietExec:  Windows Azure Storage Emulator 3.0.0.0 command line tool
    CAQuietExec:  Error: Cannot create database.
    CAQuietExec:  Error 0xfffffff3: Command line returned an error.
    CAQuietExec:  Error 0xfffffff3: CAQuietExec Failed
    CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 8:18:32: InstallFinalize. Return value 3.
    MSI (s) (F4:D8) [08:18:32:276]: Note: 1: 2265 2:  3: -2147287035
    MSI (s) (F4:D8) [08:18:32:276]: User policy value 'DisableRollback' is 0

    I agree.  This (finally) took care of it!  Thanks to DixQuinze and Trent Swanson...
    sqllocaldb stop v11.0
    sqllocaldb delete v11.0
    delete C:\Users\MyAccount\WAStorageEmulatorDb30*.*
    sqllocaldb create v11.0
    Then try the install again!
    -Dave
    DixQuinze

  • Cannot create PoolableConnectionFactory (JZ006: Caught IOException: java.ne

    Hi,
    I'm getting the following exception while switching from one database to other database at runtime.
    "org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (JZ006: Caught IOException: java.net.ConnectException: Connection timed out: connect) ".
    Could you please give us any guesses why this might have been coming up/ what are the possible areas which i need to look into. Please be kind to let me know if my question is ambiguous.
    Best Regards,
    Upendra

    Hey,
    Thanks for the help. My lp address has been changed today. I was unaware of that. After changing the IPAddress, i was able to connect to the data base.
    Upendra.

  • Database Connection Error:BAPI Error #0

    I have a problem when I preview a report in Crystal Reports 2008 using BW MDX Query I had recieved the following messages:
    1.Failed to retrieve data from database
    and then when I click ok
    2.Database Connection Error:BAPI Error #0
    Error occurred  when starting the parser:timeout during allocate / CPIC-CALL'ThSAPCMRCV'
    I copied the query of crystal report and I execute it inside the transaction of mdxtest
    SELECT  NON EMPTY EXCEPT([0CALMONTH].MEMBERS, {[0CALMONTH].[All]}) ON ROWS FROM [USD_SD_C0/RPT_1] SAP VARIABLES [!V000001] INCLUDING [0CALMONTH].[200401]
    I found the debugger had stopped in the line Break when I click on F8
    I recieve the following error
    Error occurred when starting the parser: timeout
    during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Please anybody can help me

    Dear Ingo
    I had read this note
    I applied the following:
    1.I didn't found the lrfc32.dll in the windows/system32 in my BW server so I asked my basis administrator to upgrade the kernel
    2.after this step I didn't find it again so I had copied the file from the new kernel and copied it to system32 and sysWow
    3.I register successfuly the lrfc32.dll using the commanf regsvr c:/windows/system32/lfrc32.dll
    (note: this step didn't succeed until I had installed SAP GUI in BW server because as I observed that there is a need for C++ compiler which is installed by default when you install GUI)
    after all of this I cannot run any crystal report based on any BW query
    So Please anyboday can help

  • BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS

    Hi, I'm trying to run a payment batch using payments manager and encountered this error.
    In my test data I used two suppliers that belongs to the same operating unit.
    Payments: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    IBYBUILD module: Build Payments
    Current system time is 09-NOV-2009 11:26:11
    **Starts**09-NOV-2009 11:26:11
    **Ends**09-NOV-2009 11:26:13
    BUILD PROGRAM ERROR - CANNOT CREATE PAYMENTS
    Start of log messages from FND_FILE
    IBY_PAYGROUP_PUB.performPostHookProcess: Fatal error - Payment count mismatch after hook operation. # payments passed to hook: 1, # payments returning from hook: 2
    IBY_PAYGROUP_PUB.performPostHookProcess: Aborting program ..
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Exceptions posted by this request:
    Concurrent Request for "Build Payments" has completed with error.
    Concurrent request completed
    Current system time is 09-NOV-2009 11:26:13
    Please help
    thanks,
    Renz

    Hi
    Please review the below note from Metalink,
    Bug No. 6771847
    Filed 24-JAN-2008 Updated 13-MAR-2008
    Product Oracle Payments Product Version 12.0.4
    Platform Linux x86 Platform Version ENTERPRISE 4
    Database Version 10.2.0.2 Affects Platforms Generic
    Severity Severe Loss of Service Status Closed, Verified by Filer
    Base Bug N/A Fixed in Product Version 12.0.4
    Problem statement:
    R12: AFTER APPLYING 12.0.4 BUILD PAYMENT PROGRAM ERRORS
    please review the same if it resolvs your error.
    Thanks
    Manish Jain.

  • Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax

    Hi,
      This is Sathish, I am trying to create a report and retrieve data through stored procedure using ODBC Connection. When connecting to the Stored Procedure it is showing Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax error or access violation' Error.
    CRXI R2, Oracle 9i.
    What do i do to solve this issue.
    Regards,
    Sathish

    Hi Satish
    It could be an issue with the driver.
    You can try with the OLEDB n Oracle native connection to test if the issue persists.
    Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
    Hope this helps!!
    Regards
    Sourashree

  • ERROR: Cannot create authcontext with null org-Naming query failed  code:21

    I use OpenSSO Enterprise 8.0 Update 1 Patch1 Build 6.1(2009-June-9 12:56)
    I try to evaluate the Apache 2.2 web agent.
    It's been installed without errors, and both the OpenSSO and Apache server restarted.
    The agent profile's been created. Also, I use the default (OpenDS) configuration repository
    for OpenSSO, but an external (DSEE) user data directory.
    I think I did all the required steps with regards to both directories, since I don't see any error
    in the LDAP logs, each entry seems to be found as expected, the BIND operations are all
    successfull.
    Also, I use a sub-realm rather than the default top realm, and thus, I've modified the agent configuration
    (in the agent profile) so that the login URL is now ... /UI/Login?realm=myrealm
    When I try to access the Apache homepage, I get an error 500. The most recent OpenSSO server log file
    (...../opensso/debug/Authentication) contains the following message:
    ERROR: Cannot create authcontext with null org
    The most recent agent log file (....../apache22_agent/Agent_001/logs/debug/amAgent) has the following error:
    2009-07-07 17:08:11.992 Error 10513:80149a50 PolicyEngine: am_policy_evaluate: InternalException in Service::update_policy with error message:Naming query failed. and code:21
    I don't know what else I can do to debug this problem and find a solution. Any idea ?

    Thank you Shubba,
    With all available log details enabled, I now have the following messages on the agent side:
    2009-07-09 10:14:51.731MaxDebug 5613:80149a50 all: No value specified for key com.sun.identity.agents.config.profile.attribute.mapping, using default value .
    2009-07-09 10:14:51.731 Debug 5613:80149a50 NamingService: BaseService::doRequest(): Using server: http://portable.antibes.net:8080/opensso/namingservice.
    2009-07-09 10:14:51.731MaxDebug 5613:80149a50 NamingService:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="com.iplanet.am.naming" reqid="10">
    <Request><![CDATA[                                                                                                                      
      <NamingRequest vers="3.0" reqid="2" sessid=""AQIC5wM2LY4SfcyaGFgc5h9Y7/kpf4f//ml82oVfNlbWxQE=@AAJTSQACMDE=#"">                             <GetNamingProfile>                                                                                                                         </GetNamingProfile>                                                                                                                        </NamingRequest>]]> </Request>
    </RequestSet>
    2009-07-09 10:14:51.712MaxDebug 5613:80149a50 NamingService: BaseService::sendRequest Request line: POST /opensso/namingservice HTTP/1.0
    2009-07-09 10:14:51.712 Debug 5613:80149a50 NamingService: BaseService::sendRequest Cookie and Headers =Host: portable.antibes.net
    2009-07-09 10:14:51.712 Debug 5613:80149a50 NamingService: BaseService::sendRequest Content-Length =Content-Length: 334
    2009-07-09 10:14:51.712 Debug 5613:80149a50 NamingService: BaseService::sendRequest Header Suffix =Accept: text/xml
    Content-Type: text/xml; charset=UTF-8
    2009-07-09 10:14:51.712MaxDebug 5613:80149a50 NamingService: BaseService::sendRequest(): Total chunks: 7.
    2009-07-09 10:14:51.712MaxDebug 5613:80149a50 NamingService: BaseService::sendRequest(): Sent 7 chunks.
    2009-07-09 10:14:51.728 Debug 5613:80149a50 NamingService: HTTP Status = 500 (Internal Server Error)
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Http::Response::readAndParse(): Reading headers.
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Server: Apache-Coyote/1.1
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Content-Type: text/html;charset=utf-8
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Date: Thu, 09 Jul 2009 08:14:51 GMT
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Connection: close
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Http::Response::readAndParse(): Reading body content of length: 13830487939496281954
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 all: Connection::waitForReply(): returns with status success.
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: Http::Response::readAndParse(): Completed processing the response with status: success
    2009-07-09 10:14:51.729MaxDebug 5613:80149a50 NamingService: <html><head><title>Apache Tomcat/6.0.18 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: AMSetupFilter.doFilter
    com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:117)
    </pre></p><p><b>root cause</b> <pre>java.lang.NullPointerException
    com.iplanet.services.naming.service.NamingService.processRequest(NamingService.java:361)
    com.iplanet.services.naming.service.NamingService.process(NamingService.java:352)
    com.iplanet.services.comm.server.PLLRequestServlet.handleRequest(PLLRequestServlet.java:180)
    com.iplanet.services.comm.server.PLLRequestServlet.doPost(PLLRequestServlet.java:134)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:91)
    </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.18</h3></body></html>
    2009-07-09 10:14:51.729 Warning 5613:80149a50 NamingService: BaseService::doHttpPost() failed, HTTP error = 500
    2009-07-09 10:14:51.729 Debug 5613:80149a50 NamingService: NamingService()::getProfile() returning with error code HTTP error.
    2009-07-09 10:14:51.729 Error 5613:80149a50 PolicyEngine: am_policy_evaluate: InternalException in Service::update_policy with error message:Naming query failed. and code:21
    In my Tomcat server (OpenSSO server web container), I have the following errors:
    Jul 9, 2009 10:12:35 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 22746 ms
    [Fatal Error] :2:46: Element type "NamingRequest" must be followed by either attribute specifications, ">" or "/>".
    java.lang.NullPointerException
    at com.iplanet.services.naming.service.NamingService.processRequest(NamingService.java:361)
    at com.iplanet.services.naming.service.NamingService.process(NamingService.java:352)
    at com.iplanet.services.comm.server.PLLRequestServlet.handleRequest(PLLRequestServlet.java:180)
    at ...
    It seems like the problem comes from the couple of closing square brackets in the NamingRequest tag:
    </NamingRequest>]]>
    I don't know where it comes from, so if you've an idea I'd enjoy .
    Cheers,

  • Database Connector error: 'cannot obtain error message from server'

    I am using Oracle stored procedures and I have used IN parameters for input and INOUT parameter of REF_CURSOR TYPE for returning resultset in Crystal Report 2008 by using package. Now when I am trying to add the package in the Crystal Report, parameter input box prompts, I enter some values and gets Database Connector error: 'cannot obtain error message from server'.
    But when I do not use INPUT parameters and use OUT parameter of REF_CURSOR type it runs well without any issues.
    We are using ODBC connection for Oracle.
    Kindly suggest.

    Hello,
    Search the Knowledge Base for "oracle store procedures" and you'll find a document on how to write a SP so CR can use them.
    Thank you
    Don

  • Database Connection Error - Need Help

    I have a Crystal Reports report that "stopped working".  When I preview the report, I receive a Database Connection error.  I have a copy of the error posted at http://www.foreigncandy.com/crystalreportserror.jpg.
    Anyone have any ideas what's causing this?  We are new to SAP and Crystal Reports.
    Thanks
    Jeff Verdoorn - Systems Analyst
    The Foreign Candy Company, Inc.

    I'm not sure what database version you are looking for.  it's Crystal Reports 2008 version 12.
    Could it be a a problem with the setup of an item?
    Here's the SQL query:
    -- Create temporary table variable
    DECLARE @LineQuantities TABLE
         DocEntry int,
         DocDate datetime,
         ItemCode varchar(20),
         Quantity numeric(19,6),
         Last4WeekSales numeric(19,6),
         Last12WeekSales numeric(19,6),
         Week1Sales numeric(19,6),
         Week2Sales numeric(19,6),
         Week3Sales numeric(19,6),
         Week4Sales numeric(19,6),
         Week5Sales numeric(19,6),
         Week6Sales numeric(19,6),
         Week7Sales numeric(19,6),
         Week8Sales numeric(19,6),
         Week9Sales numeric(19,6),
         Week10Sales numeric(19,6),
         Week11Sales numeric(19,6),
         Week12Sales numeric(19,6)
    -- Fill table with list of invoice items and the week they were sold
    INSERT INTO @LineQuantities (DocEntry,DocDate,ItemCode,Quantity,Last4WeekSales, Last12WeekSales,
         Week1Sales,Week2Sales,Week3Sales,Week4Sales,Week5Sales,Week6Sales,Week7Sales,Week8Sales,Week9Sales,Week10Sales,
         Week11Sales,Week12Sales)
    SELECT invHead.DocEntry, invHead.DocDate, invLine.ItemCode, invLine.Quantity,
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-4,GetDate()) AND invHead.DocDate <= DateAdd(Week,-0,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Last Week 4 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-12,GetDate()) AND invHead.DocDate <= DateAdd(Week,-0,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Last Week 12 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-12,GetDate()) AND invHead.DocDate <= DateAdd(Week,-11,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -12 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-11,GetDate()) AND invHead.DocDate <= DateAdd(Week,-10,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -11 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-10,GetDate()) AND invHead.DocDate <= DateAdd(Week,-9,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -10 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-9,GetDate()) AND invHead.DocDate <= DateAdd(Week,-8,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -9 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-8,GetDate()) AND invHead.DocDate <= DateAdd(Week,-7,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -8 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-7,GetDate()) AND invHead.DocDate <= DateAdd(Week,-6,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -7 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-6,GetDate()) AND invHead.DocDate <= DateAdd(Week,-5,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -6 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-5,GetDate()) AND invHead.DocDate <= DateAdd(Week,-4,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -5 Sales',
              CASE
              WHEN invHead.DocDate > DateAdd(Week,-4,GetDate()) AND invHead.DocDate <= DateAdd(Week,-3,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -4 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-3,GetDate()) AND invHead.DocDate <= DateAdd(Week,-2,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -3 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-2,GetDate()) AND invHead.DocDate <= DateAdd(Week,-1,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -2 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-1,GetDate()) AND invHead.DocDate <= DateAdd(Week,-0,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -1 Sales'
    FROM OINV AS invHead
         LEFT JOIN INV1 AS invLine ON invLine.DocEntry = invHead.DocEntry
    -- Create summary report from temporary table
    SELECT itm.ItemCode AS 'Item No.', itm.ItemName AS 'Item Description', itm.OnHand AS 'In Stock',
         itm.IsCommited AS 'Qty Ordered by Customers', itm.OnOrder AS 'Qty Ordered from Vendors', itm.LeadTime AS 'Lead Time',     
         CASE
              WHEN (Sum(sales.Last4WeekSales)/4) > Sum(sales.Last12WeekSales)/12 THEN Convert(int,(itm.OnHand/(Sum(sales.Last4WeekSales)/4)))
              ELSE  Convert(int,(itm.OnHand/(Sum(sales.Last12WeekSales)/12)))
         END AS 'Weeks of In Stock',
         Convert(numeric(8,2),(Sum(sales.Last4WeekSales)/4)) AS '4 Week Sales Average', Convert(numeric(8,2),(Sum(sales.Last12WeekSales)/12)) AS '12 Week Sales Average',
         Convert(varchar(10),Convert(numeric(8,2),(100*((Sum(sales.Last4WeekSales)/4) - (Sum(sales.Last12WeekSales)/12)) / (Sum(sales.Last12WeekSales)/12)))) + ' %' AS 'Percent Change',
         Convert(int,Sum(sales.Week1Sales)) AS 'Week -12 Sales', Convert(int,Sum(sales.Week2Sales)) AS 'Week -11 Sales', Convert(int,Sum(sales.Week3Sales)) AS 'Week -10 Sales',
         Convert(int,Sum(sales.Week4Sales)) AS 'Week -9 Sales', Convert(int,Sum(sales.Week5Sales)) AS 'Week -8 Sales', Convert(int,Sum(sales.Week6Sales)) AS 'Week -7 Sales',
         Convert(int,Sum(sales.Week7Sales)) AS 'Week -6 Sales', Convert(int,Sum(sales.Week8Sales)) AS 'Week -5 Sales', Convert(int,Sum(sales.Week9Sales)) AS 'Week -4 Sales',
         Convert(int,Sum(sales.Week10Sales)) AS 'Week -3 Sales', Convert(int,Sum(sales.Week11Sales)) AS 'Week -2 Sales', Convert(int,Sum(sales.Week12Sales)) AS 'Week -1 Sales'
    FROM @LineQuantities AS sales
         LEFT JOIN OITM AS itm ON itm.ItemCode = sales.ItemCode
    WHERE sales.Quantity > 0
    GROUP BY itm.ItemCode, itm.ItemName, itm.OnHand, itm.IsCommited, itm.OnOrder, itm.LeadTime
    ORDER BY itm.ItemCode
    Thanks
    Jeff

  • Database Connection Error

    Hello,
    We have crystal reports published on the BOBJ system and the datasource is SAP BI system . The reports were working fine
    untill last monday when they started giving error " Database Connection Error " .
    This is what happening, when we run the crystal report , it will come up with a pop up for selection and upon giving the selection and click on execute , it is giving error.
    To start we have this issue in BOBJ dev system , but now we have the same issue in QA and Prod as well. I suspected
    this has to do with license keys, but my BOBJ Admin *** basis team thinks otherwise.
    I couldnt think of would have gone wrong or missing . Any ideas will be appreciated.
    Thanks,
    Ravi.

    Ingo,
    I tested the reports using the crystal designer, and they ran fine without issues . The same report when we run on BOBJ/infoview it is giving data base connection error. The same is happening across all the 3 systems( Dev, QA and Prod ).
    I also tested the verify database on the crystal designer and it say " data is up to date".
    As the client level integration seems to be working fine, I'm thinking there is a issue with server level integration.
    Can you through some insight into the checks we can do get to the bottom?
    Thanks,
    Raju.

  • Database Connection error in Crystal Reports using SAP BW system

    Hi,
    While using Crystal Reports in trying to build a report on the SAP Query in SAP/BW System using the MDX driver, I am able to get the structure of the query fields into the report but on the other hand while trying to refresh the report for data I am getting the error message u201C Failed to connect to the databaseu201D . This database  connection error occurs despite the fact that the SAP server authentication details being entered on Refreshing the report is correct.
    What could be the possible reason? Any guess...
    Thanks,
    Amogh

    Hi,
    Yes, I am using the MDX driver. 
    Is there any pre-requisites of importing certain ABAP transports into SAP Server since I haven't done any? Please  recommend.
    Thanks,
    Amogh

  • IMovie error - cannot create file when I attempt to share

    I am using MAC OS X 10.9.5, iMovie 10.0.5.  I have successfully create many movies by using Share to file - of long and short sizes. This particular time I made couple of minor edits to my movie which had previous shared to file with no problem, and when I went to Share to File I get an error message. The Share fails with the error "cannot create file".
    I have plenty of disk space.
    All other applications are closed, just imovie running.
    The destination is the mac internal hard drive.
    I deleted imovie and re-installed it.
    I deleted the Render Files.
    No luck.
    Any clues would be greatly appreciated.
    Super frustrated.
    Thanks.

    docjob2001 wrote:>
    Is there a way to go back download 9.02 again?
    you can download it from here: http://www.versiontracker.com/dyn/moreinfo/macosx/10057115&vid=11116557&mode=inf o
    My only backup is version 8.2 and will not open my itunes library - is there a workaround for this?
    maybe. you could try this:
    to downgrade to a previous iTunes version, you could try this user tip that seemed to have worked for some:
    +1) Quit iTunes.+
    +2) Delete iTunes from your Applications folder.+
    +3) Go to your ~/Music/iTunes folder. Delete or rename the "iTunes Library" file.+
    +4) Open the "Previous iTunes Libraries" folder and look for the backup of your old pre-9 library; it should be dated at about the time you first ran iTunes 9. Copy it back out to the ~/Music/iTunes folder, and rename it to "iTunes Library".+
    +6) click here to download iTunes 8.2.1. The page says it's for G3, but the Read Me file says it'll run on G4, G5, and Intel too. Open the disk image and run the installer.+
    +You should now be able to run iTunes 8.2.1 again.+
    +And your iTunes will restore to before you upgraded and you won't lose anything+.
    good luck !

  • Getting error "Cannot create a BACPAC from a file that does not contain exported data." from SqlManagementClient.Dac.ImportAsync

    We're trying to import a dacpac to azure via the new SqlManagementClient DacOperations ImportAsync api I get an exception with the error: "Cannot create a BACPAC from a file that does not contain exported data."
    This same dacpac imports fine using an alternate but less friendly API from sql server's tooling. We'd like to use the new management SDK instead for various reasons.

    Hi Kyle A Wilt,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Lost receipt help!

    Bought a prepaid mobile phone three days ago and the device was not working at my home. I wanted to return the device but I cannot locate the receipt and paid in cash. I can provide the location time and date that the purchase was made but no one see

  • Questions on Labview 8.5 for Linux edition

    Hi All, I have some questions about LV 8.5 Linux edition: 1, Does it follow the GPL rules? 2, Which main distributions it supports? 3, Why I cannot download an evaluation edition? Thanks. David

  • Updating to 8.1.2 error: app can not be found

    Hi, I updated my iPad to 8.1.2 two days ago and 77 of my apps would not download back onto on my iPad. In the update process a message had come up that I had to revert to factory settings and I could download my apps after. I complied and now receive

  • Define access point to connect?

    A couple of applications on my phone, particularly Ovi Maps keep doing this and it's getting REALLY annoying. Start using the application, it comes up with the following: "Network connection required.Define access point to connect? Then it'll give me

  • Problem executing RMI Methods Netbeans

    Hi everyone! I�m using a system Servlet+applet that communicate by RMI with Netbeans. The remote object, the stub and the binding are correctly created at the servlet. At the applet the reference to the remote object is ok too. The problem appears wh