Larry Mills-Gahl | 12 May 20:34 2015
Picon

Re: unable to obtain open database channel

The plot thickens…

I have my main machine back and the openChannel issues are not vexing that setup so I’m digging through config differences to find the culprit.

Oddly though, the connection succeeds in the framework, but not in the app.  I stuck an ERXJDBCConnectionAnalyzer.analyzeConnection() call in the initialize() method of the framework principal class for the framework that holds my EO’s. I do some default group manipulation in initialize(), but but nothing too exotic. 

This is from the end of VAEO8.initialize():

May 12 14:10:41 N/A[N/A] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : JDBC driver and plugin are loaded, trying to connect...
May 12 14:10:41 N/A[N/A] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : adaptor is ...er.extensions.jdbc.ERXJDBCAdaptor <at> 7dad91ce
May 12 14:10:41 N/A[N/A] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : Analyzer connection dictionary...
May 12 14:10:41 N/A[N/A] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : {plugin = "MySQL"; username = “... }
May 12 14:10:41 N/A[N/A] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : target adaptor connection dictionary
May 12 14:10:41 N/A[N/A] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : {plugin = "MySQL"; username = “... }
May 12 14:10:41 N/A[N/A] DEBUG NSLog  - :  connecting with dictionary: {plugin = "MySQL"; username = “... }
May 12 14:10:41 N/A[N/A] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : JDBC connection successful!
May 12 14:10:41 N/A[N/A] INFO  com.vascalert.VAEO8  - : finished VAEO8.initialize()


