I am getting the below error on trying to restart the IWLS on JDEV
C:Usersc-sutipirnsystem11.1.2.2.39.61.83.1DefaultDomainbinstartWebLogic.cmd [waiting for the server to complete its initialization...] Javajdk1.7.0_25 was unexpected at this time. Process exited.
my path variable is set to:
Steps to create a new domain on Weblogic Server 12.1.2.0.0. Puneeth Prakash. This decreases the amount of time it takes for the Configuration Wizard to create or update a domain. Quick Start Configuration Wizard can be used only to configure the various sample domains, such as MedRec and the Examples Server, in your WebLogic Server. Aug 16, 2013 Steps to create a new domain on Weblogic Server 12.1.2.0.0. Puneeth Prakash. This decreases the amount of time it takes for the Configuration Wizard to create or update a domain. Quick Start Configuration Wizard can be used only to configure the various sample domains, such as MedRec and the Examples Server, in your WebLogic Server.
C:Oracleproduct11.2.0client_2bin;C:Program Files (x86)Windows Kits8.0Windows Performance Toolkit;C:appclientproduct12.1.0client_1bin;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program Files (x86)Microsoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100ToolsBinn;C:Program FilesMicrosoft SQL Server100DTSBinn;C:Program FilesMicrosoftWeb Platform Installer;C:Program FilesMicrosoft SQL Server110ToolsBinn;C:Program FilesMicrosoft SQL Server110DTSBinn;C:Program Files (x86)Microsoft SQL Server110ToolsBinn;C:Program Files (x86)Microsoft SQL Server110ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server110DTSBinn;C:Program Files (x86)Subversionbin;C:Program Files (x86)Javajre7bin;C:OracleMiddlewarejdk160_24
Any help to resolve this issue.
Vini.g.fer5 Answers
11.1.2.2 needs JDK 6 to work.Upgrade to either 12c or at least 11.1.2.4 and you will be able to run with JDK7.
Shay ShmeltzerShay ShmeltzerProblem is that WebLogic server starting scripts (as startWebLogic.cmd and setDomainEnv.cmd ) refers system variables as %JAVA_HOME% (or %CLASSPATH%) without quotation e.g. '%JAVA_HOME%'.
'%1 was unexpected at this time'
is shell error result caused by spaces in used system variables.
I'm solving similar problem with WebLogic 12.1.x server and I do not know simple solution, start script is pretty complex and hard to fix.
It seems that this can be related to the value of the PATH environment variable.
If it contains a path (with quotes) like ;'C:Program Files (x86)Javajre7bin';
(with a space) it will result in 'Files was unexpected at this time'.
Removing the quotes seems to resolve this (;C:Program Files (x86)Javajre7bin;
) and using the short name could be an alternative (;C:PROGRA~2Javajre7bin;
, try 'dir /X' to get the short name).
Ran into similar issue. Turned out %PATH% was too long and blew up in c:OracleMiddlewareOracle_Homeoracle_commoncommonbinshortenPaths.cmd
In my case, I just commented out with REM as follows:
PS: didn't see the EOF label so i also added :EOF at the end of the file
I solved it through path variables changes for windows, by following this steps:
- define
JAVA_HOME
andMVN_HOME
first as new env viriables - Update Path and add new viariables:
%JAVA_HOME%bin
and%MVN_HOME%bin
Make sure you do not have nay other variables with a full path name like: C:Program Files.
Shayki AbramczykNot the answer you're looking for? Browse other questions tagged windowsjdeveloperweblogic-10.x or ask your own question.
Note:
This chapter has been added in support of functionality for JD Edwards EnterpriseOne Tools Release 9.1 Update 5.This chapter includes these tasks:
3.1 Overview
This document provides instructions for installing and running the Oracle installer for Oracle WebLogic 12.1.3.
Additional information regarding Oracle WebLogic 12.1.3 is available at this link:
3.2 Downloading Oracle WebLogic 12.1.3 from the Oracle Software Delivery Cloud
You can download Oracle WebLogic 12.1.3 from the Oracle Software Delivery Cloud located at this link:
3.3 Before You Begin
3.3.1 64-Bit Support - General
Per the Minimum Technical Requirements for JD Edwards, Oracle WebLogic 12.1.3 is supported with 64-bit JDKs on 64-bit platforms. You should always review the Certifications for JD Edwards EnterpriseOne for the supported platforms as described in Chapter 1, 'Accessing Certifications (formerly Minimum Technical Requirements)'.
3.3.2 64-Bit - JDK
The installation of Oracle WebLogic 12.1.3 for 64-bit platforms does not include the 64-bit JDK. Therefore, prior to installing Oracle WebLogic 12.1.3 for 64-bit platforms, you must manually download and install the requisite JDK. For the latest information about the specifically supported JDK, refer to the Oracle Fusion Middleware 12c Infrastructure product on Oracle Certification.
Additionally, JD Edwards EnterpriseOne requires that a 64-bit JDK be installed so that the bin directory of the JDK is located at the beginning of the PATH variable definition.
3.3.3 System Requirements
Refer to Chapter 1, 'Accessing Certifications (formerly Minimum Technical Requirements)' to locate for specific system requirements including minimum processor and memory required for Oracle WebLogic 12.1.3 on JD Edwards EnterpriseOne HTML Servers.
3.3.4 Installation Considerations
Oracle recommends the following:
Do not exceed a maximum of 12 characters when naming your home directory. If the name of this directory has more than 12 characters and if there are spaces in the directory name, the CLASSPATH may not be resolved properly.
You can install only one instance of each version of an Oracle WebLogic product in a single home directory
If you launch the installation from the command line or from a script, you can specify the -log option to generate a verbose installation log. The installation log stores messages (informational, warning, error, and fatal) about events that occur during the installation process.
3.4 Installing and Verifying the JDK Version
Oracle WebLogic 12.1.3 supports Oracle JDK 1.7.0_55+ version. version. Oracle JDK can be downloaded from the Oracle Software Delivery Cloud at this link:
Note:
A plus sign '+' after the fourth digit in the version number indicates that this and its subsequent versions are supported.Caution:
For Oracle WebLogic 12.1.3, no version of 1.6.x from any vendor is supported.To verify your version of an installed JDK, use this command from the command prompt:
Note:
Verify the returned result indicates that a 64-bit version of the JDK is installed.JD Edwards EnterpriseOne requires that a 64-bit JDK be installed so that the bin directory of the JDK is located at the beginning of the PATH variable definition.
Note:
You must have a valid value for the Java_Home in your system path.3.5 Installing Oracle WebLogic 12.1.3
To use the Oracle Universal Installer (OUI) to install Oracle WebLogic 12.1.3:
Locate the Oracle WebLogic 12.1.3 installer from the image that you downloaded from the Oracle Software Delivery Cloud.
The file name of the installer is:
fmw_12.1.3.0.0_wls.jar
Open a Command window with Run as Administrator option and run this command from the prompt:
>java -jar fmw_12.1.3.0.0_wls.jar
Upon execution, the installer starts preparing the OUI install program and displays the Welcome screen.
On Welcome, click the Next button.
On Installation Location, provide a location for the home for this installation of WebLogic 12.1.3.
For example, your Oracle Home directory might be:
C:OracleMiddleware
Tip:
The location you enter here will be yourMW_HOME
value.Click the Next button.
On Installation Type, select the type of installation you wish to perform.
In this guide, it is assumed you select the Complete Installation type, which installs the Oracle WebLogic and the Oracle Coherence Server. However you can choose to select WebLogic Server Installation option.
Note:
The Complete Installation selection automatically includes the Oracle Coherence server. This is a stand-alone cache server that enables dedicated JVM instances responsible for maintaining and managing cached data. As of the initial publication of this guide, the JD Edwards EnterpriseOne HTML Server has not been certified with the Oracle Coherence Server.Click the Next button.
The installer runs Prerequisite Checks and shows progress.
If the checks are successful, click the Next button.
On Specify Security Updates, Oracle strongly recommends you complete the Email address and/or the My Oracle Support Password fields to register your installation of Oracle WebLogic 12.1.3. This registration will enable you to be informed of security issues.
Click the Next button.
On Installation Summary, review the list of products that will be installed.
Click the Install button.
As the installer begins a progress bar is displayed in the lower right-hand portion of the screen and displays the new features of the Oracle WebLogic 12c.
On Installation Complete, ensure this checkbox is selected in order to launch to the Quickstart menu so that you can create your Domain:
Automatically Launch the Quickstart Configuration Wizard
Click the Finish button.
The launch of QuickStart Configuration Wizard opens the Fusion Middleware Configuration wizard. Refer to the next section in this guide entitled: Section 3.6, 'Using Fusion Middleware Configuration Wizard to Configure Oracle WebLogic 12.1.3'.
3.6 Using Fusion Middleware Configuration Wizard to Configure Oracle WebLogic 12.1.3
You can use QuickStart to create a starter domain using the Configuration Wizard. These instructions guide you in the creation of a domain for JD Edwards EnterpriseOne.
If you selected the Run Quickstart check box on the Installation Complete menu of the installer, QuickStart is automatically launched.
To manually launch the QuickStart configuration wizard, run this executable:
<MW_HOME>oracle_commoncommonbinconfig.cmd
On Configuration Type, enter or browse to your domain location. For example:
C:OracleMiddlewareuser_projectsdomainsbase_domain
where in this example
base_domain
is the domain name.Tip:
The typical default domain location is:<MW_HOME>user_projectsdomains
Click the Next button.
On Templates, select the checkbox for this template:
Basic WebLogic Server Domain - 12.1.3.0 [wlserver]*
Click the Next button.
On Administrator Account, complete the fields for user name and password for the default user that will start the domain.
Click the Next button.
On Domain Mode and JDK, for use with JD Edwards EnterpriseOne you must select this radio button in the Domain Mode section:
Production
In the JDK section, ensure the radio button is selected for the available JDK. For example:
Oracle HotSpot 1.7.0_55 C:PROGRA~JavaJDK17~1.0_6
Click the Next button.
On Advanced Configuration, check these boxes to modify their settings:
Administration Server
Node Manager
Manager Servers, Clusters and Coherence
Click the Next button.
On Administrative Server, complete these fields:
Server Name
Enter a name for the Administration Server. For example:
AdminServer
Listen address
You can accept the default selection, which is:
All Local Addresses
Listen Port
Tip:
The default port value is 7001.You can override the default value if desired. For example, you could enter this port value: 8000.
You must specify this same port number in the URL that starts the Admin Console.
Click the Next button.
On Node Manager, in the Node Manager Type section, select this radio button:
Per Domain
Note:
The Per Domain value is the only supported Node Manager Type for use with JD Edwards EnterpriseOne.On Node Manager, in the Node Manager Credentials section, enter valid values for your Node Manager.
Note:
A valid username and password are required to start the node manager.Click the Next button.
On Managed Servers, ensure that the specified Listen Port is unique for this server and click the Next button.
Set the Listen Address to localhost and click the Next button.
On Configure Clusters, click the Next button to skip this step for purposes of this guide. Refer to the Note below.
Caution:
Clustering is not part of the basic Oracle WebLogic 12.1.3 License. In order to use the Clustering feature you must upgrade and obtain a license for an Oracle Enterprise WebLogic Server.On Machines, click the Machine tab and then click the Add button to define a machine name.
Note:
You also can define the Machine from the Oracle WebLogic 12.1.3 Administration Console after the configuration.Click the Next button.
On Assign Servers to Machines, in the left pane highlight available servers and use the right arrow button to assign the available server(s) to the newly defined machine.
On Configuration Summary, review your selections.
Click the Create button.
On Configuration Progress, when the Progress bar indicates the process is 100% complete, click the Next button.
On Configuration Success, click the Finish button to exit the wizard.