Multiple environment instances in the same process with DB_REGISTER flag
Hello,
I'm having two applications in the tomcat that should use the same environment. I have the DB_REGISTER flag set, and since tomcat has a java single process for all applications, I can't open an environment in the second application since I get a "DB_REGISTER limits processes to one open DB_ENV handle per environment" error message. This is understandable. So my question is: is there a way to "join" the first opened environment instance. Or do I have to run applications in two different processes, i.e. using 2 tomcat instances?
Thanks,
Vyacheslav
Thanks for reply Sandra.
I have a follow-up question. Is it possible to get an environment instance if it's already opened in the process. For instance like:
Application1 in the tomcat process:
Environment env = new Environment(envHome, envConfig) //openning an env under "envHome" directoryApplication2 in the same tomcat process:
Environment env;
try{
env = new Environment(envHome, envConfig) //openning an env under "envHome" directory
} catch (DbException e) {
if(isAlreadyOpenedException(e)) { //checking that our exception is "DB_REGISTER flag permits only 1 opened env handle per process"
env = Enviroment.getEnvironmentHandleFromTheSameProcess(); //here I'm improvising. Is there any similar method?
} So my question is if it's something that is possible.
Thanks in advance,
Vyacheslav
Similar Messages
-
I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?
In iTunes(on a Mac or PC) just tap on 'Albums' rather than 'Artists' and you'll see them all together.
You may find that there are songs mislabelled. In which case right tap on the Album or Artist and tap 'Get Info', then change to the correct name and the songs will join the rest of the songs for that Artist or Album.
Then resync with your iPhone and all will be well. -
Multiple Portal instances on the same machine
Hi Forum,
we have a requirement where in we are asked to implement multiple instances of Portal on the same machine. can you please give me some detials on Feasibility , issues and limitations of having multiple Portal instances on the same machine , different instances pointing to different tiers(Dev, Test, Production) etc
pointers will be highly appreciated..
regards,
udayHi Uday,
Please look at this.
Multiple Portal Instances - Virtual Hosting
Regards,
Siva
P.S: Award points if you find this useful. -
Using the same correlation set to multiple instances of the same process
Hi all,
Assuming that I have a Purchase Order with multiple items and I have a BPEL process that is triggered for each item.
When the Purchase Order is cancelled by the customer, I want to cancel all BPEL process that is still running. I'm using SOA Suite 11.1.1.2.
My first attempt was to use an event handler associated to a cancellation operation, but I couldn't do this because when the second BPEL instance was started, a conflictingReceive BPEL Fault is triggered. This occurs because BPEL can't have more than one active receive/on message using the same correlation set.
Another way to do this is using a different correlation set for each instance (somethig like a composite key - Purchase Order ID + Item ID, i.e), but in this way I need to know all composite key in advance and send one message to each instance specifically.
Anyone have any suggestion of how to cancel more then one instance of the same BPEL process using Event or a generic way that does not need to send one message for each instance?
Events work very well to start more then one BPEL process but does not work well to receive an intermediate message during process execution because in this case we need correlation set to associate the event with the correct instance and BPEL does not support more then one instance of the same BPEL process waiting for the same correlation set.
Any suggestion will be very welcome.
Thanks in advance,
RafaelNever mind. I got it.
I put the iisforward.dll and .ini is a seperate folder, and edited the iisproxy.ini's to include the portnumber like this. And I changed the hostheaders in IIS to Site1, Site2 etc
vhost1=Site1:80
Site1:80=C:\Sites\Site1\iisproxy.ini
vhost2=Site2:80
Site2:80=C:\Sites\Site2\iisproxy.ini
vhost3=Site3:80
Site3:80=C:\Sites\Site3\iisproxy.ini -
Multiple application instance on the same server instance
Can we have multiple instances of the same application on a single WLS?? For ex, can I have two app.ear files in different application directories??
Hi Nilesh,
Can you please clarify your landscape as this will help in getting answers to your question.
In general adding instances (and/or server nodes) should be considered for increasing capacity rather than impoving performance. Specifcially, adding instances (and/or server nodes on the same host you risk a situation where the processes compete for resources which will have a negative effect on performance. If you do need to combine instances on the same host, make sure there is enough hardware (specifically memory in case of JAVA).
Hope this helps,
Best regards, Walter -
Multiple users\passwords on the same website with Safari
Coming over from Netscape for MAC to Safari.
Here is the issue-- In Netscape I was able to have multiple users/passwords for the same website page. Netscape controls its users/passwords; not the keychain. With Safari everytime I try to enter the second user/password this wipes out the first user and password.
Is there a way with Safari to have mutlple users/passwords for the same website page?
Thanks,
ReedA service might call the other one.
-
WS-SDK Scheduling two instances of the same report with different params
I'm using the web services SDK for Business Objects XI 3.1 SP 2 to schedule reports. I've got it so that I can successful schedule a report with prompts, setting the value for the prompt and running the report.
However, I'm now trying to schedule two instances of the same report using a single call to BIPlatform.Schedule. It creates the correct number of new instances, the last of which is completely correct. The first one (and in fact if I do more than two all the rest except the last) lose the parameter value from the prompt and the schedule information and the type. So for example if I schedule two instances, both PDF, both for 8am tomorrow with parameters of 1 and 2, I get:
A Webi instance, scheduled to run immediately with no parameters specified and
A PDF instance, scheduled for 8am tomorrow with parameter 2
Any idea what I'm doing wrong?
Cheers,
Jack
Edited by: Jackson Pope on Feb 3, 2011 1:34 PMCan you possibly post your code here that sets params and schedules? Also as you schedule 2 instances on a single report in a sinlgle biplatform.schedule call(): as you query for InfoObject what you actually query for a single report isn't it, or do you schedule a report template and reschdule it previous instance?
-
IHAT multiple iAS instances in the same view.
I have three iAS instances installed on the same node, the iHAT is also installed and running from the same node.
iHAT Version: 10.1.3
APPSERVERS:
- INFRA - ORACLE_HOME01
- MIDTIER#1 - Forms / Report - ORACLE_HOME02
- MIDTIER#2 - Discoverer - ORACLE_HOME03
I installed iHAT and started the JAVA server, (3 sessions on different ports. 8096, 8097 and 8098)
Everything works well and i can monitor the application servers on the different ports from the web browser.
Then over to my question, is it possible to monitor all three IAS servers from only one running iHAT view? And if so, how is this possible.
Best regards,
Roberth SteinerYes.. I need to use different port and I could resolve by following steps
There is a way in Oracle Application Server to achieve this. However, it requires a different installation type and additional configuration, Following are the steps that you need to take.
a) Install Oracle Application Server with J2EE Server only option, this is in Advanced Installation, also, please select the option: Configure this as an Administration OC4J Instance.
b) Access Oracle Application Server control console
c) Create the OC4J instances, by default, it has a home instance, then you need create additional instances: say example placeagra, placeexcalibur.
d) Stop Oracle Application Server.
e) Edit [oracle-appserver-root]/opmn/conf/opmn.xml
Replace OC4J instance placeagra's port definition for default-web-site
from <port id="default-web-site" range="12501-12600" protocol="ajp"/> to <port id="default-web-site" range="8889" protocol="http"/>
Replace OC4J instance placeexcalibur's port definition for default-web-site
from <port id="default-web-site" range="12501-12600" protocol="ajp"/> to <port id="default-web-site" range="8890" protocol="http"/>
f) Start Oracle Application Server
g) Install your applications into these instances through application control console. (You can only use home's ascontrol)
* This should work fine. If you go to [oracle-appserver-root]/opmn/bin directory, type "opmnctl status -l", you will see that you have multiple HTTP server services running, each with different port.
* This is identical to Weblogic's set up, however, this is not recommended for production, since the embedded HTTP server in Oracle Application J2EE server is only for application management, just as weblogic.
* You can only access application console through home's http server, since ascontrol application for other instances are always in down mode. -
Multiple Tomcat instances on the same server
Can we have multiple tomcat instances load balanced on the same physical box without VM. Has there been any such implementations. How can CMS be distributed across. What can the know architecture for the same.
Regards
VijsyThis can be done, but it really depends on the load balancer you use.
There is no recommendation from BusinessObjects and you might want to consult the load balancer vendor for instructions and support.
Regards
Caroline -
Multiple APEX instances sharing the same Oracle Home?
Can someone tell me if it is possible to have multiple APEX installations where the database instances are sharing the same Oracle Home? If so, how would this be set up?
So, if I have development and test running on the same home, I want a separate APEX instance for each. We can do this when different Oracle homes are used (separate httpd running) but not for the same home.
ThanksThanks - We have tried putting 2 dad entries in file, but not sure how you connect. You only specify a port number, so how does it connect that to a db???
-
Multiple DMVPN instance on the same router one public interface
I know it possible to run multiple instances DMVPN on a router with one public interface.
Question:
If I take one of my site and put it on a different tunnel from all other remote sites will it be able communication to the other site directly? I am running EIGP through the gre Tunnel
example of the hub site:
interface Tunnel100
bandwidth 100000
ip address 192.168.105.254 255.255.255.0
no ip redirects
ip mtu 1400
ip hello-interval eigrp 1 1
ip hold-time eigrp 1 3
no ip next-hop-self eigrp 1
ip nhrp authentication L3GR@RD
ip nhrp map multicast dynamic
ip nhrp map group WAR-881-VPN1 service-policy output SHAPE->20M
ip nhrp map group PLA-2811-VPN1 service-policy output SHAPE->T1(MLPPPx2)
ip nhrp map group LIV-2811-VPN1 service-policy output SHAPE->T1(MLPPPx2)
ip nhrp map group BRM-2811-VPN1 service-policy output SHAPE->T1(MLPPPx2)
ip nhrp map group ELP-2811-VPN1 service-policy output SHAPE->T1(MLPPPx2)
ip nhrp map group RAN-2811-VPN1 service-policy output SHAPE->T1(MLPPPx2)
ip nhrp map group LAB-2911-VPN1 service-policy output SHAPE->T1(MLPPPx2)
ip nhrp map group ORE-2811-VPN1 service-policy output SHAPE->5M
ip nhrp map group VAU-2811-VPN1 service-policy output SHAPE->10M
ip nhrp map group CAVAURTVP001 service-policy output SHAPE->10M
ip nhrp network-id 100
ip nhrp holdtime 600
ip nhrp max-send 1000 every 10
ip nhrp redirect
ip tcp adjust-mss 1360
no ip split-horizon eigrp 1
ip summary-address eigrp 1 10.87.0.0 255.255.0.0
load-interval 30
delay 100
tunnel source GigabitEthernet0/0
tunnel mode gre multipoint
tunnel key 100
tunnel vrf PUBLIC
tunnel protection ipsec profile IPSEC-DMVPN
interface Tunnel300
bandwidth 100000
ip address 192.168.106.254 255.255.255.0
no ip redirects
ip mtu 1400
ip hello-interval eigrp 1 15
ip hold-time eigrp 1 45
no ip next-hop-self eigrp 1
ip nhrp authentication L3GR@RB
ip nhrp map multicast dynamic
ip nhrp map group CAVAURTVP001 service-policy output SHAPE->10M
ip nhrp network-id 100
ip nhrp holdtime 600
ip nhrp max-send 1000 every 10
ip nhrp redirect
ip tcp adjust-mss 1360
no ip split-horizon eigrp 1
ip summary-address eigrp 1 10.87.0.0 255.255.0.0
load-interval 30
delay 100
tunnel source GigabitEthernet0/0
tunnel mode gre multipoint
tunnel key 100
tunnel vrf PUBLIC
tunnel protection ipsec profile IPSEC-DMVPN
Thanks the help in advance,
NigelHello Mr Manhurt,
I can help you. But first what is EIGP? -
Can multiple people publish to the same calendar with calDAV?
I have a calendar published online. My other computer at work is subscribed to this calendar. The problem is I can only add events from home. How can I make edits to this calendar from work and home?
Thanks!Greetings,
How can I make edits to this calendar from work and home?
A subscription to a calendar means you have "Read Only" access to it.
If you want to be able to make changes to it you have to have Read / Write access to it.
How is the calendar published? Using MobileMe?
If so you can login at www.me.com from anywhere you like and modify the calendar.
If you are publishing to a server other than MobileMe you would need to either have a web based interface for that server or setup a program on your work computer (like iCal if it is a Mac) with the same account information for your CalDAV server that you are using from home. You can then modify the calendars all you like.
Hope that helps. -
I am trying to configure my macbook pro to allow mac mail to send and receive via pop and smtp.123-reg.co.uk. I have managed this today on my iphone but still can only receive but not send from my laptop Any sugestions?
Hi mopster555,
Thanks for the question. If I understand correctly, you are not receiving messages on two iOS devices. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
iOS: Troubleshooting Messages - Apple Support
Thanks for using Apple Support Communities.
Have a great day,
Mario -
Is there any version of Indesign that allows to open multiple instance at the same time
I am using Indesign CS3 to generate the bulk reports automatically(programmatically) using Adobe indesign library . One of the key limitation to this tool is it allows to open only one instance at a time unlike word where multiple instances can be opened at the same time. Is there any adobe indesign too version desktop/server which allows to open multiple instances at the same time. Any help on is appreciated. Thanks.
@PeterG
You said "You might want to examine the End User Licensing Agreement (EULA) for any prohibition against using these two instances at the same time with the same license; the license does permit two installs for the same user that are not used simultaneously." I thought that meant you had read the EULA. It's pretty unambiguous on that point.
For everyone's edification about multiple installations and server use with a standard license here's the relevant text:
2. Software License.
If you obtained the Software and any required serial number(s) from Adobe or one of its authorized
licensees and as long as you comply with the terms of this agreement, Adobe grants you a non-exclusive
license to install and use the Software in a manner consistent with its design and Documentation and as
further set forth below. See Section 16 for specific provisions related to the use of certain products and
components, for example font software, Acrobat, After Effects, Adobe Presenter, Contribute, Adobe
Device Central, Flash Player, Flash Builder, and Adobe Runtimes.
2.1 Limited Use. The Software, or portions of the Software, may allow installation and use without a serial
number. If so, you may install but not use such non-serialized Software on any number of Computers as
part of an organizational deployment plan. Further, you may install and use such non-serialized Software
on any number of Computers for demonstration, evaluation and training purposes only and only if any
Output Files or other materials produced through such use are used only for internal, non-commercial and
non-production purposes. You may not use such non-serialized Software after any applicable time-out
period has ended, unless you input a valid serial number under Section 2.2. ACCESS TO AND USE OF
ANY OUTPUT FILES CREATED WITH SUCH NON-SERIALIZED SOFTWARE IS ENTIRELY AT
YOUR OWN RISK.
2.2 General Use. You may install and use one copy of the Software only on the Permitted Number of your
compatible Computers into which you enter a valid serial number.
2.3 Distribution from Server. You may copy an image of the Software onto Computer file server(s) within
your Internal Network for the purpose of downloading and installing the Software onto Computers within
the same Internal Network for use as permitted by Section 2.1 and 2.2.
2.4 Server Use. You may install the Software on Computer file server(s) within your Internal Network only
for use of the Software initiated by an individual from a Computer within the same Internal Network only
as permitted by Section 2.2. The total number of users (not the concurrent number of users) able to use the
Software on such Computer file server(s) may not exceed the Permitted Number.
By way of example, the foregoing does not permit you to install or access (either directly or through
commands, data or instructions) the Software: (a) from or to a Computer not part of your Internal Network,
(b) for enabling Web hosted workgroups or services available to the public, (c) by any individual or entity
to use, download, copy or otherwise benefit from the functionality of the Software unless licensed to do so
by Adobe, (d) as a component of a system, workflow or service accessible by more than the Permitted
Number of users, or (e) for operations not initiated by an individual user (e.g., automated server
processing).
2.5 Portable or Home Computer Use. Subject to the important restrictions set forth in Section 2.6, the
primary user of the Computer on which the Software is installed under Section 2.2 (“Primary User”) may
install a second copy of the Software for his or her exclusive use on either a portable Computer or a
Computer located at his or her home, provided that the Software on the portable or home Computer is not
used at the same time as the Software on the primary Computer.
2.6 Restrictions on Secondary Use by Volume Licensees. If the Software was obtained under an Adobe
volume license program (currently known as Adobe Open Options) by any licensee other than an
educational volume licensee, the second copy of the Software made under Section 2.5 must be used solely
for the benefit and business of that volume licensee. For more information about secondary use by volume
licensees, please visit our Web Site at http://www.adobe.com/go/open_options.
There is also language stating that if you have a dual boot or other system capable of running more than one OS you will need a separate license for each platform if you want to run the software on more than one. -
Multiple instances of the same APEX application under SSO
Currently we have several applications that are authenticated through Oracle SSO. The apps are authenticating correctly, but I can't be in multiple instances of the same application without having to re-validate through SSO when I move between instances.
Scenario: I'm successfully signed into my "parent" application, app_id 1 through SSO. I click a custom link that opens the "child" application (app_id 2) to view widget "A". When the page is launched I see the usual "Redirecting to the Login Server for authentication" message (verifying that I'm signed in through SSO) and then it succeeds and takes me into app 2, displaying widget A. I click the next link to launch another instance of app 2 with a different APEX session id for viewing widget "B". This also passes through SSO and redirects me into app 2, displaying widget B as expected. But now if I go back to navigate anywhere on widget A in my first instance, it has to go back through the "Redirecting to Login Server." This now means the widget A window is valid, but the widget B window will have to redirect next time I use it (back & forth & so on...)
So my question I suppose is: Is it possible/good practice to allow a single user to open multiple separate instances of the same APEX application using different APEX session_ids viewing different data under Oracle Enterprise SSO?
Guesstimation: It seems like there must be a switch somewhere in SSO that says "allow multiple application instances yes/no"...but my problem may be APEX itself, or how SSO is tied into APEX... Sorry for the super-generic example, I'm not exactly sure where I should be looking to resolve this, and the closest similar problem I found on the forums was here: login to application twice in two seperate IE windows clears other loginreset your dock preferences. delete the file homedirectory/library/preferences/com.apple.dock.plist and log out/in. your dock, spaces and exposé will be reset to the defaults. see if the problem goes away.
Maybe you are looking for
-
Error using IO taglib in BEA 8.1
Hello, I am integrating a web application into BEA 8.1 and everything seems to be getting worked out except for 1 thing. In one of my JSP pages I use the Jakarta io taglib to send a SOAP message. When I try to
-
BAPI to update PO's and Corresponding line items numbers **URGENT**
Hi All, I have a requirement to create a program which will take list of POs and corresponding line item number and update Final invoice indicator for the same. This should be updated in SRM as well as R/3. I think, it can be done by a BAPI. Do anyon
-
Playing a .swf on a PC?
My client is trying to play a .swf file (outside of a browser) on his PC. He has Flash Player 10 installed, but the player doesn't seem to recognize the file. I can play this file on a Mac with no problems. Any suggestions would be greatly appreciate
-
E545 and Function key not working
Any help here is apprecited. My function (Fn) key is refusing to work at all. None of the special features are able to be used. I've checked all my drivers, and followed the instructions in the User Guide, but some of the options described in the gui
-
My Acrobat X has stopped allowing non-pdf files to be combined into a single document. IE - I have to convert each .doc and .xls into .pdf prior to doing a bundle. Anyone else having this problem? Trudy