And this happens when main() (which is called by ERXMainRunner) calls for a new editing context (VAEO8.newEditingContext() returns ERXEC.newEditingContext(objectstorecoordinator for default group)

May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : ===========
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : VACommon
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : [plugin]=>[MySQL]
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : [username]=>[*****]
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : [driver]=>[com.mysql.jdbc.Driver]
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : [password]=>[******]
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : [URL]=>[*******]
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : analyze connection for VACommon...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Checking JDBC connection with information {plugin = "MySQL"; username = “... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Trying to create JDBCAdaptor...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Successfully created adaptor er.extensions.jdbc.ERXJDBCAdaptor
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Trying to create plugin...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG NSLog  - : Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for ERXJDBCAdaptor <at> 671063928
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Created plugin com.webobjects.jdbcadaptor.MySQLPlugIn
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Trying to load JDBC driver com.mysql.jdbc.Driver...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Successfully loaded JDBC driver com.mysql.jdbc.Driver
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : JDBC driver and plugin are loaded, trying to connect...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : adaptor is ...er.extensions.jdbc.ERXJDBCAdaptor <at> 27ff9f78
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : Analyzer connection dictionary...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : {plugin = "MySQL"; username = “... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : target adaptor connection dictionary
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : {plugin = "MySQL"; username = ".... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : JDBCAdaptorException thrown while connecting
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : com.webobjects.jdbcadaptor.JDBCAdaptorException thrown while connecting. message: No connection
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : SQL Exception: null
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : No connection.
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : connection analyzer: er.extensions.jdbc.ERXJDBCConnectionAnalyzer <at> 7f3e93cb
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : Connection dict from analyzer: {plugin = "MySQL"; username = ".... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Checking JDBC connection with information {plugin = "MySQL"; username = ".... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Trying to create JDBCAdaptor...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Successfully created adaptor er.extensions.jdbc.ERXJDBCAdaptor
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Trying to create plugin...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG NSLog  - : Using JDBCPlugIn 'com.webobjects.jdbcadaptor.MySQLPlugIn' for ERXJDBCAdaptor <at> 1700345264
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Created plugin com.webobjects.jdbcadaptor.MySQLPlugIn
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Trying to load JDBC driver com.mysql.jdbc.Driver...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : Successfully loaded JDBC driver com.mysql.jdbc.Driver
May 12 14:10:46 VascAlertAdmin_201505_02[54109] INFO  er.transaction.adaptor.ConnectionAnalyzer  - : JDBC driver and plugin are loaded, trying to connect...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : adaptor is ...er.extensions.jdbc.ERXJDBCAdaptor <at> 655935b0
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : Analyzer connection dictionary...
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : {plugin = "MySQL"; username = ".... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : target adaptor connection dictionary
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG er.transaction.adaptor.ConnectionAnalyzer  - : {plugin = "MySQL"; username = ".... }
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : JDBCAdaptorException thrown while connecting
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : com.webobjects.jdbcadaptor.JDBCAdaptorException thrown while connecting. message: No connection
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : SQL Exception: null
May 12 14:10:46 VascAlertAdmin_201505_02[54109] ERROR er.transaction.adaptor.ConnectionAnalyzer  - : No connection.
May 12 14:10:46 VascAlertAdmin_201505_02[54109] DEBUG com.vascalert.VAEO8  - : analysis for VACommon complete


I’ve been stepping through in the eclipse debugger looking for changed values or contexts but haven’t been able to find anything yet. Does anybody have other suggestions how I can see what has changed between the first call to analyzeConnection and the second one? I’m beginning to think that is the issue here. 




Larry Mills-Gahl






On May 8, 2015, at 3:24 PM, Chuck Hill <chill <at> gevityinc.com> wrote:

public String toString() {
return “42”;
}



On 2015-05-08, 11:30 AM, "Hugi Thordarson" wrote:

No more info in the exception or stack trace? What DB are you using and are you sure the JDBC-driver is in the classpath?

There’s a class by Chuck in Wonder called ERXJDBCConnectionAnalyzer. I haven’t used it but it looks like you should be able to just construct an instance by passing in the model name, and then wait for it to tell you about life, universe and everything.

- hugi




On 8. maí 2015, at 18:12, Larry Mills-Gahl <elemgee <at> gmail.com> wrote:
I had a video card die on Monday and I’m working on a backup computer now and am having an problem with some of the launch configurations in eclipse.
On most of my launch configurations, I have trouble with EODatabaseContext unable to obtainOpenChannel
In logging out the connection dictionary, it appears identical between the configs that work and the ones that don’t
Does anybody have other options to investigate or is this really a connection dictionary issue (that I just haven’t found yet)
Larry Mills-Gahl
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
Wonder-disc mailing list


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
_______________________________________________
Wonder-disc mailing list


Attachment (smime.p7s): application/pkcs7-signature, 5584 bytes
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Larry Mills-Gahl | 8 May 20:12 2015
Picon

unable to obtain open database channel

I had a video card die on Monday and I’m working on a backup computer now and am having an problem with some of the launch configurations in eclipse.

On most of my launch configurations, I have trouble with EODatabaseContext unable to obtainOpenChannel

In logging out the connection dictionary, it appears identical between the configs that work and the ones that don’t 

Does anybody have other options to investigate or is this really a connection dictionary issue (that I just haven’t found yet)



Larry Mills-Gahl






Attachment (smime.p7s): application/pkcs7-signature, 5584 bytes
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Raghavender Bokka | 9 Apr 15:34 2015

Application not launching when upgraded Project Wonder version to 6.1.3

Hi Team,

We have upgraded Project Wonder frameworks from 5.4 to 6.1.3 version. And the application is built using
Java 1.6 version and also the server environment is having Java 1.6 version.

When we tried to launch the application, it is loading all the classpath jars but not launching the
application. No errors are generated, the following is the launch log:

--------------------------------------------------------------------------------------
Reading UNIXClassPath.txt ...
Launching Solar.woa ...
java -DWORootDirectory="/opt/Apple" -DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Local/Library/WebObjects/Applications/SOLARBASECODE/APPLICATION_MAINTENANCE_SCRIPTS"
-DWOEnvClassPath="" -DWOApplicationClass=Application -DWOPlatform=UNIX
-Dcom.webobjects.pid=564 -server -Xms512m -Xmx1024m -classpath WOBootstrap.jar
com.webobjects._bootstrap.WOBootstrap -WOPort 5009 -Config SolarTAdmin -EOAdaptorDebugEnabled
false -IsReportMillLicenseInstalled true -WOHost 192.168.1.49 -WOSMTPHost 192.168.1.10
-WOOutputPath /opt/Apple/Local/Library/WebObjects/Applications/SOLARBASECODE/APPLICATION_LOGS/04.09.2015_log/Solardd
Loading /opt/Apple/Local/Library/WebObjects/Applications/SOLARBASECODE/APPLICATION_BUILD/Ironfistproduction/IronfistProduction-SOLARAdmin/Solar.woa/Contents/UNIX/UNIXClassPath.txt
Generated classpath: 
  /opt/Apple/Local/Library/WebObjects/Applications/SOLARBASECODE/APPLICATION_BUILD/Ironfistproduction/IronfistProduction-SOLARAdmin/Solar.woa/Contents/Resources/Java/
  /opt/Apple/Local/Library/WebObjects/Applications/SOLARBASECODE/APPLICATION_BUILD/Ironfistproduction/IronfistProduction-SOLARAdmin/Solar.woa/Contents/Resources/Java/solar.jar
  /opt/Apple/Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar
  /opt/Apple/Library/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar
  /opt/Apple/Library/Frameworks/AjaxLook.framework/Resources/Java/AjaxLook.jar
  /opt/Apple/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/junit-4.10.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.17.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.7.10.jar
  /opt/Apple/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.7.10.jar
  /opt/Apple/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
  /opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
  /opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
  /opt/Apple/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
  /opt/Apple/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar
  /opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
  /opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
  /opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-ext-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/AppleJavaExtensions-1.2.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jeuclid-mathviewer-3.1.9.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/xml-apis.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/xml-apis-1.3.04.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-discovery.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-lang-2.4.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/activation.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/logkit-1.0.1.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-parser-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-dom-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-ps-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/ReportMill12.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/ojdbc14.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/wsdl4j-1.5.1.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-logging-1.0.4.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-logging.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-xml-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-tests-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/html2image-0.9.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jeuclid-fop-3.1.9.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphics2d-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-css-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/poi-3.6-20091214.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-util-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/log4j-1.2.4.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-svggen-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-discovery-0.2.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jeuclid-swt-3.1.9.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphics-base-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-io-2.0.5.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-swf-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jsoup-1.7.1.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-awt-util-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-anim-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/batik-svg-dom-1.7.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/poi30-rm.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/axis.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/axis-ant.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/cron4j-2.2.5.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-io-1.3.1.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/saaj.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/avalon-framework-4.1.2.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jeuclid-cli-3.1.9.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-gif-1.2.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-logging-1.1.1.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jeuclid-core-3.1.9.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/jaxrpc.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/smtp.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/mailapi.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-emf-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/xmlgraphics-commons-1.3.1.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/freehep-graphicsio-pdf-2.1.3.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/ams-fonts-1.0.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/dejavu-fonts-2.29.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/stix-fonts-1.0-beta-2.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/scheduling.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-cli-1.2.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/wsdl4j.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/log4j-1.2.14.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/commons-lang-2.0.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/xml-apis-ext-1.3.04.jar
  /opt/Apple/Local/Library/WebObjects/Extensions/

--------------------------------------------------------------------------------------

Any help would be appreciated.

Thanks,
Raghu.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
Sreenivasulu A | 1 Apr 15:01 2015

Localizable.strings path needs to customizable

Hi Group,

As of now Localizable.strings file needs to place in Resources folder in "Lang".lproj directory under Resources.

But we have a requirement to place these files in one more directory level up, which is shown below:

Resources
  --customerone
     --English.lproj
        --Localizable.strings

  --customertwo
     --English.lproj
        --Localizable.strings

Please let me know, how do we achieve this?


Thanks 
​in advance,​

Sreenivasulu Arveti.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Lon Varscsak | 25 Mar 23:32 2015
Picon

ERXExistsQualifier and IERXChainableQualifier

Any reason that ERXExistsQualifier doesn't implement IERXChainableQualifier?

-Lon
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Mark Gowdy | 20 Mar 21:32 2015
Picon

Apache 2.4 (.7) 'Segmentation fault'

Hi, 

We are deploying on Ubuntu 14.04.2 LTS, so it looks like we have to use Apache 2.4  (Apache/2.4.7)
We have built the correct adaptor, and it pretty much works as expected.

But, after a while, Apache appears to stall.

The apache error log states:
[Fri Mar 20 17:27:57.342752 2015] [:error] [pid 22139:tid 139805346232064] Invalid response!
[Fri Mar 20 17:27:57.342856 2015] [:error] [pid 22139:tid 139805346232064] Request handling error: No instance available
*** Error in `/usr/sbin/apache2': double free or corruption (fasttop): 0x00007f27043bba60 ***
*** Error in `/usr/sbin/apache2': double free or corruption (fasttop): 0x00007f27043bba60 ***
[Fri Mar 20 17:27:59.256651 2015] [core:notice] [pid 7680:tid 139805547931520] AH00051: child pid 22139 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 20 17:28:00.258189 2015] [core:notice] [pid 7680:tid 139805547931520] AH00051: child pid 22138 exit signal Aborted (6), possible coredump in /etc/apache2
[Fri Mar 20 17:28:00.265437 2015] [:error] [pid 22221:tid 139805312661248] WOShmem_unlock(): failed to unlock 872 bytes at 0x3a8: Invalid argument
[Fri Mar 20 17:28:01.259852 2015] [core:notice] [pid 7680:tid 139805547931520] AH00051: child pid 22221 exit signal Segmentation fault (11), possible coredump in /etc/apache2


[Fri Mar 20 18:25:29.212491 2015] [:error] [pid 22250:tid 139805312661248] lock_file_section(): failed to lock (1 attempts): Resource deadlock avoided
[Fri Mar 20 18:25:29.212530 2015] [:error] [pid 22250:tid 139805312661248] ac_readConfiguration: WOShmem_lock() failed. Skipping reading config.

(not sure the last 2 lines are anything to do with it).

To get it working again, I have to completely stop/start apache (a restart doesn’t appear to work).

"WOShmem_unlock()” might implicate the WebObjects adaptor.

Has anyone seen this behaviour before, or know how to fix it?


Thanks in advance,

Mark Gowdy
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
HOUNKPONOU Ronald | 17 Mar 15:28 2015
Picon

Help on Ponder

Hi everyone.

I'm new in WebObjects programming and I'am developing an  authentication and authorization management app.

I have been oriented towards Ponder but the problem is that I do not know how to start with it as there is no documentation. I would like an explanation of the different components of this framework, and also how to use it in my app.

Thank you.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Daniele Corti | 9 Mar 17:22 2015
Picon

ERXGenericRecord call didUpdate on insert object

Hi list,
this is a strange thing, IMHO: I'm extending the ERXGenericRecord in order to perform some logging on Objects changes.

So, I've Overrided, 

public void didUpdate() {}

public void didInsert() {}

public void didDelete(EOEditingContext ec) {}

No problem in implementation, but, when I create a new object, I've noticed that the method didUpdate() is called before didInsert(), so creating an entry in DB, perform an Update log and a Insert log. However, deleting the Record does not call the didUpdate method, just the didDelete.

It is supposed to do this? The didUpdate documentation say:

Called on the object after is has successfully been updated in the database. But the Object is Inserted not Updated, so I don't understand very well the working of this...

Anyway, if this is the normal behavior in EOGenericRecord lifecycle, is there a way to notice that the didUpdate method is called on a inserted object, or another method must be used in order to do this?

Thanks in advance!

Regards,
--
Daniele Corti
--
I DON'T DoubleClick
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Larry Mills-Gahl | 5 Mar 03:04 2015
Picon

ERXExistsQualifier and compound keys in t0

Hello,

I’m having a bit of difficulty with an ERXExistsQualifier and I’m wondering if it isn’t related to a compound key in the first table. The goal is to find unique rows in patientrole that have related rows in the encounter table. That’s a job for the Exists qualifier… (right Aaron?)

The problem is that the last portion of the exists clause  (where the docs say: ...“ and t1.FIRST_TABLE_ID = t0.ID)” is selecting the wrong fields to make that join.

The two tables in question are:
patientrole (centerkey,patientkey,mrn)
encounter(centerkey, patientkey, etc…)

The qualifier code is:

        EOQualifier centerQ = DialysisTreatment.CENTERKEY.is(c.centerkey());
        EOQualifier rangeQ = new ERXAndQualifier(DialysisTreatment.START_TIME.after(start),
                DialysisTreatment.START_TIME.before(end));

        EOQualifier roleQ = new ERXExistsQualifier(new ERXAndQualifier(centerQ,
                rangeQ), PatientRole.DIALYSIS_TREATMENTS_KEY);

The SQL output from this is:

SELECT t0.centerKey, RTRIM(t0.mrn), t0.personKey 
FROM patientrole t0 
WHERE  EXISTS ( 
SELECT exists0.encounterKey 
FROM encounter exists0 
WHERE (exists0.centerKey = ? 
AND (exists0.startTime > ? AND exists0.startTime < ?)
AND exists0.centerKey = t0.personKey # THIS IS THE PROBLEM LINE

The SQL I’m looking for ends with :
AND exists0.centerKey = t0.centerKey


Am I on the right track or should I accomplish this through other means?



Larry Mills-Gahl






------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Larry Mills-Gahl | 23 Jan 02:15 2015
Picon

ERXMigration skipModelNames problem?

Hello,

I have an odd (non-default) setup where I remove a model from the default model group when my EO framework is loaded.

I’m working on some migrations for other models and am finding that that model ends up in the migration queue even though it is listed in er.migration.skipModelNames

I’m working through a couple of break points where ERXMigrator iterates through models and to get through a normal migration, I’m finding that I have to make the skipModelNames.contains() check in some additional places. 

I have a couple questions:

Has anybody else run across this issue?

Does anybody with more detailed knowledge of ERXMigrator see a problem with checking skipModelNames in _buildDependenciesForModel? It looks like that is the place where models are placed in the migrations map and it still works after I removed the other skipModelNames checks that I added in drilling through the stack traces. 

Any thoughts or comments or land mines to avoid?

Larry Mills-Gahl






------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
anon | 5 Jan 00:44 2015
Picon

Re: Class Loader issue

I have everything working fine now. I decided to remove the WebObjects artifacts that were generated by maven. I assume that WoLisp/WebComponent compiler does not play well with maven dependencies. I use maven only outside of eclipse now.

Thank you everyone... :-D


On 04.01.2015 22:25, Chuck Hill wrote:
Good point, that check only looks for files, I never added the directory test.  Are the .class files in the target/classes directories with the proper package/folder structure?

Chuck


On 2015-01-04, 12:30 PM, "anon" wrote:

The three are folders. Are they supposed to be normal jar files? Or am I missing something?
                       
                         File jarFile = new File(jarPath);
                         output.append((jarFile.isFile() ? "    --> Exists\n" : "*** --> Does not Exist!\n"));



On 04.01.2015 21:16, Chuck Hill wrote:
The “Does not exist” might be a cause for concern?  :-)  It appears that where it is looking is not where the files are.


Classpath
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/AjaxExample-6.1.3-SNAPSHOT.woa/Contents/Resources
*** --> Does not Exist!
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/AjaxExample-6.1.3-SNAPSHOT.woa/Contents/WebServerResources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Ajax/Ajax/target/Ajax.framework/Resources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Ajax/Ajax/target/Ajax.framework/WebServerResources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Ajax/Ajax/target/classes
*** --> Does not Exist!
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/test-classes
*** --> Does not Exist!
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/classes
*** --> Does not Exist!

On 2015-01-04, 11:50 AM, "anon" wrote:

Classpath
/home/anon/git/wonder/Frameworks/Core/ERExtensions/build/ERExtensions.framework/Resources/Java
*** --> Does not Exist!
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/AjaxExample-6.1.3-SNAPSHOT.woa/Contents/Resources
*** --> Does not Exist!
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/AjaxExample-6.1.3-SNAPSHOT.woa/Contents/WebServerResources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Ajax/Ajax/target/Ajax.framework/Resources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Ajax/Ajax/target/Ajax.framework/WebServerResources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Ajax/Ajax/target/classes
*** --> Does not Exist!
/home/anon/.m2/repository/wonder/core/ERFoundation/1.0/ERFoundation-1.0.jar
    --> Exists
/home/anon/.m2/repository/wonder/core/ERWebObjects/1.0/ERWebObjects-1.0.jar
    --> Exists
/home/anon/git/wonder/Frameworks/Core/JavaWOExtensions/target/JavaWOExtensions.framework/Resources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Core/JavaWOExtensions/target/JavaWOExtensions.framework/WebServerResources
*** --> Does not Exist!
/home/anon/git/wonder/Frameworks/Core/JavaWOExtensions/target/classes
*** --> Does not Exist!
/home/anon/.m2/repository/com/webobjects/JavaFoundation/5.4.3/JavaFoundation-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaWebObjects/5.4.3/JavaWebObjects-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaXML/5.4.3/JavaXML-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaEOControl/5.4.3/JavaEOControl-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaEOAccess/5.4.3/JavaEOAccess-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaJDBCAdaptor/5.4.3/JavaJDBCAdaptor-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaWOJSPServlet/5.4.3/JavaWOJSPServlet-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/webobjects/JavaWebServicesSupport/5.4.3/JavaWebServicesSupport-5.4.3.jar
    --> Exists
/home/anon/.m2/repository/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar
    --> Exists
/home/anon/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
    --> Exists
/home/anon/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
    --> Exists
/home/anon/.m2/repository/joda-time/joda-time/2.3/joda-time-2.3.jar
    --> Exists
/home/anon/.m2/repository/org/apache/httpcomponents/httpclient/4.3.1/httpclient-4.3.1.jar
    --> Exists
/home/anon/.m2/repository/org/apache/httpcomponents/httpcore/4.3/httpcore-4.3.jar
    --> Exists
/home/anon/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
    --> Exists
/home/anon/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
    --> Exists
/home/anon/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
    --> Exists
/home/anon/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
    --> Exists
/home/anon/.m2/repository/com/google/code/jabsorb/1.2.2/jabsorb-1.2.2.jar
    --> Exists
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/test-classes
*** --> Does not Exist!
/home/anon/git/wonder/Examples/Ajax/AjaxExample/target/classes
*** --> Does not Exist!
/home/anon/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar
    --> Exists


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

Gmane