Bea weblogic 6.1 does not oracle Database fail over
Hi We had Concurrency Strategy:excusive . Now we change that to Database for performace
reasons. Since we change that now when we do oracle database fail over weblogic
6.1 does not detect database fail over and it need restart.
how we can resolve this ??
mt wrote:
Hi We had Concurrency Strategy:excusive . Now we change that to Database for performace
reasons. Since we change that now when we do oracle database fail over weblogic
6.1 does not detect database fail over and it need restart.
how we can resolve this ??Are your pools set to test connections at reserve time?
Joe
Similar Messages
-
Weblogic 7.0 SP1 JDBC Multipooling does not appear to fail over consistantly
We are running Weblogic Platform 7.0 SP1 on a Sun with Solaris 8 O/S
We have a connection multipool set up associated with a Data Source.
The multipool has two connection pools, each pointing to a seperate but
Identical database. The multipool is created with the high availability algorithm
set.
both connection pools have the following settings:
(Connections Tab) (Testing Tab)
Initial Capacity:0 Test Table Name: dual
Maximum Capacity: 20 Test Reserved Connections: Checked
Capacity Increment: 2
Login Delay Seconds: 2
Refresh Period: 15
Allow Shrinking: Checked
Shrink Period: 15
When the first database goes down for a backup, We can see the exceptions thrown
from the
broken acitve connections, which would be expected. But we also notice a significant
response time increase (3-7 seconds) and we notice continuing exceptions from
what appears to be the application EJB still attempting to connect to the first
instance. It is only when a DISABLE_POOL is issued using the command line interface
to disable the first pool in the multipool that the response time drops to normal
and the exceptions stop. The exceptions don't happen for every query, but we cannot
understand why the test-on-reserve doesn't seem to always work.
Any help would be appreciatedThis is known behavior of the "high availability" algorithm for multipools.
Whenever a multipool is asked for a connection, it will always try the first pool first
(unless it has been diabled). The algorithm doesn't remember that it had trouble with
the first pool and start with the second pool (e.g., put the first pool at the end of the circular list
of pools to be tried). This is the way it was designed (in my opinion, this defies the
principal of least astonishment, but not everyone agrees with me).
We are planning to add a new algorithm in the next release that does keep state.
The way it currently works, it depends on how long it takes to figure out that
the first pool is not available. This depends on the database client driver and
the network connection (it could take from 100ms to multiple seconds to minutes
to figure it out).
"Joe Doyle" <[email protected]> wrote in message news:[email protected]...
>
We are running Weblogic Platform 7.0 SP1 on a Sun with Solaris 8 O/S
We have a connection multipool set up associated with a Data Source.
The multipool has two connection pools, each pointing to a seperate but
Identical database. The multipool is created with the high availability algorithm
set.
both connection pools have the following settings:
(Connections Tab) (Testing Tab)
Initial Capacity:0 Test Table Name: dual
Maximum Capacity: 20 Test Reserved Connections: Checked
Capacity Increment: 2
Login Delay Seconds: 2
Refresh Period: 15
Allow Shrinking: Checked
Shrink Period: 15
When the first database goes down for a backup, We can see the exceptions thrown
from the
broken acitve connections, which would be expected. But we also notice a significant
response time increase (3-7 seconds) and we notice continuing exceptions from
what appears to be the application EJB still attempting to connect to the first
instance. It is only when a DISABLE_POOL is issued using the command line interface
to disable the first pool in the multipool that the response time drops to normal
and the exceptions stop. The exceptions don't happen for every query, but we cannot
understand why the test-on-reserve doesn't seem to always work.
Any help would be appreciated -
IIS proxy 5.1 and Weblogic 6.1 does not support sticky session
Dear Sir,
Our system is migrating from Weblogic 5.1 to Weblogic 6.1. After testing on
development environment, it is found that IIS proxy for 5.1 plug-in and Weblogic
6.1 server is perfect match for our case. Since our appliction system hit some
bugs of IIS proxy for 6.1. In development environment, one IIS match with one
Weblogic.
During production launch, another problem found. It seems that IIS proxy 5.1
plug-in with Weblogic 6.1 does not support the sticky load balancing. A sticky
service is one where a client sends its requests to the same instance and those
requests are not redirected to other instances. In production, two IIS match with
two Weblogic. Below is
#WebLogicHost=10.0.3.12
#WebLogicPort=8012
WebLogicCluster=10.0.3.12:8012,10.0.3.13:8012
COnnectionTimeoutSecs=10
ConnectionRetrySecs=2
ErrorPage=https://www.xxxx.com/eBank/sysnotready.htm
CookieName=eBankingWebLogicSession
Anyone have idea on out case?
Thanks,
KAIMy test was with 6.1 SP3.
The way to tell is by analyzing the cookie(JSESSIONID).
Perhaps the behaviour changed post SP1. I can't say for sure.
Eric
"Gary Rudolph" <[email protected]> wrote in message
news:[email protected]...
Is that entirely true concerning you don't need the persistence set to
replicated in the weblogic.xml to gain sticky load balancing?
The reason I ask was that in our situation sticky wouldn't work without
having the persistence set to replicated. This was with NSAPI and WLS 6.1
SP1. The weblogic servers were configured in a weblogic cluster. So..based
on this statement we should not have needed to set the persistence, but in
practice we did for it to work.
Gary
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
I just checked, and you are correct. You just need to have clustering
enabled in 6.1. You do not necessarily need to have persistence set to
replicated.
Of course, you won't get failover, but you will get the sticky load
balancing.
Regards,
Eric
"Ricky Wong" <[email protected]> wrote in message
news:[email protected]...
Why do we need to set session persistence to replicate in order to
perform
sticky load balancing ? There is no such requirement in WebLogic 5.1.
As
far
as I know, the IIS plugin simply interprets the value of the sessioncookie,
which should be embedded with the application server address, then
forward
the request to that particular application server.
We didn't use session replication in our environment because not allsession
variables are serializable.
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
The problem you mentionned in the other newsgroup post has been
fixed
and
will be in SP4. If you are in production or nearing production and
need
a
resolution now, then please open a case with support.
You should not need any other parameters to do the load balancing.
But
to
have the sticky load balancing, you must make sure you have session
persistence set to replicated for the webapp in question.
I'm not sure I am understanding your 3rd question.
In any case, my advice is to either wait for SP4 to bereleased(scheduled
sometime this month) or if you really need to go into production
soon,
contact support to obtain the latest IIS plugin.
Regards,
Eric
"Mike" <[email protected]> wrote in message
news:[email protected]...
Dear Eric,
Thanks very much for you kindly information, but we still have thefollowing issues
regarding the WL IIS proxy:
1. We have already tried the IIS proxy that comes with WL6.1 SP3.However, the
result from that version of IIS proxy is not satisfactory, as weexperienced cases
where the web page is not displayed correctly (as in
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.develo
per.interest.plug-in&item=994&utag=).
If there is any IIS proxy released after WL6.1 SP3, Could you
kindly
give
us
a pointer to the plugin?
2. In WL5.1 case, we are only required to have "WebLogicCluster"
parameter
set
to two weblogic servers in order use the load balancing features.
In
WL6.1, we
do not come across any additional settings required to support
load
balancing.
Is there any such settings required (e.g. in
config.xml,weblogic.xml,
application.xml,
etc?)
3. Does WL IIS proxy problem has anything to do with the version
of
the
IIS server/windows
versions that are using? we have already tried with IIS4 and IIS5
and
have
different
kinds of issues.
Thanks in advance for your kind assistance.
Mike
"Eric Gross" <[email protected]> wrote:
Yes, the session format has changed when using clustering and you
cannot
use
the 5.1 plugin to proxy to 6.1.
What problems did you have using the 6.1 plugin? Maybe you need
the
latest
6.1 plugin.
Regards,
Eric
"KAI" <[email protected]> wrote in message
news:[email protected]...
Dear Sir,
Our system is migrating from Weblogic 5.1 to Weblogic 6.1.
After
testing on
development environment, it is found that IIS proxy for 5.1
plug-in
and
Weblogic
6.1 server is perfect match for our case. Since our appliction
system
hit
some
bugs of IIS proxy for 6.1. In development environment, one IIS
match
with
one
Weblogic.
During production launch, another problem found. It seems
that
IIS
proxy 5.1
plug-in with Weblogic 6.1 does not support the sticky load
balancing.
A
sticky
service is one where a client sends its requests to the same
instance
and
those
requests are not redirected to other instances. In production,
two
IIS
match with
two Weblogic. Below is
#WebLogicHost=10.0.3.12
#WebLogicPort=8012
WebLogicCluster=10.0.3.12:8012,10.0.3.13:8012
COnnectionTimeoutSecs=10
ConnectionRetrySecs=2
ErrorPage=https://www.xxxx.com/eBank/sysnotready.htm
CookieName=eBankingWebLogicSession
Anyone have idea on out case?
Thanks,
KAI -
Import app to svn when run app package weblogic.xml.process does not exist
Hi,
i am versioning my adf application to a server with subversion, the initial import of the application works ok, but when i tried to run it, it does not found all weblogic classes.....
Error(16,28): package weblogic.xml.process does not exist
Error(6,25): package weblogic.security does not exist
Error(8,34): package weblogic.security.services does not exist
Error(9,33): package weblogic.servlet.security does not exist
Error(39,36): cannot find class SimpleCallbackHandler
Error(41,26): cannot find variable Authentication
Error(42,6): cannot find variable ServletAuthentication
any ideas??
thanks.Hi,
i am versioning my adf application to a server with subversion, the initial import of the application works ok, but when i tried to run it, it does not found all weblogic classes.....
Error(16,28): package weblogic.xml.process does not exist
Error(6,25): package weblogic.security does not exist
Error(8,34): package weblogic.security.services does not exist
Error(9,33): package weblogic.servlet.security does not exist
Error(39,36): cannot find class SimpleCallbackHandler
Error(41,26): cannot find variable Authentication
Error(42,6): cannot find variable ServletAuthentication
any ideas??
thanks. -
JBuilder Personal does not allow database access ?
Hi friends,
JBuilder Personal does not allow database access ?
Thanks,
MYIJBuilder 5 Personal doesn't allow drag and drop capabilities for Database Express. Borland has disabled many of the programs features in the free downloadable version.
However, there are still many ways to access a database, you just have to do it yourself. For instance you can use the JDBC-ODBC bridge to connect to a MS Access database and there is plenty of on-line documentation on how to do this.
hope this helps. -
It is true that Weblogic 10.3 does not support the 1.2.840.113549.1.1.11. - SHA1 with RSA signature encryption?
Refer: Re: SSL not working with 10.3 and jdk 1.6.0_13
-Akshay -
Hi All,
im having trouble few days now , i hope someone can give me a lead here.
i have a director mx file written in arabic, i open it in Director 11.5, the file behave strangely, very slow publishing process, very slow access to the xtra list.
after publishing (shockwave and html), i open the html, the preloaded start to run but i can see its not reaching 100%, after a while i get the error massage:
"This application required an Xtra (ActiveX...) that either does not exist or failed..." and firebox or IE crashes.
In the movie extra list (Modify menu) i can see all extras, and all have "download if needed", but in ActiveX the "download if needed" grays out. i have no idea why
things i try with no success:
uninstall and reinstall shockwave player
check the same file in another machine
exclude and include xtras in Publish Settings > Files
add activex.x32 from other places
Hope for good news
Win Xp sp3
Thanks
ShayIn the movie extra list (Modify menu) i can see all extras, and all have "download if needed", but in ActiveX the "download if needed" grays out. i have no idea why
Because AX controls aren't SW-safe. You will have to redesign your file to remove the ActiveX control if you want it to run in a browser. -
As I record, it shows the green bars; however, when I play the recording it does not play my voice over at all nor show the green bars. I was mid-way through my project when this problem occured. HELP!!!!
As far as I can see, it's random. Everything. Nothing makes any sense!
A the moment, the iPhone is playing music with the SIM card, but without anything plugged into it, but it's occasionally fading in and out.
Oh, and I doubt this is related, but about two months ago the iPhone failed to show that the battery was draining - it was stuck at 100%. This went on for a few days, it wouldn't even warn me at the 20% mark, it would just shut off. This happened for at least three full charges - I remember at one point it suddenly started working again at about the 70% mark, I'm not sure if it was alright after that or if it went glitchy on the next charge... but in any case, the problem mysteriously never reappeared after those few days.
Message was edited by: Shiranai -
Running an exe from within Oracle WebLogic 10g R3 does not find dll
Hi,
I am facing a strange issue with Oracle WebLogic 10g R3.
I use the code as shown in Listing 1 below to run a windows based application exe (batch job) from within my web application hosted on Oracle WebLogic 10g Release 3.
Note that this code woks fine on Tomcat 6.x and OC4J (JDeveloper TP4).
The exec gets executed but the log of the exe program shows it could not load certain DLLs.
Note that these DLLs are in the same directoy as the Batch program and this directory is in the PATH.
Running through simple Java Program Successful*
When I run the same program from a java program it runs successfully. So this means some WebLogic environment does not get set properly.
Running directly BatchProg.exe rather than cmd.exe fails*
Also note that when I run the exe directly e.g. BatchProg.exe rather than through cmd.exe it gives me a error the system did not find the file specified.
CreateProcess error=2, The system cannot find the file specified with cause java.io.IOException: CreateProcess error=2, The system cannot find the file specified
Listing 1:*
String[] commandArgs = new String[|http://forums.oracle.com/forums/] { "cmd.exe", "/C", "BatchProg.exe \"param1\" \"param2\" " },null , l_workingDir)
Runtime rt = Runtime.getRuntime();
Process proc;
proc = rt.exec( commandArgs, envParams, workingDir );
ProcessIO errStream = new ProcessIO( proc.getErrorStream(), "ERROR");
ProcessIO outStream = new ProcessIO( proc.getInputStream(), "OUTPUT");
errStream.start(); // process any errors from the command
outStream.start(); // process any output from the command
System.out.println("Error=" +errStream);
System.out.println("Out" + outStream);
return (p_waitToFinish ? proc.waitFor() : this.SUCCESS);OK.
I have posted this on the WebLogic Forum.
Thanx. -
BEA WebLogic 8.1 server not booting after adding a security realm
Hi,
I have added my own security realm for BEA WebLogic Server 8.1.
However, when I try to boot the server using this realm, it simply hangs. I cannot
take thread dumps as the server java process does not respond to "kill -3 PID"
(after the server has hung).
When I looked at the server log file, I observed that the server had hung after
initializing the IIOP subsystem.
I have attached herewith the following 3 files:
1. config.xml (the server config file after adding entry for my security realm)
2. default_realm.log (the server log file when booted through the default realm)
3. netpoint_realm.log (the server log file when booted through my realm).
Is there any way, I can debug where the server is exactly hanging?
Thanks and Regards,
Abhinay
[BEA_Files.zip]is it admin server or Managed server which isnot starting?
Mir -
Submit does not update database data
Hello:
Thanks for looking at this post...
I'm trying to get a simple ADF Web app to update data in the database, but the submit button does not seem to be updating the database.
Below is how I created this issue. Any ideas on what I'm doing wrong?
Thanks for the help.
Don
--SCHEMA: JMM
CREATE TABLE EMPLOYEES (
EMPLOYEE_ID NUMBER NOT NULL,
EMP_STATUS VARCHAR2(10) NOT NULL,
EMP_TYPE VARCHAR2(10) NOT NULL,
FIRST_NAME VARCHAR2(20) NOT NULL,
LAST_NAME VARCHAR2(20) NOT NULL,
USER_ID VARCHAR2(30) NOT NULL,
PASSWORD VARCHAR2(30) NOT NULL,
EMAIL VARCHAR2(60),
PHONE VARCHAR2(30));
ALTER TABLE EMPLOYEES ADD CONSTRAINT EMPLOYEES_PK PRIMARY KEY (EMPLOYEE_ID);
STEPS TO REPRODUCE THE PROBLEM:
1. NEW FUSION WEB APPLICATION (ADF) WIZARD
2. CREATES APPLICATION15 AND ACCEPT DEFAULTS
3. IN MODEL PROJECT, RUN BUSINESS COMPONETNS FROM TABLES
4. CREATE CONNECTION TO JMM SCHEMA CALLED: AR_PLUTO_CONN_JMM -- SUCCESS
5. SELECTED EMPLOYEES TO CREATE ENTITY OBJECTS
6. SELECTED EMPLOYEESVIEW TO CREATE UPDATABLE VIEW OBJECT THEN FINISH --WORKS OK
7. OPEN adfc-config and add view to diagram called employees
8. DOUBLE-CLICK VIEW employees to create JSF PAGE ?CURRENTLY SET TO: DO NOT AUTOMATICALLY EXPOSE UI COMPONENTS IN MANAGED BEAN
9 ADD PANEL FORM LAYOUT TO JSF PAGE
10. IN DATA CONTROLLS, CLICK-MOVE EMPLOYEESVIEW1 TO EMPLOYEEVIEW PAGE UNDER PANEL FORM LAYOUT SELECTING FORMS---ADF FORM
11. IN EDIT FORM FIELDS, KEEP ALL FIELDS AND CHECK INCLUDE NAVIGATION CONTROLS AND INCLUDE SUBMIT BUTTON
12. TEST EMPLOYEEVIEW1 WITH ORACLE BUSINESS COMPONENTS BROWSER -- WORKS OK ADDED 2 EMPLOYEE RECORDS SUCCESSFULLY
13. SAVE ALL
14. RIGHT-CLICK EMPLOYEES.JSPX AND SELECT RUN
15. BROWSER COMES UP WITH DATA AND NAVIGATION WORKS OK
16. HOWEVER WHEN I CHANGE A VALUE OF A FIELD AND CLICK ON SUBMIT THE UPDATE DOES NOT OCCUR IN THE DATABASE.
17. NO ERRORS ARE REPORTED, JUST THE UPDATE DOES NOT OCCUR.Actually I have your book already! Thanks so much for taking the time to write it. I'm a long time Oracle DBA, but I had a hard time with JDeveloper before your book came along. I'm working through it as we speak. Congrats to all at Oracle...for all the hard work on Fusion and ADF. What incredible power in these products and your book started me off and gave me a giant head-start. Great Book!!! Thanks again, Don
-
Weblogic 6.1 , does not pick up modified static page
hi,
Weblogic 6.1
Weblogic opens a HTML page in a directory (not EJB, nothing fancy), fine.
Then, if i modify the static page , Weblogic does not pick up the changed html
until it is restarted. Is it normal?
Is there any setting to force weblogic to change the latest version of the static
page?Please send an email to [email protected] to open a support case.
Matthias Ernst wrote:
> I would like to report a bug in WLS 6.1 SP3 that cost me a few hours.
>
> If you set a content type that does not start with 'text', the charset
> attribute will be simply ignored, i.e. the response writer is still in
> ISO-8859-1.
> It will, however turn up in the HTTP header.
>
> Test:
> response.setContentType("fake/html;charset=utf-8");
> response.getWriter().write((char)160);
>
> The response will contain the header above but will consist only of
> byte 160.
> If you change the above to text/html, it will suddenly be UTF-8
> encoded.
>
> The bytecode of ServletResponseImpl reveals exactly that logic above.
> Any sensible explanation ?
>
> Thank you
> Matthias
Rajesh Mirchandani
Developer Relations Engineer
BEA Support
-
Starting OracleService SID does not open database (8.1.7)
Moved our 8.1.7 db from server A to server B yesterday. On server B, when the service OracleService<SID> starts, it does not open the database. When I connect through svrmgrl and startup with the same pfile the database opens. I have deleted the service and recreated it to no avail. The -pfile path is correct. The service runs as local system.
Any ideas on how to correct the issue?
btw - yes - I'm aware of the support status on 8.1.7 - and we are upgrading to 10g in ~6 months - but meanwhile I need this to work.......tiaHi Ugonic
Moved our 8.1.7 db from server A to server B yesterday. On server B, when the >>service OracleService<SID> starts, it does not open the databaseI don't mean any disrespect but I always thought that ORADIM -a or AUTO is for "The Service Itself" whereas in this case COOKEJ is able to start the OracleServiceSID but unable to open the associated database.
Please correct me if my understanding is wrong.
Rgds
Adnan -
Weblogic Startup Class does not run as Windows Service
If you know the answer, plase send me an email at [email protected]
I'm running a weblogic startup class that starts a Thread. I need to
run a batch program that should be running as long as WebLogic is
running (to process new orders).
It works fine when I run WebLogic (5.1 SP8) from a script, but causes
problem when I'm running it as a Windows Service. It calls the
startup class, however, the startup class never spawns the Thread
class.
Following is excerpts from different components:
=============================================================
*** weblogic.properties ***
weblogic.system.startupClass.pdfCreatorStart=WebLogicStartupPdfCreator
*** WebLogicStartupPdfCreator.java ***
public class WebLogicStartupPdfCreator implements T3StartupDef {
public String startup(String name, Hashtable args) throws
Exception {
Thread t = new ProductionPdfBatchRunner();
t.start();
return "success";
*** ProductionPdfBatchRunner.java ***
public class ProductionPdfBatchRunner extends Thread {
public void run() {
try {
//work being done here
this.sleep(30000);
catch (InterruptedException ie) {
catch(Exception e) {
e.printStackTrace();
=============================================================
Thanks for any helpHi,
Ok. Few suggestions.
1. Can you review the SAP note:
552286 Troubleshooting for the SAP Web Dispatcher
2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
4. What is the output of the command "sapwebdisp -v"
5. How about sapwebdisp.pfl ? Are those settings correct ?
Hope this helps.
Regards,
Vincent -
8i database does not install dos fails
Email info: [email protected]
Subject: Oracle 8i personal ed. installation.
Sent to: [email protected]
Comments:
Tool Name status
Net8 Configuration Assistant succeeded
Oracle Database Configuration Assistant in progress Making Database Startup Auto pending.
I experienced problems within it namely, the Creating and Starting Oracle instance Database creation in progress bar goes to 1%, then it
halts and I get the MS-DOS screen and the >
"This program has performed an illegal operation and
will be terminated. Quit all programs than restart
your computer".
nullCheck your Services in Control Panel. Click on the "Logon" Tab for the Oracle Service and make sure that "This Account" is selected and not "Local Account". When you choose "This Account", you should type in the Administrator username/pwd. who can start the service.
Magesh.
Maybe you are looking for
-
A few days ago i small piece of plastic got stuck and subsequently fell out the charger hole of my ipod classic, although it still connects to itunes and syncs itunes says it has synced but there is nothing on my ipod! I have done this a few times an
-
BO 4.0 CRJob server not picking correct numbr of CPU
Hello All, I have installed BO 4.0 SP02 patch 11. I have seperated the CR Scheduling service as a seperate job server form AJS. My CR jobs are running fine however, I have 8 CPU on that machine but in matrics page of Job server, it is showing only 4
-
Hi, experts, When excuting the program in background, the call to MB5B returns an error message to choose at least one scope of list category. Need to pass these values to the SUBMIT in order for program to execute successfully in background. in t
-
All new iPods broken (?)
hey everybody, my old, 3rd gen iPod broke a while ago, so I got a new 60GB 5th gen to fill the gaping hole in my heart ... :P anyway, i got it engraved, so it came straight from the factory in China, complete with the latest software etc. first of al
-
i have a iphone 4 and i have forgtten my passcode but i do not have acess too itunes is there a way i can do a hard rest manually ??