Presentation problem

If you think that something doesn't work in Aware IM post your message here
Post Reply
aanders1977
Posts: 12
Joined: Sat May 05, 2007 12:42 pm

Presentation problem

Post by aanders1977 »

Hi!

I am making progress, as I have now managed to get my business space published on my vps, and almost everything is working as expected.

I am having trouble with my presentations, though. In test mode, everything works fine, but when importing to server and running the queries which launches the different presentations, I only get a red line at the bottom of the screen saying "Unknown system error". I have no idea what causes this, as it works fine locally.

One thing I can think of: I was using norwegian special characters (æøå) in some of the form names, which caused them not to work. I changed the names and they were working fine. But I can't see that my presentations or queries uses any norwegian characters in their names.

My system.log and test.log have not changed today, so I could not find any lead there.

Anders, Norway.
aanders1977
Posts: 12
Joined: Sat May 05, 2007 12:42 pm

Formatting

Post by aanders1977 »

Come to think of another thing which may cause this. My local computer uses Norway and Norwegian as standard location settings. My VPS is using English settings.

The main difference between Norwegian and English settings, is that in Norway we use comma where English speaking countries use period and vice versa. I.e. the number one thousand is displayed as 1.000,00 in Norway and 1,000.00 in England.

When running my BS locally, numbers are displayed "in Norwegian". When running the BS on my VPS, numbers are displayed "in English". Maybe this can cause my problem?

Anyway, AwareIM should support local settings. Most of Europe use the same comma/period system as Norway.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This is unlikely to have been caused by local settings. You need to check the Log Viewer and the output of the Aware IM Server - they will have the clue of what's going (especially the Aware IM Server).

Are you running Linux on the VPS with no GUI?

If so you may need to change the startupAwareIMNoGUI.sh script if you are running an Aware IM build prior to the latest one (966). You will need to add -Djava.awt.headless=true option after java in the script:

$JDK_HOME/bin/java -Xmx96m -Xms20m -Djava.awt.headless=true -cp $CLASSPATH ...
Aware IM Support Team
aanders1977
Posts: 12
Joined: Sat May 05, 2007 12:42 pm

Post by aanders1977 »

aware_support wrote:Are you running Linux on the VPS with no GUI?

If so you may need to change the startupAwareIMNoGUI.sh script if you are running an Aware IM build prior to the latest one (966). You will need to add -Djava.awt.headless=true option after java in the script:

$JDK_HOME/bin/java -Xmx96m -Xms20m -Djava.awt.headless=true -cp $CLASSPATH ...
Yes, I am running Linux with no GUI on the VPS. I've edited the script like you suggested, but that did not help.
aware_support wrote:This is unlikely to have been caused by local settings. You need to check the Log Viewer and the output of the Aware IM Server - they will have the clue of what's going (especially the Aware IM Server).
The Log Viewer says:

Code: Select all

CR41808-1:~/AwareIM/bin# bash logViewer.sh
Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/AwareIM/JDK/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Unknown Source)
        at java.awt.Toolkit.<clinit>(Unknown Source)
        at java.awt.AWTKeyStroke.<clinit>(Unknown Source)
        at javax.swing.ToolTipManager.<init>(Unknown Source)
        at javax.swing.ToolTipManager.<clinit>(Unknown Source)
        at com.bas.logviewer.LogViewerApp.long(Unknown Source)
        at com.bas.logviewer.LogViewerApp.char(Unknown Source)
        at com.bas.logviewer.LogViewerApp.main(Unknown Source)
CR41808-1:~/AwareIM/bin#
When you say you need the output from AwareIM Server, are you thinking of the lines that runs over the screen when starting it?

(This might be a stupid question, but as I said earlier I am completely new to Linux and networking)

Help appreciated.

Anders[/code]
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Yes, can you provide the output of the console window where you start the startAwareIMNOGUI script?
Aware IM Support Team
aanders1977
Posts: 12
Joined: Sat May 05, 2007 12:42 pm

