2 Instances, Same node
Hello all.
Is it possible to user DBConsole (10g) to control 2 instances on a same node? I don't need to manage them simultaneously, I mean, if I can access then one at a time it's ok.
How could I do this?
Thanks in advance
Carlos Inglez
If you have two sepereate instances, that is if they are not RAC instances, you cant control those 2 instances with the same DBconsole.Every instance will be controled from their own console You could do that with grid control.
And then, if you had RAC instances , you could control those 2 instances with their common DBconsole.
Similar Messages
-
Can we have Multiple Instance on same Node in Oracle 10g RAC
Hi All,
I am planning to implement the RAC in Oracle 10g.Before that i have one doubt regarding RAC.
My question is "Can we create multiple Instance on Same node(Server) ?"
is it possible.
Any ideas or thoughts would be apperciable.
Thanks in Advance.
AnwarThis is where it is important to keep the separation between 'database' and 'instance'.
A database is the set of files that contains the data (and the redo, control files, etc). A database does nothing by itself, other than take up lots of disk space.
An instance is theCPU cycles (running software) and the memory to control the database.
In Oracle RAC, you can have as many instances controlling one database [at the same time] as you want (within reason). Each instance must be able to access the disk(s) that contains the database.
These multiple instances can be on the same computer (effectively taking up a lot of server memory and CPU for nothing) or they can be on separate computers.
If they are on separate computers, the disk subsystems must be able to be shared across computers - this is occasionally done using operating system clusterware and is the main reason why clusterware is required at all. (This is also the toughest part of the pre-requisites in setting up a RAC and is very vendor dependent unless you use ASM.)
These instances need a communication connection to coordinate their work (usually a separate network card for each computer) so they do not corrupt the disk when they are trying to access the same file, and possibly the same block, at the same time.
In a RAC configuration, instances can be added, started, running, stopped and removed independent of each other (allowing a lot of high availability) or can be started and stopped as a group.
Each instance gets it's own SID, which is in no way any different than a non-RAC SID. It's just the name of a service that can be invoked. The neat thing is that the SID
a) helps the DBA keep things straight by lettiung us talk about 'instance A' (the Oracle software to be running over on computer A) vs 'instance B' when starting, stopping and managing;
b) helps the application by providing targets that can be listed in the TNSNAMES.ORA [against one service alias], which is used by ORacle Networking to provide automated load balance or failover (instance/SID a is not available, I guess I'll try the next in the list)
Hope that helps the concept level a bit. -
Logical and Physical Standby on same Node
Is it possible to have a logical and physical standby database for a primary database on the same node (i.e. primary on NodeA, logical and physical database of primary on NodeB)?
Will there be any conflicts with data guard broker with this configuration or any problems I may encounter?From a technical point of view this is possible. Your standby node should be powerful enough to handle 2 instances. For even higher availability 3 dedicated nodes would be better. When Node B is down, both physical and logical standby are also down.
Werner -
PRKO-2015 : Error in checking condition of instance on node:
I am using Oracle 10.2.0.4 2 node RAC on Solaris 10 x86_86.
I have renamed our test database using nid and have restarted the RAC instance.
The cluster is not able to identify the database eventhough I've tried adding the database and instances manually.
oracle@slsmtdrdbs01$srvctl add database -d SMTTSTDR -o /u01/app/oracle/product/10.2.0/db_1 -p /u02/app/oracle/smttstdr/spfilesmttstdr.ora
oracle@slsmtdrdbs01$srvctl add instance -d smttstdr -i smttstdr1 -n slsmtdrdbs01
oracle@slsmtdrdbs01$srvctl add instance -d smttstdr -i smttstdr2 -n slsmtdrdbs02
oracle@slsmtdrdbs01$srvctl status database -d smttstdr
PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs01
PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs02I see these messages in the CRS log which confirm tht the instances have been successfully regstered .
2009-06-24 15:47:49.823: [ CRSRES][781664] Resource Registered: ora.SMTTSTDR.db
2009-06-24 15:48:16.256: [ CRSRES][781666] Resource Registered: ora.smttstdr.smttstdr1.inst
2009-06-24 15:48:28.436: [ CRSRES][781672] Resource Registered: ora.smttstdr.smttstdr2.inst
But still I get the error messages with srvctl.
Think so this would need CRS reboot.
Wanted to confirm if there is any other way to fix this issue as there is a production database in the same box and rebooting the CRS would require downtime.
Any suggestions ?oracle@slsmtdrdbs01$crs_stat -t
Name Type Target State Host
ora....STDR.db application OFFLINE OFFLINE
ora....01.lsnr application ONLINE ONLINE slsm...bs01
ora....s01.gsd application OFFLINE OFFLINE
ora....s01.ons application ONLINE ONLINE slsm...bs01
ora....s01.vip application ONLINE ONLINE slsm...bs01
ora....02.lsnr application ONLINE ONLINE slsm...bs02
ora....s02.gsd application OFFLINE OFFLINE
ora....s02.ons application ONLINE ONLINE slsm...bs02
ora....s02.vip application ONLINE ONLINE slsm...bs02
ora.smtdgsl.db application OFFLINE OFFLINE
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application ONLINE OFFLINE
ora....rddr.db application ONLINE ONLINE slsm...bs02
ora....1a.inst application ONLINE ONLINE slsm...bs01
ora....1b.inst application ONLINE ONLINE slsm...bs02
ora....r1.inst application OFFLINE OFFLINE
ora....r2.inst application OFFLINE OFFLINESMTTSTDR is the test database that was created by renaming SMTDGSL. SMTPRDDR is the production database.
I don't see imon files at all.
I went through the thread
Not able to start instance using srvctl
I checked the permissions for the CRS directories
oracle@slsmtdrdbs01$pwd
/u01/app/oracle/product/10.2.0/crs/log
oracle@slsmtdrdbs01$ls -l
total 4
drwxrwx--- 2 oracle dba 512 Nov 24 2008 crs
drwxr-xr-t 8 root dba 512 Nov 24 2008 slsmtdrdbs01
oracle@slsmtdrdbs01$pwd
/u01/app/oracle/product/10.2.0/crs/log/slsmtdrdbs01
oracle@slsmtdrdbs01$ls -l
total 88
drwxr-x--- 2 oracle dba 512 Nov 24 2008 admin
-rw-rw-r-- 1 root dba 37122 Mar 9 09:23 alertslsmtdrdbs01.log
drwxr-x--- 2 oracle dba 2048 Apr 30 13:14 client
drwxr-x--- 2 root dba 512 Nov 24 2008 crsd
drwxr-x--- 4 oracle dba 512 Nov 26 2008 cssd
drwxr-x--- 2 oracle dba 512 Nov 24 2008 evmd
drwxrwxr-t 5 oracle dba 512 Jun 25 10:00 racgslsmtdrdbs01 directory is owned by root. Is that an issue?
But racg is owned by oracle.
Output of the trace
srvctl status database -d smttstdr
432 [main] [10:5:53:34] [HAOperationImpl.runCommand:1223] CRS cmd is: /u01/app/oracle/product/10.2.0/crs/bin/crs_stat -u
ora.SMTTSTDR.smttstdr1.inst ora.SMTTSTDR.smttstdr2.inst
433 [main] [10:5:53:36] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
434 [main] [10:5:53:37] [RuntimeExec.runCommand:76] /u01/app/oracle/product/10.2.0/crs/bin/crs_stat
435 [main] [10:5:53:38] [RuntimeExec.runCommand:76] -u
436 [main] [10:5:53:39] [RuntimeExec.runCommand:76] ora.SMTTSTDR.smttstdr1.inst
437 [main] [10:5:53:41] [RuntimeExec.runCommand:76] ora.SMTTSTDR.smttstdr2.inst
438 [main] [10:5:53:47] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
439 [Thread-1] [10:5:53:48] [StreamReader.run:61] In StreamReader.run
440 [Thread-0] [10:5:53:48] [StreamReader.run:61] In StreamReader.run
441 [Thread-0] [10:5:53:96] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.inst.
442 [Thread-0] [10:5:53:97] [StreamReader.run:65] OUTPUT>
443 [Thread-0] [10:5:53:98] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.inst.
444 [Thread-0] [10:5:53:100] [StreamReader.run:65] OUTPUT>
445 [main] [10:5:53:103] [RuntimeExec.runCommand:133] runCommand: process returns 210
446 [main] [10:5:53:104] [RuntimeExec.runCommand:147] RunTimeExec: output>
447 [main] [10:5:53:105] [RuntimeExec.runCommand:150] CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.inst.
448 [main] [10:5:53:108] [RuntimeExec.runCommand:150]
449 [main] [10:5:53:109] [RuntimeExec.runCommand:150] CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.inst.
450 [main] [10:5:53:110] [RuntimeExec.runCommand:150]
451 [main] [10:5:53:111] [RuntimeExec.runCommand:155] RunTimeExec: error>
452 [main] [10:5:53:113] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
453 [main] [10:5:53:114] [HAOperationImpl.runCommand:1232] signed exit value = 210
454 [main] [10:5:53:115] [HAOperationImpl.runCommand:1257] set status HA_RES_NOT_EXIST_ERR
455 [main] [10:5:53:117] [HAStatusOperation.run:127] Returned from executing the HA Operation
456 [main] [10:5:53:118] [HAStatusOperation.run:132] OUTPUT> CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.in
st.
457 [main] [10:5:53:119] [HAStatusOperation.run:132] OUTPUT>
458 [main] [10:5:53:120] [HAStatusOperation.run:132] OUTPUT> CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.in
st.
459 [main] [10:5:53:121] [HAStatusOperation.run:132] OUTPUT>
460 [main] [10:5:53:122] [HAStatusOperation.run:138] ERROR>
461 [main] [10:5:53:124] [LocalCommand.execute:56] LocalCommand.execute: Returned from run method
462 [main] [10:5:53:125] [ParallelServerHA.isRunningInstances:581] Stat operation failed. it could be a partial failure.
no exception thrown.
463 [main] [10:5:53:127] [StatusAction.internalDisplayInstanceStatus:708] displaying status for instance smttstdr1
464 [main] [10:5:53:129] [Instance.isEnabled:197] enabled is true
465 PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs01
466 [main] [10:5:53:143] [StatusAction.internalDisplayInstanceStatus:708] displaying status for instance smttstdr2
467 [main] [10:5:53:144] [Instance.isEnabled:197] enabled is true
468 PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs02 -
CRS Install hostname being used by more than once for the same node.
Hi, we're installing The Oracle Clusterware and on the Cluster Configuration screen of the universal Installer (the one were you specify the clustername and clusternodes) we get the following error message in a dialog box when the next button is clicked:
"You must enter unique values for the public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, node1, that you entered is being used by more than once for the same node."
Has anyone experienced this error message before and know what the cause is?
Could it be a problem with the /etc/hosts file?
Thanks in advance,
MMake sure you allocate separate IP addresses on your network for the VIP addresses on each RAC node (this is not the same as the machine IP already configured on the OS).
Also, the installer may complain if your private and public IPs are configured under the same subnet.
Finally, as mentioned before, check that name resolution for all the IPs to be used. On all RAC nodes, your /etc/hosts file should be configured with:
- public name and IP addresses of ALL nodes
- private name and IP addresses of ALL nodes
- VIP name and IP addresses of ALL nodes
Hope that helps
B. -
Server 2012 Failover cluster. Make two VMs stay on the same node
We have a unique situation where i need two machines to stay on the same node. Its a 4 node cluster with 30+ resources but i want to make sure two boxes are ALWAYS on the same now. If one migrates to another node the second needs to follow. Is there
a way to do this?How an this KB help to stay the two vm's on the same node.
With all do respect @justinv how could this helped you to your problem , your question was "We have a unique situation where i need two machines to stay on the same node. Its a 4 node cluster with 30+ resources but i want to make sure two boxes are ALWAYS
on the same now"
and the KB that elden showed you is for : "Failover clusters that are running inside of virtual machines (sometimes referred to as “guest clusters”) may have problems with nodes joining the cluster."
@justinv cloud you tell us more about this did I misunderstand your question ?
Greetings, Robert Smit Follow me @clustermvp http://robertsmit.wordpress.com/ “Please click "Vote As Helpful" if it is helpful for you and Proposed As Answer” Please remember to click “Mark as Answer” on the post that helps you
I explained in one of my replies that my underlying issue was this exactly what the KB fixed..... A guest cluster failing when moved to different nodes. Thats the only reason why i wanted them on the same node to begin with. While this post didn't solve me
original question is solved what my real problem was.... -
For server Eagle-PROD-Instance, the Node Manager associated with machine
I have a wlst script that creates a domain and a managed server. I associate the server with a machine that's attached to a node manager. It creates the managed server fine but when I try and start it I get this error
For server Eagle-PROD-Instance, the Node Manager associated with machine Eagle-Machine is not reachable.
All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
The machine is associated with the Node Manager and the NM is running. I can start the managed server from the command line, but not from the admin console
This is the script, am I missing something?
Thanks
name: createManagedServer.py
description: This script create the weblogic domain, and executes each weblogic queue module
subfile. it reads a property file : weblogic_wlst.properties for server domain information
author : mike reynolds - edifecs 2011
created : April 8th 2011
import sys
from java.lang import System
from java.util import Properties
from java.io import FileInputStream
from java.io import File
from weblogic.management.security.authentication import UserEditorMBean
from weblogic.management.security.authentication import GroupEditorMBean
from weblogic.management.security.authentication import UserPasswordEditorMBean
# Loads the contents a properties file into a java.util.Properties
# configPropFile = "weblogic_wlst.properties"
def loadPropertiesFromFile(configPropFile):
configProps = Properties()
propInputStream = FileInputStream(configPropFile)
configProps.load(propInputStream)
propInputStream.close()
return configProps
def getProperties():
importConfigFile = sys.argv[1]
print importConfigFile
domainProps = loadPropertiesFromFile(importConfigFile)
properties = Properties()
input = FileInputStream(importConfigFile)
properties.load(input)
input.close()
return properties
def create_users(username, password, description):
# create admin user
cmo.getFileRealms()
try:
userObject=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
userObject.createUser(username,password,description)
print "Created user " + username + "successfully"
except:
print "check to see if user " + username + " exists "
def add_user_to_group(username):
print "Adding a user to group ..."
cmo.getFileRealms()
try:
userObject2 = cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
userObject2.addMemberToGroup('Administrators',username)
print "Done adding user " + username
except:
print "check to see if user " + username + " is already in group "
def connect_server(user,pw,url):
connect(user,pw,url)
def create_machine():
try:
print 'Creating machine' + machine
# cd('/')
# create(machine, 'Machine')
mach = cmo.createUnixMachine(machine)
mach.setPostBindUIDEnabled(true)
mach.setPostBindUID('oracle')
mach.setPostBindGIDEnabled(true)
mach.setPostBindGID('oracle')
mach.getNodeManager().setNMType('ssl')
except:
print "machine exists"
def build_domain():
### Read Basic Template
WL_HOME = "C:/Oracle/Middleware/wlserver_10.3"
readTemplate(WL_HOME+"/common/templates/domains/wls.jar")
template=WL_HOME+"/common/templates/domains/wls.jar"
cd('Servers/AdminServer')
set('ListenAddress', adminServerAddress)
set('ListenPort', int(adminServerPort))
cd('/')
cd('/Security/base_domain/User/weblogic')
cmo.setPassword('w3bl0g1c')
### Write Domain
setOption('OverwriteDomain', 'true')
print "writing domain " + domainDir + domainName
writeDomain(domainDir+'/'+domainName)
closeTemplate()
create_machine()
arg = "Arguments=\" -server -Xms256m -Xmx768m -XX:MaxPermSize=256m -da\""
prps = makePropertiesObject (arg)
domain = domainDir + domainName
try:
#startNodeManager()
#nmConnect('weblogic', 'w3bl0g1c', host, 5556, 'AdminServer', domain, 'ssl')
# nmStart('AdminServer')
startServer('AdminServer', domainName, url, adminUser, adminPassword, domainDir, 'true')
except:
print "could not connect to Node Manager"
def create_server():
# get server instance properties
name = properties.getProperty("serverName")
domain = properties.getProperty("domainName")
port = properties.getProperty("listenPort")
address = properties.getProperty("listenAddress")
servermb=getMBean("Servers/" + name)
machine = properties.getProperty("machineName")
nodePort = properties.getProperty("nodeManagerPort")
domainDir = properties.getProperty("domainDir")
if servermb is None:
startEdit()
cd('/')
cmo.createServer(name)
cd('/Servers/'+ name)
cmo.setListenAddress(address)
cmo.setListenPort(int(port))
cd('/')
cmo.createMachine(machine)
cd('/Machines/' + machine + '/NodeManager/' + machine )
cmo.setNMType('Plain')
cmo.setListenAddress(address)
cmo.setListenPort(int(nodePort))
cmo.setDebugEnabled(false)
cd('/Servers/' + name)
cmo.setListenPortEnabled(true)
cmo.setJavaCompiler('javac')
cmo.setClientCertProxyEnabled(false)
cmo.setMachine(getMBean('/Machines/' + machine ))
cmo.setCluster(None)
cd('/Servers/' + name + '/SSL/' + name)
cd('/Servers/' + name + '/ServerDiagnosticConfig/' + name)
cmo.setWLDFDiagnosticVolume('Low')
cd('/Servers/' + name)
cmo.setCluster(None)
cd('/Servers/' + name + '/SSL/' + name)
cmo.setEnabled(false)
### Executable Script
### CreateDomain.py
### Define constants
WL_HOME = "C:/Oracle/Middleware/wlserver_10.3"
print "Starting the script ..."
print "Getting properties ... "
properties = getProperties()
adminServerAddress = properties.getProperty("adminServerAddress")
adminServerPort = properties.getProperty("adminServerPort")
adminUser = properties.getProperty("adminUser")
adminPassword = properties.getProperty("adminPassword")
edifecsUser = properties.getProperty("edifecsUser")
edifecsPassword = properties.getProperty("edifecsPassword")
host = properties.getProperty("host")
domainDir = properties.getProperty("domainDir")
domainName = properties.getProperty("domainName")
user = properties.getProperty("username")
pw = properties.getProperty("passwd")
url = properties.getProperty("adminURL")
machine = properties.getProperty("machineName")
print "Building the domain..."
build_domain()
print "Connecting to server"
connect_server(adminUser, adminPassword, url)
edit()
startEdit()
# create managed server
# create_machine()
create_server()
print "Creating users"
# starting configuration tree
serverConfig()
create_users(adminUser, adminPassword, "Administrator")
add_user_to_group(adminUser)
create_users(edifecsUser, edifecsPassword,"Administrator")
add_user_to_group(edifecsUser)
# have to restart edit to save config
edit()
startEdit()
# nmKill('AdminServer')
print "saving configuration"
try:
save()
activate(block="true")
print "script returns SUCCESS"
print "admin server is running"
print "starting server " + name
startServer(domainName, name ,url,adminUser, adminPassword, domainDir,'true')
except:
print "failed to save server"
dumpStack()Actually the cert is coming from your Dev machine but it is sending the Prod cert.
What cert is used by your admin server ? It should match the host name.
So your Dev machine is apparently using a copy of the prod cert / keystore rather than using its own DEV cert. It's not clear from your post whether this is the nodemanager using the wrong cert, or the managed server. So both should be checked.
The managed servers need to be using a cert that matches their host name. If you have a managed server on VM-BEA-DEV, then the cert needs to be CN=VM-BEA-DEV. You can also use a load-balancer CN name in the cert if you have the cluster's HTTP values set to match.
In your nodemanager.properties, are you explicitly accessing keystores, such as with:
KeyStores=CustomIdentityAndJavaStandardTrust
CustomIdentityAlias=some_alias
CustomIdentityKeyStoreFileName=some_path_to_keystore
CustomIdentityKeyStorePassPhrase={3DES}...
CustomIdentityKeyStoreType=jks
CustomIdentityPrivateKeyPassPhrase={3DES}
In my multi-machine clusters, I have multiple certificates such as:
admin machine1:
has a cert for use by the admin server and NM that matches the host name ( with node manager.properties entries such as the above )
has a 2nd cert that matches the load-balancer name for the cluster - used by the managed servers
all other machines:
has a cert for use by NM that matches the host name ( with node manager.properties entries such as the above )
has a 2nd cert that matches the load-balancer name for the cluster - used by the managed servers -
Stand by database at same node
Hi,
I tried to configure a Data Guard. both primery and Standby databases are configured at same node but i am facing problems when trying to open standby database in read only mode i get the following error
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\D:\ORACLE\ORADATA\CHILDDB\SYSTEM01.DBF'
i am using version 9.2.01
ZakaHi,
There is error in the datafile location it shows D:\D:\, check your control file.
Regards
Anurag -
Hi.
I would like to know if it's possible to have two database in different versions (9i and 10g) in the same nodes.
In this case, I suppose that I have to install the tow clusterware, one for 9i and another one for 10g, haven't I?
Thanks!Hi,
both your assumptions are correct.
You can have a 9i RAC database and a 10g one both in the same cluster. However, you would need to have 10g Clusterware and another cluster software for the 9i RAC. On Linux and Windows Oracle would use the Oracle Cluster Manager (CM) for the 9i RAC, on all other platforms you would need to get a third party cluster software for the 9i RAC database, since the 10g Clusterware cannot serve as the underlying cluster software for the 9i RAC database. Nevertheless, the 10g Clusterware GSD would be used to manage the 9i RAC database in those combinations.
Thanks. -
Tag instances - same instance being used across multiple tags
Hi
I am using BEA WebLogic Server 6.1 SP2
Problem:
Tag instances - same instance being used across multiple tags
The problem is that when I use the same jsp tag several times in a page,
The tag is being instantiated only one time, as a result the class
attributes
retain their values when activating the tags.
Example:
A code that demonstrates the problem (not sure that it is compiled)
public FooTag extends TagSupport {
private boolean isValid = true;
private String name;
public setName(String x){
name = x;
public int doStartTag() throws JspException
if (name.equals("x"){
isValid = false;
return SKIP_BODY;
public int doEndTag() {
if (isValid){
return EVAL_PAGE;
<table>
<tr>
<td><mpower:FOOTAG name="x"/>
<!-- isValid attribute is set to false -->
A FOOTAG implmented in FooTag </td>
</tr>
<tr>
<td><mpower:FOOTAG name="y"/>
<!-- isValid attribute still false (we expected it to be true) ! -->
A FOOTAG implmented in FooTag </td>
</tr>
</table>
P.S.
I am using the same tags library with Tomcat and iPlanet Application severs,
I did not get this problem there !!
What should I do to reinitialize the tag? We have the same problem on custom tag.
We have TabSet tag, which contains a set of Tab tag. In Weblogic 5.1, everything
works ok, however when we run it in weblogic 6.1, Tab object seems like share the
same instance, say if I have 2 Tabs in the TabSet, it ends up shows 2 same tabs with
the apperance of the last tab added to the tabset on the web browser. We do implement
release() method to call super.release() of TagSupport class.
Any help is very appreciated.
Thanks,
Kimberly
"Simon Spruzen" <[email protected]> wrote:
>
>This is allowed. You must implement public void release() on your tag, and
>WLS will
>call it before this method if WLS elects to reuse the tag instance. Your
>release
>method just reinitialises the tag as required.
>
>simon.
>
>"Eyal H" <[email protected]> wrote:
>>Hi
>>
>>I am using BEA WebLogic Server 6.1 SP2
>>
>>Problem:
>>
>>Tag instances - same instance being used across multiple tags
>>
>>The problem is that when I use the same jsp tag several times in a page,
>>
>>The tag is being instantiated only one time, as a result the class
>>
>>attributes
>>
>>retain their values when activating the tags.
>>
>>Example:
>>
>>A code that demonstrates the problem (not sure that it is compiled)
>>
>>public FooTag extends TagSupport {
>>
>>private boolean isValid = true;
>>
>>private String name;
>>
>>public setName(String x){
>>
>>name = x;
>>
>>}
>>
>>public int doStartTag() throws JspException
>>
>>if (name.equals("x"){
>>
>>isValid = false;
>>
>>}
>>
>>return SKIP_BODY;
>>
>>}
>>
>>public int doEndTag() {
>>
>>if (isValid){
>>
>>......
>>
>>}
>>
>>return EVAL_PAGE;
>>
>>}
>>
>>}
>>
>>
>>
>>
>>
>><table>
>>
>><tr>
>>
>><td><mpower:FOOTAG name="x"/>
>>
>><!-- isValid attribute is set to false -->
>>
>>A FOOTAG implmented in FooTag </td>
>>
>></tr>
>>
>><tr>
>>
>><td><mpower:FOOTAG name="y"/>
>>
>><!-- isValid attribute still false (we expected it to be true) ! -->
>>
>>A FOOTAG implmented in FooTag </td>
>>
>></tr>
>>
>></table>
>>
>>
>>
>>P.S.
>>
>>I am using the same tags library with Tomcat and iPlanet Application severs,
>>
>>I did not get this problem there !!
>>
>>
>>
>
-
Can we run Internet and intranet application on same node?
Hi,
Could we run Internet and Intranet applications on same node?
Regards,Hi,
You can run both sites on the same server. You should just set the site security on the intranet site to only allow access from internal IP addresses. But for security reason, it's not adviceable to do that.
Regards,
Hamdy -
Same nodes in multiple sceners
I am having trouble using the same nodes in multiple scenes. The nodes are grabbed from separate classes (nodes like ImageView).
When I change scenes, the controls that are common to both scenes disappear.
Thoughts?
TIAA control/node cannot be simultaneously in two scenes: it is either in one or in the other. You have to transfer them explicitly in the new scene if you want to display them there. See also [Weird problem when adding items to JavaFX sequence|http://forums.sun.com/thread.jspa?threadID=5443763] with a good answer by Surikov.
-
Hi,
I just migrate from oracle 8.1.7 to 9.2 running on Win2k server.
I have 3 databases on the same server. Currently I can only use the OEM to admin. one database.
I can see all databases when launch the console in standalone mode, but only one through Oracle Management server mode.
1)Is there a way to add additional db to the same node?
2)If each node only allow one DB, How do I add additional node to the same repository, on the same server?
Your help greatly appreciated.
ThanksThis is what you need to do in addition to what the other guys told you.
1. If DB has same name and port then you can not add
2. To force discoverery go to $HOME/network/admin and there are two files like this "snmp_rw" one is input and another is output.
3. Edit the input file and include your missing database entries. -
Assuming the two nodes have different parent nodes, can they have the same node name?
No no, I want the technical name to be identical. My question is, is it possible to have the same node under 2 different parent nodes?
For example:
East1 -
NY
ATL
MIA
East2 -
ORL
PHI
MIA
Miami is both in East1 and East2. Is this possbile technically? -
Graph drawing - drawing an arc to and from the same node, how??
Hey everyone
This is probably going to have an easy solution but I really cant figure it out!! The problem is drawing a loop in a state machine, ie a path to and from the same node therefore a loop!
Is there a way to actually do this?
Thanks in advance!Graphics.drawArc(left, top, width, height, start, span) where start is the start angle in degrees, and span is the number of degrees of arc. Assuming you're like me, you're probably putting in the end angle rather than the span.
Here's one I made earlier- http://www.metamodelling.net/files/ReflexiveArc.java - steps through nine common placements for a circular reflexive arc.
Pete
Maybe you are looking for
-
IPod not recognized by iTunes 6
So it looks like a lot of people are having this problem, that after upgrading to iTunes 6, the iPod doesn't connect to iTunes, even though it flashes "do not connect" as it is plugged in. Further the ipod has an error message once unplugged and simp
-
BTE 00001030 - Dunning form - OPEN_FI_PERFORM_00001030_P not triggering
Hi, I am using BTE 1030 for replacing the assigned form in customizing settings with a 'Z' or customer specific one at runtime. (determine dunning form) Although, I placed a Break-point (hardcoded) in my 'Z' function module, properly registered as a
-
ORA-01403: no data found - refresh after insert on view
Hi all, I have problems with refresh after insert on view and i override this method on my xxDefImpl.java public boolean isUseReturningClause() { return false; Anyway what it does is to substitute the RETURNIN INTO to SELECT ID INTO ? FROM MY_VIEW WH
-
How to push remainder Children up after remove 1
Hi everyone, i have an ary contain a numbers of information as below var ary:Array = new Array(); var temp:Array; var box_mc:Box; // this is a movieclip which contain dynamic text box inside. // assume inside the array have 9 itemName on the stage i
-
Oracle forms error frm-40508: unable to insert record
Hi Everyone, I have been having this problem for 2 weeks and I realize that I spent alot of time I couldn't get to fix the problem so I need your help. Here is my situation. First, I installed Oracle 10g in my laptop with Oracle forms10g and Oracle f