Concurrent Development

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Timo
Posts: 47
Joined: Mon May 31, 2010 9:14 pm
Location: New Zealand
Contact:

Post by Timo »

I'm having the same issue exporting to XML.

There are two different results for "Business Space Version(*.xml)"

1. If you include the .xml extension (e.g. FileName.XML) no file created.

2. If no extension included e.g. FileName then FileName.BSV is created.
(The file name and contents are identical to selecting the .BSV option.)

NB: I did install over the top of the previous demo version which had the same behavior but wasn't concerned as I was waiting for the completed version. (also note: earlier versions did produce XML files)
ACDC
Posts: 1148
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Post by ACDC »

This feature works for me as indicated on a clean demo install using the CRM example.

However I have not tried it out by updating my production system yet
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This is very very strange. The feature works for us as well as for ACDC, but doesn't work for PEFS and Timo. Obviously there must be something on their machines that is different.

PEFS and Timo, could you please include axis.jar explicitly on your CLASSPATH in the AwareIM/bin/setEnv.bat

To do this add the following at the end of the CLASSPATH variable definition:
%AWARE_HOME%\axis.jar;

so that the CLASSPATH ends with this:
...%AWARE_HOME%\*;%CUSTOM_HOME%\*;%AWARE_HOME%\axis.jar;

Then restart Aware IM and try again.

Timo, could you please take a look at the output of the Configuration Tool after XML export doesn't produce anything and check if it's the same output as PEFS reported.
Aware IM Support Team
PEFS
Posts: 207
Joined: Mon Jun 12, 2006 11:25 pm

Post by PEFS »

I will try to do what you suggested...I did notice when I checked the folder structure for my 1513 installation that I DO NOT have a folder called 'CustomJars'.

Does this make any difference? I do have folders for JDK, JBoss, Tomcat and Tomcat\shared\lib
PEFS
Posts: 207
Joined: Mon Jun 12, 2006 11:25 pm

Post by PEFS »

After making the adjustment you suggested it performed the same as TIMOs.

The configuration tool output is below:

INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_US
INFO: Default timezone for machine is America/Indianapolis
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/Indianapolis'
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 loggingThreadInfo = 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.SingleSourceCtrler
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 UIInputAdaptor.QS
TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=UIInputAdaptor.QS.Publisher
TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=Queue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://localhost:9650/
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/defaultinputqueue
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 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/Indianapolis
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/Indianapolis'
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 loggingThreadInfo = 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.Controller
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 Listener UIOutputAdaptor.QS
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.JMSSource Initialisation succeeded for Queue/Topic 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
Successfully created a connection to the server
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 defaultoutputtopic
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/axis/encoding/Base64
at com.bas.shared.data.BinaryResource.toXML(Unknown Source)
at com.bas.shared.domain.configuration.elements.DataPresentationTemplate.toXML(Unknown Source)
at com.bas.shared.domain.configuration.elements.G.toXML(Unknown Source)
at com.bas.shared.domain.configuration.elements.DocTemplatesContainer.L(Unknown Source)
at com.bas.shared.domain.configuration.elements.DomainVersionImpl.toXML(Unknown Source)
at com.bas.uiconfiguration.model.D.A(Unknown Source)
at com.bas.uiconfiguration.command.DomainVersionExportCommand.D(Unknown Source)
at com.bas.uiconfiguration.command.B.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: org.apache.axis.encoding.Base64
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 47 more
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

The only explanation I can think of for this weird behaviour is that you have some other axis.jar file somewhere that gets pulled in instead of the correct one. Can you search your machine for all occurrences of axis.jar?

Is it possible that you have some old version of this file that resides in AwareIM/Tomcat/shared/lib directory?
Aware IM Support Team
PEFS
Posts: 207
Joined: Mon Jun 12, 2006 11:25 pm

Post by PEFS »

Wouldn't that be a problem with the way the software is functioning?

I have my production Aware IM app in the default folder location of C:\AwareIM and the trial version of 5.2 in the following location C:\AwareIM_5_2

Hopefully it is not that I cannot use a different folder name for the installation of the application...can it? I checked my C:\AwareIM and I do have a version of axis.jar present in that installation (it is version 1472)
Timo
Posts: 47
Joined: Mon May 31, 2010 9:14 pm
Location: New Zealand
Contact:

