Dmitry Maslennikov · Jul 22, 2019 go to post

I think it would be good to add screenshot like this, to show how to configure memory limits in macOS. In Windows should be quite similar I think.

Dmitry Maslennikov · Jul 17, 2019 go to post

Did you try to set it as is?

There is no way to get duplication as you describe. 

You can check If there is already the same value with $DATA function.

Write $Data(^Data("Athens"))

you can delete all .DS_Store folders and repeat install. This command will delete these folders, which not supposed to be there.

find /Users/Downloads/cache-2018.1.2.309.0su-macx64/ -name '.DS_Store' -delete

There are some reasons why you have those folders, but it is safe to just delete them.

Good to hear that you solved it. Unfortunately, development workflow guide is on the way, yet. But I'm going to do it this month.

First of all, any logging related to this extension goes to Output ObjectScript, so, you maybe can find there errors, or compile log.

Actually, it should compile class and notify about success or errors, just after change and save any class/routine.

Import and compile from explorer, good to use when you have changed many files in the sources folder, by Source Control System for example.

You can also trigger compile from command pallete and with a shortcut Cmd +F7/ Cmd + F7

Could you please create a new issue here. I'll try to help to solve it. I don't have AIX system, but not sure if it could be a problem.

If you see something unexpected, you can try to look at Output for ObjectScript and just main Log, maybe some errors there, which may help to diagnose.

I would not agree with the way of using "in-memory global" instead for logging. It would be easier to have one ClassMethod  Log, which would log everything needed to be logged, it can do it with objects, which would have indexes for future usage, to get faster access. But it can temporarily switch off journalling at all, or just suspend the transaction. In any normal application, any logging should already be centralized. So, it would not add any complexity for an application. But in some cases quite difficult to debug some issues, when you lost some logging because they were rollbacked.

Atom, yes, forgot to add it in the poll.

VSCode can do a lot already, not yet as powerful as Studio in some cases, but has some other features which do not has Studio.

And compile of course one of the first features which was implemented there.

Yes, it should save it locally, if you opened VSCode with folder, so, it should be in src. And it is configurable. You should be able to find log in the Output view, where you have to select ObjectScript in drop-down. Compile logs, you will find there too.

David, thanks for the feedback.

Nothing wrong, explorer does not support editing, and opens files in read-only. You should export it to have local copy, and you'll be able to edit and compile.

But, with the next release I already have editing mode, so your way would work. But this way anyway not recommended.

Dmitry Maslennikov · Jun 25, 2019 go to post

Yes, it is, but in this case, it exceeded connections limit for one license unit and it is even just only 4 in comparing with 25 for ordinary versions.

And I think this message in the log should be changed to be more clear. 

Another issue, here

USER> Write $SYSTEM.License.MaxConnections()
25

25 connections for ordinary version, but Community Edition, has only 4 connections and fails to start more.

And another problem is that reaching connections limit for just one user, changes state of the instance as with warn

root@d5eaa844235c:/# iris list

Configuration 'IRIS'   (default)
        directory:    /usr/irissys
        versionid:    2019.2.0.107.0com
        datadir:      /dur/config
        conf file:    iris.cpf  (SuperServer port = 51773, WebServer = 52773)
        status:       running, since Tue Jun 25 13:00:11 2019
        state:        warn
        product:      InterSystems IRIS

And this state used for HEALTHCHECK of the container, so, this container became as Unhealthy, which means in production such container should be killed, even it is actually in good condition.

$ docker-compose ps
        Name                   Command               State     
---------------------------------------------------------------
jdbc-jpa-rest_iris_1   /iris-main             Up (unhealthy)
Dmitry Maslennikov · Jun 25, 2019 go to post

so, my application.properties

in this case, I have only 4 connections on the server, without any issues with licenses

spring.datasource.driverClassName = com.intersystems.jdbc.IRISDriver
spring.datasource.url = jdbc:IRIS://127.0.0.1:9091/USER
spring.datasource.username = _SYSTEM
spring.datasource.password = 1234
spring.datasource.testOnBorrow = true
spring.datasource.testWhileIdle = true
spring.datasource.timeBetweenEvictionRunsMillis = 60000
spring.datasource.minEvictableIdleTimeMillis = 30000
spring.datasource.validationQuery = SELECT 1
spring.datasource.max-wait = 8000
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.InterSystemsIRISDialect
spring.jpa.hibernate.ddl-auto = create
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false = false
spring.datasource.hikari.maximumPoolSize = 4

Dmitry Maslennikov · Jun 21, 2019 go to post

I don't see any realation between license capacity and how you describe you use it. Is it possible to get some reproducible excerpt which would prove what you said?

I would try two options:

  • Use descendent abstract class, which will redefine some XML related parameters, as needed.
  • SImplify XML Export, and use one or more XSLT files, so, I could transform basic view to some another one or more.

Quite interesting results, Notepad++ got the same place with VSCode. Is anybody can explain what are you doing there?

And somebody checked online editor, could you share the link, please?

I've used gzip compression many years ago. So, don't see any problems.

Does it really matter that documentation mention 32-bit library? Don't think, so. Apache on windows as I know still only 32 bit, that's why it needs a 32-bit version of zlib.

What exactly do you want to achieve? InterSystems products already support compression for any web implementations.

You can switch it on in CSP Gateway settings, and on a server side in session. Look at the documentation.

Dmitry Maslennikov · May 31, 2019 go to post

I think it would be more efficient if you look at a series of articles about mapping globals to classes. So, you'll get some knowledge about how it can be configured. It is varied by different storage strategies.

Next, as Robert mentioned, you have to rebuild your indices. Look at the documentation for the details, how to do it.

Dmitry Maslennikov · May 31, 2019 go to post

Looks like you have a custom SQL Storage. And in this case, you have to have manually defined storage for indexes as well. And only after that, it will build indices.

Dmitry Maslennikov · May 30, 2019 go to post

ZEN page means that it works somewhere outside of your server. $zf calls some executable right on the server, and with some limitations.

So, short answer NO, you can't do it.

It would be better if you would explain why you need it. So, we may help to find you the right way or more to solve it.

Dmitry Maslennikov · May 29, 2019 go to post

If you have only one server for multiple developers, it will be not so easy to make it work very good.

The best way is to use own server by each developer. This tool exports locally to the server, but the developer should have access to those place from their machine. 

Why do not move to Atelier or VSCode? There will much easier to organize work with git