Standalone application can't get JDBC data source from Weblogic 10.3

We have the following configuration :
A Weblogic server 10.3 (default installation).
The server contains a JMS queue (jndi name: "DMQ") and JDBC data sources (jndi names: Oracle thin XA - "dataSource", MS SQL - "dataSource1")
We have built wlfullclient5.jar for Java 1.5 ([http://edocs.bea.com/wls/docs103/client/jarbuilder.html#wp1078122]) (according to the docs)
And now we use a test standalone application with the wlfullclient5.jar :
public static void main (String[] args) throws NamingException {
bq. Hashtable<String, String> env = new Hashtable<String, String>(); \\     env.put(Context.+INITIAL_CONTEXT_FACTORY+, "weblogic.jndi.WLInitialContextFactory"); \\     env.put(Context.+PROVIDER_URL+, "http://serv1:7001"); \\     env.put(Context.+SECURITY_CREDENTIALS+, "weblogic"); \\     env.put(Context.+SECURITY_PRINCIPAL+, "weblogic"); \\     InitialContext ic = new InitialContext(env); \\ \\ System.+out+.println("Get DMQ"); \\     ic.lookup("DMQ"); \\ System.+out+.println("Get dataSource"); \\     ic.lookup("dataSource");
bq. System.+out+.println("Get dataSource1"); \\     ic.lookup("dataSource1"); \\ System.+out+.println("Done"); \\
Here is the output when connected to WLS 10.3:
bq. Get DMQ \\ Get dataSource \\ Exception in thread "Main Thread" java.lang.AssertionError: Failed to generate class for weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:790_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_) \\ Caused by: java.lang.reflect.InvocationTargetException \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:381_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:26_) \\ Caused by: java.lang.ArrayIndexOutOfBoundsException: 6 \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.ensureInitialized(Unknown Source) \\ at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.<init>(Unknown Source) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(_Native Method_) \\ at sun.reflect.NativeConstructorAccessorImpl.newInstance(_NativeConstructorAccessorImpl.java:39_) \\ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(_DelegatingConstructorAccessorImpl.java:27_) \\ at java.lang.reflect.Constructor.newInstance(_Constructor.java:494_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:788_) \\ at weblogic.rmi.internal.StubGenerator.generateStub(_StubGenerator.java:779_) \\ at weblogic.rmi.extensions.StubFactory.getStub(_StubFactory.java:74_) \\ at weblogic.rmi.internal.StubInfo.resolveObject(_StubInfo.java:213_) \\ at weblogic.rmi.internal.StubInfo.readResolve(_StubInfo.java:207_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_) \\ at java.lang.reflect.Method.invoke(_Method.java:585_) \\ at java.io.ObjectStreamClass.invokeReadResolve(_ObjectStreamClass.java:1033_) \\ at java.io.ObjectInputStream.readOrdinaryObject(_ObjectInputStream.java:1728_) \\ at java.io.ObjectInputStream.readObject0(_ObjectInputStream.java:1305_) \\ at java.io.ObjectInputStream.readObject(_ObjectInputStream.java:348_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:197_) \\ at weblogic.rjvm.MsgAbbrevInputStream.readObject(_MsgAbbrevInputStream.java:564_) \\ at weblogic.utils.io.ChunkedObjectInputStream.readObject(_ChunkedObjectInputStream.java:193_) \\ at weblogic.rmi.internal.ObjectIO.readObject(_ObjectIO.java:62_) \\ at weblogic.rjvm.ResponseImpl.unmarshalReturn(_ResponseImpl.java:240_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:348_) \\ at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(_ClusterableRemoteRef.java:259_) \\ at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:392_) \\ at weblogic.jndi.internal.WLContextImpl.lookup(_WLContextImpl.java:380_) \\ at javax.naming.InitialContext.lookup(_InitialContext.java:351_) \\ at test.main(_test.java:23_)
But at the same time the output when connected to WLS 10.0 is :
Get DMQ \\Get dataSource \\Get dataSource1 \\Done
(so that the test passed)
Could you give me a piece of advice ?
Thanks,
Sergey

I hit the same problem as yours. This issue is caused by JDK version. The JDK used by Weblogic 10.3 is java 6, while your client program's jdk version is java5. So change the both of them to java 6. This issue will be fixed.
Don't forget to rebuild the wlfullclient.jar which also should be java 6.
Good luck!

