Re: PWS tomcat problem-UCBUS

2001-07-30 Thread ucbus ucbus


I guess the properties files are messed up. I am attaching again the 
properties files.  Apologize for the inconvinience
Thanks


From: Tim O'Neil [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: PWS tomcat problem-UCBUS
Date: Sat, 28 Jul 2001 10:44:08 -0700

At 07:59 AM 7/28/2001, you wrote:
Could somebody help me on this.
I have IIS and Tomcat on NT4.0 and could configure successfully. Means
that the examples  example is working fine. However when I am trying to
add my MQ wOrkflow application as a web application I am getting the
following error. The web-appliction need to work in separate directory.
ANy help in this regard is higly appreciated

404- page not found and the isapi log says

[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL
parameter
[jk_uri_worker_map.c (185)]: In k_uri_worker_map_t::uri_worker_map_free,
NULL parameters
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server

Could somebody help me
UCBUS

You add a copy of your server.xml and .properties file so we can
see what it's lacking.




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

 tomcat.properties
 workers.properties
 uriworkermap.properties


Re: PWS tomcat problem-UCBUS

2001-07-30 Thread ucbus ucbus

Still it is not right. Good old method. I am cut pasting them. This is first 
message containg tomcat.properties

**
tomcat.properties
###
#Apache JServ Configuration File 
  #
###

 W A R N I N G 

# Unlike normal Java properties, JServ configurations have some important
# extentions:
#
#1) commas are used as token separators
#2) multiple definitions of the same key are concatenated in a
#   comma-separated list.
###

#
# Execution parameters
###

# The Java Virtual Machine interpreter.
# Syntax: wrapper.bin=[filename] (String)
# Note: specify a full path if the interpreter is not visible in your path.
wrapper.bin=@JAVA@

# Arguments passed to Java interpreter (optional)
# Syntax: wrapper.bin.parameters=[parameters] (String)
# Default: NONE

# Apache JServ entry point class (should not be changed)
# Syntax: wrapper.class=[classname] (String)
# Default: org.apache.jserv.JServ

# Arguments passed to main class after the properties filename (not used)
# Syntax: wrapper.class.parameters=[parameters] (String)
# Default: NONE
# Note: currently not used

# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: /bin:/usr/bin:/usr/local/bin for Unix systems
#  c:\(windows-dir);c:\(windows-system-dir) for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
#: or ; (depending wether Unix or Win32) characters
#Under Win32 (windows-dir) and (windows-system-dir) will be
#automatically evaluated to match your system requirements

# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
#   : or ; (depending wether Unix or Win32) characters. JVM must be
#   able to find JSDK and JServ classes and any utility classes used by
#   your servlets.
# Note: the classes you want to be automatically reloaded upon modification
#   MUST NOT be in this classpath or the classpath of the shell
#   you start the Apache from.
#
wrapper.classpath=@JSERV_CLASSES@
wrapper.classpath=@JSDK_CLASSES@

# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value] (String)
# Default: NONE on Unix Systems
#  SystemDrive and SystemRoot with appropriate values on Win32 
systems

# An environment name with value copied from caller to Java Virtual Machine
# Syntax: wrapper.env.copy=[name] (String)
# Default: NONE

# Copies all environment from caller to Java Virtual Machine
# Syntax: wrapper.env.copyall=[true|false] (boolean)
# Default: false

# Protocol used for signal handling
# Syntax: wrapper.protocol=[name] (String)
# Default: ajpv12

#
# General parameters
##

# Set the default IP address or hostname Apache JServ binds (or listens) to.
#
# If you have a machine with multiple IP addresses, this address
# will be the one used. If you set the value to localhost, it
# will be resolved to the IP address configured for the locahost
# on your system (generally this is 127.0.0.1). This feature is so
# that one can have multiple instances of Apache JServ listening on
# the same port number, but different IP addresses on the same machine.
# Use bindaddress=* only if you know exactly what you are doing here,
# as it could let JServ wide open to the internet.
# You must understand that JServ has to answer only to Apache, and should 
not
# be reachable by nobody but mod_jserv. So localhost is usually a
# good option. The second best choice would be an internal network address
# (protected by a firewall) if JServ is running on another machine than 
Apache.
# Ask your network admin.
# * _may_ be used on boxes where some of the clients get connected using
# localhostand others using another IP addr.
#
# Syntax: bindaddress=[ipaddress] or [localhost] or [*]
# Default: localhost
bindaddress=localhost

# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
# Default: 8007
port=8007

#
# Servlet Zones parameters
###

# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of 
String)
# Default: NONE
zones=root

# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to 
configFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=@JSERV_CONF@/zone.properties

#
# Thread Pool parameters

Re: PWS tomcat problem-UCBUS

2001-07-30 Thread ucbus ucbus

This is the scond message containg workers.properties and 
uniworkermap.properties
#
# $Header: /home/cvspublic/jakarta-tomcat/src/etc/Attic/workers.properties,v 
1.3.2.2 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.3.2.2 $
# $Date: 2000/10/16 01:59:22 $
#
#
# workers.properties -
#
# This file provides jk derived plugins with with the needed information to
# connect to the different tomcat workers.
#
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them in your own configuration!!!
#
# Whenever you see a set of lines such as:
# x=value
# y=$(x)\something
#
# the final value for y will be value\something
#
# Normaly all you will need to modify is the first properties, i.e.
# workers.tomcat_home, workers.java_home and ps. Most of the configuration
# is derived from these.
#
# When you are done updating workers.tomcat_home, workers.java_home and ps
# you should have 3 workers configured:
#
# - An ajp12 worker that connects to localhost:8007
# - An ajp13 worker that connects to localhost:8009
# - A jni inprocess worker.
# - A load balancer worker
#
# However by default the plugins will only use the ajp12 worker. To have
# the plugins use other workers you should modify the worker.list property.
#
#

#
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
# workers.tomcat_home=c:\jakarta-tomcat
workers.tomcat_home=c:\jakarta-tomcat-3.2.3

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
# workers.java_home=c:\jdk1.2.2
workers.java_home=c:\jdk1.3.1

#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\
# ps=/

#
#-- ADVANCED MODE 
#-
#

#
#-- DEFAULT worket list --
#-
#
#
# The workers that your plugins should create and work with
#
worker.list=ajp12, ajp13

#
#-- DEFAULT ajp12 WORKER DEFINITION --
#-
#

#
# Defining a worker named ajp12 and of type ajp12
# Note that the name and the type do not have to match.
#
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp12.lbfactor=1

#
#-- DEFAULT ajp13 WORKER DEFINITION --
#-
#

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#   lbfactor must be  0
#   Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize

#
#-- DEFAULT LOAD BALANCER WORKER DEFINITION --
#-
#

#
# The loadbalancer (type lb) workers perform wighted round-robin
# load balancing with sticky sessions.
# Note:
#   If a worker dies, the load balancer will check its state
#once in a while. Until then all work is redirected to peer
#workers.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13


#
#-- DEFAULT JNI WORKER DEFINITION-
#-
#

#
# Defining a worker named inprocess and of type jni
# Note that the name and the type do not have to match.
#
worker.inprocess.type=jni

#
#-- CLASSPATH DEFINITION -
#-
#

#
# Additional class path components.
#
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes

#
# The XML parser provided with Tomcat
#
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar

#
# Tomcat's implementation
#
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar

#
# Javac as available from Java2SE
#
worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar

#
# Setting the command line for tomcat
# Note: The cmd_line 

Re: PWS tomcat problem-UCBUS

2001-07-30 Thread ucbus ucbus


This contains the webclient and web.xml which are specific  to the 
application
*
webclient.properties
***
#*BEGIN CMVC *
#**
#*
#*  Workfile: WebClient/WebClient.properties, v3-java, fmv3
#*  Last update: 01/02/12 13:58:59
#*  SCCS path, id: /home/flowmark/vc/0/3/3/1/s.44 1.7
#*
#**
#*END CMVC *
#*BEGIN COPYRIGHT *
#**
#
#   Licensed Materials - Property of IBM
#   5697-FM3 5655-A96
#   (C) Copyright IBM Corp. 1999, 2001
#   US Government Users Restricted Rights - Use, duplication or
#   disclosure restricted by GSA ADP Schedule Contract
#   with IBM Corp.
#
#**
#*END COPYRIGHT *

# 
=
# Settings for com.ibm.workflow.servlet.client.Main
[Servlet]

# Name of the MQSeries Workflow Domain represented by the Java Agent.
# This property is the name used by the Agent to publish its
# identity. For LOC_LOCATOR you can choose any name.

