|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
problem configuring WebClient in NT |
« View previous topic :: View next topic » |
Author |
Message
|
venkatesh1976 |
Posted: Thu Dec 19, 2002 5:39 am Post subject: problem configuring WebClient in NT |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi All,
I'm getting the following problem while configuring WebClient.
Even if I remove the # for parameters it says its expecting something.
Error reading configuration file D:\CLIENTCENTRAL\AppServer\WEBCLIENT\web\WEB-INF\WebClient.properties: Encountered "RefreshThreshold" at line 207, column 1.
Was expecting:
"=" ...
com.ibm.workflow.servlet.client.ClientException: Error reading configuration file D:\CLIENTCENTRAL\AppServer\WEBCLIENT\web\WEB-INF\WebClient.properties: Encountered "RefreshThreshold" at line 207, column 1.
Was expecting:
"=" ...
at java.lang.Throwable.(Throwable.java:84)
at java.lang.Exception.(Exception.java:35)
at com.ibm.workflow.servlet.client.ClientException.(ClientException.java:103)
at com.ibm.workflow.servlet.client.ClientException.(ClientException.java:46)
at com.ibm.workflow.servlet.client.ApplicationContextImpl.init(ApplicationContextImpl.java:164)
at com.ibm.workflow.servlet.client.Main.doGet(Main.java:163)
at com.ibm.workflow.servlet.client.Main.doPost(Main.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
Do let me know if I have to set any parameters outside this WebCLient.properties file.
Venki |
|
Back to top |
|
 |
kriersd |
Posted: Thu Dec 19, 2002 10:23 am Post subject: |
|
|
 Master
Joined: 22 Jul 2002 Posts: 209 Location: IA, USA
|
Can you post your Webclient.properties file? This would help! _________________ Dave Krier
IBM WebSphere MQ Workflow V3.4 Solution Designer |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Thu Dec 19, 2002 7:35 pm Post subject: webclient.properties |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi ,
This is the WebClient.properties file.
/*******************************************/
#*BEGIN CMVC *
#**************************************************************************
#*
#* Workfile: WebClient/WebClient.properties, v3-java, fmv3
#* Last update: 01/11/09 10:27:06
#* SCCS path, id: /home/flowmark/vc/0/3/3/1/s.44 1.13
#*
#**************************************************************************
#*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.
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@
@agentConfiguration@
# 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=@servletLogFile@
# 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.yyyy
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
# 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=ADMIN
StarterPassword=silverstream
StarterSystemGroup=FMCGRP
StarterSystem=FMCSYS
# =============================================================================
# Overwrite character encodings
[Encodings]
# Enable the following when using IBM WebSphere V3.5
#cs=ISO-8859-2
# =============================================================================
# Settings for the com.ibm.workflow.servlet.sample.CommandHandlerAdapter
[CommandHandlerAdapter]
# MonitorHandler has been integrated into the core, do not specify here!
#com.ibm.workflow.servlet.sample.HTMLDocHandler = 0
#com.ibm.workflow.servlet.sample.StarterPEAHandler = 1
#com.ibm.workflow.servlet.sample.BasicAuthenticationHandler = 2
#com.ibm.workflow.servlet.sample.AuditTrailHandler = 3
#com.ibm.workflow.servlet.sample.EmailHandler = 4
# =============================================================================
# Settings for the com.ibm.workflow.servlet.client.DefaultViewer
[DefaultViewer]
# The following properties specify which areas of the Web Client should be
# enabled when the Viewer is set to com.ibm.workflow.servlet.client.DefaultViewer.
# This setting is also respected by com.ibm.workflow.servlet.client.JSPViewer.
# If a property is set to true the specified area will be selectable
# from the drop down navigation box. If it is set to false the specified area
# will not be available to the clients. The default is true for all settings.
EnableLists=true
EnableTemplatelists=true
EnableInstancelists=true
EnableWorklists=true
# The following setting specifies if the lists should be refreshed
# automatically after a change. If this setting is turned off only the
# current item is refreshed. New items are not displayed automatically,
# therefore a refresh has to be done manually. This setting is also respected
# by com.ibm.workflow.servlet.client.JSPViewer.
AutoRefresh=false
# The following property defines which page is displayed after the user
# has logged off from the Web Client. The default is to present the
# logon page again. com.ibm.workflow.servlet.client.JSPViewer does not
# use this setting.
PageAfterLogoff={_HTMLDir_}/Logon.html
# The following settings specifies whether a form should be generated from
# the input container in case the HTML template file to start a process
# or an activity does not exist. This setting is also respected by
# com.ibm.workflow.servlet.client.JSPViewer.
GenerateForms=true
# =============================================================================
# Settings for the com.ibm.workflow.servlet.sample.AuditTrailHandler
#[AuditTrail]
# If your database server is on a different machine than the web server you
# must add the DB2 server URL here. The format is server:port and it will
# be used to construct a JDBC URL: "jdbc:db2://<server:port>/<Database>"
DB2Server = CTSINCSISDUD:50000
# MQWF runtime database name, user ID and password of the DB2 user.
Database = FMCDB
DB2User = db2admin
DB2Password= db2admin
# Optional style sheets for the output to produce. Comment out to get raw XML.
#StyleSheetPI = {_HTMLDir_}/xml/xsl/AuditTrail.xsl
#StyleSheetWI = {_HTMLDir_}/xml/xsl/Statistics.xsl
#Reload = false # true = reload style sheet for every report (nice during development)
# =============================================================================
# Settings for the com.ibm.workflow.servlet.sample.EmailHandler
[SMTP]
#Host = localhost # The SMTP host to route transfer emails through
#Address = mqwf@localhost # The UserID to impersonate when sending emails
# =============================================================================
# Settings for the com.ibm.workflow.sample.GroupWorkListHandler
[GroupWorkList]
GroupListName=_GROUPLIST
GroupListOwner=GROUP
QueryThreshold=20
WorkListName=_WORKLIST
RefreshThreshold=5
/********************************************/
Venki |
|
Back to top |
|
 |
vennela |
Posted: Thu Dec 19, 2002 9:29 pm Post subject: absolute guess |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Venky:
This is an absolute guess and if you don't mind trying you may try this.
Change
to
Good luck
Venny |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Thu Dec 19, 2002 11:17 pm Post subject: can u send me the configured WebClient.properties file ? |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
hi vennela,
it doesnt seem to work after i change.
not sure it gives a lexical error for @agentName.
can u send me the working WebClient.properties file ?
I can just check it out.
Venki |
|
Back to top |
|
 |
vennela |
Posted: Thu Dec 19, 2002 11:32 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
My agent stanza looks like this
#AgentLocator=JNDI_LOCATOR
AgentLocator=LOC_LOCATOR
AgentConfiguration=FMC1
I will PM you my web-client properties file
Is this the first time you are configuring a web client?. You shouldn't have any problems if it is the first time and if you follow the steps in the manual.
When are you getting these errors... while configuring or after configuring and changing your properties file. The configuration utility pretty much does all this for us if we supply the right info...
---
Venny |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|