| Author |
Websphere command administration question
|
|
|
| Here is the question:
I am using XMLConfig utility for the first time. I have two webspehre
servers on nodes say "ABC" and "XYZ" which are on two separate
windows200 machines. I have application server named "wfxxxxxx" on node
"ABC" and I want to export this onto node "XYZ"
So I have created a partial export file as follow.
Code: <?xml version="1.0"?><!DOCTYPE websphere-sa-config SYSTEM
"$server_root$$dsep$bin$dsep$xmlconfig.dtd"><websphere-sa-config> <node
name="ABC" action="locate"> <application-server name="wfxxxxxx"
action="export"></application-server> </node></websphere-sa-config>
and exported to file called ABC-export.xml
The export was succesfull. Now I took the same file ABC-export.xml and
edited the part Code: <websphere-sa-config> <node name="ABC"
action="locate">
to
Code: <websphere-sa-config> <node name="XYZ" action="locate"> and
saved it as XYZ-import.xml on node "XYZ". Now on node XYZ tried to
import the xml using
Code: \WebSphere\AppServer\bin>XMLConfig -adminNodeName XYZ -import
XYZ-import.xml and I am getting error Quote: Required ServletGroup name
attribute was not specified
Could some body help me on this? Thanks
Quote:
[03.10.31 11:55:42:391 EST] f19e6bb7 NodeConfig A XMLC0053I: Importing
Node : XYZ
[03.11.31 11:55:42:532 EST] f19e6bb7 ApplicationSe A XMLC0053I:
Importing ApplicationServer : wfxxxxxx
[03.12.31 11:55:43:173 EST] f19e6bb7 ContainerConf A XMLC0053I:
Importing Container : Default Container
[03.13.31 11:55:43:438 EST] f19e6bb7 EJBConfig A XMLC0053I: Importing
EJB : RemoteSRP
[03.14.31 11:55:45:126 EST] f19e6bb7 ServletEngine A XMLC0053I:
Importing ServletEngine : Servlet Container
[03.15.31 11:55:45:516 EST] f19e6bb7 WebApplicatio A XMLC0053I:
Importing WebApplication : wfxxxxxx
[03.16.31 11:55:45:751 EST] f19e6bb7 WebApplicatio X Failed to create
WebApplication : wfxxxxxxXMLC0041E: Repository Exception
com.ibm.ejs.sm.exception.RequiredAttributeMissingExce ption:
Required ServletGroup name attribute was not specified.
[03.17.31 11:55:45:813 EST] f19e6bb7 WebApplicatio X XMLC0036E: Unable
to get Web Application Attributes in order to calculate root URI.
Root URI will be set to nullXMLC0046E: Exce ption
java.lang.NullPointerException
[03.18.31 11:55:45:813 EST] f19e6bb7 ServletConfig A XMLC0053I:
Importing Servlet : Error Reporting Facility
[03.19.31 11:55:45:813 EST] f19e6bb7 WebApplicatio X Failed to create
WebApplication : wfxxxxxxXMLC0074I: Ending Child Processing.
Exception : java.lang.NullPointerException
[03.20.31 11:55:45:860 EST] f19e6bb7 SessionManage A XMLC0053I:
Importing SessionManager : Session Manager
[03.21.31 11:55:46:126 EST] f19e6bb7 UserProfileMa A XMLC0053I:
Importing UserProfileManager : User Profile Manager
Thanks
--
posted via MFF : http://www.MainFrameForum.com - USENET Gateway
| |
| Ken Hygh 2004-01-19, 2:52 pm |
| ucbus wrote:quote:
> Here is the question:
>
> I am using XMLConfig utility for the first time. I have two webspehre
> servers on nodes say "ABC" and "XYZ" which are on two separate
> windows200 machines. I have application server named "wfxxxxxx" on node
> "ABC" and I want to export this onto node "XYZ"
>
> So I have created a partial export file as follow.
>
> Code: <?xml version="1.0"?><!DOCTYPE websphere-sa-config SYSTEM
> "$server_root$$dsep$bin$dsep$xmlconfig.dtd"><websphere-sa-config> <node
> name="ABC" action="locate"> <application-server name="wfxxxxxx"
> action="export"></application-server> </node></websphere-sa-config>
>
>
> and exported to file called ABC-export.xml
>
> The export was succesfull. Now I took the same file ABC-export.xml and
> edited the part Code: <websphere-sa-config> <node name="ABC"
> action="locate">
>
>
> to
>
> Code: <websphere-sa-config> <node name="XYZ" action="locate"> and
> saved it as XYZ-import.xml on node "XYZ". Now on node XYZ tried to
> import the xml using
>
> Code: \WebSphere\AppServer\bin>XMLConfig -adminNodeName XYZ -import
> XYZ-import.xml and I am getting error Quote: Required ServletGroup name
> attribute was not specified
>
>
> Could some body help me on this? Thanks
>
I believe that you're going to need to change the name of the
application server.
What's happening is that you're trying to create 2 application servers
with the same names. WebSphere wants them to be part of a server group -
clones of each other, in order to do that.
Ken
| |
|
|
| Ken Hygh 2004-01-19, 2:52 pm |
| ucbus wrote:quote:
> Still waiting
>
>
>
> --
> posted via MFF : http://www.MainFrameForum.com - USENET Gateway
For what?
Ken
| |
|
| wrote:quote:
> [03.10.31 11:55:45:751 EST] f19e6bb7 WebApplicatio X Failed to create
Thanks KEN, Here I am trying to export application server ""wfxxxxxx" "
on one node to another node. I am pretty sure that the other node is not
having server named "wfxxxxxx" . More over I am getting the error on
"web application part of the xml"
If needed I will be glad to send you the XMl I was trying to
import Thanks
--
posted via MFF : http://www.MainFrameForum.com - USENET Gateway
| |
| Ken Hygh 2004-01-19, 2:52 pm |
| ucbus wrote:quote:
> wrote:
>
> Thanks KEN, Here I am trying to export application server ""wfxxxxxx" "
> on one node to another node. I am pretty sure that the other node is not
> having server named "wfxxxxxx" . More over I am getting the error on
> "web application part of the xml"
>
>
>
> If needed I will be glad to send you the XMl I was trying to
> import Thanks
>
>
>
> --
> posted via MFF : http://www.MainFrameForum.com - USENET Gateway
I don't want your XML, I don't have a v4 server any more.
Maybe if you posted the error and the relevant part of your xml we can help.
Ken
| |
|
| Thanks Ken. Following is my XML I am trying to import
********************************
<?xml version="1.0"?>
<!DOCTYPE websphere-sa-config SYSTEM
"$XMLConfigDTDLocation$$dsep$xmlconfig.dtd" >
<websphere-sa-config> <node name="slater" action="locate">
<application-server name="wfprvret" action="update">
<executable>java</executable> <command-line-arguments>
<arg>-classpath</arg> <arg>F:\Program Files\MQSeries Workflow\BIN\fmcoh-
cli.jar;F:\wfprvret\Code\JARFiles\PRBCBST.jar;F:\Program Files\MQSeries
Workflow\BIN\JAVA3303\fmcojagt.jar;F:\wfprvret\Code\JARFiles\MQ.jar</ar-
g> <arg>-Dcom.syscom.memwp. rootPropertyFile=F:\wfprvret\properties\
memw-
p.properties</arg> </command-line-arguments> <environment/>
<user-id></user-id> <group-id></group-id>
<working-directory>f:\wfprvret\log</working-directory> <umask>18</umask>
<stdin></stdin> <stdout>stdout.txt</stdout> <stderr>stderr.txt</stderr>
<process-priority>20</process-priority>
<maximum-startup-attempts>2</maximum-startup-attempts>
<ping-interval>60</ping-interval> <ping-timeout>200</ping-timeout>
<ping-initial-timeout>300</ping-initial-timeout>
<selection-policy>roundrobinpreferlocal</selection-policy>
<trace-specification></trace-specification>
<trace-output></trace-output>
<transaction-log-file></transaction-log-file>
<olt-enabled>false</olt-enabled> <system-properties/>
<debug-enabled>false</debug-enabled>
<transaction-timeout>120</transaction-timeout>
<transaction-inactivity-timeout>60000</transaction-inactivity-timeout>
<thread-pool-size>20</thread-pool-size>
<security-enabled>false</security-enabled> <container name="Default
Container" action="update"> <user-id></user-id> <password></password>
<cache-config> <size>2047</size> <soft-limit>2000</soft-limit>
<hard-limit>2047</hard-limit> <sweep-interval>1000</sweep-interval>
<passivation-directory></passivation-directory> </cache-config> <ejb
name="RemoteSRP" action="update">
<jar-file>f:\WebSphere\AppServer\lib\ibmwebas.jar</jar-file>
<home-name>RemoteSRPHome</home-name> <user-id></user-id>
<password></password> <create-db-table>true</create-db-table>
<find-for-update>false</find-for-update>
<minimum-pool-size>2</minimum-pool-size>
<maximum-pool-size>100</maximum-pool-size>
<primary-key-check>false</primary-key-check>
<db-exclusive-access>false</db-exclusive-access> </ejb> </container>
<servlet-engine name="Servlet Container" action="update">
<maximum-connections>25</maximum-connections>
<transport-port>9003</transport-port> <servlet-mode>1</servlet-mode>
<transport-type name="ose"> <ose-transport> <link-type>local</link-type>
<log-file-mask trace="false" inform="false" warning="false"
error="true"/> <queue-name>ibmoselink9</queue-name>
<clone-index>1</clone-index>
<native-log-file>f:\WebSphere\AppServer\logs\Servlet
Container.-167336551_native.log</native-log-file> </ose-transport>
</transport-type> <web-application name="wfprvret" action="update">
<description>Web Application for Provider Returns Workflow
Application</description> <document-root>F:\Program Files\MQSeries
Workflow\cfgs\wfprvret\WebClient\webpage
s</document-root> <classpath/>
<error-page></error-page> <session-config>
<session-timeout>0</session-timeout> </session-config>
<welcome-file-list/> <filter-list/> <group-attributes/>
<auto-reload>true</auto-reload> <reload-interval>9</reload-interval>
<enabled>true</enabled> <root-uri>default_host/wfprvret</root-uri>
<shared-context>false</shared-context>
<shared-context-jndi-name>SrdSrvltCtxHome</shared-context-jndi-name>
<servlet name="Error Reporting Facility" action="update">
<description>Auto-Generated - Default error reporter
servlet</description>
<code>com.ibm.servlet.engine.webapp.DefaultErrorReporter</code>
<init-parameters/> <load-at-startup>true</load-at-startup>
<debug-mode>false</debug-mode> <uri-paths> <uri value="/ErrorReporter"/>
</uri-paths> <enabled>true</enabled> </servlet> <servlet name="File
Serving Enabler" action="update"> <description>Auto-Generated - File
Serving Servlet</description>
<code>com.ibm.servlet.engine.webapp.SimpleFileServlet</code>
<init-parameters/> <load-at-startup>true</load-at-startup>
<debug-mode>false</debug-mode> <uri-paths> <uri value="/"/> </uri-paths>
<enabled>true</enabled> </servlet> <servlet name="JSP 1.0 Processor"
action="update"> <description>Auto-Generated - Generates JSP 1.0
output</description> <code>com.sun.jsp.runtime.JspServlet</code>
<init-parameters> <parameter name="workingDir" value="F:\Program
Files\MQSeries Workflow\cfgs\wfprvret\WebClient\webpage
s"/>
</init-parameters> <load-at-startup>true</load-at-startup>
<debug-mode>false</debug-mode> <uri-paths> <uri value="*.jsp"/> <uri
value="*.jsv"/> <uri value="*.jsw"/> </uri-paths>
<enabled>true</enabled> </servlet> <servlet name="Main" action="update">
<description></description>
<code>com.ibm.workflow.servlet.client.Main</code> <init-parameters>
<parameter name="ConfigurationFile" value="F:\Program Files\MQSeries
Workflow\cfgs\wfprvret\WebClient\WebClie
nt.properties"/>
</init-parameters> <load-at-startup>true</load-at-startup>
<debug-mode>false</debug-mode> <uri-paths> <uri value="/servlet/Main"/>
</uri-paths> <enabled>true</enabled> </servlet> </web-application>
<session-manager name="Session Manager" action="update">
<enable-sessions>true</enable-sessions>
<enable-url-rewriting>false</enable-url-rewriting>
<enable-cookies>true</enable-cookies> <enable-protocol-switch-rewriting-quote:
>false</enable-protocol-switch-rewriting> <cookie name="sesessionid">
<comment>servlet session support</comment> <domain></domain>
<maximum>-1</maximum> <path>/</path> <secure>false</secure> </cookie>
<interval-invalidation-time>1800</interval-invalidation-time>
<persistent-sessions>false</persistent-sessions>
<persistence-type>directodb</persistence-type> <database location="">
<driver></driver> <user-id></user-id> <password></password>
<number-of-connections>30</number-of-connections> </database>
<enable-stat-collection>true</enable-stat-collection>
<using-cache>true</using-cache> <using-multi-row>false</using-multi-row>
<using-manual-update>false</using-manual-update>
<using-native-access>false</using-native-access>
<base-memory-size>1000</base-memory-size>
<allow-overflow>true</allow-overflow> <data-source name=""/>
</session-manager> <user-profile-manager name="User Profile Manager"
action="update"> <enable-user-profile>false</enable-user-profile> <data-
-wrapper>com.ibm.servlet.personalization.userprofile.UserProfile</data--
wrapper> <remote-interface-ro>com.ibm.servlet.personalization.userprofi-
le.UP_ReadOnly</remote-interface-ro> <remote-interface-rw>com.ibm.servl-
et.personalization.userprofile.UP_ReadWrite</remote-interface-rw> <home-
-interface-ro>com.ibm.servlet.personalization.userprofile.UP_ReadOnlyHo-
me</home-interface-ro> <home-interface-rw>com.ibm.servlet.personalizati-
on.userprofile.UP_ReadWriteHome</home-interface-rw>
<jndi-name-ro>UP_ReadOnlyHome</jndi-name-ro>
<jndi-name-rw>UP_ReadWriteHome</jndi-name-rw> </user-profile-manager>
</servlet-engine> </application-server> </node> </websphere-sa-config>
****************************************
*
Following is the error I was getting
****************************************
****
[03.10.31 11:55:42:391 EST] f19e6bb7 NodeConfig A XMLC0053I: Importing
Node : XYZ
[03.11.31 11:55:42:532 EST] f19e6bb7 ApplicationSe A XMLC0053I:
Importing ApplicationServer : wfprvret
[03.12.31 11:55:43:173 EST] f19e6bb7 ContainerConf A XMLC0053I:
Importing Container : Default Container
[03.13.31 11:55:43:438 EST] f19e6bb7 EJBConfig A XMLC0053I: Importing
EJB : RemoteSRP
[03.14.31 11:55:45:126 EST] f19e6bb7 ServletEngine A XMLC0053I:
Importing ServletEngine : Servlet Container
[03.15.31 11:55:45:516 EST] f19e6bb7 WebApplicatio A XMLC0053I:
Importing WebApplication : wfprvret
[03.16.31 11:55:45:751 EST] f19e6bb7 WebApplicatio X Failed to create
WebApplication : wfprvretXMLC0041E: Repository Exception
com.ibm.ejs.sm.exception.RequiredAttributeMissingExce ption:
Required ServletGroup name attribute was not specified.
[03.17.31 11:55:45:813 EST] f19e6bb7 WebApplicatio X XMLC0036E: Unable
to get Web Application Attributes in order to calculate root URI.
Root URI will be set to nullXMLC0046E: Exce ption
java.lang.NullPointerException
[03.18.31 11:55:45:813 EST] f19e6bb7 ServletConfig A XMLC0053I:
Importing Servlet : Error Reporting Facility
[03.19.31 11:55:45:813 EST] f19e6bb7 WebApplicatio X Failed to create
WebApplication : wfprvretXMLC0074I: Ending Child Processing.
Exception : java.lang.NullPointerException
[03.20.31 11:55:45:860 EST] f19e6bb7 SessionManage A XMLC0053I:
Importing SessionManager : Session Manager
[03.21.31 11:55:46:126 EST] f19e6bb7 UserProfileMa A XMLC0053I:
Importing UserProfileManager : User Profile Manager
****************************************
***
Could you please let me know what could be the reason for the
error? Thanks
--
posted via MFF : http://www.MainFrameForum.com - USENET Gateway
| |
| Ken Hygh 2004-01-19, 2:53 pm |
| ucbus wrote:quote:
> Thanks Ken. Following is my XML I am trying to import
[snip]quote:
> ****************************************
***
> Could you please let me know what could be the reason for the
> error? Thanks
>
>
>
> --
> posted via MFF : http://www.MainFrameForum.com - USENET Gateway
Just guessing: lose the redefinition of the web application.
Ken
| |
|
| wrote:
> lose the redefinition of the web application
Thanks.
but where do you want me to delete the redifinition? In XML? But I do
not see a redifinition in my XML Could you please eloborate? Thanks
--
posted via MFF : http://www.MainFrameForum.com - USENET Gateway
|
|
|
|