Professional Documents
Culture Documents
Unix / Windows
Copyright © 2008 Business Objects. All rights reserved. Business Objects owns the following
U.S. patents, which may cover products that are offered and licensed by Business
Objects: 5,555,403; 5,857,205; 6,289,352; 6,247,008; 6,490,593; 6,578,027;
6,831,668; 6,768,986; 6,772,409; 6,882,998; 7,139,766; 7,299,419; 7,194,465;
7,222,130; 7,181,440 and 7,181,435. Business Objects and the Business Objects
logo, BusinessObjects, Business Objects Crystal Vision, Business Process On
Demand, BusinessQuery, Crystal Analysis, Crystal Applications, Crystal Decisions,
Crystal Enterprise, Crystal Insider, Crystal Reports, Desktop Intelligence, Inxight,
the Inxight Logo, LinguistX, Star Tree, Table Lens, ThingFinder, Timewall, Let
there be light, Metify, NSite, Rapid Marts, RapidMarts, the Spectrum Design, Web
Intelligence, Workmail and Xcelsius are trademarks or registered trademarks in
the United States and/or other countries of Business Objects and/or affiliated
companies. All other names mentioned herein may be trademarks of their respective
owners.
Third-party Business Objects products in this release may contain redistributions of software
Contributors licensed from third-party contributors. Some of these individual components may
also be available under alternative licenses. A partial listing of third-party
contributors that have requested or permitted acknowledgments, as well as required
notices, can be found at: http://www.businessobjects.com/thirdparty
2008-04-03
Contents
Chapter 1 Overview of wdeploy 7
Standalone web application server support.................................................8
Distributed web server/web application server support...............................9
enforce_file_limit..................................................................................46
work_dir................................................................................................47
ws_dir...................................................................................................47
ws_instance..........................................................................................48
ws_type................................................................................................48
Chapter 11 Troubleshooting 61
WASX7017E: Exception deploying in WebSphere ...................................62
Instance configuration was modified in Sun Java Web Server..................62
Sun Java System Web Server connector information for Tomcat.............63
Sun Java System Web Server connector information for WebLogic.........63
Sun Java System Web Server connector information for WebSphere......63
Apache or Sun Java System Web server/Oracle 10G R3 application server
distributed deployment ..............................................................................64
Index 69
1
1 Overview of wdeploy
Standalone web application server support
wdeploy is a command-line tool for JSP environments that you can use to
deploy BusinessObjects web applications. There are two versions available
a [.sh] file for Unix, a [.bat] file for Windows.
Note: In the following, Apache and IHS web servers are both specified as
"apache".
2
2 Configuration Information
Deployment information for applications (application.properties file)
See [infoview.properties].
The following sample configuration files, which you must modify manually
to match your configuration, are located in the $INSTALLDIR\deployment
directory:
• config.weblogic9
• config.weblogic10
• config.websphere6
• config.apache
• config.tomcat55
• config.iplanet
• config.jboss404
• config.nw2004
• config.oas1013
3
3 Deployment Modes
Standalone mode
• Standalone
• Distributed.
Standalone mode
Deploying web applications' static and dynamic resources bundled in their
.WAR file on the web application server is known as standalone mode.
This makes deployment simpler, but performance may suffer, as every type
of transaction, even those requiring static content only, is handled through
the web application server.
Figure 3-2: Distributed web deployment with web and web application servers on same
machine
Figure 3-3: Distributed web deployment with web and web application servers on different
machines
Related Topics
• http://support.businessobjects.com
4
4 Before running wdeploy
Set Windows 8dot3 filename option
Sample configuration files, which you must modify manually to match your
configuration, are located in the $INSTALLDIR\deployment directory.
5
5 Running wdeploy
The wdeploy command line
You run wdeploy from the command line. You run it for your web server or
web application server. In distributed mode, you run it for both.
You can enter all required information from the command line, or modify the
config.* file of your web/web application server first to enter properties. It's
easier to modify the configuration file first.
<property> property
Example:
For example:
cd $INSTALLDIR\deployment
wdeploy [.bat|.sh] websphere6 -DAPP=InfoViewApp predeploy
Related Topics
• Properties reference on page 33
• Actions reference on page 49
Enter valid values for each parameter, making sure that every parameter
requiring spaces or special characters (such as file locations) is wrapped in
double quotes.
Example:
For example, in standalone mode (all in one line):
wdeploy[.bat|.sh] websphere6 -Das_mode=standalone -
Das_dir=/opt/ibm/WebSphere/AppServer -Das_instance=server1 -
Das_admin_port=8880 -Dwork_dir=/tmp/wdeploy -Das_virtu
al_host=default_host -DAPP=InfoViewApp deploy
For example, in distributed mode (all in one line):
wdeploy[.bat|.sh] tomcat55 -Das_mode=distributed -
Das_dir=/opt/tomcat -Das_instance=localhost -Dws_type=apache
-Dws_dir=/opt/apache -Dwork_dir=/tmp/wdeploy -DAPP=In
foViewApp deploy
Press the Return key.
Related Topics
• Properties reference on page 33
• Actions reference on page 49
6
6 After running wdeploy
After deploying your web applications on the web or web application server
using wdeploy, restart the web and/or web application server to take the
modifications into account.
7
7 Web/Web Application Server parameters reference
The value you enter for this parameter must exactly match the extension of
the configuration file corresponding to your web or web application server.
If it is not an exact match, wdeploy will be unable to find the file.
8
8 Properties reference
Properties you must set
This parameter defines properties that are specific to your deployment. These
settings are stored in the config.* files in $INSTALLDIR\deployment.
• To define property, type without spaces:
-D<value from Property column>=<value from Values column>
If the web server is on the same machine as the web application server, you
must specify the type of web server and its installation directory on the
machine, using respectively the ws_type and ws_dir properties.
You must define the connector-type property if you are running wdeploy
on a web server machine.
The properties required for specific web and web application servers are
described in the following files, all located in the $INSTALLDIR\deployment
directory:
• the config.* file for each web or web application server
• the wdeploy README file
Related Topics
• Properties reference on page 33
• Actions reference on page 49
APP
APP
Value depends on the applica- Specific web application,
tion installed. See the taken from the name of the
<APP>.properties file located <APP>.properties file
in the web application server located in the web applica-
machine's $INSTALLDIR\deploy tion server machine's $IN
ment\apps directory. STALLDIR\deploy
ment\apps directory.
Example: -DAPP=In
foViewApp
as_admin_is_secure
as_admin_is_se
cure
true For Oracle Application Server
instructs wdeploy to use SSL
false to do the deployment.
Related Topics
• as_admin_password on page 36
• as_admin_username on page 38
as_admin_password
as_admin_pass
word
<password> Password for administration of the
application server.
as_admin_port
as_ad
min_port
<port number> Administration port of the appli-
cation server.
as_admin_username
as_admin_user
name
<user name> User name with administra-
tion rights on the application
server.
Related Topics
• as_admin_is_secure on page 36
• as_admin_password on page 36
as_appserver_name
as_appserver_name
<web application server For Oracle Application
name> Server, the name of the
target application serv-
er.
as_dir
as_dir
<directory> Installation directory of the
web application server.
Example:
-Das_dir=/space3/tomcat
as_group_id
as_group_id
<group servers name> For Oracle Application
Server: the group of
servers the target appli-
cation belongs to.
as_instance
as_instance
<instance name> Mandatory for all the application
servers.
Example: -Das_instance=local
host
as_mode
as_mode
standalone
Type of web application deployment.
distribut
Example: -Das_mode=distributed
ed
Related Topics
• ws_type on page 48
• Distributed mode on page 19
• Standalone mode on page 18
as_service_key
as_service_key_value
as_service_name
as_service_name
<service name> For Tomcat 55 only.
as_sid
as_sid <sap_sid>
Mandatory for NetWeaver, the
SAP system ID of the target in-
stance.
as_virtual_host
as_virtual_host
<virtual host name> For WebSphere 6.1 on-
ly.
classloader_package_filtering
connector_host
Related Topics
• connector_port on page 44
• connector_type on page 45
• connector_name on page 44
connector_name
connector_name
<connector Required for Sun Java System
name> Web Server only.
Related Topics
• connector_type on page 45
• connector_port on page 44
• connector_host on page 43
connector_port
Related Topics
• connector_host on page 43
• connector_name on page 44
• connector_type on page 45
connector_type
connector_type
<connector type> For Apache and Sun Java
System Web Server.
Related Topics
• connector_name on page 44
• connector_host on page 43
• connector_port on page 44
deploy_as_a_filetree
Default: false
deployment_dir
deployment_dir
<directory> In distributed mode, the web
server directory under which
wdeploy creates a subdirectory
matching the application name,
and in which the .ZIP files
containing the application's
static resources are unzipped.
Example: -Ddeploy
ment_dir=/temp/apache
enforce_file_limit
en
true False by default except for Web-
force_file_lim
it Sphere 6.
false
Tells wdeploy whether or not the
application server has encountered
issues loading an application that
contains more than 65535 files.
work_dir
work_dir
<directory> Directory in which wdeploy manipu-
lates the web applications (typically
when it splits the static and dynamic
content of an application), stores the
results of the pre-deploy action, and
stores data to be able to undeploy
applications.
Example: -Dwork_dir=IN
STALLDIR\deployment\workdir
ws_dir
ws_dir
<directory> Use this in distributed mode only.
Example:
-Dws_dir=/space3/apache
ws_instance
ws_instance
<instance name> For WebSphere 6 only.
Example: -Dws_instance=web
server1
ws_type
ws_type
<web server type> The type of web server to deploy
to, in distributed mode.
9
9 Actions reference
deploy
Action Description
deployall
Action Description
deployonly
Action Description
deployonlyall
Action Description
Action Description
listdeployedapps
Action Description
predeploy
Action Description
predeployall
Action Description
predeployall Builds all resources WAR, ZIP files, etc., and con-
figuration files required for all specified applications.
undeployall
Action Description
validateconfig
Action Description
10
10 What deploy changes in your environment
Changes in Apache web server
11
11 Troubleshooting
WASX7017E: Exception deploying in WebSphere
com.ibm.websphere.management.exception.ConfigServiceException
com.ibm.websphere.management.exception.ConnectorException
Try raising or removing the SOAP connection timeout set by the property:
com.ibm.SOAP.requestTimeout
in:
$WASINSTALLDIR/profiles/<profile>/properties/soap.client.props
file,
and in:
$WASINSTALLDIR/profiles/<profile>/temp/soap.client.props.
Add to obj.conf
<Object name="jknsapi">
ObjectType fn=force-type type=text/plain
Service fn="jk_service" method="*" worker="worker1"
</Object>
Related Topics
• http://tomcat.apache.org/connectors-doc/howto/nes.html
Add to obj.conf
<Object name="weblo">
Service fn="wl_proxy" WebLogicHost="localhost" WebLogic
Port="7001"
</Object>
Related Topics
• http://e-docs.bea.com/wls/docs81/plugins/nsapi.html
Related Topics
• http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?top
ic=/com.ibm.websphere.base.doc/info/aes/ae/tins_manualWebIPL.html
A
A Get More Help
http://support.businessobjects.com/documentation/product_guides/
http://www.businessobjects.com/support/
For more information, contact your local sales office, or contact us at:
http://www.businessobjects.com/services/consulting/
http://www.businessobjects.com/services/training
mailto:documentation@businessobjects.com
Note: If your issue concerns a Business Objects product and not the
documentation, please contact our Customer Support experts. For information
about Customer Support visit: http://www.businessobjects.com/support/.
B M
bobjeEnv.* file 58, 59 mod_oc4j.conf file 64
buildfile parameter 12
N
C NameTrans 59
catalina.* file 58
O S
obj.conf 44 SAP ID 42
obj.conf file 59, 63 SOAP
Oc4jRoutingMode Static entry 64 timeout connection 62
opmn.xml file 37, 59 SOAP port 37
startWebLogic.* file 59
P
W
Port
ajp13 44 war_dir parameter 12
opmn.xml file 37 warfile parameter 12
SOAP 37 wdeploy.prop.* parameter 12
Property 24 Web or web application server's type 24
web server's type 48
win_app_source_dir parameter 12
R win_war_dir parameter 12
run.* file 58
Z
zipfile parameter 12