rennurapps / awareim-resources Goto Github PK
View Code? Open in Web Editor NEWAware IM Application Stack
Home Page: https://github.com/RennurApps/AwareIM-resources
Aware IM Application Stack
Home Page: https://github.com/RennurApps/AwareIM-resources
Oracle OpenJDK 16: Aware IM 8.5 build 2836 server error:
Server unknown error javax/activation/DataSource exiting...
java.lang.NoClassDefFoundError: javax/activation/DataSource
at com.bas.basserver.channels.ChannelManager.startupEntity(Unknown Source)
at com.bas.basserver.domainmanager.DomainManager.A(Unknown Source)
at com.bas.basserver.domainmanager.DomainManager.<init>(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.newcp.ServerStarterECP.K(Unknown Source)
at com.bas.newcp.ServerStarterECP.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
... 6 more
There are processes that appear in the active processes table that are either not timed out or killed by the system. These processes are stored in execution_context database table.
As reported by some developers, this may be the cause various system issues from application performance to a complete server halt.
Forum posts reporting this:
When you assign the 'Do not encode' setting to a Parent attribute, the encoding option is ignored, the attribute is still encoded, and it is generated in the JSON parameter string.
The issue with this is that these Aware IM relationship attributes you may not want exposed or are not required for JSON, but are required for your app configuration.
Form cell Label position
parameter: Above control
ignored in the browser
To Reproduce
In the CRM demo BSV, Customer BO > Personal detail FORM:
Above control
Expected behavior
Labels above the attribute.
Version
The Aware IM 8.2+ control panel server and Tomcat startup fine.
Starting the configuration tool the server throws an internal error:
ERROR: org.openadaptor.adaptor.jms.JMSListener - onMessage: JMSException: [javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.StreamCorruptedException: Inconsistent vector internals [java.io.StreamCorruptedException: Inconsistent vector internals]]
The app won't load in the browser for the same reason.
Similar issues with other software:
This error could be related to the ObjectMessage changes in ActiveMQ starting with versions 5.12.2
and 5.13.0
. Please refer to http://activemq.apache.org/objectmessage.html and AMQ-6013 for more information.
19/02/24:
Tomcat Output:
SEVERE: Servlet [action] in web application [/AwareIM] threw load() exception java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1353)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1165)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2352)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:800)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1317)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1165)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:491)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:473)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:143)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:865)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:805)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4617)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4910)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1983)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1048)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:430)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1661)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:893)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:866)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:917)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
at org.apache.catalina.startup.Catalina.start(Catalina.java:795)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
22/09/23:
Testing Aware IM 8.8 produced a "HTTP Status 500 – Internal Server Error" when trying to load the login url (http://localhost:8080/AwareIM/logonAdmin.jsp).
Aware IM does not generate the JSON parameter string POST request.
Server Output:
ERROR: org.openadaptor.adaptor.jms.JMSListener - onMessage: JMSException: [javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.StreamCorruptedException: Inconsistent vector internals [java.io.StreamCorruptedException: Inconsistent vector internals]]
Java JDK 11 & 13 are incompatible with the current configuration of Aware IM Server v8.4 (and below).
Updates for JDK v8 will end after Jan 2019.
Exposing Services.
Encoding option Do not encode
ignores attributes of the Picture type.
Tested sample CRM app Aware IM 8.4 build 2719.
From the Tomcat log:
ERROR: org.openadaptor.adaptor.jms.JMSListener - onMessage: JMSException: [javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.InvalidClassException: com.bas.shared.domain.configuration.elements.EntityAttributeType; local class incompatible: stream classdesc serialVersionUID = -5293839609179748471, local class serialVersionUID = -4879230575028420537 [java.io.InvalidClassException: com.bas.shared.domain.configuration.elements.EntityAttributeType; local class incompatible: stream classdesc serialVersionUID = -5293839609179748471, local class serialVersionUID = -4879230575028420537]]
Default version of ActiveMQ middleware is 5.8.0
.
Security update in versions 5.12.2 and above makes Aware IM server unable to start up.
Aware IM Server Output: testing ActiveMQ v5.15.0
:
ERROR: org.openadaptor.adaptor.jms.JMSListener - onMessage: JMSException: [javax.jms.JMSException: Failed to build body from content. Serializable class not available to broker. Reason: java.lang.ClassNotFoundException: Forbidden class org.openadaptor.dataobjects.SimpleDataObject! This class is not trusted to be serialized as ObjectMessage payload. Please take a look at http://activemq.apache.org/objectmessage.html for more information on how to configure trusted classes. [java.lang.ClassNotFoundException: Forbidden class org.openadaptor.dataobjects.SimpleDataObject! This class is not trusted to be serialized as ObjectMessage payload. Please take a look at http://activemq.apache.org/objectmessage.html for more information on how to configure trusted classes.]]
When using the file system to store images In the Photo Album sample app, the image is not shown in the album.
Reproduce:
If Photo.DisplayPhoto IS DEFINED AND Photo.FileSystem IS UNDEFINED Then Photo.FileSystem='C:/Photos/'+FILE_NAME(Photo.DisplayPhoto)+'.'+FILE_EXTENSION(Photo.DisplayPhoto)
TWO ERRORS:
When you paste a copied REST service, only the service name is pasted. None of the service configurations are duplicated.
Currently there is a limit of how many items can be exposed by the Service at one time. This can range form anywhere between 10, 25 up to 100 usually.
Aware IM can expose up to 1000 records at a time. This can be set by the the TAKE BEST parameter.
If your database has more than 1000 items, the service will not expose all of the them to the outside.
This is where the pagination feature is required. Expose the items in chunks of 100 for example.
Examples:
https://support.smartbear.com/qacomplete/docs/developer/api/rest/api/reference/paging.html
RESTful API Design: can your API give developers just the information they need?
REST API Design: Filtering, Sorting, and Pagination
Parameter | Type | Description |
---|---|---|
limit | int | If a limit count is given, no more than that many rows will be returned (but possibly less, if the query itself yields fewer rows). |
page | int | This parameter says to skip that many rows before beginning to return rows. If both *page *and *limit *appear, then page rows are skipped before starting to count the limit rows that are returned. The default value is 1. |
orderBy | string | This parameter is used to order your results. If an order is not given, the default order modifiedAt:desc will be applied. |
offset | int |
KendoUI should be upgraded to the latest version by the Awaresoft team.
Release History
When the Content Panel is selected as HTML String and you change Predefined Elements in the Details section, the change is not saved.
E.g. Change 'Logged in user object' RegularUser to SystemSettings object, save and re-open the details again. The settings is back on 'Logged in user object'.
Aware IM currently captures JSON body variables if specified in the business object (BO) attributes.
It does this by reading the JSON payload body and matching it to corresponding attributes.
Request is to have the ability to capture the entire JSON payload body and store it in a separate BO attribute. Preferably in a document type.
Fixed in build 2475.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.