If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#225 by GregH
Thu Jan 12, 2006 10:23 pm
I am trying to use the client config tool. When I click on the configuration tool the batch file runs but I never connect.

Here is the logs from the batch file that is running.


C:\Program Files\Aware IM Configuration Tool\bin>rem This file starts the Config
uration Tool.

C:\Program Files\Aware IM Configuration Tool\bin>rem Make sure that you start Aw
are IM server before starting Configuration Tool

C:\Program Files\Aware IM Configuration Tool\bin>if "Windows_NT" == "Windows_NT"
title Configuration Tool

C:\Program Files\Aware IM Configuration Tool\bin>call setenvClient.bat

C:\Program Files\Aware IM Configuration Tool\bin>rem This is a batch file for se
tting classpath when Configuration Tool is running

C:\Program Files\Aware IM Configuration Tool\bin>rem on a separate machine from
the Aware IM Server

C:\Program Files\Aware IM Configuration Tool\bin>set JDK_HOME=..\jdk

C:\Program Files\Aware IM Configuration Tool\bin>set AWARE_HOME=..\lib

C:\Program Files\Aware IM Configuration Tool\bin>SET CLASSPATH=..\jdk\lib\tools.
jar;..\lib\jnp-client.jar;..\lib\jnet.jar;..\lib\jboss-common-client.jar;..\lib\
jbossmq-client.jar;..\lib\jboss-j2ee.jar;..\lib\servlet-api.jar;..\lib\jsp-api.j
ar;..\lib\concurrent.jar;..\lib\openAdaptor.jar;..\lib\jgraph.jar;..\lib\jasperr
eports-0.5.0.jar;..\lib\xerces.jar;..\lib\commons-digester.jar;..\lib\commons-co
llections.jar;..\lib\commons-beanutils.jar;..\lib\itext-0.96.jar;..\lib\log4j-1.
2.8.jar;..\lib\regexp.jar;..\lib\jacob.jar;..\lib\commons-logging.jar;..\lib\jha
ll.jar;..\docs\help.jar;..\lib\looks-1.3.1.jar;..\lib\awareim.jar;

C:\Program Files\Aware IM Configuration Tool\bin>..\jdk\bin\java -cp ..\jdk\lib\
tools.jar;..\lib\jnp-client.jar;..\lib\jnet.jar;..\lib\jboss-common-client.jar;.
.\lib\jbossmq-client.jar;..\lib\jboss-j2ee.jar;..\lib\servlet-api.jar;..\lib\jsp
-api.jar;..\lib\concurrent.jar;..\lib\openAdaptor.jar;..\lib\jgraph.jar;..\lib\j
asperreports-0.5.0.jar;..\lib\xerces.jar;..\lib\commons-digester.jar;..\lib\comm
ons-collections.jar;..\lib\commons-beanutils.jar;..\lib\itext-0.96.jar;..\lib\lo
g4j-1.2.8.jar;..\lib\regexp.jar;..\lib\jacob.jar;..\lib\commons-logging.jar;..\l
ib\jhall.jar;..\docs\help.jar;..\lib\looks-1.3.1.jar;..\lib\awareim.jar; com.ba
s.uiconfiguration.Application
INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_US
INFO: Default timezone for machine is America/Chicago
INFO: Property UIInputAdaptor.LocaleISOLanguageCode set to 'en'
INFO: Property UIInputAdaptor.LocaleISOCountryCode set to 'US'
WARN: Retaining default locale
INFO: Property UIInputAdaptor.TimeZone set to 'America/Chicago'
WARN: Retaining default timezone
INFO: Property UIInputAdaptor.Logging.LoggingTimeInfo set to 'true'
INFO: Property UIInputAdaptor.Logging.LoggingThreadInfo set to 'false'
INFO: Property UIInputAdaptor.Logging.LoggingPackageInfo set to 'false'
INFO: Property UIInputAdaptor.Logging.RemoteLogSetting set to 'FATAL'
INFO: Checking RemoteLogger
INFO: Logger status=OutputLogger status: loggingTimeInfo = true loggingThreadI
nfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]
INFO: Property UIInputAdaptor.LogStdout set to 'false'
INFO: UIInputAdaptor creating Controller as instance of com.bas.openadaptor.Sing
leSourceCtrler
INFO: UIInputAdaptor Initializing Controller
TRACE: Constructing SimpleController
INFO: UIInputAdaptor.Controller setting propsPrefix to UIInputAdaptor.Controller

