Re: Own Instance number

2023-03-01 Thread Konrad Kubacki via Webobjects-dev


W dniu 2023-03-01 12:15, André Rothe via Webobjects-dev napisał(a):



WOApplication.getAgentID() is not the right thing, .instanceIdKey()
returns only a key. Any other ideas?



You could pass it in "additional command line argument" in instance 
configuration in JavaMonitor, just like all the -Xmx or other -DWO 
arguments, i.e. -DWOAppInstanceNumber 110.
Then, you have available in on Application startup time via system 
properties, System.getProperty("WOAppInstanceNumber")


But - you have to do it manually for each instance.

I can't find to get this number other way - unless you have access to 
Request, beacuase instance number is more wotaskd/javamonitor thing than 
Application property.




Konrad
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: [Tomcat] -Classpath ordering issue

2020-01-28 Thread Konrad Kubacki via Webobjects-dev
T/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/javassist-3.20.0-GA.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-2.9.7.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.12.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.17.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-3.2.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.7.23.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.7.23.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaMemoryAdaptor.framework/Resources/Java/JavaMemoryAdaptor.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/WOOgnl.framework/Resources/Java/WOOgnl.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
WEBINFROOT/CloudManager.woa/Contents/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar

   


  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/kkubacki%40power.com.pl

This email sent to kkuba...@power.com.pl


--
Konrad Kubacki
Starszy Programista - Lider Zespołu Programistów ifirma.pl

IFIRMA SA
ul. Grabiszyńska 241 B
53-234 Wrocław
tel.: +48 71 769 43 00
faks: +48 71 321 00 16

https://www.ifirma.pl

Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy - Krajowego Rejestru Sądowego
KRS: 281947
NIP: PL-898-16-47-572
Kapitał 640 000 zł w pełni opłacony

Ochrona Danych Osobowych
https://www.ifirma.pl/polityka-prywatnosci-i-ochrona-danych-osobowych

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: The WOCommunity slack channel

2016-09-26 Thread Konrad Kubacki

and me kkuba...@power.com.pl


W dniu 27.09.2016 o 03:51, Benjamin Chew pisze:

Me too please!

Thanks,
Ben

On Tue, Sep 27, 2016 at 7:52 AM, Morris, Mark 
mailto:mark.mor...@experian.com>> wrote:


Although unfortunately I can’t get to slack from work, please add
my personal email: ma...@mac.com <mailto:ma...@mac.com>

Thanks!
Mark


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com
<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:

https://lists.apple.com/mailman/options/webobjects-dev/bchew%40smarthealth.com

<https://lists.apple.com/mailman/options/webobjects-dev/bchew%40smarthealth.com>

This email sent to bc...@smarthealth.com
<mailto:bc...@smarthealth.com>




  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/kkubacki%40power.com.pl

This email sent to kkuba...@power.com.pl


--
Konrad Kubacki
Starszy Programista - Lider Zespołu Programistów ifirma.pl

Power Media S.A.
ul. Grabiszyńska 241 B
53-234 Wrocław
tel.: +48 71 769 43 00.
faks: +48 71 321 00 16

http://www.power.com.pl

Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy - Krajowego Rejestru Sądowego
KRS: 281947
NIP: PL-898-16-47-572
Kapitał 640 000 zł w pełni opłacony

Ochrona Danych Osobowych
http://www.power.com.pl/ochrona-danych-osobowych/

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Attachments ??

2016-02-10 Thread Konrad Kubacki



W dniu 10.02.2016 o 13:15, Theodore Petrosky pisze:


if you were to create this, do you think it would be better to select the 
folder, zip it up, upload the zip and then unzip it?

I am flailing around here.



Hi Ted,

If You plan use only HTML features (no flash, ActiveX, etc) and your app 
should work in all browsers, then you *can not* upload whole folders 
(this kind of feature is supported only by Chrome, AFAIK). So - the 
answer is - upload a zip file, then unzip it or do whatever you need.


--
Konrad Kubacki

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: El Capitan

2015-10-02 Thread Konrad Kubacki

No ;)

W dniu 01.10.2015 o 10:47, Mark Wardle pisze:

Are there any problems with El Capitan and eclipse and webobjects?

Mark
  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/kkubacki%40power.com.pl

This email sent to kkuba...@power.com.pl


--
Konrad Kubacki

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse 4.4 support for WOLips

2014-08-01 Thread Konrad Kubacki

Sure, hadn't noticed it's a link to wocomunity repository branch.
For a working and stable version, You should use the Wolfy42 repo 
(https://github.com/Wolfy42/wolips).


W dniu 01/08/14 10:11, Dennis Bliefernicht pisze:

Hello,

On 01.08.2014, at 07:22, Konrad Kubacki  wrote:


Currently, it's DIY (or better: build it yourself, from repository mentioned in 
first mail).

