We have recently noticed something very interesting about Oracle’s services were absconding (means not to be seen) from Services listing, however the Oracle products are intact in all other means.
Earlier we shared a post explaining recreating the missing database services. Today we will try to explain how you can recreate missing Weblogic services. You MUST have Administrative access to the box, and en elevated command prompt (right click, start as administrator)
Assuming you have installed the Weblogic 10.3.6 server in the folder “D:\WebLogic\Middleware>” let us start
Start an elevated command prompt. Switch to “D:\WebLogic\Middleware>”
Let us do an old DOS trick to print all the .cmd files available with the repository
If you really know where exactly the .cmd files are, you may go ahead with the rest of the exercises. So the Node manager installer script is residing under D:\WebLogic\Middleware\wlserver_10.3\server\bin folder. Switch to the folder and execute the .cmd file
Executing the .cmd file should create a new service and available to start within services console.
So once we created the Node Manager Service, we can start re-creating the optional service(s). We will limit ourselves to Weblogic Admin Console service, which is the maximum for our exercises. You may refer to our other post about installing & Configuring Weblogic 10.3.6 for details about creating individual services for Forms and Reports services.
Based on the application domain(the directory export will clearly give you an idea of the folders where components are installed) you have chosen during the installation, switch to the domain folder now
There are no disputes, Quest Toad for Oracle is the BEST, for a programmer, DBA in an enterprise environment. Toad comes with a high price TAG, which makes many organizations which are not software development oriented, however do minor scale development to fill the business gaps, against Oracle databases, to make compromises and thus silently supporting pirated copies in distribution.
We were using Oracle SQL developer from last many years as our scenarios were mostly restricted to custom development and the DBA activities were managed by the console interactions itself.
From last few days we started checking out Oracle’s latest build (Early build) of SQL developer 4.0 and the first impression is quite fascinating. The prerequisites are limited to JDK 7.x which is becoming standard deployment in almost all scenarios.
A quick note about installing JDK7. Do not install JRE 7 yet, your ERP R12 instance may note support it, or minimum in our case. Install JDK always in a folder without spaces, like C:\JDK, D:\JDK7 etc
You can download the archive for the early build from Oracle download repositories
(JDK is not included, however from the same page you can download the installer)
Unzip the Developer archive (.zip) file to a local folder. The initial run will prompt for JDK location, which you can point to.
What is New
According to Oracle, these are the few new features added with SQL Developer 4.0
Oracle SQL Developer
New Features in Release 4.0
Database Performance Monitoring
SQL Developer now provides a full interface for Oracle Database Enterprise Edition’s Diagnostic pack, including Automatic Database Diagnostic Monitor (ADDM), and Active Session History (ASH). Accessible from the DBA panel, users can also manage their snapshots, baselines, and baseline templates.
Find Database Object – Search
The database search is completely redesigned. The new tree layout allows for searches on multiple schema, object type, identifier types and usages. A history of your searches will be stored for later access. Search results can be viewed in a separate Editor where multiple search results can be pinned and displayed.
Command Line support has been extended to Reporting and to the Cart. You can run Reports and generate them into HTML format through the command line. The Cart commands offer the ability to export objects and data. A set of predefined DDL generation options and data formats can be applied.
The Cart has been greatly enhanced. You can create and work on multiple carts. The deployment of objects has been extended to give you more flexibility in selecting export DDL options and data formats. Export Object configurations can be saved and applied again. Compare Cart objects to another Cart or Connection with the Database Diff. Cart objects can also be copied with the Database Copy feature. Scripts are extended to include Before and After Data Load.
Creating reports has never been easier. The create new report dialog has a tree layout for ease of navigation. An Advanced Option is available to instantly create Child and Drill Down type reports. Chart based reports include more chart types and you can test reports from anywhere within the report editor. Charts can be previewed in design mode. An HTML Report can be generated for any report. Enhancements in Database Doc generation include better layout and support for multiple threads to improve performance.
The new UI changes in 4.0 enhances the overall look and feel of SQL Developer. A popular request on the Feature Exchange, a window border color can be dynamically set for a database connection. Useability improvements can be seen with with the new floating Editor and Navigation windows.
Data Modeler 4.0
This version includes the new Data Modeler release 4.0. New features include 12c support for IDENTITY columns and masking of sensitive data with Redaction policy definitions at table and column level, create Transparent Sensitive Data Protection (TSDP) policies and associate it with sensitive types. See the full list of New Features here.
JDK 7 Support
This release supports JDK 7 and above. Download JDK 7 here.
You will be asked whether the previous configurations should be migrated, incase if you were using previous versions of Oracle SQL developer. “Yes” will help you to save certainly a great amount of time, recreating the connections
The major difference between SQL developer and Quest Toad you may notice will be the look and feel, while Toad has a clear crisp interface to work with, which looks like earlier versions of Microsoft Office, the total look and feel of Oracle SQL Developer scores many less points. If you are from a pure #Linux environment, there is a high possibility that such look and feel experiences will not affect you much. On the other hand, sorry, your beauty expectations may be compromised to a certain extend.
As the name goes, SQL developer is mainly targeting SQL/PLSQL developers, hence if you are going to compare apple to apple, there are high chances that you will find Quest Toad a better partner, especially if you want to deal with the DBA activities also from the same console.
Memory consumption footprints
Let us look at a major concern for most of us, the memory consumption. Until recent days, laptops/notebooks were mostly equipped with decent 4GB memory, which was more than enough to do your stuff. However, with the emergence of 64Bit operating systems like Windows 7 & 8 the requirement for more memory has significantly changed and the latest default has become a minimum of 8GB.
A session with just connection established, SQL developer consumes 700 and more memory, while Quest Toad consumes less than 90MB the maximum, which could draw a line of concern, unless you have plenty of memory to spare. Please check the images above
Other than the CPU & Memory demands, SQL developer provides almost all functionalities against populated data as in with Quest Toad.
Now, if you or your organization could afford to pay the high license fee Quest Toad demands,we will recommend Quest Toad as a primary choice as it comes with multiple flavors tailored for particular requirements like
while Oracle SQL Developer is absolutely free, provide almost 70-80% of Toad’s functionality for a developer, at a high memory, CPU consumption compromise.
If you have thoughts, concerns, suggestions towards this post, please post them to us in the comments section.
Oracle Enterprise Manager(em) allows you to configure, re-configure multiple elements for Oracle forms and reports repositories as well as other deployed applications.
EM is the GUI tool provided by Oracle to configure, say, look and feel for your forms instance. Instead of manually editing formsweb.cfg, default.env, registry.dat files, using the GUI you can configure the elements related those whole configuration files, to say the least.
A default installation of Weblogic 10.3.6 does include Oracle Enterprise Manager, however if you created a service for the Weblogic Admin Server using installSvc.cmd at later stages to start the Weblogic Admin Server, most probably the Enterprise Manager will not start automatically as JAVA classpath variable misses out certain elements, thus throwing the error
“Error java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener Message icon – Warning Errors were encountered while performing this operation.”
After going through a number of OTN discussions, we managed to come up with a solution! by including “setDomainEnv.cmd” within installSvc.cmd batch file.
Please note, if you already created a windows service for Weblogic Admin Server, you must delete the service prior creating a new service. Once the service is gracefully stopped, go to elevated command prompt(Windows 8/ Windows Server 2008 Rx) and type
SC DELETE “beasvc yourdomain_AdminServer”
Refresh the Services.msc console and make sure the service is deleted.
Now backup your installSvc.cmd file
We will modify the installSvc.cmd file (Location: example, D:\WebLogic\Middleware\wlserver_10.3\server\bin) like following (use a decent text editor like Notepad++ )
The following are the default entries you would find with “installSvc.cmd” file
[sourcecode language='text' padlinenumbers='true']
Which we will modify like following
[sourcecode language='text' ]
Now go to folder, where you have created the .cmd file(s) for creating Windows services for
Admin Server Console
In our case we created all those “.cmd” files here
Once the service is created, start it. Login to the console and check the status of “em” under deployments.
If the State is “Active” and Health is “OK”, your Enterprise manager is up and running. You can try to access the Enterprise manager from http://localhost:7001/em
You should provide the same credentials for the Weblogic Admin Console to login with EM.
From the EM Console, as said above, you can configure many parameters for Forms and Reports.
Even though you have managed to “fix” the EM access problem, there could be another issue, once after this exercise. You may not able to access the Forms or Report Server, though the Weblogic console shows them as running with Health being “Ok”
Stop the OPMN processes manually, and restart them and try again.
From elevated command prompt (if you haven’t sourced the environment variable for OPMN, change the working directory to, example: D:\WebLogic\Middleware\asinst_1\bin>)
stop OPMN processes by issuing “opmnctl stopall”
Check the status of the OPMN by issuing “opmnctl status”
Wait until all the processes are stopped
then restart the OPMN processes by issuing “opmnctl startall”
Check the status and make sure all the processes are with a status “Alive”
Hello guys, we just posted how to upgrade your existing Forms & Reporots 32Bit 220.127.116.11.0 to 18.104.22.168.0. Why don’t check it out here?
We are running a blog explaining many workaround solutions for installing and configuring discontinued, uncertified Oracle software on Windows 7 & Windows 8 from last year onward.
Let us accept it, Developer 6i applications face multiple issues while used on both Windows 7&8 like:
Rendering menu modules
Running products like Reports and Graphs
Usually a legacy application compiled using patch sets below 18 are less prone to above mentioned issues, however an application completely developed using patch 18 regularly get into issues on Windows 7 & 8 where hacks are used.
Recently we were forced to look towards a better environment for a new application, which by certain reasons cannot be accommodated and hosted within Oracle Application entity, and we started dwelling the possibilities of setting up a Weblogic server (old application server) for our forms and reports modules.
in short, we did it! and we are sharing the experience with you.
you need the following to carryout the installation and configuration
(Hurry, you may not find the above software bundles with OTN after few weeks or months time)
Part 1 – Weblogic Server 10.3.6 Installation
Installation of Weblogic is pretty straight forward on Windows 8. Only once the compatibility issue is raised, which you can safely ignore by the click of a button.
The Weblogic 10.3.6 (wls1036_win32.exe) installation comes as a single .exe file, which you can start like any other installer.
Please have a look at the images
Choose a directory name without spaces, this is going to be your middleware home.
Uncheck the email notification, you don’t need it as far you don’t have a support from oracle
Select “Custom” installation type, as you can select which JDK to be selected and other components at later stages. We installed both JDK for our installation.
Click next to continue
Leave the selection as it is
Select Yes for “Node Manager Service”, it will make few things simpler at later stages, especially while you are using Admin Server for managing both forms and reports servers.
Select “All Users”
Clicking “Next” will start installing the Weblogic server 10.3.6 for you. Relax and wait until the installation completes.
Once installation has been done, you will be given an option to setup the Weblogic server with an instance, which we will do as a part of Forms & Reports 11g installation and configuration.
Part 2 – Installation ofOracle Forms and Reports 11g Release 2
Once you download the Oracle Forms and Reports 11g Release 2, the zip archive must be unzipped to a folder, which will create Disk1, Disk2, Disk3 folders. You should start the “Setup.exe” from Disk1 folder. Once again the installation is straight forward, without requiring to make any specific hack to the installation media.
You must skip the “Software Update” option, unless you have the paid support from Oracle for the product you are installing.
Most important: You should select “Install Software – Do not configure” at this level, as the configuration will be done once after the installation completed.
On Windows 8 you will be notified about two vital check failures, however allowing you to continue the installation at own risk by clicking the “Continue” button.
Next page will clearly notify you that you must have an application server already installed. Application server akka Weblogic server. Without Weblogic server you cannot use Oracle Forms and Reports 11g Release 2 even for development purpose.
You can safely ignore being updated about the software updates once again
Once you say yes to software update related prompt, the installation will start
Now you have finished installing Oracle Forms and Reports 11g Release 2 on Windows 8/Windows 2008 R2
Part 3 – Configuring the Weblogic server with forms and reports 11g
As we have installed “Node Manager Service” prior configuring the forms and reports, we need to stop the Node Manager Service from Windows services console
Invoke “services.msc” and stop the following service “Oracle Weblogic NodeManager(D_Weblogic_Middleware_wlserver_10.3)
If you don’t stop this service, you are going to come across issues as discussed here
To configure the Weblogic server for forms and reports, you need to invoke the “Configure Classic Instance” cmd file from Windows menu folder “Oracle Classic 11g – Home1”
It may take couple of minutes until you are provided the installation application GUI as shown below. Click next
Select the option “Configure for Deployment”
Unless you are entitled for Oracle support ignore the email part
Now, choose a meaningful name for your Oracle instance.
Important: You must note down the following details for future references. We opted to use the username suggested by Oracle during the configuration which is “weblogic” and provide a password consist of alphabets and minimum one digit (number)
Domain is the node which will be setup with Weblogic for Administration server as well for both Forms and Reports Servers.
By default, Developer tools are not selected, you MUST select this node, incase if you are going to use the same machine for development (which is our objective with this exercise). You may uncheck the “Clustered” option, unless used in a production environment.
Select “Auto Port Configuration”
Try to avoid using Proxy. Microsoft ISA server can make the whole experience a parody, if used.
Use Identity management, only if already implemented and business mandatory. Else leave it unchecked
Click on “Configure” button and sit back, until the process is over!
You may save the installation responses for a future installation by clicking the Save button. Click “Finish” button to exit the configuration wizard
You may run into issues accessing the Enterprise Manager, incase if you have automated the weblogic admin server startup part using services & we have another post explaining how to tackle it here
If the node manager service is installed you can start and stop various components for the domain through this console.
Part 4 – Starting and Stopping domain components AdminServer, WLS_FORMS(Forms Server), WLS_REPORTS(Reports server)
Oracle provides batch files to start and stop all the above mentioned components. You may start just WLS_FORMS and WLS_REPORTS services, unless planning to manage them through the Admin Server console.
Starting Weblogi Admin Server
Starting Forms Server
Starting Reports Server
Part 5 – Automating Weblogic Admin Server, WLS_FORMS(Forms Server), WLS_REPORTS(Reports server) startup with Windows Services
Let us agree, the cmd windows look ugly, dangerous and a user can close them down, thus bringing the entire servers down unintentionally. A windows service looks much favorable under such scenarios and wise people from Oracle do provide solutions to create windows services for
Weblogic Admin Server
WLS_FORMS (Forms Server)
WLS_REPORTS (Reports Server)
Creating Windows services for Admin Server and Forms server are pretty simple and straight forward business, while CMD command line length limitations will make Reports Server service creation a little difficult, don’t worry we have solution for it also.
Part 6 – Creating Windows Service for Weblogic Admin Server
Notepad++ (or any decent text editor other than Windows notepad)
Create a .cmd file named “Install_AdminServer.cmd” with the following lines
[sourcecode language=”text” padlinenumbers=”true”]
set MEM_ARGS=-Xms512m -Xmx512m
Please note, you must provide the absolute domain name and physical directory names based on your installation preferences!
Save the script to “USERDOMAIN_HOME” folder, ie, “D:\WebLogic\Middleware\user_projects\domains\appsdomain” in our case
From elevated command line, execute the batch file, and the Windows service for Admin Server must be created, unless there were mismatches with the information supplied
Part 7 – Creating Windows Service for WLS_FORMS(Forms Server)
Create a .cmd file “InstallWLS_FORMS.cmd” using Notepad++ with following lines
rem *** call "D:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
Save the script to “USERDOMAIN_HOME” folder, ie, “D:\WebLogic\Middleware\user_projects\domains\appsdomain” in our case
From elevated command line, execute the batch file, and the Windows service for WLS_FORMS must be created, unless there were mismatches with the information supplied
Part 8 – Creating Windows Service for WLS_REPORTS(Reports Server)
Create a .cmd file “InstallWLS_REPORTS.cmd” using Notepad++ with following lines
rem *** call "D:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
Unfortunately, you cannot just run the .cmd file and create a service for WLS_REPORTS like other services, as the java CLASSPATH for reports server has more than 3000 character length, which is beyond 32Bit command line architecture.
Hence you have to do a minor hack, as provided as a solution by Oracle.
Go to “D:\WebLogic\Middleware\wlserver_10.3\server\bin” folder (equivalent on your machine) and make a backup for the file “InstallSvc.cmd”
If the report server is running, terminate it by using Ctrl+C within the open cmd window
Wait until the server shutdown. Check the status through Admin Console.
Now restart the Report Server, using the menu interface
Mark and copy the CLASSPATH= output and paste it to a new text document. You have to spend few minutes to wrap up the text and make sure the entire text is wrapped into a single line (This is why we love Notepad++)
Add “set” in front of CLASSPATH= and your txt file content should look something like below and save the text file as “myClasspath.txt”
Now open the “InstallSvc.cmd” using Notepad++ and locate the line “set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%” and comment the same like
rem *** set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
Now locate the line “set CMDLINE” within the “InstallSvc.cmd” and change the line like following
There are two instances of set CMDLINE, you must change both lines, only replacing the “-classpath \”%CLASSPATH%\” part with -classpath @d:\myClasspath.txt
After the above, from elevated command line, execute the batch file, and the Windows service for WLS_REPORTS must be created, unless there were mismatches with the information supplied
Change “Automatic” to “Manual” for better ease, at various situations. You may create a .cmd file for starting the services and another one for stopping them.
From our prospects, these services are just a facelift for the batch files, avoiding the immediate problems with accidental closure of cmd windows and thus causing serious issues to the instance. We came to this conclusion because, the service status are not updated incase if one of the services stopped by the Admin Server console at later stages, neither the service status update waits until the actual server starts to update state of the service.
You can delete whole these service from command prompt, after stopping like following
>SC DELETE “service name”
We hope you will enjoy setting up Weblogic 10.3.6 and Oracle Forms and Reports 11g Release 2 on Windows 8/ Windows 2008 R2 following the instruction set provided above.
# This file is actually generated by netca. But if customers choose to # install “Software Only”, this file wont exist and without the native # authentication, they will not be able to connect to the database on NT.
Huge arguments everywhere! Being developers all around the clock, #windows7bugs believes, the choice should be left alone on individual user.
We are trying to demonstrate, how a classic menu approach would make things a bit better for developers, techies who have to browse through pool of sub-menu elements to do their everyday job!
Windows 8 new startup interface
Okay, we are techies and we will find out what we want from the tiled interface (after spending pretty decent time) pool and “try” to pretend that we are with the move
Worse scenarios, we just use classic shell and get straight on to our desired application. We are not ashamed to say we are from the ol ol schools
Bravo, now we can see Microsoft sending away few techies who thought they would be remembered for their “outstanding” visionary approaches with a no-harm meant “start” button elimination and easy access to applications through “metro” tiled application UI!
Yes, Microsoft, bring back what was there, let the users decide whether they want to change, finally like our employer always reminds us “Customer is the GOD”. So listen to customers and give them what they ask for.
Okay guys, after a week of “tolerating” windows 8 without a start button, being developers who are always trying to get “stuff” through start button –> programs, decided to go back to “Classic Shell” approach.
Neat and free, this small application could make a developer’s life pretty easier with a mouse click access to all programs! Give it a try and download it from here
Should you use a third party antivirus, anti-malware solution with your new Windows 8 OS is entirely a new debate, as Windows 8 comes with built-in solution for both antivirus, anti-malware.
Windows defender akka Microsoft security essentials in new shape should be more than enough to protect a normal user who doesn’t take risks by visiting websites known for spyware and other malicious codes.
We prefer to stay with Windows defender, as the complete solution is developed and maintained by Microsoft. Who knows the OS better than the them?
However, Avast suite (both free and paid editions) should give you a better level of peace of mind. We, as windows7bugs have already tried both scenarios (Windows defender and Avast paid edition) and opted to stay with Windows defender.
Now it is your turn to make a decision! The rule of thumb is, don’t take unwanted risks by visiting ill reputation sites and trying cracks, patches one use to “crack” legitimate software!