The root of the problem was that I didn't have my framework project added as a 
framework to my main project, and that's where the jdom jar I was referencing 
was (among others).  On my development machine I was referencing the project, 
so everything worked there.  As soon as I added the framework everything worked 
on the deployment machine.

Thanks for the help.

Jeff

On Jul 23, 2012, at 7:04 AM, Pascal Robert wrote:

> 
> Le 2012-07-22 à 21:05, Jeffrey Schmitz a écrit :
> 
>> Yep, something weird going on here, not sure why it's picking up the cocoon 
>> stuff (even though it is a pretty cool framework) or the saxon stuff, from 
>> my downloads directory of all places.  I don't have either in my build path 
>> of my project.
> 
> Those are included at runtime by WO (in deployment mode), they are never seen 
> in the class path.
> 
>> /Library/WebObjects/Extensions/axis-ant.jar
>> /Library/WebObjects/Extensions/axis.jar
>> /Library/WebObjects/Extensions/commons-discovery-0.2.jar
>> /Library/WebObjects/Extensions/commons-logging-1.0.4.jar
>> /Library/WebObjects/Extensions/derby.jar
>> /Library/WebObjects/Extensions/derbyclient.jar
>> /Library/WebObjects/Extensions/jaxrpc.jar
>> /Library/WebObjects/Extensions/log4j-1.2.14.jar
>> /Library/WebObjects/Extensions/saaj.jar
>> /Library/WebObjects/Extensions/serializer.jar
>> /Library/WebObjects/Extensions/servlet.jar
>> /Library/WebObjects/Extensions/wsdl4j-1.5.1.jar
>> /Library/WebObjects/Extensions/xalan.jar
>> /Library/WebObjects/Extensions/xercesImpl.jar
>> /Library/WebObjects/Extensions/xml-apis.jar
>> /Library/WebObjects/Extensions/
>> {}
>> /Library/WebObjects/Applications/netBrackets.woa/
>> /Applications/cocoon-2.1.10
>> /Users/netBrackets/Downloads/saxonb9-0-0-2j/saxon9.jar
>> java.lang.NoClassDefFoundError: org/jdom/JDOMException
>>      at java.lang.Class.getDeclaredMethods0(Native Method)
>>      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>      at java.lang.Class.getMethod0(Class.java:2670)
>>      at java.lang.Class.getMethod(Class.java:1603)
>>      at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86)
>> Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
> 
> jdom.jar is missing from your classpath. Add it in the Libraries folder of 
> your app, redeploy and the app should start.
> 
>>      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>      at java.security.AccessController.doPrivileged(Native Method)
>>      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>      ... 5 more
>> l
>> On Jul 22, 2012, at 7:29 PM, [email protected] wrote:
>> 
>>> Start the app manually (cd /my/app.woa; ./myApp), you should see why it's 
>>> not starting.
>>> 
>>> Are you bundling the frameworks inside the app?
>>> 
>>> Envoyé de mon iPhone
>>> 
>>> Le 2012-07-22 à 20:23, "Jeffrey Schmitz" <[email protected]> a écrit :
>>> 
>>>> It's an OS X box (lion server) but that didn't help.  Still no start and 
>>>> no logs.
>>>> 
>>>> Jeff
>>> 
>>>> 
>>>> On Jul 22, 2012, at 6:24 PM, Pascal Robert wrote:
>>> 
>>>> 
>>>>> If it's a OS X box, wotaskd is running on _appserver (the user) or 
>>>>> _appserveruser (the group), so try to change the user to _appserver to 
>>>>> see if the app starts.
>>>>> 
>>>>>> The permissions are the same for both:
>>>>>> 
>>>>>> -rwxr-x---  1 root  _appserveradm  
>>>>>> 
>>>>>> On Jul 22, 2012, at 12:55 PM, Pascal Robert wrote:
>>>>>> 
>>>>>>> Sounds like permission problems… Compare the permissions of the startup 
>>>>>>> script (MyApp.woa/MyApp) of the "bad" application with the one that 
>>>>>>> starts correctly.
>>>>>>> 
>>>>>>>> Hello,
>>>>>>>> I recently tried to install and start a new version of an already 
>>>>>>>> setup app using WOMonitor (the wonder version).  However, it doesn't 
>>>>>>>> start, and there are no webobject log files being created.  
>>>>>>>> 
>>>>>>>> I've added the logs for wotaskd and womonitor as described here:
>>>>>>>> 
>>>>>>>> http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X
>>>>>>>> 
>>>>>>>> And on a reboot, I get the following womonitor errors:
>>>>>>>> 
>>>>>>>> [2012-7-22 9:27:47 CDT] <main> The bundle wotaskd has malformed 
>>>>>>>> version number:
>>>>>>>> [2012-7-22 9:27:47 CDT] <main> The bundle JavaMonitor has malformed 
>>>>>>>> version number:
>>>>>>>> 
>>>>>>>> 
>>>>>>>> However, both womonitor and wotaskd seem to be up and working.  I can 
>>>>>>>> bring up the womonitor page, and when I go to hosts, Available is YES, 
>>>>>>>> and I can bring up the site config.  Also, I am able to bring up a 
>>>>>>>> different application that I haven't upgraded using womonitor.  I'm 
>>>>>>>> not sure where to go from here to figure out what's going on when 
>>>>>>>> starting my other application.
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> Jeff
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>> Webobjects-dev mailing list      ([email protected])
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>>>>>>> 
>>>>>>>> This email sent to [email protected]
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>> 
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to