Re: WAR Deployment Paths
Hi! Help anybody how to solve this problem!!! WebRep Overall rating WebRep Overall rating 2014/1/1 Ron X ron.x.by...@gmail.com actually after that: in deployment mode i have http://localhost:8080/ERROR/NOT_FOUND/app=myapp/filename=CS_logo_big.png and in development mode i have http://localhost:8080/myapp/WebObjects/myapp.woa/wr?wodata=ERROR_NOT_FOUND_framework_*null*_filename_CS_logo_big.png WebRep Overall rating WebRep Overall rating 2013/12/31 Henrique Prange hpra...@gmail.com Ron, The application has to load web server resources from inside the JAR files. You can use this [1] custom WOResourceRequestHandler to do this. You must also register the custom request handler in your application constructor: if (isDirectConnectEnabled()) { registerRequestHandler(new JarResourceRequestHandler(), _wr_); if (ERXApplication.isWO54()) { registerRequestHandler(new JarResourceRequestHandler(), wr); } } [1]https://gist.github.com/hprange/1068523 Cheers, Henrique On 26/12/2013, at 21:01, Ron X ron.x.by...@gmail.com wrote: sorry path was: http://localhost:8080/WebObjects/myapp.woa/ WebServerResources/images/x.jpg WebRep Overall rating WebRep Overall rating 2013/12/27 Ron X ron.x.by...@gmail.com Hello! I need to make WAR-file with out-off-the-box settings. When I set in web.xml deployment I have an error with the paths: my app in Jetty: http://localhost:8080/myapp/WebObjects/myapp.woa/ but no resources was loaded (images, css) firebug shows: no image found at http://localhost:8080/WebObjects/myapp.woa/ how can i set true paths in the deployment mode? i do not use any webserver - i need to make deployment into jetty with war-file without any externals. thanks! ___ 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/hprange%40gmail.com This email sent to hpra...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Deployment WAR problem
Hello! after deployment I have runtime exception: Problem accessing /ronxapp/WebObjects/ronxapp.woa. Reason: Can't find application bundle. You can either define WOROOT, LOCALROOT and WOAINSTALLROOT as Java system properties (e.g. in your application server's launch script as command line arguments) or in the application Deployment Descriptor file (web.xml). Caused by: javax.servlet.UnavailableException: Can't find application bundle. You can either but actually i setted this properties in web.xml ! ___ 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
WAR Deployment Paths
Hello! I need to make WAR-file with out-off-the-box settings. When I set in web.xml deployment I have an error with the paths: my app in Jetty: http://localhost:8080/myapp/WebObjects/myapp.woa/ but no resources was loaded (images, css) firebug shows: no image found at http://localhost:8080/WebObjects/myapp.woa/ how can i set true paths in the deployment mode? i do not use any webserver - i need to make deployment into jetty with war-file without any externals. thanks! ___ 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: WAR Deployment Paths
sorry path was: http://localhost:8080/WebObjects/myapp.woa/WebServerResources/images/x.jpg WebRep Overall rating WebRep Overall rating 2013/12/27 Ron X ron.x.by...@gmail.com Hello! I need to make WAR-file with out-off-the-box settings. When I set in web.xml deployment I have an error with the paths: my app in Jetty: http://localhost:8080/myapp/WebObjects/myapp.woa/ but no resources was loaded (images, css) firebug shows: no image found at http://localhost:8080/WebObjects/myapp.woa/ how can i set true paths in the deployment mode? i do not use any webserver - i need to make deployment into jetty with war-file without any externals. thanks! ___ 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: Maven Archetypes Problem
Thanks a lot! How can I see the other properties like WebObjectsVersion, TrueWarSupport, WonderSupport, etc ? Thanks again! WebRep Overall rating WebRep Overall rating 2013/12/20 G Brown gsbr...@umich.edu Hi Ron If you look here: http://maven.wocommunity.org/content/groups/public/archetype-catalog.xml You will see the correct version of archetype-catalog.xml; save that content as archetype-catalog.xml in ~/.m2 I think the wiki documentation is a little old, maybe quite old. I will try to fix it up soon. G Brown gsbr...@umich.edu On Dec 19, 2013, at 1:46 PM, Ron X ron.x.by...@gmail.com wrote: Can you give me a link to it? I've just loaded archetype.xml from wiki and used it as local. Can you describe how you get the servlet archetype? Thanks! WebRep Overall rating WebRep Overall rating 2013/12/18 gsbr...@umich.edu Snapshot? What snapshot? Try with the released version, which is version 2.1 Maybe your archetypes need updating? I just did it and it worked. On Wed, Dec 18, 2013, at 05:52 AM, Ron X wrote: Hello! I have troubles with maven archetype for erxapp+servlet: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Maven Stub Project (No POM) 1 [INFO] [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local - org.objectstyle.woproject.maven2:woapplication-archetype (basic woapplication) 2: local - org.objectstyle.woproject.maven2:woframework-archetype (basic woframework) 3: local - org.objectstyle.woproject.maven2:erxapplication-archetype (wonder application (snapshot)) 4: local - org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (wonder servlet application (snapshot)) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 4 Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/erxapplication-servlet-archetype-2.1-SNAPSHOT.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:37.362s [INFO] Finished at: Wed Dec 18 13:47:58 FET 2013 [INFO] Final Memory: 7M/81M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.objectstyle.woproject.maven2:erxapplication-servlet-archetype:2.1-SNAPSHOT) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Where can i get this artefact? Thanks! ___ 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/gsbrown%40umich.edu This email sent to gsbr...@umich.edu -- gsbr...@umich.edu ___ 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/ron.x.by.su%40gmail.com This email sent to ron.x.by...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Maven Archetypes Problem
And during the mvn clean install i've got: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3.538s [INFO] Finished at: Fri Dec 20 13:07:17 FET 2013 [INFO] Final Memory: 3M/81M [INFO] [ERROR] Failed to execute goal on project myprj: Could not resolve dependencies for project myprj:myprj:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: wonder.core:ERExtensions:jar:wo54:6.1, wonder.core:WOOgnl:jar:wo54:6.1: Failure to find wonder.core:ERExtensions:jar:wo54:6.1 in http://maven.wocommunity.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of wocommunity has elapsed or updates are forced - [Help 1] WebRep Overall rating WebRep Overall rating 2013/12/20 Ron X ron.x.by...@gmail.com Thanks a lot! How can I see the other properties like WebObjectsVersion, TrueWarSupport, WonderSupport, etc ? Thanks again! WebRep Overall rating WebRep Overall rating 2013/12/20 G Brown gsbr...@umich.edu Hi Ron If you look here: http://maven.wocommunity.org/content/groups/public/archetype-catalog.xml You will see the correct version of archetype-catalog.xml; save that content as archetype-catalog.xml in ~/.m2 I think the wiki documentation is a little old, maybe quite old. I will try to fix it up soon. G Brown gsbr...@umich.edu On Dec 19, 2013, at 1:46 PM, Ron X ron.x.by...@gmail.com wrote: Can you give me a link to it? I've just loaded archetype.xml from wiki and used it as local. Can you describe how you get the servlet archetype? Thanks! WebRep Overall rating WebRep Overall rating 2013/12/18 gsbr...@umich.edu Snapshot? What snapshot? Try with the released version, which is version 2.1 Maybe your archetypes need updating? I just did it and it worked. On Wed, Dec 18, 2013, at 05:52 AM, Ron X wrote: Hello! I have troubles with maven archetype for erxapp+servlet: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Maven Stub Project (No POM) 1 [INFO] [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local - org.objectstyle.woproject.maven2:woapplication-archetype (basic woapplication) 2: local - org.objectstyle.woproject.maven2:woframework-archetype (basic woframework) 3: local - org.objectstyle.woproject.maven2:erxapplication-archetype (wonder application (snapshot)) 4: local - org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (wonder servlet application (snapshot)) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 4 Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/erxapplication-servlet-archetype-2.1-SNAPSHOT.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:37.362s [INFO] Finished at: Wed Dec 18 13:47:58 FET 2013 [INFO] Final Memory: 7M/81M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.objectstyle.woproject.maven2:erxapplication-servlet-archetype:2.1-SNAPSHOT) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Where can i get this artefact? Thanks! ___ Do not post admin requests to the list
Re: Maven Archetypes Problem
Sorry, I solve that proplem by removing wonder.classifier, and build was successful But at this moment I have problem to build project in WOLips: it fails and therefore I can not start the project inside eclipse in development mode. WebRep Overall rating WebRep Overall rating 2013/12/20 Ron X ron.x.by...@gmail.com And during the mvn clean install i've got: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3.538s [INFO] Finished at: Fri Dec 20 13:07:17 FET 2013 [INFO] Final Memory: 3M/81M [INFO] [ERROR] Failed to execute goal on project myprj: Could not resolve dependencies for project myprj:myprj:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: wonder.core:ERExtensions:jar:wo54:6.1, wonder.core:WOOgnl:jar:wo54:6.1: Failure to find wonder.core:ERExtensions:jar:wo54:6.1 in http://maven.wocommunity.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of wocommunity has elapsed or updates are forced - [Help 1] WebRep Overall rating WebRep Overall rating 2013/12/20 Ron X ron.x.by...@gmail.com Thanks a lot! How can I see the other properties like WebObjectsVersion, TrueWarSupport, WonderSupport, etc ? Thanks again! WebRep Overall rating WebRep Overall rating 2013/12/20 G Brown gsbr...@umich.edu Hi Ron If you look here: http://maven.wocommunity.org/content/groups/public/archetype-catalog.xml You will see the correct version of archetype-catalog.xml; save that content as archetype-catalog.xml in ~/.m2 I think the wiki documentation is a little old, maybe quite old. I will try to fix it up soon. G Brown gsbr...@umich.edu On Dec 19, 2013, at 1:46 PM, Ron X ron.x.by...@gmail.com wrote: Can you give me a link to it? I've just loaded archetype.xml from wiki and used it as local. Can you describe how you get the servlet archetype? Thanks! WebRep Overall rating WebRep Overall rating 2013/12/18 gsbr...@umich.edu Snapshot? What snapshot? Try with the released version, which is version 2.1 Maybe your archetypes need updating? I just did it and it worked. On Wed, Dec 18, 2013, at 05:52 AM, Ron X wrote: Hello! I have troubles with maven archetype for erxapp+servlet: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Maven Stub Project (No POM) 1 [INFO] [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local - org.objectstyle.woproject.maven2:woapplication-archetype (basic woapplication) 2: local - org.objectstyle.woproject.maven2:woframework-archetype (basic woframework) 3: local - org.objectstyle.woproject.maven2:erxapplication-archetype (wonder application (snapshot)) 4: local - org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (wonder servlet application (snapshot)) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 4 Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/erxapplication-servlet-archetype-2.1-SNAPSHOT.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:37.362s [INFO] Finished at: Wed Dec 18 13:47:58 FET 2013 [INFO] Final Memory: 7M/81M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.objectstyle.woproject.maven2:erxapplication-servlet-archetype:2.1-SNAPSHOT) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR
Application Class Error
I have strange error during the build: 2013-12-20 14:22:02.103:INFO::No Transaction manager found - if your webapp requires one, please configure one. java.lang.NoSuchMethodException: com.connexsphere.app.Application.setup([Ljava.lang.String;) at java.lang.Class.getMethod(Class.java:1605) at er.extensions.jspservlet.ERXServletAdaptor.invokeApplicationSetupMethod(ERXServletAdaptor.java:52) at er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:65) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) but actually I have this class inside the package! ___ 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
Error starting WO-app created from archetype
Hello! I have strange error during the start of application: No loader: /Users/esuser/Documents/xprj/conn/target/classes:/Users/esuser/.m2/repository/wonder/core/ERExtensions/6.1/ERExtensions-6.1.jar:/Users/esuser/.m2/repository/wonder/core/ERFoundation/1.0/ERFoundation-1.0.jar:/Users/esuser/.m2/repository/wonder/core/ERWebObjects/1.0/ERWebObjects-1.0.jar:/Users/esuser/.m2/repository/wonder/core/JavaWOExtensions/6.1/JavaWOExtensions-6.1.jar:/Users/esuser/.m2/repository/com/webobjects/JavaXML/5.4.3/JavaXML-5.4.3.jar:/Users/esuser/.m2/repository/com/webobjects/JavaEOControl/5.4.3/JavaEOControl-5.4.3.jar:/Users/esuser/.m2/repository/com/webobjects/JavaJDBCAdaptor/5.4.3/JavaJDBCAdaptor-5.4.3.jar:/Users/esuser/.m2/repository/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar:/Users/esuser/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/Users/esuser/.m2/repository/org/slf4j/slf4j-api/1.6.3/slf4j-api-1.6.3.jar:/Users/esuser/.m2/repository/joda-time/joda-time/1.6.2/joda-time-1.6.2.jar:/Users/esuser/.m2/repository/org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar:/Users/esuser/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/esuser/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/esuser/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar:/Users/esuser/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar:/Users/esuser/.m2/repository/wonder/core/ERServlet/1.0/ERServlet-1.0.jar:/Users/esuser/.m2/repository/wonder/core/WOOgnl/6.1/WOOgnl-6.1.jar:/Users/esuser/.m2/repository/ognl/ognl/2.6.7/ognl-2.6.7.jar:/Users/esuser/.m2/repository/wonder/core/ERPrototypes/6.1/ERPrototypes-6.1.jar:/Users/esuser/.m2/repository/com/webobjects/JavaWebObjects/5.4.3/JavaWebObjects-5.4.3.jar:/Users/esuser/.m2/repository/com/webobjects/JavaEOAccess/5.4.3/JavaEOAccess-5.4.3.jar:/Users/esuser/.m2/repository/com/webobjects/JavaWOJSPServlet/5.4.3/JavaWOJSPServlet-5.4.3.jar:/Users/esuser/.m2/repository/com/webobjects/JavaFoundation/5.4.3/JavaFoundation-5.4.3.jar:/Users/esuser/.m2/repository/wonder/businesslogic/ERAttachment/6.1/ERAttachment-6.1.jar:/Users/esuser/.m2/repository/com/drewnoakes/metadata-extractor/2.6.2/metadata-extractor-2.6.2.jar:/Users/esuser/.m2/repository/com/adobe/xmp/xmpcore/5.1.2/xmpcore-5.1.2.jar:/Users/esuser/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar:/Users/esuser/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/esuser/.m2/repository/org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.jar:/Users/esuser/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar:/Users/esuser/.m2/repository/mysql/mysql-connector-java/5.1.27/mysql-connector-java-5.1.27.jar [2013-12-20 14:56:30 FET] main A fatal exception occurred: null [2013-12-20 14:56:30 FET] main java.lang.NullPointerException at er.extensions.foundation.ERXConfigurationManager.commandLineArgumentProperties(ERXConfigurationManager.java:168) at er.extensions.foundation.ERXConfigurationManager.applyConfiguration(ERXConfigurationManager.java:306) at er.extensions.foundation.ERXConfigurationManager.loadConfiguration(ERXConfigurationManager.java:287) at er.extensions.ERXExtensions.finishInitialization(ERXExtensions.java:252) at er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588) at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532) at er.extensions.appserver.ERXApplication.init(ERXApplication.java:1146) at com.conn.app.Application.init(Application.java:23) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at com.webobjects.appserver.WOApplication.main(WOApplication.java:547) at com.conn.app.Application.main(Application.java:19) ___ 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
Error at start with KeyValue
Hello! I have 2 projects: 1st - in WO-style structure 2nd - the copy of 1st but in maven structure using archetype 1st prj starts using eclipse-wolips perfectly 2nd got an error Error: com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '[com.webobjects.appserver.WOComponent name: Login subcomponents: null valueForKey()]: lookup of unknown key: 'username'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name username or _username, nor a method of the name username, _username, getUsername, or _getUsername' object 'com.webobjects.appserver.WOComponent name: Login subcomponents: null ' key 'username' Reason: [com.webobjects.appserver.WOComponent name: Login subcomponents: null valueForKey()]: lookup of unknown key: 'username'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name username or _username, nor a method of the name username, _username, getUsername, or _getUsername and I don't know why it is strange for me because of the projects are the same! Could anybody help me? Thanks! ___ 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: Maven Archetypes Problem
But I need servlet support to create war Therefore I used erxapplication-selvlet-archetype WebRep Overall rating WebRep Overall rating 2013/12/20 gsbr...@umich.edu Hi Ron, This is wrong: wonder.core:ERExtensions:jar:wo54:6.1 I think it is caused by you having a value for wonder.classifierwo54/wonder.classifier Remove the value (edit the pom.xml) . Also, you are using an erxapplication-servlet-archetype, correct? Then you are trying to use that in eclipse? and get an error? I have 2 projects: 1st - in WO-style structure 2nd - the copy of 1st but in maven structure using archetype 1st prj starts using eclipse-wolips perfectly 2nd got an error Error: com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '[com.webobjects.appserver.WOComponent name: Login subcomponents: null valueForKey()]: lookup of unknown key: 'username'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name username or _username, nor a method of the name username, _username, getUsername, or _getUsername' object 'com.webobjects.appserver.WOComponent name: Login subcomponents: null ' key 'username' Reason: [com.webobjects.appserver.WOComponent name: Login subcomponents: null valueForKey()]: lookup of unknown key: 'username'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name username or _username, nor a method of the name username, _username, getUsername, or _getUsername I think what you want is a erxapplication-archetype (wonder application (snapshot)) project. That is similar to the Wonder application you can create with eclipse. You should be able to build and run your project from the command line. Then import your maven project into eclipse for debugging. On Dec 20, 2013, at 5:16 AM, Ron X wrote: And during the mvn clean install i've got: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3.538s [INFO] Finished at: Fri Dec 20 13:07:17 FET 2013 [INFO] Final Memory: 3M/81M [INFO] [ERROR] Failed to execute goal on project myprj: Could not resolve dependencies for project myprj:myprj:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: wonder.core:ERExtensions:jar:wo54:6.1, wonder.core:WOOgnl:jar:wo54:6.1: Failure to find wonder.core:ERExtensions:jar:wo54:6.1 in http://maven.wocommunity.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of wocommunity has elapsed or updates are forced - [Help 1] -- gsbr...@umich.edu ___ 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: Maven Archetypes Problem
Can you give me a link to it? I've just loaded archetype.xml from wiki and used it as local. Can you describe how you get the servlet archetype? Thanks! WebRep Overall rating WebRep Overall rating 2013/12/18 gsbr...@umich.edu Snapshot? What snapshot? Try with the released version, which is version 2.1 Maybe your archetypes need updating? I just did it and it worked. On Wed, Dec 18, 2013, at 05:52 AM, Ron X wrote: Hello! I have troubles with maven archetype for erxapp+servlet: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Maven Stub Project (No POM) 1 [INFO] [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local - org.objectstyle.woproject.maven2:woapplication-archetype (basic woapplication) 2: local - org.objectstyle.woproject.maven2:woframework-archetype (basic woframework) 3: local - org.objectstyle.woproject.maven2:erxapplication-archetype (wonder application (snapshot)) 4: local - org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (wonder servlet application (snapshot)) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 4 Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/erxapplication-servlet-archetype-2.1-SNAPSHOT.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:37.362s [INFO] Finished at: Wed Dec 18 13:47:58 FET 2013 [INFO] Final Memory: 7M/81M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.objectstyle.woproject.maven2:erxapplication-servlet-archetype:2.1-SNAPSHOT) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Where can i get this artefact? Thanks! *___* 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/gsbrown%40umich.edu This email sent to gsbr...@umich.edu -- gsbr...@umich.edu ___ 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/ron.x.by.su%40gmail.com This email sent to ron.x.by...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Maven
Hi to all! I have some problems with maven I could not resolve: [ERROR] Unresolveable build extension: Plugin org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1 or one of its dependencies could not be resolved: Failed to collect dependencies for org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:jar:2.2.1 (): Failed to read artifact descriptor for org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:jar:2.2.1: Could not transfer artifact org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:pom:2.2.1 from/to wocommunity (http://maven.wocommunity.org/content/groups/public): Error transferring file: maven.wocommunity.org: Unknown host maven.wocommunity.org- [Help 2] Internen connection is stable and works fine ___ 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
Maven Archetypes Problem
Hello! I have troubles with maven archetype for erxapp+servlet: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Maven Stub Project (No POM) 1 [INFO] [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: local - org.objectstyle.woproject.maven2:woapplication-archetype (basic woapplication) 2: local - org.objectstyle.woproject.maven2:woframework-archetype (basic woframework) 3: local - org.objectstyle.woproject.maven2:erxapplication-archetype (wonder application (snapshot)) 4: local - org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (wonder servlet application (snapshot)) Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 4 Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wocommunity.org/content/groups/public-snapshots/org/objectstyle/woproject/maven2/erxapplication-servlet-archetype/2.1-SNAPSHOT/erxapplication-servlet-archetype-2.1-SNAPSHOT.jar [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:37.362s [INFO] Finished at: Wed Dec 18 13:47:58 FET 2013 [INFO] Final Memory: 7M/81M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.objectstyle.woproject.maven2:erxapplication-servlet-archetype:2.1-SNAPSHOT) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Where can i get this artefact? Thanks! ___ 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
WO + MQ
Hi for all! Does anybody work in WONDER with MQ (for instance ActiveMQ)? Does WONDER provides instruments to work with mq? Thanks! ___ 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: Statement running too long
thank u all! it works! (with props of ERXAdaptorChannelDelegate.trace.milliSeconds) WebRep Overall rating WebRep Overall rating 2013/3/26 Chuck Hill ch...@global-village.net See the JavaDocs for ERXAdaptorChannelDelegate On 2013-03-26, at 1:05 AM, Ron X wrote: hi4all! i have a problem: when i execute query in MySQL - everything is good - it performs in ~6s; but when i do it thru EOF i have: java.lang.RuntimeException: Statement running too long at er.extensions.eof. ERXEOAccessUtilities.logExpression(ERXEOAccessUtilities.java:1301) at er.extensions.eof.ERXAdaptorChannelDelegate.adaptorChannelDidEvaluateExpression(ERXAdaptorChannelDelegate.java:81) ... does anybody know where is the property where i van set the default value of timing for queries? thanx! ___ 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/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ 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
Statement running too long
hi4all! i have a problem: when i execute query in MySQL - everything is good - it performs in ~6s; but when i do it thru EOF i have: java.lang.RuntimeException: Statement running too long at er.extensions.eof. ERXEOAccessUtilities.logExpression(ERXEOAccessUtilities.java:1301) at er.extensions.eof.ERXAdaptorChannelDelegate.adaptorChannelDidEvaluateExpression(ERXAdaptorChannelDelegate.java:81) ... does anybody know where is the property where i van set the default value of timing for queries? thanx! ___ 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
_dbupdater
Hi, how can i retrieve value of MODELVERSION of _dbupdater without rawSQL? (smth like EOModelGroup.defaultGroup().models().valueForKeyPath(_dbupdater)... but it doesm't work) Thanx. ___ 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
MySQL Syntax Error
Hi, i use MySQL 5.1 with MySQL Adaptor (Wonder 5.7.1) and mysql-connector 5.1.22 and during the migration i have an error: MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null billingDescriptor VARCHAR(255) NOT NULL' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... Caused by: java.lang.RuntimeException: Failed to execute 'alter table LoggedAction null billingDescriptor VARCHAR(255) NOT NULL'. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null billingDescriptor VARCHAR(255) NOT NULL' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) my code is: loggedActionTable = database.existingTableNamed(LoggedAction.ENTITY_NAME); loggedActionTable.newStringColumn(billingDescriptor, 255, false); why this 'null' appears? any ideas? Thanx. ___ 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
Comments
Hi, how can i comment code in WO-HTML? Thanx. ___ 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
Unable to create page 'Main'
Hello everybody, i have an application, but after rebuild it to Tomcat-application with Wonder i have problem: com.webobjects.appserver.WOPageNotFoundException: com.lsx.Application: Unable to create page 'Main'. at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2346) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:221) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2139) at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2104) at dm.extensions.DMApplication.dispatchRequest(DMApplication.java:115) at com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:131) at com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:727) at com.webobjects.jspservlet.WOServletAdaptor.doPost(WOServletAdaptor.java:695) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) does anybody know what is the problem? thanx. ___ 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
ant problem
hello everybody i have ant build problem under shell starting: org.objectstyle.woproject.ant.WOCompile cannot be found... stack trace but in WOLips when i ran task - everything works fine how can i set up build under console in right way? thanx ___ 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: ant problem
thanx work fine but after ant -lib woproject.jar war - i got war in debug mode... 2012/12/6 Bastian Triller bastian.tril...@gmail.com You need to add the woproject.jar to the commandline options ant -lib woproject.jar ... See http://wiki.wocommunity.org/display/WOL/WOProject-Ant Am 06.12.2012 09:29 schrieb Ron X ron.x.by...@gmail.com: hello everybody i have ant build problem under shell starting: org.objectstyle.woproject.ant.WOCompile cannot be found... stack trace but in WOLips when i ran task - everything works fine how can i set up build under console in right way? thanx ___ 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/bastian.triller%40gmail.com This email sent to bastian.tril...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dev/Deploy
i unchecked in WOLips eclipse -WOIDE WOLips than saw in app.launch file: -WOIDElt;gt;WOLipslt;gt;falselt;gt; - everything seemed to be good, but after launch in eclipse i got debug mode(( 2012/12/6 Ron X ron.x.by...@gmail.com i built woa with maven plugin and have debug(( how can i disable this -DWOIDE=WOLips ? -DWOIDE=NO - will it work? 2012/12/5 John Huss johnth...@gmail.com Inside eclipse when you run it automatically adds an argument: -DWOIDE=WOLips That triggers debug mode. Outside eclipse you won't have the arg, so debug will be off. On Wednesday, December 5, 2012, Ron X wrote: hi! how can i disable debug mode? i want to disable: Log4J D2W CSS Toggle SQL (off) Clear D2W Cache Page Metrics (off) Created keys Localization WOStats Run Test down the page i wrote in WebObjects.properties WODebuggingEnabled = false but nothing happened ___ 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
WOServletAdaptor decompile
hello everybody i have some proplem with WOServletAdaptor i have decompiled it and that put it in my own class. than i ran application, which runs good when use WOServletAdaptor. when use own Adaptor which is a decompiled copy of WOServletAdaptor i get: [2012-12-5 14:16:39 FET] localhost-startStop-1 The bundle LegalSoundsRedesign has malformed version number: NSProperties.NestedProperties.load(): /Users/esuser/WebObjects.properties LegalSoundsRedesign[2012-12-5 14:16:39 FET] localhost-startStop-1 WebObjects version = 5.4.3 No loader: /Users/esuser/Downloads/apache-tomcat-7.0.32/bin/bootstrap.jar:/Users/esuser/Downloads/apache-tomcat-7.0.32/bin/tomcat-juli.jar java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at ___ 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: Dev/Deploy
i built woa with maven plugin and have debug(( how can i disable this -DWOIDE=WOLips ? -DWOIDE=NO - will it work? 2012/12/5 John Huss johnth...@gmail.com Inside eclipse when you run it automatically adds an argument: -DWOIDE=WOLips That triggers debug mode. Outside eclipse you won't have the arg, so debug will be off. On Wednesday, December 5, 2012, Ron X wrote: hi! how can i disable debug mode? i want to disable: Log4J D2W CSS Toggle SQL (off) Clear D2W Cache Page Metrics (off) Created keys Localization WOStats Run Test down the page i wrote in WebObjects.properties WODebuggingEnabled = false but nothing happened ___ 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
Dev/Deploy
hi! how can i disable debug mode? i want to disable: Log4J D2W CSS Toggle SQL (off) Clear D2W Cache Page Metrics (off) Created keys Localization WOStats Run Test down the page i wrote in WebObjects.properties WODebuggingEnabled = false but nothing happened ___ 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
er.extensions.jspservlet.ERXServletAdaptor
hello there! i can't find this class-file. i looked up in ERExtensions-5.7.1.jar, but there is no package er.extensions.jspservlet could anybody say me where this class is located? or maybe source of this class thanx ___ 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
log4j
hello there! tries to set up log4j in tomcat working with WO-app. put log4j.properties into classes directory, and than i have log file with another structure than same in woa-app and it generates only at start. after than in runtime - nothing writes into this file thanx ___ 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
Tomcat Development/Deployment Mode
hello everybody! maybe someone of you faced with a problem of broken links after war-app deployed in Tomcat? i describe the situation: i set property mode in web.xml as Development: every css/js/jpg loaded, everything is good, but the link to it shows long path to the file location; than i set it do Deployment - and links seem to be true - short and correctly points to the real file in /WEB-INF/App.woa/Contents/WebServerResources/main.css, ... etc., BUT all these files NOT loaded to the page... what is the problem? any ideas? thanx. ___ 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
JavaMelody + WebObjects
hello everybody i have successfully deployed war-app with webobjects, but i need to monitor it with javamelody here on their site is simple config for this app - javamelody but i have difficuiltes with configuring web.xml filter filter-namemonitoring/filter-name filter-classnet.bull.javamelody.MonitoringFilter/filter-class /filter filter-mapping filter-namemonitoring/filter-name url-pattern/monitoring/url-pattern /filter-mapping listener listener-classnet.bull.javamelody.SessionListener/listener-class /listener !-- The WebObjects Servlet that interfaces between the Servlet container world and the WebObjects world. -- servlet servlet-nameWOServletAdaptor/servlet-name servlet-classer.extensions.jspservlet.ERXServletAdaptor/servlet-class load-on-startup1/load-on-startup /servlet !-- URLs starting with 'WebObjects' use the WebObjects Servlet adaptor. -- servlet-mapping servlet-nameWOServletAdaptor/servlet-name url-pattern/WebObjects/*/url-pattern /servlet-mapping but if i will tries to change filter or leave as it is - nothing happens; webobject app intercept all requests, but i should'nt be so - because filter should catch request before servlet... thanx for your ideas ___ 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
Servlet Deployment
hello everybody when i deploy an app i stucked with error: [2012-10-26 13:25:51 FET] localhost-startStop-1 The bundle MailApp has malformed version number: NSProperties.NestedProperties.load(): /Users/esuser/WebObjects.properties java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:421) at com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95) at com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1646) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NoClassDefFoundError: dm/directtoweb/DMDApplication at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2904) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:348) at com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:335) at com.webobjects.appserver.WOApplication.primeApplication(WOApplication.java:629) ... 25 more Caused by: java.lang.ClassNotFoundException: dm.directtoweb.DMDApplication at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ... 38 more and i don't understand what does it mean - malformed version - in this context so if anybody have any ideas about this error - tell me please thanx ___ 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: mac os x 10.8.1 xcode 4.4 FAILED try to compile Web_Objects.so
i couldn't access to it: i am only in wo-dev 2012/10/5 Gaastra Dennis - WO Lists webobjects_li...@webappz.com Please look at my email from yesterday: Mountain Lion WO Deployment Package by WEBAPPZ Greetings, Dennis On 02/Oct/12 2:49 PM, Brook, James wrote: I had the same problem. I got the adaptor to compile by manually modifying the /usr/sbin/apxs script. On the lines where 'libtool' is called I added --tag CC to the list of arguments. That's in two places. I am not sure why that is necessary because according to the manual libtool should try to infer the language being compiled for and failing that it should default to the C language (that's what the CC tag is for). I have never had this problem before but today I upgraded to Mountain Lion and installed the latest XCode developer tools. The Mountain Lion upgrade seems to have upgraded Apache files including the apxs script. I assume there must be a better solution to this problem. Any ideas? On Sep 3, 2012, at 1:13 PM, Ron X ron.x.by...@gmail.com wrote: vm-mlion-01:~ esuser$ gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/**llvmgcc42-2336.11~28/src/* *configure --disable-checking --enable-werror --prefix=/Applications/Xcode.**app/Contents/Developer/usr/**llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,**obj-c++ --program-prefix=llvm- --program-transform-name=/^[**cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/**tmp/llvmgcc42/llvmgcc42-2336.** 11~28/dst-llvmCore/Developer/**usr/local --program-prefix=i686-apple-**darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/**include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) 2012/9/3 Johann Werner j...@oyosys.de If you type gcc -v on your command line what output do you get? Am 03.09.2012 um 07:37 schrieb Ron X ron.x.by...@gmail.com: hi! no, have the same problem: vm-mlion-01:~ esuser$ cd Documents/wonder.old/**Utilities/Adaptors/ vm-mlion-01:Adaptors esuser$ ls APPLE_LICENSEInstallationInstructions.html AdaptorMakefile ApacheNSAPI Apache2PB.project Apache2.2WonderReadme.html BuildingInstructions.htmlexample.xml CGImake.config FastCGIwoadaptor.dtd IISwoadaptor.xml vm-mlion-01:Adaptors esuser$ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs cd Apache2.2 ; make /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -Wl, -arch x86_64 -arch i386 -macosx_version_min 10.5 -lm -module mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c /usr/share/apr-1/build-1/**libtool --silent --mode=compile gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c touch mod_WebObjects.slo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_WebObjects.so] Error 1 make: *** [Apache2.2] Error 2 vm-mlion-01:Adaptors esuser$ cd A APPLE_LICENSE Adaptor/ Apache/Apache2/ Apache2.2/ vm-mlion-01:Adaptors esuser$ cd Apache2.2/ vm-mlion-01:Apache2.2 esuser$ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -Wl, -arch x86_64 -arch i386 -macosx_version_min 10.5 -lm -module mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c
ERDControllerButton
hi everybody! i have created new d2w wonder app than i created customization.css with: ( http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control) div.ERDControllerButton { display: block; } add 2 rules ( http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control) - buttonList and branchChoices in the PageWrapper i paste: div id = MenuHeader webobject name = EntitiesMenu / wo:ERDControllerButtonR/wo:ERDControllerButton /div but nothing except R i didn't see - no button like in http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control how can i fix it? thanx ___ 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
Problems with H2 DB
hi i wanna create simple app to check sending mails using H2 DB in memory so i changed propeties to these: dbConnectURLGLOBAL=jdbc:h2:mem:Messages dbConnectDriverGLOBAL=org.h2.Driver and add H2PlugIn to the workspace but i got this exceptions: can anybody help me? WARN 30.4 MB used/50.66 MB free [WorkerThread0] (ERXModelGroup.java:199) - Clearing previous class descriptions DEBUG 32.7 MB used/48.36 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - Using JDBCPlugIn 'com.webobjects.jdbcadaptor._H2PlugIn' for JDBCAdaptor@1571914293 DEBUG 32.98 MB used/48.08 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - Using JDBCPlugIn 'com.webobjects.jdbcadaptor._H2PlugIn' for JDBCAdaptor@819697057 INFO 34.37 MB used/46.7 MB free [WorkerThread0] (ERCAuditTrailHandler.java:84) - Configuration : {} DEBUG 22.88 MB used/58.18 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - Didn't find any JNDI data source. DriverManager.initialize: jdbc.drivers = null JDBC DriverManager initialized registerDriver: driver[className=org.h2.Driver,org.h2.Driver@c77a748] DEBUG 23.19 MB used/57.88 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - Using JDBCPlugIn 'com.webobjects.jdbcadaptor._H2PlugIn' for JDBCAdaptor@59207261 DEBUG 23.49 MB used/57.57 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - connecting with dictionary: {maxConnections = 20; minConnections = 1; connectionRecycle = 1.0; debugLevel = 1; driver = org.h2.Driver; logPath = /tmp/ERXJDBCConnectionBroker_@@name@@_@@WOPort@@.log; maxCheckout = 86400; password = password deleted for log; URL = jdbc:h2:mem:Messages; } DriverManager.getConnection(jdbc:h2:mem:Messages) trying driver[className=org.h2.Driver,org.h2.Driver@c77a748] getConnection returning driver[className=org.h2.Driver,org.h2.Driver@c77a748 ] DEBUG 30.82 MB used/50.25 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - Loading jdbcInfo from H2JDBCInfo.plist as opposed to using the JDBCPlugIn default implementation. DEBUG 31.13 MB used/49.93 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - === Begin Internal Transaction DEBUG 31.13 MB used/49.93 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - Searching for primary key value for ERCMAIL_MESSAG DEBUG 31.13 MB used/49.93 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - evaluateExpression: com.webobjects.jdbcadaptor._H2PlugIn$H2Expression: SELECT PK FROM EO_PK_TABLE WHERE NAME = 'ERCMAIL_MESSAG' FOR UPDATE withBindings: SQLState(42S02) vendor code(42102) WARN 31.76 MB used/49.3 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:43) - WARNING: Unable to find primary key value for ERCMAIL_MESSAG [2012-10-23 14:16:3 FET] WorkerThread0 Table EO_PK_TABLE not found; SQL statement: SELECT PK FROM EO_PK_TABLE WHERE NAME = 'ERCMAIL_MESSAG' FOR UPDATE [42102-167]at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:169) at org.h2.message.DbException.get(DbException.java:146) at org.h2.command.Parser.readTableOrView(Parser.java:4770) at org.h2.command.Parser.readTableFilter(Parser.java:1084) at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1690) at org.h2.command.Parser.parseSelectSimple(Parser.java:1797) at org.h2.command.Parser.parseSelectSub(Parser.java:1684) at org.h2.command.Parser.parseSelectUnion(Parser.java:1527) at org.h2.command.Parser.parseSelect(Parser.java:1515) at org.h2.command.Parser.parsePrepared(Parser.java:405) at org.h2.command.Parser.parse(Parser.java:279) at org.h2.command.Parser.parse(Parser.java:251) at org.h2.command.Parser.prepareCommand(Parser.java:217) at org.h2.engine.Session.prepareLocal(Session.java:415) at org.h2.engine.Session.prepareCommand(Session.java:364) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:164) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:152) at com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:272) at com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337) at com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296) at com.webobjects.jdbcadaptor.JDBCPlugIn.newPrimaryKeys(JDBCPlugIn.java:699) at com.webobjects.jdbcadaptor.JDBCChannel.primaryKeysForNewRowsWithEntity(JDBCChannel.java:586) at com.webobjects.eoaccess.EODatabaseContext._batchNewPrimaryKeysWithEntity(EODatabaseContext.java:5728) at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5711) at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1177) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1100) at dm.legalsounds.DirectAction.defaultAction(DirectAction.java:37) at
Mail Bug
when i wrote an app to check mail i found smth probably bug: EOEditingContext ec = ERXEC.newEditingContext(); ERCMailMessage message = ERCMailDelivery.sharedInstance().composeEmail(ERJavaMail.sharedInstance().adminEmail(), new NSArray(ERJavaMail.sharedInstance().adminEmail()), new NSArray(ERJavaMail.sharedInstance().adminEmail()), null, This is a test, This is the body, ec); ec.saveChanges(); ERMailer.instance().processOutgoingMail(); 430 line NSArray primaryKeyDictionaries = editingContext().objectsWithFetchSpecification(pkFetchSpec); failed with INFO 27.4 MB used/53.66 MB free [WorkerThread0] (ERXDatabaseContextDelegate.java:184) - Database Exception occured: com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodException] Class java.lang.String does not implement method value:java.lang.NoSuchMethodException: Class java.lang.String does not implement method value another thing is that u have property createTables if need - creates tables without IS_READ field in ERCMAIL_MESSAG! this bug broke the sending process another question is does exist possibility to change table names before creation? ___ 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: Mail Trouble
yes, it is: i check Message class - generated body (generateResponce()) 2012/10/17 Pascal Robert prob...@macti.ca And putting JavaMail in debug shows the body or not? Hi everybody in our system we had WebObjects 5.4.3 WONDER 5_0_0 and the same wotaskd and we have mailing delivery for users; but than we moved to WONDER 5.6-SNAPSHOT and same wotaskd and we get strange error-bug - we receive mail with the subject, but without body! than we moved to WONDER 5.7.1 and actuall wotaskd the bug was not disappear! i checked Java-part of application - i check Message class - generated body (generateResponce()) - everything is clear - Message has body in debugger i checked sendmail postfix system in mac os x - i connect by telnet to it and send mail directly - mail had a subject and has a body but thru our application we receive empty mail - with subject and without body does anybody have any ideas - why does it happen? thanx ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: ERMailer
thanx everything is allright 2012/10/15 Flavio Donadio fla...@donadio.com.br Ron, Did you try adding the line below to your project's Properties file (Project - Resources)? er.corebusinesslogic.ERCUseMailFacility=true Cheers, Flavio On 15/10/2012, at 09:01, Ron X wrote: hi4all! when i started this app i've got: ERROR 22.26 MB used/58.8 MB free [main] (Application.java:88) - Caught exception: The application doesn't use the ERCUseMailFacility.You can either set er.corebusinesslogic.ERCUseMailFacility in your properties or better check for that property before trying to compose the email stack: java.lang.RuntimeException: The application doesn't use the ERCUseMailFacility.You can either set er.corebusinesslogic.ERCUseMailFacility in your properties or better check for that property before trying to compose the email what is the property ERCUseMailFacility and how can i set it? thanx! ___ 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/flavio%40donadio.com.br This email sent to fla...@donadio.com.br ___ 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
Mail Trouble
Hi everybody in our system we had WebObjects 5.4.3 WONDER 5_0_0 and the same wotaskd and we have mailing delivery for users; but than we moved to WONDER 5.6-SNAPSHOT and same wotaskd and we get strange error-bug - we receive mail with the subject, but without body! than we moved to WONDER 5.7.1 and actuall wotaskd the bug was not disappear! i checked Java-part of application - i check Message class - generated body (generateResponce()) - everything is clear - Message has body in debugger i checked sendmail postfix system in mac os x - i connect by telnet to it and send mail directly - mail had a subject and has a body but thru our application we receive empty mail - with subject and without body does anybody have any ideas - why does it happen? thanx ___ 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
ERMailer
hi4all! when i started this app i've got: ERROR 22.26 MB used/58.8 MB free [main] (Application.java:88) - Caught exception: The application doesn't use the ERCUseMailFacility.You can either set er.corebusinesslogic.ERCUseMailFacility in your properties or better check for that property before trying to compose the email stack: java.lang.RuntimeException: The application doesn't use the ERCUseMailFacility.You can either set er.corebusinesslogic.ERCUseMailFacility in your properties or better check for that property before trying to compose the email what is the property ERCUseMailFacility and how can i set it? thanx! ___ 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
jboss deployment first d2w application
i do these steps: * in eclipse i choose file - new - wonder d2w application and call it WARTestApp so during deploy i have:* 13:39:49,492 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting de ployment of WARTestApp.war 13:40:30,815 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_cs.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,818 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_de_DE.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 13:40:30,823 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_es.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,825 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_fr.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,828 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_hu.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,830 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_it.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,830 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_ja_JP.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 13:40:30,833 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_ko_KR.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 13:40:30,835 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_pl.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,843 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_pt_BR.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 13:40:30,848 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_ru.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does no t point to a valid jar for a Class-Path reference. 13:40:30,850 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_zh_CN.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 13:40:30,853 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_zh_TW.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 13:40:30,855 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_cs.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derbyclient.jar d oes not point to a valid jar for a Class-Path reference. 13:40:30,855 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_de_DE.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 13:40:30,858 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_es.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derbyclient.jar d oes not point to a valid jar for a Class-Path reference. 13:40:30,860 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_fr.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derbyclient.jar d oes not point to a valid jar for a Class-Path reference. 13:40:30,863 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_hu.jar in /c:/jboss-as-7.1.1.Final/bin/content/WARTestApp.war/WEB-INF/lib/derbyclient.jar d oes not point to a valid jar for a Class-Path reference. 13:40:30,865 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyL ocale_it.jar in
Re: mac os x 10.8.1 xcode 4.4 FAILED try to compile Web_Objects.so
vm-mlion-01:~ esuser$ gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) 2012/9/3 Johann Werner j...@oyosys.de If you type gcc -v on your command line what output do you get? Am 03.09.2012 um 07:37 schrieb Ron X ron.x.by...@gmail.com: hi! no, have the same problem: vm-mlion-01:~ esuser$ cd Documents/wonder.old/Utilities/Adaptors/ vm-mlion-01:Adaptors esuser$ ls APPLE_LICENSEInstallationInstructions.html AdaptorMakefile ApacheNSAPI Apache2PB.project Apache2.2WonderReadme.html BuildingInstructions.htmlexample.xml CGImake.config FastCGIwoadaptor.dtd IISwoadaptor.xml vm-mlion-01:Adaptors esuser$ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs cd Apache2.2 ; make /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -Wl, -arch x86_64 -arch i386 -macosx_version_min 10.5 -lm -module mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c touch mod_WebObjects.slo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_WebObjects.so] Error 1 make: *** [Apache2.2] Error 2 vm-mlion-01:Adaptors esuser$ cd A APPLE_LICENSE Adaptor/ Apache/Apache2/ Apache2.2/ vm-mlion-01:Adaptors esuser$ cd Apache2.2/ vm-mlion-01:Apache2.2 esuser$ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -Wl, -arch x86_64 -arch i386 -macosx_version_min 10.5 -lm -module mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c touch mod_WebObjects.slo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' apxs:Error: Command failed with rc=65536 . make: *** [mod_WebObjects.so] Error 1 2012/8/31 Bastian Triller bastian.tril...@gmail.com hello, haven't tried to build on MacOS yet, but i think something like $ cd $wonder
Re: mac os x 10.8.1 xcode 4.4 FAILED try to compile Web_Objects.so
hi! no, have the same problem: vm-mlion-01:~ esuser$ cd Documents/wonder.old/Utilities/Adaptors/ vm-mlion-01:Adaptors esuser$ ls APPLE_LICENSEInstallationInstructions.html AdaptorMakefile ApacheNSAPI Apache2PB.project Apache2.2WonderReadme.html BuildingInstructions.htmlexample.xml CGImake.config FastCGIwoadaptor.dtd IISwoadaptor.xml vm-mlion-01:Adaptors esuser$ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs cd Apache2.2 ; make /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -Wl, -arch x86_64 -arch i386 -macosx_version_min 10.5 -lm -module mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c touch mod_WebObjects.slo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' apxs:Error: Command failed with rc=65536 . make[1]: *** [mod_WebObjects.so] Error 1 make: *** [Apache2.2] Error 2 vm-mlion-01:Adaptors esuser$ cd A APPLE_LICENSE Adaptor/ Apache/Apache2/ Apache2.2/ vm-mlion-01:Adaptors esuser$ cd Apache2.2/ vm-mlion-01:Apache2.2 esuser$ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -Wl, -arch x86_64 -arch i386 -macosx_version_min 10.5 -lm -module mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c touch mod_WebObjects.slo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' apxs:Error: Command failed with rc=65536 . make: *** [mod_WebObjects.so] Error 1 2012/8/31 Bastian Triller bastian.tril...@gmail.com hello, haven't tried to build on MacOS yet, but i think something like $ cd $wonder/Utilities/Adaptors $ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs could work. Bastian Am Freitag, den 31.08.2012, 18:02 +0300 schrieb Ron X: hi here is the output: bash-3.2$ make Makefile:52: ../Adaptor/make.postamble: No such file or directory make: *** No rule to make target `../Adaptor/make.postamble'. Stop. bash-3.2$ bash-3.2$ make cd Adaptor ; make rm -f make.preamble make.postamble for file in *.c; do \ echo ${file}: ../Adaptor/${file} | sed s/\\.c/.o/ make.postamble ; \ echo ${CC} ${CFLAGS} -c ../Adaptor/${file} make.postamble ; \ echo ${file} \\ make.preamble ; \ done for file in *.c; do \ echo ${file} \\ | sed s/\\.c/.o/ make.preamble ; \ done cd CGI ; make gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c -o WebObjects.o WebObjects.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/MoreURLCUtilities.c gcc -O2 -I../Adaptor
mac os x 10.8.1 xcode 4.4 FAILED try to compile Web_Objects.so
hi here is the output: bash-3.2$ make Makefile:52: ../Adaptor/make.postamble: No such file or directory make: *** No rule to make target `../Adaptor/make.postamble'. Stop. bash-3.2$ bash-3.2$ make cd Adaptor ; make rm -f make.preamble make.postamble for file in *.c; do \ echo ${file}: ../Adaptor/${file} | sed s/\\.c/.o/ make.postamble ; \ echo ${CC} ${CFLAGS} -c ../Adaptor/${file} make.postamble ; \ echo ${file} \\ make.preamble ; \ done for file in *.c; do \ echo ${file} \\ | sed s/\\.c/.o/ make.preamble ; \ done cd CGI ; make gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c -o WebObjects.o WebObjects.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/MoreURLCUtilities.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/Platform.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/WOURLCUtilities.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/WOURLCUtilities_3.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/appcfg.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/cfgparse.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/config.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/hostlookup.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/list.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/listing.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/loadaverage.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/loadbalancing.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/log.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/nbsocket.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/random.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/request.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/response.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/roundrobin.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/shmem.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/strdict.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/strtbl.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/transaction.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/transport.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/wastring.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/womalloc.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/xmlcparser.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlctokenizer.c: In function ‘xmlcTokenizerNextToken’: ../Adaptor/xmlctokenizer.c:265: warning: comparison is always false due to limited range of data type ../Adaptor/xmlctokenizer.c:321: warning: comparison is always false due to limited range of data type ../Adaptor/xmlctokenizer.c: In function ‘xmlcTokenizerNextToken’: ../Adaptor/xmlctokenizer.c:265: warning: comparison is always false due to limited range of data type ../Adaptor/xmlctokenizer.c:321: warning: comparison is always false due to limited range of data type gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -c ../Adaptor/xmlparse.c gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch x86_64 -arch i386 -o WebObjects WebObjects.o MoreURLCUtilities.o Platform.o WOURLCUtilities.o WOURLCUtilities_3.o appcfg.o cfgparse.o config.o hostlookup.o list.o listing.o loadaverage.o loadbalancing.o log.o nbsocket.o random.o request.o response.o roundrobin.o shmem.o strdict.o strtbl.o transaction.o transport.o wastring.o womalloc.o xmlcparser.o xmlctokenizer.o xmlparse.o strip -S WebObjects cd FastCGI ; make gcc -O2 -Wall -I../Adaptor -DSINGLE_THREADED_ADAPTOR
jboss hello world
hi after deploy war of wonder app - i have: (but tld is in the project!) 14:52:34,894 INFO [org.jboss.as.server. deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of HelloWorld.war 14:52:43,820 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_cs.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,822 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_de_DE.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,822 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_es.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,823 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_fr.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,824 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_hu.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,825 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_it.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,826 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ja_JP.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,827 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ko_KR.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,828 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pl.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,828 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pt_BR.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,829 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ru.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,830 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_zh_CN.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,831 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_zh_TW.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,833 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_cs.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,834 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_de_DE.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,836 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_es.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,837 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_fr.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,839 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_hu.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,840 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_it.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,842 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ja_JP.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,843 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ko_KR.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,845 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4)
war for hello world
hi! i have created a simple app thu eclipse-wolips - hello world - file - new - wonder application so i want to move it to jboss so i need war than i start ant with goal build at first than i want to start with goal war and i have: HelloWorld user$ ant build Buildfile: /Users/user/Documents/ronx_test/HelloWorld/build.xml init.properties: init.build: compile: BUILD FAILED /Users/user/Documents/ronx_test/HelloWorld/build.xml:203: taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader AntClassLoader[] Total time: 0 seconds how can i fix this? thanx ___ 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
hi 14:52:34,894 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of HelloWorld.war 14:52:43,820 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_cs.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,822 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_de_DE.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,822 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_es.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,823 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_fr.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,824 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_hu.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,825 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_it.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,826 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ja_JP.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,827 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ko_KR.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,828 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pl.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,828 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pt_BR.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,829 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ru.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,830 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_zh_CN.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,831 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_zh_TW.jar in /content/HelloWorld.war/WEB-INF/lib/derby.jar does not point to a valid jar for a Class-Path reference. 14:52:43,833 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_cs.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,834 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_de_DE.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,836 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_es.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,837 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_fr.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,839 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_hu.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,840 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_it.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,842 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ja_JP.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,843 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ko_KR.jar in /content/HelloWorld.war/WEB-INF/lib/derbyclient.jar does not point to a valid jar for a Class-Path reference. 14:52:43,845 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pl.jar in
Re: WOComponent
hi, i described the behaviour, but i want to see what is in the component (page) in debug-mode, before the page-component will go to the responce. for example i work with email - Emailer class - and i consumes a component; everything looks good, but after all i have empty email, so i need to debug wocomponent and see what is in it so i need method - how to get plain text of the page from the wocomponent thanx 2012/8/18 Paul Hoadley pa...@logicsquad.net On 17/08/2012, at 6:56 PM, Ron X wrote: i want to see in plain text (like curl utility) what is in the wocomponent (wopage) how can i do this? Most people would view source using the browser while you're on the page of interest. -- Paul Hoadley http://logicsquad.net/ ___ 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
WOComponent
hi everybody! i want to see in plain text (like curl utility) what is in the wocomponent (wopage) how can i do this? thanx ___ 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
plist path
hi everybody! i build my project with maven, so i have 2 apps and 2 own frameworks, one of them called BusinesLogicFrmwk ^_^ and i have model (and all model plists) here. after build and deploy and start some tasks i have error exception=java.lang.IllegalArgumentException: URI is not hierarchical appendedWithPathComponent: jar:file:///usr/local/maven/Admin/35/Admin.woa/Contents/Resources/Java/AppX/BusinesLogicFrmwk/1.0.0/BusinesLogicFrmwk -1.0.0.jar!/WebServerResources/appx.eomodeld/Order.plist to get model from plist by url i use: NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+.plist); but every time system want to take plists from jars? why should it happened? thanx ___ 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: rawRows for UPDATE
how can I update _rowid by EOF? :-) 2012/6/26 Johann Werner j...@oyosys.de Have a look at the ERXEOAccessUtilities class. There you have plenty of helper methods if you really want to send raw SQL to the database. Why don't you use EOF? Am 26.06.2012 um 12:15 schrieb Ron X: hi4all can I use this method for update? i tried EOUtilities.rawRowsForSQL(editingContext, db_test, UPDATE song + SET artistId = + concreteCurrentArtistID + WHERE + artistId = + concreteValidArtistID, null); but nothing changes... ___ 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
NSData could not cast to Long
hi4all NSMutableArrayNSData currentArtistID = (NSMutableArrayNSData) validArtistsIDs.valueForKey(CURRENT_ARTIST_ID); byte[] bytes = currentArtistID.get(i).bytes(); there get an exception if i write int concreteCurrentArtistID = new Integer(new String(currentArtistID.get(i).bytes())); i get the same exception: ClassCastException: java.lang.Long cannot be cast to com.webobjects.foundation.NSData ___ 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
@count
hi4all EOEditingContext editingContext = ERXEC.newEditingContext(); NSMutableArrayEOQualifier qualifiers; { qualifiers = new NSMutableArrayEOQualifier(); qualifiers.add(Artist.NAME_WITHOUT_THE_PREFIX.count().gt(1)); } EOQualifier qual = ERXQ.or(qualifiers); Artist.clazz.objectsMatchingQualifier(editingContext, qual); but this fails with INFO 43.44 MB used/37.62 MB free [Thread-7] (ERXDatabaseContextDelegate.java:177) - Database Exception occured: java.lang.IllegalStateException: sqlStringForKeyValueQualifier: attempt to generate SQL for er.extensions.qualifiers.ERXKeyValueQualifier (@count 1) failed because attribute identified by key '@count' was not reachable from from entity 'Artist' sorry, but I don't understand what does it mean why @count is not reachable? ___ 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: jdbc error at start up
just a static block: static { ... setting delegate...} 2012/6/1 Lachlan Deck lachlan.d...@gmail.com On 31/05/2012, at 11:31 PM, Ron X wrote: hi, i use maven lo load dependencies and enable Java ERJDBCAdaptor, but at star up i've got: WARN 28.05 MB used/53.01 MB free [main] (ERXNSLogLog4jBridge.java:43) - A fatal exception occurred: null [2012-5-31 6:26:9 PDT] main java.lang.ExceptionInInitializerError at er.jdbcadaptor.PrincipalClass.clinit(PrincipalClass.java:21) Use the source Ron :-) What's er.jdbcadaptor.PrincipalClass:21 do? Lachlan Deck lachlan.d...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
plist
hi everobody, could you help me - i need some set of classes of java to work with plists in MacOS or WebObjects - what classes should i use? Thanks ___ 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: plist
yes, thanks, i have founded before read email. thanks 2012/6/1 Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com Hi, I don't know what exactly are you intending to do but if you're using WebObjects you can use NSPropertListSerialization class. Farrukh On 2012-06-01, at 3:39 PM, Ron X wrote: hi everobody, could you help me - i need some set of classes of java to work with plists in MacOS or WebObjects - what classes should i use? Thanks ___ 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/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
jdbc error at start up
hi, i use maven lo load dependencies and enable Java ERJDBCAdaptor, but at star up i've got: WARN 28.05 MB used/53.01 MB free [main] (ERXNSLogLog4jBridge.java:43) - A fatal exception occurred: null [2012-5-31 6:26:9 PDT] main java.lang.ExceptionInInitializerError at er.jdbcadaptor.PrincipalClass.clinit(PrincipalClass.java:21) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:348) at com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:335) at com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:1760) at com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:700) at com.webobjects.foundation.NSBundle.clinit(NSBundle.java:344) at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116) at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317) at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743) at com.webobjects.appserver.WOApplication.init(WOApplication.java:779) at er.extensions.appserver.ajax.ERXAjaxApplication.init(ERXAjaxApplication.java:24) at er.extensions.appserver.ERXApplication.init(ERXApplication.java:1093) ___ 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
Maven Plugin
hi for all, Maven 3 supports parallel building - -T number_of_threads option. but wolifecycle-plugin is not threadSafe: [WARNING] * [WARNING] * Your build is requesting parallel execution, but project * [WARNING] * contains the following plugin(s) that are not marked as * [WARNING] * @threadSafe to support parallel building. * [WARNING] * While this /may/ work fine, please look for plugin updates* [WARNING] * and/or request plugins be made thread-safe. * [WARNING] * If reporting an issue, report it against the plugin in* [WARNING] * question, not against maven-core * [WARNING] * [WARNING] The following plugins are not marked @threadSafe in LegalSoundsBusinessLogic: [WARNING] org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1 [WARNING] * where can i get the sources of plugin? or how can i fix this issue? thanx. ___ 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
wcap
hi, in Jenkins i have log: ** [ERSelenium] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Misc/ERSelenium -rHEAD ** [ERSelenium] Path: ERSelenium ** [ERSelenium] URL: https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Misc/ERSelenium ** [ERSelenium] Repository Root: https://wonder.svn.sourceforge.net/svnroot/wonder ** [ERSelenium] Repository UUID: 67128e6a-814e-0410-a45f-9c08330a9809 ** [ERSelenium] Revision: 12039 ** [ERSelenium] Node Kind: directory ** [ERSelenium] Last Changed Author: dfrolov ** [ERSelenium] Last Changed Rev: 11834 ** [ERSelenium] Last Changed Date: 2010-12-28 17:22:00 +0300 (Tue, 28 Dec 2010) ** [ERSelenium] ** [ERSelenium] real revision: 12039 ** [ERCoreBusinessLogic] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/BusinessLogic/ERCoreBusinessLogic -rHEAD ** [ERCoreBusinessLogic] Path: ERCoreBusinessLogic ** [ERCoreBusinessLogic] URL: https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/BusinessLogic/ERCoreBusinessLogic ** [ERCoreBusinessLogic] Repository Root: https://wonder.svn.sourceforge.net/svnroot/wonder ** [ERCoreBusinessLogic] Repository UUID: 67128e6a-814e-0410-a45f-9c08330a9809 ** [ERCoreBusinessLogic] Revision: 12039 ** [ERCoreBusinessLogic] Node Kind: directory ** [ERCoreBusinessLogic] Last Changed Author: mschrag ** [ERCoreBusinessLogic] Last Changed Rev: 11473 ** [ERCoreBusinessLogic] Last Changed Date: 2010-10-04 17:42:11 +0400 (Mon, 04 Oct 2010) ** [ERCoreBusinessLogic] ** [ERCoreBusinessLogic] real revision: 12039 ** [ERCaching] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/EOF/ERCaching -rHEAD ** [ERCaching] Path: ERCaching ** [ERCaching] URL: https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/EOF/ERCaching ** [ERCaching] Repository Root: https://wonder.svn.sourceforge.net/svnroot/wonder ** [ERCaching] Repository UUID: 67128e6a-814e-0410-a45f-9c08330a9809 ** [ERCaching] Revision: 12039 ** [ERCaching] Node Kind: directory ** [ERCaching] Last Changed Author: anjo ** [ERCaching] Last Changed Rev: 9012 ** [ERCaching] Last Changed Date: 2009-03-05 00:31:42 +0300 (Thu, 05 Mar 2009) ** [ERCaching] ** [ERCaching] real revision: 12039 but in what config of wcap these all dependencies is written? and how add some new frameworks to build by wcap? ___ 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: wcap
these are legacy settings. i have no time now to move to git hub. we use 5_0_0 svn branch. moving on 5.6 from github - it will be in next iteration. so what about wondercap? 2012/5/25 Pascal Robert prob...@macti.ca Why are you building from the Wonder SVN repository instead of GitHub? hi, in Jenkins i have log: ** [ERSelenium] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Misc/ERSelenium -rHEAD ** [ERSelenium] Path: ERSelenium ** [ERSelenium] URL: https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Misc/ERSelenium ** [ERSelenium] Repository Root: https://wonder.svn.sourceforge.net/svnroot/wonder ** [ERSelenium] Repository UUID: 67128e6a-814e-0410-a45f-9c08330a9809 ** [ERSelenium] Revision: 12039 ** [ERSelenium] Node Kind: directory ** [ERSelenium] Last Changed Author: dfrolov ** [ERSelenium] Last Changed Rev: 11834 ** [ERSelenium] Last Changed Date: 2010-12-28 17:22:00 +0300 (Tue, 28 Dec 2010) ** [ERSelenium] ** [ERSelenium] real revision: 12039 ** [ERCoreBusinessLogic] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/BusinessLogic/ERCoreBusinessLogic -rHEAD ** [ERCoreBusinessLogic] Path: ERCoreBusinessLogic ** [ERCoreBusinessLogic] URL: https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/BusinessLogic/ERCoreBusinessLogic ** [ERCoreBusinessLogic] Repository Root: https://wonder.svn.sourceforge.net/svnroot/wonder ** [ERCoreBusinessLogic] Repository UUID: 67128e6a-814e-0410-a45f-9c08330a9809 ** [ERCoreBusinessLogic] Revision: 12039 ** [ERCoreBusinessLogic] Node Kind: directory ** [ERCoreBusinessLogic] Last Changed Author: mschrag ** [ERCoreBusinessLogic] Last Changed Rev: 11473 ** [ERCoreBusinessLogic] Last Changed Date: 2010-10-04 17:42:11 +0400 (Mon, 04 Oct 2010) ** [ERCoreBusinessLogic] ** [ERCoreBusinessLogic] real revision: 12039 ** [ERCaching] executing locally: svn info https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/EOF/ERCaching -rHEAD ** [ERCaching] Path: ERCaching ** [ERCaching] URL: https://wonder.svn.sourceforge.net/svnroot/wonder/branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/EOF/ERCaching ** [ERCaching] Repository Root: https://wonder.svn.sourceforge.net/svnroot/wonder ** [ERCaching] Repository UUID: 67128e6a-814e-0410-a45f-9c08330a9809 ** [ERCaching] Revision: 12039 ** [ERCaching] Node Kind: directory ** [ERCaching] Last Changed Author: anjo ** [ERCaching] Last Changed Rev: 9012 ** [ERCaching] Last Changed Date: 2009-03-05 00:31:42 +0300 (Thu, 05 Mar 2009) ** [ERCaching] ** [ERCaching] real revision: 12039 but in what config of wcap these all dependencies is written? and how add some new frameworks to build by wcap? ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: Session awake after shell-script run
if i use ERXFileUtilities.copyFileToFile(newSongFile, new File(fullSongPath), false, true); than Session.awake invoke too. what cause Session to invoke aeake-method? 2012/5/22 Ron X ron.x.by...@gmail.com hi for all i found strange behaviour: after execution such line Runtime.getRuntime().exec(commandLine, args).waitFor(); i have DEBUG 59.14 MB used/21.92 MB free [WorkerThread2 b4bXjs8Q7U5ts3tNlo6BXM:d...@ls.com] (Session.java:397) - Session awake stared... and this operation eat ~ 1 second (measured by System.currentTimeMillis()) why should it happens? this 1 second became 4 hours in my compressing module... ___ 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: Session awake after shell-script run
and what for this code? i asked - why the cause of session awake? 2012/5/24 Lachlan Deck lachlan.d...@gmail.com public Session() { super(); LOG.warn(Invoked from, new Exception()); } On 24/05/2012, at 4:34 PM, Ron X wrote: if i use ERXFileUtilities.copyFileToFile(newSongFile, new File(fullSongPath), false, true); than Session.awake invoke too. what cause Session to invoke aeake-method? 2012/5/22 Ron X ron.x.by...@gmail.com hi for all i found strange behaviour: after execution such line Runtime.getRuntime().exec(commandLine, args).waitFor(); i have DEBUG 59.14 MB used/21.92 MB free [WorkerThread2 b4bXjs8Q7U5ts3tNlo6BXM:d...@ls.com] (Session.java:397) - Session awake stared... and this operation eat ~ 1 second (measured by System.currentTimeMillis()) why should it happens? this 1 second became 4 hours in my compressing module... ___ 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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com Lachlan Deck lachlan.d...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Session awake after shell-script run
no, it is not may be: @Override public void awake() { super.awake(); LOG.warn(Invoked from, new Exception()); } ? 2012/5/24 Mike Schrag msch...@pobox.com That will show why. Sent from my iPhone On May 24, 2012, at 7:57 AM, Ron X ron.x.by...@gmail.com wrote: and what for this code? i asked - why the cause of session awake? 2012/5/24 Lachlan Deck lachlan.d...@gmail.com public Session() { super(); LOG.warn(Invoked from, new Exception()); } On 24/05/2012, at 4:34 PM, Ron X wrote: if i use ERXFileUtilities.copyFileToFile(newSongFile, new File(fullSongPath), false, true); than Session.awake invoke too. what cause Session to invoke aeake-method? 2012/5/22 Ron X ron.x.by...@gmail.com hi for all i found strange behaviour: after execution such line Runtime.getRuntime().exec(commandLine, args).waitFor(); i have DEBUG 59.14 MB used/21.92 MB free [WorkerThread2 b4bXjs8Q7U5ts3tNlo6BXM:d...@ls.com] (Session.java:397) - Session awake stared... and this operation eat ~ 1 second (measured by System.currentTimeMillis()) why should it happens? this 1 second became 4 hours in my compressing module... ___ 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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com Lachlan Deck lachlan.d...@gmail.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/mschrag%40pobox.com This email sent to msch...@pobox.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Session awake after shell-script run
WARN 37.31 MB used/43.75 MB free [WorkerThread11 oRebRNnqdp4MjtSGjeqv3g:d...@ls.com] (Session.java:25) - Invoked from Exception at dm.legalsounds.Session.awake(Session.java:25) at com.webobjects.appserver.WOSession._awakeInContext(WOSession.java:838) at com.webobjects.appserver.WOApplication.restoreSessionWithID(WOApplication.java:1917) at er.extensions.appserver.ERXApplication.restoreSessionWithID(ERXApplication.java:2278) ... skipped 3 stack elements at er.ajax.AjaxRequestHandler.handleRequest(AjaxRequestHandler.java:17) ... skipped 3 stack elements at com.extensions.LSApplication.dispatchRequest(LSApplication.java:115) ... skipped 3 stack elements 2012/5/24 Mike Schrag msch...@pobox.com oh .. yes, if it's an existing session. if it's a new session, the original will show you where it's created. ms On May 24, 2012, at 9:31 AM, Ron X wrote: no, it is not may be: @Override public void awake() { super.awake(); LOG.warn(Invoked from, new Exception()); } ? 2012/5/24 Mike Schrag msch...@pobox.com That will show why. Sent from my iPhone On May 24, 2012, at 7:57 AM, Ron X ron.x.by...@gmail.com wrote: and what for this code? i asked - why the cause of session awake? 2012/5/24 Lachlan Deck lachlan.d...@gmail.com public Session() { super(); LOG.warn(Invoked from, new Exception()); } On 24/05/2012, at 4:34 PM, Ron X wrote: if i use ERXFileUtilities.copyFileToFile(newSongFile, new File(fullSongPath), false, true); than Session.awake invoke too. what cause Session to invoke aeake-method? 2012/5/22 Ron X ron.x.by...@gmail.com hi for all i found strange behaviour: after execution such line Runtime.getRuntime().exec(commandLine, args).waitFor(); i have DEBUG 59.14 MB used/21.92 MB free [WorkerThread2 b4bXjs8Q7U5ts3tNlo6BXM:d...@ls.com] (Session.java:397) - Session awake stared... and this operation eat ~ 1 second (measured by System.currentTimeMillis()) why should it happens? this 1 second became 4 hours in my compressing module... ___ 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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com Lachlan Deck lachlan.d...@gmail.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/mschrag%40pobox.com This email sent to msch...@pobox.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERXJDBCAdaptor
but do i need exclude JavaJDBCAdaptor from the dependencies? 2012/5/23 John Huss johnth...@gmail.com er.extensions.ERXJDBCAdaptor.className = er.extensions.jdbc.ERXJDBCAdaptor ___ 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
WONDER on Windows
hi i have some difficuilts with start of app: ERROR (DMEOAccessUtilities.java:332) - prepareExtraEntityForEntityNamed: exception=java.net.URISyntaxException: Illegal character in path at index 162: file:/C:/Users/ronx/workspace/svn/trunk/Frameworks/ApplicationsFrameworks/LSBL/build/LSBL.framework/Resources/ls.eomodeld\Album.plist could anyone help? ___ 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: WONDER on Windows
method: public synchronized static EOEntity prepareExtraEntityForEntityNamed(EOEditingContext ec, String entityName) { String newEntityName = EXTRA_ENTITY_NAME_PREFIX+entityName; EOEntity result = ERXEOAccessUtilities.entityNamed(ec, newEntityName); if (result==null) { EOEntity entity = ERXEOAccessUtilities.entityNamed(ec, entityName); EOModel model = entity.model(); java.net.URL modelPath = model.pathURL(); if(log.isDebugEnabled()) log.debug(extraEntityForEntityNamed: modelPath=+modelPath); try { java.net.URI entityPath = new java.net.URI(NSPathUtilities.stringByAppendingPathComponent(modelPath.toString(), entityName+.plist)); if(log.isDebugEnabled()) log.debug(extraEntityForEntityNamed: entityPath=+entityPath); NSMutableDictionary entityDictionary = NSPropertyListSerialization.dictionaryForString(ERXFileUtilities.stringFromFile(new File(entityPath))).mutableClone(); if(log.isDebugEnabled()) log.debug(extraEntityForEntityNamed: entityDictionary=+entityDictionary); entityDictionary.setObjectForKey(newEntityName, name); entityDictionary.setObjectForKey(EOGenericRecord, className); result = new EOEntity(entityDictionary, model); result.awakeWithPropertyList(entityDictionary); // result.setClassName(entity.className()); model.addEntity(result); } catch (Exception e) { /* _exception there _ */ log.error(prepareExtraEntityForEntityNamed: exception=+e); } // create fss java.util.Enumeration enumerator = entity.fetchSpecificationNames().objectEnumerator(); while (enumerator.hasMoreElements()) { String fsName = (String)enumerator.nextElement(); EOFetchSpecification fs = (EOFetchSpecification)entity.fetchSpecificationNamed(fsName).clone(); fs.setEntityName(newEntityName); result.addFetchSpecification(fs, fsName); } if(log.isDebugEnabled()) { log.debug(extraEntityForEntityNamed: result.fetchSpecificationNames()=+result.fetchSpecificationNames()); log.debug(extraEntityForEntityNamed: result.attributes()=+result.attributes()); log.debug(extraEntityForEntityNamed: result.relationships()=+result.relationships()); } } return result; } 2012/5/22 Pascal Robert prob...@macti.ca Full strack trace please, DMEOAccessUtilities is not part of Wonder, so we can't figure out what Wonder or WO method you are calling. hi i have some difficuilts with start of app: ERROR (DMEOAccessUtilities.java:332) - prepareExtraEntityForEntityNamed: exception=java.net.URISyntaxException: Illegal character in path at index 162: file:/C:/Users/ronx/workspace/svn/trunk/Frameworks/ApplicationsFrameworks/LSBL/build/LSBL.framework/Resources/ls.eomodeld\Album.plist could anyone help? ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: WONDER on Windows
and than we get :-) : ls.eomodeld/\Album.plist but NSPathUtilities.stringByAppendingPathComponent is Apple NS method - i can not go into it 2012/5/22 Mike Schrag msch...@pobox.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WONDER on Windows
Thank you all! java.net.URI entityPath = new java.net.URI(modelPath.toString() + / + entityName+.plist); works fine ^_^ 2012/5/22 Mike Schrag msch...@pobox.com not sure what you mean ... i'm saying not to use NSPathUtilities because it's building a path and you're trying to build a URL. you can also use ERXMutableURL. ms On May 22, 2012, at 9:53 AM, Ron X wrote: and than we get :-) : ls.eomodeld/\Album.plist but NSPathUtilities.stringByAppendingPathComponent is Apple NS method - i can not go into it 2012/5/22 Mike Schrag msch...@pobox.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Session awake after shell-script run
hi for all i found strange behaviour: after execution such line Runtime.getRuntime().exec(commandLine, args).waitFor(); i have DEBUG 59.14 MB used/21.92 MB free [WorkerThread2 b4bXjs8Q7U5ts3tNlo6BXM:d...@ls.com] (Session.java:397) - Session awake stared... and this operation eat ~ 1 second (measured by System.currentTimeMillis()) why should it happens? this 1 second became 4 hours in my compressing module... ___ 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
JavaMonitor
hi, did anybody build JavaMonitor as .war application? if so - explain please how :-) thanks ___ 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
JavaMonitor or wotaskd
hi for all, how can i control my application by remote commands? for example i have Jenkins with BuildJob, TestJod, DeployJob for several projects which depends of each other. After Build i want to stop current applications, and than start tests. But now the situation is after build i need to go to the JavaMonitor and stop apps manually. can i automate this? thank you ___ 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
Percona mysql
hi, on official site of MySQL - jdbc-driver has version 5.1.20. but Percona use MySQL version 5.5.x what driver can i use working with Percona? (there is no 5.5 driver on official site and maven repo) thank you. ___ 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: ListPage MySQL OutOfMemory
i have 50M of DB. i don't think that it can take down the instance. but i set -Xmx32m and nothing changed. i think that is not in settings. that is something fundamental. any ideas? 2012/5/4 Ramsey Gurley rgur...@smarthealth.com If you are fetching tens of thousands of rows for a list page, you may want to consider using the ERXBatchingDisplayGroup to minimize memory usage. By default, the WODisplayGroup pulls all the EOs into memory. The batching display group uses the database to handle the pagination. It only creates the EO instances for the displayed batch. If you're using a EODetailDataSource in the list page, the batching display group doesn't work AFAIK. In the case of large to-many relationships though, I would recommend you simply not model it as a relationship and handle it in code. In that case, you'd probably want to place a limit on your fetch spec to prevent all the EOs being pulled into memory. Big to-many relationships tend to cause issues when you addObjectToBothSides anyway. Ramsey On May 4, 2012, at 6:58 AM, Ron X wrote: i have small database - about 50 Mb... code: ListPageInterface listPage = D2W.factory().listPageForEntityNamed( Song.ENTITY_NAME, session()); EODataSource dataSource = new EODatabaseDataSource(session() .defaultEditingContext(), Song.ENTITY_NAME); listPage.setDataSource(dataSource); return (WOComponent) listPage; and error: N 19.07 MB used/104.87 MB free [WorkerThread8] (ERXNSLogLog4jBridge.java:43) - er.extensions.appserver.ERXComponentRequestHandler: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.OutOfMemoryError] Java heap space:java.lang.OutOfMemoryError: Java heap space [2012-5-4 6:54:11 PDT] WorkerThread8 com.webobjects.foundation.NSForwardException [java.lang.OutOfMemoryError] Java heap space:java.lang.OutOfMemoryError: Java heap space at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45) at com.webobjects.eocontrol.EOEditingContext.handleError(EOEditingContext.java:2971) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4071) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1302) at com.webobjects.eoaccess.EODatabaseDataSource.fetchObjects(EODatabaseDataSource.java:589) at com.webobjects.appserver.WODisplayGroup.fetch(WODisplayGroup.java:2132) at er.extensions.appserver.ERXDisplayGroup.fetch(ERXDisplayGroup.java:135) at er.directtoweb.pages.ERD2WListPage._fetchDisplayGroup(ERD2WListPage.java:461) at er.directtoweb.pages.ERD2WListPage.setupPhase(ERD2WListPage.java:561) at er.directtoweb.pages.ERD2WListPage.appendToResponse(ERD2WListPage.java:492) at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1385) at er.extensions.appserver.ERXSession.appendToResponse(ERXSession.java:558) at com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1794) at er.extensions.appserver.ERXApplication.appendToResponse(ERXApplication.java:1994) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:190) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2098) at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2063) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.OutOfMemoryError: Java heap space at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2145) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1922) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3425) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:481) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3120) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2288) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2709) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2671
Re: ListPage MySQL OutOfMemory
ESs-Mac:~ user$ top 5340 java 94.2 01:40.99 42/1 1370 393 487M+ 9124K 525M+ RuntimeException: Statement running too long at er.extensions.eof.ERXEOAccessUtilities.logExpression(ERXEOAccessUtilities.java:1213) at er.extensions.eof.ERXAdaptorChannelDelegate.adaptorChannelDidEvaluateExpression(ERXAdaptorChannelDelegate.java:81) ... skipped 5 stack elements at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223) at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:163) ... skipped 6 stack elements at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:66) ... skipped 1 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1302) ... skipped 1 stack elements at com.legalsounds.MainNavigationController.mostDownloadedAction(MainNavigationController.java:77) ... skipped 15 stack elements at er.extensions.appserver.navigation.ERXNavigationMenuItem.menuItemSelected(ERXNavigationMenuItem.java:137) ... skipped 64 stack elements at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:157) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) ... skipped 6 stack elements 2012/5/10 Johann Werner j...@oyosys.de -Xms512m -Xmx1024m ___ 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: ListPage MySQL OutOfMemory
i use Navicat to see the DB so select * from Song was 0.8 sec. but in code the same query: ERROR 150.87 MB used/359.07 MB free [WorkerThread2] (ERXEOAccessUtilities.java:1213) Page: er.modern.look.pages.ERMODQueryEntitiesPage - Configuration: null - Song@116895853 expression took 16567 ms: 2012/5/10 Johann Werner j...@oyosys.de Your fetch is taking too long. What is the SQL that is sent to your db? How big is the resultset you are expecting? Perhaps your indexes are broken (you have indexes, don't you)? jw Am 10.05.2012 um 10:37 schrieb Ron X: ESs-Mac:~ user$ top 5340 java 94.2 01:40.99 42/1 1370 393 487M+ 9124K 525M+ RuntimeException: Statement running too long at er.extensions.eof.ERXEOAccessUtilities.logExpression(ERXEOAccessUtilities.java:1213) at er.extensions.eof.ERXAdaptorChannelDelegate.adaptorChannelDidEvaluateExpression(ERXAdaptorChannelDelegate.java:81) ... skipped 5 stack elements at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223) at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:163) ... skipped 6 stack elements at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:66) ... skipped 1 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1302) ... skipped 1 stack elements at com.legalsounds.MainNavigationController.mostDownloadedAction(MainNavigationController.java:77) ... skipped 15 stack elements at er.extensions.appserver.navigation.ERXNavigationMenuItem.menuItemSelected(ERXNavigationMenuItem.java:137) ... skipped 64 stack elements at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:157) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) ... skipped 6 stack elements 2012/5/10 Johann Werner j...@oyosys.de -Xms512m -Xmx1024m ___ 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: ListPage MySQL OutOfMemory
that was in debug mode. in run-mode: WARN 422.22 MB used/87.72 MB free [WorkerThread3] (ERXNSLogLog4jBridge.java:43) (ListSong) - er.extensions.appserver.ERXComponentRequestHandler: Exception occurred while handling request: java.lang.ClassCastException: java.lang.String cannot be cast to er.directtoweb.delegates.ERDBranchDelegateInterface ERROR 426.75 MB used/83.18 MB free [WorkerThread3] (ERXApplication.java:1786) (ListSong) - Exception caught: java.lang.String cannot be cast to er.directtoweb.delegates.ERDBranchDelegateInterface ClassCastException: java.lang.String cannot be cast to er.directtoweb.delegates.ERDBranchDelegateInterface at er.directtoweb.pages.ERD2WPage.pageController(ERD2WPage.java:1173) at er.directtoweb.components.buttons.ERDControllerButton.branchDelegate(ERDControllerButton.java:64) at er.directtoweb.components.buttons.ERDControllerButton.branchChoices(ERDControllerButton.java:136) ... skipped 94 stack elements at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:190) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) ... skipped 6 stack elements _ignoredPackages:: ( ) 2012/5/10 Ron X ron.x.by...@gmail.com i use Navicat to see the DB so select * from Song was 0.8 sec. but in code the same query: ERROR 150.87 MB used/359.07 MB free [WorkerThread2] (ERXEOAccessUtilities.java:1213) Page: er.modern.look.pages.ERMODQueryEntitiesPage - Configuration: null - Song@116895853 expression took 16567 ms: 2012/5/10 Johann Werner j...@oyosys.de Your fetch is taking too long. What is the SQL that is sent to your db? How big is the resultset you are expecting? Perhaps your indexes are broken (you have indexes, don't you)? jw Am 10.05.2012 um 10:37 schrieb Ron X: ESs-Mac:~ user$ top 5340 java 94.2 01:40.99 42/1 1370 393 487M+ 9124K 525M+ RuntimeException: Statement running too long at er.extensions.eof.ERXEOAccessUtilities.logExpression(ERXEOAccessUtilities.java:1213) at er.extensions.eof.ERXAdaptorChannelDelegate.adaptorChannelDidEvaluateExpression(ERXAdaptorChannelDelegate.java:81) ... skipped 5 stack elements at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223) at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:163) ... skipped 6 stack elements at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:66) ... skipped 1 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1302) ... skipped 1 stack elements at com.legalsounds.MainNavigationController.mostDownloadedAction(MainNavigationController.java:77) ... skipped 15 stack elements at er.extensions.appserver.navigation.ERXNavigationMenuItem.menuItemSelected(ERXNavigationMenuItem.java:137) ... skipped 64 stack elements at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:157) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:374) ... skipped 6 stack elements 2012/5/10 Johann Werner j...@oyosys.de -Xms512m -Xmx1024m ___ 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: Main or other...
but what is the cause of not-finding base-web-object classes - Main, DirectAction, Session? they are existing in the package! if i fix it with Patcher... then i have the same error with all components, PageWrapper for example: Error: com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '[com.webobjects.appserver.WOComponent name: PageWrapper subcomponents: {0.1 = er.directtoweb.components.ERD2WHead name: er.directtoweb.components.ERD2WHead subcomponents: null ; } valueForKey()]: lookup of unknown key: 'bodyClass'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name bodyClass or _bodyClass, nor a method of the name bodyClass, _bodyClass, getBodyClass, or _getBodyClass' object 'com.webobjects.appserver.WOComponent name: PageWrapper subcomponents: {0.1 = er.directtoweb.components.ERD2WHead name: er.directtoweb.components.ERD2WHead subcomponents: null ; } ' key 'bodyClass' Reason: [com.webobjects.appserver.WOComponent name: PageWrapper subcomponents: {0.1 = er.directtoweb.components.ERD2WHead name: er.directtoweb.components.ERD2WHead subcomponents: null ; } valueForKey()]: lookup of unknown key: 'bodyClass'. The WOComponent com.webobjects.appserver.WOComponent does not have an instance variable of the name bodyClass or _bodyClass, nor a method of the name bodyClass, _bodyClass, getBodyClass, or _getBodyClass 2012/5/3 Lachlan Deck lachlan.d...@gmail.com ERXPatcher.setClassForName(Main.class, Main); ERXPatcher.setClassForName(DirectAction.class, DirectAction); ___ 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: Main or other...
but what should i do now? every time when i try to convert project into Maven - 8 of 10 cases i get error of Session class or Main class or just nothing on page (defaultAction executes and nothing appears) how can i fix this? 2012/5/4 Lachlan Deck lachlan.d...@gmail.com On 04/05/2012, at 4:09 PM, Ron X wrote: but what is the cause of not-finding base-web-object classes - Main, DirectAction, Session? Historically WO had no concept of java packages. Possibly classpath ordering. You could try it yourself with NS utilities looking up class for name. Lachlan Deck lachlan.d...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Main or other...
when displays nothing - something like this DEBUG 26.12 MB used/54.94 MB free [main] (ERXNSLogLog4jBridge.java:46) - Waiting for requests... DEBUG 27.24 MB used/53.82 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - com.webobjects.appserver._private.WOComponentDefinition No template found for component Main at file:/Users/user/Documents/workspace/LSX/. 2012/5/4 Ron X ron.x.by...@gmail.com but what should i do now? every time when i try to convert project into Maven - 8 of 10 cases i get error of Session class or Main class or just nothing on page (defaultAction executes and nothing appears) how can i fix this? 2012/5/4 Lachlan Deck lachlan.d...@gmail.com On 04/05/2012, at 4:09 PM, Ron X wrote: but what is the cause of not-finding base-web-object classes - Main, DirectAction, Session? Historically WO had no concept of java packages. Possibly classpath ordering. You could try it yourself with NS utilities looking up class for name. Lachlan Deck lachlan.d...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Main or other...
JarResourceRequestHandler - what is it? i can not import it 2012/5/4 Lachlan Deck lachlan.d...@gmail.com On 04/05/2012, at 4:38 PM, Ron X wrote: but what should i do now? every time when i try to convert project into Maven - 8 of 10 cases i get error of Session class or Main class or just nothing on page (defaultAction executes and nothing appears) how can i fix this? This is the kind of thing that should work (see attachment). Lachlan Deck lachlan.d...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JDBC
how can i use JavaERJDBCAdaptor instead of JavaJDBCAdaptor? if i add a dependency of JavaERJDBCAdaptor i've got: WARN 27.64 MB used/53.43 MB free [main] (ERXNSLogLog4jBridge.java:43) - Principal class 'er.coolcomponents.ERCoolComponents' not found in bundle ERCoolComponents WARN 27.87 MB used/53.2 MB free [main] (ERXNSLogLog4jBridge.java:43) - A fatal exception occurred: null [2012-5-4 1:54:6 PDT] main java.lang.ExceptionInInitializerError at er.jdbcadaptor.PrincipalClass.clinit(PrincipalClass.java:21) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:348) at com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:335) at com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:1760) at com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:700) at com.webobjects.foundation.NSBundle.clinit(NSBundle.java:344) at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116) at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317) at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743) at com.webobjects.appserver.WOApplication.init(WOApplication.java:779) at er.extensions.appserver.ajax.ERXAjaxApplication.init(ERXAjaxApplication.java:30) at er.extensions.appserver.ERXApplication.init(ERXApplication.java:1094) at com.woinject.InjectableApplication.init(InjectableApplication.java:61) at com.ronx.LSXApplication.init(LSXApplication.java:21) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at com.webobjects.appserver.WOApplication.main(WOApplication.java:547) at er.extensions.appserver.ERXApplication.main(ERXApplication.java:826) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.woinject.WOInject.init(WOInject.java:87) at com.ronx.LSXApplication.main(LSXApplication.java:18) Caused by: java.lang.NullPointerException at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:270) at org.apache.log4j.LogManager.getLogger(LogManager.java:209) at org.apache.log4j.Logger.getLogger(Logger.java:155) at er.extensions.logging.ERXLogger.getLogger(ERXLogger.java:122) at er.extensions.logging.ERXLogger.getERXLogger(ERXLogger.java:101) at er.extensions.logging.ERXLogger.getERXLogger(ERXLogger.java:134) at er.jdbcadaptor.ERAdaptorContextDelegate.clinit(ERAdaptorContextDelegate.java:21) ... 30 more ___ 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: MySQL: InnoDB vs MyISAM or InnoDB + MyISAM
Perconna - fork MySQL - supports transactions and hot backup (like copy on write) And MySQL at version 5.1 MyISAM supports transactions. 2012/5/2 Kieran Kelleher kelleh...@gmail.com LOL was talking about the MySQL-WebObjects database world. Sorry if I caused you distress with thoughts of Armagedon ;-) On May 2, 2012, at 11:54 AM, David LeBer wrote: Bah, the world as we know it sucks. Seeing the end of the world as we *don't* know it, now there is something I'd pay big money to see. D PS: I concur, use InnoDB everywhere. -- David LeBer Codeferous Software On 2012-05-02, at 11:45 AM, Kieran Kelleher wrote: Big problems. As has been said before, MyISAM will not rollback... Thus every failed editingContext.saveChanges() will result in loss of data integrity and end of the world as we know it. Save the World: Use InnoDB only when using MySQL Regards Kieran ___ Sent from my iPad. On May 2, 2012, at 10:46 AM, Ron X ron.x.by...@gmail.com wrote: Did anybody do chain like this - InnoDB (some tables) + MyISAM (other tables)? And what problems I will get when will use this sheme? Thanx. ___ 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/kelleherk%40gmail.com This email sent to kelleh...@gmail.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/dleber_wodev%40codeferous.com This email sent to dleber_wo...@codeferous.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/ron.x.by.su%40gmail.com This email sent to ron.x.by...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Main or other...
hi for all i wanna to start application using another component - not Main! so i do: @Override public WOActionResults defaultAction() { return pageWithName(Start.class); } but i have again: Error: com.webobjects.appserver.WOPageNotFoundException: com.ronx.LSXApplication: Unable to create page 'Main'. Reason: com.ronx.LSXApplication: Unable to create page 'Main'. Stack trace: File Line# Method Package WOApplication.java 2346 pageWithName com.webobjects.appserver WOAction.java 125 pageWithName com.webobjects.appserver WODirectAction.java 118 defaultAction com.webobjects.appserver NativeMethodAccessorImpl.java NA invoke0 sun.reflect NativeMethodAccessorImpl.java 39 invoke sun.reflect DelegatingMethodAccessorImpl.java 25 invoke sun.reflect Method.java 597 invoke java.lang.reflect WODirectAction.java 144 performActionNamed com.webobjects.appserver WOActionRequestHandler.java 259 _handleRequest com.webobjects.appserver._private WOActionRequestHandler.java 158 handleRequest com.webobjects.appserver._private ERXDirectActionRequestHandler.java 126 handleRequest er.extensions.appserver WOApplication.java 1687 dispatchRequest com.webobjects.appserver ERXApplication.java 2096 dispatchRequestImmediately er.extensions.appserver ERXApplication.java 2061 dispatchRequest er.extensions.appserver WOWorkerThread.java 144 runOnce com.webobjects.appserver._private WOWorkerThread.java 226 run com.webobjects.appserver._private Thread.java 680 run java.lang NA : Non applicable, JIT activated ___ 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: Main or other...
yes, now i do that: public LSXApplication() { setDefaultRequestHandler(new ERXDirectActionRequestHandler()); } but nothing changed :-( 2012/5/3 Paul Hoadley pa...@logicsquad.net Hi Ron, On 03/05/2012, at 5:12 PM, Ron X wrote: hi for all i wanna to start application using another component - not Main! so i do: @Override public WOActionResults defaultAction() { return pageWithName(Start.class); } That alone is not quite sufficient, but from the stack trace it _looks_ like you've also set the default request handler in your Application class: WOActionRequestHandler.java 259 _handleRequest com.webobjects.appserver._private WOActionRequestHandler.java 158 handleRequest com.webobjects.appserver._private ERXDirectActionRequestHandler.java 126 handleRequest er.extensions.appserver WOApplication.java 1687 dispatchRequest com.webobjects.appserver ERXApplication.java 2096 dispatchRequestImmediately er.extensions.appserver ERXApplication.java 2061 dispatchRequest er.extensions.appserver Have you done that? That is, called setDefaultRequestHandler(new ERXDirectActionRequestHandler()) in Application's constructor? (Even that's not _quite_ sufficient to cover all bases. It turns out that the Main component is hard-coded in at least a couple of WebObjects classes, including WOApplication.pageWithName(String aName, WOContext aContext). That's relevant if 'aName' is null, which happens when you request '.../SomeApp.woa/wo/'—the method looks for a Main component in that case. To cover every base, you also need to override that.) -- Paul Hoadley http://logicsquad.net/ ___ 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: Main or other...
and it is very strange - because i have Main component. but i have exception, that i haven't it! 2012/5/3 Ron X ron.x.by...@gmail.com yes, now i do that: public LSXApplication() { setDefaultRequestHandler(new ERXDirectActionRequestHandler()); } but nothing changed :-( 2012/5/3 Paul Hoadley pa...@logicsquad.net Hi Ron, On 03/05/2012, at 5:12 PM, Ron X wrote: hi for all i wanna to start application using another component - not Main! so i do: @Override public WOActionResults defaultAction() { return pageWithName(Start.class); } That alone is not quite sufficient, but from the stack trace it _looks_ like you've also set the default request handler in your Application class: WOActionRequestHandler.java 259 _handleRequest com.webobjects.appserver._private WOActionRequestHandler.java 158 handleRequest com.webobjects.appserver._private ERXDirectActionRequestHandler.java 126 handleRequest er.extensions.appserver WOApplication.java 1687 dispatchRequest com.webobjects.appserver ERXApplication.java 2096 dispatchRequestImmediately er.extensions.appserver ERXApplication.java 2061 dispatchRequest er.extensions.appserver Have you done that? That is, called setDefaultRequestHandler(new ERXDirectActionRequestHandler()) in Application's constructor? (Even that's not _quite_ sufficient to cover all bases. It turns out that the Main component is hard-coded in at least a couple of WebObjects classes, including WOApplication.pageWithName(String aName, WOContext aContext). That's relevant if 'aName' is null, which happens when you request '.../SomeApp.woa/wo/'—the method looks for a Main component in that case. To cover every base, you also need to override that.) -- Paul Hoadley http://logicsquad.net/ ___ 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: Selenium
yes, thanks. it helps :-) 2012/5/3 Paul Hoadley pa...@logicsquad.net Hi Ron, On 03/05/2012, at 6:43 PM, Ron X wrote: but no tests i've seen: and so i have seen in all my applications - i have selenium test, but they aren't displayed in browser. what is the error? I've seen this before (where Selenium won't even find the test suite), and I can't remember all the details, but it's to do with ERSelenium trying to handle builds with and without a bundle in Eclipse. Try disabling the 'NSProjectBundleEnabled' property in the application's Run Configuration. In the WO tab, untick it altogether: -- Paul Hoadley http://logicsquad.net/ ___ 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
MySQL: InnoDB vs MyISAM or InnoDB + MyISAM
Did anybody do chain like this - InnoDB (some tables) + MyISAM (other tables)? And what problems I will get when will use this sheme? Thanx. ___ 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: Maven
[INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 19.869s [INFO] Finished at: Wed Apr 25 23:44:20 PDT 2012 [INFO] Final Memory: 6M/81M [INFO] [ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:define-woapplication-resources (default-define-woapplication-resources) on project LegalSoundsMobile: Could not open jar ('JavaEOProject-5.4.3.jar') input stream: invalid block type - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:define-woapplication-resources (default-define-woapplication-resources) on project LegalSoundsMobile: Could not open jar ('JavaEOProject-5.4.3.jar') input stream at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Could not open jar ('JavaEOProject-5.4.3.jar') input stream at org.objectstyle.woproject.maven2.wolifecycle.DefineWOApplicationResourcesMojo.executeCopyWebServerResources(DefineWOApplicationResourcesMojo.java:297) at org.objectstyle.woproject.maven2.wolifecycle.DefineWOApplicationResourcesMojo.execute(DefineWOApplicationResourcesMojo.java:227) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.util.zip.ZipException: invalid block type at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147) at java.util.zip.ZipInputStream.read(ZipInputStream.java:154) at java.util.jar.JarInputStream.read(JarInputStream.java:195) at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:100) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:78) at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:130) at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:167) at org.objectstyle.woproject.maven2.wolifecycle.DefineWOApplicationResourcesMojo.executeCopyWebServerResources(DefineWOApplicationResourcesMojo.java:267) ... 22 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException i have removed broken files from repository and execute again. and i do it doubly. but i have again the same error! 25 апреля 2012 г. 20:52 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, Could you execute the following command and send us the maven.log file generated? mvn clean install -e -X maven.log Cheers, Henrique On 25/04/2012, at 03:28, Ron X wrote: Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) 23 апреля 2012 г. 19:24 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 21/04/2012, at 06:02, Ron X wrote: [ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:woapplication (default-cli) on project XMobile: Failed to execute: Executing Ant script: wolifecycle.build.xml [build
Components Trouble
hi i have some problem with components: @Override public WOActionResults defaultAction() { WOComponent page = pageWithName(Main.class); return page; } DEBUG 42.53 MB used/38.53 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - com.webobjects.appserver._private.WOComponentDefinition No template found for component Main at file:/Users/user/Documents/workspace/XMobile/. and so happens with any component if i change Main to it - for example PageWrapper or another. what is it? ___ 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: Maven
i wrote: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException ---read this--- i have removed broken files from repository and execute again. and i do it doubly. but i have again the same error! - so i find files, remove it, maven download it. but maven considers it as broken 26 апреля 2012 г. 14:12 пользователь Lachlan Deck lachlan.d...@gmail.comнаписал: On 26/04/2012, at 5:28 PM, Ron X wrote: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 19.869s [INFO] Finished at: Wed Apr 25 23:44:20 PDT 2012 [INFO] Final Memory: 6M/81M [INFO] [ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:define-woapplication-resources (default-define-woapplication-resources) on project LegalSoundsMobile: Could not open jar ('JavaEOProject-5.4.3.jar') input stream: invalid block type - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:define-woapplication-resources (default-define-woapplication-resources) on project LegalSoundsMobile: Could not open jar ('JavaEOProject-5.4.3.jar') input stream And the results of the following will also help: $ find ~/.m2 -name JavaEOProject-5.4.3.jar on my system I get: $ find ~/.m2 -name JavaEOProject-5.4.3.jar /Users/ldeck/.m2/repository/com/webobjects/JavaEOProject/5.4.3/JavaEOProject-5.4.3.jar Lachlan Deck lachlan.d...@gmail.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Components Trouble
yes, everything is like you said. but java-sources i locate in componenT (without s) package. 26 апреля 2012 г. 15:29 пользователь Farrukh Ijaz farrukh.i...@fuegodigitalmedia.com написал: Hi Ron, Is this happing with any project you create? If not then check the file * resources.include.patternset* under *woproject* folder. It should be something like this. Looks like the app can't locate the .wo folder. Farrukh On 2012-04-26, at 11:56 AM, Ron X wrote: hi i have some problem with components: @Override public WOActionResults defaultAction() { WOComponent page = pageWithName(Main.class); return page; } DEBUG 42.53 MB used/38.53 MB free [WorkerThread0] (ERXNSLogLog4jBridge.java:46) - com.webobjects.appserver._private.WOComponentDefinition No template found for component Main at file:/Users/user/Documents/workspace/XMobile/. and so happens with any component if i change Main to it - for example PageWrapper or another. what is it? ___ 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/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.com attachment: Screen Shot 2012-04-26 at 3.19.30 PM.png ___ 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: SQL
) at er.extensions.appserver.ERXApplication.run(ERXApplication.java:1303) at com.webobjects.appserver.WOApplication.main(WOApplication.java:548) at er.extensions.appserver.ERXApplication.main(ERXApplication.java:783) at dm.legalsounds.Application.main(Application.java:45) Caused by: java.lang.RuntimeException: Failed to execute 'alter table Album null oldName longtext'. at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:660) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:614) at er.extensions.migration.ERXMigrationColumn.create(ERXMigrationColumn.java:390) at er.extensions.migration.ERXMigrationTable._newColumn(ERXMigrationTable.java:237) at er.extensions.migration.ERXMigrationTable.newColumn(ERXMigrationTable.java:282) at er.extensions.migration.ERXMigrationTable.newLargeStringColumn(ERXMigrationTable.java:334) at er.extensions.migration.ERXMigrationTable.newStringColumn(ERXMigrationTable.java:321) at dm.legalsounds.migrations.LegalSounds147.upgrade(LegalSounds147.java:20) at er.extensions.migration.ERXMigrationDatabase$Migration.upgrade(ERXMigrationDatabase.java:444) at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:473) ... 16 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null oldName longtext' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) = why EOF generate alter table Album null oldName longtext ? well-written code is: alter table Album ADD oldName longtext thanx. 17 апреля 2012 г. 18:43 пользователь Henrique Prange hpra...@gmail.com написал: Hi Ron, The m2e plug-in usually respects the order of your dependencies. Always add ERExtensions as your first dependency to avoid problems. Cheers, Henrique On 17/04/2012, at 12:30, Ron X wrote: i use maven 17 апреля 2012 г. 17:17 пользователь Johann Werner j...@oyosys.de написал: Am 17.04.2012 um 15:52 schrieb Ron X: compilation error: The constructor NSArrayString(String, String) is undefined Then something with your class path is wrong, the Wonder version of NSArray has the constructor NSArray(E, E...). Check if ERExtensions comes before the Java* frameworks. 17 апреля 2012 г. 11:53 пользователь Johann Werner j...@oyosys.de написал: Am 17.04.2012 um 09:22 schrieb Ron X: NSArrayString keys = new NSArrayString(new String[]{chart_count, chart_size_sum}); don't make it more complicated than necessary: keys = new NSArrayString(chart_count, chart_size_sum); NSArrayNSDictionary result = EOUtilities.rawRowsForSQL(editingContext, legalsounds, SELECT count(*), sum(songFileSize) FROM `Song`, keys); works fine 17 апреля 2012 г. 10:20 пользователь Ron X ron.x.by...@gmail.com написал: Error! The method rawRowsForSQL(EOEditingContext, String, String, NSArray) in the type EOUtilities is not applicable for the arguments (EOEditingContext, String, String, String[]) 13 апреля 2012 г. 21:47 пользователь Larry Mills-Gahl l...@webfarm.com написал: On Apr 13, 2012, at 7:07 AM, Ron X wrote: thank you very much! very good! this method considered deprecated - is there non-deprecated method? EOUtilities.rawRowsForSQL(EOEditingContext ec, String modelName, String sqlString, NSArray keys) rawRowsForSQL public static NSArray rawRowsForSQL(EOEditingContext ec, String modelName, String sqlString, NSArray keys) Evaluates the specified SQL and returns the resulting raw rows. Parameters: ec - an EOEditingContext modelName - name of the EOModel to use sqlString - the query string in SQL syntax keys - array of Strings corresponding to the SELECT list; these will be used as the keys in the result dictionaries; use null for default naming Returns: matching raw rows (an NSArray of NSDictionaries) Since: 5.2.2 ___ 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/hprange%40gmail.com This email sent to hpra...@gmail.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/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored
Re: SQL
i think it's an error in wonder-mysql-plugin 25 апреля 2012 г. 9:22 пользователь Ron X ron.x.by...@gmail.com написал: i think i use MySQL-plugin checkouted from WONDER-repo. 25 апреля 2012 г. 1:33 пользователь Pascal Robert prob...@macti.caнаписал: You have to use the MySQL plugin from Wonder, the bundled plugin coming with WO 5.4 have problems. i use MySQL and do migration by the migration java class (not sql-file): @Override public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase database) throws Throwable { ERXMigrationTable albumTable = database.existingTableNamed(Album); albumTable.newStringColumn(oldName, true); and i get: INFO 32.41 MB used/48.65 MB free [ProcessChangesQueue] (ERXJDBCUtilities.java:653) - Executing alter table Album null oldName longtext DEBUG 34.08 MB used/46.99 MB free [ProcessChangesQueue] (ERXEOAccessUtilities.java:1221) - _dbupdater@999692932 expression took 5 ms: UPDATE _dbupdater SET lockowner = NULL, updatelock = ? WHERE modelname = ? withBindings: 1:0[updateLock], 2:sounds[modelName] ERROR 34.41 MB used/46.65 MB free [ProcessChangesQueue] (ERXApplication.java:1307) - SoundsAdmin failed to start. MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null oldName longtext' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.Util.getInstance(Util.java:384) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2562) at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1664) at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1583) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:656) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:614) at er.extensions.migration.ERXMigrationColumn.create(ERXMigrationColumn.java:390) at er.extensions.migration.ERXMigrationTable._newColumn(ERXMigrationTable.java:237) at er.extensions.migration.ERXMigrationTable.newColumn(ERXMigrationTable.java:282) at er.extensions.migration.ERXMigrationTable.newLargeStringColumn(ERXMigrationTable.java:334) at er.extensions.migration.ERXMigrationTable.newStringColumn(ERXMigrationTable.java:321) at dm.legalsounds.migrations.LegalSounds147.upgrade(LegalSounds147.java:20) at er.extensions.migration.ERXMigrationDatabase$Migration.upgrade(ERXMigrationDatabase.java:444) at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:473) at er.extensions.eof.ERXEOAccessUtilities$ChannelAction.perform(ERXEOAccessUtilities.java:1489) at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:201) at er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1186) ... skipped 13 stack elements WARN 38.74 MB used/42.32 MB free [ProcessChangesQueue] (ERXNSLogLog4jBridge.java:43) - A fatal exception occurred: Migration failed. [2012-4-21 15:59:31 EEST] ProcessChangesQueue er.extensions.migration.ERXMigrationFailedException: Migration failed. at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:490) at er.extensions.eof.ERXEOAccessUtilities$ChannelAction.perform(ERXEOAccessUtilities.java:1489) at er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:201) at er.extensions.appserver.ERXApplication.finishInitialization(ERXApplication.java:1186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588) at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532) at com.webobjects.foundation.NSNotificationCenter.postNotification
Re: Maven
[ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.2.1:woapplication (default-cli) on project XMobile: Failed to execute: Executing Ant script: wolifecycle.build.xml [build-woapplication]: Failed to execute. The dependencies.lib property is not set - [Help 1] should i rename build.xml to wolifecycle.build.xml? 20 апреля 2012 г. 20:09 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 20/04/2012, at 13:42, Henrique Prange wrote: You have to complete at least the first three steps from the Maven Quick Start Guide [1] before you can build Wonder successfully. I forgot the reference. [1]http://wiki.wocommunity.org/display/WOL/Quick+Start Cheers, Henrique ___ 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: SQL
'. at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:660) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:614) at er.extensions.migration.ERXMigrationColumn.create(ERXMigrationColumn.java:390) at er.extensions.migration.ERXMigrationTable._newColumn(ERXMigrationTable.java:237) at er.extensions.migration.ERXMigrationTable.newColumn(ERXMigrationTable.java:282) at er.extensions.migration.ERXMigrationTable.newLargeStringColumn(ERXMigrationTable.java:334) at er.extensions.migration.ERXMigrationTable.newStringColumn(ERXMigrationTable.java:321) at dm.legalsounds.migrations.LegalSounds147.upgrade(LegalSounds147.java:20) at er.extensions.migration.ERXMigrationDatabase$Migration.upgrade(ERXMigrationDatabase.java:444) at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:473) ... 16 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null oldName longtext' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) = why EOF generate alter table Album null oldName longtext ? well-written code is: alter table Album ADD oldName longtext thanx. 17 апреля 2012 г. 18:43 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, The m2e plug-in usually respects the order of your dependencies. Always add ERExtensions as your first dependency to avoid problems. Cheers, Henrique On 17/04/2012, at 12:30, Ron X wrote: i use maven 17 апреля 2012 г. 17:17 пользователь Johann Werner j...@oyosys.de написал: Am 17.04.2012 um 15:52 schrieb Ron X: compilation error: The constructor NSArrayString(String, String) is undefined Then something with your class path is wrong, the Wonder version of NSArray has the constructor NSArray(E, E...). Check if ERExtensions comes before the Java* frameworks. 17 апреля 2012 г. 11:53 пользователь Johann Werner j...@oyosys.deнаписал: Am 17.04.2012 um 09:22 schrieb Ron X: NSArrayString keys = new NSArrayString(new String[]{chart_count, chart_size_sum}); don't make it more complicated than necessary: keys = new NSArrayString(chart_count, chart_size_sum); NSArrayNSDictionary result = EOUtilities.rawRowsForSQL(editingContext, legalsounds, SELECT count(*), sum(songFileSize) FROM `Song`, keys); works fine 17 апреля 2012 г. 10:20 пользователь Ron X ron.x.by...@gmail.comнаписал: Error! The method rawRowsForSQL(EOEditingContext, String, String, NSArray) in the type EOUtilities is not applicable for the arguments (EOEditingContext, String, String, String[]) 13 апреля 2012 г. 21:47 пользователь Larry Mills-Gahl l...@webfarm.comнаписал: On Apr 13, 2012, at 7:07 AM, Ron X wrote: thank you very much! very good! this method considered deprecated - is there non-deprecated method? *EOUtilities.rawRowsForSQLhttp://api.webobjects.me/wo542/com/webobjects/eoaccess/EOUtilities.html#rawRowsForSQL%28com.webobjects.eocontrol.EOEditingContext,%20java.lang.String,%20java.lang.String,%20com.webobjects.foundation.NSArray%29 *(EOEditingContexthttp://api.webobjects.me/wo542/com/webobjects/eocontrol/EOEditingContext.html ec, Stringhttp://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html modelName, Stringhttp://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html sqlString, NSArrayhttp://api.webobjects.me/wo542/com/webobjects/foundation/NSArray.html keys) rawRowsForSQL public static NSArray http://api.webobjects.me/wo542/com/webobjects/foundation/NSArray.html *rawRowsForSQL*(EOEditingContext http://api.webobjects.me/wo542/com/webobjects/eocontrol/EOEditingContext.html ec, String http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html modelName, String http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html sqlString, NSArray http://api.webobjects.me/wo542/com/webobjects/foundation/NSArray.html keys) Evaluates the specified SQL and returns the resulting raw rows. *Parameters:*ec - an EOEditingContext modelName - name of the EOModel to usesqlString - the query string in SQL syntaxkeys - array of Strings corresponding to the SELECT list; these will be used as the keys in the result dictionaries; use null for default naming *Returns:*matching raw rows (an NSArray of NSDictionaries) *Since:*5.2.2 ___ 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/hprange%40gmail.com This email sent to hpra...@gmail.com ___ Do not post admin
Re: WOUnit
why didn't you include this dependency in WOUnit? and why should i use 1.2 version instead 1.3-SNAPSHOT? 18 апреля 2012 г. 19:29 пользователь Henrique Prange hpra...@gmail.comнаписал: Hi Ron, On 18/04/2012, at 13:06, Henrique Prange wrote: Hi Ron, On 18/04/2012, at 08:06, Ron X wrote: What is the meaning of using @UnderTest? The @UnderTest annotation can be used to create real enterprise objects and insert them into the editing context rule. It is a shorthand for: public class SongTest { ... private Song song; @Before public void setup() { foo = Song.createFoo(ec); } ... } A small fix: public class SongTest { ... private Song song; @Before public void setup() { song = Song.createSong(ec); } ... } Cheers, Henrique ___ 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
Maven
hi does anybody know how set up maven for wonder in right way? mvn clean install i have this error: [INFO] Creating output folders [INFO] Defining WO resources [INFO] Defining WO properties [INFO] Defining WO classpath [INFO] Coping WebServerResources [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:15.213s [INFO] Finished at: Thu Apr 19 01:44:56 PDT 2012 [INFO] Final Memory: 9M/81M [INFO] [ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.1:define-woapplication-resources (default-define-woapplication-resources) on project XMobile: Could not open jar ('JavaWebObjects-5.4.3.jar') input stream: invalid entry size (expected 13949 but got 11459 bytes) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. by the way - how can i build project with maven in build-directory - not in target. i thought maven-wolifecycle-plugin do this automatically and can anybody list all maven goals in this plugin? ___ 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: Maven
i start mvn clean org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.1:package-woapplication or mvn clean org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.1:woapplication build successful but how get .woa folder? there is tar.gz and jar-s... 19 апреля 2012 г. 11:54 пользователь Ron X ron.x.by...@gmail.com написал: hi does anybody know how set up maven for wonder in right way? mvn clean install i have this error: [INFO] Creating output folders [INFO] Defining WO resources [INFO] Defining WO properties [INFO] Defining WO classpath [INFO] Coping WebServerResources [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:15.213s [INFO] Finished at: Thu Apr 19 01:44:56 PDT 2012 [INFO] Final Memory: 9M/81M [INFO] [ERROR] Failed to execute goal org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.1:define-woapplication-resources (default-define-woapplication-resources) on project XMobile: Could not open jar ('JavaWebObjects-5.4.3.jar') input stream: invalid entry size (expected 13949 but got 11459 bytes) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. by the way - how can i build project with maven in build-directory - not in target. i thought maven-wolifecycle-plugin do this automatically and can anybody list all maven goals in this plugin? ___ 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
WOUnit
hi everybody @Spy - not find in classpath dependency groupIdcom.wounit/groupId artifactIdwounit/artifactId version1.3-SNAPSHOT/version /dependency why? ___ 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