Re: [OT] moving to Eclipse... still some issue
Re: [OT] moving to Eclipse... still some issue
- Subject: Re: [OT] moving to Eclipse... still some issue
- From: WO Dev <email@hidden>
- Date: Wed, 27 Jun 2007 17:33:02 +0200
Hi,
Sorry for the late reply on this post...
I'm still trying to make it work "normally".
So I've checked all the frameworks, etc and they are all present and
at the same place on both the server and my local machine.
But it seems there's 2 different problems, the first one for me is
Monitor isn't able to start the instance for the updated apps. Which
is a serious issue because all schedule instances won't be able to
restart!
Anyone has an idea why it only happens with applications build with
WOLips? The exact same application build with Xcode works.
Starting with the command line work only if I remove the --
NSProjectSearchPath ()...
The second issue is also a major one, it seems I have to embed all
frameworks for the application to work, which also happen only when
build with WOLips:(
Here's the app Unix classpath from Xcode:
--------------
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass == Application
APPROOT/Resources/Java/elecomacbo.jar
WOROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
WOROOT/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
WOROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
LOCALROOT/Library/Frameworks/EOMySQLPrototypes.framework
WOROOT/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
LOCALROOT/Library/Frameworks/AnazysCommons.framework/Resources/Java/
anazyscommons.jar
LOCALROOT/Library/Frameworks/Elecomac.framework/Resources/Java/
elecomac.jar
LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar
LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/
src.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
icu4j_2_8.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
icu4jdocs_2_8.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
log4j-1.2.8.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/src.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
ERJavaMail.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
activation-1.0.2.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
jakarta-oro-2.0.6.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
mailapi.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
smtp.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/src.jar
HOMEROOT/Library/Java
LOCALROOT/Library/Java
WOROOT/Library/Java
/Network/Library/Java
WOROOT/Library/Frameworks/JavaVM.framework/Classes/classes.jar
WOROOT/Library/Frameworks/JavaVM.framework/Classes/ui.jar
--------------
from WOLips
--------------
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass == Application
APPROOT/Resources/Java/
APPROOT/Resources/Java/elecomacbo.jar
LOCALROOT/Library/Frameworks/AnazysCommons.framework/Resources/Java/
anazyscommons.jar
LOCALROOT/Library/Frameworks/Elecomac.framework/Resources/Java/
elecomac.jar
LOCALROOT/Library/Frameworks/EOMySQLPrototypes.framework/Resources/
Java/eomysqlprototypes.jar
LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
icu4j_2_8.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
icu4jdocs_2_8.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/
log4j-1.2.14.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
activation-1.0.2.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
ERJavaMail.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
jakarta-oro-2.0.6.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
mailapi.jar
LOCALROOT/Library/Frameworks/ERJavaMail.framework/Resources/Java/
smtp.jar
LOCALROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/
Java/JavaWOExtensions.jar
WOROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
WOROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
WOROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
WOROOT/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
WOROOT/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
WOROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
--------------
the only differences are:
-------------
APPROOT/Resources/Java/
HOMEROOT/Library/Java
LOCALROOT/Library/Java
WOROOT/Library/Java
/Network/Library/Java
WOROOT/Library/Frameworks/JavaVM.framework/Classes/classes.jar
WOROOT/Library/Frameworks/JavaVM.framework/Classes/ui.jar
-------------
It doens't look like it could lead to incorrect linking frameworks.
The permission on the server are root:wheel 755 for the application
and appserver for wotaskd (but the application build with Xcode works
correctly)
Anyone with an idea?
Thanks
Xavier
PS: The deployment machine is a dual G4 and the development is a Core
2 Duo.
On 24/06/2007, at 3:06 PM, WO Dev wrote:
I checked my project and frameworks, and it appears the framework
with the eomodel was referenced only in the "Java Build Path >
Projects" and not in "Java Build Path > Libraries" so I corrected
this.
That shouldn't matter. It's an either/or case. The thing to check
is the *Classpath files in Contents/[MacOS | UNIX | Windows]
(whichever is relevant for your deployment) in the built product.
Also double check the permissions on the deployment server.
But it still has the same error...
I'll try embedding the frameworks...
If you're embedding (which I usually do) you only need to upload
the changes, rather than replacing the whole thing each time.
with regards,
--
Lachlan Deck
_______________________________________________
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