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.
Similar Messages
-
Starting j2ee server from a java Application
Hi.
I'm trying to start j2ee server by clicking a button in an application I'm developing. I don't know how to do it. I haven't found In the documentation some topic related. I look at the j2ee.bat but it just call a class named J2EEServer, and the API of this class is not in the API of the j2ee.
Can you help me please??
Thanks
Mauchothanks!
That was my first approach , and it works, but the problem is that I can't kill the process then, cause the method destroy() don't kill j2ee. Maybe it kills the j2ee.bat, but not the server itself. Maybe you know how to do it, I'll really appreciate it.
Regards -
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 -
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 -
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)
> -
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 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 isno - 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 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. -
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 -
Urgent Help Required For Starting RMI server from servlet.
I am currently working on rmi project.
I want to send request to remote machine(Web host) where my application is from desktop client .For that we are using RMI.
I am writing servlet and inside it i am binding object to registry for rmi server.
which will be deployed on remote server.
code ....
Registry reg;
reg=LocateRegistry.createRegistry(1099);
Server server=new Server("server");//class whose remote object to be accessed
//extends unicast remote object.Implement ServerInt interface which extends Remote.
reg.bind("server",server);
When i am trying to access this object i am getting following exception.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
on: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: ServerModule.ServerInt]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at RequstReplication.main(RequstReplication.java:27)
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested excep
tion is:
java.lang.ClassNotFoundException: ServerModule.ServerInt
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 4 more
Caused by: java.lang.ClassNotFoundException: ServerModule.ServerInt
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 5 more
I can access naming enumeration of registry and object bound to it.
by following program.I shows corect objects.
Context namingContext=new InitialContext();
NamingEnumeration<NameClassPair> e=namingContext.list("rmi:");
while(e.hasMore())
System.out.println(e.next().getName());
While when i start RMI server from simple java program i can access these objects from registry.
I am not getting what is problem problem.Is there any other way to send request?
Plese give quick response.I am currently working on rmi project.
I want to send request to remote machine(Web host) where my application is from desktop client .For that we are using RMI.
I am writing servlet and inside it i am binding object to registry for rmi server.
which will be deployed on remote server.
code ....
Registry reg;
reg=LocateRegistry.createRegistry(1099);
Server server=new Server("server");//class whose remote object to be accessed
//extends unicast remote object.Implement ServerInt interface which extends Remote.
reg.bind("server",server);
When i am trying to access this object i am getting following exception.
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalExcepti
on: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: ServerModule.ServerInt]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at RequstReplication.main(RequstReplication.java:27)
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested excep
tion is:
java.lang.ClassNotFoundException: ServerModule.ServerInt
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 4 more
Caused by: java.lang.ClassNotFoundException: ServerModule.ServerInt
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 5 more
I can access naming enumeration of registry and object bound to it.
by following program.I shows corect objects.
Context namingContext=new InitialContext();
NamingEnumeration<NameClassPair> e=namingContext.list("rmi:");
while(e.hasMore())
System.out.println(e.next().getName());
While when i start RMI server from simple java program i can access these objects from registry.
I am not getting what is problem problem.Is there any other way to send request?
Plese give quick response. -
Unable to start weblogic server using another user of same machine
Hi,
I have installed weblogic using my credentials.I am able to start it properly with my credentials.
I am getting error while starting weblogic server from another user of same machine having same admin rights.
It shows following details while starting server and process stops:
<22-Dec-2011 06:15:02 o'clock GMT> <Info> <Security> <BEA-090905> <Disabling C
ptoJ JCE Provider self-integrity check for better startup performance. To enable
this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true
>
<22-Dec-2011 06:15:02 o'clock GMT> <Info> <Security> <BEA-090906> <Changing th
default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To
enable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
Please advice.
Thanks and Regards:
PriyaCan you check the server log file for more details. The server log file is located in the <domain-home>/servers/<server-name>/logs directory.
There probably something wrong with the log rotation or something similar. Usually when certain files that are created during runtime belong
to a certain user, other users do not have rights or they must belong to the same group.
Also note that the messages are only info messages and are not really the cause. -
How can access MS Outlook Calender information from my Java application.
People schedule meeting with some data on regular basis.
I need to access the Exchange server from my Java application and get the meeting dates along with other data pertaining to meeting.I had the same problem, and I dont think (as far as my knowledge goes) there is any freeware that will enable Java to access Exchange server. But there are some commercial products that are available.
Chk this link as an example: http://www.compoze.com/products_hme_desc.html
good luck in the research
-kms -
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:
Maybe you are looking for
-
15" MBP (late 2011) vs 13" MBP (late 2013) - graphics
I have an older i7 15" macbook pro 2011, which was custom upgraded with 8GB RAM and a 240GB Mercury Extreme Pro 6G SSD. Sadly this has just suddenly suffered from a logic board crash. So im looking to upgrade to a newer models, but trying to detemrin
-
Customized Workspace Cannot open PDF forms anymore
Hello, I have customizaed my workspace with Flex Builder 3, Flex SDK 2 Hotfix 3. In previous months, everything is ok, and my workspace with IE 7.0 can open PDF forms inside processes. However, I do not know what is changed, my previous customized wo
-
HI I need a help on below scenario.PLZ guide me in this. Consider the scenario. You have iplanet webservers as a proxy .You have a Application servers at the end. You have 2 applications landing on weblogic.Webserver will serve the request to weblogi
-
Resource Injection in Web Tier (JSP and Servlets)
Hi All I was wondering whether someone will be kind enough enough to clear this up for me as it causing me some confusion. I am using OC4J 10.1.3.4 and Java 5. I have been reading the documentation on OC4J and at one point it says that OC4J does not
-
When opening an original shot raw file it opens in CS6 almost 5 times as large
Why is the file so large when I have not made any changes? 1..is there any thing that can reset to keep the original file size? I am using CS6 and Lightroom 4