Still not quite there. The app now starts up from JavaMonitor and status looks good (ON), but when I try to access it, I get:
The requested application was not found on this server.
I've installed the MacPorts apache and loaded it:
sudo port load apache2
and turned off the Server Websites service from the Server app. Apache is serving the correct static pages from my document root.
The Macports Apache uses the httpd.conf from /opt/local/apache2/conf
The changes I've made to the default macports httpd.conf are shown in red below:
ServerName localhost:80
DocumentRoot "/Library/WebServer/Documents"
<Directory />
Options FollowSymLinks
AllowOverride None
# Order deny,allow
# Deny from all
</Directory>
<Directory "
/Library/WebServer/Documents">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
#
http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
<Directory "/Library/WebServer/CGI-Executables">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
Some key entries in the referenced apache.conf file are:
LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (NOTE: This is the wonder version)
WebObjectsDocumentRoot /Library/WebServer/Documents
WebObjectsAlias /cgi-bin/WebObjects
WebObjectsConfig localhost:1085 10
On Jan 6, 2014, at 6:43 AM, Jeffrey Schmitz <
email@hidden> wrote:
On Jan 6, 2014, at 4:14 AM, Amedeo Mantica <
email@hidden> wrote:
What
happens starting manually the app?
The clue I needed appeared...
/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:2484)
at java.lang.Class.getMethod0(Class.java:2727)
at java.lang.Class.getMethod(Class.java:1639)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86)
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
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
This same thing happened about a year and a half ago. I need to do a better job of searching the old e-mails, swore I searched on "no logs" but somehow missed this old thread...
On Jul 23, 2012, at 10:15 PM, Jeffrey Schmitz <
email@hidden> wrote:
Re: App won't start, no logs
The root of the problem was that I didn't have my framework project added as a framework to my main project. 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
And again, thanks! for all the help.
Jeff
_______________________________________________
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