Re: Deploying App built with Eclipse - where did the .CMD go?
Re: Deploying App built with Eclipse - where did the .CMD go?
- Subject: Re: Deploying App built with Eclipse - where did the .CMD go?
- From: Chuck Hill <email@hidden>
- Date: Wed, 4 Nov 2009 18:14:28 -0800
On Nov 4, 2009, at 6:13 PM, David Griffith wrote:
On my Mac that folder exists and has some .jars in it. Should the
mysql jar be in there too or is it ok where it is?
Probably OK where it is.
On the linux box there is /opt/apple/Library/WebObjects/Extensions
also
That would be it.
What's this jakarta-oro?
I dunno, it is your app! :-)
Chuck
On Nov 5, 2009, at 3:09 AM, Chuck Hill wrote:
No. Have a /Library/WebObjects/Extensions on this machine? If not,
how is WO getting the jars that are usually there?
On Nov 4, 2009, at 6:06 PM, David Griffith wrote:
Ummmmm.... I do have the mysql-connector-java in there...... why?
Is that what's causing it?
Regards,
Dave.
On Nov 5, 2009, at 3:03 AM, Chuck Hill wrote:
Have you been naughty and added jars to /Library/Java/Extensions?
On Nov 4, 2009, at 5:59 PM, David Griffith wrote:
Hi Pascall,
Thanks for that. I figured it out and found the relevant files -
there was no shell script of course in the build directory.
However I am now getting this when i try and launch the app on
linux:
158 [main] WARN NSLog - A fatal exception occurred: org/apache/
oro/text/regex/MalformedPatternException
[2009-11-05 02:51:26 CET] <main> java.lang.NoClassDefFoundError:
org/apache/oro/text/regex/MalformedPatternException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com
.webobjects
.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:
307)
at
com
.webobjects
.foundation._NSUtilities.classWithName(_NSUtilities.java:291)
at
com
.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:
2553)
at
com
.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:
710)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:368)
at
com
.webobjects
.appserver
._private.WOProperties.initUserDefaultsKeys(WOProperties.java:179)
at
com
.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:
5051)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:
551)
at ips.distributor.Application.<init>(Application.java:20)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:
323)
at ips.distributor.Application.main(Application.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
What is that?
Regards,
David.
On Nov 5, 2009, at 2:51 AM, Pascal Robert wrote:
That is normal, you need to actually build a full bundle with
WOLips Install Tools -> Ant install...
As for .cmd file and Linux, the .cmd is for Windows, Linux (or any
other UNIX) will use the same shell script as OS X.
Hi all,
Finally seem to have gotten the app all working well. Building
fine
on Snow Leopard. Running fine. But what I find in the build
directory is not a package, it's just a folder. It does not
contain
the .CMD file either. I need to deploy this on Linux. Certainly
something silly. What am i doing wrong?
Regards,
David.
_______________________________________________
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
--
-------------------------------------------------------
Pascal Robert
http://www.macti.ca
http://www.linkedin.com/in/macti
Skype: MacTICanada
AIM/iChat : MacTICanada
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
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
--
Chuck Hill Senior Consultant / VP Development
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
--
Chuck Hill Senior Consultant / VP Development
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