INFO: UIInputAdaptor.Controller Creating Security Manager
INFO: UIInputAdaptor.Controller No Security Policy in use
TRACE: SimpleController UIInputAdaptor.Controller init complete
INFO: UIInputAdaptor creating PipelineController as instance of org.openadaptor.
adaptor.STPipelineController
INFO: No timeout for component initialization.
TRACE: SimpleComponent IS init complete
TRACE: SimpleComponent QS init complete
TRACE: AbstractWriter QS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSink propsPrefix=UIInputAdaptor.QS
TRACE: org.openadaptor.adaptor.jms.JMSSink RetryLimit=-1
TRACE: org.openadaptor.adaptor.jms.JMSSink RetryDelay=100000
TRACE: org.openadaptor.adaptor.jms.JMSSink MessageType=Object
INFO: org.openadaptor.adaptor.jms.JMSSink Initialising JMS Queue/Topic UIInputAd
aptor.QS
TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=UIInputAdaptor.QS.Pu
blisher
TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=Queue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://65.99.19
7.58:1099/
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMDI_FACTORY=org.jnp.interfaces.
NamingContextFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE_FACTORY=ConnectionFact
ory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE=queue/defaultinputqueu
e
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.ClientID=null
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.OverrideExistingClient
ID=false
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.Transacted=true
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.DeliveryMode=2
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.Priority=5
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.TimeToLive=0
TRACE: org.openadaptor.adaptor.jms.JMSPublisher - establishing JMS connection
TRACE: your JMS vendor implementation of QueueConnectionFactory.createQueueConne
ction() returns a class which is an instance of TopicConnection as well as an in
stance of QueueConnection
INFO: org.openadaptor.adaptor.jms.JMSSink Initialisation succeeded for Queue/Top
ic defaultinputqueue
INFO: UIInputAdaptor.Controller linking IS to QS
INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_US
INFO: Default timezone for machine is America/Chicago
INFO: Property UIOutputAdaptor.LocaleISOLanguageCode set to 'en'
INFO: Property UIOutputAdaptor.LocaleISOCountryCode set to 'US'
WARN: Retaining default locale
INFO: Property UIOutputAdaptor.TimeZone set to 'America/Chicago'
WARN: Retaining default timezone
INFO: Property UIOutputAdaptor.Logging.LoggingTimeInfo set to 'true'
INFO: Property UIOutputAdaptor.Logging.LoggingThreadInfo set to 'false'
INFO: Property UIOutputAdaptor.Logging.LoggingPackageInfo set to 'false'
INFO: Property UIOutputAdaptor.Logging.RemoteLogSetting set to 'FATAL'
INFO: Checking RemoteLogger
INFO: Logger status=OutputLogger status: loggingTimeInfo = true loggingThreadI
nfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]
INFO: Property UIOutputAdaptor.LogStdout set to 'false'
INFO: UIOutputAdaptor creating Controller as instance of org.openadaptor.adaptor
.SimpleController
INFO: UIOutputAdaptor Initializing Controller
TRACE: Constructing SimpleController
INFO: UIOutputAdaptor.Controller setting propsPrefix to UIOutputAdaptor.Controll
er
INFO: UIOutputAdaptor.Controller Creating Security Manager
INFO: UIOutputAdaptor.Controller No Security Policy in use
TRACE: SimpleController UIOutputAdaptor.Controller init complete
INFO: UIOutputAdaptor creating PipelineController as instance of org.openadaptor
.adaptor.STPipelineController
INFO: No timeout for component initialization.
TRACE: SimpleComponent QS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSource propsPrefix=UIOutputAdaptor.QS
TRACE: org.openadaptor.adaptor.jms.JMSSource RetryLimit=-1
TRACE: org.openadaptor.adaptor.jms.JMSSource RetryDelay=100000
INFO: org.openadaptor.adaptor.jms.JMSSource Initialising JMS Queue/Topic Listene
r UIOutputAdaptor.QS
TRACE: your JMS vendor implementation of TopicConnectionFactory.createTopicConne
ction() returns a class which is an instance of QueueConnection as well as an in
stance of TopicConnection
INFO: org.openadaptor.adaptor.jms.JMSSource Initialisation succeeded for Queue/T
opic defaultoutputtopic
TRACE: SimpleComponent SFP init complete
TRACE: SimpleComponent RRP init complete
TRACE: SimpleComponent OS init complete
TRACE: AbstractWriter OS init complete
INFO: UIOutputAdaptor.Controller linking QS to SFP
INFO: UIOutputAdaptor.Controller linking SFP to RRP
INFO: UIOutputAdaptor.Controller linking RRP to OS
INFO: UIInputAdaptor.Controller running
TRACE: UIInputAdaptor.Controller - Starting thread for Source IS
INFO: UIOutputAdaptor.Controller running
TRACE: UIOutputAdaptor.Controller - Starting thread for Source QS
INFO: IS running in callback mode
INFO: QS running in listen mode
INFO: org.openadaptor.adaptor.jms.JMSSource Start processing JMS Queue/Topic def
aultoutputtopic
TRACE: org.openadaptor.adaptor.jms.JMSListener - closing JMS connection
TRACE: org.openadaptor.adaptor.jms.JMSListener - connection.stop()
TRACE: org.openadaptor.adaptor.jms.JMSListener - consumer.close()
TRACE: org.openadaptor.adaptor.jms.JMSListener - consumer.close: JMSException: [
javax.jms.JMSException: The subscription had not been previously registered]
TRACE: org.openadaptor.adaptor.jms.JMSListener - consumer.close: JMSException: [
- during cleanup after - JMSException: javax.jms.JMSException: The provided su
bscription does not exist]
TRACE: org.openadaptor.adaptor.jms.JMSListener - session.close()
TRACE: org.openadaptor.adaptor.jms.JMSListener - connection.close()
ERROR: org.openadaptor.adaptor.jms.JMSSource PublishException org.openadaptor.ad
aptor.jms.PublishException: org.openadaptor.adaptor.jms.JMSListener - close() fa
iled with JMSException: javax.jms.JMSException: The subscription had not been pr
eviously registered
- during cleanup after - JMSException: javax.jms.JMSException: The provided su
bscription does not exist
INFO: org.openadaptor.adaptor.jms.JMSSource Retry [=1] reconnecting to JMS Queue
/Topic
TRACE: org.openadaptor.adaptor.jms.JMSListener - closing JMS connection
TRACE: your JMS vendor implementation of TopicConnectionFactory.createTopicConne
ction() returns a class which is an instance of QueueConnection as well as an in
stance of TopicConnection

