Sorry. My DOCKER is a Windows version. Iris is Ubuntu.
So it is UBUNTU inside Windows.
- Log in to post comments
Sorry. My DOCKER is a Windows version. Iris is Ubuntu.
So it is UBUNTU inside Windows.
CACHE & IRIS have JDBC drivers as part of the installation.
see this:
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=BGJD_preface
an example for SQLdeveloper using 3rd party JDBC (here DB2) might be a guideline how to proceed
https://www.db2tutorial.com/getting-started/sql-developer-db2/
just tried your line:
My docker is slightly older.
Checked it on Ubuntu server
rcemper@TEST:~$ sudo bash
[sudo] password for rcemper:
root@TEST:~#
root@TEST:~# docker --version
#Docker version 19.03.4, build 9013bf583a
And this one runs on WIN10
>docker --version
Docker version 19.03.4, build 9013bf5
Same result for both of them:
>docker container run -it -p 51773:51773 -p 52773:52773 -p 5001:5001 -p 5000:5000 --name rcc2 --rm store/intersystems/iris-community:2019.3.0.309.0
[WARNING] No init process detected! This container may accumulate zombie processes if run for a long time. Consider using "docker create --init ..." or equivalent.
[INFO] Starting InterSystems IRIS instance IRIS...
[INFO] This copy of InterSystems IRIS has been licensed for use exclusively by:
InterSystems IRIS Community
Copyright (c) 1986-2019 by InterSystems Corporation
Any other use is a violation of your license agreement
Starting IRIS
12/01/19-22:24:43:883 (397) 0 [Generic.Event] Automatically configuring buffers
12/01/19-22:24:43:959 (397) 0 [Generic.Event] Allocated 421MB shared memory: 249MB global buffers, 35MB routine buffers
12/01/19-22:24:43:961 (397) 0 [Crypto.IntelSandyBridgeAESNI] Intel Sandy Bridge AES-NI instructions detected.
12/01/19-22:24:43:975 (397) 0 [WriteDaemon.UsingWIJFile] Using WIJ file: /usr/irissys/mgr/IRIS.WIJ
12/01/19-22:24:43:976 (397) 0 [WriteDaemon.CreatingNewWIJ] Creating a new WIJ file
12/01/19-22:24:45:445 (397) 0 [WriteDaemon.CreatedNewWIJ] New WIJ file created
- - - -
Hi
We used this @ german symposium:
>docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
store/intersystems/iris-community 2019.3.0.309.0 ccc1f07e75b6 2 months ago 1.33GB
>docker run -it -p 51773:51773 -p 52773:52773 -p 5001:5001 -p 5000:5000 -v c:\DockerData\:/data --name rcc2 --rm ccc1f07e75b6
[WARNING] No init process detected! This container may accumulate zombie processes if run for a long time. Consider using "docker create --init ..." or equivalent.
[INFO] Starting InterSystems IRIS instance IRIS...
[INFO] This copy of InterSystems IRIS has been licensed for use exclusively by:
InterSystems IRIS Community
Copyright (c) 1986-2019 by InterSystems Corporation
Any other use is a violation of your license agreement
Starting IRIS
12/01/19-19:13:57:734 (397) 0 [Generic.Event] Automatically configuring buffers
12/01/19-19:13:57:808 (397) 0 [Generic.Event] Allocated 421MB shared memory: 249MB global buffers, 35MB routine buffers
12/01/19-19:13:57:810 (397) 0 [Crypto.IntelSandyBridgeAESNI] Intel Sandy Bridge AES-NI instructions detected.
12/01/19-19:13:57:825 (397) 0 [WriteDaemon.UsingWIJFile] Using WIJ file: /usr/irissys/mgr/IRIS.WIJ
12/01/19-19:13:57:825 (397) 0 [WriteDaemon.CreatingNewWIJ] Creating a new WIJ file
12/01/19-19:13:58:490 (397) 0 [WriteDaemon.CreatedNewWIJ] New WIJ file created
12/01/19-19:13:58:493 (397) 0 [Generic.Event]
Startup of InterSystems IRIS [IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2019.3 (Build 309U) Wed Sep 11 2019 16:20:03 EDT]
in /usr/irissys/bin/
with mgr: /usr/irissys/mgr
with wij: /usr/irissys/mgr/IRIS.WIJ
from: /usr/irissys/mgr/
OS=[Linux], version=[#1 SMP Tue Jul 2 22:58:16 UTC 2019], release=[4.9.184-linuxkit], machine=[x86_64]
nodename=[e3f43e3bfd15].
numasyncwijbuf: 0, swdwrtmax: 0, wijdirectio: off, synctype: 3
System Initialized.
12/01/19-19:13:58:504 (398) 0 [WriteDaemon.Started] Write daemon started.
12/01/19-19:13:59:795 (409) 0 [Database.MountedRW] Mounted database /usr/irissys/mgr/ (SFN
and it works as expected .
But I used no durable feature !!
Thanks for the clarification.
It's a rare chance I might be up at that early time
and if my body is it doesn't mean my brain is too.
the code worked together with the link: ObjectScript Leaderboard
@Dmitry Maslennikov I joined your leaderboard
This is the private leaderboard of Dmitry Maslennikov for Advent of Code 2019.
It seems to be the official one (at least by the well-known names).
is the code the same as last year ???
130669-ab1f69bf
???
Could someone explain to a newcomer what the time is telling me ?
Any local time (lokes like EST) ? or some total ???
--------Part 1-------- --------Part 2-------- Day Time Rank Score Time Rank Score 1 11:37:18 15816 0 11:50:08 14212 0
what is the join code for ObjectScript Leaderboard
I get asked for ??
You can join a private leaderboard by entering its join code here:
You don't have a private leaderboard. You can only have one. You can [Create It] now.
mine is Windows.
I just tried it with the Symposium (Docker, UBUNTU) ==> Community Version + Key
| License Capacity | InterSystems IRIS Community license |
| Customer Name | InterSystems IRIS Community |
| Order Number | 54702 |
| Expiration Date | 10/30/2021 |
| Authorization Key |
8116600000500000500008000084345EF8F2473A5F13003 . . . . . . |
Atelier required a restart but then it worked.
WELL: default in Ubuntu / Docker : firewall off
I fear Red Hat is different. But my last Red Hat is 15 yrs back :-(
My personal decision was to move to Docker because it is really easy after 1/2 day playing with basics.
Hi Udo,
I tried it with my 1 year old Atelier installation.
Setup of a new sever connection.
The test showed me:
.png)
OK so I changed to PASSWORD only
.png)
AND the test worked OK. And access as well..
you either remove the reference to the object
or terminate the process that holds the references.
The added %XML.Adaptor is not active until the related object is closed and a new instance of it is opened again.
check license usage in SMP/Operations
Check CSP Session as well
In Security / Application force authentication not to lose licenses to Unknown user,
It is not to comfortable but may help.
BTW. my preview licenses had all features but NO users. I kicked them as useless.
You are on the right way.
It has to be a SYSTEM DSN.
in win10 clich to start
then click the GEAR symbol
next search for ODBC and you should be there.
OR
search from WINDOWS control panel -> administration -> ODBC data sources (64bit) -> System DSN
sorry. this was done by a PHP developer back in 2008/2009.
the <Caché side was default from the wizard.
I have no idea about the details anymore.
$system.UpgradeAll("",.ERRLOG) may give you a hint on problems.
Studio sticks with dictionary version. If there is a mismatch Studio refuses. And Mgmt Portal only shows Class documentation.
I'm not so familiar with Healthshare: Is there eventually some Read/Only DB involved that blocks Update ?
I think of class... EXTENDS (read/only class), ENSLIB ???
eventually check qualifiers. Do $system.OBJ.ShowQualifiers()
It could be necessary to set some of them by do $system.OBJ.SetQualifier()
Try to run $system.OBJ.UpgradeAll() to catch all namespaces involved
Some namespaces are excluded. %SYS for sure, not so sure about SAMPLES
Great stuff!
just a few years to late for me but good for future projects
I faced a similar issue some years back.
As PHP is so close to web servers I decided to use a WebsService to call the ClassMethod aka Procedure.
It was easy on both ends and I could avoid the ODBC module (at that time only 32bit)
I'd expect better text search in a source control repository.
Anyhow there is either a bug or a setup problem related to your Error msg in Atelier.
Do you have any Windows based PC available to use Studio ?
This routine is mapped to another database, are you sure you want to change it??
No => yes%DIRFULL.INT
reply with NO (default) and you won't change any %*routine if you work from your namespace (RPMS?)
I should learn
to type faster
you use %session.AppTimeout which has a default of 900 (sec).
but SetCookie asks for a Time !
method SetCookie(name As %String, value As %String, expires As %String = "", path As %String = "", domain As %String = "", secure As %Boolean = 0, httpOnlyFlag As %Boolean = 0)
I see from https://stackoverflow.com/questions/13154552/javascript-set-cookie-with-expire-time
what string this might be.
'Mon, 18 Nov 2019 08:50:17 GMT';My assumption - your 900 was just not recognized and the default (=session) was set
BTW.
why don't you use your source control for this type of text search?
just a guess:
with 850 chars length, this looks somewhat oversized.
and the query itself doesn't make much sense:
?query=.*Cache.*
&documents=*.cls,*.java,*.png,*.confluence,*.html,*.mediawiki,*.tracwiki,*.mdtext,*.shtml,*.doc,*.workingsets,*.chromium,*.patch,*.adoc,*.js,*.emof,*.macrodef,*.markdown,*.bmp,*.htpl,*.diff,*.xml,*.bas,*.xmi,*.ico,*.shtm,*.textile,*.twiki,*.ent,*.ecore,*.wsdl,*.ant,*.svg,*.md,*.prefs,*.jpeg,*.json,*.txt,*.int,*.rtn,*.xhtml,*.server,*.csr,*.mod,*.css,*.csp,*.class,*.xsd,*.docx,*.gif,*.log,*.exsd,*.xsl,*.xslt,*.e4xmi,*.mac,*.setup,*.mvb,*.ad,*.asciidoc,*.wml,*.dtd,*.mvi,*.htm,*.jpg,*.inc,*.properties
&max=2147483647
&sys=1
&gen=0
I doubt that you have all those file extensions available in Caché or IRIS
Reduce it to the few useful ones that you konw from Studio:
*.prj,*.mac,*.int,*.mvi,*.inc,*.bas,*.cls,*.csp,*.csr,*.xml,.*js.*.css,*.xsl.*.xsd,*.mvb,*.dfi
I don't trust this line: Set zdh=$zdatetimeh("11/14/2019 15:18:56")
rather use
Set zdh=$zdatetimeh("2015-11-14 15:18:56",3)
to be sure about zdh
by default IRISLIB is always read-only mounted as it holds most of system methods, utilities, compiles, ...
all code that just executes but not changes during runtime and that you should not try to change
differently, IRISSYS holds all dynamic system data that can change during runtime and therefore requires read-write access
As configurations, namespace tables, .....
Though with system management privileges you may change this.
But I'd recommend not to touch it unless you are an in-depth IRIS expert.
SqlComputeOnChange should trigger on INSERT
while it should trigger only if the value is CHANGED by an UPDATE.
If you need recalculation in any case you may use an ordinary Update TRIGGER to adjust your property as you need.