Install weblogic 12c
can i install adf 11.1.1.6 on weblogic 12c ?
then , upgrade adf 11.1.1.6 up to 11.1.2.3 (JDeveloper) ?
and there is any guide to install weblogic 12c and adf 11.1.1.6 ??
can any body tell me , it 's urgent
AFAIK, ADF is not currently supported in WLS 12.1.1 version.
Similar Messages
-
Installing Weblogic 12c on windows server 2008
Trouble installing Weblogic 12 on windows server 2008 ,i have oracle 11g databse in the same system.Now i am trying to install Oracle Weblogic 12 ,but WLS requires JDK 1.6 as a minimum ,after i install the Oracle11g database it automatically installed the Jdk 1.5 ..now how can i go about and install Weblogic 12 .
install JDK 6 or 7. Load the environment variables from CMD.EXE
set JAVA_HOME = RUTA_DEL_JDK_6_OR_7
set PATH =%JAVA_HOME%\BIN;% PATH%
Then, from the same terminal (cmd.exe) run the weblogic runInstaller.exe 12c. -
Install Weblogic 12c zip for developement on Windows 7
I have downloaded wls1211_dev.zip for development purpose (instead of full install using windows installer), for installing on the windows 7 (64 bit). After extracting the zip contents, I set up the environment variables for JAVA_HOME, MW_HOME and JAVA_VENDOR as stated in the readme.txt included in the zip distribution. I also made sure to set the environment variables using 8.3 names (old DOS names) by using dir /x command. Here are the environmental settings:
E:\WLS12c>echo %JAVA_HOME%
C:\PROGRA~1\Java\JDK17~1.0_0\bin
E:\WLS12c>echo %MW_HOME%
E:\WLS12c
E:\WLS12c>echo %JAVA_VENDOR%
Sun
But every time I run configure.cmd, I get the following error:
(I checked the permissions on the directory where I have unzipped and it is full control for me (not an administrator user). I tried to run the configure.cmd using administrative user but the same result). I can also navigate to the directories using 8.3 names. I am able to create delete and update files and folder in the target directories as non-administrative user. I have no idea why I should be getting the following errors.
WebLogic Server 12c (12.1.1.0) Zip Configuration
MW_HOME: E:\WLS12c
JAVA_HOME: C:\PROGRA~1\Java\JDK17~1.0_0\bin
783 jar files are being unpacked.
Please wait, title bar will show progress ...
The system cannot find the path specified.
-- above line repeated I guess 783 times
"ACLs are being setup for E:\WLS12c Please wait..."
The system cannot find the path specified.
The WebLogic Server wasn't found in directory E:\WLS12c\wlserver\server.
Please edit the setWLSEnv.cmd script so that the WL_HOME
variable points to the WebLogic installation directory.
Your environment has not been set.
The system cannot find the path specified.
I will appreciate your help in this regard.
Thanks in advance
SalmanHi,
This issue usually occurs when you install WebLogic Server using generic jar installer and when launching installation with incorrect JDK version.It may be improper JDK installation or incorrect JAVA HOME setup at OS level.
To resolve this issue, uninstall current WebLogic installation using generic.jar installer that is referring incorrect JDK and relaunch the installation with correct JDK by setting correct JAVA HOME system variables. Below are steps to be followed to address this issue.
Un-install WebLogic from your machine.
If the installer is on a network drive it's recommended to copy the generic installer to your local file system and to a folder with no spaces or strange characters.
Remove the system variables you've set: JAVA_HOME, JAVA_VENDOR, and remove the %JAVA_HOME%\bin from the path system variable.
Run the installer as follows:
Open a command prompt
Change directory to \JDK_64\bin folder and execute:
java.exe -jar -Xms1024m server1001_generic.jar
After the installation is completed you can proceed to safely run the Configuration Wizard (config.cmd)
Regards,
Kal -
Install weblogic 12c (12.1.2) in silent mode failed
Hi there
I'm trying to install weblogic 1212 in silent mode, but fail with below error message..and I have try setting the JAVA_HOME variable in user's session or even in .profile, /etc/profile. but still get the same error.. and it looks like it's not because of the JAVA_HOME variable?? or because of other issue? anyone have any suggestion or having experience on fixing the same issue?
Thanks in advance..
Zhou
BTW, I did this in a virtual box running Solaris 10, and I can install it with the UI wizard successfully.. and below is the command I run:
java -jar wls_121200.jar -silent -responseFile /export/home/zhou/silent.xml -invPtrLoc /export/home/zhou/oraInst.loc -ignoreSysPrereqs
out logs:
Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Parse Warning at line number:11
MYORACLESUPPORT_USERNAME=
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No value found. Ignoring!
Validations are enabled for this session.
Verifying data......
Internal Error: Aborting Install
java.lang.NullPointerException
at oracle.as.install.wls.installaction.NextGenWLSInstallAction.setJDKHomeInSilentInstall(NextGenWLSInstallAction.java:270)
at oracle.as.install.wls.installaction.NextGenWLSInstallAction.executeBeforeCopy(NextGenWLSInstallAction.java:252)
at oracle.as.install.engine.modules.util.installaction.InstallActionProviderUtility.invokeExecuteBeforeCopy(InstallActionProviderUtility.java:74)
at oracle.as.install.engine.modules.silent.SilentInstaller.run(SilentInstaller.java:349)
at java.lang.Thread.run(Thread.java:745)Thanks for the reply Puneeth
Yes I did set the oraInst.loc file and the content is:
inventory_loc=/export/home/tdmsadm/oraInventory
inst_group=tdmscore
the output of java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode)
and I run the command in the user's home directory and the debut output as below:
bash-3.2$ java -jar wls_121200.jar -silent -responseFile /export/home/tdmsadm/silent.xml -invPtrLoc /export/home/tdmsadm/oraInst.loc -ignoreSysPrereqs -debug
Extracting files.........................................................................................
Starting Oracle Universal Installer
Checking if CPU speed is above 300 MHz. Actual 2309 MHz Passed
Checking swap space: must be greater than 512 MB. Actual 1773 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 32 Failed <<<<
Checking temp space: must be greater than 300 MB. Actual 13741 MB Passed
>>> Ignoring required prerequisite failures. Continuing...
Preparing to launch the Oracle Universal Installer from /var/tmp/OraInstall2014-05-19_02-05-02PM
Command line arguments:
Arg:0:/usr/jdk/instances/jdk1.7.0_55/bin/java
Arg:1:-cp
Arg:2:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/mw/common/framework/jlib/engine-nextgen.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/mw/common/framework/jlib/message.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/mw/common/framework/jlib/oneclick.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.dms_11.1.1/dms.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.odl_11.1.1/ojdl2.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.odl_11.1.1/ojdl-log4j.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.dms_12.1.2/dms.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.odl_12.1.2/ojdl.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.odl_12.1.2/ojdl2.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/modules/oracle.odl_12.1.2/ojdl-log4j.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/share.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/ewt3.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/oracle_ice.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/ohj.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/help-share.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/jewt4.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/jgoodies-looks.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oracle_common/jlib/wizardCommonResources.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/modules/installer-launch.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/modules/jsch.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/modules/ojmisc.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/modules/xml.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/modules/InstImages.jar
:/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/modules/orai18n-mapping.jar
Arg:3:-Doracle.installer.extjre=true
Arg:4:-Doracle.installer.paramFile=/var/tmp/orcl8495994601759597301.tmp/Disk1/install/oraparam.ini
Arg:5:-Doracle.installer.nlsEnabled=true
Arg:6:-Doracle.installer.oui_loc=/var/tmp/OraInstall2014-05-19_02-05-02PM/oui
Arg:7:-Doracle.installer.debug=true
Arg:8:-Doracle.installer.startup_location=/var/tmp/orcl8495994601759597301.tmp/Disk1/install/intelsolaris32
Arg:9:-Doracle.installer.prereqConfigLoc=/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/mw/wls/prereq
Arg:10:-Doracle.installer.library_loc=/var/tmp/OraInstall2014-05-19_02-05-02PM/oui/lib/intelsolaris32
Arg:11:-Doracle.installer.unixVersion=5.10
Arg:12:-Doracle.installer.bootstrap=true
Arg:13:-Doracle.installer.scratchPath=/var/tmp/OraInstall2014-05-19_02-05-02PM
Arg:14:-DisNextGen=true
Arg:15:-Doracle.installer.launch_loc=/export/home/tdmsadm
Arg:16:-Doracle.installer.jre_loc=/usr/jdk/instances/jdk1.7.0_55
Arg:17:-mx512m
Arg:18:-XX:MaxPermSize=512m
Arg:19:-Doracle.installer.appendjre=true
Arg:20:-d32
Arg:21:oracle.sysman.oio.oioc.OiocOneClickInstaller
Arg:22:-scratchPath
Arg:23:/var/tmp/OraInstall2014-05-19_02-05-02PM
Arg:24:-sourceType
Arg:25:network
Arg:26:-timestamp
Arg:27:2014-05-19_02-05-02PM
Arg:28:-paramFile
Arg:29:/var/tmp/orcl8495994601759597301.tmp/Disk1/install/oraparam.ini
Arg:30:-silent
Arg:31:-responseFile
Arg:32:/export/home/tdmsadm/silent.xml
Arg:33:-invPtrLoc
Arg:34:/export/home/tdmsadm/oraInst.loc
Arg:35:-ignoreSysPrereqs
Arg:36:-debug
Log: /export/home/tdmsadm/oraInventory/logs/install2014-05-19_02-05-02PM.log
Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Verifying data......
Internal Error: Aborting Install
also the install2014-05-19_02-05-02PM.out file as below:
Native library not found in /var/tmp/OraInstall2014-05-19_02-05-02PM/oui/lib/intelsolaris32; trying standard locations
java.lang.UnsatisfiedLinkError: Can't load library: /var/tmp/OraInstall2014-05-19_02-05-02PM/oui/lib/intelsolaris32/liboraInstaller.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:1018)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:159)
at oracle.as.install.engine.modules.statistics.util.SysInfo.getAvailableMemory(SysInfo.java:162)
at oracle.as.install.engine.modules.statistics.element.AvailableMemoryElement.<init>(AvailableMemoryElement.java:39)
at oracle.as.install.engine.modules.statistics.standard.StandardElementLocator.loadElements(StandardElementLocator.java:63)
at oracle.as.install.engine.modules.statistics.boot.ProfilerInitializer.initializeProfile(ProfilerInitializer.java:82)
at oracle.as.install.engine.modules.statistics.Statistics.launchModule(Statistics.java:284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.as.install.engine.InstallEngine.launchModule(InstallEngine.java:532)
at oracle.as.install.engine.InstallEngine.processAndLaunchModules(InstallEngine.java:486)
at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:439)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:661)
Native library not found; using generic implementations
java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:1040)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:159)
at oracle.as.install.engine.modules.statistics.util.SysInfo.getAvailableMemory(SysInfo.java:162)
at oracle.as.install.engine.modules.statistics.element.AvailableMemoryElement.<init>(AvailableMemoryElement.java:39)
at oracle.as.install.engine.modules.statistics.standard.StandardElementLocator.loadElements(StandardElementLocator.java:63)
at oracle.as.install.engine.modules.statistics.boot.ProfilerInitializer.initializeProfile(ProfilerInitializer.java:82)
at oracle.as.install.engine.modules.statistics.Statistics.launchModule(Statistics.java:284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.as.install.engine.InstallEngine.launchModule(InstallEngine.java:532)
at oracle.as.install.engine.InstallEngine.processAndLaunchModules(InstallEngine.java:486)
at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:439)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:661)
Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Parse Warning at line number:15
MYORACLESUPPORT_USERNAME=
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No value found. Ignoring!
Parse Warning at line number:27
PROXY_HOST=
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No value found. Ignoring!
Parse Warning at line number:30
PROXY_PORT=
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No value found. Ignoring!
Parse Warning at line number:33
PROXY_USER=
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No value found. Ignoring!
Parse Warning at line number:39
COLLECTOR_SUPPORTHUB_URL=
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No value found. Ignoring!
Validations are enabled for this session.
Verifying data......
Executing generic command key: mountpt=[/bin/sh, -c, /sbin/mount | /bin/cut -f3 -d' ']
Internal Error: Aborting Install
java.lang.NullPointerException
at oracle.as.install.wls.installaction.NextGenWLSInstallAction.setJDKHomeInSilentInstall(NextGenWLSInstallAction.java:270)
at oracle.as.install.wls.installaction.NextGenWLSInstallAction.executeBeforeCopy(NextGenWLSInstallAction.java:252)
at oracle.as.install.engine.modules.util.installaction.InstallActionProviderUtility.invokeExecuteBeforeCopy(InstallActionProviderUtility.java:74)
at oracle.as.install.engine.modules.silent.SilentInstaller.run(SilentInstaller.java:349)
at java.lang.Thread.run(Thread.java:745)
but still have no clue of what went wrong..
Zhou -
Weblogic 12c on windows 2003(32bit)
Hi guys,
I installed weblogic 12c on windows
2003(32bit)(oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe);
I created schedule job (startup weblogic console on server startup);
The weblogic instance run java applications;
Every second day the job stopped and I manually restarted it; We are
planning go production and it is not acceptable behaveir;
Can you help? What should check or change in setting?
Please help
Thanksinstall JDK 6 or 7. Load the environment variables from CMD.EXE
set JAVA_HOME = RUTA_DEL_JDK_6_OR_7
set PATH =%JAVA_HOME%\BIN;% PATH%
Then, from the same terminal (cmd.exe) run the weblogic runInstaller.exe 12c. -
Weblogic 12c Admin Console Extremely Slow Response in "Servers" only
Hi,
I have downloaded and installed weblogic 12c today on IBM p702 blade centre running AIX 7.1 & IBM Java 7. Everything is working fine; Admin Server, Node Manager, etc.
I am facing a strange kind of problem and need your kind suggestions.
When i login to Admin Console 12c and i click on the "servers" link under the domain -> environment; the server response is extremely slow. However, the rest is fine. There is no application deployed and no warning + exception/error is in logs (node manager, admin server out etc.)
Please advice!
Good Day.
Atti
Edited by: user1659354 on 11-Jan-2013 01:07
Edited by: user1659354 on 11-Jan-2013 03:07This happens when node managers are not running (or not reachable), as it tries to obtain the status of the servers that are deployed on different machines.
What you can check is; are the node managers running on the machines you have configured (in the admin console, click environment, machines, your_machine, monitoring) -
OSB 11.6 in weblogic 12c
Hello All,
I am trying to install OSB 11.6 in 12c, i am getting invalid OEPE Location.
After installing Weblogic 12c, it contains OEPE12.1.1.0.0, is this is the home for OEPE.
Regards
PraveenI think it expects 11.1.1.6.
When you install the OSB, you can also select custom installation and then de-select the IDE and examples (when you do not
want a development environment). -
Problem in installing GoldenGate Director on weblogic 12c
hello friends,
we have a server with weblogic 12c and a basic domain namely "base_domain" on it.(i have no earlier experience about weblogic).its path is "D:\Oracle\Middleware_HOME\wlserver_12.1"
i can start its AdminServer and we can login to its console.
now i want to install GoldenGate Director Server.but in installing process when i set Weblogic location it gives me error :
"Please Select a valid weblogic install Directory"
i tried all of these paths :
"D:\Oracle\Middleware_HOME\wlserver_12.1"
"D:\Oracle\Middleware_HOME"
"D:\Oracle"
but the error remains yet.
i installed weblogic on another machine but nothing changed.
another thin is that i checked all places that oracle documents tells that should be updated
i mean :
1 Update the registry.xml file in Weblogic home directory to point to the
correct WebLogic Server home directory.
2 Update all of the scripts under %WLS_SERVER_HOME%/server/bin and %WLS_
SERVER%/common/bin to point to the correct WebLogic Server home directory.
3 Update the .product.properties file under %WLS_SERVER_HOME% to point to the
correct WebLogic Server home directory.
1 & 2 are correct (i think) but i couldn't find third one "product.properties"
please help me.
Whats the problem?
weblogic Servers : Windows Server 2008 64-bit SP2 and Windows Seven Ultimate 64bit
Weblogic version : oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32
GoldenGate Director : gg-director-serversetup_win_v11_1_1_1_0_001You should specify the middle-ware home direction.
The error normally caused by the wrong version installed, which doesn’t have the correct registry.xml in MW_HOME. I met this problem in the past which is because I installed a dev version of WLS in zip file.
After I install the installable version( I think it is the same version you used: oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe of WLS, it works fine. -
OSB installed in WebLogic 12C - when it will be supported
As I believed that OSB is nothing more than a webaplication with specific tables in Oracle database I imagined that I could try to install OSB in WebLogic12C. Maybe I am telling a stupid thing because I can see that after installed OSB, there is a specific new server on WebLogic console.
Anyway, even if it was right, there a huge difference between I installed locally to test and I confirmed to do this without comercial support. Then, my question is: Is there some prediction about OSB, OER, OSR (SOA tools) be supported in WebLogic 12C? The more important for me is OSB.
Other question is: is there some prediction about new version of OSB? If so, this probably will work by default at weblogic 12c.Anyway, even if it was right, there a huge difference between I installed locally to test and I confirmed to do this without comercial supportYou are correct. As Abhishek has already mentioned, OSB is not merely a web-app and it is tightly integrated with Weblogic app server. So there is no meaning putting any effort to try to get it work on Weblogic 12c.
Is there some prediction about OSB, OER, OSR (SOA tools) be supported in WebLogic 12C? The more important for me is OSB.It is too early to talk about 12c but yes, all these products will be part of OFMW 12c.
Other question is: is there some prediction about new version of OSB? If so, this probably will work by default at weblogic 12c.The next version of OSB will be 11g R1 patch set 6 (11.1.1.7) and hence it will only be certified with Weblogic 10.3.7
Regards,
Anuj -
How do I install Oracle Weblogic 12c on my Pc
Good Day,
I need a step by step detailed video tutorial on how to install Oracle Weblogic 12c. I have seen some documentations on that but find it difficult to implement it, that's why am requesting a video tutorial. I need to install it so I can also install Oracle WebCenter Content.
Thanks.Tim’s blog contains step by step, Please check following link,
http://www.oracle-base.com/articles/12c/weblogic-installation-on-oracle-linux-5-and-6-12cr1.php -
Fetal error while installing weblogic server 12c on windows 64 bit
Dear all,
i have windows7 64bit, oracle 11g database, and my java version as i enter the JAVA -VERSION command at the cmd prompt is below
C:\Users\Administrator>java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)i want to install weblogic server generic wls1211_generic.jar.
when i enter the command
java -Xmx1024m -jar wls1211_generic.jar
or
java -Xmx1206m -jar wls1211_generic.jar
it try to open the installation but give a fatal error like below
A fatal error occured, this application will terminate.
any idea?Hi,
i did the same as you said, i.e i add this path to the PATH variable C:\Program Files (x86)\Java\jdk1.7.0
add the bin directory to this path, so you should have C:\Program Files (x86)\Java\jdk1.7.0\bintest it in the command prompt with java -version and it should prompt you java 1.7
also be sure the generic jar is not corrupted.
and one more thing you should use this command to install with generic jar:
java -jar wls1211_generic.jar
http://docs.oracle.com/cd/E24329_01/doc.1211/e24492/guimode.htm#autoId3
Regards
Carlos -
Deployement problem in weblogic 12c and as well as weblogic 10.3.0.0
Hello All,
I am newbie to Ejb and weblogic so i need your assist, please help me guys.
while deploying my jar file into weblogic i got these errors on admin console i.e
*"An error occurred during activation of changes, please see the log for details.*
*Exception preparing module: EJBModule(demo) [EJB:011023]An error occurred while reading the deployment descriptor.*
*The error was: Error processing annotations: .*
*There are 1 nested errors: weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load class com.ejb.model.MyIntfImpl in Jar F:\Oracle\Middleware\user_projects\domains\phanidevnew\servers\AdminServer\upload\demo.jar : java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.ejb.model.MyIntfImpl'*
*The deployment has been successfully installed. "*
and in server console displaying like this
"*<30 Apr, 2012 11:39:02 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were*
*detected while initiating deploy task for application 'demo'.>*
*<30 Apr, 2012 11:39:02 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace fo*
*r message 149004*
*weblogic.application.ModuleException: Exception preparing module: EJBModule(demo*
*[EJB:011023]An error occurred while reading the deployment descriptor. The error*
*was:*
*Error processing annotations: .*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*Truncated. see log file for complete stacktrace*
*weblogic.utils.ErrorCollectionException:*
*There are 1 nested errors:*
*weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load clas*
*s com.ejb.model.MyIntfImpl in Jar F:\Oracle\Middleware\user_projects\domains\pha*
*nidevnew\servers\AdminServer\upload\demo.jar : java.lang.ClassNotFoundException:*
*Class bytes found but defineClass()failed for: 'com.ejb.model.MyIntfImpl'*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1264)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJar*
*File(EjbDescriptorFactory.java:93)*
*at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule*
*.java:1198)*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:42)*
*at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja*
*va:615)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j*
*ava:191)*
*at weblogic.application.internal.SingleModuleDeployment.prepare(SingleMo*
*duleDeployment.java:16)*
*at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme*
*ntStateChecker.java:155)*
*at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App*
*ContainerInvoker.java:60)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr*
*eateAndPrepareContainer(ActivateOperation.java:197)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do*
*Prepare(ActivateOperation.java:89)*
*at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr*
*epare(AbstractOperation.java:217)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym*
*entPrepare(DeploymentManager.java:723)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy*
*mentList(DeploymentManager.java:1190)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare*
*(DeploymentManager.java:248)*
*at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre*
*pare(DeploymentServiceDispatcher.java:159)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
*at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin*
*gWorkManagerImpl.java:516)*
*at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
*at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1263)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*Truncated. see log file for complete stacktrace*
*>*
*<30 Apr, 2012 11:39:02 AM IST> <Error> <Console> <BEA-240003> <Console encounter*
*ed the following error weblogic.application.ModuleException: Exception preparing*
*module: EJBModule(demo)*
*[EJB:011023]An error occurred while reading the deployment descriptor. The error*
*was:*
*Error processing annotations: .*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:42)*
*at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja*
*va:615)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j*
*ava:191)*
*at weblogic.application.internal.SingleModuleDeployment.prepare(SingleMo*
*duleDeployment.java:16)*
*at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme*
*ntStateChecker.java:155)*
*at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App*
*ContainerInvoker.java:60)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr*
*eateAndPrepareContainer(ActivateOperation.java:197)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do*
*Prepare(ActivateOperation.java:89)*
*at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr*
*epare(AbstractOperation.java:217)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym*
*entPrepare(DeploymentManager.java:723)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy*
*mentList(DeploymentManager.java:1190)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare*
*(DeploymentManager.java:248)*
*at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre*
*pare(DeploymentServiceDispatcher.java:159)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
*at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin*
*gWorkManagerImpl.java:516)*
*at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
*at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*Caused by: weblogic.utils.ErrorCollectionException:*
*There are 1 nested errors:*
*weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load clas*
*s com.ejb.model.MyIntfImpl in Jar F:\Oracle\Middleware\user_projects\domains\pha*
*nidevnew\servers\AdminServer\upload\demo.jar : java.lang.ClassNotFoundException:*
*Class bytes found but defineClass()failed for: 'com.ejb.model.MyIntfImpl'*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1264)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJar*
*File(EjbDescriptorFactory.java:93)*
*at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule*
*.java:1198)*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)*
*at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu*
*leListenerInvoker.java:93)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl*
*oymentCallbackFlow.java:387)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:58)*
*at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep*
*loymentCallbackFlow.java:42)*
*at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja*
*va:615)*
*at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD*
*river.java:37)*
*at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j*
*ava:191)*
*at weblogic.application.internal.SingleModuleDeployment.prepare(SingleMo*
*duleDeployment.java:16)*
*at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme*
*ntStateChecker.java:155)*
*at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App*
*ContainerInvoker.java:60)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr*
*eateAndPrepareContainer(ActivateOperation.java:197)*
*at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do*
*Prepare(ActivateOperation.java:89)*
*at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr*
*epare(AbstractOperation.java:217)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym*
*entPrepare(DeploymentManager.java:723)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy*
*mentList(DeploymentManager.java:1190)*
*at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare*
*(DeploymentManager.java:248)*
*at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre*
*pare(DeploymentServiceDispatcher.java:159)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)*
*at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb*
*ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)*
*at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin*
*gWorkManagerImpl.java:516)*
*at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
*at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(B*
*aseJ2eeAnnotationProcessor.java:1263)*
*at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingEr*
*ror(BaseJ2eeAnnotationProcessor.java:1269)*
*at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotatio*
*ns(EjbAnnotationProcessor.java:172)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandard*
*Annotations(EjbDescriptorReaderImpl.java:324)*
*at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD*
*escriptorFromJarFile(EjbDescriptorReaderImpl.java:190)*
*at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJar*
*File(EjbDescriptorFactory.java:93)*
*at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule*
*.java:1198)*
*at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)*
*>*
*My application is*
*MyIntf:*
package com.ejb.model;
import javax.ejb.;
@Remote
public interface MyIntf
public String getMsg();
*MyIntfImpl:*
+package com.ejb.model;+
+import javax.ejb.*;+
+import javax.annotation.*;+
+@Stateless(mappedName="demoapp")+
+public class MyIntfImpl implements MyIntf+
public String getMsg()
System.out.println("in getMsg() method" );
return "Hello I am from getMsg() method" ;
@PostConstruct
public void init()
System.out.println("in init() method" );
@PreDestroy+
public void destroy()
System.out.println("in destroy() method" );
*persistence.xml in META-INF folder is*
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"+
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+
+xsi:schemaLocation="http://java.sun.com/xml/ns/persistence+
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="myunit" transaction-type="JTA">
<jta-data-source>myds</jta-data-source>
</persistence-unit>
</persistence>
The above code is compiled fine,
I create it as demo.jar by using jar -cvf demo.jar com META-INF,
After that i deployed then i got above errors,
I deployed same app into glassfish then it works fine with out prob.
I configured DATA SOURCE properly,
But why i got these error and solve it..
Please guysNote that WebLogic 12c endorses JavaEE6.
Look ups and how JNDI works is explained in the JavaEE6 tutorial: http://docs.oracle.com/javaee/6/tutorial/doc/gipjf.html -
Install OEM 12c fails on "start oracle management service". win2008
Windows Server 2008 R2 Enterprise SP1 x64
Oracle Database 11g release 11.2.0.3.0
I install OEM 12c(12.1.0.3) following this manual: Installing Enterprise Manager System
before start i've installed WebLogic Server 10.3.6 and aplied 2 patches specified in this manual
installation type is advanced, small, so i have created database from the appropriate template
i also installed cygwin and started ssh-service
the installation of OEM process fails on 73% "start oracle management service" with this message:
INFO: oracle.sysman.top.oms:Starting OMS ...
INFO: oracle.sysman.top.oms:Executing command: cmd /c set NEED_EXIT_CODE=1&&C:\Oracle\Middleware\oms\bin\emctl.bat start oms
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.oms:Windows service OracleManagementServer_EMGC_OMS1_1 failed to be started
INFO: oracle.sysman.top.oms:Oracle Management Server is Down
INFO: oracle.sysman.top.oms:Please check C:/Oracle/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log for error details
SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
in C:/Oracle/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log i got this:
2013-09-06 12:24:27,012 [main] ERROR commands.BaseCommand logAndPrint.620 - Oracle Management Server Could Not Be Started
Check EM Server log file for details: C:\Oracle\gc_inst\user_projects\domains\GCDomain\servers\EMGC_OMS1\logs\EMGC_OMS1.out
2013-09-06 12:24:27,012 [main] INFO commands.StartCommand startOMS.337 - startOMS finished with result: 1
2013-09-06 12:24:30,974 [main] INFO commands.StartCommand startOMS.371 - net start return code is 2
2013-09-06 12:24:30,974 [main] ERROR commands.BaseCommand logAndPrint.620 - Windows service OracleManagementServer_EMGC_OMS1_1 failed to be started
2013-09-06 12:24:34,094 [main] INFO commands.BaseCommand printMessage.404 - statusOMS finished with result: 8
2013-09-06 12:24:34,094 [main] ERROR commands.BaseCommand logAndPrint.620 - Please check C:/Oracle/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log for error details
and in C:\Oracle\gc_inst\user_projects\domains\GCDomain\servers\EMGC_OMS1\logs\EMGC_OMS1.out this:
<06.09.2013 12:24:01 ICT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.25-b01 from Oracle Corporation>
<06.09.2013 12:24:01 ICT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13349651 Thu May 24 10:18:28 IST 2012
WebLogic Server Temporary Patch for BUG14482558 Fri Jan 11 11:20:16 IST 2013
WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<06.09.2013 12:24:03 ICT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:Error: Failed to get value from Standard Input
Enter password to boot WebLogic server:
<06.09.2013 12:24:04 ICT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: Booting as admin server, but servername, EMGC_OMS1, does not match the admin server name, EMGC_ADMINSERVER
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:67)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)
>
<06.09.2013 12:24:04 ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
wlst:
wls:/offline>
what I did wrong? how to start WLS server?Hi,
First of all with EM 12.1.0.x any version you are not required to install wls separately, we have single installer for em and wls. Is there any specific reason you installer wls separately?
Coming back to your issue: can you check
%OMS_HOME%\BIN>emctl istart oms completes successfully.
%OMS_HOME%\BIN>emctl istop oms completes successfully.
Also open an SR with Oracle support and share the number. We should debug such issue through SR so that we can share logs and come find a root cause. -
Java.lang.StackOverflowError Running BASIC JSF 2 example on Weblogic 12c
*I followed the very basic tutorial found here example and cannot seem to get past the following error:*
Error 500--Internal Server Error
java.lang.StackOverflowError
at weblogic.servlet.internal.ServletResponseImpl.addHeader(ServletResponseImpl.java:567)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
at javax.servlet.http.HttpServletResponseWrapper.addHeader(HttpServletResponseWrapper.java:200)
Pressing shift + F5 a couple times I can generate a slightly different stacktrace as follows:
Error 500--Internal Server Error
java.lang.StackOverflowError
at com.sun.faces.application.ViewHandlerResponseWrapper.setStatus(ViewHandlerResponseWrapper.java:88)
at javax.servlet.http.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:224)
at com.sun.faces.application.ViewHandlerResponseWrapper.setStatus(ViewHandlerResponseWrapper.java:88)
at javax.servlet.http.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:224)
Here is my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>JavaServerFaces</display-name>
<!-- JSF mapping -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Map these files with JSF -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
</web-app>
Here is the pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>JavaServerFaces</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>JavaServerFaces Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
<build>
<finalName>JavaServerFaces</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
I have exhausted several hours searching the web and constructing new projects with no luck. I understand that the StackOverflowError is produced from bad recursion calls and infinite loops, however I can't see this as the case here.
My current dev stack is eclipse juno (oepe-12.1.1.2.1-juno-distro-win32-x86_64.zip), m2e-wtp, weblogic 12c, Java EE 6 using JSF 2.1
*If I export the war file using eclipse (Right click the project -> Export -> WAR file) then manually deploy it via the weblogic admin counsel the app works as expected. As soon as I add the project to the server inside eclipse and start the server I can no longer view the page. I noticed that in the autogenerated_ear_ folder per my domain that each project project folder is actually empty.*
Any help would me MUCH appreciated!!
UPDATE - Solved the problem! After adding JSF 2.1 in the pom.xml the JSF 2.1 checkbox was checked in project facets, however it did not add the faces-config.xml to the project. I simple created a new xml file named faces-config.xml under the webapp folder and added the following xml:
<?xml version='1.0' encoding='UTF-8'?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd" version="2.1">
<application></application>
</faces-config>
I hope this helps others!
Edited by: 1006228 on May 15, 2013 8:21 PM
Edited by: 1006228 on May 16, 2013 6:39 PMHi.
Try this http://oracleradio.blogspot.com/2012/01/error-durante-el-deployment-de-un.html
It is in spanish, but the important part is that u may correct the issue, installing 11.1.1.5 with the Feature Pack.
It seems to be happening with processes that have loop formed with boundary event inside a gateway circuit.
Hope this helps.
best -
Hello,
After you install the 32bit version of Oracle WebLogic 12c , jdevstudio11115install (Windows 7 32 bit platform) . These actions come after the installation of the domain ADF 's and then completed the installation.
I receive the following error when I run startWebLogic.cmd. ( What is the solution. )
WARNING: Opening of file based farm keystore failed.
oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Openin
g of file based farm keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
yStore(FileKeyStoreManager.java:351)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
Init(FileKeyStoreServiceImpl.java:101)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:73)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:63)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:157)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:64)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServ
iceInstance(ContextFactoryImpl.java:139)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
xt(ContextFactoryImpl.java:170)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getConte
xt(ContextFactoryImpl.java:191)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
ntext(JpsContextFactoryImpl.java:132)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getCo
ntext(JpsContextFactoryImpl.java:127)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:850)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:844)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:844)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
<Dec 12, 2011 11:43:27 AM EET> <Error> <Security> <BEA-090892> <The loading of O
PSS java security policy provider failed due to exception, see the exception sta
ck trace or the server log file for root cause. If still see no obvious cause, e
nable the debug flag -Djava.security.debug=jpspolicy to get more information. Er
ror message: oracle.security.jps.JpsException: [PolicyUtil] Exception while gett
ing default policy Provider>
<Dec 12, 2011 11:43:27 AM EET> <Critical> <WebLogicServer> <BEA-000386> <Server
subsystem failed. Reason: weblogic.security.SecurityInitializationException: The
loading of OPSS java security policy provider failed due to exception, see the
exception stack trace or the server log file for root cause. If still see no obv
ious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more in
formation. Error message: oracle.security.jps.JpsException: [PolicyUtil] Excepti
on while getting default policy Provider
weblogic.security.SecurityInitializationException: The loading of OPSS java secu
rity policy provider failed due to exception, see the exception stack trace or t
he server log file for root cause. If still see no obvious cause, enable the deb
ug flag -Djava.security.debug=jpspolicy to get more information. Error message:
oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default p
olicy Provider
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsExcep
tion: [PolicyUtil] Exception while getting default policy Provider
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:293)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while gettin
g default policy Provider
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:899)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsExcep
tion: [PolicyUtil] Unable to obtain default JPS Context!
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:844)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:284)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:270)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain defau
lt JPS Context!
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:860)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.
java:844)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyS
tore(PolicyUtil.java:844)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:291)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06
514: Opening of file based farm keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
yStore(FileKeyStoreManager.java:351)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
Init(FileKeyStoreServiceImpl.java:101)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:73)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:63)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:157)
Truncated. see log file for complete stacktrace
>
<Dec 12, 2011 11:43:30 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to FAILED.>
<Dec 12, 2011 11:43:30 AM EET> <Error> <WebLogicServer> <BEA-000383> <A critical
service failed. The server will shut itself down.>
<Dec 12, 2011 11:43:33 AM EET> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to FORCE_SHUTTING_DOWN.>
Note: JDeveloper 11.1.2.1 and 11.1.1.5.0 install but it did not work.
C:\oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig\bootstrap\cwallet.sso I have full authority, but did not work folder. (permissions full controll)
Edited by: 889612 on 12.Ara.2011 07:06I am having the exact same issue with Weblogic 12c on Windows Server 2003 SP1 on Intel Itanium processor with Java SE 1.6u29 and JDeveloper 11.1.2.1.0.
Please advise!
Thanks in advance.
P.S.
Unfortunately, problem also confirmed on Windows 7 64bit and JRockit-jdk1.6.0_29-R28.2.0-4.1.0 and JDeveloper 11.1.2.1.0.
LOG
WARNING: Failed to save farm keystore. Reason {0}
Dec 12, 2011 10:51:29 PM oracle.security.jps.internal.keystore.file.FileKeyStore
Manager createKeyStore
WARNING: Failed to save farm keystore. Reason {0}
oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.create KeyStore(FileKeyStoreManager.java:309)
Edited by: rade.radenkovic on Dec 12, 2011 1:53 PM
Maybe you are looking for
-
I cannot open my Pages documents :(
Can anyone help me please? I am a newbie and I cannot open my pages documents. Every time I open it, it always shows this "problem report for pages" and It's been weeks. It says "Pages quit unexpectedly" and request me to click reopen to peen the app
-
I need help getting the App Store back on my Macbook!!!
-
Hi Frnds, When receiving the amount from the customer (F-28) net of withholding tax, how does the system calculate and post the same. In case of vendor we can maintain it in the vendor master. But how to deal with the same in case of receipts from th
-
Archiving inbound delivery documents
hi gurus, can you help in in archiving inbound delivery documents. This inbound delivery document is created after purchase order is created with confirmation control. Pls tell me the programme through which i can do it. What should i do before doin
-
Different Queues for each paper tray
Our customers wish to simply have to select a printer without selecting additional tray outputs (ok, it´s not myself , its a customer of mine, a lacy one). Is there a way to add separate printer queues for each tray? E.g. "Printer Tray1 - white paper