Then after about 5 or 10 minutes this error message pops up.

Initialisation error
Exception initializing document: com.bas.connectionserver.server.a:null

Information
I am trying to connect to a server that is hosted in a datacenter with AwareIM installed on it.

#227 by aware_support
Thu Jan 12, 2006 11:29 pm
Before running the Aware IM server hosted on the data centre you need to replace references to the localhost in the BASServer.props file to the network name of your host - please refer to section 6.2 of the Installation Guide. Did you do this?

If not, please shutdown the Aware IM server on the host, open the BASServer.props file located in the BIN directory of the Aware IM installation on the host with any text editor and replace all occurrences of "localhost" with the network name of your host machine.

Best Regards

#230 by GregH
Fri Jan 13, 2006 12:41 am
#Fri Jan 18 12:55:08 PST 2002
SystemPort=9000
ChannelTypeSK=com.bas.basserver.channels.SocketChannelType
ChannelTypeMail=com.bas.basserver.channels.EmailChannelType
ChannelTypeTimer=com.bas.basserver.channels.TimerChannelType
ChannelTypeURL=com.bas.basserver.channels.URLChannelType
ChannelTypeWebServices=com.bas.basserver.channels.WebServicesChannelType
ReplyTopic=topic/skoutputtopic
RequestQueue=queue/skinputqueue
LocalTopic=topic/defaultoutputtopic
LocalQueue=queue/defaultinputqueue
NotificationOutTopic=topic/notifouttopic
NotificationInQueue=queue/notifinqueue
DirectoryService=org.jnp.interfaces.NamingContextFactory
DirectoryServiceProvider=jnp://**.**.***.**:1099/
JMSFactory=ConnectionFactory
DriverClassName=org.apache.derby.jdbc.EmbeddedDriver
DriverURL=jdbc:derby:BASDB;create=true
DriverTestURL=jdbc:derby:BASDBTEST;create=true
DatabaseName=BASDB
DatabaseNameTest=BASDBTEST
DatabaseComponent=com.bas.basserver.persistence.dbplugins.CloudscapeInterface
DatabaseDirectory=../DATA
StartRange=1
EndRange=100000
Hub=true
MaxNmbOfRepeats=1000
MaxNmbOfRepeatsWithoutChange=50
SessionTimeout=3600000
UIProcessTimeout=1800000
DocumentEngines=com.bas.basserver.documents.JasperReportsEngine,com.bas.basserver.documents.MSWordDocumentEngine,com.bas.basserver.documents.TextDocumentEngine,com.bas.basserver.documents.HtmlDocumentEngine,com.bas.basserver.documents.MSExcelDocumentEngine
AwaresoftHost=**.**.***.**
AwaresoftPort=8080