Similar Messages

  • Getting JDBC data source from PersistenceUnit

    I have an application accessing a database, and am using JPA to read/write/update records in the database.
    Some of the database tables use stored procedures to perform complex computations across entire
    database tables, and I need to call these stored procedures when I the user does certain operations,
    such as cloning an object and all its associated data. To call the stored procedures I use the same
    JDBC data source that is used to define the PersistenceUnit.
    Is there any way to get that DataSource from the PersistenceUnit?
    Since I do not know how to do this I am currently using @Resource DataSource annotations to get the JDBC
    datasource. That is ugly because I have the datasource specified in two different places in my code.
    Please help!

    I hit the same problem as yours. This issue is caused by JDK version. The JDK used by Weblogic 10.3 is java 6, while your client program's jdk version is java5. So change the both of them to java 6. This issue will be fixed.
    Don't forget to rebuild the wlfullclient.jar which also should be java 6.
    Good luck!

  • How can I get the data back from my game

    How can I get the data back from minecraft if I deleted the app and bought with a different Apple ID

    No, they are tied to the ID that purchased them, and cannot be transferred to anyone else.

  • How can i get all the users from weblogic server?

    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

    BTW, i use weblogic platform 8.1
    "Daniel" <[email protected]> дÈëÓʼþ
    news:[email protected]..
    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

  • Can't create a data source on weblogic 9.2

    I tryed to create a Data Source on Weblogic 9.2 to Oracle 9.2.0.5. Ocurrs the exception below:
    ####<Jul 15, 2009 5:19:34 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689174163> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/jdbc/GlobalJDBCDataSourceTable.do>
    ####<Jul 15, 2009 5:19:34 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689174164> <BEA-240001> <<ConsoleInteraction: User is viewing <com.bea.console.actions.jdbc.datasources.GlobalDataSourceTableAction> for <*> <com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DVivoSafeDataSource%2CType%3Dweblogic.j2ee.descriptor.wl.JDBCDataSourceBean%2CParent%3D%5BSOA_ALSDS_HOM%5D%2FJDBCSystemResources%5BVivoSafeDataSource%5D%2CPath%3DJDBCResource%5BVivoSafeDataSource%5D%22%29>>>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185241> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185241> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185244> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/systemstatus/begin.do>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185280> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185280> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/MessagesAction.do>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185282> <BEA-240002> <Struts module /jdbc is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185282> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/jdbc/GlobalJDBCDataSourceTable.do>
    ####<Jul 15, 2009 5:19:45 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689185282> <BEA-240001> <<ConsoleInteraction: User is viewing <com.bea.console.actions.jdbc.datasources.GlobalDataSourceTableAction> for <*> <com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DVivoSafeDataSource%2CType%3Dweblogic.j2ee.descriptor.wl.JDBCDataSourceBean%2CParent%3D%5BSOA_ALSDS_HOM%5D%2FJDBCSystemResources%5BVivoSafeDataSource%5D%2CPath%3DJDBCResource%5BVivoSafeDataSource%5D%22%29>>>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195901> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195901> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195904> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/systemstatus/begin.do>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195941> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195942> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/MessagesAction.do>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195949> <BEA-240001> <Dynamically registering module /com/bea/console/actions/jdbc/datasources/createjdbcdatasource, config XML /_pageflow/struts-config-com-bea-console-actions-jdbc-datasources-createjdbcdatasource.xml>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195949> <BEA-240001> <Dynamically registering module /com/bea/console/actions/jdbc/datasources/createjdbcdatasource, config XML /_pageflow/struts-config-com-bea-console-actions-jdbc-datasources-createjdbcdatasource.xml>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195979> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/begin.do>
    ####<Jul 15, 2009 5:19:55 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689195982> <BEA-240001> <<ConsoleInteraction: User has launched the <CreateJDBCDataSource> assistant>>
    ####<Jul 15, 2009 5:19:56 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689196064> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/start.do>
    ####<Jul 15, 2009 5:20:27 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689227188> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/start.do>
    ####<Jul 15, 2009 5:20:27 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689227239> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:20:27 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689227239> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do>
    ####<Jul 15, 2009 5:20:27 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689227242> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/systemstatus/begin.do>
    ####<Jul 15, 2009 5:20:27 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689227280> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:20:27 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689227280> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/MessagesAction.do>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268647> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/selectTransactionOptions.do>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268650> <BEA-240001> <<ConsoleInteraction: User has selected Next to "Select Transaction Options" page of <CreateJDBCDataSource> assistant>>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268713> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268714> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268716> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/systemstatus/begin.do>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268754> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:21:08 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689268754> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/MessagesAction.do>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299657> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/addConnectionProperties.do>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299659> <BEA-240001> <<ConsoleInteraction: User has selected Next to "ConnectionProperties" page of <CreateJDBCDataSource> assistant>>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299709> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299709> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299712> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/systemstatus/begin.do>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299750> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:21:39 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689299750> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/MessagesAction.do>
    ####<Jul 15, 2009 5:24:42 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689482906> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/testConnection.do>
    ####<Jul 15, 2009 5:24:42 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689482916> <BEA-240001> <<ConsoleInteraction: User has selected Next to "Test Database Connection" page of <CreateJDBCDataSource> assistant>>
    ####<Jul 15, 2009 5:24:42 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689482978> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:24:42 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689482978> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do>
    ####<Jul 15, 2009 5:24:42 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689482981> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/systemstatus/begin.do>
    ####<Jul 15, 2009 5:24:43 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689483018> <BEA-240002> <Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.>
    ####<Jul 15, 2009 5:24:43 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689483018> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/MessagesAction.do>
    ####<Jul 15, 2009 5:26:24 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689584639> <BEA-240001> <Attempting to instantiate SharedFlowControllers for request /console/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/testConnectionConfiguration.do>
    ####<Jul 15, 2009 5:26:24 PM BRT> <Info> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689584646> <BEA-240001> <<ConsoleInteraction: User has selected "Test Configuration" on "Test Database Connection" page of <CreateJDBCDataSource> assistant>>
    ####<Jul 15, 2009 5:26:24 PM BRT> <Error> <Console> <mocoes> <SOA_ALDS_HOM_Admin> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <a0016433> <> <> <1247689584951> <BEA-240003> <Console encountered the following error java.sql.SQLException: Io exception: Connection reset
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:504)
         at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:369)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
         at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:63)
         at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:167)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:49)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:57)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:86)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
         at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:221)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
         at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:144)
         at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
         at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168)
         at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:222)
         at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:351)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:128)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:162)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:370)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:229)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:183)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    >
    JDBC Driver is "oracle.jdbc.OracleDriver"
    On other computer, I can connect to database when I use a "SQL Developer", but when I can't connect using Weblogic.
    What' the problem?

    Hi,
    It seems that while connecting to the database it's getting connection reset exception. have you tried connecting the database from where the machine you are trying to create datasource?
    Also, send the steps which you are following for creating the datasource.
    Regards,
    Sankar

  • Can i get the data file from the cube

    Hi All,
    Previously I created and activated one cube using one data file, by mistake lost that data file. Is there any chance to get that data file from that Cube?
    Thanks
    Bhaskar

    Hi Paul,
    yes you can..
    1) If you have loaded through  PSA , Then goto that PSA table and from settings menu> change display variants-> view tab> view as Excel> then save this file
    2) If you have not used PSA.then use LISTCUBE to view the data and change settings to excel and download..
    Don't forget to assign points,If it is useful..
    Further queries always welocme..
    Regards.
    Pradeep choudhari

  • 903/902/BC4J can't get OC4J data-sources.xml conn pooling to work in production: help

    [cross posted to the j2ee forum]
    I have several BC4J ears deployed to a 903 instance of OC4J being configured as a standalone
    instance. I've had this problem since I started deploying in development on 902. So it's
    some basic problem that I've not mastered.
    I can't get data-sources.xml managed connection pooling to actually pool conn's. I'm wanting
    to declare my jndi jdbc source connection pool in j2ee/home/config/data-sources.xml and
    have all BC4J apps get conns from this JNDI JDBC pool. I've removed all data-sources.xml from
    my BC4J ears, and published the jndi jdbc source in my oc4j common data-sources.xml.
    I've tested that this is the place controlling the conn URL/login passwd by commenting it
    out of config/data-sources.xml and my BC4J apps then throw exceptions, can't get conn.
    I've set the oc4j startup cmd line with the BC4J property to enabled connection pooling:
    -Djbo.doconnectionpooling=true
    symptom
    Connections are created and closed. Instead of being put back into the pool managed by oc4j,
    what ever BC4J is doing or my data-sources.xml is doing, the connections are just being created and
    closed.
    I can verify this via (solaris) lsof and netstat, where I see my oc4j instance under test load
    with only 1 or 2 conns to the db box, and the ephemeral port is tumbling, meaning a new socket is
    being opened for each conn. ;( grrrrrrr
    Does anyone have a clue as to why this is happening?
    Thanks, curt
    my data-sources.xml
    <data-sources>
         <data-source
            class="com.evermind.sql.DriverManagerDataSource"
            connection-driver="oracle.jdbc.driver.OracleDriver"
            ejb-location="jdbc/DEVDS"
            location="jdbc/DEVCoreDS"
            name="DEVDS"
            password="j2train"
            pooled-location="jdbc/DEVPooledDS"
            url="jdbc:oracle:thin:@10.2.1.30:1521:GDOC"
            username="jscribe"
            xa-location="jdbc/xa/DEVXADS"
            inactivity-timeout="300"
            max-connections="50"
            min-connections="40"
        />
    </data-sources>

    Thanks Leif,
    Yes, set it to the location jndi path.
    A piece of info is that the 903 oc4j release notes states that global conn pooling doesn't
    work. Infering that the j2ee/home/config/data-sources.xml data sources aren't pooled or ??
    I just tested so called local connection pooling, where I edited the data-sources.xml that
    gets packaged in the ear, to include the min/max params and re-ran my test.
    Still, the AM creates a new conn, it's to a new socket, and closes the conn when done. Causing
    each conn to not be pooled, rather opened then closed to the DB box. As verified with lsof and
    netstat, checking the ephemeral port # on the DB box side, always changes, meaning it's a
    new socket and not an old pooled conn socket.
    ???? What the heck??
    Surely if the AM conn check out / return code works properly, OC4J's pooling JDBC driver would
    pool and not close the socket??
    Has anywone gotten JDBC Datasource connections in BC4J to actually be pooled under OC4J??
    Since I couldn't get this to work in my early 902 oc4j testing, and now can't get it to work
    still under 903 OC4J, either it's my config or BC4J AM's code or OC4J?
    Any thoughts on how to figure out what's not configed correctly or has a bug?
    Thanks, curt

  • How can I get the data array from SQL Server Database?

    Hi,
    I can write a data array(2D)into a table of my SQL Server Database. The data array was writen to a column with image type. I know a data array is transformed a binary string when writing into database, but I dont know how to get the data array when I fetch the binary string from database.
    My question is:
    How to transform the binary string into data array? which vi's should I use? I have tried unflatten from string but failed.
    Any response is appriciated.
    Red

    happyxh0518 wrote:
    > I can write a data array(2D)into a table of my SQL Server Database.
    > The data array was writen to a column with image type. I know a data
    > array is transformed a binary string when writing into database, but I
    > dont know how to get the data array when I fetch the binary string
    > from database.
    >
    > My question is:
    > How to transform the binary string into data array? which vi's should
    > I use? I have tried unflatten from string but failed.
    In order to use Unflatten from string you first need to Flatten it
    before writing it. Also depending on the database driver, the returned
    data may actually not be binary but Hexadecimal encoded ASCII which you
    would first have to decode to binray.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Can I get a data recovery from Apple if my iMac was in the hard drive replacement programme and I wasn't notified about it?

    Basically my iMac just crashed and I searched on Google for replacing my hard drive and came across the iMac 1TB Seagate Hard Drive Replacement Program at http://www.apple.com/support/imac-harddrive/
    Which is that Apple is asking all 2009 - 2011 iMac users to return their iMac for a free hard drive replacement because it currently has a fault in it. After entering in my serial number, I see that my iMac is elegible for a replacement.
    I did register my iMac with Apple, but I didn't receive any email about this program and I lost all my recent data because of the faulty hard drive. I never had an issue before with the drive so this just happened out of the blue.
    Is it possible to get a free data recovery from Apple for this? I find that it was a lack of communication that I lost most of my data.

    I completely understand that it's my responsibility to back up my data but I have it set to every 2nd month, not on a weekly or daily basis to back up the data.
    Apple might not be in data recovery business but could they not acquire a third party to do this?
    This is what happened:
    It was on sleep overnight and when I tried waking it, it was lagging badly. So I shut it down and restarted it. I phoned into techincal support to find out whats wrong, but they were giving me advice to reset the params etc. But i think it made it worse because it didnt want to get passed the white start up screen.
    So I phoned back to ask if it's a usual issue with my version of iMac and the man replied that it isn't common and that I should run the disk utility to check the hard drives health.
    I installed Mountain Lion on a USB and started the disk utility. Then it highlighted in red that it's a hardware fault and cannot be repaired by the disk utility. Therefore the hard drive has a serious fault with it.
    That's when I Google'd for a replacement drive and came across the program. The techincal guy didn't even tell me about it or anything.
    If I knew about this sooner, I would have taken it in for a replacement.

  • How can I get all the settings from weblogic.properties ?

    Hi, and excuse me for my poor english.....
    I have a T3Client and I want to obtain all the settings from weblogic
    properties...
    With the sentence getT3Services().config().getProperty("......"), I can
    obtain the property, but my problem is that at runtime, I don`t know
    established names....
    I want to obtain something as the AdminProps servlet, but with a non-web
    client.....
    Can anybody help me ?

    Hi, and excuse me for my poor english.....
    I have a T3Client and I want to obtain all the settings from weblogic
    properties...
    With the sentence getT3Services().config().getProperty("......"), I can
    obtain the property, but my problem is that at runtime, I don`t know
    established names....
    I want to obtain something as the AdminProps servlet, but with a non-web
    client.....
    Can anybody help me ?

  • How can I get specific files back from my Time Machine backup?

    I wanted to make a fresh install on my MacBook Pro, in order to only have Java 8 instead of any older Java versions. So far so good. But now I want to get specific files/libraries from my external backup (USB):
    One Parallels Virtual Machine
    My old mail
    My iPhoto Library
    I don't need any settings for these, since I can easily configure them again.
    I already used the Migration Assistent to restore all apps.
    How can I get specific data back from the backup without restoring all stuff that I don't want anymore?
    I'm now working on a new account on the fresh system, called 'Admin'. My old account was called 'Hans' (or 'hans') and I'd like to create such an account again for all my tasks.
    Hans

    How can I get specific data back from the backup without restoring all stuff that I don't want anymore?
    I'm now working on a new account on the fresh system, called 'Admin'. My old account was called 'Hans' (or 'hans') and I'd like to create such an account again for all my tasks.
    You will want to add the same User account(s) which hold the data you want to restore. So you will want to add a User account of 'Hans or hans'. Check your Time Machine back up drive to see how the User account is labeled (Hans or hans). Navigate to the Users folder and see how it's labeled.
    You can then use your Time Machine back up drive and navigate to the User Home folder to copy its data over (e.g. contents from Documents, Downloads, Music, Pictures, etc.). Repeat for other Users.

  • How  I can to do get a data sources on sun appserver 8  like this?

    jsc GUI develop jsf pages ,I want to get a data sources by Context lookup jndi have binding data sources.
    I know weblogic to get this.
    such as :
    Context ctx = null;
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    p.put( Context.PROVIDER_URL, "t3://localhost:7001" );
    p.put("java.naming.security.principal", user);
    p.put("java.naming.security.credentials", pwd);
    ctx = new InitialContext(p);
    ds = (DataSource)ctx.lookup( "myds" );
    do you tell me sun appserver 8 how to implements this?thx.

    HI
    I am not clear what you are looking for but let me try to give you something. Yes it is possible to get DataSources on apserver 8 by registering JDBC Connection Pool and JDBC DataSource in the admin gui. You can use the regisred datasource in your code like this
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    OR
    if you are looking for the Creator do all these, here is the way.
    Create a datasource in the server navigator to point to any of your database. Drag and drop a table to any of your pages in the application (This is not neccessary if any of your application pages have a rowset/datatable already).
    Deploy the application then the datasource will be registered into application server 8. You can use the same code now to access the datasource
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    Please let me know if you are not looking for above .
    Thanks
    Srinivas

  • How can i get my data from an application that deleted from my iphone

    how can i get my data from an application that deleted from my iphone????

    Which application?
    With many applications, when deleting the app the app's data is deleted with it.

  • WLS 10.3.4: How to use OS authentication for JDBC Data Source

    Hello all,
    As a preface, I've tried searching the forum/Google for "OS authentication" and reading the WLS JDBC doc to no avail - if it's documented somewhere, a RTFM link would be much appreciated.
    I'm trying to set up a JDBC data source on WLS that leverages the OS Authentication capability of the Oracle database. If it would help, I can go into the reasoning behind why I want to do this, but basically, it's to simplify the config/deployment of a COTS application. What I have in the database is an "identified externally" user that corresponds to the OS user that is running the WebLogic Server. Normally, in tools such as SQL*Plus, I would use "/@db" as the username/password (in other words, no username and no password specified), and I would be logged in as the "idenfitied externally" user. I want to configure the same thing for a WebLogic Data Source, but if I leave the username/password blank, testing the connection in the WLS console gives me "invalid username/password, login denied" I've also tried using "/" as the username, as was documented in a quite old WLS faq, but that gives me the same result.
    Is there some magic switch I need to flip?
    Thanks,
    John

    Hi John, there's no way to do that with connection pools, which is how WLS datasources get their
    connections, or middleware in general. WebLogic would have no way of knowing which if any of the
    pooled connections was appropriate for the current 'user', which is not the application user, but
    instead is the OS identity of the person who started the WebLogic server! If you start up your
    WebLogic server, and people start pointing their browsers to it, doing various stuff, the OS knows
    you started WebLogic, and maybe with the help of OCI, Oracle's JDBC might know it was you who
    started WebLogic's OS process, but what does the OS know about any user that may be running
    a browser or application elsewhere (even if on this same machine), when that browser or application
    connects to your WebLogic server process?
    HTH,
    Joe

  • Using WLST to set up credential mapping on JDBC Data Source

    I am wanting to write a script (WLST) to set up a large initial set of credential mappings on a JDBC data source.
    I can create the datasource and do all the basic set ups, but I can't figure out how to do the credential mappings.
    I tried the "record" option from the Admin console, but it created a script that says that credential mappings are not recorded.
    This is the mapping function that you get to from the "Security" tab on the DataSource page, and then the "Credential Mappings" tab. This allows you to map a "WLS user" to a "remote user" - which in my case is an Oracle OLS user.
    I am using Weblogic 10.3
    Can anyone point me to a set of commands which can perform this function?
    Thanks!

    I wonder if there isn't a publicly visible MBean for the credential mapping. That would explain why the recorded script doesn't have the mbean method invocations.

Maybe you are looking for

  • How to set destination for cffile

    Dear all , I have a problem with <cffile> : my CFM file is in  : http://www.demo.com/panel/upload.cfm i want to store the file in  http://demo.com/gallery/news  folder so : <cfset file_name="demo.jpg"> <cffile nameconflict="overwrite" action = "uploa

  • Creation of new vendor master record

    When I assign Account Group, getting following error "Acc. group uses internal no. assignments, leave blank". if leave blank; asking to enter account group. Can anyone suggest how to select external number assignment while creating a new account grou

  • Whole CS6 Design and Web Premium package opens and loads to just close again.

    When I installed it onto my laptop in the first place, the package worked and would let me use it. After a while it began to crash on me, complaining about my graphics card crashing and then proceeding to close itself, but it would still open and wor

  • Is Quicken 2007 compatible with Mountain Lion?

    I'm using a beloved MacBook Pro laptop running Lion.I cannot upgrade to Mountain Lion. I have been using Quicken and have accummulated 13 years of financial data. I need a new MacBook Pro laptop and would like to know if my Quicken data can be transf

  • Effects of changing IP number on solaris server with oracle

    I need to change my servers IP adres. What can i espect to do when I change it ? We are running Solaris 2.6 A Oracle 7.3.4 Database A Oracle 8.1.6 Database Greet Jeroen Tip