• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] moving to Eclipse... still some issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] moving to Eclipse... still some issue


  • Subject: Re: [OT] moving to Eclipse... still some issue
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 27 Jun 2007 11:22:51 -0700


On Jun 27, 2007, at 8:33 AM, WO Dev wrote:

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?


There is (or is this fixed now?) a problem with the executable not being marked as an executable file. You need to chmod 755 App.woa/App
I do this in my Ant file that builds the deployment package.



The exact same application build with Xcode works.
Starting with the command line work only if I remove the -- NSProjectSearchPath ()...

That might be a different issue then.


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?

I'd guess permissions. I don't see anything wrong with the classpath. Try copying the classpath file form the Xcode build into the WOLips build. Does that allow it to launch? If not, the problem lies elsewhere. If it does launch with the Xcode classpath, look at the contents of those different directories above.



Chuck




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:
40global-village.net


This email sent to email@hidden


--

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/products/practical_webobjects






_______________________________________________
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


  • Follow-Ups:
    • Re: [OT] moving to Eclipse... still some issue
      • From: Lachlan Deck <email@hidden>
References: 
 >[OT] moving to Eclipse... still some issue (From: WO Dev <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: Lachlan Deck <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: WO Dev <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: WO Dev <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: Lachlan Deck <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: Chuck Hill <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: WO Dev <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: Lachlan Deck <email@hidden>)
 >Re: [OT] moving to Eclipse... still some issue (From: WO Dev <email@hidden>)

  • Prev by Date: Re: Duplicate objects in a relationship
  • Next by Date: Re: [Wonder-disc] ERSelenium without ERExtensions
  • Previous by thread: Re: [OT] moving to Eclipse... still some issue
  • Next by thread: Re: [OT] moving to Eclipse... still some issue
  • Index(es):
    • Date
    • Thread