Accessing loaclMBeanServer on ManagedServer
Hi,
Is it possible to access localMBeanServer using JMX( and not WebLogic's extension, MBeanHome), on a Managed Server?
I am only able to access the admin server using the usual JNDI lookup. How would I go about accessing the localMBeanServer?
Thanks
There is some documentation on accessing the mbean servers, not sure if
you've looked at that already.
For local access to the runtimeMBeanServer:
http://e-docs.bea.com/wls/docs100/jmx/accessWLS.html#RuntimeMBeanServerJNDIAccess
For remote access to mbean servers:
http://e-docs.bea.com/wls/docs100/jmx/accessWLS.html#wp1112969
Tony
Ram Sriharsha wrote:
Hi,
Is it possible to access localMBeanServer using JMX( and not WebLogic's extension, MBeanHome), on a Managed Server?
I am only able to access the admin server using the usual JNDI lookup. How would I go about accessing the localMBeanServer?
Thanks
Similar Messages
-
Starting managed server in MSI mode
Is it possible to access an application deployed on a managed server which is started in MSI mode(Admin server is stopped)??
Hi,
MSI mode just says that the Managed Server Can be started without the AdminServer Running. But the Application Serving functionality wise there is no difference. So even if your Managed Server is running on MSI mode ..it will serve the Application as it could server with Non-MSI mode.
So Yes, The Application can be accessed from the ManagedServer which is running in a MSI mode.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here) -
ManagedServer fails on integration domain
Folks,
I use weblogic platform 81sp2. I created only one server under a integration domain
and started the server and it is just fine and connection pools are running fine.
When I create admin server and managedserver combination, the managed server simply
crash with connection pool errors and it doesn't find the cgDatasource.Everything
looks same in config.xml.
I am in the position to do clustering for my client integration domain and please
help me to resolve this.
Please see the errors below.It says 'It can't find the bpmArchPool'.But It is
there as a target to managed server in config.xml file.
Thanks, Johnson
####<20-Apr-2004 5:08:20 o'clock PM EDT> <Error> <JDBC> <telus-un890sb0w> <cgServer2>
<main> <<WLS Kernel>> <> <BEA-001151> <Data Source "bpmArchDataSource" deployment
failed with the following error: DataSource(bpmArchDataSource) can't be created
with non-existent Pool (connection or multi) (bpmArchPool).> ####<20-Apr-2004
5:08:20 o'clock PM EDT> <Info> <JDBC> <telus-un890sb0w> <cgServer2> <main> <<WLS
Kernel>> <> <BEA-001156> <Stack trace associated with message 001151 follows:
weblogic.common.ResourceException: DataSource(bpmArchDataSource) can't be created
with non-existent Pool (connection or multi) (bpmArchPool) at weblogic.jdbc.common.internal.DataSourceManager.createDataSource(DataSourceManager.java:253)
at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:106)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:190)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:590)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:568)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:476)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557) at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525) at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946) at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7271)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1210)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:362)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359) at weblogic.Server.main(Server.java:32)
> ####<20-Apr-2004 5:08:20 o'clock PM EDT> <Info> <JMS> <telus-un890sb0w> <cgServer2>
<main> <<WLS Kernel>> <> <BEA-040108> <User connection factory "WLI-B2B System
Topic Factory" is started.> ####<20-Apr-2004 5:08:20 o'clock PM EDT> <Info> <JMS>
<telus-un890sb0w> <cgServer2> <main> <<WLS Kernel>> <> <BEA-040108> <User connection
factory "cgQueue" is started.>
####<20-Apr-2004 5:08:20 o'clock PM EDT> <Info> <WebLogicServer> <telus-un890sb0w>
<cgServer2> <main> <<WLS Kernel>> <> <BEA-000256> <Invoking com.bea.wli.init.BPMStartup.main(null)>
####<20-Apr-2004 5:08:20 o'clock PM EDT> <Error> <WLW> <telus-un890sb0w> <cgServer2>
<main> <<WLS Kernel>> <> <000000> <Failed to obtain connection to datasource=cgDataSource,
using generic DB properties> ####<20-Apr-2004 5:08:20 o'clock PM EDT> <Error>
<WLW> <telus-un890sb0w> <cgServer2> <main> <<WLS Kernel>> <> <000000> <Error in
startup class com.bea.wli.store.DocumentStoreSetup Method: init: java.lang.IllegalStateException:
Unable to start DocumentStore: com.bea.wli.store.DocumentStoreException: Could
not find SQL Document Store cgDataSource at com.bea.wli.store.DocumentStoreSetup.init(DocumentStoreSetup.java:93)
at com.bea.wli.store.DocumentStoreSetup.init(DocumentStoreSetup.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324) at com.bea.wli.init.BPMStartupShutdown.invoke(BPMStartupShutdown.java:324)
at com.bea.wli.init.BPMStartupShutdown.startup(BPMStartupShutdown.java:196) at
com.bea.wli.init.BPMStartup.main(BPMStartup.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.t3.srvr.StartupClassService.invokeMain(StartupClassService.java:229)
at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:160)
at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121) at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at
weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
at weblogic.t3.srvr.StartupClassService.addDeployment(StartupClassService.java:88)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:590)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:568)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:476)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557) at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525) at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946) at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7271)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1210)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:362)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359) at weblogic.Server.main(Server.java:32)
Setup a local replica for the user and set his lotus notes to use this. The script no longer errors on trying to open his inbox.
-
Keep on getting exception when trying to start ManagedServer wit h NodeManager in wls 7.0
hi all,
i am trying to start a managed server using nodeManager, but i keep on getting
following exception:
weblogic.nodemanager.NodeManagerException: [Could not execute command start for
server managedServer via the Node Manager - reason: [CommandInvoker: Failed to
send command: 'online to server 'managedServer' to NodeManager at host: 'localhost:5555'
with exception FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable
to negotiate an acceptable set of security parameters.. Please ensure that the
NodeManager is active on the target machine].]
at weblogic.nodemanager.NodeManagerRuntime.executeCommand(NodeManagerRuntime.java:472)
at weblogic.nodemanager.NodeManagerRuntime.start(NodeManagerRuntime.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy86.start(Unknown Source)
at weblogic.server.ServerLifeCycleRuntime.startServer(ServerLifeCycleRuntime.java:502)
at weblogic.server.ServerLifeCycleRuntime.access$0(ServerLifeCycleRuntime.java:471)
at weblogic.server.ServerLifeCycleRuntime$1.execute(ServerLifeCycleRuntime.java:423)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
here is my script for starting nodemanager
set JAVA_HOME=c:\bea\jdk131
set WL_HOME=c:\bea\weblogic700
set PATH=%WL_HOME%\server\bin;%JAVA_HOME%\bin;%PATH%
set CLASSPATH=.;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar
java -Djava.security.policy=C:\bea\weblogic700\server\lib\weblogic.policy weblogic.nodemanager.NodeManager
can anyone point me to the right direction for solving this problem?
in the adminserver console i have defined a machine for teh managedserver, and
nodemanager is supposed to run at localhost:5555 (and indeed it does, because
ihave started it successfully).
thanx in advance and regards
marcoHi
add this params to the nodemanager start script
-Dweblogic.nodemanager.KeyFile=${NODEMGR_HOME}/config/
demokey.pem
-Dweblogic.nodemanager.certificateFile=${NODEMGR_HOME}/config/democert.pem
-Dweblogic.security.SSL.ignoreHostname.Verification=true
you need to specify certs for nodemanager
make sure servers use the same certs..
Best regards
"Marco" <[email protected]> wrote:
>
hi all,
i am trying to start a managed server using nodeManager, but i keep
on getting
following exception:
weblogic.nodemanager.NodeManagerException: [Could not execute command
start for
server managedServer via the Node Manager - reason: [CommandInvoker:
Failed to
send command: 'online to server 'managedServer' to NodeManager at host:
'localhost:5555'
with exception FATAL Alert:HANDSHAKE_FAILURE - The handshake handler
was unable
to negotiate an acceptable set of security parameters.. Please ensure
that the
NodeManager is active on the target machine].]
at weblogic.nodemanager.NodeManagerRuntime.executeCommand(NodeManagerRuntime.java:472)
at weblogic.nodemanager.NodeManagerRuntime.start(NodeManagerRuntime.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy86.start(Unknown Source)
at weblogic.server.ServerLifeCycleRuntime.startServer(ServerLifeCycleRuntime.java:502)
at weblogic.server.ServerLifeCycleRuntime.access$0(ServerLifeCycleRuntime.java:471)
at weblogic.server.ServerLifeCycleRuntime$1.execute(ServerLifeCycleRuntime.java:423)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
here is my script for starting nodemanager
set JAVA_HOME=c:\bea\jdk131
set WL_HOME=c:\bea\weblogic700
set PATH=%WL_HOME%\server\bin;%JAVA_HOME%\bin;%PATH%
set CLASSPATH=.;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar
java -Djava.security.policy=C:\bea\weblogic700\server\lib\weblogic.policy
weblogic.nodemanager.NodeManager
can anyone point me to the right direction for solving this problem?
in the adminserver console i have defined a machine for teh managedserver,
and
nodemanager is supposed to run at localhost:5555 (and indeed it does,
because
ihave started it successfully).
thanx in advance and regards
marco -
Visaule Age -EJB- MS Access- help
It concerns the following: I have a cmp Entity bean written with the following CMP fields: personalNr(schluessel), name and first name. with test have I the problem. When I start the Persistent name server, wars I the following error:
[01.11.21 08:33:19:593 GMT+01:00] 7255 ManagedServer E Version : 3.5.0
[01.11.21 08:33:19:783 GMT+01:00] 7255 ManagedServer E Edition: advanced
[01.11.21 08:33:19:954 GMT+01:00] 7255 ManagedServer E Build date: Sat Jul 29 00:00:00 GMT+02:00 2000
[01.11.21 08:33:19:954 GMT+01:00] 7255 ManagedServer E Build number: q0030.12
[01.11.21 08:33:44:108 GMT+01:00] 7255 PortabilityLa W Unrecognized database or driver
"sun.jdbc.odbc.JdbcOdbcDriver"; using generic settings
[01.11.21 08:33:46:912 GMT+01:00] 7255 PortabilityLa W Unrecognized database or driver "ACCESS"; using generic
settings
[01.11.21 08:33:47:463 GMT+01:00] 7255 CreateNsTable W Failed to create tables java.sql.SQLException:
[Microsoft][ODBC Microsoft Access Driver] Syntaxfehler in CREATE TABLE-Anweisung.
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String, java.lang.String, int)
java.sql.SQLException sun.jdbc.odbc.JdbcOdbc.createSQLException(int, int, int)
void sun.jdbc.odbc.JdbcOdbc.standardError(short, int, int, int)
void sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(int, java.lang.String)
boolean sun.jdbc.odbc.JdbcOdbcStatement.execute(java.lang.String)
int sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(java.lang.String)
void com.ibm.ejs.cm.portability.PortabilityLayerImpl.createTable(java.sql.Connection, java.lang.String,
java.lang.String, java.lang.String)
void com.ibm.ejs.cm.pool.ConnectO.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.cm.proxy.ConnectionProxy.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(javax.sql.DataSource, java.lang.String, boolean)
javax.naming.Context com.ibm.ejs.ns.CosNaming.NameServer.init(org.omg.CORBA.ORB, boolean,
javax.sql.DataSource, java.lang.String, boolean, boolean)
void com.ibm.ejs.sm.server.ManagedServer.initializeNameService(com.ibm.ejs.sm.server.RuntimeConfig)
void com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(com.ibm.ejs.sm.server.RuntimeConfig)
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
boolean com.ibm.ivj.control.node.NameServerRunner.startServer()
void com.ibm.ivj.control.node.NameServerRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])
[01.11.21 08:33:47:603 GMT+01:00] 7255 NameServer E Initializing name service tables failed
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntaxfehler in CREATE TABLE-Anweisung.
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String, java.lang.String, int)
java.sql.SQLException sun.jdbc.odbc.JdbcOdbc.createSQLException(int, int, int)
void sun.jdbc.odbc.JdbcOdbc.standardError(short, int, int, int)
void sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(int, java.lang.String)
boolean sun.jdbc.odbc.JdbcOdbcStatement.execute(java.lang.String)
int sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(java.lang.String)
void com.ibm.ejs.cm.portability.PortabilityLayerImpl.createTable(java.sql.Connection, java.lang.String,
java.lang.String, java.lang.String)
void com.ibm.ejs.cm.pool.ConnectO.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.cm.proxy.ConnectionProxy.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(javax.sql.DataSource, java.lang.String, boolean)
javax.naming.Context com.ibm.ejs.ns.CosNaming.NameServer.init(org.omg.CORBA.ORB, boolean,
javax.sql.DataSource, java.lang.String, boolean, boolean)
void com.ibm.ejs.sm.server.ManagedServer.initializeNameService(com.ibm.ejs.sm.server.RuntimeConfig)
void com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(com.ibm.ejs.sm.server.RuntimeConfig)
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
boolean com.ibm.ivj.control.node.NameServerRunner.startServer()
void com.ibm.ivj.control.node.NameServerRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])
[01.11.21 08:33:48:955 GMT+01:00] 7255 NSServantMana E registering servant: /
[01.11.21 08:33:49:556 GMT+01:00] 7255 NameServer E Starting bootstrap server on port 900
[01.11.21 08:33:49:596 GMT+01:00] 7255 NameServer E Bootstrap server is listening
[01.11.21 08:33:51:970 GMT+01:00] aed BootstrapRequ E operation: get
[01.11.21 08:33:52:560 GMT+01:00] 7874 DrAdminServer A DrAdmin verf�gbar an Port 1.954
[01.11.21 08:34:10:506 GMT+01:00] 7255 CNInitialCont E Properties file not found
[01.11.21 08:34:10:516 GMT+01:00] 7255 CNInitialCont E using runtime orb
[01.11.21 08:34:10:526 GMT+01:00] 7255 CNInitialCont E Using ORB's default bootstrap server
[01.11.21 08:34:10:526 GMT+01:00] 1803 BootstrapRequ E operation: get
[01.11.21 08:34:15:654 GMT+01:00] 7255 CNInitialCont E Properties file not found
[01.11.21 08:34:15:664 GMT+01:00] 7255 CNInitialCont E using runtime orb
[01.11.21 08:34:15:664 GMT+01:00] 7255 CNInitialCont E Using ORB's default bootstrap server
com.ibm.ejs.EJSException: ; nested exception is:
java.rmi.RemoteException: jta/ JNDI subcontext not available; nested exception is:
javax.naming.NameAlreadyBoundException
java.rmi.RemoteException: jta/ JNDI subcontext not available; nested exception is:
javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
java.lang.Throwable()
java.lang.Exception()
javax.naming.NamingException()
javax.naming.NameAlreadyBoundException()
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.doCreateSubcontext(org.omg.CosNaming.NameComponent
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.createSubcontext(java.lang.String)
javax.naming.Context javax.naming.InitialContext.createSubcontext(java.lang.String)
void com.ibm.ejs.sm.server.ManagedServer.exportUserTx()
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
boolean com.ibm.ivj.control.node.NameServerRunner.startServer()
void com.ibm.ivj.control.node.NameServerRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])
Der Persistent Name Server kann nicht gestartet werden.
com.ibm.ejs.EJSException: ; nested exception is:
java.rmi.RemoteException: jta/ JNDI subcontext not available; nested exception is:
javax.naming.NameAlreadyBoundException
java.rmi.RemoteException: jta/ JNDI subcontext not available; nested exception is:
javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
java.lang.Throwable()
java.lang.Exception()
javax.naming.NamingException()
javax.naming.NameAlreadyBoundException()
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.doCreateSubcontext(org.omg.CosNaming.NameComponent
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.createSubcontext(java.lang.String)
javax.naming.Context javax.naming.InitialContext.createSubcontext(java.lang.String)
void com.ibm.ejs.sm.server.ManagedServer.exportUserTx()
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
boolean com.ibm.ivj.control.node.NameServerRunner.startServer()
void com.ibm.ivj.control.node.NameServerRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])
can they me help thank youDon't mix up deutsches MS Access mit english java :-). Seriously - I assume you are trying to create a table, and this does not work. So, could you pls. provide the CREATE TABLE command ?
-
WLS: Several ManagedServer without clustering and same activities
Hi all,
I have a request for special solution for several ManagedServer without clustering and same activities (e.g. SOA or OSB).
In classic case, we have for example 1 AdminServer + 1 ManagedServer (SOA, or OSB). If we want to increase number of SOA-Managedserver, then we add other managed server in WLS-cluster.
In this case, we want to have several "Independent" ManagedServer with different port number and without cluaster but in same domain.
In addition, because we don't want to impact any project in one managed server to other managed server, we need to define different URL:ports for administration: For example: OSB has following URL:
http://localhost:7001/sbconsole
Is it possible to define other ports for other OSB-managed server? e.g. http://localhost:7003/sbconsole, http://localhost:7004/sbconsole
I would like to know, if any experience is available regarding this matter.
Thanks inadvance,
MohHi Moh
1. There are few things that should be clear about the Weblogic Domain and Weblogic Cluster Architecture.
2. Any Weblogic Domain whether its Clustered or Non Clustered will have ONLY ONE Single AdminServer. You CANNOT have more than one AdminServer. Now for Cluster, you can have "n" number of Managed Servers and "n" number of Clusters. Each Cluster is just like a logical grouping of some managed servers. BUT main thing is, if you want to have High Availability architecture to support load balancing, fail over etc, you should and must have a Cluster with managed servers. And expose this Clustered Weblogic Servers into some sort of load balancer like Apace WebServer. Then expose single Apache Web Server URL (host, port + app url) to outside world. General practice is for HA architecture, you do not expose individual managed servers.
3. So coming to your requirement, you can have "n" number of managed servers. And each managed server can deploy their own specific application. And these managed servers naturally will have different port numbers, if they are all on the same physical box. If they are on different boxes, there is no clash of port numbers. Then in front end apache web server, check for each in coming request url and according direct that to appropriate backend weblogic server. This is good but you will NOT get any HA features going in this way. Instead of exposing individual managed servers, I would recommend just create a cluster for each one of them. And expose cluster. For now each cluster can have only 1 manged severs. Later on you can add more also. This gives you HA features. Something like this for example:
Domain = Single Domain
AdminServer = 1 AdminServer only. Not possible more then one.
ManagedServers = 4 (MS1, MS2, MS3, MS4)
Cluster1 = MS1, MS2 -> Deploy App1
Cluster2 = MS3 -> Deploy App2
Cluster3 = MS4 -> Deploy App3
Have a SINGLE Apache WebServer or any other Hard ware load balancer (Apache is free and widely used). Expose this host, port to outside world or actual users (outside or inside). In Apache httpd.conf file, configure like 3 settings, to check for incoming urls and redirect to back end cluster 1 or 2 or 3. Refer docs for full details.
Requests coming to Apache WebServer can use incoming url pattern and pass the request to appropriate backend cluster
http://apachehost:apachport/myApp1 -> Redirect to Cluster1
http://apachehost:apachport/myApp2 -> Redirect to Cluster2
http://apachehost:apachport/myApp3 -> Redirect to Cluster3
Now this gives you full flexibility to add or remove more servers from any of above Clusters. Even if you have single managed server, try to put that into cluster and expose the cluster.
4. Now comes the Adminstration applications like console, sbconsole, em (Enterprise Manager for SOA), cs (Content Server for ECM) etc. All these are deployed only to AdminServer and it makes sense also. Say in above architecture only AdminServer can have visibility to all the managed servers and clusters. Each managed server may not know about the others. Anyhow, the point is, for any Domain you will have only 1 AdminServer and most of the adminstration applications are deployed only to AdminServer. This means literally you will have just one url to control all the applications across all the clusters like http://adminhost:adminport/sbconsole. I am not familiar with sbconole, but for em I am sure its only targetted to admin server. Now, if you manually target these apps to cluster, not sure if this works also. Mostly it may not.
Also, admin urls are not exposed to any users. Only Adminstrators can access them. You can refine some rules like have very few admins with full privileges. Some can do only deployments, some can do only monitoring (read only access) etc.
Thanks
Ravi Jegga -
Why self-defined access sequences of free goods can not work?
Hi gurus,
I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
when i used the standard access sequences ,it is OK .
Can anybody tell me why?
thanks in advanceDear Sandy,
Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
Make sure that these fields are flowing in your sales order.
I hope this will help you,
Regards,
Murali. -
Partner application access to portal login info
How can an SSO partner application (Java) tell whether or not a user has logged in to Portal?
I need to log activity in a public application servlet, so I'd like to log the user as PUBLIC if not logged in or as their actual userid.
I don't seem to have access to this info until the user has visited a secure part of the app.
Any pointers would be appreciated.
Thanks
RobDIY answer ...
The cludge I used to get round this was ...
Make a PL/SQL item which displays a Login or Logout link as appropriate, based on the current userid from portal.wwctx_api.get_user.
The login link goes to a secure portal page called FORCE_LOGIN, passing a URL parameter called nextPageURL which contains the URL of the next page to show after the login is complete. You can use portal.wwpro_api_parameters.get_value( '_pageid', 'a'); to help build the current page URL if you want to retun to the current page.
The FOIRCE_LOGIN page contains a PL/SQL item which builds an IFRAME whos src is a URL to my app servlet ForceLoginServlet, passing on the nextPageURL parameter. Use portal.wwpro_api_parameters.get_value( 'nextPageURL', 'a'); to help with that.
The ForceLoginServlet is a secure servlet (set up in web.xml) so that forces a silent authentication to my app. All the servlet does is display HTML to redirect back to the URL in nextPageURL.
Horrible! But it does the job.
Anyone who know a better way of doing this, please tell me.
Rob -
How to allow access to web service running under ApplicationPoolIdentity
Hi All,
I have a WCF web service hosted in IIS 7 (or maybe 7.5, whichever comes with Windows server 2008 R2) using DefaultAppPool running under ApplicationPoolIdentity per Microsoft's recommendation. The web service needs to call a stored procedure to insert data
to a db. The web server is on a different VM than the database server. The db server is running SQL 2008 R2. Both VMs run Windows server 2008 R2.
When the web service tries to connect to db, it encounters this exception:
Exception in InsertToDb()System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
Here's the connection string in web.config:
Application Name=somewebservice;Server=somewebserver;Integrated Security=SSPI;Database=somedatabase;Connection Timeout=60"
How should I configure SQL security to make this work?
Thanks in advanced.Thanks for the link Dan. Maybe I'm the one who cause the confusion :)
If I understand you(and Erland) correctly, you suggest using a custom, domain account for application pool identity. However, if we do that, our IT will need to maintain those accounts, and they don't want that. So I'm choosing a built-in account called
ApplicationPoolIdentity as the application pool identity, but it's not working. Network Service, on the other hand, works, but my boss wants us to follow MS's best practice.
What's puzzling is that according to this: http://learn.iis.net/page.aspx/624/application-pool-identities/, both Network Service and ApplicationPoolIdentity uses machine account to access network resource (like db in this case), but in my case, Network Service
works, but not ApplicationPoolIdentity.
Hallo Stephen,
with respect - it seems to me that only idiots are working at your IT ;)... It is absolutely useful to work with "service accounts" created within the domain. That's the only way to manage and control accounts!
If you want to "pass through" the identity of the web user (SSO) you have to check whether the app pool is set to "allow impersonate". As far as I understand the ApplicationPoolIdentity-function the app pool will create a unique user named as the service.
I assume that will not work with the connection to the sql server because this user is unknown.
Local Service will not work because it's restriction is located to the local machine.
Network Service will work because access to network resources will be available.
So my recommendation is to use a dedicated service account or impersonation:
http://msdn.microsoft.com/en-us/library/xh507fc5.aspx
Uwe Ricken
MCITP Database Administrator 2005
MCITP Database Administrator 2008
MCITS Microsoft SQL Server 2008, Database Development
db Berater GmbH
http://www-db-berater.de -
How to let SAP user use SSO to access Application in DMZ?
Hi All,
Our J2EE application is running on a system in DMZ which can not be connected with LDAP. So I am wondering if it's possible to let SAP user use SSO to access our application.
After talking with my colleague I think the only way is to import SSO public key to our WebAS and create user in UME and then assign user to the corresponding public key, but anybody know where to download SSP verification file or is it allowed to download and import into another system at all?
Regards,
BinHi,
Take a look at this example, it uses property nodes to select tha
active plot and then changes the color of that plot.
If you want to make the number of plots dynamic you could use a for
loop and an array of color boxes.
I hope this helps.
Regards,
Juan Carlos
N.I.
Attachments:
Changing_plot_color.vi 38 KB -
How do I access the web utility with model cisco sf302-08p ?
Hi,i have a problem with the model Cisco SB SF302-08PP Switch , i connect a cable rj45 to my pc and configure the adapter local area connection (ip address:192.168.1.252), the LEDs blink green, and go to the address bar and get the IP by default, which according to the manual is 192.168.1.254 and the result is: page not found. Is there any way to change the web utility? How do I access the web utility?
restore the switch by holding more than 30 seconds and try accessing with ip 192.168.1.254. username and password is "cisco". before change your base ip to 192.168.1.2-253.try to ping and check the connectivity
-
MS ACCESS, NULL, and '%'
I am using a prepared statement to query my access database which contains personal data first name, last name, address, city, state, etc.... I allow the user to search the database by any of these fields (or any combination of them) by making the default values for any empty fields '%'. Here's my select statement.
stmt =conn.prepareStatement("SELECT * FROM Data1 WHERE first_name LIKE ? AND last_name LIKE ? AND city LIKE ? ....");
stmt.setString(1, firstNameField.getText()+"%");
stmt.setString(2, lastNameField.getText()+"%");
stmt.setString(3, cityField.getText()+"%");
This worked but didn't return a record if ANY of their values are NULL. So I changed my select statement to allow for NULL values.
stmt =conn.prepareStatement("SELECT * FROM Data1 WHERE (first_name LIKE ? OR first_name IS NULL) AND (last_name LIKE ? OR last_name IS NULL) AND (city LIKE ? OR city IS NULL) ....");
stmt.setString(1, firstNameField.getText()+"%");
stmt.setString(2, lastNameField.getText()+"%");
stmt.setString(3, cityField.getText()+"%");
This fixed that problem, but now it ALWAYS returns the records with NULL fields. I want it to only match NULL fields if the coressponding JTextField is left blank. Can anyone tell me a good way to do this?How can I create it dynamically and still keep the
speed of a prepared statement??Unless you are doing block inserts in a loop you are probably not going to see any speed improvement anyways.
But as I said you can simply create all the combinations and then use an array to keep track of them. -
Sharepoint foundation 2010 externel https access problems
I have a very strange problem with my sharepoint foundation 2010 site.
I have a site which is accessible from outside on https (we have a valid certificate). I configured IIS for http and https.
Also I configured internal and externel access for this site on sharepoint.
But sometimes, the site is not accessible from outside on https with (externe.site.fr), BUT it will be accessible with public ip !!!
And also accessible from inside. (with interne.intranet.site.fr)
Any Idea ?
thanksHi,
According to your post, my understanding is that your site is not accessible from outside using external host name with https sometimes.
As your site can be accessible with public IP, however it can’t be accessible from outside using external host name with https sometimes, the issue could be caused by the gateway server in your environment.
I suggest that you need to check the gateway server configuration.
For more information, you can refer to:
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/12/05/how-to-set-up-microsoft-forefront-unified-access-gateway-environment-for-sharepoint-2013.aspx
http://nhutcmos.wordpress.com/2013/07/26/configure-ssl-certificate-for-sharepoint-external-https-access/
http://sharepointdotnetwiki.iblogger.org/2009/12/dns-setup-in-sharepoint/
http://underthehood.ironworks.com/2010/06/making-a-sharepoint-2010-site-externally-available-alternate-access-mappings-host-header-bindings.html
Best Regards,
Yumi Fu -
When I try to login to the website of my bank, I get the following error message:
403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.
I have a new MacBook Air with OS Yosemite installed.
What is the problem and how can I solve it?Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
Back up all data.
Double-click anywhere in the line below on this page to select it:
com.apple.idms.appleid.prd
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
Credit for this idea to Christian Braukmueller of SAP. -
When i login with microsoft account cannot access with administrative share c$
i have a problem when i login to windows with microsoft account cannot access any network computer with administrative sharing c$,d$ with windows 8.1
but when i login with local account can access
and some people tell me create key in regedit t fix it
after enter user name and password show this error
and i apply your instruction and not fix until now
note:
my Machine windows 8.1 if another machine in network windows 7 can access a hidden share if machine in network windows 8.1 show this message in image 2
but if i login with local user can i access all machine hidden share network windows 7 and 8.1yes this computer i want to access name poland2-work and have two users
first :administrator
second : poland 2
Maybe you are looking for
-
Communication problem by skype after upgrade tout 4.4.2
After up grade tout Android 4.4.2 i can't US skype thé tablet reboot when the communication is etabli.
-
Wsdl connection not refreshed in QA and Prod
We have developed a offline interactive adobe from based on a WSDL Data connection. The form works fine in development. We moved the form to QA system. But in the XML source code in the form which is based on the WSDL still contains the Development h
-
Dynamic Images in Crystal 8.5
I'm trying to get images displayed dynamically in a Crystal 8.5 report. I have the image data loaded into a recordset and am passing it into the report via a blob field. It is working correctly for a .bmp image file, but when I try to use a .jpg o
-
How can i connect macbook 5.1 to mac mini (2012)?
I would like to be able to use the macbook as an external drive to burn cds from itunes. I set up remote disc, and the mac mini will find and ask permission to use my drive, but the macbook drive never responds.
-
ITunes 10.7 won't download in app or from website.
Tried uninstalling all iTunes apps, still can't download. Clicking the option immediately goes to 'thanks for downloading' - searching PC (including hidden files) for itunessetup finds nothing. Windows Vista SP2. Appreciate suggestions...