Output

Post by aanders1977 »

Ok, here is the output from the console window:

Code: Select all

TRACE: SimpleComponent OP init complete
TRACE: SimpleComponent TS init complete
TRACE: AbstractWriter TS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSink propsPrefix=OutputAdaptor3.TS
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 OutputAdaptor3.TS
TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=OutputAdaptor3.TS.Publisher
TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=TOPIC
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://localhost:1099/
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMDI_FACTORY=org.jnp.interfaces.NamingContextFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_TOPIC_FACTORY=ConnectionFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_TOPIC=topic/notifouttopic
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.ClientID=null
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.OverrideExistingClientID=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 TopicConnectionFactory.createTopicConnection() returns a class which is an instance of QueueConnection as well as an instance of TopicConnection
INFO: org.openadaptor.adaptor.jms.JMSSink Initialisation succeeded for Queue/Topic notifouttopic
INFO: OutputAdaptor3.Controller linking OS to OP
INFO: OutputAdaptor3.Controller linking OP to TS
INFO: InputAdaptor3.Controller running
INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_US
INFO: Default timezone for machine is Europe/Stockholm
INFO: Property Timer_NOTIF_0.LocaleISOLanguageCode set to 'en'
INFO: Property Timer_NOTIF_0.LocaleISOCountryCode set to 'US'
WARN: Retaining default locale
INFO: Property Timer_NOTIF_0.TimeZone set to 'Europe/Stockholm'
WARN: Retaining default timezone
INFO: Property Timer_NOTIF_0.Logging.LoggingTimeInfo set to 'true'
INFO: Property Timer_NOTIF_0.Logging.LoggingThreadInfo set to 'false'
INFO: Property Timer_NOTIF_0.Logging.LoggingPackageInfo set to 'false'
INFO: Property Timer_NOTIF_0.Logging.RemoteLogSetting set to 'FATAL'
INFO: Checking RemoteLogger
INFO: Logger status=OutputLogger status:   loggingTimeInfo = true loggingThreadInfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]
INFO: Property Timer_NOTIF_0.LogStdout set to 'false'
INFO: Timer_NOTIF_0 creating Controller as instance of com.bas.openadaptor.SingleSourceCtrler
INFO: Timer_NOTIF_0 Initializing Controller
TRACE: Constructing SimpleController
INFO: Timer_NOTIF_0.Controller setting propsPrefix to Timer_NOTIF_0.Controller
INFO: Timer_NOTIF_0.Controller Creating Security Manager
INFO: Timer_NOTIF_0.Controller No Security Policy in use
TRACE: SimpleController Timer_NOTIF_0.Controller init complete
INFO: Timer_NOTIF_0 creating PipelineController as instance of org.openadaptor.adaptor.STPipelineController
INFO: No timeout for component initialization.
TRACE: SimpleComponent TS init complete
TRACE: SimpleComponent QS init complete
TRACE: AbstractWriter QS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSink propsPrefix=Timer_NOTIF_0.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 Timer_NOTIF_0.QS
TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=Timer_NOTIF_0.QS.Publisher
TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=Queue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://localhost:1099/
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMDI_FACTORY=org.jnp.interfaces.NamingContextFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE_FACTORY=ConnectionFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE=queue/notifinqueue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.ClientID=null
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.OverrideExistingClientID=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: InputAdaptor3.Controller - Starting thread for Source QS
INFO: InputAdaptor2.Controller running
INFO: OutputAdaptor3.Controller running
INFO: OutputAdaptor1.Controller running
TRACE: OutputAdaptor3.Controller - Starting thread for Source OS
TRACE: InputAdaptor2.Controller - Starting thread for Source QS
INFO: QS running in listen mode
INFO: OutputAdaptor2.Controller running
TRACE: OutputAdaptor1.Controller - Starting thread for Source OS
INFO: InputAdaptor1.Controller running
INFO: QS running in listen mode
INFO: OS running in callback mode
INFO: OS running in callback mode
TRACE: InputAdaptor1.Controller - Starting thread for Source QS
TRACE: OutputAdaptor2.Controller - Starting thread for Source OS
INFO: QS running in listen mode
INFO: org.openadaptor.adaptor.jms.JMSSource Start processing JMS Queue/Topic notifinqueue
INFO: OS running in callback mode
INFO: org.openadaptor.adaptor.jms.JMSSource Start processing JMS Queue/Topic skinputqueue
INFO: org.openadaptor.adaptor.jms.JMSSource Start processing JMS Queue/Topic defaultinputqueue
TRACE: your JMS vendor implementation of QueueConnectionFactory.createQueueConnection() returns a class which is an instance of TopicConnection as well as an instance of QueueConnection
INFO: org.openadaptor.adaptor.jms.JMSSink Initialisation succeeded for Queue/Topic notifinqueue
INFO: Timer_NOTIF_0.Controller linking TS to QS
INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_US
INFO: Default timezone for machine is Europe/Stockholm
INFO: Property BAS_PostedMessages.LocaleISOLanguageCode set to 'en'
INFO: Property BAS_PostedMessages.LocaleISOCountryCode set to 'US'
WARN: Retaining default locale
INFO: Property BAS_PostedMessages.TimeZone set to 'Europe/Stockholm'
WARN: Retaining default timezone
INFO: Property BAS_PostedMessages.Logging.LoggingTimeInfo set to 'true'
INFO: Property BAS_PostedMessages.Logging.LoggingThreadInfo set to 'false'
INFO: Property BAS_PostedMessages.Logging.LoggingPackageInfo set to 'false'
INFO: Property BAS_PostedMessages.Logging.RemoteLogSetting set to 'FATAL'
INFO: Checking RemoteLogger
INFO: Logger status=OutputLogger status:   loggingTimeInfo = true loggingThreadInfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]
INFO: Property BAS_PostedMessages.LogStdout set to 'false'
INFO: BAS_PostedMessages creating Controller as instance of com.bas.openadaptor.NonTransactionalController
INFO: BAS_PostedMessages Initializing Controller
TRACE: Constructing SimpleController
INFO: BAS_PostedMessages.Controller setting propsPrefix to BAS_PostedMessages.Controller
INFO: BAS_PostedMessages.Controller Creating Security Manager
INFO: BAS_PostedMessages.Controller No Security Policy in use
INFO: Timer_NOTIF_0.Controller running
TRACE: Timer_NOTIF_0.Controller - Starting thread for Source TS
TRACE: SimpleController BAS_PostedMessages.Controller init complete
INFO: BAS_PostedMessages creating PipelineController as instance of org.openadaptor.adaptor.STPipelineController
INFO: TS running in polling mode
INFO: No timeout for component initialization.
TRACE: SimpleComponent OS init complete
TRACE: SimpleComponent QS init complete
TRACE: AbstractWriter QS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSink propsPrefix=BAS_PostedMessages.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 BAS_PostedMessages.QS
TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=BAS_PostedMessages.QS.Publisher
TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=Queue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://localhost:1099/
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMDI_FACTORY=org.jnp.interfaces.NamingContextFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE_FACTORY=ConnectionFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE=queue/skinputqueue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.ClientID=null
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.OverrideExistingClientID=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.createQueueConnection() returns a class which is an instance of TopicConnection as well as an instance of QueueConnection
INFO: org.openadaptor.adaptor.jms.JMSSink Initialisation succeeded for Queue/Topic skinputqueue
INFO: BAS_PostedMessages.Controller linking OS to QS
INFO: BAS_PostedMessages.Controller running
TRACE: BAS_PostedMessages.Controller - Starting thread for Source OS
INFO: OS running in callback mode
log4j:ERROR Could not find value for key log4j.appender.A_TEST
log4j:ERROR Could not instantiate appender named "A_TEST".
'PublicHolidays' property not found in property file


