Starting weblogic server from java program
Runtime r=Runtime.getRuntime();
Process p=r.exec("cmd /c d:/bea/weblogic700/server/bin/setWLSEnv.cmd");
when ihave given like this it is working.
now i want to start weblogicserver from jav program
String s="-Dweblogic.Domain=mydomain weblogic.Server"
Process p=r.exec("cmd /c d:/bea/weblogic700/server/bin/setWLSEnv.cmd java "+s);
when i gave like this weblogicserver should start with specified domain
but no output is comming.please tellme where the problem is
no - nothing happened. it perform the next java code - and there is nothing else happen on the windows.
maybe i don't check in the right place for the error you are talking about?
i also tried i simple cmd file that does nothing - but still nothing...
for any other file types it works properly.
Similar Messages
-
Error starting WebLogic Server from Workshop
I get the following error when trying to start WebLogic server
from within Workshop. Any ideas? Also, it looks like the sample
code that came with the first beta is no longer there - is that
supposed to be the case?
Build # 2002.0423.3
Values from Workshop.properties:
#Thu Jun 13 14:34:08 MDT 2002
paths.domain=workshop
paths.serverRoot=localhost
paths.startCmd=startWebLogic
defaultJndiDataSource=cgSampleDataSource
paths.browser=C\:\\Program Files\\Internet Explorer\\IExplore.exe
paths.httpRoot=http\://localhost\:7001
paths.rootDirectory=C\:\\bea7.0beta2\\weblogic700\\samples
paths.stopCmd=stopWebLogic
recent.lastProject=C\:\\bea7.0beta2\\weblogic700\\samples\\workshop\\applications\\samples
paths.classPath=C\:\\bea7.0beta2\\jdk131_02\\jre\\lib\\rt.jar;C\:\\bea7.0beta2\\weblogic700\\workshop\\stdlib.jar;C\:\\bea7.0beta2\\weblogic700\\server\\lib\\weblogic.jar
recent.lastFiles=C\:\\bea7.0beta2\\weblogic700\\samples\\workshop\\applications\\samples\\HelloWorld.jws
controls.applicationView.enabled=0
paths.port=7001I get the following error when trying to start WebLogic server
from within Workshop. Any ideas? Also, it looks like the sample
code that came with the first beta is no longer there - is that
supposed to be the case?
Build # 2002.0423.3
Values from Workshop.properties:
#Thu Jun 13 14:34:08 MDT 2002
paths.domain=workshop
paths.serverRoot=localhost
paths.startCmd=startWebLogic
defaultJndiDataSource=cgSampleDataSource
paths.browser=C\:\\Program Files\\Internet Explorer\\IExplore.exe
paths.httpRoot=http\://localhost\:7001
paths.rootDirectory=C\:\\bea7.0beta2\\weblogic700\\samples
paths.stopCmd=stopWebLogic
recent.lastProject=C\:\\bea7.0beta2\\weblogic700\\samples\\workshop\\applications\\samples
paths.classPath=C\:\\bea7.0beta2\\jdk131_02\\jre\\lib\\rt.jar;C\:\\bea7.0beta2\\weblogic700\\workshop\\stdlib.jar;C\:\\bea7.0beta2\\weblogic700\\server\\lib\\weblogic.jar
recent.lastFiles=C\:\\bea7.0beta2\\weblogic700\\samples\\workshop\\applications\\samples\\HelloWorld.jws
controls.applicationView.enabled=0
paths.port=7001 -
Start weblogic server within java code
From edoc.bea.com, I got:
====
The following sections describe alternate ways to start an Administration Server:
Starting an Administration Server from the Windows Start Menu
Starting an Administration Server When the Host Computer Boots
Starting an Administration Server With the java weblogic.Server Command
====
Could we start weblogic server within java code?
(like ServerLoader provided by JBoss?)
Thanks in advance.
-KevinThe follwoing code:
//====
import weblogic.*;
public class MyTest
public static void main(String[] args)
String[] myArgs = new String[6];
myArgs[0] = "-Dweblogic.home=C:\\bea";
myArgs[1] = "-Dweblogic.RootDirectory=C:\\bea\\weblogic81\\samples\\domains\\examples";
myArgs[2] = "-Dweblogic.ConfigFile=C:\\bea\\weblogic81\\samples\\domains\\examples\\config.xml";
myArgs[3] = "-Dweblogic.Name=examplesServer";
myArgs[4] = "-Dweblogic.management.username=weblogic";
myArgs[5] = "-Dweblogic.management.password=weblogic";
Server.main( myArgs );
//====
Seems that did not feed the arguments in:
C:\myTest>java -cp .;%CLASSPATH% MyTest
<Sep 22, 2005 6:08:40 PM EDT> <Info> <Security> <BEA-090065> <Getting boot ident
ity from user.>
Enter username to boot WebLogic server: -
Starting weblogic server from a java application
Hello,
I am trying to start the weblogic server from a java application i wrote.
the code:
Process p=null;
try{
p= Runtime.getRuntime().exec("cmd /c c:/startWeblogic.cmd");
catch (Exception e)\[
this doesn't start the weblogic... Using the same line to start other types of files does work... only file with the extention of cmd i can't run.
I even tried to write a bat file that calls the cmd file but it still does't work.
Can someone help?
THANKS!!!
P.S.
The Java application I used implement the SysTrayMenuListner - can this be the problem?no - nothing happened. it perform the next java code - and there is nothing else happen on the windows.
maybe i don't check in the right place for the error you are talking about?
i also tried i simple cmd file that does nothing - but still nothing...
for any other file types it works properly. -
Starting WebLogic Server from a common mount area!
Hi All,
we have a requirement wherein the weblogic server is installed in machineC in which the admin server is running.
The weblogic server installation is mounted on a common disk which can be accessed from machineA and machineB.
Is it possible to start the weblogic server from machineA and machineB?
Any comments/feedback will be REALLY appreciated!
Many Thanks in Advance,
C R BaradwajHi
while iam running weblogic7 in eclipse iam getting this problem frequently
Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 16:38:01 CDT 2000, not after = Thu May 13 16:38:01 CDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3
<Feb 23, 2006 1:58:28 PM CST> <Alert> <WebLogicServer> <000297> <Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 16:38:01 CDT 2000, not after = Thu May 13 16:38:01 CDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3>
<Feb 23, 2006 1:58:28 PM CST> <Emergency> <Security> <090034> <Not listening for SSL, java.io.IOException: Inconsistent security configuration, Certificate expired or not yet valid: fingerprint = 56b7dfac29e39c21027973c248d8c1bb, not before = Tue May 30 16:38:01 CDT 2000, not after = Thu May 13 16:38:01 CDT 2004, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority [email protected] , key = modulus length=65 exponent length=3.>
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:220)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:122)
at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1513)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:852)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
<Feb 23, 2006 1:58:28 PM CST> <Error> <socket> <000433> <Unable to load performance pack, using Java I/O instead.
Please ensure that libmuxer library is in :'C:\Program Files\Java\j2sdk1.4.2_10\bin;C:\bea\weblogic700\bin;C:\bea\weblogic700\server\bin'
java.lang.UnsatisfiedLinkError: no muxer in java.library.path
java.lang.UnsatisfiedLinkError: no muxer in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:179)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:54)
at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:37)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:199)
> -
Have Weblogic 10.3.5 error when starting weblogic server from CLI
I have installed wls 10.3.5 and ADF 11.1.1.5 runtime on windows machine.when I start the weblogic server from command line using C:\Oracle\Middleware\user_projects\domains\adf_domain\bin\startWebLogic.cmd
My em doesnt start and is in Failed state and when I looked at the log I see errors too.
Here is the stack trace.
<Sep 1, 2011 10:51:13 AM EDT> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initializedcorrectly.>
<Sep 1, 2011 10:51:17 AM EDT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V.java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:234)
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:199)
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Truncated. see log file for complete stacktrace>
<Sep 1, 2011 10:51:17 AM EDT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NullPointerException.java.lang.NullPointerException
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:241)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run
(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
Truncated. see log file for complete stacktrace>
<Sep 1, 2011 10:51:18 AM EDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'em'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:234)
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:199)
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default"is now listening on :7001 for protocols iiop, t3, ldap, snmp, http.>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "adf_domain" running in ProductionMode>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Sep 1, 2011 10:51:18 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Can you please help me resolve the issue?
Thanks,
--John.I ran the upgradeADF command command successfully and this is the final errors I have:
####<Sep 7, 2011 1:19:29 PM EDT> <Warning> <HTTP> <GAXGPRS32DV> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <7f351c71d03e540b:-3797f225:13244e58545:-8000-0000000000000003> <1315415969805> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V.
java.lang.RuntimeException: java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:234)
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:199)
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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 javax.xml.validation.SchemaFactoryFinder.loadFromService(SchemaFactoryFinder.java:431)
at javax.xml.validation.SchemaFactoryFinder._newFactory(SchemaFactoryFinder.java:246)
at javax.xml.validation.SchemaFactoryFinder.newFactory(SchemaFactoryFinder.java:145)
at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:205)
at com.sun.faces.config.DbfFactory.initStatics(DbfFactory.java:228)
at com.sun.faces.config.DbfFactory.<clinit>(DbfFactory.java:190)
at com.sun.faces.config.ConfigManager$ParseTask.<init>(ConfigManager.java:815)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:653)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
####<Sep 7, 2011 1:19:29 PM EDT> <Info> <Deployer> <GAXGPRS32DV> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <7f351c71d03e540b:-3797f225:13244e58545:-8000-0000000000000003> <1315415969852> <BEA-149059> <Module /em of application em is transitioning from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
####<Sep 7, 2011 1:19:30 PM EDT> <Info> <Deployer> <GAXGPRS32DV> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <7f351c71d03e540b:-3797f225:13244e58545:-8000-0000000000000003> <1315415970649> <BEA-149060> <Module /em of application em successfully transitioned from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
####<Sep 7, 2011 1:19:30 PM EDT> <Info> <Deployer> <GAXGPRS32DV> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <7f351c71d03e540b:-3797f225:13244e58545:-8000-0000000000000003> <1315415970649> <BEA-149059> <Module empty.jar of application em is transitioning from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
####<Sep 7, 2011 1:19:30 PM EDT> <Info> <Deployer> <GAXGPRS32DV> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <7f351c71d03e540b:-3797f225:13244e58545:-8000-0000000000000003> <1315415970649> <BEA-149060> <Module empty.jar of application em successfully transitioned from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
####<Sep 7, 2011 1:19:30 PM EDT> <Error> <Deployer> <GAXGPRS32DV> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <7f351c71d03e540b:-3797f225:13244e58545:-8000-0000000000000003> <1315415970649> <BEA-149231> <Unable to set the activation state to true for the application 'em'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.NoSuchMethodError: org/apache/xerces/impl/xs/models/CMBuilder.<init>()V
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:234)
at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:199)
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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 javax.xml.validation.SchemaFactoryFinder.loadFromService(SchemaFactoryFinder.java:431)
at javax.xml.validation.SchemaFactoryFinder._newFactory(SchemaFactoryFinder.java:246)
at javax.xml.validation.SchemaFactoryFinder.newFactory(SchemaFactoryFinder.java:145)
at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:205)
at com.sun.faces.config.DbfFactory.initStatics(DbfFactory.java:228)
at com.sun.faces.config.DbfFactory.<clinit>(DbfFactory.java:190)
at com.sun.faces.config.ConfigManager$ParseTask.<init>(ConfigManager.java:815)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:653)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Can someone Help?
Thanks,
--John. -
Error starting WebLogic server from Workshop - 2
Sorry forgot to actually include the error:
Unexpected exception:
java.io.IOException: CreateProcess: cmd.exe /C START startWebLogic error=267
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:63)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:550)
at jellybeans.util.ServerUtil$StartServerTask.runBackground(ServerUtil.java:363)
at jellybeans.core.task.TaskThread.execute(TaskThread.java:114)
at jellybeans.core.task.TaskThread.run(TaskThread.java:55)
Was caught at:
jellybeans.util.AssertionFailureException: Unexpected exception: CreateProcess: cmd.exe
/C START startWebLogic error=267
at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
at jellybeans.util.ServerUtil$StartServerTask.runBackground(ServerUtil.java:367)
at jellybeans.core.task.TaskThread.execute(TaskThread.java:114)
at jellybeans.core.task.TaskThread.run(TaskThread.java:55)Evelyn,
Can you tell me the operating system on which you are running WebLogic
Workshop.
Thank You,
Raj Alagumalai
WebLogic Workshop Support
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]..
Evelyn,
Are you able to start the server from the command line using
startweblogic.cmd ?
the file can be found under your beahome\weblogic700\samples\workshop
directory.
Did you have the older Beta installed on the same machine prior to
installing Beta2 ?
I'm not sure if you read this before.
The following is the set of steps to install Beta2
Before installing "Beta 2, uninstall your Beta 1 version like this:
1. Run the uninstaller
2. Delete the entire bea_home that housed Beta 1 (restart if necessary)
3. Restart
4. Install Beta 2
Also make sure that there is no .jellybeans or .workshop file in the
C:\Documents and Settings\username before to install Beta2
Thanks
Raj Alagumalai
WebLogic Workshop Support
Evelyn Hobson wrote:
Sorry forgot to actually include the error:
Unexpected exception:
java.io.IOException: CreateProcess: cmd.exe /C START startWebLogic
error=267
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:63)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:550)
atjellybeans.util.ServerUtil$StartServerTask.runBackground(ServerUtil.java:363
at jellybeans.core.task.TaskThread.execute(TaskThread.java:114)
at jellybeans.core.task.TaskThread.run(TaskThread.java:55)
Was caught at:
jellybeans.util.AssertionFailureException: Unexpected exception:CreateProcess: cmd.exe
/C START startWebLogic error=267
atjellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
atjellybeans.util.ServerUtil$StartServerTask.runBackground(ServerUtil.java:367
at jellybeans.core.task.TaskThread.execute(TaskThread.java:114)
at jellybeans.core.task.TaskThread.run(TaskThread.java:55) -
Starting WebLogic server from concole
When I start WebLogic server using startweblogic.cmd everything seems to be okay.
Using the 'Start a new WebLogic server or cluster' command from WebLogic Console
5.1.0, I get the following error message:
Attempting to start server on the machine running the console using
C:\weblogic\jre1_2\jre\bin\java.exe -mx32m -ms32m -classpath "C:\weblogic\jre1_2\jre\lib\rt.jar;C:\weblogic\jre1_2\jre\lib\i18n.jar;C:\weblogic\lib\i18n.jar;C:\weblogic\classes\boot;C:\weblogic\eval\cloudscape\lib\cloudscape.jar"
-Dweblogic.class.path=C:\weblogic\license;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\weblogic\lib\weblogicaux.jar
-Dweblogic.system.discardOutAndErr=true -Djava.security.manager -Djava.security.policy==C:\weblogic\weblogic.policy
-Dweblogic.system.name=kenapp00111 -Dweblogic.system.home=C:\weblogic -Dweblogic.cluster.enable=false
-Dweblogic.cluster.name=mycluster -Dweblogic.system.listenPort=7001 -Dweblogic.system.SSLListenPort=7002
-Dweblogic.cluster.multicastAddress=237.0.0.1 weblogic.Server
$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
Loaded License : C:/weblogic/license/WebLogicLicense.xml
However Unable to start because :
No License found for WebLogic
As well as the fact that: No License found for Tengah
As well as the fact that: No License found for WebLogic/JDBC
As well as the fact that: No License found for Tengah/JDBC
As well as the fact that: No License found for jdbcKona/T3
Is the 'server name' the name of the machine or 'myserver' ? Could there really
be something wrong with the licence file ?
Thanks for helping !
Hilmar1. "myserver" is the name of the server. It doesn't want the name of the
machine the server is on.
2. It is possible that something is wrong in the license file. I've made a
typo when changing the license on my server that prevented weblogic from
starting.
Hope this helps.
"Hilmar" <[email protected]> wrote in message
news:[email protected]..
>
When I start WebLogic server using startweblogic.cmd everything seems tobe okay.
Using the 'Start a new WebLogic server or cluster' command from WebLogicConsole
5.1.0, I get the following error message:
Attempting to start server on the machine running the console using
C:\weblogic\jre1_2\jre\bin\java.exe -mx32m -ms32m -classpath"C:\weblogic\jre1_2\jre\lib\rt.jar;C:\weblogic\jre1_2\jre\lib\i18n.jar;C:\we
blogic\lib\i18n.jar;C:\weblogic\classes\boot;C:\weblogic\eval\cloudscape\lib
\cloudscape.jar"
-Dweblogic.class.path=C:\weblogic\license;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\weblogic\lib\weblogicaux.jar
-Dweblogic.system.discardOutAndErr=true -Djava.security.manager -Djava.security.policy==C:\weblogic\weblogic.policy
-Dweblogic.system.name=kenapp00111 -Dweblogic.system.home=C:\weblogic -Dweblogic.cluster.enable=false
-Dweblogic.cluster.name=mycluster -Dweblogic.system.listenPort=7001 -Dweblogic.system.SSLListenPort=7002
-Dweblogic.cluster.multicastAddress=237.0.0.1 weblogic.Server
$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
Loaded License : C:/weblogic/license/WebLogicLicense.xml
However Unable to start because :
No License found for WebLogic
As well as the fact that: No License found for Tengah
As well as the fact that: No License found for WebLogic/JDBC
As well as the fact that: No License found for Tengah/JDBC
As well as the fact that: No License found for jdbcKona/T3
Is the 'server name' the name of the machine or 'myserver' ? Could therereally
be something wrong with the licence file ?
Thanks for helping !
Hilmar -
Is there any way to start weblogic server with java 7?
Hi. Is there any way to start weblogic server with jdk 1.7?
Hi,
You can start your Weblogic Server with java 7(JDK 1.7)
Go to Domain_home/bin and click on StartWeblogic.cmd it will start your Admin Server
It depends on which JDK you have used while creating domain if you have selected Jdk 1.7 it will use the same to start the server
See the Ex:
================
starting weblogic with Java version:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK17~1.0_5\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
eshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer -
Djava.security.policy=H:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy
-Xverify:none -Xverify:none -da -Dplatform.home=H:\Oracle\MIDDLE~1\WLSERV~1.3 -
Dwls.home=H:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=H:\Oracle\MIDDLE~
1\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -
Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=H:\Oracle\MIDDLE
~1\patch_wls1036\profiles\default\sysext_manifest_classpath weblogic.Server
<Mar 3, 2015 1:08:32 PM PST> <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>
<Mar 3, 2015 1:08:33 PM PST> <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>
<Mar 3, 2015 1:08:33 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebL
ogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.51-b03 from Oracle
Corporation>
=======================================
If you are using a Lower version of JDK and want to upgrade to JKD 1.7 you can do so by changing setDomainEnv.sh in Weblogic
Have a look at the below link to do so
The Weblogic Wasp: change java version / JDK of a weblogic domain
http://www.baigzeeshan.com/2012/05/how-to-change-jdk-used-by-weblogic.html
Hope it helps -
Unable to start weblogic server from workshop
I am able to start weblogic through command window. when i try to start via workshop,Nothing happens but weblogic server progress bar says ( starting weblogic server). Please advise.
Hello,
Table 'slee_db.beaxacmlap' doesn't exist 1. Check the permissions of the user that connects to the database. Can it create tables in this specified schema? If not update your JDBC configuration via the WLS Admin Console or update the permissions on database side.
2. Does the table exist? If not, the easiest is to start the domain in development mode once so that the tables are created automatically.When this is done, you can switch back to production mode if you run this setting. The production mode can be enabled / disabled in config.xl via the domain configuration section of the WLS Admin console or via startWeblogic.sh by setting a environment called PRODUCTION_MODE=true|false.
3. Be aware that there is another forum as well for your product that you can access via support.oracle.com and than click to "community". The right forum for OCSG is 'Communications Industry->Service Delivery Platform' You can subscribe to it via RSS feed as well.
Regards,
Kai -
Starting Weblogic Server from VisualCafe through Citrix
We have VisualCafe running on NT. The NT box is acting as a Citrix
server.
We are trying to start the Weblogic server on a UNIX box from
VisualCafe.
The Weblogic server runs fine on the UNIX box when started locally but
we
cannot start it through VisualCafe. It complains that DDServices are
not running on the UNIX box, which is incorrect. Does anyone know of
any
problems relating to running through a Citrix server?
Thanks in advance,
Regards,
Lucyno - nothing happened. it perform the next java code - and there is nothing else happen on the windows.
maybe i don't check in the right place for the error you are talking about?
i also tried i simple cmd file that does nothing - but still nothing...
for any other file types it works properly. -
Start weblogic server with java argument
Hello,
I am using weblogic server version 10.2. And the environment have one Admin server and two machines.
In admin console, one managed sever is configured with Java argument in "Server Start". The java option can be passed to JVM when i start the managed server in admin console. i confirmed that by execute ps the java process from the linux server. However, the java argument cannot pass to the JVM when i start from command line as below. is there any specific configuration required?
/weblogic/bea102/wlserver_10.0/common/bin/wlscontrol.sh -d premium_102_internet_qa -n /weblogic/ndmgr -c -f startManagedWebLogic.sh -s server_qa_svra START
PLease help!
Thanks,
AngusYou have to use the nodemanager. The parameters are added to a file startup.properties, located in the
directory: <middleware-home>/user_projects/domains/<domain-name>/servers/<server-name>/data/nodemanager
The file startup.properties is used by the nodemanager to start your managed server.
You can start your environment by using a start script (written using WLST), for example,
beahome = '<middleware-hoem>';
adminusername = 'username';
adminpassword = 'password';
domainname = 'domain-name';
linux = true;
pathseparator = '/';
if not linux:
pathseparator = '\\';
domainlocation = beahome + pathseparator + 'user_projects' + pathseparator + 'domains' + pathseparator + domainname;
nodemanagerhomelocation = beahome + pathseparator + 'wlserver_10.3' + pathseparator + 'common' + pathseparator + 'nodemanager';
print 'START NODE MANAGER';
startNodeManager(verbose='true', NodeManagerHome=nodemanagerhomelocation, ListenPort='5556', ListenAddress='localhost');
print 'CONNECT TO NODE MANAGER';
nmConnect(adminusername, adminpassword, 'localhost', '5556', domainname, domainlocation, 'ssl');
print 'START ADMIN SERVER';
nmStart('AdminServer');
nmServerStatus('AdminServer');
print 'CONNECT TO ADMIN SERVER';
connect(adminusername, adminpassword);
print 'START MANAGED SERVER';
start('ServerName','Server');
nmServerStatus('ServerName'); -
Not able to connect mysql server from java program
Hi
I have mysql server running in one machine and I am accessing from another machine using java program. I have added an user from the server and given all the permission. But its not working. But when I hav java program locally its working.
The following is my program
private Connection getConnection(){
Connection con=null;
try{
Class.forName("com.mysql.jdbc.Driver");
String url="jdbc:mysql://10.5.18.135:3306/test";
con = DriverManager.getConnection(url,"new","");
System.out.println("Connected");
}catch(Exception e){
System.out.println("Not Connected"+e);
e.printStackTrace();
return con;
its throwing me the follwoing exceptioon
Not Connectedjava.sql.SQLException: Unable to connect to any hosts due to exce
ion: java.net.ConnectException: Connection timed out: connect
java.sql.SQLException: Unable to connect to any hosts due to exception: java.n
.ConnectException: Connection timed out: connect
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1690)
Thanks in advance
SathishTry this way I think you will need the user and password.
Connection con=null;
try{
Class.forName("com.mysql.jdbc.Driver");
// assuming database test
// assuming user is root
// assuming user password is me
String connectionString="jdbc:mysql://10.5.18.135:3306/test?user=root&password=me"
con = DriverManager.getConnection(connectionString);
[code/]
rykk -
Starting weblogic server from back ground
hi guruz,
I have installed weblogic 10.3.3 on solaris Sparc..i have set d following details for admin server
username: weblogic
password: weblogic1
Now i want to start this script in the background ie
sh startWeblogic.sh
Since when ever i start this command from putty(local machine) i have to keep this putty session on(24 *7) till my users are logged in.
i went through following url
http://middlewareforum.com/weblogic/?cat=23
it states using the following command
nohup ./startWebLogic.sh >>Adminserver.log 2>&1 &
But when ever i check the Admin server logs using tail command,i get stuck at a place
where i have to specify username and password
Please help
Thanks in advance
Regards
FabianHi Fabian,
Please create a directory *"security"* inside your <DOMAIN_ROOT>\servers\<SERVER_NAME>
inside "<DOMAIN_ROOT>\servers\<SERVER_NAME>\security" ( Example Location: WLS103/user_projects/domains/Test_Domain/servers/AdminServer/security ) directory create a file with exactly same name as "boot.properties" and with following 2 lines inside it:
username=weblogic
password=weblogic
NOTE: Here "weblogic" is the Administrator username & password...In your ase it may be different .
This is most important Step: Because Sometimes we face many issues if you have provided a Wrong format in your “boot.properties” file there should be NO Special Charachers (UTF or Invisible sharacters) Or NO Space in your “boot.properties” file …except below two Lines:
Thanks
Jay SenSharma -
Error in Starting Weblogic Server 12c
Hi,
I get the below error when I run Weblogic server 12c. I am running it on Windows 7 Enterprise sp1.
I have installed the products. Oracle DB 11.2.0.1.0, RCU 11.1.1.6.0, Webcenter Portal & Content- 11.1.1.8.0
The main error I see is Opening of file based keystore failed from below log.
C:\Oracle\Middleware\user_projects\domains\New_domain\bin>startWebLogic.cmd >> log.txt
'C:\Oracle\MIDDLE~1\ORACLE~3\ucm\idc\bin\\Installer64' is not recognized as an internal or external command,
operable program or batch file.
'C:\Oracle\MIDDLE~1\ORACLE~3\ucm\idc\bin\\Installer' is not recognized as an internal or external command,
operable program or batch file.
'C:\Oracle\MIDDLE~1\ORACLE~3\ucm\idc\bin\\Installer' is not recognized as an internal or external command,
operable program or batch file.
'C:\Oracle\MIDDLE~1\ORACLE~3\ucm\idc\bin\\Installer' is not recognized as an internal or external command,
operable program or batch file.
FINDSTR: No search strings
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
6 Sep, 2013 2:27:09 PM oracle.security.jps.internal.keystore.file.FileKeyStoreManager openKeyStore
WARNING: Opening of file based keystore failed.
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_12.1.1.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\oracle_common\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\Oracle\Middleware\Oracle_WC1\wcps-services-app\modules\oracle.wcps_11.1.1\wcps-connection-mbeans.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar;C:\Oracle\MIDDLE~1\ORACLE~3\ucm\idc\jlib\idcloader.jar;C:\Oracle\MIDDLE~1\ORACLE~3\ucm\idc\components\NativeOsUtils\classes-NativeOsUtils.jar;
PATH=C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\native;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\app2\v.narasakumar.kuchi\product\11.2.0\dbhome_1\bin;C:\app1\v.narasakumar.kuchi\product\11.2.0\dbhome_1\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_38\bin;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32\oci920_8
* 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:
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy -Xverify:none -Djava.endorsed.dirs=C:\Oracle\MIDDLE~1\JDK160~1/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.1 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Djps.auth.debug=false -Dtangosol.coherence.log=jdk -DjiveHome=C:\Oracle\MIDDLE~1\USER_P~1\domains\NEW_DO~1\config\fmwconfig\servers\AdminServer\owc_discussions -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -Doracle.webcenter.analytics.disable-native-partitioning=false -Doracle.webcenter.tagging.scopeTags=false -Djava.awt.headless=true -Doracle.webcenter.tagging.scopeTags=false -XX:+UseParallelGC -XX:+DisableExplicitGC -Dportlet.oracle.home=C:\Oracle\Middleware\oracle_common -Dwc.oracle.home=C:\Oracle\Middleware\Oracle_WC1 -Dipm.oracle.home=C:\Oracle\Middleware\Oracle_ECM1 -Doracle.capture.home=C:\Oracle\Middleware\Oracle_ECM1 -Ducm.oracle.home=C:\Oracle\MIDDLE~1\ORACLE~3 -Dirm.oracle.home=C:\Oracle\Middleware\Oracle_ECM1 -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath weblogic.Server
<6 Sep, 2013 2:27:03 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<6 Sep, 2013 2:27:03 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<6 Sep, 2013 2:27:03 PM IST> <Notice> <WebLogicServer> <BEA-000395> <The following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\user_projects\domains\New_domain\lib\mbeantypes\csp-id-asserter.jar;C:\Oracle\Middleware\user_projects\domains\New_domain\lib\mbeantypes\jps-wls-trustprovider.jar.>
<6 Sep, 2013 2:27:04 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>
<6 Sep, 2013 2:27:05 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
<6 Sep, 2013 2:27:06 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<6 Sep, 2013 2:27:07 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<6 Sep, 2013 2:27:07 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\user_projects\domains\New_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
<6 Sep, 2013 2:27:07 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\user_projects\domains\New_domain\servers\AdminServer\logs\AdminServer.log00009. Log messages will continue to be logged in C:\Oracle\Middleware\user_projects\domains\New_domain\servers\AdminServer\logs\AdminServer.log.>
<6 Sep, 2013 2:27:07 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\New_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<6 Sep, 2013 2:27:09 PM IST> <Error> <Security> <BEA-090892> <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 obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.>
<6 Sep, 2013 2:27:09 PM IST> <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 obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
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 obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.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: JPS-06514: Opening of file based keystore failed.
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:170)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:383)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsException: JPS-06514: Opening of file based keystore failed.
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2984)
at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3226)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:167)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:383)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Opening of file based keystore failed.
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:406)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:352)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:122)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:88)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:164)
Truncated. see log file for complete stacktrace
>
<6 Sep, 2013 2:27:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<6 Sep, 2013 2:27:09 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<6 Sep, 2013 2:27:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
I get the same error when I execute "startWeblogic.cmd" from domain folder and bin folder.
Any help is appreciated. Thanks.Hi,
Few comments here...
1) Seems your environment is not setup correctly but that is not the big cause here.....
2) This one is important, it seems that you installed weblogic using a different account and are trying to run it from a different account.
So the account with which you are trying to run weblogic does not have proper permission on
MW_HOME\user_projects\domains\bifoundation_domain\config\fmwconfig\bootstrap\cwallet.sso
Right click on the file and go in properties ..
Enable full control,modify,Read and execute,read and write permissions for the user you are trying to start weblogic and apply it.
if this simple steps doesnt work, please enable more logging by adding "-Djava.security.debug=jpspolicy" to startup option and grab more details.
Good Luck let me know if this works.
Maybe you are looking for
-
When I use Apple Numbers, open a file, make changes, click save or save as, the files goes back into the folder it was opened from (unless I change the folder name). In Pages, when I open a file, make changes and try to save it, the program invariabl
-
How am I supposed to connect my iPad, iPhone and iPod to the iMac?
I know so little about this iMac that I called my brother to tell him that they didn't put the computer in the box he gave me. I didn't know that the stuff from the box is now in the screen. I can't figure out how to connect my various other merchan
-
I would like to install Acrobat 6 onto Windows 7. I think it is first necessary to update Acrobat 6 into Acrobat 10? How do I do this?
-
hi, we are using mac mini's for our developement purpose. connecting the same through using Real VNC. Mac mini's are late 2009 and 2010. Now we have upgraded them to 10.8.5. after upgrading having display issues after launching the simulators, we are
-
Output Mapping Preference for 5.1 Audio
Hello, I have my editing hardware hooked up to a surround sound processor (via HDMI) which feeds 7.1/5.1 speakers and an HDTV. The HDTV displays the output monitor content just fine, but I have been unable to get Premiere Pro CC 2014 to output 5.1 s