AgentName=MQWFAGENT

# For the Web Client the usual setting is LOC_LOCATOR - unless there is
# absolutely no chance of setting up an MQSeries Workflow client on the same
# machine as the webserver.
# Alternatively, you can set the configuration ID to be used. If this 
setting
# is present, the locator policy setting will be forced to LOC_LOCATOR.

#AgentLocator=JNDI_LOCATOR
AgentLocator=LOC_LOCATOR
AgentConfiguration=FMC1

# The factory to be used for the initial naming context and the URL
# where Java Agent is bound. These settings are only used when the JNDI
# locator policy is active.

#AgentNamingFactory=com.sun.jndi.cosnaming.CNCtxFactory
#AgentNamingFactory=
#AgentProviderURL=

# This setting changes the behaviour of the servlet when the destroy method
# of the servlet is called. If set to 'true' the servlet logs off all 
currently
# logged on users.
# Destroy is called when either a new version of the servlet is copied into
# the servlet directory or the timeout (a webserver property) has been 
reached.
# The default for this setting is 'true' and should not be changed.

#LogoffOnDestroy=true

# Logging can be enabled or disabled with the following setting. If logfile
# is set to a filename (including path) the logfile will be written into 
this
# file. If Logfile is not set, logging will be turned off.
# Note that you should use only forward slashes when specifying the path 
even
# on non-Unix platforms.

#Logfile=e:/fmcwinnt/cfgs/fmc/log/servlet.log
Logfile=C:/Program Files/MQSeries Workflow/cfgs/fmc1/log/servlet.log

# The next two properties allow to customize the date/time format used when
# the {_Date_} and {_Time_} place holders are substituted. These settings 
are also used
# by the RequestContext.toString( java.util.Calendar ) method which is 
called by the
# DefaultViewer. For valid formats see the documentation of the Java Class
# java.text.SimpleDateFormat.

#DateFormat=dd.MM.
#TimeFormat=HH:mm:ss

# This setting specifies a Java class that can be used to add new commands
# to the servlet and to extend existing commands of the servlet. This class
# must implement the com.ibm.workflow.servlet.client.CommandHandler 
interface.

#CommandHandler=com.ibm.workflow.servlet.sample.CommandHandlerAdapter

# This setting specifies a Java class that is used to create the response
# pages for the commands handled by the Web Client.

#DefaultViewer=com.ibm.workflow.servlet.client.DefaultViewer

# JSPViewer uses JSPs instead of HTML template files

#DefaultViewer=com.ibm.workflow.servlet.client.JSPViewer
DefaultViewer=com.ibm.workflow.servlet.client.JSPViewer
# InternetConnectionViewer mimics the look  feel of the old internet
# connection for IBM FlowMark

#DefaultViewer=com.ibm.workflow.servlet.sample.InternetConnectionViewer

# The following settings are used to specify the MQSeries Workflow 
connection
# that is used by the servlet to start processes standalone without explicit
# logon to MQSeries Workflow. This service can be used from a web page to
# start service processes that are then executed inside a company. No 
separate
# logon is needed for that. When the settings are not present the default
# values are 'STARTER' (UserID), 'PASSWORD' (Password),
# '' (Systemgroup), '' (System).
# The system group and system can also be transferred as hidden fields
# in the data entry form.

#StarterUserID=STARTER
#StarterPassword=password
#StarterSystemGroup=FMCGRP
#StarterSystem=FMCSYS

StarterUserID=STARTER
StarterPassword=password
StarterSystemGroup=FMCGRP1
StarterSystem=FMCSYS1

# 
=
# Settings for the com.ibm.workflow.servlet.sample.CommandHandlerAdapter
[CommandHandlerAdapter]

# MonitorHandler has been integrated into 

PWS tomcat problem-UCBUS

2001-07-28 Thread ucbus ucbus

Could somebody help me on this.
I have IIS and Tomcat on NT4.0 and could configure successfully. Means that 
the examples  example is working fine. However when I am trying to add my 
MQ wOrkflow application as a web application I am getting the following 
error. The web-appliction need to work in separate directory. ANy help in 
this regard is higly appreciated

404- page not found and the isapi log says

[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL
parameter
[jk_uri_worker_map.c (185)]: In k_uri_worker_map_t::uri_worker_map_free,
NULL parameters
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server

Could somebody help me
UCBUS


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp