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: David Griffith <email@hidden>
- Date: Thu, 5 Nov 2009 04:24:14 +0100
Thanks, I thought it had been set but it hadn't. Now this is what I'm
getting.....
[2009-11-05 04:23:04 CET] <WorkerThread15>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.foundation.NSForwardException
[java.lang.UnsupportedClassVersionError] Bad version number in .class
file: <ips.distributor.Session> failed instantiation. Exception thrown :
java.lang.UnsupportedClassVersionError: Bad version number in .class
file: Bad version number in .class file
[2009-11-05 04:23:04 CET] <WorkerThread15> <WOWorkerThread id=15
socket=Socket[addr=/70.85.175.58,port=42015,localport=2010]> Exception
occurred while responding to client:
com.webobjects.foundation.NSForwardException
[com.webobjects.foundation.NSForwardException] null
On Nov 5, 2009, at 4:19 AM, Pascal Robert wrote:
Did you enable the logs in the app config in JavaMonitor? If not, do
it, if yes check the file specified in Monitor.
Now I'm getting an Internal Server Error when trying to connect to the
app. Usually this indicates a connection problem with the database
but is this error properly reported to any log? I'd like to see
exactly what it's complaining about...
Dave.
On Nov 5, 2009, at 3:57 AM, David Griffith wrote:
Thanks for that. And yes, it was Project Wonder causing the problem.
Updated the frameworks and it seems fine now.
Regards,
David.
On Nov 5, 2009, at 3:29 AM, David LeBer wrote:
On 2009-11-04, at 9:26 PM, David Griffith wrote:
So how do I go about embedding them? They are added into the
project already and in the build path.
Eclipse -> YourApp -> Properties -> WOLips Deployment -> Embed
Frameworks
On Nov 5, 2009, at 3:23 AM, Pascal Robert wrote:
I don't remember Wonder having a dependency against ORO, but you
really should embed your frameworks into the apps, to make sure you
use the same version of Wonder and WO on both your dev machine and
your server.
Well I haven't a clue what it is, but I've just had a thought...
maybe
it's got something to do with Project Wonder. Probably need to
update
to the latest version on the linux box...
On Nov 5, 2009, at 3:15 AM, David LeBer wrote:
On 2009-11-04, at 9:12 PM, David Griffith wrote:
I don't even know what jakarta-oro is to be honest. Never seen
it
before. Is it something I need to have installed?
oro is a text processing (i.e: regex etc) library.
<http://jakarta.apache.org/oro/
And the error you are seeing is because there is a reference to
it's
MalformedPatternException class that cannot be fulfilled.
Dave.
On Nov 5, 2009, at 3:09 AM, Pascal Robert wrote:
... And if it's the case, move the file (jarkata-oro-XXXX.jar) to
the Libraries folder in the WO project, in Eclipse right-click on
the JAR, select Build Path -> Add to build path. When you build
the
bundle with Ant, the jar will be automatically added to the
bundle
and you will be fine, no matter where you deploy. After that,
remove
jarkata-oro-XXXX.jar from /Library/Java/Extensions (close Eclipse
first, or else it will complain about missing JARs).
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
--
-------------------------------------------------------
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
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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
--
-------------------------------------------------------
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