Aware IM, Version 2.3 (Build 965)
Copyright 2002-2007 Awaresoft Pty Ltd

Product ID 3b4950c9e58b5af1006e

This product includes the following software:

1. Java-COM Bridge(Jacob)
   Copyright (c) 1999 Dan Adler, 315 E72 St. NY, NY, 10021, USA. mailto:[email protected]. All rights reserved.

2. Morten Menu
   Copyright (c) 2001-2002, Morten Wang & contributors. All rights reserved.

3. NullSoft Install System
   Copyright (c) 1999-2003 Nullsoft, Inc.

4. Open Adaptor
   Copyright (c) 2001 Public Software Foundation as Trustee. All rights reserved.

5. Jasper Reports
   Copyright (c) 2001-2002 Teodor Danciu [email protected]

6. JGraph - The JFC/Swing Graph Component
   Copyright (c) 2001-2002

7. RetroGuard
   Copyright (c) 2002 Retrologic Systems. All Rights Reserved. Send comments and questions to [email protected].

8. JBoss
   Copyright (c) JBoss Group, LLC2520 Sharondale Dr., Atlanta, GA, 30305, USA, [email protected]

9.JGoodies Looks
Copyright(c) 2001-2005 JGoodies Karsten Lentzsch. All rights reserved.

10.MySQL Connector/J 3.1.12
Copyright(c) MySQL AB.

