java - How to start RMI via weblogic concole? -
i have migrate web application weblogic, , web app requires rmi run, in previous system, have execute startrmiregistry.sh contain of:
#!/bin/sh exist="false" var in `ps -ef | grep rmiregistry` if [ "$var" = "rmiregistry" ] exist="true" fi if [ "$var" = "8206" ] if [ "$exist" = "true" ] echo "rmiregistry running." exit fi fi done classpath=.:/home/cms/server/cms.jar:/home/cms/lib/lucene-1.4.2.jar export classpath rmiregistry 8206 & echo rmiregistry started echo $! > rmiregistry.pid
and need start rmi registry via server start argument in weblogic console. think need start via console make sure rmi server run in managed server, right? need suggestion, how can start rmi server mode under managed server?
i sorry if explanation quite confusing, :)
regards
the server start
arguments not correct place run or source script.
if need weblogic server run script beforehand, should modify either setdomainenv.sh
or startweblogic.sh
, put in line like:
. <path>/startrmiregistry.sh
the ibm support page contains information on renaming startweblogic
startrmireigistry
.
Comments
Post a Comment