SUN TEAM URGENT: auto creation of data source, connection pool, ...etc
to the sun team,
i have been using NB+VWP to deploy an application created in JSCU2 to a Sun App Server 9.
for some reason, whenever am viewing a DB connection in the servers window and drag-drop a table on the page, the system is automatically creating a new data source, a new conneciton pool, and new jdbc resource. also, it is removing the necessary references in web.xml and sun-web.xml.
is there any way to get around this? otherwise, i am forced to modify the jdbc settings in the server as well as the config file each i drag-drop a DB table/view.
thanks so much
- Peter
Unfortunately, this is a bug and should be fixed in the next release.
I'll look for the issue id.
In the meantime, this workaround may help:
http://wiki.netbeans.org/wiki/view/VWPUserFAQsavewebxml
John Baker
http://blogs.sun.com/dashboy
Similar Messages
-
WebLogic 11g data source connection pooling failed with IO error:socket read timed out.
Hi all,
We encountered IO Error: Socket read timed out( <Received exception while creating connection for pool "DS_1": IO Error: Socket read timed out> ) during the creation of data sources in WebLogic 11g. Manual data source testing seems to indicate intermittent connection and the server seems to take a long time to start up with multiple IO errors. We increased the timeout at the database side but it does not seems to help. The database is 11g (11.2.0.3). The database services and listener are up which does not indicate that the database instance is down.This particular error means your database is down and socket is timedout. Or the query takes so long that the reader timedout -- unlikely.
Also, the general weblogic socket write errors, which you might see sometimes means that the client got disconnected before the server wrote results back. This is harmless -
SAP Crystal Reports data source connection problem using sap business one
Hi,
I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
I am trying to create a Crystal report but when I try to configure a new connection it does not work.
I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
Our Current SAP related software details are as follows:
OS: Windows Server 2008
SAP B1 Version: SAP B1 9 (902001) Patch 9
SAP Crystal Report Version: 14.0.4.738 RTM
Database: MS SQL Server 2008 R2
I have also added some screenshots of the issues.
Please have a look and let me know if you have any questions or any further clarifications.
I m eagerly waiting for a quick and positive reply.Hi,
There is problem with SAP Business One date source.
I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
So, try to use OLEDB.
Regards,
Amrut Sabnis. -
Error while importing the tables from MySQL using the data source connection
Hi,
I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
OLE DB or ODBC error.
An error occurred while processing table 'XXXXXXXXXX'.
The current operation was cancelled because another operation in the transaction failed.Hi Bharat17an,
Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
Regards,
Elvis Long
TechNet Community Support -
Change all reports data source connection
I have numerous SQL reports that require their data source connection changed. Does anyone have code to change all reports that use a data source name of 'Data_Warehouse_Main' to a different shared connection.
ThanksHi BiscuitB,
According to your description, there are numerous SQL reports and their data source need to be changed. You used RSScripter but it does not work.
In Reporting Services, if we want to change data sources of multiple SSRS Report, we can use Powershell to set the data sources for an item in a report server database or SharePoint library. To achieve your goal, we need to use both the Reporting Service
GetItemDataSources Method and the SetItemDataSources Method. You can refer to the thread provided by PrajapatiNeha, and the PowerShell script sample will be helpful for you.
Reference:
GetItemDataSources Method
SetItemDataSources Method
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
Managing data source connections inside an Excel workbook for deployment reasons
Hi,
with a certain frequency, I use Excel to show SQL Server data, or SSAS data, etc. in tables, pivot tables, ...
So, a single Excel workbook can contain more connections and ofter a same connection is used.
When an Excel is deployed to a prod environment from a test environment an issue it to update each data source connections by specifing the prod server and/or the prod instance. To avoid to accomplish the boring task to change each single connection,
is it possible to perform it in a more simple or automatic manner?
Any ideas, please?
ThanksHey pscorca,
When you deployed Excel files to a product environment, why did you need to change the data source? Did you move SQL server DB and SSAS DB to the product environment too?
And when you click Data->From SQL Server/From AS ,then Excel should create a Office data connection file which is usually saved in: C:\Users\Username\Documents\My Data Sources . If you have multiple Excel files need to use the same connection,
you can choose the Existing Connections, then select the odc file. If you want to change your connections, you just need to Edit the .odc file.
Wind Zhang
TechNet Community Support -
Creation of data sources by Ant
Hi all
Please help me..
when i create data source by ant(copying data-sources.xml already stored in my hard disk with all valid entries.)and then deploy my EAR file and get the following error:
10g-deploy:
[exec] ADMN-300075
[exec] Nested exception
[exec] Resolution:
[exec] Base Exception:
[exec] javax.naming.NamingException
[exec] Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
[exec] javax.naming.AuthenticationException: RMIConnection Disconnected
[exec] javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
[exec] javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
[exec] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
[exec] at oracle.ias.sysmgmt.utility.Oc4jUtil.getOC4JApplicationServerAdministrator(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.getOC4JApplicationServerAdministrator(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
[exec] Caused by: javax.naming.AuthenticationException: RMIConnection Disconnected
[exec] at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2523)
[exec] at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2339)
[exec] at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
[exec] at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:721)
[exec] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
[exec] ... 11 more
BUILD SUCCESSFUL
Total time: 4 minutes 58 seconds
But when i crete data source using Oracle enterprise manager,I m able to deploy my EAR file successfully.
Can nebody please tell me how can i create data source manually by ant script ant then deploy my appln. successfully
The entries done by me in data-sources.xml are:
<data-source class="com.evermind.sql.orionCMTDataSource" location="jdbc/los" connection-driver="oracle.jdbc.driver.OracleDriver" username="dbprod_test" password="dbprod_test" url="jdbc:oracle:thin:@//10.0.52.160:1521/orcl" name="jdbc/los"><description>LOSDB</description></data-source
Thanks in advance..user534925,
Do you want to create a global datasource or one for a specific J2EE application?
For a global datasource, you can use the "admin.jar" file.
Type the following command for more details:
java -jar admin.jar -helpOne of the options is "-installDataSource".
You should be able to launch "admin.jar" from an "ant" script (I think -- I don't use "ant").
Sorry, I don't remember how to set up a datasource for a specific application.
(And I'm too lazy to search for it for you, now :-)
Good Luck,
Avi. -
Error while creation of data source
hi
iam creating generic data source using function module.
i inserted the function module and structure name,
when i press the save button, it is throwingerror message as Units field WAERS for field ANSWT of DataSource ZEQUIP_DS is hidden.
please guide me how can i overcome this
treat this is as urjent requirement
regards
kumarHi Anil
ANSWT needs Units which is a mandatory field for a datasource, in the extraction structure itself so you should insert WAERS and assign it to ANSWT, this will solve the problem when you save the datasource in RSO2.
Hope it helps
Regards
Rahul -
Generic extraction- creation of data source
hi gurus,
I am creating a customized table which has both quantity and currency fields.
i have given both the reference fields as well.
Here the reference table used for quantity is ekko and the field is meins.
and the reference table used for currency is ekpo and the field is waers.
i have no problem in saving and activating the table.
now while creating the data source in the maintain generc data sources i get the following error.
Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
can any one help me...
with regards!
rameshHi
Here the reference table used for quantity is ekko and the field is meins.
and the reference table used for currency is ekpo and the field is waers.
Add MEINS and WAERS field in the customized table for example ZTABLE and for Quantity field mention ZTABLE as reference table and reference field as MEINS same for WAERS.
Thanks
Suganya -
WAS 6.1 JNDI data source connection CRXI R2 Developer
Hi all,
I've been tasked to get a JNDI connection from a WAS 6.1 server to a Oracle DB to use in developing a report.
The CR developer I'm using is CR Developer;Product Type: Full Product Version: 11.0.0.1282
I have created a simple Java 'main' class to test the JNDI connection using the following jars:
com.ibm.ws.admin.client_6.1.0.jar
com.ibm.ws.runtime_6.1.0.jar
com.ibm.ws.webservices.thinclient_6.1.0.jar
ibmorb.jar
ojdbc-14.jar
rsadbutils.jar
rsahelpers.jar
I have been able to retrieve data from the Oracle DB through the 'main' class and display it on the console.
However, after I set the CRConfig.xml file's classpath to use these jars, along with a jar I created that contains a jndi.properties file that contains the org.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB property because the JVM that the CR developer is pointing at is a Sun 1.6 HotSpot JVM.
When I try getting the connection, Database -> Database Expert -> Create New Connection -> JDBC (JNDI), select the JNDI Connection option and enter the relevant information, the developer finds the JNDI names that I'm looking for. Then I 'Click' the Finish button and receive the following error pop-up:
Logon Failed.
Details: SQL Exception: SQL State: null ERROR Message: Invalid argument(s) in callDSRA0010E: SQL State= null, Error Code = 17,068 Database Vendor Code: 17068
I have noticed that I can replicate this error message, through the 'main' class I used to test the connection, if I remove the username/password arguments from the method I use to get the DB connection.
Is there anything that I'm missing to successfully use this WAS data source?
I have tested a WebLogic 10.3 connection and the CR Developer had no problem finding/using the connection?
Any help that can be provided would be greatly appreciated.
Below is the JDBC tag from the CRConfig.xml file that I'm using:
<JDBC>
<CacheRowSetSize>100</CacheRowSetSize>
<JDBCURL></JDBCURL>
<JDBCClassName></JDBCClassName>
<JDBCUserName></JDBCUserName>
<JNDIURL>iiop://server:bootstrap_address-port</JNDIURL>
<JNDIConnectionFactory>com.ibm.websphere.naming.WsnInitialContextFactory</JNDIConnectionFactory>
<JNDIInitContext>cell/clusters/clusterName/jdbc</JNDIInitContext>
<JNDIUserName>schema-username</JNDIUserName>
<GenericJDBCDriver>
<Option>No</Option>
<DatabaseStructure>catalogs,tables</DatabaseStructure>
<StoredProcType>Standard</StoredProcType>
<LogonStyle>Oracle</LogonStyle>
</GenericJDBCDriver>
</JDBC>
Thanks in Advance
Edited by: java_geek on Jul 28, 2010 3:31 AMHi all,
I've been tasked to get a JNDI connection from a WAS 6.1 server to a Oracle DB to use in developing a report.
The CR developer I'm using is CR Developer;Product Type: Full Product Version: 11.0.0.1282
I have created a simple Java 'main' class to test the JNDI connection using the following jars:
com.ibm.ws.admin.client_6.1.0.jar
com.ibm.ws.runtime_6.1.0.jar
com.ibm.ws.webservices.thinclient_6.1.0.jar
ibmorb.jar
ojdbc-14.jar
rsadbutils.jar
rsahelpers.jar
I have been able to retrieve data from the Oracle DB through the 'main' class and display it on the console.
However, after I set the CRConfig.xml file's classpath to use these jars, along with a jar I created that contains a jndi.properties file that contains the org.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB property because the JVM that the CR developer is pointing at is a Sun 1.6 HotSpot JVM.
When I try getting the connection, Database -> Database Expert -> Create New Connection -> JDBC (JNDI), select the JNDI Connection option and enter the relevant information, the developer finds the JNDI names that I'm looking for. Then I 'Click' the Finish button and receive the following error pop-up:
Logon Failed.
Details: SQL Exception: SQL State: null ERROR Message: Invalid argument(s) in callDSRA0010E: SQL State= null, Error Code = 17,068 Database Vendor Code: 17068
I have noticed that I can replicate this error message, through the 'main' class I used to test the connection, if I remove the username/password arguments from the method I use to get the DB connection.
Is there anything that I'm missing to successfully use this WAS data source?
I have tested a WebLogic 10.3 connection and the CR Developer had no problem finding/using the connection?
Any help that can be provided would be greatly appreciated.
Below is the JDBC tag from the CRConfig.xml file that I'm using:
<JDBC>
<CacheRowSetSize>100</CacheRowSetSize>
<JDBCURL></JDBCURL>
<JDBCClassName></JDBCClassName>
<JDBCUserName></JDBCUserName>
<JNDIURL>iiop://server:bootstrap_address-port</JNDIURL>
<JNDIConnectionFactory>com.ibm.websphere.naming.WsnInitialContextFactory</JNDIConnectionFactory>
<JNDIInitContext>cell/clusters/clusterName/jdbc</JNDIInitContext>
<JNDIUserName>schema-username</JNDIUserName>
<GenericJDBCDriver>
<Option>No</Option>
<DatabaseStructure>catalogs,tables</DatabaseStructure>
<StoredProcType>Standard</StoredProcType>
<LogonStyle>Oracle</LogonStyle>
</GenericJDBCDriver>
</JDBC>
Thanks in Advance
Edited by: java_geek on Jul 28, 2010 3:31 AM -
Weblogic - jndi and data source connectivity problem
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>just looking at you weblogic-ejb-jar.xml,
your ejb jndi names are the same as the data source jndi names...this
may be your problem.
Ronak Parekh wrote:
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> -
Hi -
When attempting to render a report (.rdl) in a SharePoint 2010 document library that has a
Connection Type specified as a Shared data source (the connection succeeds when tested in the SharedDataSource.aspx page), the following error message is displayed in the report:
The data source that I'm using passes the test when tested in isolation but when used in the report it yields to the error message above. Below are some of the details of the .rsds file:
For this particular Web Application, Kerberos has been enabled. I couldn't spot any traces in ULS nor in the Security Windows logs.
Any feedback on how to fix this issue is appreciated.
Thanks.Hi
There are multiple resolution found for the same issue, please refer
http://www.marc-lognoul.me/itblog-en/an-existing-connection-was-forcibly-closed-by-the-remote-host/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/4ad2a302-8a77-44f3-91ce-803d36efc9c5/sharepoint-2010-an-existing-connection-was-forcibly-closed-by-the-remote-host-when-log-in-using?forum=sharepointadminprevious
http://social.technet.microsoft.com/Forums/sharepoint/en-US/235ca863-f540-4fa0-9688-0b0b46c2d75d/sharepoint-2010-an-existing-connection-was-forcibly-closed-by-the-remote-host-when-log-in-using?forum=sharepointadminprevious
Let us know if this helps, thanks
Regards,
Pratik Vyas | SharePoint Consultant |
http://sharepointpratik.blogspot.com
Posting is provided AS IS with no warranties, and confers no rights
Please remember to click Mark As Answer if a post solves your problem or
Vote As Helpful if it was useful. -
SmartView 11.1.1.2 Data Source Connection Manager is Disabled.
I recently did a fresh install of Oracle Hyperion EPM 11.1.1.2 in a Windows 2003 Enterprise Server (64-bit) environment.
I'm now having problems running Smart View in this environment.
When I attempt to connect to a cube, from within Excel, the Data Source Manager appears in the right-hand pane, but I can't interact with it. Also, nothing at all appears in the Data Source Manager pane.
I've duplicated this problem in a Windows 7 RC1 64-bit environment as well (Yes, I know. It's not supported).
This looks like some sort of Active X issue.
I am running Office 2007 SP1. However, applying the latest MS Office updates did not alleviate the issue. I also enabled macros and active x controls through the "Trust Center", but that did not help either.
Any help or ideas would be appreciated.
Thanks,
Alan FarkasHello all,
Nice to know misery has lots of company. Having the same problem. I've gotten lots of suggestions and have tried everything short of reinstalling OS. The strange thing is that it was working at initially but my laptop crashed and I reinstalled everything. This problem appeared after the reinstall.
I'll keep trying and will let you know if the OS reinstall does the trick...
If anyone else comes up with something better - please post.
Thanks,
Frank -
Change the data source connection of existing reports in web analysis
Hi
I have developed certain reports in web analysis 9.3.1, now I need to point these reports to a new cube with same layout. Can anyone let me know how to change this data source. There are lot many reports so it will take lot of time for me to recreate them.
Please suggest any good approach
---xatYou can edit the Database connection from Web Analysis. Perform the below tasks to edit the database connection..
1) Login to Web Analysis
2) Select the Database Connection which needs to be modified.
3) Right Click then Edit..
Hope this helps you..
Regards,
Manmohan Sharma -
Transaction on Oracle 9i data source connection times out before JTA transaction
Hello,
I have a MDB with a long-running transaction (3600 second timeout).
In the MDB, I make a call to another EJB that has its transaction
attribute set to NotSupported (I do this because I need
non-transactional semantics in the called method).
If the EJB call take more than about a minute to complete, then I get a
datasource error when using the data source in the MDB after the return
(see error at bottom). However, if the call completes quickly, then I do
not get this error. It seems like the datasource connection somehow
times out, but I don't see where I can change this timeout.
pseudocode:
// timeout set to 3600 seconds
transactional MDB onMessage() {
// receive connection from Oracle BEA driver
// myEJB performLongOperation has transaction attribute
// set to NotSupported
String result = myEJB.performLongOperation();
// use connection from Oracle BEA driver
If the performLongOperation takes more than about a minute, then I get
the following error when using the connection after the operation:
Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
valid start() failed on resource 'Oracle IDENT Connection Pool':
XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
Error Occurred. Native Error: 24756
at
weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
urceInfo.java:1075)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
sourceInfo.java:1007)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
ourceInfo.java:218)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
rverTransactionImpl.java:419)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
250)
at
weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
at
weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
a:80)
at
weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)Thanks for the reply.
I don't have contract customer support access with BEA, and thus I can't
download the patch. Is there any other workaround for this?
Thanks
Slava Imeshev wrote:
Steven,
Please check this:
http://www.viewtier.com/newsgroups/thread.jspa?threadID=20&tstart=0
Hope this helps.
Regards,
Slava Imeshev
"Steven Ostrowski" <[email protected]> wrote in message news:40cf35cc@mktnews1...
I have a MDB with a long-running transaction (3600 second timeout).
In the MDB, I make a call to another EJB that has its transaction
attribute set to NotSupported (I do this because I need
non-transactional semantics in the called method).
If the EJB call take more than about a minute to complete, then I get a
datasource error when using the data source in the MDB after the return
(see error at bottom). However, if the call completes quickly, then I do
not get this error. It seems like the datasource connection somehow
times out, but I don't see where I can change this timeout.
pseudocode:
// timeout set to 3600 seconds
transactional MDB onMessage() {
// receive connection from Oracle BEA driver
// myEJB performLongOperation has transaction attribute
// set to NotSupported
String result = myEJB.performLongOperation();
// use connection from Oracle BEA driver
If the performLongOperation takes more than about a minute, then I get
the following error when using the connection after the operation:
Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
valid start() failed on resource 'Oracle IDENT Connection Pool':
XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
Error Occurred. Native Error: 24756
at
weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
urceInfo.java:1075)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
sourceInfo.java:1007)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
ourceInfo.java:218)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
rverTransactionImpl.java:419)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
250)
at
weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
at
weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
a:80)
at
weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)
Maybe you are looking for
-
Memory upgrade on a early 2008 iMac
Hi, I have a early 2008 24" iMac with 2 GB 800 MHz DDR2 SDRAM. I have read conflicting information here vs. Apple support site and would just like some advise and possibly answers from someone who has my computer that has done a succesful upgrade.
-
LaserJet MFP M175nw-- low energy mode or shut down?
I recently upgraded to an HP MFP175 nw. I use this printer in a home environment on a stand alone laptop. I don't need to print documents on a daily basis, which raises my question: Is there an advantage in leaving the printer on in it's sleep/low
-
How to use to_char(oracle function) in java
Hi, I am getting the value as a integer from one table in my java file and want to insert it into another table as a varChar.. I found one method in oracle like to_char().. can i use this in java.. can u pls let me know how to use this in java..or is
-
Hi, I am trying to create table using EXEC SQL. But, the table that I had created using EXEC SQL is not shown in data dictionary. I can not see that table from SE11. If I run the same program again, then gives error about there is already a table tha
-
I added the below code <table> <th colspan=8 class='clsColumnHeader' ><bean:message key="label.Heading.DocumentNote"/></th> <td class="columnHeader"><bean:message key="label.DocumentNote"/></td> <tr> <td class="ddnt-label"> <bean:message key="label.D