11.Java Service Wrapper
Copyright(c) 1999, 2005 Tanuki Software Inc.

This product also includes software developed by the Apache Software Foundation (http://www.apache.org/).



Aware IM Server started...
Process status: Aware IM Server: Active and functional
Process status: Not started
Overall status: Aware IM system is active and functional

CR41808-1:~/AwareIM/bin#
Thank you for your prompt reply!

Anders
aanders1977
Posts: 12
Joined: Sat May 05, 2007 12:42 pm

Problem solved

Post by aanders1977 »

I called my Linux experienced friend, which came and helped me with this issue. It seems that my Linux version (Debian), is missing a lot of the files needed for showing presentations. The first file which was missing was libxp.so.6, but after installing it, several other files were also missing and had to be installed. He therefore decided to install the whole package where the file was found.

Additionally we had to change startAwareIMNoGUI.sh as you explained earlier in this thread.

Now everything is working fine. As a bonus pdf-reports also works, even though the installation guide says that they won't work in non-graphical Linux. Don't ask me why, I'm still a NooB at this ;)

Anders
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This is great. The Installation Guide you have is obsolete - there is a new one that corresponds to the latest build. It no longer mentions the PDF limitation. The startup script that is supplied with the latest build includes the "headless" option.

In other words, we found the way around the PDF limitation with a non-graphical Linux systems!
Aware IM Support Team
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

Now PDFs on headless penguins work ? :shock:
:lol: :lol: :lol: I live you guys :lol: :lol: :lol:
Hubertus
Posts: 153
Joined: Sat Feb 11, 2006 2:11 pm
Location: Austria
Contact:

Post by Hubertus »

I am so excited that I didn't even notice when typing live instead of love :roll:
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Thanks, Hubertus, but all credit actually goes to some very knowledgeable customers of ours at the NSW Department of Treasury who found this option.
Aware IM Support Team
christopherb
Posts: 304
Joined: Fri Jun 22, 2007 8:26 pm

Short Date attribute

Post by christopherb »

All,
I have an OB that stores CC information for a customer. I would like the date to allow input of mm/yy as credit card don't have dd associated to them.

I have a couple of ideas but before I dive into that I thought I would ask.


Thank you

Chris
christopherb
Posts: 304
Joined: Fri Jun 22, 2007 8:26 pm

Post by christopherb »

oops my bad..... meant to start a new thread
Post Reply