Error saving Data Source Properties. - Base Exception. Call Oracle Support
Hi,
Oracle Application Server 10g Release 2 (10.1.2).
I tried to create new Datasource using OEM Console but it throws error as following :
Error saving Data Source Properties. - Base Exception: The Entity et="system";ei="0",et="application";ei="138",et="data-sources";ei="146":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; already exists in the repository. Resolution: If possible, remove et="system";ei="0",et="application";ei="138",et="data-sources";ei="146":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; . Call Oracle Support.
May I know how to resolve this please ?
Thank you.
J.
Hi ,
Write following code in your UDF
String Query = " ";
Channel channel = null;
DataBaseAccessor accessor = null;
DataBaseResult resultSet = null;
Query = <your query>;
try{
channel =LookupService.getChannel(<comm channel name>,< business system>);
accessor = LookupService.getDataBaseAccessor(channel);
resultSet = accessor.execute(Query);
if(!(resultSet.equals(null)))
Iterator rows = resultSet.getRows();
if (rows.hasNext()) {
Map rowMap = (Map)rows.next();
<your variable>.add(rowMap.get(<db field name>)+ "");
catch(Exception ex)
result.addValue(ex.getMessage());
finally
try
if (accessor!=null) accessor.close();
catch(Exception e)
result.addValue(e.getMessage());
Thanks ,
Suvarna
Pls award pts if it helps .
Similar Messages
-
Missing Connection Types in Report Data Source Properties
I am running three installations of SharePoint 2013 with SQL 2012 for Business Intelligence, with Kerberos working.
I have been having intermittent issues with SQL Reporting Services in a multi-server configuration, but finally had it working in all three environments. We discovered many of our issues were caused by master page customizations which we have now disabled
temporarily while we work on function issues.
However, we started having a new problem with Reporting Services on just ONE of the environments, and we are not sure what happened. Most everything appears to still be working, except Reporting Services. I have verified that features are enabled
in both the farm and the site collection, as well as insured managed content types are being allowed on the target document libraries. I also verified the Reporting Service properties and database connections. However, I have found two clear symptoms
which I can find no other information regarding (in logs or in online searches):
1) If we try to create a new "Report Data Source" using the SharePoint UI, it will open a new Data Source Properties window, but in the "Data Source Type" field, there are no values available for me to select my connection type (e.g.,
Microsoft SQL Server).
2) In Central Administration, while administering the Reporting Services Service Application, I can manage a majority of the settings, including System Settings, Manage Jobs, Key Management, etc. However, if I click on the link for "E-mail Settings,"
I get the dreaded "Sorry Something went wrong screen," with an error saying that "Object reference is not set to an instance of an object."
So I am hoping someone has an idea of where I can look for additional information on this issue, or even better, knows what I am missing to get Reporting Services functional again in this environment!
Thanks in advance for any help provided.
ElohirHowever, we started having a new problem with Reporting Services on just ONE of the environments, and we are not sure what happened.
Hi Elohir,
I assume you are installing Reporting Services SharePoint mode for SharePoint 2013, you need to:
1. Install "Reporting Services – SharePoint" and "Reporting Services add-in for SharePoint Products" on the SharePoint server that the SSRS service will run on. All other SP servers only need the "Reporting Services
add-in for SharePoint Products."
2. Run the Insall-SPRSService and Install-SPRSServiceProxy on Central Admin and SSRS server.
3. Start SSRS Service only on desired SSRS servers.
http://msdn.microsoft.com/en-us/library/jj219068.aspx
Since the issue occurs only to one of the environments, please provide more information about your multi-server configuration, and point out the server where the issue occurs.
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
Error with data source creation
Error during Data Source creation: weblogic.common.ResourceException: DataSource
(jdbc.GangsterDB) can't be created with non-existent Pool (connection or multi)
(oraclePool)
I have already created oraclePool with the following properties:
Name : oraclePool
URL : jdbc:weblogic:oracle
Driver: weblogic.jdbc.oci.Driver
Properties:
user=system
server=myserver
In weblogic-ejb-jar.xml file:
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/GangsterDataSource</res-ref-name>
<jndi-name>jdbc.GangsterDB</jndi-name>
</resource-description>
</reference-descriptor>
In ejb-jar.xml file:
<resource-ref>
<res-ref-name>jdbc/GangsterDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Do I need to make changes in my Entity Bean files? I have made a datasource called
GangsterDB. I do not know the reason for this error. Please do let me know.
Error during Data Source creation: weblogic.common.ResourceException: DataSource
(jdbc.GangsterDB) can't be created with non-existent Pool (connection or multi)
(oraclePool)
Thank you
Ronak ParekhI am still getting the same error:
Unable to deploy EJB: OrganizationEJB from sempire_bc.jar
The DataSource with the JNDI name: OrganizationDB can not be located. Please ensure
that the DataSource has been deployed
successfully and that the JNDI name in your EJB Deployment descriptor is correct.
In my console, I have created a connection pool 'oraclePool' and 3 datasource
'jdbc.GangsterDB', 'jdbc.OrganizationDB' and
'jdbc.JobDB'. I have also specified the target server and there seems to be no
error. I have checked 'Monitor All Connection
Pools' and oraclePool is running. I still do not understand the problem that I
am getting and have no clue how to solve it.
Thank you
Ronak Parekh
My weblogic-ejb-jar.xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>GangsterEJB</ejb-name>
<entity-descriptor>
<persistence>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
</persistence-use>
</persistence>
</entity-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<jndi-name>jdbc.GangsterDB</jndi-name>
</resource-description>
</reference-descriptor>
<local-jndi-name>jdbc.GangsterDB</local-jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>OrganizationEJB</ejb-name>
<entity-descriptor>
<persistence>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
</persistence-use>
</persistence>
</entity-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<jndi-name>jdbc.OrganizationDB</jndi-name>
</resource-description>
</reference-descriptor>
<local-jndi-name>jdbc.OrganizationDB</local-jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>JobEJB</ejb-name>
<entity-descriptor>
<persistence>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
</persistence-use>
</persistence>
</entity-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<jndi-name>jdbc.JobDB</jndi-name>
</resource-description>
</reference-descriptor>
<local-jndi-name>jdbc.JobDB</local-jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
My ejb-jar.xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<display-name>Business Component CMP 2.0</display-name>
<enterprise-beans>
<entity>
<display-name>Gangster Entity Bean</display-name>
<ejb-name>GangsterEJB</ejb-name>
<local-home>com.sempire.builder.business_component.GangsterHome</local-home>
<local>com.sempire.builder.business_component.Gangster</local>
<ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>GangsterEJB</abstract-schema-name>
<cmp-field><field-name>iD</field-name></cmp-field>
<cmp-field><field-name>name</field-name></cmp-field>
<cmp-field><field-name>nickname</field-name></cmp-field>
<cmp-field><field-name>badness</field-name></cmp-field>
<primkey-field>iD</primkey-field>
<resource-ref>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>
<![CDATA[SELECT OBJECT(a) FROM GangsterEJB AS a]]>
</ejb-ql>
</query>
</entity>
<entity>
<display-name>Organization Entity Bean</display-name>
<ejb-name>OrganizationEJB</ejb-name>
<local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
<local>com.sempire.builder.business_component.Organization</local>
<ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>OrganizationEJB</abstract-schema-name>
<cmp-field><field-name>iD</field-name></cmp-field>
<cmp-field><field-name>name</field-name></cmp-field>
<cmp-field><field-name>description</field-name></cmp-field>
<primkey-field>iD</primkey-field>
<resource-ref>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>
<![CDATA[SELECT OBJECT(a) FROM OrganizationEJB AS a]]>
</ejb-ql>
</query>
</entity>
<entity>
<display-name>Job Entity Bean</display-name>
<ejb-name>JobEJB</ejb-name>
<local-home>com.sempire.builder.business_component.JobHome</local-home>
<local>com.sempire.builder.business_component.Job</local>
<ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>JobEJB</abstract-schema-name>
<cmp-field><field-name>iD</field-name></cmp-field>
<cmp-field><field-name>name</field-name></cmp-field>
<cmp-field><field-name>score</field-name></cmp-field>
<cmp-field><field-name>setupCost</field-name></cmp-field>
<primkey-field>iD</primkey-field>
<resource-ref>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>
<![CDATA[SELECT OBJECT(a) FROM JobEJB AS a]]>
</ejb-ql>
</query>
</entity>
</enterprise-beans>
<relationships>
<ejb-relation>
<ejb-relation-name>organization-memberGangsters</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>OrganizationEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>memberGangsters</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete/>
<relationship-role-source>
<ejb-name>GangsterEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>organization</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<ejb-relation-name>gangsters-jobs</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>GangsterEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>jobs</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>JobEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>gangsters</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<ejb-relation-name>organization-theBoss</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>OrganizationEJB</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>theBoss</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>GangsterEJB</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
</relationships>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>GangsterEJB</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>OrganizationEJB</ejb-name>
<method-name>*</method-name>
</method>
<method>
<ejb-name>JobEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
My weblogic-cmp-rdbms-jar.xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-rdbms-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'>
<weblogic-rdbms-jar>
<weblogic-rdbms-bean>
<ejb-name>GangsterEJB</ejb-name>
<data-source-name>GangsterDB</data-source-name>
<table-name>GANGSTER</table-name>
<field-map>
<cmp-field>iD</cmp-field>
<dbms-column>ID</dbms-column>
</field-map>
<field-map>
<cmp-field>name</cmp-field>
<dbms-column>NAME</dbms-column>
</field-map>
<field-map>
<cmp-field>nickname</cmp-field>
<dbms-column>NICKNAME</dbms-column>
</field-map>
<field-map>
<cmp-field>badness</cmp-field>
<dbms-column>BADNESS</dbms-column>
</field-map>
<weblogic-query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
</weblogic-query>
</weblogic-rdbms-bean>
<weblogic-rdbms-bean>
<ejb-name>OrganizationEJB</ejb-name>
<data-source-name>OrganizationDB</data-source-name>
<table-name>ORGANIZATION</table-name>
<field-map>
<cmp-field>iD</cmp-field>
<dbms-column>ID</dbms-column>
</field-map>
<field-map>
<cmp-field>name</cmp-field>
<dbms-column>NAME</dbms-column>
</field-map>
<field-map>
<cmp-field>description</cmp-field>
<dbms-column>DESCRIPTION</dbms-column>
</field-map>
<weblogic-query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
</weblogic-query>
</weblogic-rdbms-bean>
<weblogic-rdbms-bean>
<ejb-name>JobEJB</ejb-name>
<data-source-name>JobDB</data-source-name>
<table-name>JOB</table-name>
<field-map>
<cmp-field>iD</cmp-field>
<dbms-column>ID</dbms-column>
</field-map>
<field-map>
<cmp-field>name</cmp-field>
<dbms-column>NAME</dbms-column>
</field-map>
<field-map>
<cmp-field>score</cmp-field>
<dbms-column>SCORE</dbms-column>
</field-map>
<field-map>
<cmp-field>setupCost</cmp-field>
<dbms-column>SETUPCOST</dbms-column>
</field-map>
<weblogic-query>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
</weblogic-query>
</weblogic-rdbms-bean>
<weblogic-rdbms-relation>
<relation-name>organization-memberGangsters</relation-name>
<weblogic-relationship-role>
<relationship-role-name>memberGangsters---organization</relationship-role-name>
<column-map>
<foreign-key-column>iD</foreign-key-column>
<key-column>ID</key-column>
</column-map>
</weblogic-relationship-role>
</weblogic-rdbms-relation>
<weblogic-rdbms-relation>
<relation-name>gangsters-jobs</relation-name>
<table-name>JOBS</table-name>
<weblogic-relationship-role>
<relationship-role-name>gangsters---jobs</relationship-role-name>
<column-map>
<foreign-key-column>iD</foreign-key-column>
<key-column>ID</key-column>
</column-map>
</weblogic-relationship-role>
<weblogic-relationship-role>
<relationship-role-name>jobs---gangsters</relationship-role-name>
<column-map>
<foreign-key-column>iD</foreign-key-column>
<key-column>ID</key-column>
</column-map>
</weblogic-relationship-role>
</weblogic-rdbms-relation>
<weblogic-rdbms-relation>
<relation-name>organization-theBoss</relation-name>
<weblogic-relationship-role>
<relationship-role-name>organization---theBoss</relationship-role-name>
<column-map>
<foreign-key-column>iD</foreign-key-column>
<key-column>ID</key-column>
</column-map>
</weblogic-relationship-role>
</weblogic-rdbms-relation>
</weblogic-rdbms-jar> -
"Error parsing data-sources config" when I restart JDeveloper
I am using JDeveloper. Every time I got the same server error - "Error parsing data-sources config" when I restart JDeveloper and even if i use a project it works before JDeveloper is restarted.
Firstly, I import EAR file to the JDev, then I work on my code, everything is fine and compile.
But If I restart the JDeveloper and open the same project again, it has the error Error parsing data-sources config, Exception: The factory-class cannot be empty.
And I need to everything again, import EAR file, get the changes from my previous project. It really slows down my working efficiency.
Do you know what the problem is?
2008-06-24 12:13:46.289 Exception processing legacy data source. Exception: The factory-class cannot be empty.
2008-06-24 12:13:46.289 Exception processing legacy data source. Exception: The factory-class cannot be empty.
2008-06-24 12:13:46.305 Application Deployer for dvt-faces-test-13 FAILED.
2008-06-24 12:13:46.321 WARNING: DeployerRunnable.run java.lang.InstantiationException: Error parsing data-sources config at file:/C:/Documents and Settings/ytang.WALT-DCNT/Application Data/JDeveloper/system11.1.1.0.30.50.26/o.j2ee/embedded-oc4j/application-deployments/dvt-faces-test-13/data-sources.xml: DataSourceConfigException: The factory-class cannot be empty.oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error parsing data-sources config at file:/C:/Documents and Settings/ytang.WALT-DCNT/Application Data/JDeveloper/system11.1.1.0.30.50.26/o.j2ee/embedded-oc4j/application-deployments/dvt-faces-test-13/data-sources.xml: DataSourceConfigException: The factory-class cannot be empty.
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
2008-06-24 12:13:46.321 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
2008-06-24 12:13:46.321 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
2008-06-24 12:13:46.321 at java.lang.Thread.run(Thread.java:619)
2008-06-24 12:13:46.321 Caused by: java.lang.InstantiationException: Error parsing data-sources config at file:/C:/Documents and Settings/ytang.WALT-DCNT/Application Data/JDeveloper/system11.1.1.0.30.50.26/o.j2ee/embedded-oc4j/application-deployments/dvt-faces-test-13/data-sources.xml: DataSourceConfigException: The factory-class cannot be empty.
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseDataSources(EnterpriseArchive.java:1680)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseDataSources(EnterpriseArchive.java:1666)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseDeploymentMainNode(EnterpriseArchive.java:588)
2008-06-24 12:13:46.321 at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:344)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.parseRootNode(EnterpriseArchive.java:2561)
2008-06-24 12:13:46.321 at com.evermind.xml.XMLConfig.init(XMLConfig.java:224)
2008-06-24 12:13:46.321 at com.evermind.server.J2EEComponent.initDeployment(J2EEComponent.java:264)
2008-06-24 12:13:46.321 at com.evermind.server.J2EEComponent.initDeployment(J2EEComponent.java:194)
2008-06-24 12:13:46.321 at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:348)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:468)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:206)
2008-06-24 12:13:46.321 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
2008-06-24 12:13:46.321 ... 5 more
oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.distributeApplicationToTargets(Jsr88RemoteDeployer.java:672)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:1108)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:183)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:435)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1252)
#### Cannot run application dvt-faces-test-13 due to error deploying to DefaultServer.
[Application dvt-faces-test-13 stopped and undeployed from Server Instance DefaultServer]
Thanks a lotBy the way, I am using Windows Platform. For any version of JDeveloper from June I used has the same problem.
-
Incoming Payment Error(-2028) Data source - No data found, pls help me
Dear friend,
Im struggle in Adding Incomming Payment, I got -2028 Error msg,
DATA SOURCE NO DATA FOUND pls help me to solve
Its My code
Public Sub incopay(ByVal oform As SAPbouiCOM.Form)
Dim incom As SAPbobsCOM.Payments
Dim value As Integer
Dim strerror As String
Try
Dim rset As SAPbobsCOM.Recordset
oitem = oform.Items.Item("om")
oedit = oitem.Specific
vfd1 = oedit.String
incom = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
incom.AccountPayments.AccountCode = acc
incom.AccountPayments.AccountName = accn
incom.AccountPayments.Decription = "deposit"
incom.AccountPayments.SumPaid = vfd1
'incom.CardCode = "C1"
'incom.CardName = "Shama Broadcast Contents & Services (P) Ltd."
incom.DocDate = Now
incom.DueDate = Now
incom.TaxDate = Now
incom.DocCurrency = "INR"
incom.Reference2 = 2
incom.JournalRemarks = "Incoming Payments - 161020"
'incom.AccountPayments.Add()
'value = incom.Add
incom.CheckAccount = "102020"
incom.Checks.DueDate = Now
incom.Checks.CountryCode = "IN"
incom.Checks.BankCode = "HDFC"
incom.Checks.Trnsfrable = SAPbobsCOM.BoYesNoEnum.tNO
incom.Checks.CheckSum = 100
incom.Checks.Add()
incom.AccountPayments.Add()
value = incom.Add
Catch ex As Exception
oapp.MessageBox(ex.Message)
End Try
''incom.AccountPayments.Add()
''value = incom.Add()
If value <> 0 Then
ocompany.GetLastError(value, strerror)
MsgBox(value & " " & strerror)
End If
End Sub
Regards,
Hempradeep.SHi Hempradeep,
I haven't tried executing your code, but suggest that you try and solve it with elimination. This means you make your code shorter and shorter until it posts.
So firstly take out the account payment and the check payments and just do a cash payment and see if it posts. If it posts then you gradually add the code you hade previously until it gives you that error again.
That error you got can be because of many reasons. It could be that the cardcode, gl account, currency, etc, etc, etc does not exist. It could be because of any data you specify from another table does not exist or does not relate to this object. Like when you're posting to a customer and you actually specify a supplier (just an example and not your problem).
Start with a very basic incoming payment and work your way up to the code you've got there now.
Good luck,
Adele -
Error saving data structure CE11000 (please read log) message number KX 655
while activating the data structure in the operating concern of CO PA sap gives the following errors.
1.Error saving data structure CE11000 (please read log)
Message no. KX655
2.Error saving table CE01000
Message no. KX593
3.in Log Reference field CE31000-REC_WAERS for CE31000-VVQ10001 has incorrect type.
Pls suggestHey,
Below tables are related to application logs
BAL_AMODAL : Application Log: INDX table for amodal communication
BALC : Application Log: Log or message context
BALDAT : Application Log: Log data
BALHANDLE : Application Log: Lock object dummy table
BALHDR : Application log: log header
BALHDRP : Application log: log parameter
BAL_INDX : Application Log: INDX tables
BALM : Application log: log message
BALMP : Application log: message parameter
BALOBJ : Application log: objects
BALOBJT : Application log: object texts
BALSUB : Application log: sub-objects
BALSUBT : Application log: Sub-object texts
-Kiran
*Please mark useful answers -
Error updating data source from SQL Server ODBC into SQL Native Client 10.0
I am converting Crystal 8.5 reports into Crystal XI release 2. The data source was ODBC using SQL Server 2000 and pointing to a stored procedure. In the new server the data source has to be ODBC again, but it uses the SQL Native Client 10.0 Driver, because the new server is SQL Server 2008. I have copied the same old stored procedure on the new server and it works fine as a data source to a brand new Crystal XI report. But when I am opening an existing 8.5 version crystal report and updating the data source to the new location I get the error message "Some tables could not be replaced, as no match was found in the new data source".
I thought I could tackle this error by creating a temporary data source using the standard ODBC SQL Driver linked to the SQL 2008 Server instead of the SQL Native Client 10 ODBC. So I first updated the crystal data source to link to this temp ODBC using SQL Driver and it worked fine. But after that, when I try to update the data source to link to the SQL Native Client 10 ODBC, I get the same error again.
So I guess that the problem is not the new server itself, but the switch between SQL Server ODBC and SQL Native Client 10 ODBC.
Does anyone know what's going on with this SQL Native Client 10 in updating crystal report data sources?CR XI does not support that driver. Try selecting the Native driver or upgrade to CR XI R2 for free and use SP4, 5 and 6 and then FP 6.4 or upgrade to CR 2008 and SP 3 and Fix Pack 3.3
Thank you
Don -
Dear All,
please help me, now i'm facing some problem when running BEX broadcaster to generate HTML file in BW Portal,
every time i rum BEX Broadcaster for schedule, it will took very long running time (+- 3600 second) with no file HTML generated
when i check to tcode rsrd_log :
Error: com.sap.ip.bi.base.exception.BIBaseRuntimeException
Message no. RSBOLAP014
is any one have any solution for my problem..
Thanks
-LuqmanHi Luqman,
Since issues with Message no.: RSBOLAP are basically JAVA Configuration issues, I would suggest you to run the SAP NetWeaver BI Diagnostics & Support Desk Tool as described in Note 937697 to verify your installation.Please use the Latest version of this NOTE. In the "Advanced mode" of the tool, go to the "Configuration checks" tab and check for potential red traffic lights. To resolve the issues shown there, check the "Remedy" column and follow the instructions given there.
Also do implement all the correction instructions attached to the NOTE.
Also to avoid encountering already known issues within the area of BI Java itself, make sure to deploy the latest patches for SCAs BI-BASE-S and BIWEBAPP.
Also you may refer NOTE 917950 ('SAP NetWeaver 2004s: Setting up BEx Web') .
Hope this info helps you with the issue.
Kind Regards,
Robin. -
Data source properties for the rulefiles.
Could some one explain what is the use of field edits like move/split/join/create of data source properties for the rulefiles.
move/split/join/create are very useful loading data without going back to source file and changing them. For example
you have an entity dimension with member names like
east10569
east10658
if you want to add a prefix for these members to make them unique, you can use those field edits.
the other uses which I saw is concatination to create unique names etc.
hope this helps -
How to define data-sources-alias.xml to use Oracle data source
Hi,
I created Oracle jdbc Data Source named "MYDS" in Visual Admin. I added the alias = MYDS_ALIAS. I set the Initial Connection to 2. On the Monitor tab, I see a green line running across the screen. The datasource MYDS is connected to the Oracle.
Now, I would like to define "data-sources-alias.xml" to use MYDS.
When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
I followed the link --> How to point data-source-aliases.xml to another Datasource
and my data-sources-alias.xml is now:
<data-source-aliases>
<aliases>
<data-source-name>$</data-source-name>
<alias>BRANCH50DS</alias>
</aliases>
</data-source-aliases>
The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
1) How to define data-sources-alias.xml to use Oracle data source?
2) I found the link (SDA Deployment error) talking about "sda-dd.xml". How to create "sda-dd.xml" and make it use substitution variables "MYDS"
Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[003]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
<!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
<!PATTERN[sdmcl20051220205339.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[Cp1252]/>
<!LOGHEADER[END]/>
Dec 20, 2005 3:53:39 PM Info: -
Starting deployment -
Dec 20, 2005 3:53:39 PM Info: Loading selected archives...
Dec 20, 2005 3:53:39 PM Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
Dec 20, 2005 3:53:40 PM Info: Selected archives successfully loaded.
Dec 20, 2005 3:53:40 PM Info: Actions per selected component:
Dec 20, 2005 3:53:40 PM Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
Dec 20, 2005 3:53:40 PM Info: Saved current Engine state.
Dec 20, 2005 3:53:40 PM Info: Error handling strategy: OnErrorStop
Dec 20, 2005 3:53:40 PM Info: Update strategy: UpdateAllVersions
Dec 20, 2005 3:53:40 PM Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
Dec 20, 2005 3:53:40 PM Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
Dec 20, 2005 3:53:40 PM Info: Software type of SDA: J2EE
Dec 20, 2005 3:53:40 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Dec 20, 2005 3:53:41 PM Info: Begin of log messages of the target system:
05/12/20 15:53:40 - ***********************************************************
05/12/20 15:53:41 - Start updating EAR file...
05/12/20 15:53:41 - start-up mode is lazy
05/12/20 15:53:41 - com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
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:324)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
at java.lang.Thread.run(Thread.java:534)
05/12/20 15:53:41 - ***********************************************************
Dec 20, 2005 3:53:41 PM Info: End of log messages of the target system.
Dec 20, 2005 3:53:41 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Dec 20, 2005 3:53:41 PM Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
Caught exception during application deployment from SAP J2EE Engine's deploy API:
com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
Dec 20, 2005 3:53:41 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Dec 20, 2005 3:53:41 PM Error: -
At least one of the Deployments failed -Hi,
If you remove the $ and braces (as shown below) it will work.
<data-source-aliases>
<aliases>
<data-source-name>MYDS</data-source-name>
<alias>BRANCH50DS</alias>
</aliases>
</data-source-aliases>
Regards,
S.Divakar -
JDBC runtime error using data source (Oracle 9i server & Oracle 8i client)
Hi,
Wud someone help me with this? Why am I getting this run-time error?
D:\shilpa\javaprogs>java -classpath %classpath%;.; CreateMovieTables
javax.naming.NoInitialContextException: Need to specify class name in environmen
t or system property, or as an applet parameter, or in an application resource f
ile: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
40)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
a:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at CreateMovieTables.initialize(CreateMovieTables.java:18)
at CreateMovieTables.main(CreateMovieTables.java:101)
This is how I have created the data source:
public void initialize() throws SQLException, NamingException
Context initialContext = new InitialContext();
DataSource dataSource = null;
dataSource = (DataSource) initialContext.lookup("jdbc/Oracle");
connection = dataSource.getConnection();
I have set the classpath to: C:\j2sdk1.4.2_08\jre\lib where the jndi.properties file exists.
Here's the jndi file:
datasource.name=jdbc_1
datasource.url=jdbc:oracle:thin:@10.119.5.98:1521:sea77db0
datasource.classname=oracle.jdbc.driver.OracleDriver
datasource.username=tr1
datasource.password=tr1
What am I doing wrong? Cud someone help me with this? It's working fine when I don't use the data source. Maybe I am doing something wrong.
Regards,
Shipf1After reading your posts, I noticed that my eyes were bleeding...
Wud someone help me with this?
Cud someone help me with this?
Thanks. It worked. BUt, IF i wanna ...
I don't[b] wanna...
what shud i do then?
Thought I should return the favor encapsulating the essence of this writing style:
So, IF i cud, I wud, but If i don't wanna shud i anyway?
Just funnin around... Good luck on your problem though.
Darn it, my eyes are bleeding again! -
Dear All,
While creating transfer or update rule the following error occurs -
"DataSource COMPLEX does not exist in source system SANTANU of version A"
here COMPLEX = Data Source
SANTANU = Source System
Where as I have already defined Data Source Complex under Source System Santanu.
Thanks and Regards
SantanuHi snato,
check in the Source system
Use Tcode RSA6 in source system.
If the data source is in active state it will displayed there.
If not active ,you can use RSA5 Tcode to activate it if the datasource.
Use extractor checker to see if the datasource extracts any data from R/3
Goto T-code RSA3 in sourcesystem and check ur datasource
BW system
-->Did you replicate the data source?
-->R u able to see the data source in BW side?
--> If replicated can see the data source then check for the DS is active or not?
--> If the DS is inactive then if you want o activate the data source -->Double click on DS and change -->activate the data source and try to create update rules or transformations.
Regards
KP
Edited by: prashanthk on Aug 14, 2010 9:40 AM
Edited by: prashanthk on Aug 14, 2010 9:43 AM -
Hello,
On the MDW Disk Usage Collection Set report, I get the following error when I click on a database hyperlink.
A data source has not been supplied for the data source DS_TraceEvents
SQL profiler shows the following SQL statements are executed (I've replaced the database name with databaseX)
1. exec sp_executesql N'SELECT
dtb.name AS [Name]
FROM
master.sys.databases AS dtb
WHERE
(dtb.name=@_msparam_0)',N'@_msparam_0 nvarchar(4000)',@_msparam_0=N'databaseX'
this returns zero rows as databaseX does not exist on my MDW central server, but is a database on a target server (i.e. one that is being monitored and uploaded into the MDW central server).
2. USE [datatbaseX]
this produces the following error:
Msg 911, Level 16, State 1, Line 1
Database 'databaseX' does not exist. Make sure that the name is entered correctly.
why is the report looking for the database on my server?
thanks
Jag
Environment: MDW (Management Data Warehouse) on SQL 2008 R2Hi Jag,
Based on my test, while this database is offline, we will encounter this issue. This is because that while we click the certain database in “Disk Usage Collection
Set” report, it will query some information with that certain database. If this database is offline, we will not access this database to acquire related information and generates this error.
Therefore I recommend that you check the status of this database by using this system view:
sys.databases. If it is not online, please execute
the following statements in a new window to make this database to be online:
USE master
GO
ALTER DATABASE <database name> SET ONLINE
GO
If anything is unclear, please let me know.
Regards,
Tom Li -
Error in Data source Enhancment
Hi All,
While putting my code in "EXIT_SAPLRSAP_001" in function exit for enhancing Data source I meet this error as below.
Program names ZX... are reserved for includes of exit function groups
Message no. DS027
It is happening when I am clicking on Double click on "zxrsau01" . Any clue what is giving me this error.
Thanks a lot in advance.
Regards,
JohnHi John,
this is basically a warning. If you press enter after getting the message it will work.
kind regards
Siggi -
Error in Data source 'change'...
Hi,
I want to unhide a field DMBE2 from 0FI_AR_3 data source extract structure. When I go to RSA5> FI> 0FI_AR_3> change data source> and uncheck the 'hide' block and try to save it; system displays messege" the OLTP source still has errors". What is this.. how can I solve this?????
Pls help... Pts for ans.Hi,
I faced the same error. In my append structure i didnot add currency field to the structure. Thats why it obstructs me. Later when i add currency fields(ZZWAERKS) in the structure it is reolved. So please check all the required fields are added or not.
Hope this helps.
Thanks
K
Maybe you are looking for
-
What is the best way to ensure I don't loose my images from my gdrive, because eventually it will fail. thank you
-
My iPad is tellin me I can not use the camera connector because it uses too much power..... ***
-
Hi All, I have some Questions on SAP SRM 1) What are all the Client independent settings of SRM. 2) And Is it possible to have Different org Structures in Different Clients. 3) Is it possible to have Different Client have different Technical Scenario
-
Guest Network in Airport Utility
I have just been reconfiguring my wireless network. I noticed it's still broadcasting a guest network, yet when I try to configure it in airport utility I can no longer find the guest network settings. I'm sure they used to be in the Wireless section
-
Host requires administrator name and password
I just updated a program on my Mac. It is giving me a message "this host requires an administrator name and password". The username and password I have always used are not working. It is telling me "invalid username or password". Any ideas on thi