Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
- Subject: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
- From: Philippe Roud <email@hidden>
- Date: Wed, 06 Aug 2008 09:10:40 +0200
Thanks for the hint,
I'm back to the code and hit by something totally unrelated but somewhat
annoying when building/cleaning:
my webobjects "Properties" file, under Resources is not copied to the
build/.woa/Content/Resources
I can see it in WOLips perspective so it shouldn't be filtered out.
Is there a parameter somewhere in the configs or a rule to set so that
it is copied automatically?
Best regards
PHiL
Chuck Hill a écrit :
Check your code:
Caused by: java.lang.NullPointerException
at
ch.rero.ill.ill.RequestsListComponent.<init>(RequestsListComponent.java:112)
at ch.rero.ill.ill.ProvidePage.<init>(ProvidePage.java:28)
... 69 more
The constructor for ch.rero.ill.ill.RequestsListComponen is causing
this error on line 112.
Chuck
On Aug 5, 2008, at 7:58 AM, Philippe Roud wrote:
Hi All,
I'm in the process of moving our apps from XCode to Eclipse(Version:
3.3.2 Build id: M20080221-1800) + stable WOLips. I imported the code
in eclipse after the migration tool has been applied and it worked
supprisingly well with a wo5.3 on Tiger within eclipse environement
both in Eclipse as WOApp and in a tomcat (6.0.16) env.
Then I moved the code to the same eclipse+wolips on Leopard. I
updated Wonder for 5.4 and after some refactoring it worked as a
WOApplication in Eclipse, then I deployed to a Leopard server and it
worked too, but we are really interested in running our apps in a
servlet env (the same that was used for the previous tests). The app
is successfully deployed and launched, but when accessing the
functionalities that work on mac os server it fails with the
following log.
I am puzzled by this, so if you have any advice on where to look for
errors you are welcomed...
I also added a list of duplicate jars/packages signaled by
ERXApplication after the log...
[2008-8-5 13:44:31 CEST] <http-8080-1>
com.webobjects.foundation.NSLog$PrintStreamLogger@1dae160
[2008-8-5 13:44:31 CEST] <http-8080-1> Welcome to ILL!
[2008-8-5 13:44:31 CEST] <http-8080-1> On latitude-d600
[2008-8-5 13:44:31 CEST] <http-8080-1> com.webobjects.pid:null
[2008-8-5 13:44:31 CEST] <http-8080-1>
<WOApplication>.primeApplication: The Application name is ILL
[2008-8-5 13:44:31 CEST] <http-8080-1> The URL for webserver connect
through Servlet Container is:
http://latitude-d600//ILL/WebObjects/ILL.woa
END of the log
I have some duplicate jars signaled by :
ERXApplication$JarChecker (ERXApplication.java:633) - The following
packages appear multiple times:
com/webobjects/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOApplication.framework/Resources/Java/javaeoapplication.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEODistribution.framework/Resources/Java/javaeodistribution.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOGeneration.framework/Resources/Java/javaeogeneration.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaJNDIAdaptor.framework/Resources/Java/javajndiadaptor.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar")
com/webobjects/_ideservices/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar")
com/webobjects/appserver/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar")
com/webobjects/appserver/_private/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar")
com/webobjects/appserver/xml/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar")
com/webobjects/appserver/xml/_private/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar")
com/webobjects/eoaccess/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar")
com/webobjects/eocontrol/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar")
com/webobjects/foundation/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar")
com/webobjects/jdbcadaptor/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar")
com/webobjects/woextensions/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar")
org/apache/->("/home/roudp/Downloads/apache-tomcat-6.0.16/bin/bootstrap.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar")
org/slf4j/->("/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar",
"/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar")
2008-08-05 14:44:30,395 WARN -[-:55599 0] ERXApplication$JarChecker
(ERXApplication.java:649) - The following packages have different
versions, you should remove the version you don't want:
com/webobjects/_ideservices->(14978->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar,
10036->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar)
com/webobjects/appserver/xml/_private->(4845->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar,
4663->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar)
com/webobjects/eocontrol->(5225->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar,
4298->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar)
com/webobjects/foundation->(1176->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF/Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar,
1180->/home/roudp/Downloads/apache-tomcat-6.0.16/webapps/ILL/WEB-INF//Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar)
They appear as INFO and Warnings, but could they be the cause of the
exception?
Do you have any advice where to start looking for something wrong?
Best regards
PHiLippe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden