This content has been marked as final. Show 5 replies
We're running forms 11gr2 on win 64bit server. The developers all run win7 64bit with 8gig of ram. We have a development weblogic server, which each developer has a forms config profile for. This profile has the developer's directory on the server as the path for forms along with a shared directory for forms 'released' to the development environment. The developer's server directory is mapped to a drive on their pc, and they store the forms and libraries they're working on there. A developer doesn't run weblogic on their pc, instead their runtime settings in forms builder point to the config on the development server, so the dev server runs their forms when testing.
Doing it this way means all forms can be run and tested on a proper server with the right amount of ram, leaving the developer's pc with enough ram to spare.
Hope this helps,
Edited by: Ady Keeling on Jan 11, 2013 8:57 PM
We worked this out ourselves, mainly because we had the same problems as you.
Another way to do this, albeit a bit more work for the developer, is to not test the forms from within the forms builder, but to build a form then 'release' it onto the development server, and test it from there.
When I say release, I mean copy the file onto the server and compile it on that platform in a directory that is in the forms path of the development weblogic server.
We used to run Linux for the servers and used this sort of config. We had scripts written that would release the forms and compile them using scp/ssh. As we now develop and deploy on the same win64 platform, we can simply compile the form inside the builder and this automatically saves it on the server if it is opened from a network share.
Sorry if this isn't very clear, but it's not very easy to explain, and as it's late on friday evening I'm not at work so haven't got easy access to stuff to check things until Monday.
If there's something specific you don't understand just ask away.
Unfortunately, I have a lot of questions. I will ping you back in this thread on Monday if you don't mind. If you don't time to answer them, no worries. I am thrilled that this is even possible. I am going to go ahead and start loading a Windows 64 bit server with a basic WLS and Forms installation. I might be able to figure this out myself, but I will probably be back asking for clarity on a couple of things.
Right, I've had a look this morning and here are a few gaps in my explanation:
Each developer will need their own environment set up on the development server.
The first part of this is to have their own directory on the server which they may want to map to a drive on their PC. Let's call this directory DEV_HOME.
The second part is to set up their environment on the Forms server part of weblogic, you can do this either through the Enterprise Manager interface or manually via the filesystem. If you're doing it via the file system the files you need to copy/alter will be in a directory similar to the one below:
First of all make a copy of the default.env file for each developer. You will need to change the FORMS_PATH variable in this file to include the developers DEV_HOME server directory. In our setup my environment file is called adrian.env.
Next you will need to change the forms web configuration to include a section for each developer. If you're doing it manually the file is called formsweb.cfg and will be in the directory listed above. All you need to put in the section is a variable 'envFile' pointing to the environment file you've just created. The section for me in our formsweb.cfg is listed below:
*# System parameter: file setting environment variables for the Forms runtime processes*
You may need to restart the forms server to have these changes take effect if you've done the changes manually.
The developers should store all their forms files that they are working on in their DEV_HOME directory on the development server. When they open a file in Forms Builder they should open it using the full network path (not via a mapped drive) e.g. \\DOMAIN\Server\d$\users\username\fmb\myform.fmb.
In Forms Builder the Application Server URL needs to be set, it can be accessed by:
Select Edit from the menu -> Preferences... -> Runtime -> Application Server URL
This setting needs to be changed to:
Now when a developer clicks the Run form icon the form should run on the development server, with no need to have weblogic running on their own pc.