"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 lot
By the way, I am using Windows Platform. For any version of JDeveloper from June I used has the same problem.
Similar Messages
-
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 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 . -
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> -
GRC 10: Maintain Data Sources Config Problem
Hi All,
I was trying to configure the User Data Sources for:
1. Search
2. User Details
During this, I went to SPRO->GRC->AC->Maintain Data Sources Configuration. Here, first I tried to configure User Search Data Sources. When I clicked on New Entries, It gave me a screen wherein I have to fill details for:
1. Target Connector
2. Sequence
3. User Data Type
In Target Connector, I could find the connector I defined for the back end system and I could select it.
In Sequence field, it is not showing any possible values. However, we can mention any value I believe. Then I mentioned like 12.
In User Data Type, I shows as a possible values option. But when I click F4, it says:
No Values Found
Can anybody help me configuring this?
Regards,
FaisalHello Faisal,
Please note that you can have backend connectors as LDAP, SAP HR system
Now the question is if you are using SAP HR system (i.e. a ECC system with HR module implemented) then
1) Target Connector --> RFC name for the SAP ECC system
2) Sequence --> you can put it as 1 ( if multiple then you may decide which should be 1st source , 2nd source and so on)
3) User data Type : It can be SU01 or HR
If you are using LDAP as data source then ,see to it that you have maintained all the details for LDAP as required in SPRO configuration.
i.e. create LDAP connector,Register the program at OS level, make necessary settings in transaction : LDAP
Hope this helps.
Regards,
Victor -
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 -
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! -
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 -
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 -
Error generic data source for table VBAK in SAP R/3 7.01
Hi
When I was trying to create generate data source(RSO2) from table VBAK. The system replies that
Invalid extract structure template VBAK of Data Source ZSD_SALES
You tried to generate an extract structure with the template structure VBAK. This operation failed, because the template structure quantity fields or currency fields, for example, field ZZLFAMT refer to a different table.
Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
Regards
Anand ReddyHi,
use 2lis_11_vahdr instead.
But in addition, you need to create a view on vbak and the reference table/s of the keyfigure units, add the unit fields as well as all fields of vbak to the view and use the view for the generic datasource instead of the table.
Siggi
Edited by: Siegfried Szameitat on Oct 5, 2010 2:46 PM -
ERROR PARSING MY STRUTS-CONFIG.XML...
Hi everyOne!
I need to get this connection:
("jdbc:mysql://localhost:3306/netinfoa_amt?characterEncoding=UTF-8&useUnicode=true", "root", "****");
using <data-sources> declared on my STRUTS-CONFIG.XML
no problem with:
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="autoCommit" value="false"/>
<set-property property="driverClassName" value="org.gjt.mm.mysql.Driver"/>
<set-property property="url" value="jdbc:mysql://localhost:3306/netinfoa_amt" />
<set-property property="username" value="root"/>
<set-property property="password" value="****"/>
</data-source>
</data-sources>But i have this problem: org.xml.sax.SAXParseException: The reference to entity "useUnicode" must end with the ';' delimiter.
trying:
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="autoCommit" value="false"/>
<set-property property="driverClassName" value="org.gjt.mm.mysql.Driver"/>
<set-property property="url" value="jdbc:mysql://localhost:3306/netinfoa_amt?characterEncoding=UTF-8&useUnicode=true" />
<set-property property="username" value="root"/>
<set-property property="password" value="****"/>
</data-source>
</data-sources>I also tried
<set-property property="useUnicode" value="true" />
<set-property property="characterEncoding" value="UTF-8" />
but it doesn't work... any idea?
thank!Usually, a 503 means that WebLogic can't find the compiler it needs to compile your JSPs. Check your weblogic.xml for the compiler param (forgot the exact name) in the jsp section (<jsp:descriptor>).
If the above doesn't apply to your case, I'm afraid I can't be of much further help... -
Missing data-sources.xml deploying war with jdeveloper 9i RC
When deploying a war file to an OC4J 1.0.2.2.1 server and error reports during the deployment that data-sources.xml is missing in the application-deployments/xxxx directory. Only the orion-application.xml file is present - which references a data-sources.xml file in the same directory. The problem is : it isn't there.
When I copy the xml files from the applications/xxxx directory to the application-deployments/xxxx directory and redeploy the war file everything works fine.
Is this a configuration issue or a bug ? Anyway, can somebody tell me how I can work around this problem ?
Thanks !this is a bug and you have already found the workaround.
-
Vendor error message in sourcing cockpit when change product category
Hi there
We are having a problem when changing the product category in the sourcing cockpit.
The product category is linked to a vendor list. When you change the product category in the sourcing cockpit and choose a vendor by doing a vendor search and then click create purchase order, it still gives the error message "please choose vendor". Somehow it is not reading the vendor.
Is there any way to solve this with a note or something?
Kind regards
DeepaHi
when you display the cart in work area , the vendor would have picked .i think you can see in one of the basic data .
dont you try to prosose a source of supply and assign sos.
i am not sure where mistake has happened ?
can your business allows you to complete the cart and create a new cart since all our data is different
once you change the product category. for eg. it linked with purchasing group upon responsibility of product group and this purchasing group linked with purchase organisation internally and vendor....so..on .
one small change product category impact data more..
it is not recommend to change the product category here. product category may link with responsible purchase group and purchase group is linked with purchasers w.r.t purchase group .
regards
muthu
Maybe you are looking for
-
Wont let me update or download existing apps on my iphone PLEASE HELP!!!
I just took my phone off my dads account and created my own apple id. I have then synced my iphone, and the apps that were downloaded onto the itunes, from my phone will not let me download them onto my phone or update them. It keeps saying that I ne
-
I got a new computer..how do I get my library to new iTunes
I got a new computer for Christmas. I clicked on home sharing so I can see my library from the old computer and after we finish getting info from that computer to this one, it will be garbage. So I just imported a CD into my iTunes library on this ne
-
How do you change the weather from Fahrenheit to Celsius in iPhoto for iOS?
I have been trying to change the weather from fahrenheit to celsius and I cannot seem to find out how. Can anyone help?
-
Cannot drag and drop AP in WCS
New to WCS, I tried uploading floor area in a building which was all fine, but when i select an AP from WCS and try to drag and drop to the right place it wont move. Any suggestions are appreciated.
-
Startup disk contains replica of itself inside invisible Volume folder
Hello. Bizarrely, my startup disk contains an image of itself, naturally diminishing the available disk space. It sits inside an invisible folder, namely: Volumes/[name of the starup disk]. This invisible folder "Volumes". Now, inside this folder are