Deploy to Weblogic JDBC open failure
I have deployed successfully prior to the 7/1/2009 Jdeveloper release.
When I tried to deploy using the new release I receive the same error messages no matter the technique.
I used the ear sync set check box. This generates a web and jdbc module in weblogic.
I unchecked it. Manually setup JDBC source.
I generated a ear/war and manually deployed using weblogic console.
I ran with NO JDBC at all.
After each manually JDBC setup I always tested the connection, always successfull.
The messages are always the same.
Unable to open JDBC.
Null pointer
password null
I MUST be doing something really stupid, but I can not figure it out.
I am using no custom anything.
I just created a one form app and tried to deploy it, but same error messages.
I am deploying to windows server 8
chuck
Hi,
2 things to check.
1. Your In your AppModule config change the JDBC URL to JDBC DS (as mentioned by frank - I hope you have already done that) and Test the JDBC Datasource you've created via the weblogic console. Also, make sure the You've added the Datasource (you've created through the wls console) to the AdminServer (or ManagedServers).
2. Are you adding any ADF Libraries (Another application deployed as ADF Library) to your application? If yes, check out the connection information of that Application too.
-Arun
Similar Messages
-
JDBC Initialization Failure during WebLogic Startup BEA-001136
Getting the BEA-001136 when attempting to start up SOA
receiving :
java.lang.NullpointerException
at java.util.Hashtable.put(Hashtable.java: 401)
at weblogic.jdbc.module.JDBCDataSourceFactory.addDataSourceFactory(JDBCDataSourceFactory.java:37)
at weblogic.jdbc.common.internal.JDBCService.initFactories(JDBCService.java:370)
at weblogic.jdbc.common.internal.JDBCService.initialize(JDBCService.java:116)
at weblogic.jdbc.common.internal.JDBCService.start(JDBCService.java:135)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
We are running on Weblogic 10.1.3
Any help would be greatThis error happens to me after i installed WebLogic and tried to deploy an application.
I added then a dataSource and connection pool using the WebLogic console.
After that i restared my machine, because it become so slow.
After that i was not able to restart WebLogic, i got the error:
Caused By: java.lang.ClassNotFoundException: oracle.jbo.server.DatabaseTransactionFactory
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
I modified the file config.xml, by commenting the entry <!-- jdbc-data-source-factory...
I renamed the name of the file JDBC_Data_Source-0-3407-jdbc.xml (may be the 3407 is a specific number for my installation)
After that i restarted the WebLogic, i now i can acces it by its console.
Thanks.
Zahir Djail. -
Deployment Weblogic Integration Application failure !
Hi,
I've a problem when I'm deploying my application on BEA Weblogic 9.2 !
If I'm deploying via the Administration console my application, I'm getting :
Unable to access the selected application.
Exception in AppMerge flows' progression
This is due to the weblogic-extension.xml file in my ear file (under META-INF). This is the content of this file :
<?xml version='1.0' encoding='utf-8'?>
<weblogic-extension xmlns="http://www.bea.com/ns/weblogic/90">
<module-provider>
<name>TaskPlanModule</name>
<module-factory-class-name>com.bea.wli.worklist.internal.taskplan.module.TaskPlanModuleFactory</module-factory-class-name>
<binding-jar-uri>task-plan-binding.jar</binding-jar-uri>
</module-provider>
<custom-module>
<uri>Loans/Loan Approval.task</uri>
<provider-name>TaskPlanModule</provider-name>
<configuration-support>
<base-root-element>task-plan</base-root-element>
<base-namespace>java:com.bea.wli.worklist.internal.taskplan.config</base-namespace>
<base-uri>Loans/Loan Approval.task</base-uri>
<base-package-name>com.bea.wli.worklist.internal.taskplan.config</base-package-name>
</configuration-support>
</custom-module>
</weblogic-extension>
When I'm packaging my application without this file, the console deployment works but I do not have access to my task plan !
If I deploy my application WITH weblogic-extension.xml, it works too...
But with the console... the error appears all the time !
To install my application at my customer, I need that the console deployment of my application works !
Thanks a lot in advance,
Best regards,
Mathieu TriquoitIf the application is worklist not sure you can deploy it through console. you can deploy using
weblogic.Deployer -adminurl t3://<HOST>:7001 -username weblogic -password weblogic -deploy -name WorklistTest -source WorklistTest.ear ?upload -
Hi,
I have weblogic 10gr3 installed on my machine and when trying to connect to DB linked with managed server, it is throwing error as
Apr 5, 2012 5:13:33 PM IST> <Failure occurred in the execution of deployment request with ID '1333626211843' for task 'weblogic.deploy.configChangeTask.6'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: NL Exception was generated
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
Truncated. see log file for complete stacktrace
I have set the classpath for weblogic and tried to ping the DB, but its has given me the exception as
Error encountered:
java.sql.SQLRecoverableException: Io exception: NL Exception was generated
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:458)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411) at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at utils.dbping.main(dbping.java:192)
Could anyone please help me. This is something urgent for me
Regards,
VamsiHi,
I have weblogic 10gr3 installed on my machine and when trying to connect to DB linked with managed server, it is throwing error as
Apr 5, 2012 5:13:33 PM IST> <Failure occurred in the execution of deployment request with ID '1333626211843' for task 'weblogic.deploy.configChangeTask.6'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: NL Exception was generated
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
Truncated. see log file for complete stacktrace
I have set the classpath for weblogic and tried to ping the DB, but its has given me the exception as
Error encountered:
java.sql.SQLRecoverableException: Io exception: NL Exception was generated
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:458)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411) at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at utils.dbping.main(dbping.java:192)
Could anyone please help me. This is something urgent for me
Regards,
Vamsi -
Help with the Oracle Fusion Order Demo deployment to Weblogic Server
Hello all,
I am new to SOA and am in the process of understanding SOA concepts. I am trying to deploy the Fusion Order Demo sample application to the Weblogic server. I am following the instructions given at : [http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm|http://www.oracle.com/technology/obe/obe11jdev/bulldog/deploysoaapp/deployment.htm] .
I am getting error when running the ant task "server-setup-seed-deploy-test" which deploys the Composite applications to the Weblogic Server. The ant log is pasted at the end of the post. The only difference i found from the instructions is that i do not have a AS11gR1SOA directory in my MW_HOME. Instead i have Oracle_SOA1 and i gave that directory's path for the parameter "soa.server.oracle.home".
I tried running the sub tasks in the "server-setup-seed-deploy-test" individually and only the last task "test-fod-composite-end2end" failed. Since the other tasks like "compile-deploy-all" were successfull, I tried to see the deployed applications in the soa domain. When i checked the soa domain in the Weblogic server console, I see only the "B2BX12OrderGateway" under the soa-infra. The OrderBookingComposite and others are not deployed.
Please help me in fixing this. Hope I have explained the problem correctly.
Thanks in advance
Nishan
-------------------------------------Apache ant log for "server-setup-seed-deploy-test"-----------------------------------------
Buildfile: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
server-setup-seed-deploy-test:
[echo] Setting up mds store, deploying shared artifacts,
seeding jms info, deploying to server, and running tests
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
createMDSConnections:
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForDB:
[echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
[input] skipping input as property mds.db.password has already been set.
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
[echo] Using jdbc:oracle:thin:@localhost:1521:xe for db-based backing, with user dev_mds
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForFileStore:
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForServerFileStore:
importCommonServiceArtifactsIntoMds:
[java] Starting local filesystem import into mds ..
[java] Got target mds-instance: mstore-usage_1 from C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\..\.adf\META-INF\adf-config.xml
[java] Creating mds connection to ./soa-seed/apps
[java] --> C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\.\soa-seed
[java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
[java] Local item: /apps/FusionOrderDemoShared/policy/fault-bindings.xml
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
[java] Local item: /apps/FusionOrderDemoShared/policy/fault-policies.xml
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
[java] Local item: /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
[java] Now transferring ..
[java] 4 Apr, 2010 3:39:18 PM oracle.mds
[java] NOTIFICATION: import operation started.
[java] 4 Apr, 2010 3:39:22 PM oracle.mds
[java] Transferred size = 15
[java] Transferred - /apps/FusionOrderDemoShared/policy/fault-bindings.xml
[java] Transferred - /apps/FusionOrderDemoShared/policy/fault-policies.xml
[java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/Warehouse.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderProcessor.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/orderbooking/OrderBookingProcessor.wsdl
[java] NOTIFICATION: import is completed. Total number of documents successfully processed : 15, total number of documents failed : 0.
[java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/creditauthorization.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/partnersupplier/PartnerSupplierComposite.wsdl
[java] Transferred - /apps/FusionOrderDemoShared/services/creditAuthorization/CreditAuthorizationService.wsdl
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/entities/events/OrderEO.edl
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/CustomerInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/queries/common/OrderItemsInfoVOSDO.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.xsd
[java] Transferred - /apps/FusionOrderDemoShared/services/oracle/fodemo/storefront/store/service/common/serviceinterface/StoreFrontService.wsdl
[echo] Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.2.0
[java] Build: 0
[java] Build time: Tue Nov 03 13:48:58 PST 2009
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.2.0_GENERIC_091103.1205.1216
[java]
[echo] soa infra mgmt home: C:\Oracle\Middleware\jdeveloper\/../oracle_common
compile-build-all:
[echo] Building and compiling SOA Fusion Order Demo ..
clean:
[echo] Cleanup of OrderApprovalHumanTask
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
init:
compile:
[javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
copy:
[copy] Copying 191 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
create-ear:
[copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
[war] Building war: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
setupDeploymentEnvironment:
[echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\.adf\META-INF
[echo] Step2: setup descriptor, soa-only? false, modifying ../../.adf/META-INF/connections.xml
[echo] replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceSoapHttp
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
[ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\adf
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderApprovalHumanTask\deploy\lib
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin/..//composite.xml'
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] WARNING: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(176,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] WARNING: in OrderProcessor.bpel(218): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(305): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(368): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(407): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in OrderProcessor.bpel(533): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec querypackage:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
[copy] Copying 133 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderBookingComposite\bin
[echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
[echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: localhost 8001
[echo] Replacing file adapter endpoint with /tmp
[echo] Replacing values for bam connection in connections.xml
[echo] Bam server host: sta00057.us.oracle.com
[echo] Bam server host: 9001
[echo] Bam server user: weblogic
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml'
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] WARNING: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 17 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\PartnerSupplierComposite\dist
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\bin/..//composite.xml'
[scac] WARNING: in CustomerAndOrderService.bpel(254): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in CustomerAndOrderService.bpel(359): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
[scac] WARNING: in CustomerAndOrderService.bpel(493): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
[copy] Copying 11 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\OrderSDOComposite\dist
create-deployable-composite:
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
clean:
[echo] deleting C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
scac:
[scac] Validating composite : 'C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml'
[scac] WARNING: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] WARNING: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
[scac] WARNING: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
[scac] WARNING: in B2BOrderProcessingEngine.bpel(188): Trying to assign incompatible types
[scac] <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] Make sure that the return value of from-spec query is compatible with the to-spec query
package:
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
[echo] oracle.home = C:\Oracle\Middleware\jdeveloper\
compile-source:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 24 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 6 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting directory C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\B2BX12OrderGateway\bin
[echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
[echo] Replacing ws-endpoint with localhost:8001/StoreFrontServiceHooks/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: localhost 8001
[echo] Replacing communication style, eventbased? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
compile:
create-war:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
create-ear:
[echo] global: true > ejb: ${use.ejb} jsca: true
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
clean:
[echo] Cleaning up external partner supplier ejb project ../classes/../deploy
[delete] Deleting: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
copy:
[copy] Copying 5 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
compile:
[javac] Compiling 6 source files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
[javac] Note: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
create-ejb-ear:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
init:
copy:
compile:
create-jsca-ear:
[mkdir] Created dir: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[copy] Copying 2 files to C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[echo] ../classes/meta-inf/
[jar] Building jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
[jar] Warning: skipping jar archive C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar because no files were included.
[jar] Building MANIFEST-only jar: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
[ear] Building ear: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
compile-deploy-all:
[echo] Deploying SOA Fusion Order Demo ..
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
deploy-application:
[echo] Deploying jsca shared lib? true
[echo] Wls home: C:\Oracle\Middleware\jdeveloper\/../wlserver_10.3
[echo] Oracle home: C:\Oracle\Middleware\jdeveloper\
deploy-jsca-library:
[wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy -library
[wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy -library
[wldeploy] <4 Apr, 2010 3:40:55 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: C:\Oracle\Middleware\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.0.war], to soa_server1 .>
[wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://localhost:7001 -user weblogic1 -deploy
[wldeploy] <4 Apr, 2010 3:41:11 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
BUILD FAILED
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:295: The following error occurred while executing this line:
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\bin\build.xml:156: The following error occurred while executing this line:
C:\Oracle\Jdev_Workspace\Dissertation\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.management.ManagementException: [Deployer:149163]The domain edit lock is owned by another session in non-exclusive mode - this deployment operation requires exclusive access to the edit lock and hence cannot proceed. If you are using "Automatically Aquire Lock and Activate Changes" in the console, then the lock will expire shortly so retry this operation.
Total time: 2 minutes 1 second -
Need help calling SOAP service deploy in WebLogic
Hi bros & sisters,
My name is veda.
Need some help in calling a SOAP binding web service deploy in Weblogic, using classic ASP
After reading this link http://www.aspfree.com/c/a/ASP/Consuming-a-WSDL-Webservice-from-ASP/,
1. i still do not know what value to pass in for parameter SoapURL. I did try http://invicta.app.vic:8002/RTO/RTOService/getCustomerOffers, but return a negative result.
2. Am i right to say i cannot do a SoapRequest.Open "GET",
or SoapRequest.Open "POST", because i only have a SOAP protocol binding instead of HTTP protocol binding.
I really appreciate any help to enlighten me.
Below is my complete wsdl. Its quite a small wsdl
<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.gtr.ma.rto/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://com.gtr.ma.rto/" name="RTOService">
- <types>
- <xsd:schema>
<xsd:import namespace="http://com.gtr.ma.rto/jws" schemaLocation="http://invicta.app.vic:8002/RTO/RTOService?xsd=1" />
</xsd:schema>
- <xsd:schema>
<xsd:import namespace="http://api.interact.coycorp.com/xsd" schemaLocation="http://invicta.app.vic:8002/RTO/RTOService?xsd=2" />
</xsd:schema>
</types>
- <message name="getCustomerOffers">
<part xmlns:ns1="http://com.gtr.ma.rto/jws" name="parameters" element="ns1:getCustomerOffers" />
</message>
- <message name="getCustomerOffersResponse">
<part xmlns:ns2="http://com.gtr.ma.rto/jws" name="parameters" element="ns2:getOffersResponse" />
</message>
- <message name="endCustomerSession">
<part xmlns:ns3="http://com.gtr.ma.rto/jws" name="parameters" element="ns3:endCustomerSession" />
</message>
- <message name="endCustomerSessionResponse">
<part xmlns:ns4="http://com.gtr.ma.rto/jws" name="parameters" element="ns4:endCustomerSessionResponse" />
</message>
- <portType name="RTOImpl">
- <operation name="getCustomerOffers">
<input message="tns:getCustomerOffers" />
<output message="tns:getCustomerOffersResponse" />
</operation>
+ <operation name="endCustomerSession">
<input message="tns:endCustomerSession" />
<output message="tns:endCustomerSessionResponse" />
</operation>
</portType>
- <binding name="RTOImplPortBinding" type="tns:RTOImpl">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <operation name="getCustomerOffers">
<soap:operation soapAction="" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
- <operation name="endCustomerSession">
<soap:operation soapAction="" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="RTOService">
- <port name="RTOImplPort" binding="tns:RTOImplPortBinding">
<soap:address location="http://invicta.app.vic:8002/RTO/RTOService" />
</port>
</service>
</definitions>Use a proper Java web service client stack that will make your life easier.
-
Excel macro error after deploying in Weblogic
Halo,
I have written excel macros and it is working fine.
but if the same file if i try to open from hyperlink after deploying in Weblogic server , I get the error
"error occured initializing the VBA libraries.
If Microsoft Visual Basic for Applications (VBA) was not installed, or was set to Install on first use,
(advertised, or set to install on demand) you may receive this error message.
Depending on the mode of installation used and the rights of the user to change current settings,
it is possible to install VBA through Control Panel, Add/Remove Programs, Microsoft Office, Add or Remove
features. If Visual Basic for Applications is not listed as an installable feature of Office, the administrator
of your system may have disabled it so it is impossible for you to install it. If VBA is not installed,
it is impossible to run VBA applications/projects on this computer. "
1. Even though Excel VBA application is installed in my machine , why am i getting this error.??
2. I would like to know is there any way to open the excel file even though if the excel software is not installed in client machine??
Appreciate your help.
Thanks.Hi,
I do not see any reason for this to not work.
Is there any difference between the preferences for RX and RXI. Please go to "edit" -> "Preferences" -> "Security(Enhanced)" and uncheck "Enable protected mode at startup".
Are you able to open any pdf from command line with the same command:
"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" <<PDF_FILE>>
Thanks,
Amish. -
Hello,
we are running WLS 6.1 SP2. The following code sometimes (rather rarely) throws
a NullPointerException:
Connection dbConnection = DBUtil.getDBConnection();//here we get the Connection
stmt = dbConnection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);//it's
where NPE happens
The error report says:
java.sql.SQLException:
java.lang.NullPointerException at
weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:396)
So, I think, this is something in WebLogic's code... Is this a known issue (I
couldn't find a similar report in the newsgroup)? Is there a workaround?
regards,
VitalyVitaly Sourikov wrote:
"Vitaly Sourikov" <[email protected]> wrote:
The patches that we use with SP2 are
CR061106_61sp2.jar
CR072612_61sp2.jar
CR077919_61sp2.jar
As far as we know, those fixes (or some of them) were not introduced in SP4. Are
there new versions of the patches for SP4?I have found that all these bugs are fixed in sp4, so no patches are needed if you
upgrade to 6.1sp4.
Joe
>
>
regards,
Vitaly
Hi Joseph,
Thank you for the reply. Unfortunately, we cannot move to SP3 or SP4
- they have
conflicts with other patches from WebLogic we use. This error happens
rather rarely.
In most of cases this very stuff works. But it would be intresing to
have this
patch for diagnostics, in case of future failures. Would you send it
to me, please?
Thank you in advance,
Vitaly
Joseph Weinstein <[email protected]> wrote:
Vitaly Sourikov wrote:
Hello,
we are running WLS 6.1 SP2. The following code sometimes (rather rarely)throws
a NullPointerException:
Connection dbConnection = DBUtil.getDBConnection();//here we get theConnection
stmt = dbConnection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);//it's
where NPE happens
The error report says:
java.sql.SQLException:
java.lang.NullPointerException at
weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:396)
So, I think, this is something in WebLogic's code... Is this a knownissue (I
couldn't find a similar report in the newsgroup)? Is there a workaround?Hi. The NPE is probably happening in the actual DBMS driver. What is
happening
is that the rmi driver is having to catch any non-SQLException, andthrow
a SQLException
with the message of the original exception. Unfortunately, the fullstacktrace
of the
original NPE is lost. If you want, I can send you a small diagnostic
patch, which will
just make the rmi object retain the whole original stacktrace in the
exception it throws,
and that will help lead to the real problem.
This may well be a bug that was fixed in sp3 or 4. Is it possible
for you to upgrade to
the latest stuff?
Joe
regards,
Vitaly -
Many procs results in: weblogic.jdbc.extensions.PoolDisabledSQLException
We have an issue whenever we submit say 100 or more processes at the same time to be started.
The first processes all start and work fine.
But at some point things go wrong.
In the log directory under our SOA project, we find these error messages:
Fault ID service:90091
Fault Time 26-Apr-2011 09:06:20
Non Recoverable System Fault :
Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.4.0) (Build 101210)): oracle.toplink.exceptions.DatabaseException Internal >Exception:
weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool SOALocalTxDataSource is >Suspended, cannot allocate resources to applications..
Error Code: 0Followed a bit later by this:
Fault ID service:90101
Fault Time 26-Apr-2011 09:06:58
Non Recoverable System Fault :
Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.4.0) (Build 101210)): oracle.toplink.exceptions.DatabaseException >Internal Exception:
weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: >0:weblogic.common.ResourceException: Could not create pool connection.
The DBMS driver exception was: IO-fout: Socket read timed out Error Code: 0 Call:
SQLCall(INSERT INTO COMPOSITE_INSTANCE (ID, COMPOSITE_DN, CONVERSATION_ID, UPDATED_BY, PARENT_ID, CREATED_TIME, TAGS, ECID, INDEX6, TEST_RUN_NAME, INDEX4, TEST_RUN_ID, INDEX2, TEST_SUITE, BUSINESS_STATUS, TEST_CASE, BATCH_ID, SOURCE_NAME, UPDATED_TIME, SOURCE_TYPE, TITLE, SOURCE_ACTION_TYPE, INDEX3, SOURCE_ACTION_NAME, BATCH_INDEX, STATE, CREATED_BY, LIVE_INSTANCES, INDEX1, STATE_COUNT, INDEX5, VERSION, HAS_ASSOC, PARTITION_DATE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?))
Query: InsertObjectQuery([email protected]12d437)We have a feeling that we need to throttle the creation of these processes.
Appreciate any ideas we might try to fix this issue.We have set the 'maximum capacity' of that data source to 500.
When we submit 100 BPEL instances to be started, we see (by monitoring v$session inside the database) that the number of sessions opened by BPEL never goes beyond a few (5 to 10) database sessions.
Yet we still encounter this 'pool is suspended' error:
weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException:
Pool SOALocalTxDataSource is uspended, cannot allocate resources to applications..We can then reset the status of this pool back to running. It then runs for a while, but after 5 - 10 minutes the status flips back to 'suspended' again.
In search of some kind of workaround, we have also set (in composite.xml) the minimumDelayBetweenMessages to 2 seconds, just to ensure that we throttle the creation of our BPEL processes:
<service name="ReceiveFlowEvent" ui:wsdlLocation="ReceiveFlowEvent.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/aq/PASSOA/WorkflowDispatcher/ReceiveFlowEvent#wsdl.interface(Dequeue_ptt)"/>
<binding.jca config="ReceiveFlowEvent_aq.jca">
<property name="jca.retry.count">3</property>
<property name="jca.retry.interval">5</property>
<!--property name="jca.retry.interval">20</property-->
<!--property name="jca.retry.backoff">2</property-->
<property name="minimumDelayBetweenMessages">2000</property>
<property name="adapter.aq.dequeue.threads">1</property>
</binding.jca>
</service>
...Any more clues are appreciated.
Edited by: Toon Koppelaars on May 9, 2011 4:45 PM -
Weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB ERROR
Hi,
we have an application developed with Oracle ADF with several CRUD screens. We deploy it on Weblogic and use as database oracle10G 10.2.0.4.
On one specific screen, a delete button fails and gives following error:
ERROR: weblogic.jdbc.wrapper.Blob_oracle_sql_BLOB
Anybody who encountered a similiar problem and did you find a solution?
Cheers,
RobbyHi. The issue is that some oracle-specific BLOB JDBC code (which
requires casting to concrete Oracle classes) is conflicting with
WebLogic's prudent and correct behavior of wrapping every
java.sql object delivered from it's WLS datasources. If you are
able to alter the relevant JDBC code, I can describe what you
can do.
Joe -
Null pointer in Data Source deployment in WebLogic 8.1
I'm using WebLogic 8.1 in Eclipse 3.0.
In the Weblogic console, my datasource tests out fine. But when I startup the WebLogic Server in Eclipse I get the error:
Data Source "Datasource-Secondary" deployment failed with the following error: null.
Here are the details and Stack Trace:
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XI5G, URL = jdbc:db2://z555.mycomputer.com:5054/XI5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XI5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XI5G" created.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XI5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XI5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XI5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XT5G, URL = jdbc:db2://z555.mycomputer.com:5051/XT5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XT5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XT5G" created.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XT5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XT5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XT5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001175> <Creating TX Data Source named jdbc/ODR for Pool MultiPool-Primary.>
####<Feb 28, 2006 3:13:10 PM PST> <Error> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001151> <Data Source "Datasource-Primary" deployment failed with the following error: null.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001156> <Stack trace associated with message 001151 follows:
weblogic.common.ResourceException
at weblogic.jdbc.common.internal.DataSourceManager.createDataSource(DataSourceManager.java:254)
at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:109)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:192)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
>
Any idea?
- SBSteve Bialek wrote:
I'm using WebLogic 8.1 in Eclipse 3.0.
In the Weblogic console, my datasource tests out fine. But when I startup the WebLogic Server in Eclipse I get the error:
Data Source "Datasource-Secondary" deployment failed with the following error: null.
Here are the details and Stack Trace:
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XI5G, URL = jdbc:db2://z555.mycomputer.com:5054/XI5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XI5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XI5G" created.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XI5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XI5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XI5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XT5G, URL = jdbc:db2://z555.mycomputer.com:5051/XT5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XT5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XT5G" created.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XT5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XT5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XT5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001175> <Creating TX Data Source named jdbc/ODR for Pool MultiPool-Primary.>
####<Feb 28, 2006 3:13:10 PM PST> <Error> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001151> <Data Source "Datasource-Primary" deployment failed with the following error: null.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001156> <Stack trace associated with message 001151 follows:
weblogic.common.ResourceException
at weblogic.jdbc.common.internal.DataSourceManager.createDataSource(DataSourceManager.java:254)
at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:109)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:192)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
Any idea?
- SBI'd like to see the config.xml file, and also if yo could turn on JDBC logging,
and show me the jdbc.log file? From the line numbers in the stacktrace, I am
guessing this is 8.1sp4. If that's correct, can you take this attached debug
jar, and then edit your start-weblogic script to add this jar in front of
the CLASSPATH the script creates, just before calling java. Reboot, reproduce
the problem, and the stack trace printed out will be more understandable.
thanks
Joe
thanks
Joe -
What jar contains weblogic.jdbc.pool.Driver connection pool class?
Hi all,
I am trying to use the JDeveloper IDE to generate code that I'll deploy on WebLogic
6.1.
I want to add the necessary files to the JDeveloper classpath so that during development
it can use my
weblogic connection pool. I've looked all over and can't seem to find it. It's
not in weblogic.jar. Anyone know
what file contains weblogic.jdbc.pool.Driver?
Thanks in advance,
NormThanks. I don't know how I missed it in the first place.
"Sree Bodapati" <[email protected]> wrote:
weblogic.jar
sree
"Norm Heske" <[email protected]> wrote in message
news:3ba246c2$[email protected]..
Hi all,
I am trying to use the JDeveloper IDE to generate code that I'll deployon
WebLogic
6.1.
I want to add the necessary files to the JDeveloper classpath so thatduring development
it can use my
weblogic connection pool. I've looked all over and can't seem to findit.
It's
not in weblogic.jar. Anyone know
what file contains weblogic.jdbc.pool.Driver?
Thanks in advance,
Norm -
JDBC Problems -- NoClassDefFoundError: weblogic/jdbc/wrapper/JTSConnection
Ben Belchak wrote:
Hi, newsgroup:
I have been developing with the Workshop for about a month now, and everything has been going great until last week. I have been connected and able to retrieve data from our AS/400 using the jt400 drivers, but all of a sudden something happened that caused me to get the following error. If anybody can assist, it would be greatly appreciated.
Some background: I have the JDBC JAR inside the classpath for my server, and it is loading it properly because I can test the connection pool from within the appserver's admin console.
In appserver:
java.lang.NoClassDefFoundError: weblogic/jdbc/wrapper/JTSConnectionHi. Did you get a response for this?
Make sure you don't have the JDBC jar in the client classpath too. Just make
sure it's in the server classpath. Let me know if that helps.
Joe
at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.securit
y.ProtectionDomain;)Ljava.lang.Class;(Unknown Source)
at java.security.SecureClassLoader.defineClass(Ljava.lang.String;[BIILja
va.security.CodeSource;)Ljava.lang.Class;(SecureClassLoader.java:123)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Ljava.l
ang.String;)Ljava.lang.Class;(GenericClassLoader.java:476)
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.S
tring;)Ljava.lang.Class;(GenericClassLoader.java:181)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;
(Unknown Source)
Inside browser:
An error has occurred:
EJB Exception: ; nested exception is:
weblogic.jws.control.ControlException: Exception in onAcquirecontext event handler[Context failure: onAcquire[Failed to Generate Wrapper Class.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
at weblogic.utils.wrapper.WrapperFactory.createWrapper(Ljava.lang.Class;Ljava.lang.Object;Z)Ljava.lang.Object;(WrapperFactory.java:183)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(ILjava.lang.Object;Z)Ljava.lang.Object;(JDBCWrapperFactory.java:171)
at weblogic.jdbc.jts.Driver.newConnection(Ljava.lang.String;Lweblogic.transaction.Transaction;Ljava.lang.String;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:737)
at weblogic.jdbc.jts.Driver.createLocalConnection(Lweblogic.transaction.Transaction;Ljava.lang.String;Ljava.util.Properties;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:197)
at weblogic.jdbc.jts.Driver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Driver.java:155)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection()Ljava.sql.Connection;(RmiDataSource.java:305)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getConnection()Ljava.sql.Connection;(DatabaseControlImpl.jcs:1424)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onAcquire()V(DatabaseControlImpl.jcs:1316)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang..Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:396)
at com.bea.wlw.runtime.core.container.Invocable.fireEvent(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Ljava.lang.String;Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:612)
at com.bea.wlw.runtime.core.context.WlwThreadContext.sendEvent(Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwThreadContext.java:980)
at com.bea.wlw.runtime.core.context.WlwThreadContext.raiseEvent()Ljava.lang.Object;(WlwThreadContext.java:910)
at com.bea.wlw.runtime.core.container.Container.raiseContextEvent()Ljava.lang.Object;(Container.java:567)
at com.bea.wlw.runtime.jcs.container.JcsContainer.onAcquire()V(JcsContainer.java:529)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:533)
at com.bea.wlw.runtime.jcs.container.JcsContainer.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(JcsContainer.java:480)
at com.bea.wlw.runtime.jcx.container.JcxContainer.preInvoke(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Request;(JcxContainer.java:110)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Invocable.java:187)
at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(JcsContainer.java:84)
at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(BaseContainerBean.java:198)
caused by: : weblogic.jws.control.ControlException: Exception in onAcquirecontext event handler[Context failure: onAcquire[Failed to Generate Wrapper Class.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
at weblogic.utils.wrapper.WrapperFactory.createWrapper(Ljava.lang.Class;Ljava.lang.Object;Z)Ljava.lang.Object;(WrapperFactory.java:183)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(ILjava.lang.Object;Z)Ljava.lang.Object;(JDBCWrapperFactory.java:171)
at weblogic.jdbc.jts.Driver.newConnection(Ljava.lang.String;Lweblogic.transaction.Transaction;Ljava.lang.String;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:737)
at weblogic.jdbc.jts.Driver.createLocalConnection(Lweblogic.transaction.Transaction;Ljava.lang.String;Ljava.util.Properties;)Lweblogic.jdbc.wrapper.JTSConnection;(Driver.java:197)
at weblogic.jdbc.jts.Driver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Driver.java:155)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection()Ljava.sql.Connection;(RmiDataSource.java:305)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getConnection()Ljava.sql.Connection;(DatabaseControlImpl.jcs:1424)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onAcquire()V(DatabaseControlImpl.jcs:1316)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:396)
at com.bea.wlw.runtime.core.container.Invocable.fireEvent(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Ljava.lang.String;Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:612)
at com.bea.wlw.runtime.core.context.WlwThreadContext.sendEvent(Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwThreadContext.java:980)
at com.bea.wlw.runtime.core.context.WlwThreadContext.raiseEvent()Ljava.lang.Object;(WlwThreadContext.java:910)
at com.bea.wlw.runtime.core.container.Container.raiseContextEvent()Ljava.lang.Object;(Container.java:567)
at com.bea.wlw.runtime.jcs.container.JcsContainer.onAcquire()V(JcsContainer.java:529)
at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:367)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.java:533)
at com.bea.wlw.runtime.jcs.container.JcsContainer.sendContextEvent(Ljava.lang.String;[Ljava.lang.Object;)Ljava.lang.Object;(JcsContainer.java:480)
at com.bea.wlw.runtime.jcx.container.JcxContainer.preInvoke(Lcom.bea.wlw.runtime.core.context.WlwThreadContext;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Request;(JcxContainer.java:110)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Invocable.java:187)
at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(JcsContainer.java:84)
at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(BaseContainerBean.java:198)
Message was edited by bbelchak at Aug 9, 2004 1:16 PM
Message was edited by bbelchak at Aug 9, 2004 1:20 PM
Message was edited by bbelchak at Aug 9, 2004 1:50 PM -
Can Oracle SQL Flavor be used When BC4J is deployed in WebLogic as EJB?
Hi,
Does anybodys know if Oracle SQL Flavor can be used When BC4J is deployed in WebLogic as EJB?
We succeeded in deploying BC4J to WebLogic 7.0 & 6.0, but we had to select the SQL92 option for SQL Flavor when the first BC package is created in a project. Selecting Oracle option for SQL Flavor will cause EJB to fail, and client get a ClassCastException.
We still want to use Oracle SQL, is it possible to use it with WebLogic?
Thanks.We figured out that Oracle SQL Flavor can be used with WebLogic, but only with DB connections created from JDBC URL, not work with DB connections from WebLogic connection pool.
-
Type cast weblogic.jdbc.wrapper.ResultSet to OracleResultSet
Hello, I have a application using Spring 3.5 , Hibernate 3.6 and deployed over weblogic 10.3.4.
This application running fine when i was using the c3po connection pooling, but when i switch to use the weblogic connection pooling, I started getting issues while retriving the XMLTYPE object from database.
This issue what i am facing is when i am trying to type cast the weblogic wrapper resultset to Oracleresultset i am getting a type casting issue.
Below is the code...
Can anyone please help me to find out how to type cast the weblogic wrapper objects. I am stuck on this issue for more thn a week now.. Please help me..
public Object nullSafeGet( ResultSet rs, String [ ] names, Object arg2 )
throws HibernateException, SQLException
System.out.println("rs ========= "+rs.getClass());
System.out.println("rs ========= "+rs.getClass().getName());
weblogic.jdbc.wrapper.ResultSet wlsResultSet = (weblogic.jdbc.wrapper.ResultSet) rs;
System.out.println("wlsResultSet ========= "+wlsResultSet.getClass().getName());
OracleResultSet oracleResultSet = (OracleResultSet) wlsResultSet.getVendorObj();
System.out.println("ors ========= "+oracleResultSet.getClass().getName());
XMLType xmlType = XMLType.createXML(oracleResultSet.getOPAQUE(names[0]));
//XMLType xmlType = (XMLType)rs.getObject(names[0]);
return (xmlType != null)?xmlType.getDOM():null;
}Wrong forum, try WebLogic Server - General
Frank
Maybe you are looking for
-
How much are early termination fees? I have 4 lines, 3 of which expire 10-2015 and 1 in Dec 2014. Is there any creative ways to get out????
-
How can I get my Ipod to play on someone elses computer?
How can I get my Ipod classic to play on someone elses computer. Not my home computer where my library is stored?
-
My Apple TV gen 3 has stopped downloading shows from Netflix. All I get is an error message. I have logged out and back into Netflix. All of my other Apple products work well with Netflix.
-
Webservice invocation question ?
hi, i had never create nor call a webservice... here the work i have to do : my environnement is : weblogic 8.1, J2EE 1.3, eclipse. i am developping a web application, this web applciation has a login form to enable user to connect to the application
-
Wanting to cascade 2 Linksys WRT310N wireless routers
What would be the most likely settings for cascading a pair of WRT310N wireless routers together so that 1) all computers on the network operate as if it's a LAN, 2) all retain gigabit 'wired' capability, and 3) both routers can also be used as wirel