Post by Timo »

I have searched the entire c:\ drive for axis.jar but only found one.

located in C:\AwareIM\Tomcat\shared\lib\
and datetime stamped 08/01/2012 7:31:42pm

NB: I also made the suggested change to the setenv.bat
aware_admin
Site Admin
Posts: 65
Joined: Sun Jan 02, 2005 4:36 am
Contact:

Post by aware_admin »

Timo, is the output of your Configuration Tool the same as that of PEFS?
aware_admin
Site Admin
Posts: 65
Joined: Sun Jan 02, 2005 4:36 am
Contact:

Post by aware_admin »

I think it dawned on me what the problem is. I bet both PEFS and Timo have startupOptions.props file in the AwareIM/bin directory and ACDC doesn't.

PEFS, Timo, could you please add axis.jar after aware.jar in the CONFIG_TOOL_STARTUP variable definition in this file, so it ends like this:

../Tomcat/shared/lib/awareim.jar;../Tomcat/shared/lib/axis.jar; com.bas.uiconfiguration.Application

and restart Aware IM
PEFS
Posts: 207
Joined: Mon Jun 12, 2006 11:25 pm

Post by PEFS »

That corrected it for me. However, if you do not put the .xml extension in the file name it will save as a bsv.
Timo
Posts: 47
Joined: Mon May 31, 2010 9:14 pm
Location: New Zealand
Contact:

Post by Timo »

Yes that fixed the export for me. :)

The files type selector only seems to affect the list of files displayed and not the type of being created.

no matter what you select in "Files of Type:"

The type of file created is determined by the extension on the file name no matter what you select in "Files of Type:"

e.g.
  • FileName => FileName.BSV (i.e. defaults to BSV)
    FileName.BSV => FileName.BSV
    FileName.XML => FileName.BSV
This is not as intuitive as it could be; most other programs generally use the drop down to default/determine the file type being create.
Timo
Posts: 47
Joined: Mon May 31, 2010 9:14 pm
Location: New Zealand
Contact:

Post by Timo »

I have an issue where I can import a Business Space (.BSV), exported from the previous Aware IM version. I can then export and import that as a .BSV file without any trouble... the problem is when I export it as a .XML file then try importing that .XML file.

The error is:
Exception while loading business space version Import error occurred. Please see output of the Configuration Tool for details off the error.
I don't know where the output of the Configuration Tool is. Please point me in the right direction.

I exported a Business Space in both .BSV and .XML formats, I can import the .BSV but not the .XML file. :(
pniehaus
Posts: 29
Joined: Fri Jun 24, 2011 2:36 pm
Location: Netherlands
Contact:

Post by pniehaus »

aware_admin wrote:I think it dawned on me what the problem is. I bet both PEFS and Timo have startupOptions.props file in the AwareIM/bin directory and ACDC doesn't.

PEFS, Timo, could you please add axis.jar after aware.jar in the CONFIG_TOOL_STARTUP variable definition in this file, so it ends like this:

../Tomcat/shared/lib/awareim.jar;../Tomcat/shared/lib/axis.jar; com.bas.uiconfiguration.Application

and restart Aware IM
I still have the non functioning XML export problem.
I do not have a startupOptions.props file in either the server's

Code: Select all

AwareIM/bin
nor in the Config tool's

Code: Select all

C:Program Files\AwareIM\bin
directories.
The server has only one instance of axis.jar (dated 8-1-2012).
Version 5.9
AwareIM Server \ <-- Win7 Configtool
Ubuntu 14.04, MySQL
pniehaus
Posts: 29
Joined: Fri Jun 24, 2011 2:36 pm
Location: Netherlands
Contact:

Post by pniehaus »

OK Found the problem:

The axis.jar file is not included in the ConfigTool distribution for windows. (Or does not get installed)

Found it on the internet and installed it in the

Code: Select all

 \Aware IM Configuration Tool\lib
Export to XML now works.

I am probably breaking something though because the axis.jar I downloaded may not be the correct version (dated ‎11/‎06/‎2009 ‏‎19:35).
Any comments from support? Can I use the axis.jar off the linux server distribution?
Version 5.9
AwareIM Server \ <-- Win7 Configtool
Ubuntu 14.04, MySQL
Post Reply