As a side-note: the repository/branch mentioned in the first post doesn’t seem 
to contain the latest changes concerning velocity, wizards and templates. I 
needed to fetch the actual pull request repository state to get the latest 
changes:

git clone https://github.com/wocommunity/wolips.git wolips-4_4
cd wolips-4_4
git fetch origin pull/109/head:eclipse_4_4
git checkout eclipse_4_4

I’ve been running that build (without the now-existing velocity patch, because 
I have no m2e installed currently) for several days now and have not yet 
encountered a single WOLips-related issue in Luna (Eclipse 4.4, even with 
Gradle-based projects); although I should mention I don’t work with components 
very often. Thus far I’d say that this is a really great effort and a good step 
forward for WOLips.

Greetings
Dennis Bliefernicht
  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/kkubacki%40power.com.pl

This email sent to kkuba...@power.com.pl



--
Konrad Kubacki
Starszy Programista - Lider Zespołu Programistów ifirma.pl

Power Media S.A.
ul. Grabiszyńska 241 B
53-234 Wrocław
tel.: +48 71 769 43 00.
faks: +48 71 321 00 16

http://www.power.com.pl

Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy - Krajowego Rejestru Sądowego
KRS: 281947
NIP: PL-898-16-47-572
Kapitał 640 000 zł w pełni opłacony

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse 4.4 support for WOLips

2014-07-31 Thread Konrad Kubacki
Currently, it's DIY (or better: build it yourself, from repository 
mentioned in first mail).


Pascal Robert, do you need any help with adding it to jenkins and 
building official version ?


W dniu 01/08/14 03:18, Ruggentaler, JR pisze:

Is WOLips for Eclipse 4.4 available? Is yes where?

JR

On 7/25/14, 1:13 AM, "Konrad Kubacki"  wrote:


After some fixes disscussed on github, i think it's ready to merge and
build official releases. And with eclipse 4.4 we can say "Hi!" to java 8
development
(not saying that it's fastest eclipse from 4.x family, and the first one
faster than Eclipse 3.7).


W dniu 22/07/14 11:21, Pascal Robert pisze:

Someone submitted a pull request for WOLips so that it works on Eclipse
4.4:

https://github.com/wocommunity/wolips/tree/Wolfy42-eclipse_4_4


--
Konrad Kubacki

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/jr.ruggentaler%40ex
perian.com

This email sent to jr.ruggenta...@experian.com



--
Konrad Kubacki
Starszy Programista - Lider Zespołu Programistów ifirma.pl

Power Media S.A.
ul. Grabiszyńska 241 B
53-234 Wrocław
tel.: +48 71 769 43 00.
faks: +48 71 321 00 16

http://www.power.com.pl

Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy - Krajowego Rejestru Sądowego
KRS: 281947
NIP: PL-898-16-47-572
Kapitał 640 000 zł w pełni opłacony

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse 4.4 support for WOLips

2014-07-24 Thread Konrad Kubacki
After some fixes disscussed on github, i think it's ready to merge and 
build official releases. And with eclipse 4.4 we can say "Hi!" to java 8 
development
(not saying that it's fastest eclipse from 4.x family, and the first one 
faster than Eclipse 3.7).



W dniu 22/07/14 11:21, Pascal Robert pisze:

Someone submitted a pull request for WOLips so that it works on Eclipse 4.4:

   https://github.com/wocommunity/wolips/tree/Wolfy42-eclipse_4_4



--
Konrad Kubacki

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: "Manual" form submission with Ajax.framework

2014-04-22 Thread Konrad Kubacki

W dniu 21/04/14 08:16, Jonathan Miller pisze:

Hi Paul,

I think it should work.  Are you sure something else is going on?

I have a JQuery version of Ajax Framework and I use that script too. 
 I tried using an observer with it and it worked.  Not exactly same as 
Ajax Framework but the observer is observing the original popup button.


You can see sample here: 
http://www.kahalawai.com/cgi-bin/WebObjects/JQueryExample.woa/1/wa/PageAction/SelectPickerPage


Johnny

Hi Johnny, are this JQuery components available to download from 
somewhere? I can't find it anywhere, but I'm in love with it's 
'data-wonder' replacement for inline javascripts.



Konrad
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Multicore server load

2013-04-25 Thread Konrad Kubacki

Hi,

I've set WOAllowsConcurrentRequestHandling to true and thought that with 
this option enabled, WebObjects gonna consume all of my 4 CPU cores.
I checked production server statistics, which shows as: (see the 
picture: http://d.pr/i/qJoH) Yes, i know - the picture shows the load of 
all processes - which my not work in multicore env, but still, there are 
2x more threads of WOApp on core 0.


See threads for one of the application's instances are as follow:
CORE : NUM_THREADS
0 : 41
1 : 12
2 : 13
3 : 14

(done by ps -p PID -L -o psr | sort | uniq -c)

Why it utilizes much more core0? Is there a way to enable better 
consumptions of all the cores? (all but core 0 looks quite lazy at the time)


Konrad
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com