Copy of my Server file. **.***.***.** represent a public IP address.

I have setup both the client and the server files with the same settings.

#231 by aware_support
Fri Jan 13, 2006 3:09 am
The file seems OK.

It looks like for some reason JBoss on the host server is unhappy in your LAN environment. Could you please try the following:

1) Re-start Aware IM on the host server - it might just fix the problem
2) When the problem happens on the client - get the output of JBoss server and Aware IM server and send it to us (you can view the output in the Aware IM Control Panel)

Are you running the Configuration Tool inside or outside the firewall (if you have one)? Is it possible that some of the ports are blocked for the machine where you are running the Configuration Tool?

The following ports need to be un-blocked:
1098, 1099, 4444, 1101, 8080, 9000, 5001, 3732-3764, 8005, 8009, 8090-8092

#232 by aware_support
Fri Jan 13, 2006 4:27 am
We have reproduced exactly this problem when we tried to run the Configuration Tool outside the firewall. There is no problem when the Configuration Tool is inside the firewall or there is no firewall at all.

So the problem is definitely related to the ports blockage. You can either try to unblock the ports or run the Configuration Tool inside the firewall.

If you can't do any of this, you will need to run and test your applications locally and then upload them to the host. You can upload the BSV file with your application from a browser when running any Aware IM application powered by Aware IM on the host - just make sure that you include the action of the "Publish business space version" type in the menu of your application (in visual perspective). Or if you have access to the host you can take the BSV file to the host and publish it there using the Configuration Tool running on the host locally.

Best Regards

#233 by GregH
Fri Jan 13, 2006 6:19 pm
I have disabled Windows firewall on the Host server. No other firewall is installed.

If I am working from my home lan which is behind a firewall that is NAT 'ed and trying to access the Host server that is at a datacenter but has no firewall on a public IP do I need unblock those same ports on my home lan? If so are those TCP or UDP ports?

#234 by aware_support
Fri Jan 13, 2006 10:11 pm
Yes, you do need to allow access to the ports at home. All ports are TCP ports.

I suggest you try to turn off the firewall at home first for a short while and try to connect to the host to make sure everything is unblocked on the host side. Then turn the firewall back on and try unblocking individual ports.

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 25 guests