I am trying to deploy a simple war file onto a new WebLogic 12c server on OSX 10.9.4
I installed via the wls1213_devzip_update1.zip and followed the instructions in the ReadMe to configure the new installation.
WebLogic starts without error via ./startWebLogic.sh and I am able to log into the Admin Console.
After following these steps in the Admin Console:
Deploy > Install > upload your files > Choose File > select the war on the file system > Next
After clicking Next, I get the following error in the browser:
An unexpected error condition has been detected. Details have been recorded in the admin server log
And the following errors in the log:
<Feb 1, 2015 6:50:49 AM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423147> <Exception [com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] thrown while trying to do task [handlePostbackData] in class [com.bea.netuix.servlets.controls.content.PageFlowContent].>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [null].>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI null.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [/com/bea/console/actions/app/install/Flow.jpf].>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /com/bea/console/actions/app/install/Flow.jpf.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [null].>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI null.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [null].>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI null.>
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.>
Let me know if there is more info i can provide to help troubleshoot. Thanks!
The logs actually tell you what is wrong - the org/apache/commons/io/IOUtils class is missing. I'm not sure why it isn't included in WebLogic but you can get the package which contains this class from the Apache Commons project (http://commons.apache.org/proper/commons-io/download_io.cgi).
I was having the same problem but fixed it by copying commons-io-2.4.jar found in the package to $MW_HOME/wlserver/server/lib/consoleapp/APP-INF/lib (which appears to house all the other commons jars).
Thanks for finding this. We recently updated the version of apache fileupload used by the WLS admin console as part of a security patch, and that introduced a new dependency on commons-io that was lost somewhere in the process. We'll track that down. In the interim, copying the jar to consoleapp/APP-INF/lib is an appropriate workaround (and that's what our fix will be doing.)
I believe that this issue only affects the console's upload feature during deployment. All other features should work as expected.
Related
After activating fast swap for the weblogic server in JDeveloper, I'm not able to deploy my project anymore, and I'm getting a weblogic.management.DeploymentException.
It's an Oracle ADF project and JDeveloper's version is 11g, second release.
When running it on a normal weblogic instance (keeping the default setting "servlet reload") it works.
I tried searching keywords from the log, but I can't seem to find anything.
Here is weblogic's log
<4-gen-2023 14.36.31 CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1672839391501' for task '2'. Error is: 'weblogic.management.DeploymentException: '
weblogic.management.DeploymentException:
at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:79)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:186)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.wls.redef.ClassRedefinerFactory
at weblogic.application.internal.flow.InitFastSwapLoaderFlow.initLoader(InitFastSwapLoaderFlow.java:70)
at weblogic.application.internal.flow.InitFastSwapLoaderFlow.prepare(InitFastSwapLoaderFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
Truncated. see log file for complete stacktrace
>
<4-gen-2023 14.36.31 CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'PROJECT'.>
<4-gen-2023 14.36.31 CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException:
at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:79)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:186)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.wls.redef.ClassRedefinerFactory
at weblogic.application.internal.flow.InitFastSwapLoaderFlow.initLoader(InitFastSwapLoaderFlow.java:70)
at weblogic.application.internal.flow.InitFastSwapLoaderFlow.prepare(InitFastSwapLoaderFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
Truncated. see log file for complete stacktrace
Where should I watch? Do you have any resources?
Sorry for not being specific, but I'm new to this. Thanks to anybody who may help!
This issue can be fixed by upgrade JDeveloper to newest version
I am trying to deploy apache usergrid stack on my localhost. I placed ROOT.war in to /vat/lib/tomcat7/webapps. After restart tomcat when I access http://localhost:8080 then I get nothing in response. When I checked the logs of tomcat, I get following error in localhost log.
Mar 19, 2016 5:51:10 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Mar 19, 2016 5:51:10 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.apache.usergrid.rest.ShutdownListener
java.lang.UnsupportedClassVersionError: org/apache/usergrid/rest/ShutdownListener : Unsupported major.minor version 52.0 (unable to load class org.apache.usergrid.rest.ShutdownListener)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2948)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Mar 19, 2016 5:51:10 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
If anyone has the solution please help.
The UnsupportedClassVersionError exception usually means that you are trying to run some Java code that is compiled for a newer version of Java, on an older version of Java.
Usergrid 2 requires Java 8 so make sure that you are using a Java 8 JDK.
See the Usergrid Deployment Guide for requirements and instructions:
https://usergrid.apache.org/docs/installation/deployment-guide.html
Starting Weblogic Server is not starting the server and the console is forced to shutdown. I couldn't figure out why this is happening. Any help is really appreciated.
I tried running the admin console and here is the error message:
Access is denied.
.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
.
WLS Start Mode=Production
.
CLASSPATH=C:\Oracle\MIDDLE~2\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C
:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\o
racle_common\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_commo
n\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\
modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\
oracle.odl_11.1.1\ojdl.jar;C:\Oracle\Middleware\as_1\common\wlst\lib\adf-share-m
beans-wlst.jar;C:\Oracle\Middleware\as_1\common\wlst\lib\mdswlst.jar;C:\Oracle\Middleware\as_1\common\wlst\resources\oamap_help.jar;C:\O
racle\Middleware\as_1\common\wlst\resources\oamAuthnProvider.jar;C:\Oracle\Middl
eware\as_1\common\wlst\resources\ossoiap_help.jar;C:\Oracle\Middleware\as_1\comm
on\wlst\resources\ossoiap.jar;C:\
Oracle\MIDDLE~2\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~2\ORAC
LE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MIDDLE~2\OR
ACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\li
b\xqrl.jar
.
PATH=C:\Oracle\Middleware\as_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\Sys
tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk
1.6.0_43;C:\Program Files\Java\jdk1.6.0_43\bin;C:\Oracle\Middleware\as_1\opmn\bi
n;C:\Oracle\Middleware\as_1\opmn\lib;C:\Oracle\Middleware\as_1\perl\bin
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_4\bin\java -Xms256m -Xmx512m -XX:MaxPermSize=512m
-Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~2\WLSERV~1.
3\server\lib\weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplat
form.home=C:\Oracle\MIDDLE~2\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~2\WLSERV~1.3
\server -Dweblogic.home=C:\Oracle\MIDDLE~2\WLSERV~1.3\server -Xms512m -Xmx1024
m -XX:PermSize=256m -XX:MaxPermSize=512m -Doracle.home=C:\Oracle\Middleware\as_1
-Ddomain.home=C:\Oracle\Middleware\user_projects\domains\FormsReports -Dcommon.
components.home=C:\Oracle\MIDDLE~2\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.co
mmons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\O
racle\MIDDLE~2\USER_P~1\domains\FORMSR~1 -Djrockit.optfile=C:\Oracle\MIDDLE~2\OR
ACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=
C:\Oracle\MIDDLE~2\USER_P~1\domains\FORMSR~1\config\FMWCON~1\servers\AdminServer
-Doracle.domain.config.dir=C:\Oracle\MIDDLE~2\USER_P~1\domains\FORMSR~1\config\
FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~2\USER_P~1\domains\FORMSR~
1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~2\USER_P~1\doma
ins\FORMSR~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Orac
le\MIDDLE~2\USER_P~1\domains\FORMSR~1\config\fmwconfig\jps-config.xml -Doracle.d
eployed.app.dir=C:\Oracle\MIDDLE~2\USER_P~1\domains\FORMSR~1\servers\AdminServer
\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:
\Oracle\MIDDLE~2\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~2\ORACL
E~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.ne
t.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwc.oracle.home=C:\Oracle\Midd
leware\as_1 -Dclassic.oracle.home=C:\Oracle\Middleware\as_1 -Dem.oracle.home=C:
\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.
discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsT
oConsole=false weblogic.Server
<Oct 7, 2015 9:30:50 AM SGT> <Info> <Security> <BEA-090905> <Disabling CryptoJ J
CE Provider self-integrity check for better startup performance. To enable this
check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 7, 2015 9:30:50 AM SGT> <Info> <Security> <BEA-090906> <Changing the defaul
t Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable
this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Oct 7, 2015 9:30:50 AM SGT> <Info> <WebLogicServer> <BEA-000377> <Starting WebL
ogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.14-b01 from Sun Mi
crosystems Inc.>
<Oct 7, 2015 9:30:51 AM SGT> <Info> <Management> <BEA-141107> <Version: WebLogic
Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<Oct 7, 2015 9:30:52 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server stat
e changed to STARTING>
<Oct 7, 2015 9:30:52 AM SGT> <Info> <WorkManager> <BEA-002900> <Initializing sel
f-tuning thread pool>
<Oct 7, 2015 9:30:52 AM SGT> <Notice> <Log Management> <BEA-170019> <The server
log file C:\Oracle\Middleware\user_projects\domains\FormsReports\servers\AdminSe
rver\logs\AdminServer.log is opened. All server side log events will be written
to this file.>
<Oct 7, 2015 9:30:53 AM SGT> <Error> <Socket> <BEA-000438> <Unable to load perfo
rmance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'C:\PR
OGRA~1\Java\JDK16~1.0_4\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windo
ws;C:\Oracle\Middleware\as_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\Syste
m32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.
6.0_43;C:\Program Files\Java\jdk1.6.0_43\bin;C:\Oracle\Middleware\as_1\opmn\bin;
C:\Oracle\Middleware\as_1\opmn\lib;C:\Oracle\Middleware\as_1\perl\bin;C:\Program
Files\TortoiseSVN\bin;.'
>
Oct 7, 2015 9:30:56 AM oracle.security.jps.internal.credstore.ssp.CsfWalletManag
er openWallet
WARNING: Opening of wallet based credential store failed. Reason java.io.IOExcep
tion: C:\Oracle\Middleware\user_projects\domains\FormsReports\config\fmwconfig\b
ootstrap\cwallet.sso (Access is denied)
Oct 7, 2015 9:30:56 AM oracle.security.jps.internal.keystore.file.FileKeyStoreIn
tegrityChecker <init>
WARNING: Key store file integrity checker initialization failed. Reason oracle.s
ecurity.jps.service.keystore.KeyStoreServiceException: JPS-01050: Opening of wal
let based credential store failed. Reason java.io.IOException: C:\Oracle\Middlew
are\user_projects\domains\FormsReports\config\fmwconfig\bootstrap\cwallet.sso (A
ccess is denied)
Oct 7, 2015 9:30:56 AM oracle.security.jps.internal.keystore.file.FileKeyStoreMa
nager openKeyStore
WARNING: Opening of file based keystore failed.
<Oct 7, 2015 9:30:56 AM SGT> <Error> <Security> <BEA-090892> <The loading of OPS
S 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 obvious cause, ena
ble the debug flag -Djava.security.debug=jpspolicy to get more information. Erro
r message: JPS-06514: Opening of file based keystore failed.>
<Oct 7, 2015 9:30:56 AM SGT> <Critical> <WebLogicServer> <BEA-000386> <Server su
bsystem failed. Reason: weblogic.security.SecurityInitializationException: The l
oading of OPSS java security policy provider failed due to exception, see the ex
ception stack trace or the server log file for root cause. If still see no obvio
us cause, enable the debug flag -Djava.security.debug=jpspolicy to get more info
rmation. Error message: JPS-06514: Opening of file based keystore failed.
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:
JPS-06514: Opening of file based keystore failed.
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:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: JPS-06514: Opening of file b
ased keystore failed.
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:167)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:369)
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)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: JPS-06514: Opening of file based ke
ystore failed.
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPServ
ice(PolicyUtil.java:2855)
at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(Pol
icyUtil.java:3097)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<
init>(PolicyDelegationController.java:164)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(Ja
vaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06
514: Opening of file based keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKe
yStore(FileKeyStoreManager.java:374)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.do
Init(FileKeyStoreServiceImpl.java:104)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:76)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<i
nit>(FileKeyStoreServiceImpl.java:66)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(Ke
yStoreProvider.java:157)
Truncated. see log file for complete stacktrace
>
<Oct 7, 2015 9:30:56 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server stat
e changed to FAILED>
<Oct 7, 2015 9:30:56 AM SGT> <Error> <WebLogicServer> <BEA-000383> <A critical s
ervice failed. The server will shut itself down>
<Oct 7, 2015 9:30:56 AM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server stat
e changed to FORCE_SHUTTING_DOWN>
C:\Oracle\Middleware\user_projects\domains\FormsReports>
For some reason WebLogic Server is unable to access cwallet.sso. It looks like there's a couple of other files along the way it can't access as well.
Check permissions on the domain directory structure and make sure your current user can access required files. If that doesn't help at all, try running startWebLogic as an Administrator user on the machine.
I just recently had a problem with an incorrect set of JCE Unlimited Jurisdiction files. Moving them back to the old version made this error go away.
I am following a tutorial and in some part I need set some parameter in Server Start on the Coherence Servers.
My Class Path configurations are:
/opt/Oracle/Weblogic/12.1.1/coherence_3.7/lib/coherence.jar:
/opt/Oracle/Weblogic/12.1.1/modules/javax.management_1.2.2.jar:
/opt/Oracle/Weblogic/12.1.1/modules/javax.management.remote_1.0.1.4.jar:
/opt/Oracle/Weblogic/12.1.1/coherence_3.7/lib/coherence-web-spi.war:`
and my Argument configurations are:
-Dtangosol.coherence.management.remote=true
-Dtangosol.coherence.management=all
-Dtangosol.coherence.session.localstorage=true
-Dtangosol.coherence.cacheconfig=/opt/Oracle/Weblogic/12.1.1/user_projects/domains/labs_domain/config/coherence/my_coh_cluster/session-cache-config.xml
‐Xmanagement:autodiscovery=false,authenticate=false,ssl=false,port=8291
When I tried start the server I received the following error:
<Mar 21, 2014 4:53:21 PM> <INFO> <NodeManager> <Starting Coherence server with command line: /usr/lib/jvm/jdk1.6.0_45/bin/java -Dtangosol.coherence.member=coh_server1 -Dtangosol.coherence.wka=127.0.0.1 -Dtangosol.coherence.wka.port=8888 -Dtangosol.coherence.clusterport=7777 -Dtangosol.coherence.clusteraddress=231.1.1.1 -Dtangosol.coherence.ttl=0 -Dtangosol.coherence.localport=8888 -Dtangosol.coherence.localhost=127.0.0.1 -Dtangosol.coherence.cluster=my_coh_cluster -Djava.class.path=/opt/Oracle/Weblogic/12.1.1/coherence_3.7/lib/coherence.jar: /opt/Oracle/Weblogic/12.1.1/modules/javax.management_1.2.2.jar: /opt/Oracle/Weblogic/12.1.1/modules/javax.management.remote_1.0.1.4.jar: /opt/Oracle/Weblogic/12.1.1/coherence_3.7/lib/coherence-web-spi.war: /opt/Oracle/Weblogic/12.1.1/modules/features/weblogic.server.modules.coherence.server_12.1.1.0.jar -Dtangosol.coherence.management.remote=true -Dtangosol.coherence.management=all -Dtangosol.coherence.session.localstorage=true -Dtangosol.coherence.cacheconfig=/opt/Oracle/Weblogic/12.1.1/user_projects/domains/labs_domain/config/coherence/my_coh_cluster/session-cache-config.xml ‐Xmanagement:autodiscovery=false,authenticate=false,ssl=false,port=8291 -Dweblogic.RootDirectory=/opt/Oracle/Weblogic/12.1.1/user_projects/domains/labs_domain weblogic.nodemanager.server.provider.WeblogicCacheServer >
<Mar 21, 2014 4:53:21 PM> <INFO> <NodeManager> <Working directory is '/opt/Oracle/Weblogic/12.1.1/user_projects/domains/labs_domain'>
<Mar 21, 2014 4:53:21 PM> <INFO> <NodeManager> <Server output log file is '/opt/Oracle/Weblogic/12.1.1/user_projects/domains/labs_domain/servers_coherence/coh_server1/logs/coh_server1.out'>
Exception in thread "main" java.lang.NoClassDefFoundError: ‐Xmanagement:autodiscovery=false,authenticate=false,ssl=false,port=8291
Caused by: java.lang.ClassNotFoundException: ‐Xmanagement:autodiscovery=false,authenticate=false,ssl=false,port=8291
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ‐Xmanagement:autodiscovery=false,authenticate=false,ssl=false,port=8291. Program will exit.
<Mar 21, 2014 4:53:21 PM> <FINEST> <NodeManager> <Waiting for the process to die: null>
<Mar 21, 2014 4:53:21 PM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Mar 21, 2014 4:53:21 PM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
It seems that ‐Xmanagement:autodiscovery is wrong, I just don't know why, 'cause I just follow the steps
I believe the problem is you are not pointed at the JRockit JVM, which is the only JVM that will recognize the Xmanagement:autodiscovery option.
Right now you're pointed at: /usr/lib/jvm/jdk1.6.0_45/bin/java
Switch your JAVA_HOME to a JRockit install.
The other option is to try -Dcom.oracle.management.autodiscovery instead, based on the information here: http://docs.oracle.com/cd/E15289_01/doc.40/e15062/doptions.htm
I get success when i test it using database wizard.
But
I get the following error while i run my jsf/adf application ::
C:\Users\dev4\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\sqlConnTestApp\ViewController_sqlWebApp.war
[12:55:18 PM] Wrote Enterprise Application Module to C:\Users\dev4\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\sqlConnTestApp
[12:55:18 PM] Deploying Application...
<Jul 10, 2012 12:55:19 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application sqlConnTestApp is not versioned.>
<Jul 10, 2012 12:55:20 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1341905118356' for task '4'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:686)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:230)
Truncated. see log file for complete stacktrace
>
<Jul 10, 2012 12:55:20 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'sqlConnTestApp'.>
<Jul 10, 2012 12:55:20 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:75)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:131)
at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:686)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:230)
Truncated. see log file for complete stacktrace
>
[12:55:21 PM] #### Deployment incomplete. ####
[12:55:21 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application sqlConnTestApp due to error deploying to IntegratedWebLogicServer.
[Application sqlConnTestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
Even i added the jar file in the classpath.I am using sqljdbc4.jar version.
Put the slqjdbc4.jar or sqljdbc.jar library file in lib folder under DefaultDomain in your IntegratedWLS installation path, if running in in IDE.
C:\Documents and Settings\user\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\lib -
or
C:\Users\user\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\lib
Previous answer worked very well for me, I'm using Jdeveloper 12c with integrated weblogic, in my case I used sqljdbc4 jar file because it provides support for java 7:
"
Put the slqjdbc4.jar or sqljdbc.jar library file in lib folder under DefaultDomain in your IntegratedWLS installation path, if running in in IDE.
C:\Documents and Settings\user\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\lib -
or
C:\Users\user\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\lib
".
Commented just in case anyone is facing the same problem.