Error starting weblogic server - weblogic

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.

Related

Apache usergrid tomcat error

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

How to display PSU version for Weblogic 12c installation

I cant find any way to display PSU version on a Oracle Weblogic 12c installation.
The only method is OPatch lspatches but require access to single installation.
On previous (10.3.x) the PSU version and single Patch are shown on application server log, WLST and JMX.
You can run OPatch like you mentioned:
opatch lsinventory
Or with your weblogic home set:
source $WL_HOME/server/bin/SetWLSEnv.sh
java weblogic.version
Or from the weblogic admin console:
Go to the Servers link
Customize this table
Check the WebLogic Version box and add it to the right side
Click Apply
And when starting a server:
With 12c you should see something like <Apr 20, 2015 4:58:52 PM UTC> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.3.0.0 Wed May 21 18:53:34 PDT 2014 1604337 >
With 10.3 you would have also seen the same thing like <Apr 20, 2015 5:34:42 PM UTC> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 17069175, 17213621, 17780729 Thu Sep 11 17:27:51 MDT 2014
The only way to see versions in WLS 12.1.2 and later (as of this date) is through OPatch. See Doc ID 1676652.1 for more information.

command start-domain failed glassfish 4.1

I successfully installed glassfish 4.1 on my centos server via ssh but I am unable to start the server.
when I type ./asadmin start-domain I got this error below.
Waiting for domain1 to start ......Error starting domain domain1.
The server exited prematurely with exit code 137.
Before it died, it produced the following output:
Launching GlassFish on Felix platform
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime#33903879 in service registry.
Nov 24, 2014 10:42:08 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Nov 24, 2014 10:42:08 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Nov 24, 2014 10:42:08 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Command start-domain failed.
Can anyone help with this one?
Thanks.
It seems that Glassfish cannot start because an address is trying to bind is already in use.
Shutting down server due to startup exception
java.net.BindException: Address already in use: bind
Try to edit the domain.xml.
/glassfish/domains/domain1/config/domain.xml
The most common problem would be that the http-listener ports are reused by another application. Find the following lines:
name="http-listener-1" port="8080" name="http-listener-1" port="9090"
And replace them with something like:
name="http-listener-2" port="8181" name="http-listener-2" port="9191"
You can also read more about the domain.xml

Coherence Servers Weblogic 12.1.1 ClassNotFoundException

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

Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver

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.