Remote start petstore using NodeManager
Hi,
I am using weblogic 6.1 and remotely deployed pet store application on a different
machine using NodeManager. When I try to start the petStoreServer from local admin
console, I got following error:
Could not create pool connection. The DBMS driver exception was:
SQL Exception: Database 'petStore' not found.
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.n(Unknown Source)
at c8e.k.q.<init>(Unknown Source)
at c8e._b.e.<init>(Unknown Source)
at c8e._b.c.getNewLocalConnection(Unknown Source)
at c8e.k.v.connect(Unknown Source)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy0.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy47.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
Any hint?
Thanks,
Cathy
Covasoft, Inc.
1250 S. Capital of Texas Hwy.
Bldg. 1, Suite 240
Austin, Texas 78746
Office: 512.732.7860
Fax: 512.732.7832
Just add the property (-Dcloudscape....) as an extra argument to the jvm
startup parameters in the remote start tab of the remote server. That should
work as hte nodemanager just uses what settings are there in hte remote
start to create a server instance.
-Sabha
"Cathy" <[email protected]> wrote in message
news:[email protected]...
>
> Thanks for the quick reply. The directory for the petStore database is
there on
> the remote machine. I can't deloy datasource to the target server, since
the connection
> pool is not created yet due to the database error.
>
> The problem I found was that the remote server I started was not the one
from
> remote startPetStore.cmd, since the properties from that script is not
overrided
> or picked up ( including the cloudscape.system.home). I set up the remote
server
> from the admin server console "remote start". Ant hint to make sure the
admin
> server remote start use the correct script on the remote machine?
>
> Thanks,
> Cathy
>
>
>
> "Anand Byrappagari" <[email protected]> wrote:
> >Cathy,
> >
> > If you
> >have -Dcloudscape.system.home=<BEA_HOME>\samples\eval\cloudscape\data
> >set
> >then is there a directory called
> ><BEA_HOME>\samples\eval\cloudscape\data\petStore present on the remote
> >server machine? If not you have not created the petStore database.
> >
> > The only other thing I can think of is that the connection
> >pool/datasource are not targeted to the remote server but these errors
> >usually throw a different exception.
> >
> >-- Anand
> >
> >
> >"Cathy" <[email protected]> wrote in message
> >news:[email protected]...
> >>
> >> Thanks for the reply. Actually, I have set this property for the remote
> >server
> >> with the right path. But I still got the same error. Any other hints?
> >>
> >> Thanks,
> >> Cathy
> >>
> >> "Sabha" <[email protected]> wrote:
> >> >Make sure you have set the cloudscape home directory in the startup
> >script:
> >> >
> >> >-Dcloudscape.system.home=<BEA_HOME>\samples\eval\cloudscape\data
> >> >
> >> >-Sabha
> >> >
> >> >
> >> >"Cathy" <[email protected]> wrote in message
> >> >news:[email protected]...
> >> >>
> >> >> Hi,
> >> >>
> >> >> I am using weblogic 6.1 and remotely deployed pet store application
> >> >on a
> >> >different
> >> >> machine using NodeManager. When I try to start the petStoreServer
> >from
> >> >local admin
> >> >> console, I got following error:
> >> >>
> >> >> Could not create pool connection. The DBMS driver exception was:
> >> >> SQL Exception: Database 'petStore' not found.
> >> >> at c8e.k.j.l_(Unknown Source)
> >> >> at c8e.k.j.l_(Unknown Source)
> >> >> at c8e.k.j.n(Unknown Source)
> >> >> at c8e.k.q.<init>(Unknown Source)
> >> >> at c8e._b.e.<init>(Unknown Source)
> >> >> at c8e._b.c.getNewLocalConnection(Unknown Source)
> >> >> at c8e.k.v.connect(Unknown Source)
> >> >> at
> >>
>
>>weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
o
> >n
> >> >EnvFactory.java:193)
> >> >> at
> >>
>
>>weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
o
> >n
> >> >EnvFactory.java:134)
> >> >> at
> >>
>
>>weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
> >j
> >> >ava:698)
> >> >> at
> >>
>
>>weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:2
8
> >2
> >> >)
> >> >> at
> >>
>
>>weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:6
2
> >3
> >> >)
> >> >> at
weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
> >> >> at
> >>
>
>>weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploymen
t
> >T
> >> >arget.java:329)
> >> >> at
> >>
>
>>weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployme
n
> >t
> >> >Target.java:279)
> >> >> at
> >>
>
>>weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments
> >D
> >> >eploymentTarget.java:233)
> >> >> at
> >>
>
>>weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deplo
y
> >m
> >> >entTarget.java:193)
> >> >> at java.lang.reflect.Method.invoke(Native Method)
> >> >> at
> >>
>
>>weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanIm
p
> >l
> >> >..java:636)
> >> >> at
> >>
>
>>weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java
> >6
> >> >21)
> >> >> at
> >>
>
>>weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMB
e
> >a
> >> >nImpl.java:359)
> >> >> at
> >>
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
> >> >> at
> >>
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> >> >> at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
> >> >> at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
> >> >> at $Proxy0.updateDeployments(Unknown Source)
> >> >> at
> >>
>
>>weblogic.management.configuration.ServerMBean_CachingStub.updateDeployment
s
> >(
> >> >ServerMBean_CachingStub.java:2761)
> >> >> at
> >>
>
>>weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Ap
p
> >l
> >> >icationManager.java:370)
> >> >> at
> >>
>
>>weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMana
g
> >e
> >> >r.java:160)
> >> >> at java.lang.reflect.Method.invoke(Native Method)
> >> >> at
> >>
>
>>weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanIm
p
> >l
> >> >..java:636)
> >> >> at
> >>
>
>>weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java
> >6
> >> >21)
> >> >> at
> >>
>
>>weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMB
e
> >a
> >> >nImpl.java:359)
> >> >> at
> >>
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
> >> >> at
> >>
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> >> >> at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
> >> >> at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
> >> >> at $Proxy47.start(Unknown Source)
> >> >> at
> >>
>
>>weblogic.management.configuration.ApplicationManagerMBean_CachingStub.star
t
> >(
> >> >ApplicationManagerMBean_CachingStub.java:480)
> >> >> at
weblogic.management.Admin.startApplicationManager(Admin.java:1180)
> >> >> at weblogic.management.Admin.finish(Admin.java:590)
> >> >> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
> >> >> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
> >> >>
> >> >> Any hint?
> >> >>
> >> >> Thanks,
> >> >> Cathy
> >> >>
> >> >> Covasoft, Inc.
> >> >> 1250 S. Capital of Texas Hwy.
> >> >> Bldg. 1, Suite 240
> >> >> Austin, Texas 78746
> >> >> Office: 512.732.7860
> >> >> Fax: 512.732.7832
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >
> >
>
Similar Messages
-
Remote start arguments and nodemanager
Hi,
if we provide the value '-ms96m -mx128m' for 'Arguments' under <domain>-Servers-<server>-Configuration-Remote
Start we get the following error:
<BaseProcessControl: saving process id of Weblogic Managed server 'condor-1',
pid: 16388>
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
Child exited
Without any arguments the server starts with the heap-configuration of the nodemanager.
How do we have to provide a different setting?
Btw. we had to change the startNodeManager.sh-script to get things running. Without
exporting CLASSPATH and PATH we were unable to start java with an ld.so.1-error.
Regards,
Christian
WLS 6.1sp1, Solaris 2.6Hi,
if we provide the value '-ms96m -mx128m' for 'Arguments' under <domain>-Servers-<server>-Configuration-Remote
Start we get the following error:
<BaseProcessControl: saving process id of Weblogic Managed server 'condor-1',
pid: 16388>
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified
Child exited
Without any arguments the server starts with the heap-configuration of the nodemanager.
How do we have to provide a different setting?
Btw. we had to change the startNodeManager.sh-script to get things running. Without
exporting CLASSPATH and PATH we were unable to start java with an ld.so.1-error.
Regards,
Christian
WLS 6.1sp1, Solaris 2.6 -
Problem starting petstore using SP6
I am having problems in starting the pet store application in Weblogic. I am using service pack 6. I have made all the changes required to run the application. But I am getting the following error. Please help me in identifying the problem.
<EJB> Could not deploy: 'f:/weblogic/petStore/estoreEjb_WL.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR file f:
\weblogic\petStore\estoreEjb_WL.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment f:/weblogi
c/petStore/estoreEjb_WL.jar from f:\weblogic\petStore\estoreEjb_WL.jar; nested e
xception is:
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method get
ClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found]
weblogic.ejb.common.DeploymentException: Problem creating deployment f:/weblogic
/petStore/estoreEjb_WL.jar from f:\weblogic\petStore\estoreEjb_WL.jar; nested ex
ception is:
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method get
ClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method getClassLoa
dNotify()Lweblogic/boot/ClassLoadNotify; not found
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:140)
at weblogic.utils.jars.JarLoader.<init>(JarLoader.java:42)
at weblogic.utils.jars.JarLoader.<init>(JarLoader.java:50)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:83)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
, Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
--------------- nested within: ------------------
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment f:/weblogi
c/petStore/estoreEjb_WL.jar from f:\weblogic\petStore\estoreEjb_WL.jar; nested e
xception is:
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method get
ClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found]
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:313)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
<EJB> 0 EJB jar files loaded, containing
0 EJBs
I> <EJB> 0 deployed, 0 failed to deploy.
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: weblog
ic.boot.ServerClassLoader: method getClassLoadNotify()Lweblogic/boot/ClassLoadNo
tify; not found
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:140)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:112)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:104)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>
(RecursiveReloadOnModifyClassLoader.java:53)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Single
Slave.<init>(RecursiveReloadOnModifyClassLoader.java:149)
at weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletCo
ntextImpl.java:1421)
at weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImp
l.java:519)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Comp
iled Code)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method getClassLoa
dNotify()Lweblogic/boot/ClassLoadNotify; not found
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:140)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:112)
at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoa
der.java:104)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>
(RecursiveReloadOnModifyClassLoader.java:53)
at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Single
Slave.<init>(RecursiveReloadOnModifyClassLoader.java:149)
at weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletCo
ntextImpl.java:1421)
at weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImp
l.java:519)
at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Comp
iled Code)
at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)So for the selinux it looks to be off
[bsdtux@stephens-laptop ~]$ cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[bsdtux@stephens-laptop ~]$ Here is my Path
[bsdtux@stephens-laptop ~]$ echo $PATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/bsdtux/bin
[bsdtux@stephens-laptop ~]$ Here is the output from which statement
[bsdtux@stephens-laptop ~]$ which sqlplus
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus
[bsdtux@stephens-laptop ~]$ and here is the output from the id
[bsdtux@stephens-laptop ~]$ id
uid=500(bsdtux) gid=500(bsdtux) groups=500(bsdtux),501(admin),502(dba)
[bsdtux@stephens-laptop ~]$ and here is the output from the sqlplus/mseg directory
[bsdtux@stephens-laptop ~]$ ls -al ${ORACLE_HOME}/sqlplus/mesg/total 8
drwxr-xr-x 2 oracle dba 4096 Mar 2 23:16 .
drwxr-xr-x 3 oracle dba 4096 Mar 2 23:16 ..
[bsdtux@stephens-laptop ~]$ thanks for the help so far guys. -
WLS http access logs not written to when starting WLS instance using nodemanager
When starting managed WLS instances using node manager the HTTP access logs are
not written to (the WLS log in the same directory is written to). All other functionality
of the WLS instances seem to operate just fine when started using node manager.
When we start the same managed WLS instances using a start-up script the HTTP
access logs are written to.
===
How can we get HTTP access logs to be written to when starting a WLS instance
using node manager?I think I know the answer to this one!
I got bitten by the same bug (at least I think it is a bug). Check the location
specified for the HTTP-access log for your server instance. It is probably a relative
location, right?
According to the docs, relative paths should start from the Root Directory (see
your Remote Start config), but it seems like the BEA-programmers forgot to retrieve
the Root Directory and instead blindly writes to the process' current working
directory (CWD).
And when started by the Node Managet, the CWD = WL_HOME/common/nodemanager.
If you are as paronoid as I am (and you should be too), that directory should
not be writeable by anyone. Because my BEA installation was owned by 'bin', and
the processes run by 'beawls', I got an error message in my NM-logs pointing to
the problem. In your case, you are probably running NM as a user that has write-access
to your NM-home, and all your missing HTTP-access logs are deep, down there.
Jan Bruun Andersen -
Remotely starting the CMS server using a SSH script in a Unix environment.
Is it possible to remotely start a CMS server using a shell script which starts an SSH session and runs the startservers command asin the command below:
ssh -o ConnectionAttempts=2 -o ConnectTimeout=10 -l boadmin huxd0226 '/opt/BO/boxir2/bobje/startservers'
The command securely logs into the server (huxd0226) and runs the command described in single quotes.
the CMS server actually appears to start but then dies inexplicably and displays no errors in the trace logs. The full log file is displayed below:-
Timestamp ProcessID ThreadID Message
Thu Sep 18 10:59:05 2008 913548 1 (wireobinit.cpp:97): trace messa
ge: Creating the shared CWireObject::PropertyNameMap
Thu Sep 18 10:59:05 2008 913548 1 (wireobinit.cpp:119): trace mess
age: Setting static property map
Thu Sep 18 10:59:05 2008 913548 1 (wireobinit.cpp:126): trace mess
age: CWireObject::InitializeStaticPropertyMap() - reference count: 1
Thu Sep 18 10:59:05 2008 913548 1 Log: level=3 cat=1 msg=35100 p=C
entral Management Server started
Thu Sep 18 10:59:05 2008 913548 1 trace message: SIServerControlle
r::run: Before initialize
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:416): trace messag
e: SUNIXDaemon::init: starting
Thu Sep 18 10:59:05 2008 913548 1 trace message: SUNIXDaemon::init
: redirecting stdio to /dev/null
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:209): trace messag
e: installing fg terminiation handler
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:220): trace messag
e: installing abnormal sys handler
Thu Sep 18 10:59:05 2008 913548 1 (sidaemon.cpp:506): trace messag
e: SUNIXDaemon::init: finished
Thu Sep 18 10:59:12 2008 913548 1 trace message: GetClockSequenceU
pdater: Getting clock sequence updater
Thu Sep 18 10:59:13 2008 913548 1 trace message: SSimpleBuffer::lo
adFromFile: calling mmap(): fileName[/opt/BO/boxir2/bobje/enterprise115/aix_rs60
00/sqlrule.llr], lFileLength47132, fd10
Thu Sep 18 10:59:13 2008 913548 1 trace message: SSimpleBuffer::lo
adFromFile: calling mmap(): fileName[/opt/BO/boxir2/bobje/enterprise115/aix_rs60
00/sqlrule.dfa], lFileLength26824, fd10
Thu Sep 18 10:59:14 2008 913548 1 trace message: Loading: database
subsystem: db2databasesubsystem
This is exactly the same as a normal manual startup of the CMS server except it dies at the loading of the db2databasesubsystem section.
Business Objects is patched to Fix Pack 3.6 and is clustered in a HACMP environment. It is a requirement that when the DB2 database fails, shortly after restarting it can automatically start the Business Objects services remotely.
SSH will work if the command is entered manually from within a secured session, but it is only when automated that the failure occurs. Does anyone have an idea on why this is happening and whether it is in fact possible ?we're going to run into deep offtopic if we continue that line ))
But I believe there is a big push to get the forum format actualy working this time. -
Start Admin Server using NodeManager without 'boot.properties'
Hi All,
I am trying to stat Admin Server using nodemanager through below code.
public static void main(String args[]) {
try{
System.out.println("Starting...");
InteractiveInterpreter interpreter = new WLSTInterpreter();
interpreter.exec("nmConnect('weblogic', 'weblogic123', '10.0.0.100', '5556', 'domain1','D:/oracle/MiddleWare/user_projects/domains/domain1','ssl')");
interpreter.exec("nmServerStatus('AdminServer')");
interpreter.exec("nmStart('AdminServer')");
interpreter.exec("nmDisconnect()");
System.out.println("End.");
}catch(Exception ex){
System.out.println("Hello...");
ex.printStackTrace();
}Everything is working fine but we need a property file 'boot.properties' under location 'Bea Home/user_projects/domain/domain1/servers/AdminServer/data/nodemanager' having username and password.
Please let me know if there is any way to start Admin Server using nodemanager without using 'boot.properties' file.
Is there any way to provide username and password directly to 'nmStart()' method.
Please let me know...
Edited by: Rajesh Panchal on Jun 14, 2011 1:56 AMHi Rajesh,
Maybe you are looking for something like:
wls:/nm/IDMDomain> pr=makePropertiesObject("username=weblogic;password=weblogic0");
wls:/nm/IDMDomain> nmStart('AdminServer',props=pr);
Then, in your source code it should be something like:
interpreter.exec("pr=makePropertiesObject('username=weblogic;password=weblogic0')");
interpreter.exec("nmStart('AdminServer',props=pr)");
Hope it works.
-Cris -
NodeManager Remote Start and the -classic flag
I've defined a Server and configured Remote Start configuration settings. However, I have need to pass the -classic flag in the arguments. This flag prevents the process from starting. Error follows:
Unrecognized option: -classic -Xmx256m -Dweblogic.Domain=i2Domain -Dweblogic.ProductionModeEnabled=true -Dweblogic.management.discover=false
Could not create the Java virtual machine.This has been fixed after WLS 61 SP2 went out.
Either you can wait until SP3 or contact support for a one-off patch.
Kumar
Gregory Sulak wrote:
I've defined a Server and configured Remote Start configuration settings. However, I have need to pass the -classic flag in the arguments. This flag prevents the process from starting. Error follows:
Unrecognized option: -classic -Xmx256m -Dweblogic.Domain=i2Domain -Dweblogic.ProductionModeEnabled=true -Dweblogic.management.discover=false
Could not create the Java virtual machine. -
Hi,
I am using weblogic 6.1 and remotely deployed pet store application on a different
machine using NodeManager. When I try to start the petStoreServer from local admin
console, I got following error:
Could not create pool connection. The DBMS driver exception was:
SQL Exception: Database 'petStore' not found.
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.l_(Unknown Source)
at c8e.k.j.n(Unknown Source)
at c8e.k.q.<init>(Unknown Source)
at c8e._b.e.<init>(Unknown Source)
at c8e._b.c.getNewLocalConnection(Unknown Source)
at c8e.k.v.connect(Unknown Source)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy0.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy47.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
Any hint?
Thanks,
Cathy
Covasoft, Inc.
1250 S. Capital of Texas Hwy.
Bldg. 1, Suite 240
Austin, Texas 78746
Office: 512.732.7860
Fax: 512.732.7832The exception tells me that the connection pool was not configured properly and
thus was not created; which as you know, the datasources are dependent on.
"Anjali" <[email protected]> wrote:
>
Created connection pool & data sources in the administartion console
for Pet Store
.When I start the example server after this , it gives the following
error on
the server console:
Enter password to boot WebLogic server:
Starting WebLogic Server ....
<Nov 1, 2001 10:24:21 AM IST> <Notice> <Management> <Loading configuration
file
.\config\examples\config.xml ...>
<Nov 1, 2001 10:24:24 AM IST> <Info> <Logging> <Only log messages of
severity
"E
rror" or worse will be displayed in this window. This can be changed
at Admin
Co
nsole> examples> Servers> examplesServer> Logging> General> Stdout severity
thre
shold>
<Nov 1, 2001 10:25:04 AM IST> <Error> <JDBC> <Error during TXDataSource
creation
: weblogic.common.ResourceException: DataSource(jdbc.InventoryDB) can't
be creat
ed with non-existent Connection Pool (petstorePool)>
<Nov 1, 2001 10:25:04 AM IST> <Error> <JDBC> <Error during TXDataSource
creation
: weblogic.common.ResourceException: DataSource(jdbc.SignOnDB) can't
be created
with non-existent Connection Pool (petstorePool)>
<Nov 1, 2001 10:25:04 AM IST> <Error> <JDBC> <Error during TXDataSource
creation
: weblogic.common.ResourceException: DataSource(jdbc.EstoreDB) can't
be created
with non-existent Connection Pool (petstorePool)>
<Nov 1, 2001 10:25:20 AM IST> <Notice> <WebLogicServer> <WebLogic Server
started
>
<Nov 1, 2001 10:25:21 AM IST> <Notice> <WebLogicServer> <SSLListenThread
listeni
ng on port 7002>
<Nov 1, 2001 10:25:21 AM IST> <Notice> <WebLogicServer> <ListenThread
listening
on port 7001>
what could be the problem. please if u can help out.
----anjali -
Hi,
I have installed an admin server, a managed server and a node manager on a single
machine. (btw, I'm using WLS7 sp2)
With the default config, the managed server starts and stops successfully from
the console. However, I need to specify a classpath for this server to locate
my log4j configuration file. I've used the "Class Path" field of the "Remote Start"
tab of my managed server. As soon as a classpath is specified, the managed server
doesn't start anymore, and I get the following log :
29 juil. 03 12:22:01 CEST> <Info> <NodeManager@mymachine:5555> <Starting Server
mydomain::managedserver ...>
java.lang.NoClassDefFoundError: weblogic/Server
Exception in thread "main"
<29 juil. 03 12:22:02 CEST> <Info> <NodeManager@mymachine:5555> <Server mydomain::managedserver
started, process id = 72 040>
I've tried different formats for my classpath (c:\mydir, c:/mydir ...), but I
always get the same error.
Any clue?
The classpath from the console actually overrides the default classpath (I thought
it was just appended).
Adding weblogic.jar solved the problem.
-
[wls8.1 sp.3] cannot remote start with node manager on another server
In this domain run on 2 physical servers in windows 2003. In machine that has admin server can start with node manager but another machine without admin server cannot remote start . when i remote start , the node manager has facing error messages as below:
# AT "node manager monitoring" in weblogic admin console
[[NodeManager:300033]Could not execute command ping on the node manager. Reason: weblogic.nodemanager.NodeManagerException: [CommandInvoker: Failed to send command: 'ping to server 'null' to NodeManager at host: 'xxx.xxx.xxx.24:5555' with exception Connection reset by peer.. Please ensure that the NodeManager is active on the target machine].]
# AT "nodemanger.log" has facing error messages as below:
<Aug 20, 2008 7:34:07 PM ICT> <Info> <[email protected]:5555> <NodeManage r started, log messages being written into file C:\bea\WEBLOG~1\common\NODEMA~1\ NodeManagerLogs\NodeManagerInternal\nm_server02_08_20_2008-19_34_03.log>
<Aug 20, 2008 7:59:58 PM ICT> <Warning> <Security> <BEA-090476> <Invalid/unknown SSL header was received from peer server01 - 10.208.50.23 during SSL handsha ke.> <Aug 20, 2008 8:00:11 PM ICT> <Warning> <Security> <BEA-090476> <Invalid/unknown SSL header was received from peer server01 - xxx.xxx.xxx.23 during SSL handsha key.>
I would REALLY appreciate any suggestions as to what might be the cause or what i could try.
Thanks ....Hi,
It is up to you to decide whether you want to use nodemanager or not.
It does not make any difference if the server is started via script or nodemanager.
if i want everything (AS, MS, and NM) to come up at server boot i need to set each of them up as windows services (which is what i have at the moment) but this wont allow me to use the node manager ==> Yes this statement is correct.
You can either set AS and MS as windows service (or) AS and nodemanager as service.
Thanks,
Sharmela -
Stop weblogic server instance using nodemanager
Hi,
we're in the process of setting up our weblogic cluster. We've configured the nodemanager (script based).
Server starts and stops from the admin console work fine using the scripts:
ssh -o PasswordAuthentication=no -p %P %H wlscontrol.sh -d %D -s %S -c -r MYDOMAIN -n MYDOMAIN %C
The next step is that we want to configure a startup script ala start/stop/restart/status
And we can start servers from the command line:
ssh -o PasswordAuthentication=no -p 22 host wlscontrol.sh -d MYDOMAIN -s \'managed_server_name\' -c -r MYDOMAIN -n MYDOMAIN START
and using STAT to get the current status.
We noticed that STAT didn't work for servers that weren't started by the NM say using the startManagedWeblogic.sh script...
So what we want to do is control all starts and stops via the NM.
Thing is that there doesn't seem to be a STOP command. There is a KILL but that actually unix kills the process ... a little full on and the NM tried to restart the server ...
appreciate any ideas.
thanks,
MichaelHi.
First, thanks for watching the video. To specify the server an application will run on, simply open the application's properties and go the the Run category. Then, select the appropriate WLS instance in the Bind to Integrated Application Server drop down list.
Best Regards,
Frédéric. -
Remote start of managed server
Hello everyone,
1: I am using Weblogic Application Server version 10.3.0 in development mode over Windows machines. I will use the word 'host' for the hardware machine to avoid confusion with Weblogic 'machine'.
2: The scenario is as follows :
: There are two hosts - Host-1 with IP 111.222.333.444 and Host-2 with IP 555.666.777.888
: A Weblogic domain was created on Host-1 with one managed server and one (Weblogic)machine. The admin. server runs on Host-1 at port 7001
: The machine,say M1,was assigned the IP of the Host-2 i.e 555.666.777.888
: The managed server,say web-server,was targetted to M1 and will run on port 7005
: The steps like pack and unpack were carried successfully and the admin. server was started on Host-1 and web-server was started on Host-2(NOT REMOTELY).The node manager on Host-2 was started at default port 5556
3: OBJECTIVE is to remotely start/stop the web-server from Host-1 via a Windows Scheduled Task which will call the startManagedWebLogic.cmd in turn.
4: The issue that I am facing is via admin. server console(accessed on Host-1),I am able to start/stop the web-server(on Host-2) remotely. But as soon as I attempt to start it using a script,
startManagedWebLogic.cmd web-server http://111.222.333.444:7001
I get JVM_BIND issue
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.
>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Error> <Server> <BEA-002606> <Unable to createa server socket for listening on channel "Default". The address 555.666.777.888 might be incorrect or another process is using port 7005: java.net.BindException: Cannot a
ssign requested address: JVM_Bind.>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Emergency> <Security> <BEA-090087> <Server fail
ed to bind to the configured Admin port. The port may already be used by another process.>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Critical> <WebLogicServer> <BEA-000362> <Server
failed. Reason: Server failed to bind to any usable port. See preceeding log messag
e for details.>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server s
tate changed to FAILED>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Error> <WebLogicServer> <BEA-000383> <A critica
l service failed. The server will shut itself down>
<Mar 11, 2011 3:35:36 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
4: Please note that I have checked the port availability via netstat on Host-2 and it is confirmed that the port 7005 is not used by any other process.
5: Please help me in establishing the cause of this ambiguous behaviour - successful remote start/stop via admin. console but not via script.
Thanks !Actually, my message had a mistake in it. I had mentioned the port number as 7003 for the ManagedServerB. It should have been 6129.
Any solution to the problem ?
Regards,
Sandeep -
Unable to connect to the remote ftp server using dreamweaver.
For the last one week I have been trying to connect to the remote ftp server using dreamweaver. I spoke to the technical support agency who manage our remote server but they are saying that there is no problem with the server adn they dont know anythign about dreamweaver so cant assist me.
I was suggested to check with adobe team directly and i spoke to a technical support person on the live chat but they said since the version is CS4 - education version, they cant assist me at all!! This is just ridiculous...I am constantly being sent from one place to the other without anything getting resolved!!
Please help somebody!!I am having a similar problem... maybe. I was connected to my remote site all day yesterday, then out of the blue I tried to "put" an edited file... as I had been doing all day, and I received an FTP error: Cannot make connection to host. Your login or password is incorrect. That's odd, I've been connecting all day. So I went into my sites > manage sites and clicked the Test button on my remote server information and it returned Adboe Dreamweaver CS connected to your webserver successfully. I went back to my file and tried once more to "put" it on the remote server... again FTP Error: cannot make connect to host... So I reboot my computer and start Dreamweaver CS3 again. I reenter my remoter server information and click the Test button. "... connect to your webserver successfully". I try to put any file, FTP error again. So I call my server administrator, he checks the servers logs and says there are no errors and you've connected successfully several times today. I went through the trouble shooting steps listed here, though my FTP Logs are empty. I cannot stay connected or even see the remote folders to try to drag and drop. I tried to run ftp from a windows command prompt and it seems to connect me.
I downloaded an installed an SFTP client and was able to successfully connect to my remote server and upload the files. It's definately a Dreamweaver problem. Any suggestions? -
Does anyone make a remote start with a learning remote, or have remotes that have factory codes built in? I want to buy one for my 1998 Ford Escort wagon, and I figured if someone made one it would be a lot less wiring involved if the remote could learn the codes for the door lock/unlock, and trunk release. I understand that most units have these features but you have to wire the "brain" into the wiring harness for this to work. I'll be working outside on this, this car is a "beater", and I really don't want to take the time to wire those functions in if I can use the factory hardware and use a remote with the factory codes in it.
Thanks,
SnydeHi snydley100,
I like the idea but I don't see anything like that that we currently carry. I'm hoping some of our Super Users that a more versed in Remote Starts will offer their thoughts. I will also check around to see if anyone's familiar with this. You might also want to stop in and talk to the install bay techs. They might have some ideas on this as well.
Thank you,
Marti|Social Media Specialist | Best Buy® Corporate
Private Message -
Can Remote Desktop be used to install Adobe CS to 30 Macs?
I have a school who recently purchased Apple Remote Desktop. They also just bought the latest Adobe CS package. Their 30 Macs already have an older version of Photoshop and InDesign on them.
Can Apple Remote Desktop be used to upgrade/install this package and remove the old version? If so, is this the best way to accomplish this task?
They also have a Tiger Server (where students home directories reside) and the clients which are almost all Panther are scheduled to be upgraded to Tiger (through the use of an Image) on September 30.
Problem is the teacher wants the latest Adobe products tomorrow! I may have oversold Apple Remote Desktop as she expects we can easily perform this upgrade with this product.Here's the real deal from Adobe's site:
http://www.adobe.com/support/techdocs/331297.html
It explains how to do an install from the command line that will install the Suite silently, and with the options you choose, you just have to copy the appropriate files, and create a .xml file to control it.
You then push the file to the machines that need to install it and then send the Unix command to run it on them all.
This is going into my Rollout plan for the next time, instead of doing it the slow way (Copy the installers all at once and start them one by one on each machine).
Come to think about it, you could probably mount a remote volume, and then order the machines to run the installer from there (Only if you have a seriously robust network for the machines).
Hope this helps anyone else that's not on a deadline that's already passed.
Maybe you are looking for
-
How do I get songs from one computer to another?
I had found it once on apple support, but I'm having trouble finding it again. Can someone tell me how you get your songs from one computer to another? I'm consolidating all the songs from my wife's laptop on to mine so we can share the same librar
-
How to restore data from my Time Capsule onto my new hard drive
My Macbook's hard drive had to be changed, and I'm trying to restore files from my Time Capsule onto my new hard drive, but all I see are three sparsebundle files (one for each Mac we have at home, including my computer/old hard drive). From that poi
-
Unknown Album appearing in Album view
Hi, Minor frustration - in the 'Albums' view on my iPhone, a couple of 'Unknown Albums' appear - these are songs that have been stripped of their Album and Sort Album information, but which are still showing up under 'Albums'. They were purchased fro
-
Trying to clean install Leopard 10.5.6 and not having any luck!
I recently received a Powerbook G4 15 inch from a friend of the family without any OS installed on it. I was told by the tech's at the Apple Store that it would take Leopard OS so I purchased Leopard 10.5.6 and now I'm trying to install the software
-
HOW DO I UNINSTALL A PROGRAM I DOWNLOADED ON MY MAC AIR
I HAVE A MACBOOK AIR VERSION OSX 10.9.5 1.7 GHZ PROCESSOR, 4G MEMORY . 5.81 GB STORAGE SPACE AVAIL. I RECENTLY DOWNLOADED A TRIAL PROGRAM CALLED BRIDGE BARON. WHEN I DECIDED TO PURCHASE IT, I CHOSE A DIFFERENT VENDOR. BUT WHEN I DOWNLOADED THE PU