Coldfusion application fails to conect database(JDBC connection)
Hi,
I am facing some problem in my application producion box,
Problem details::
My Coldfusion application fails to conect database(JDBC connection) .After restarting cold fusion services it again work smoothly.
Below are the production coldusion details.
Server Product: ColdFusion MX.
Version: 6,1,0,83762
Edition: Enterprise.
Please suggest its urgent.
Hi
Yes I have examined all the code as well as all the log files but unable to find any issue there. I am giving its error massage.
Error Massage:
Java.SQL.sqlexception. No more available statements please create your package with a larger dynamic section value
The application within that has reported to be a FAILURE.
Some times has no error massage it displayed blank page.
Below are the system details.
1. Operating system: windows 2000.
2. ColdFusion version: 6.1(6,1,0,83762)
3. Webservices: IIS
4. database: SqlServer 2000 and DB2.
5. Java VM Version : 1.4.2-b28
Kindly update its urgent, because its a production issue.
Let me know if you have any questions regarding my explanation.....
Thanks.
Gautam Kumar.
Similar Messages
-
ADF 11g application on Weblogic 10.3 + JDBC connection to Oracle XE
Hello! i'm using Jdev 11g (not tp4) and i have Adf applicarion which uses BC4J, thereofre in jdev exists connection to DB.
When i start my application in Jdev, it starts Weblogic and deploys my application. And all works fine!
When i want to execute my Weblogic as standalone server, using Weblogic domain Administration console, i deploy my application as WAR archive
before deploy, i've been created JDBC DataSource in Weblogic server, using Weblogic webinterface (connection test was OK)
and now, when i start my application, entering application Url in internet explorer, i see that exception has ariced, her is the stack trace
{color:#0000ff}<17-Oct-2008 18:30:49 o'clock EEST> <Error> <HTTP> <xc002600109> <AdminServer> <ACTIVE ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1224257449182> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1410e0d - appName: 'nano', name: 'nano.war', context-path: '/nano', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@8f5e03[
GET /nano/faces/untitled3.jsp?_adf.ctrl-state=1797442774_7 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: oracle.uix=0^^GMT+3:00; JSESSIONID=wShvL4vT9h40V7TSNH9D84p3v4h48S992vJyWK6p0hnWflfZVpc2!652912999; ADMINCONSOLESESSION=r440L4XpGDJhhX3G1slmFdSzV3xSH51xGzhy912nTnpP2Zv1yVrQ!652912999
Pragma: no-cache
Cache-Control: no-cache
]] Root cause of ServletException.
java.lang.NullPointerException
at oracle.adf.model.bc4j.DCJboDataControl.findVariable(DCJboDataControl.java:2934)
at oracle.adf.model.binding.DCVariableImpl.resolveSourceVariable(DCVariableImpl.java:69)
at oracle.adf.model.binding.DCVariableImpl.getVariableKind(DCVariableImpl.java:162)
at oracle.jbo.common.VariableManagerImpl.doGetVariables(VariableManagerImpl.java:125)
at oracle.jbo.common.VariableManagerImpl.getVariablesOfKind(VariableManagerImpl.java:259)
at oracle.jbo.common.VariableManagerImpl.getVariables(VariableManagerImpl.java:253)
at oracle.jbo.common.VariableValueManagerImpl.doPassivateVariables(VariableValueManagerImpl.java:499)
at oracle.jbo.common.VariableValueManagerImpl.getPassivatableVariables(VariableValueManagerImpl.java:439)
at oracle.adf.model.binding.DCBindingContainer.buildFormToken(DCBindingContainer.java:4523)
at oracle.adf.model.binding.DCBindingContainerState.buildStringBuffer(DCBindingContainerState.java:56)
at oracle.adf.model.binding.DCBindingContainerState.toString(DCBindingContainerState.java:590)
at oracle.adf.model.binding.DCBindingContainer.getStateToken(DCBindingContainer.java:4293)
at oracle.adfinternal.controller.application.model.SaveStateTokenListener.afterPhase(SaveStateTokenListener.java:54)
at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:122)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:68)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
{color:#000000}i have learned about deployment descriptors and i have made additional files and changed web.xml file:
{color:#ff0000}web.xml:
{color:#000000}....{color}
{color} <resource-ref>
<description>Nano Datasource</description>
<res-ref-name>Nano_DB_connection</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
{color:#ff0000}weblogic.xml:{color}
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
<resource-description>
<res-ref-name>Nano_DB_connection</res-ref-name>
<jndi-name>Nano_DB_connection</jndi-name>
</resource-description>
</weblogic-web-app>
{color:#ff0000}weblogic-jdbc.xml:{color}
<?xml version = '1.0' encoding = 'windows-1252'?>
<jdbc-data-source xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jdbc.xsd" xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source">
<name>Nano_DB_connection</name>
<jdbc-driver-params>
<url>10.5.25.169</url>
<driver-name>oracle.jdbc.OracleDriver</driver-name>
<properties>
<property>
<name>user</name>
<value>chaosdb</value>
</property>
<property>
<name>servername</name>
<value>10.5.25.169</value>
</property>
<property>
<name>portnumber</name>
<value>1521</value>
</property>
<property>
<name>sid</name>
<value>XE</value>
</property>
</properties>
</jdbc-driver-params>
<jdbc-data-source-params>
<jndi-name>Nano_DB_connection</jndi-name>
<scope>Application</scope>
</jdbc-data-source-params>
</jdbc-data-source>
in BC4J project Model.jpx tells that bc4j uses connection named Nano_DB_connection.
in Weblogic datasource name is the same
Question: how to bind my application in weblogic to existed connection/datasource in weblogic?
how Jdev deploys and configures Weblogic server, that it works fine, but when i start THE SAME server manually, deploy application using JDEV the application execution failed (see above exception)
maybe i should use EAR profile instead of WAR, to deploy all connections and other stuff to weblogic?
{color:#ff0000}please help!!!{color}
{color}{color}Hi,
Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
Hope this helps
Blaise -
Deployed application can't see the JDBC connection
Hi
I made an ADF application using oracle JDeveloper 11g and it ran successfully from the JDeveloper
I deployed it to Weblogic 10.3 and it successfully deployed
But when i Opened the deployed application's URL the page's lay out is only what i c (only the template) with the following error:
=================================================
Error while opening JDBC connection.
ORA-01005: null password given; logon denied
Unexpected exception caught: java.lang.NullPointerException, msg=null
=================================================
SO, how could I make my application c the JDBC ?
by the way when i created the DB connection in the JDeveloper i checked(deploy password)Hi Eddy
I got the same problemas you posted.now i changed the configurations of AMlocal.i changed from JDBC URL to JDBC datasource.
i saved the changes. i created a new EAR and deployed to external WLS 10.3 from Jdev11.1.1
when i am testing tha app from external WLS,i am getting the following error
JNDI failure.unable to lookup DataSource at context
java:comp/env/jdbc/Connection1DS
while trying to lookup'jdbc.Connectiobb1DS' didn't find
subcontext 'jdbc'.Resolved"
Unexpected exception caught:
java.lang.NullpointerException,msg=null
Can you tell me where the problem is? -
We have a web application that is currently depending on Application Module Pooling.
Our production system is configured with PIIX to enforce a multiple DMZ model. The ocj4 instance serving our application is in one DMZ and the data base server is in another. PIIX is configured to disable connections between firewalls that are idle for 30 minutes. Over time, JDBC connections leak (50 to 60 a day). It looks like when the fire wall disables a connection that is being referenced by an application module that has been idle for 30 minute, that application module is getting a new connection to service without returning the disabled connection to the OS.
Would we set the jbo.maxpoolcookieage property of the Application Module to less than 30 minutes to avoid the JDBC connection leaks? If not, how can we configure the application module so that disabled JDBC connections are returned to the operating system if the connection has been timeout out by the firewall software?
Thanks in advance.My thought is that your firewall feature is completely
at odds with connection pooling.
Doesn't it stand to reason that a conn will be idle when
your app is idle?
On the other hand, you might be able to use J2EE (OC4J)
conn pooling and tune the closing the idle connection in
data-sources.xml and set min conns to zero. This way
you might get the container to close all conns and you'll
leak no idle conns.
I don't think AM pooling with nailed up conns or using
BC4J's conn pooling will time out idle conns as will
the J2EE container.
Search this forum on data-source.xml and I posted definative
how-to configure datasource connection configuration and
tuning.
BTW, doing this, will make first users of your app sluggish
as they pay the cost of new connections. ;-(
Good luck.
curt -
2 jdbc connections from a java application works ok to 9i but not to 10g
Hi,
I hava java swing application which opens one jdbc connection. Tha application has 10 classes all of which are in one package say app.someapp.pkg1. This works ok.
I am trying to integrate a second java component which provides a drilldown JTree interface to the user. The second component has 6 classes and has its own package app.someotherapp.pkgA. The second java component also opens a JDBC connection.
If both the jdbc connections point to a common 9i database it works fine.
If both the jdbc connections point to a common 10g 10.0.2.0.0 database the second component fails to open the conection.
Some static variables in the two packages may be getting overloaded i.e connection. Should this matter even though the packages are different.
Are there any issues in opening a 2nd connection to 10.0.2.0.0 using JDBC.
What might I be doing wrong can anyone suggest a line of attack
SaugatoDear All
IT WORKS FINE . Pls disregards this thread
I misinterpreted the ORA-02019 error message. The 10g instance was missing a database link to a 3rd remote database . The 9i instance had this database link hence was not complaining.
The following error was thrown when a select was performed on a table refred to using the database link.
java.sql.SQLException: ORA-02019: connection description for remote database not found
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) -
J2EE application jdbc connectivity
I am going through [this tutorial|http://www.netbeans.org/kb/60/web/mysql-webapp.html#addingTaglib] from netbeans to develop a mysql dabase web application through netbeans
I use tomcat as web server and it stateds that It would automatically register mysql connector j and move it to lib directory if one is not there but in my case it did not so I manually downloaded mysql-connector-java-5.1.6 from mysql site and put it in tomcat's lib directory, do I have to do something else ,
I am running mysql as a service on port 3307 instead of default 3306 because that port was preoccupied , I am using Netbeans 6.1, when I run the index.jsp the following page displays
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 3
1: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
2: <%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
3: <sql:query var="subjects" dataSource="jdbc/IFPWAFCAD">
4: SELECT subject_id, name FROM Subject
5: </sql:query>
6:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'"
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.index_jsp._jspService(index_jsp.java:118)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'"
org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276)
org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159)
org.apache.jsp.index_jsp._jspx_meth_sql_005fquery_005f0(index_jsp.java:139)
org.apache.jsp.index_jsp._jspService(index_jsp.java:62)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
Apache Tomcat/6.0.16 I dont understand much from it but I figured it out that this is something to do with database connector
I have done everything as said
I also like to mention that initially I used glassfish as J2EE server but due to some strange reason the server failed to start so I change J2EE server to TOMCAT in the property of project
please help mehi everybody I need help
Same problem;
meta-inf/context.xml
<Context path="/Sutlucay">
<Resource auth="Container" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDataSource"
maxActive="100" maxIdle="30" maxWait="10000"
name="jdbc/Sutlucay"
username="test"
password="sa"
type="javax.sql.DataSource"
url="jdbc:microsoft:sqlserver://127.0.0.1:1433;databaseName=sutlucay"
/>
</Context>web.xml
<resource-ref>
<description>Database for Sutlucay application</description>
<res-ref-name>jdbc/Sutlucay</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>index.jsp
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<sql:query var="Sutlucay" dataSource="jdbc/Sutlucay">
SELECT * from tbLog
</sql:query>Tomcat process
Checking data source definitions for missing JDBC drivers...
Deploying JDBC driver to C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\lib\msbase.jar
Deploying JDBC driver to C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\lib\mssqlserver.jar
Deploying JDBC driver to C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\lib\msutil.jar
Stopping Tomcat process...
Waiting for Tomcat...
Tomcat server stopped.
Starting Tomcat process...Tomcat Log
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDataSource'"Tomcat 6.x
Windows xp
Netbeans 6.x
MS SQL 2000
Thanks
Cem -
ATG CIM: Not able to connect to database jdbc:oracle:thin
Hi All,
I am trying to setup a ATG environment on windows boxes. Below is the setup:
VM1) DC - Windows Domain Controller (Windows Server 2008)
VM2) javadb - Oracle 11g (Windows Server 2008)
VM3) javaweb - ATG 10.0.3 / WebLogic wlserver_10.3/ TomCat 7 (Windows Server 2008)
Installation / Setup Progress
* Oracle 11g installation successful. Sample DB successfully created.
* WebLogic installation successful. Base_Domain successfully created.
* Able to create successful connection to Oracle (javadb vm) from TomCat (javaweb vm) and query data
Error: When configuring CIM I keep on getting >> "Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @ scott"+_
Corrective action already taken:
1) Disabled firewall on all boxes
2) Added path of JDBC driver (ojdbc6.jar) in Environment Variables
3) Tested Oracle 11g (javadb vm) connectivity both from Eclipse and Tomcat. Which is successful
4) Cleared all files under C:\ATG\ATG10.0.3\CIM\data to reset CIM
Please refer CIM details below:
===========================================
CIM DISPLAY START
===========================================
-------ENTER CONNECTION DETAILS-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
Select Database Type
*[1] Oracle Thin
[2] MS SQL
[3] iNet MS SQL
[4] DB2
[5] My SQL
Select one > 1
Enter User Name [[system]] > scott
Enter Password [[**********]] > **********
Re-enter Password > **********
Enter Host Name [[javadb]] > javadb
Enter Port Number [[1521]] > 1521
Enter Database Name [[sampledb]] > SampleDB
Enter Database URL [[jdbc:oracle:thin:@javadb:1521:SampleDB]]
>
Enter Driver Path [[C:/Oracle/Middleware/wlserver_10.3/server/lib/ojdbc6.jar]]
Enter JNDI Name [[ATGProductionDS]] >
-------CONFIGURE DATASOURCE PRODUCTION CORE-----------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
[C] Connection Details - Done
*[T] Test Connection
[S] Create Schema
Import Initial Data
[D] Drop Schema
[O] Configure Another Datasource
> T
-------TEST DATASOURCE CONNECTION---------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
>> Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @ scott
===========================================
CIM DISPLAY END
===========================================
===========================================
CIM LOG START
===========================================
**** Warning Mon Jul 23 22:46:25 IST 2012 1343063785645 atg.cim.worker.status.StatusUpdateValidator Status id nonswitchingCore-DatasourceConnectionTemplateStep is unknown.
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB : -1 java.lang.ArrayIndexOutOfBoundsException: -1
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:948)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.java:225)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:358)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at java.sql.DriverManager.getConnection(DriverManager.java:582)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at java.sql.DriverManager.getConnection(DriverManager.java:185)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.BasicDataSource.getDriverManagerConnection(BasicDataSource.java:526)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.BasicDataSource.getDriverManagerConnection(BasicDataSource.java:588)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.BasicDataSource.getConnection(BasicDataSource.java:475)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.FakeXADataSource.getXAConnection(FakeXADataSource.java:671)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.MonitoredDataSource.createResource(MonitoredDataSource.java:837)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.resourcepool.ResourcePool.populateSlot(ResourcePool.java:2064)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.resourcepool.ResourcePool.checkOut(ResourcePool.java:1332)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.MonitoredDataSource.co(MonitoredDataSource.java:1792)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.service.jdbc.MonitoredDataSource.getConnection(MonitoredDataSource.java:1070)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.worker.databaseconfig.TestJdbcConnectionValidator.performTestConnection(TestJdbcConnectionValidator.java:319)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.worker.databaseconfig.TestJdbcConnectionValidator.validate(TestJdbcConnectionValidator.java:266)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.executeValidations(StepExecutor.java:280)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.ui.text.TextDisplay.processStep(TextDisplay.java:338)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.ui.UIDispatchImpl.processStep(UIDispatchImpl.java:89)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:201)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchTemplate.execute(LaunchTemplate.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:129)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchTemplate.execute(LaunchTemplate.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:129)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchTemplate.execute(LaunchTemplate.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:129)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.types.LaunchWizard.execute(LaunchWizard.java:73)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.execute(CommandExecutor.java:128)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.command.CommandExecutor.executeCommands(CommandExecutor.java:156)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processStep(StepExecutor.java:216)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.step.StepExecutor.processCurrentStep(StepExecutor.java:80)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.runner.Runner.run(Runner.java:152)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.flow.CimFlow.startupFlow(CimFlow.java:69)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.flow.CimFlowCreator.startDefaultCimFlow(CimFlowCreator.java:78)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.Launcher.startCimFlow(Launcher.java:168)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator at atg.cim.Launcher.main(Launcher.java:68)
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792213 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator
**** Error Mon Jul 23 22:46:32 IST 2012 1343063792218 atg.cim.worker.databaseconfig.TestJdbcConnectionValidator Error initializing connection from parameters. Test for jdbc connection failed
===========================================
CIM LOG END
===========================================
Any suggestion how to resolve this issue. Thanks in advance.
cheers,
Sandeep
Edited by: 948180 on Jul 23, 2012 11:29 PMHi,
Earlier my ojdbc6.jar path was not at the beginning of ClassPath. I have made necessary changes. Please refer below:
Environment Variables Settings on machine where CIM resides:
PATH = C:\Oracle\Middleware\wlserver_10.3\server\lib\ojdbc6.jar+;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jre7\bin;C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Program Files\cvsnt;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\Sun\JavaDB\bin;C:\Program Files\Sun\JavaDB\lib;;C:\ATG\ATG10.0.3\MySQL\win32\bin;C:\ATG\ATG10.0.3\home\bin\;C:\Oracle\Middleware\wlserver_10.3\server\lib\;
Note: I have verified by ojdbc6.jar path.
Below are the precise steps I executed after updating my environment variables and restarting CMD.
===========================================
CIM DISPLAY START
===========================================
C:\ATG\ATG10.0.3\home\bin>cim.bat
Nucleus running
_ | () |
__ _ | |_ __ _ ----
/ _` | | __| / _` |
| (_| | | |_ | (_| |
\__,_| \__| \__, |
|___/
Configuration Installation Manager
=======CIM MAIN MENU============================================================
enter [h]elp, [q]uit to exit
Choose the task you want to perform:
*[1] Database Configuration
[2] Server Instance Configuration
[3] Application Assembly & Deployment
[P] Product Selection - Done (ATG B2C Commerce)
[A] Select Application Server - Done (Weblogic Online)
[C] Custom CIM Plugin Launcher
> 1
-------CALCULATE DATASOURCE DEPENDENCIES----------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Calculating Datasource Dependencies. View log file at C:/ATG/ATG10.0.3/home/
../CIM/log/cim.log
|. . |
|. . |
-------SELECT A DATASOURCE TO CONFIGURE-----------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
*[P] Publishing
[C] Production Core
[D] Done
> c
-------CONFIGURE DATASOURCE PRODUCTION CORE-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
[C] Connection Details - Done
*[T] Test Connection
[S] Create Schema
Import Initial Data
[D] Drop Schema
[O] Configure Another Datasource
> t
-------TEST DATASOURCE CONNECTION-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
>> Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @
scott
*[E] Edit Connection Details
[R] Redo
[D] Done
> e
-------RE-USE VALUES FROM PREVIOUS DATASOURCE-----------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
Base on previous database details:
[1] system@jdbc:oracle:thin:@javadb:1521:sampledb
[2] scott@jdbc:oracle:thin:@javadb:1521:SampleDB
*[3] None/Use Existing
Select one > 2
-------ENTER CONNECTION DETAILS-------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
Select Database Type
*[1] Oracle Thin
[2] MS SQL
[3] iNet MS SQL
[4] DB2
[5] My SQL
Select one > 1
Enter User Name [[scott]] > scott
Enter Password [[**********]] > **********
Re-enter Password > **********
Enter Host Name [[javadb]] > javadb
Enter Port Number [[1521]] > 1521
Enter Database Name [[SampleDB]] > SampleDB
Enter Database URL [[jdbc:oracle:thin:@javadb:1521:SampleDB]]
> jdbc:oracle:thin:@javadb:1521:SampleDB
Enter Driver Path [[C:/Oracle/Middleware/wlserver_10.3/server/lib/ojdbc6.jar]
] > C:\Oracle\Middleware\wlserver_10.3\server\lib\ojdbc6.jar
Enter JNDI Name [[ATGProductionDS]] > ATGProductionDS
-------CONFIGURE DATASOURCE PRODUCTION CORE-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
[C] Connection Details - Done
*[T] Test Connection
[S] Create Schema
[I] Import Initial Data
[D] Drop Schema
[O] Configure Another Datasource
> T
-------TEST DATASOURCE CONNECTION-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit
Production Core
>> Not able to connect to database jdbc:oracle:thin:@javadb:1521:SampleDB @
scott
*[E] Edit Connection Details
[R] Redo
[D] Done
>
===========================================
CIM DISPLAY END
===========================================
Don't understand what could possibly be going wrong.
Cheers,
Sandeep
Edited by: 948180 on Jul 24, 2012 12:23 AM -
How to use JDBC Connection Pools in a standalone application?
Hi, there,
I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
any hint will be great apprieciated!
SamTo my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.
-
Jdbc connectivity with mysql database
I created a database in mysql, but I have problems communicating with the DB in java
here is the error
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/books
at java.sql.DriverManager.getConnection(DriverManager.java:604)
at java.sql.DriverManager.getConnection(DriverManager.java:221)
at displayauthors.DisplayAuthors.main(DisplayAuthors.java:30)
java.lang.NullPointerException
at displayauthors.DisplayAuthors.main(DisplayAuthors.java:66)
BUILD SUCCESSFUL (total time: 1 second)
I edited the system variables in windowds
CLASSPATH
.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
CLASSPATH1 (notice the 1 at the end, I don't want to override the previous one
.,C:\Program Files (x86)\MySQL\Connector J 5.1.30\mysql-connector-java-5.1.30-bin.jar
The Hostname: localhost Port: 3306
Username: root
password: Tpswsd77? (changed for thios post)
Stored Connection: Local instance MySQL56
connection Method: Standard(TCP/IP)
HERE IS THE CODE
public class DisplayAuthors {
// database URL
static final String DATABASE_URL = "jdbc:mysql://localhost:3306/books";
// launch the application
public static void main( String args[] )
Connection connection = null; // manages connection
Statement statement = null; // query statement
ResultSet resultSet = null; // manages results
// connect to database books and query database
try
// establish connection to database
connection = DriverManager.getConnection(
// DATABASE_URL, "deitel", "deitel" );
//<editor-fold defaultstate="collapsed" desc="comment">
DATABASE_URL, "root", "Tpswsd77?" );
//</editor-fold>
// create Statement for querying database
statement = connection.createStatement();
// query database
resultSet = statement.executeQuery(
"SELECT authorID, firstName, lastName FROM authors" );
// process query results
ResultSetMetaData metaData = resultSet.getMetaData();
int numberOfColumns = metaData.getColumnCount();
System.out.println( "Authors Table of Books Database:\n" );
for ( int i = 1; i <= numberOfColumns; i++ )
System.out.printf( "%-8s\t", metaData.getColumnName( i ) );
System.out.println();
while ( resultSet.next() )
for ( int i = 1; i <= numberOfColumns; i++ )
System.out.printf( "%-8s\t", resultSet.getObject( i ) );
System.out.println();
} // end while
} // end try
catch ( SQLException sqlException )
sqlException.printStackTrace();
} // end catch
finally // ensure resultSet, statement and connection are closed
try
resultSet.close();
statement.close();
connection.close();
} // end try
catch ( Exception exception )
exception.printStackTrace();
} // end catch
} // end finally
} // end main
} // end class DisplayAuthorsI edited the system variables in windowds
CLASSPATH
.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
CLASSPATH1 (notice the 1 at the end, I don't want to override the previous one
.,C:\Program Files (x86)\MySQL\Connector J 5.1.30\mysql-connector-java-5.1.30-bin.jar
A few facts:
1. You NEED to have the JDBC driver jar on the Java classpath
2. You don't NEED to have the jar on the Windows classpath
3. You don't NEED to 'override' the Windows classpath - you can just append the JDBC jar to it
Just use #3 above - edit the Windows CLASSPATH environment variable and add the JDBC jar to it. At it at the start and follow it with a semicolon. Or at it at the end AFTER adding a semicolon.
Or specify the CLASSPATH on the command line when you launch Java. Use the '-cp' or '-classpath <class . . >' options. Just type 'java' at the command line to see the list of parameters that can be used. -
JBO-3003 Application pool, Error JDBC connection
Hi, I'm trying to run a simple webapp but get this error:
JBO-30003: The application pool (model.RoomReservationsAppModuleLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
Anyone know what to do?
Regards ,
Ketil
IHi Erik,
The solution of having the two root ApplicationModules share a single JDBC connection violates some assumptions of the BC4J architecture and could result in some strange race conditions in JDBC.
We should focus your solution on how the panels are released. It ought to be possible to release the BindingContainer for the panel without releasing the underlying DataControl. With this solution you would only require one root ApplicationModule and one JDBC connection.
How are you releasing the ADF and BC4J references when you close the panel? I would expect you to be invoking release on the DCBindingContainer instance only. If you are already doing this then what is causing the commit/rollback?
Hope this helps,
JR -
Installation of CM fails(par files deployed but connection to database fail
Hi,
I have just installed CM EP6 SP2 on an old sandbox system (which has been upgrade from SP0 I believe), and I have some problems. The installation went fine untill I got the error message "CJS-00276 The upgrade failed. The installation report file cf_installation.report does not exist. Check the log files under the server directory and, if necessary, contact your local support center." But I, at least now, find the file but this is probably from my installation of CM SP2 Patch4 and CM SP2 Patch4 hf8 (I was hoping the installation of them would clear the problem).
I believe the problem is that there are missing some files under the SAPPRT share (
server\SAPPRT\EPS1\global\config\cm), this because it was giving some error messages earlier about it. I was running the portal under localsystem user, which hasn't got the possiblity to have access to share's. (I would get an exception about access denied from the file system when starting it up, but after changing the user I don't).
Under
server\SAPPRT\EPS1\global\config\cm the portal has created the following folders:
Backups
config
etc
reports
<b>Are there any one missing ?</b>
(to resolve the problem I tried create the following folders, but still the same problem:
system/updateQueue/events
system/command
system/deployment/archives
system/deployment/upgrades
utilities/connection_pools/db_type/default)
The property files in \usr\sap\EPS1\j2ee\j2ee_01\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\system\cm
look correct, and also the file under portalapps/com.sap.portal.km.application (or something).
When I went into KM configuration in the portal, I noticed there were no JDBC connection pools, and I therefore created two as described in http://help.sap.com/saphelp_ep60sp2/helpdata/en/eb/d10ef2b6a311d5993900508b6b8b11/content.htm
But that is something which the installer should have done for me. (and still the connection pools won't start)
The main error message I get at startup is the following:
Jun 28, 2005 4:45:17 PM com.sapportals.config.queue.UpdateQueueService [System_Thread_12] Warning": There was a problem initializing the queue service for config manager : configuration plugin for queue service not found (/system/updateQueue/events)
java.lang.RuntimeException: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.initConfig(JDBCConnectionPoolManager.java:566)
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.getInstance(JDBCConnectionPoolManager.java:99)
at com.sap.workflow.util.config.WorkflowProperties.initProperties(WorkflowProperties.java:188)
at com.sap.workflow.util.config.WorkflowProperties.<init>(WorkflowProperties.java:48)
at com.sap.workflow.util.config.WorkflowProperties.getInstance(WorkflowProperties.java:56)
at com.sap.workflow.es.portal.WFPortalService.init(WFPortalService.java:74)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:678)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:519)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:875)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
java.lang.NullPointerException
at javax.naming.NameImpl.<init>(NameImpl.java:250)
at javax.naming.CompositeName.<init>(CompositeName.java:223)
at com.inqmy.services.jndi.implclient.OffsetClientContext.parse(OffsetClientContext.java:129)
at com.inqmy.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:200)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at com.sap.workflow.util.ejbfactory.EJBFactory.getUserTransaction(EJBFactory.java:282)
at com.sap.workflow.es.portal.WFPortalService.init(WFPortalService.java:83)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstance(PortalServiceItem.java:678)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:519)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:875)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
And if I go to content administration->KM content I get the following stack trace:
java.lang.RuntimeException: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.initConfig(JDBCConnectionPoolManager.java:566)
at com.sapportals.wcm.util.jdbc.connectionpool.JDBCConnectionPoolManager.getInstance(JDBCConnectionPoolManager.java:99)
at com.sapportals.wcm.repository.runtime.CmSystemInfo.createDBConnection(CmSystemInfo.java:221)
at com.sapportals.wcm.repository.runtime.CmSystemInfo.checkDB(CmSystemInfo.java:138)
at com.sapportals.wcm.repository.runtime.CmSystem.startUp(CmSystem.java:226)
at com.sapportals.wcm.repository.runtime.CmSystem.getInstance(CmSystem.java:161)
at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:81)
at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:260)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:736)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:909)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
com.sapportals.wcm.repository.ResourceException: CM Startup failed: CM startup failed: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:401)
at java.lang.Throwable.(Throwable.java:85)
at java.lang.Exception.(Exception.java:33)
at com.sapportals.wcm.WcmException.(WcmException.java:78)
at com.sapportals.wcm.WcmException.(WcmException.java:74)
at com.sapportals.wcm.util.content.ContentException.(ContentException.java:42)
at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:251)
at com.sapportals.wcm.repository.runtime.CmAdapter.makeStartupResourceException(CmAdapter.java:397)
at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:84)
at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit(KMServiceImpl.java:260)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:736)
at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:909)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1470)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1426)
at com.sapportals.portal.prt.core.broker.PortalAppBroker.startNonCoreApplications(PortalAppBroker.java:1383)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:371)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:55)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:3284)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(ServletContextFacade.java:2542)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.createContext(ServletsAndJspImpl.java:765)
at com.inqmy.services.servlets_jsp.server.WebApplicationStarter.run(WebApplicationStarter.java:57)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
javax.servlet.ServletException: CM Startup failed: CM startup failed: Failed to init. connection pool configuration: Failed to init. connection pool configuration: missing configurable /cm/utilities/connection_pools/db_type/default
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:111)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:209)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
I appreciate any help !
PS sorry for the unstructured post, but I am hungry and want to go home now.The files under the SAPPRT share had somehow failed (some where there, but a lot of the important ones where missing).
I found out that these files were in .configarchive files in the par files to be deployed, and manually unpacked them using these two commands
$ for file in `ls -1 .par` ; do unzip $file ".configarchive" -d extracted >> logfile.txt ; done
$ for file in `ls -1 *.configarchive` ; do unzip -o $file -d extracted >> logfile.txt ; done
Afterwards I had to make some tiny customization (search for %[a-zA-Z]% , especially for the connection pools.
Then a restart, and most of it seems to work (the system will not live much longer so that is acceptable) -
After a successful install, I am missing files and directories per this document:
Oracle® Database JDBC Developer's Guide and Reference
10g Release 2 (10.2)
I am trying to run a JDBC connection test to the 10g Rel 2 database per these instructions, and the verification of the installed directories fails. There is no /demo directory in ORACLE_HOME/jdbc, nor are there any jar files in the /lib directory except the ojdbc14 and ojdbc_14g ones. There is no /doc directory. There is no readme.txt. There is only ORACLE_HOME/jdbc/lib containing the ojdbc14 jar files (no classes12.jar or orai18n.jar).
Basically, almost the entire verification as outlined in 2.2.1 at this page
http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14355/getsta.htm#i1005373
fails.
Shouldn't all these files and directories have been installed?
Any help appreciated.As David says, the version of Oracle you have installed has a reduced feature set. The entire Java subsystem has been left out to provide a lighter footprint.
Please refer to the thread titled Strawman Feature Factoring List - Feedback requested (Strawman Feature Factoring List - Feedback requested to get a list of features currently in, and a discussion around possible changes. -
BC4J: Getting a JDBC Connection out of an Application Module.
Hi all! Good Morning!
I have an application that uses JasperReports to print some reports. The filling mechanism of JasperReports requires a JDBC Connection object to work. At present, i am using the ConnectionMetadata Object from the AM to get the JDBC URL and user name to create a new Connection with DriverManager.getConnection(), but there is no way to get the DB password. Is there any way to get the underlying JDBC Connection inside a method in the ApplicationModule? something like this.getJDBCConnection()? If so, does this method draws the connection from the AM Connection Pool, or is it a "stranded" connection?
Thanks a lot! Your help is greatly appreciated!
Thiago SouzaAlso see section 25.6 "Accessing the Current Database Transaction" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center.
http://www.oracle.com/technology/products/adf/learnadf.html -
Connection with Advanced - custom JDBC URL fails with some valid JDBC-URLs
Hi,
I am trying to create a connection with a custom JDBC connection string, but SQL*Developer throws the error message:
Status : Failure -Test failed: Required property 'hostname' is not set on the DatabaseProvider my tests are:
<li> with connection via Connection Type set to TNS and a proper alias - it works fine
<li> with connection via Connection Type set to Advanced and exactly the same values from tns in the url: jdbc:oracle:thin:@(DESCRIPTION=(enable=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=172.24.32.113)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=RESTSVP_SITE1))) - it fails with Status : Failure -Test failed: Required property 'hostname' is not set on the DatabaseProvider<li> with JDBC URL set to jdbc:oracle:thin:@172.24.32.113:1521/RESTSVP_SITE1 - it works fine
As my jdbc url is quite close to the example in [url http://docs.oracle.com/cd/E11882_01/java.112/e16548/apxtblsh.htm#CHDBBDDA]Using JDBC with Firewalls maybe someone can help me to fix it?
Martin
Edited by: berx on Oct 12, 2012 11:32 AM - fixed typosHi Martin,
1/oci/thick
2/RAC options
3/TNS connection
1/oci/thick
OCI driver has a slightly different set of features than thin:
-try oci/thick (requires Oracle Client, server or instant client) (It requires SQLDeveloper java and .dll, .so libraries to match)Re: SQL developer 3.1 shows error Incompatible version of libocijdbc
jdbc:oracle:oci:@(DESCRIPTION=(enable=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=your_host_name)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=your_service_name)))
2/RAC options
More speculatively:
-Try sid instead of service name (will disable some networking features on that connection), try switching load balancing off.
From: Unable to access RAC from SQL Developer!
In general and especially for RAC database you should use SERVICE_NAME to connect and not SID (because only SERVICE_NAME can use load balancing and failover features):
3/TNS connection
with connection via Connection Type set to TNS and a proper alias - it works fine(Which Connection Type TNS did you use? TNS Connect Identifier = oci/thick, TNS Network alias (can be thin (I should check, might depend on oci/thick checkbox))
Is this issue stopping your work i.e. is this workaround unacceptable?
-Turloch
SQLDeveloper team -
Failed to load database information in Crystal 2011 using DB2 connection
Hello,
we have a Problem using Crystal Reports 2011 on SAP SBOP 4.0 SP2 Patch 10.
BI 4.0 Server is running on AIX. The Datasource is an DB2 database a connect from the OS is possible.
The x32 libarys of the DB2 client are availabe because the crystal 2011 reports server is running with 32 bit environment.
While opening / executing the crystal 2011 report the following error occur: "failed to load database information".
I've made a trace of crystal 2011 server with crlog. I found the following:
2012-1-27-7-17-33 9371804 searchpath.cpp 379 Failed to load libcrdb_db2cli.so 1
2012-1-27-7-17-33 9371804 qecommon.cpp 117 This value is write-only. File Name: "QEProperty.cpp". Line: 145
2012-1-31-13-8-23 9371804 QESession.cpp 445 Set Product View Locale: 1033 20
2012-1-31-13-8-23 9371804 QESession.cpp 479 Set Preferred View Locale: 1033 20
2012-1-31-13-8-23 9371804 QESession.cpp 501 Set Process Locale: 1033 20
2012-1-31-13-8-23 9371804 qecommon.cpp 117 This property is currently in a read-only state and cannot be modified. File Name: "QEProperty.cpp".
An ldd on the operating system says all libarys are availabe:
bash-3.2$ ldd /usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/libcrdb_db2cli.so
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/libcrdb_db2cli.so needs:
/usr/lib/libC.a(shr2.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libetc.so
/usr/lib/libC.a(ansi_32.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libBCM.so
/usr/lib/libC.a(shr.o)
/usr/lib/libC.a(shr3.o)
/usr/lib/libc_r.a(shr.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libcxlibw.so
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libOCAhelperw.so
/home/boeadm/sqllib/lib32/libdb2.a(shr.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libsatlw.so
/usr/lib/libC.a(shrcore.o)
/usr/lib/libC.a(ansicore_32.o)
/usr/lib/libpthread.a(shr_comm.o)
/usr/lib/libpthread.a(shr_xpg5.o)
/usr/lib/libC_r.a(ansi_32.o)
/usr/lib/librtl.a(shr.o)
/usr/lib/libc.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libTraceLog.so
/usr/lib/libiconv.a(shr4.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicuuc.so
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicui18n.so
/usr/lib/libdl.a(shr.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libboez.so
/usr/lib/libpthreads.a(shr_comm.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libebus.so
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libfssl.so
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/liblocale_fallback.so
/home/boeadm/sqllib/lib32/libdb2osse.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2locale.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2g11n.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2osse_db2.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2genreg.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2install.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2trcapi.a(shr.o)
/home/boeadm/sqllib/lib32/libdb2dascmn.a(shr.o)
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicudata30.so
/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/libicuuc30.so
bash-3.2$
Does somebody have an idea where to search to get a solution for this error?
PS: With Crystal for Enterprise 4.0 everything works fine, but the Crystal for Enterprise 4.0 services are running with 64 bit.Hello All,
the Problem has been found by SAP. The Business Objects Server is searching for an env variable called LIBPATH32.
By default this has not been set to the DB2 x32 Libary path by AIX or SBOP setup.
We solved the issue by adding the following (LIBPATH32) into the file .profile
The following three lines have been added by IBM DB2 instance utilities.
if [ -f /home/boeadm/sqllib/db2profile ]; then
. /home/boeadm/sqllib/db2profile
LIBPATH32=/home/boeadm/sqllib/lib32:$LIBPATH32; export LIBPATH32
fi
After doing:
bash-3.2$ cd /usr/sbop/sap_bobj/
bash-3.2$ . setup/env.sh
The path has been set correctly to the x32 libarys:
LIBPATH32=/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw/:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/ras:/home/boeadm/sqllib/lib32::/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw//lib-aix4:/usr/sbop/sap_bobj/enterprise_xi40/aix_rs6000/crpe/mw//lib-aix4_optimized
Kind regards
Marc Reiter
Maybe you are looking for
-
Moving to Uk and Need help with Voltage Issue
Hi I recently (less then a month) bought a new Intel based iMac (17/1.83/512/160/COMBO/AP-USA) with built in iSight, and now I am moving to UK for a year. I want to take my iMac with me. Can someone help me with true answer on how to solve the voltag
-
Authorization for GoTo Context Menu Item in BI 7.0
Friends, I am looking for the authorization object that controls whether or not a user can see the 'GoTo' option in the context menu on a query cell. I have a need to have it on for some users and off for others. Thanks in advance. I will award poi
-
Switching from mac to pc and syncing iphone
I am preparing to move from a macbook pro to a pc laptop. I have a first generation iphone that is synced over the air with exchange for calendars, email, and contacts. I currently sync with my mac for music through itunes. I plan to install itunes o
-
Unable to download trial version of Advanced Block...
The apps 'Advanced Blocker' was found in Ovi Store. The button 'Send to cell' was pressed. I need to pay before download. After installed, it conflicted with antivirus program F-Secure in my Nokia E7. They both could not run at the same time. While F
-
Cannot initialize interface transport
I installed nifbus 3.0 and setup the interface card to connect through controlnet to an allenbradley linking device. I can see everything in RSLinx on the segment but when I try and rub the configurator softwater if returns a fatal error " NIFbus can