WebLogic 8.1 to 9.2 migration
We have migrated from BEA webLogic 8.1 to 9.2.
The request.getParameter values in the JSPs are getting set to "null" on page load in webLogic 9.2.
But, the same are getting set to a blank ( "" ) in webLogic 8.1
Also, no code changes have been made during the migration.
The exception is:
java.lang.ClassCastException: weblogic.logging.commons.LogFactoryImpl
Ensure your upgraded Enterprise Archive does not contain weblogic logging framework files.
The problem is WebLogic 9.x onwards all these third party libraries are deployed as a part of the application as shared libraries.
To prove this, create a new WebLogic Portal 9.2 project and try to deploy a simple JSP portlet. If this works then there is something wrong with the upgraded EAR.
Similar Messages
-
WebLogic 8.1 to 9.2 migration errors
Hi,
We have migrated from BEA webLogic 8.1 to 9.2.
The request.getParameter values in the JSPs are getting set to "null" on page load in webLogic 9.2.
But, the same are getting set to a blank ( "" ) in webLogic 8.1
Also, no code changes have been made during the migration.
Could you kindly advice us on the same.I've got the exakt same problem using weblogic.Deployer .... -appversion, weblogic 10.0 in this case. Works fine with our new jaxws based webservices.
Would be nice if this problem was solved, especially since weblogic10 resolves softlinks so our old method of linking to new versions doesn't work anymore. And the fact that "Changing the source location is not allowed for a previously attempted deployment" doesn't help either. -
Oracle weblogic Server 10g R3 -manual JMS migration and reverse migration
Folks
we are trying to use manual JMS migration with WLST scripts /console and noticed several issues in Oracle weblogic serevr 10g R3 .(Currently not interested in using automatic server migration stuff)
1)Our use case is to be able to manually migrate JMS with persistent file store in case of long lasting hardware failure (so we need this working with the source server down)
Here are my observations
1) The console based manual migration works only when both the source and destination are up (ie for doing migration during scheduled maintainance and not for our use case)
2) i tried wlst scripts which works partially for our use case
wls:/jmsmigrationclustertestdomain/edit !> migrate('sb_ms1', 'sb_ms2','true','fa
lse','all')
Migrating JMS and JTA services from 'sb_ms1' to destination 'sb_ms2' ...
Migration completed successfully.
question is how do you migrate this back (reverse migration)
I tried a couple of wlst scripts which all were unsuccessful in migrating the services back. Syntax is also extremly confusing as the weblogic.Admin commands seem to be aware of "migratable targets" (such as "sb_ms1 migratable") but WLST doesnt seem to understand "sb_ms1 migratable"
If I just restart sb_ms1 without running any scripts, it complains about JMS artifacts(not being present) as they are migrated onto the other instance
I have this whole setup working on 9.2mp3 with weblogic.admin scripts
Thanks for any guidance on thisHi,
I guess you are using the default (system generated) migratable target names for the clustered servers, that have names ends with "(migratable)".
Are you performing the migration from "wls:/YOUR_ADMIN_SERVER_NAME/domainRuntime/MigratableServiceCoordinatorRuntime/the-MigratableServiceCoordinator" ?
Can you please post the exact WLST commands that you tried, syntax of the arguments and any erorr messages taht you have got while performing this operation?
Thanks
Kats -
Weblogic 8.1 to 10.1 migration
Hi,
I'm trying to migrate from weblogic 8.1 to 10.1 i'm getting the following error after starting the server.Can anybody help me out?
java.lang.ClassCastException: com.sun.faces.application.WebappLifecycleListener
at weblogic.servlet.internal.WebComponentContributor.createListenerInstance(WebComponentContributor.java:219)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:354)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:97)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:66)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1742)
Truncated. see log file for complete stacktrace
>
<Jun 24, 2009 11:51:57 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NullPointerException.
java.lang.NullPointerException
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:235)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:459)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:187)
Truncated. see log file for complete stacktrace
>
<Jun 24, 2009 11:51:57 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'D7D'.
weblogic.application.ModuleException: [HTTP:101163]Could not load user defined listener: com.sun.faces.application.WebappLifecycleListener
java.lang.ClassCastException: com.sun.faces.application.WebappLifecycleListener
at weblogic.servlet.internal.WebComponentContributor.createListenerInstance(WebComponentContributor.java:219)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:354)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:97)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:66)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1742)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:975)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: com.sun.faces.application.WebappLifecycleListener
at weblogic.servlet.internal.WebComponentContributor.createListenerInstance(WebComponentContributor.java:219)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:354)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:97)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:66)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1742)
Truncated. see log file for complete stacktraceI would strongly recomment NOT to refer the old 8.1 version weblogic.jar file in your 10.x version application. This will end up with lots of issues and simply not supported at all. There are lots of classes that still exist in both the weblogic.jar files but the internal implementation may be changed. So this is not your option. Check if this your missing class is in any other .jar file like wls-api.jar or wlfullclient.jar file in 10.x. If you have any JAR File search utility to search for a .class file in *.jar files, use that.
Starting WLS 9.x and in 10.x, Weblogic Uses Shared Modules Concept. So many of classes from weblogic.jar may be in different modules (.jar files).
OK, just now I checked, and I DO see your this class "TypedFM32.class" in "wlfullclient.jar" which is at: C:\beawlp103\wlserver_10.3\server\lib\wlfullclient.jar. BUT you may not have this wlfullclient.jar by default out of box. You can create this very easily based on this following link. Once you create this .jar file, refer this file in classpath. This is totally valid and supported also. Refer the links below for more details.
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html (Refer this to generate "wlfullclient.jar")
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/basics.html#wp1069994
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/index.html
HTH
Ravi Jegga -
Weblogic 12c, is it possible to migrate Oracle forms and reports (legacy)
Hi Guys
Is it possible to host Oracle forms & reports based application using Weblogic Server 12c? The documentations do not exclusively confirm the same, other than the ability to use applications in cloud. We are planning to move to web, as we are running into multiple issues with client/server (6i) applications on both Windows 7/8 OS
regards,
rajHi Raj,
These are the steps I did for our OAS upgrade in an xterm session :
Installed weblogic 10.3.4 software (replace this with 10.3.[5/6]) (do not create domain,, just install the software) remember to user OFA for your pathing, it will help if you start using more middleware products /u01/oracle/Middleware for example would be the middleware home with wlserver_10.3 beneath that
Install install forms & reports again software only (if you go down the PFRD route, you have to install the 11.1.1.2.0 install and then patch to 11.1.1.4.0 and patch again to 11.1.1.6.0 (install takes 80 minutes, each patch about 50 minutes) for the install you choose all software
setup you environment have your jave home set (use jdk 1.6.0 u24 - 33 ) you might get issues trying to use java 7 (thats a seperate upgrade process)
cd $ORACLE_HOME/bin (this would be /u01/oracle/Middleware/<install of binaries path>/bin)
./config.sh &
choose your domain name wisely the default is classic_domain, I changed ours to FormsReports (what ever you chose will appear in your file path and process paths)
admin user and passowrd etc..
for the software config select all and un-select the discoverer and portal option leave everything else (we do deployed realtime compilation from source controlled libaries so we have installed the compilers also)
the config.sh once your get to the configure summary, will create your node manager, weblogic domain, AdminServer, WLS_FORMS and WLS_REPORTS managed servers, once the configure completes and exits you'll be able to http://localhost:7001/console
You'll need the below info to restart the JVM's the installers starts each jvm by the scripts located below (with no nodemanager setup)
your .profile settings will need the PATHS for $ORACLE_HOME/bin, $JAVA_HOME/bin setting as well asn your /usr bin settings, LD_LIBRARY_PATH will need $ORACLE_HOME/lib, $JAVA_HOME/lib
also create aliases for your domain home $domain_dir = /u01/oracle/Middleware/user_projects/domains/classic_domain under the bin directory will be the startweblogic script and start manageded servers scripts (manual) i'll leave the fun of automation up for you :) there are enough blogs and 3 different ways of doing it, the node manager startup script is in $WLS_HOME/server/bin
to configure your forms.cfg, httpd.conf etc you will find all those in
$mwHOME/instance/config (or whatever you had your instance path set to), the forms.cfg and default.env files are DEEP down the root 7 or 8 sub directories down so make a symlink once you locate it) you can reuse most of your default.env and forms.cfg settings form your 6i install
and good luck
the above is pretty much what i did if you want step by step guides again there are enough blogs you can google to cover installing, configuring, autostartup(node manager setup)
Remember to Patch the bsu (BEA Smart Update with version 3.30 so you can apply CPU weblogic patches, theres one for JAN 2013 for 11.1.1.6.0) weblogic does not use OPatch regardless of what the readme file says :)
Edit: Almost forgot your opmn services, in your profile set ORACLE_INSTANCE=$mwHOME/instance (/u01/oracle/Middleware/instance) then you can run opmnctl (add $ORACLE_HOME/opmn/bin to path)
opmnctl status
Processes in Instance: PFRD_Inst
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
emagent_PFRD_Inst | EMAGENT | 29078 | Alive
RptSvr_hostname_PFRD_Inst | ReportsServerComp~ | 29075 | Alive
webcache1 | WebCache-admin | 29073 | Alive
webcache1 | WebCache | 29074 | Alive
ohs1 | OHS | 29072 | Alive
remember your opmn services look after the apache server and webcache if these aren't running you r will get forms/reports errors, like backend bridge failure if ohs is down, or nothing displayed 404 errors if webcache is down
Mark
Edited by: 992409 on 02-Apr-2013 09:44 -
Like to migrate SRDemo from OC4J to Weblogic 10g but in vain
Hi all experts,
I'm newbie in WebLogic Server Admin.
I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
Connection name SRDemo not defined -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
What can I do ?CillyBanZorLore wrote:
Hi all experts,
I'm newbie in WebLogic Server Admin.
I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
Connection name SRDemo not defined -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
What can I do ?WAR SR Demo requires "SRDemo" connection . Have you provided it yet ? -
Migrating RDBMS Realm to Weblogic 7
Hi All,
We've defined a RDBMS Security Realm in Weblogic 6.1. We want migrate
to weblogic 7.0. But theres no such thing as RDBMS Security Realm in
weblogic 7.0 . Can somebody help me with this.
With Thanks and Regards
VigneshwaranPlease post this in the security newsgroup.
-- Rob
Vigneshwaran wrote:
Hi All,
We've defined a RDBMS Security Realm in Weblogic 6.1. We want migrate
to weblogic 7.0. But theres no such thing as RDBMS Security Realm in
weblogic 7.0 . Can somebody help me with this.
With Thanks and Regards
Vigneshwaran -
Deployment failing after filer migration in weblogic
Hi, We have used weblogic on Netapps Filer, recently we migrated from Netapps to Sun filer and after this deployment issue came up. The deployment fails for 2-3 times with the following error "java.lang.NoClassDefFoundError: flex/messaging/license/AsnDecoder" and after that it deploys successfully.
We have used Netapps for more than 3 years without any deployment issues.
Can someone please let us know if you faced such problem...and what was the resolution."java.lang.NoClassDefFoundError: flex/messaging/license/AsnDecoder"
This indicates that the 'deployment' is missing the class that it uses for something.
What you need to do is find the .jar file that includes the class. After some Googling it is found that flex-messaging-req.jar contains the class ( Download flex-messaging-data-req.jar : flex&nbsp;&laquo;&nbsp;f&nbsp;&laquo;&nbsp;Jar File Down…) - hope it is the right version. -
Migrating weblogic project into Jdeveloper
Hey everyone, I am quite new to the world of websevices. for my final year project i have to use an existing web application which uses 3 web services and implement BPEL into it. they existing webapplication has been developed into weblogic. I would like to migrate the applications and the webservices into jdeveloper first and then implement BPEL into it
any help would be much appreciatedok - for 10.1.3 the three key combination is not there - it is in there for 11 - if you can I would highly recommend using this new version.
There is however an extension that will let you search for files in your project in 10.1.3 - http://blogs.oracle.com/shay/2007/07/sample_jdeveloper_extension_go.html
For the JSP and HTML things you'll want to set the "web appliaction" content directory under the project properties->content node.
Something similar to what they are doing here:
http://www.oracle.com/technology/products/jdev/howtos/1013/w4wljdev/workshopandjdev.html -
Error while deploying application on weblogic server
Hi,
I have created webservice and deployed on weblogic server.
Earlier it was working fine. I added some logger and trying to redeploy it.
But it gives following error.
Weblogic Server Exception: java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
[12:46:48 AM] See server logs or server console for more details.
[12:46:48 AM] java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
[12:46:49 AM] #### Deployment incomplete. ####
[12:46:49 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Can anybody help me out..
Thanks in advance.Hi,
I am newbie for web service Need your help.
I am having well developed webservice project with apache cxf 2.2.3 and working fine on Weblogic server 10.3
But After migration from 10.3 to 10.3.4 Facing below problem.
While calling call back service of third party it is giving warning messages like
12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry*.registerSerializersAndTypes()*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
I tried Below solutions
1. I added com.oracle.ws.orawsdl_1.3.0.0.jar file in web service application provided the required clssess to resolve the issue. Now getting below exceptions
But getting Exception related org.apache.cxf.wsdl.WSDLManager as it is referenced from my beans.xml import some xml file from cxf 2.2.3.jar and due to
above jar, the WSDL4J.jar is not getting deployed and throwing getElementType() menthod not found exception while creating bean class for Webservice.
2. Now I just rename this jar file so that I can expose WSDL, But getting below exception after calling call back servic
12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry.registerSerializersAndTypes*(com.ibm.wsdl.extensions.PopulatedExtensionRegistry)*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
After investingation I found that in cxf 2.2.3.jar there are some classes which are also present in com.oracle.ws.orawsdl_1.3.0.0.jar.
now in this case deployer is able to find out the call but signature is getting mismatch, because com.ibm.wsdl.extensions.PopulatedExtensionRegistry is referred from cxf2.2.3.jar file.
Looking for your response.
Thanks In Advance. -
Creating txn datasource in weblogic 10.3
Hi,
Can anyone help me to create transactional datasources in weblogic 10.3. We are migrating our application from 8.1 to 10.3 and migrated existing datasources to 10.3. While executing ejb's it is giving the following error.
java.sql.SQLException: Connection has already been created in this tx context for pool named <Pool 1> Illegal attempt to create connection from another pool: <Pool 2>
In 8.1, we have only one connection pool associated with many txn datasources. In 10.3 created separate pool for each data source from same DB with following properties for txn.
--Supports global transaction with one-phase commit.
Used oracle.jdbc.OracleDriver driver class.
Thanks in advance.You need to use an XA driver to span multiple resources such as oracle.jdbc.xa.client.OracleXADataSource
See this article, which has some info on XA even if you aren't using RAC
http://www.oracle.com/technology/products/weblogic/OracleWLS_RAC.pdf -
Hi,
what are trouble shooting issues that we face in a real time environment while working on weblogic.
how to apply fixpacks and servicepacks to weblogic.
Finally, How do we migrate from weblogic 9.0 to 10.3. I dont find any material on how to do that on the internetTroubleshooting:
Not sure what you mean here. See WLDF:
http://download.oracle.com/docs/cd/E12839_01/wls/docs103/wldf_configuring/intro.html
Maintenance Packs
Use Smart Update - Support can help you if you have questions about how to use it.
Upgrade from 9.x to 10.3:
http://download.oracle.com/docs/cd/E12839_01/wls/docs103/upgrade/upgrading9091.html
http://download.oracle.com/docs/cd/E12839_01/wls/docs103/upgrade/index.html -
Weblogic 8.1 Connection Pool and jta
Hi ! I am getting the below exception while migrating my application from weblogic
6.1sp2 to weblogic 8.1. When I migrate to weblogic 7.0 sp2 there are no problems.
The problem occurs specifically when I save an record using a container managed
transaction thru a stateless session bean. The save itself works, but when I
refresh my JSP, I get the following exception. Keep in mind that the same application
works fine in 7.0.
Thanks,
Eddie
java.sql.SQLException: Cannot obtain connection: driverURL = jdbc:weblogic:pool:Sybdev07Pool,
props = {enableTwoPhaseCommit=true, jdbcTxDataSource=true, connectionPoolID=Sybdev07Pool,
dataSourceName=sdaapadrDB}. Nested Exception: java.lang.RuntimeException: Failed
to setAutoCommit to true for pool connection. at weblogic.jdbc.wrapper.PoolConnection.init(PoolConnection.java:38)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:248) at weblogic.jdbc.pool.Driver.connect(Driver.java:158)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:444) at weblogic.jdbc.jts.Driver.connect(Driver.java:138)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
atHi Eddie,
"Eddie Baue" <[email protected]> wrote in message
news:[email protected]...
In addition to the exception below, which is displayed on the browser,the
weblogic server log has the following error:
####<Aug 1, 2003 11:50:24 AM EDT> <Warning> <JDBC> <6X19DYSZH1ZV><wla_adruat>
<Finalizer> <<anonymous>> <> <BEA-001074> <A JDBC pool connection leak wasdetected.
A connection leak occurs when a connection obtained from the pool was notclosed
explicitly by calling close() and then was disposed by the garbagecollector and
returned to the connection pool. The following stack trace at create showswhere
the leaked connection was created. [Null exception passed, creating stack
trace> for offending caller
atweblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.PoolConnection.finalize(PoolConnection.java:69)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)The only case it's possible is when the weblogic.jdbc.wrapper.PoolConnection
failed during instantiation process and GC kicked in before the
Throwable holding stack trace at create was initialized.
I believe this is the result of the exception below and you can not see
this under normal circumstances.
Regards,
Slava Imeshev
>
Any info would be greatly appreciated.
Thanks,
Eddie
"Eddie Baue" <[email protected]> wrote:
Hi ! I am getting the below exception while migrating my application
from weblogic
6.1sp2 to weblogic 8.1. When I migrate to weblogic 7.0 sp2 there are
no problems.
The problem occurs specifically when I save an record using a container
managed
transaction thru a stateless session bean. The save itself works, but
when I
refresh my JSP, I get the following exception. Keep in mind that the
same application
works fine in 7.0.
Thanks,
Eddie
java.sql.SQLException: Cannot obtain connection: driverURL =
jdbc:weblogic:pool:Sybdev07Pool,
props = {enableTwoPhaseCommit=true, jdbcTxDataSource=true,connectionPoolID=Sybdev07Pool,> >dataSourceName=sdaapadrDB. Nested Exception: java.lang.RuntimeException:
Failed
to setAutoCommit to true for pool connection. at
weblogic.jdbc.wrapper.PoolConnection.init(PoolConnection.java:38)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:248) atweblogic.jdbc.pool.Driver.connect(Driver.java:158)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:444) atweblogic.jdbc.jts.Driver.connect(Driver.java:138)
atweblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
:298)
at -
Server Certificate on Weblogic 8.1
Hi. I know it is really dumb to ask these questions but I urgently need to know these as I am on a very tight project schedule. So can someone please enlighten me.
1. If I use SSL protocol and configure to use server certificate, may I know when someone enter my URL, will internet explorer prompt my client for certificate?
2. Do I really need SSL for configuring Certificate? If I do not use, can I still configure and use Server Certificate?
3. Can I reuse the server certificate on my Weblogic 5.1 to Weblogic 8.1 since I am migrating from WL5.1 to WL8.1?
My certificates files in WL 5.1 are in the form of *.pem
CheersIf you get (for example) a 128-bit SSL certificate from Verisign you need to specify a Certificate Signing Request (CSR). This is unique for each server. If you have upgraded your server and the CSR generated from the weblogic CSR generator servlet is the same as it was in the previous version, then I guess you can use the same certificate. If the CSR has changed then I think you will need to replace the certificate, this costs $100. If it's been less than 30 days since your certificate was issued, it's free.
-
Rwclient is failed to use in jdev 11g + weblogic 10.3.x
Hi all
Recently we have migration from jdev 10g / 10g AS to jdev 11g / weblogic 10.3.x. After migration we found the reporting function using rwclient is failed to run.
We then discovered the report can be run by using url calls rwservlet (http://server/reports/rwservlet?...). Anyone know how rwclient works and how rwclient
locate reports server instance. Thanks
The setting in web.xml is
<servlet>
<servlet-name>rwservlet</servlet-name>
<servlet-class>oracle.reports.rwclient.RWClient</servlet-class>
<load-on-startup>yes</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>rwservlet</servlet-name>
<url-pattern>/rwservlet*</url-pattern>
</servlet-mapping>
PS. we also migrated report server to 11g and running on weblogic.
Cheers
Chris
Edited by: Nexus Chris on Jul 3, 2012 1:40 PMBest asked in {forum:id=84}
Maybe you are looking for
-
CallableStatment work in 8.1.5 not in 8.1.6
I wrote a callable statement that work with 8.1.5 but it doesnt work with 8.1.6. Ive got a connection and get a scrollable reasltset but a procedure that update The data base the doesnt work. I get sql exception and a questions marks ?????? ???? ???
-
How to set and test a USB keypad device in VISA Raw mode
I can setup a simplified USB keypad device using NI-VISA Raw mode but I can't seem to read interupt data from the device. Basically, I want to be able to push a button on the USB keypad device and then read the output hex code using LabVIEW. Do I hav
-
Netbeans palette does not work
Hi. I've had problems with Netbeans and JavaFX. I downloaded Netbeans 7.2 (SE) and JavaFX SDK 2.1 and I can create a JavaFX application in NetBeans normally, but I can not access the palette of componets of JavaFX. Actually, the palette is empty. Doe
-
OK image looks great in LR...RAW shot with 5D and edited in LR. Export to desktop,flickr,for email, ANYWHERE I export as jpeg...the color changes. Skin is orangy and yellowie and not pretty. Here is a link to the example. http://www.flickr.com/photos
-
Synchronous asynchronous update
what is difference between synch and asynch update??? how it affects database update???