Solved.. It was a line in http.conf: ScriptAlias Francesco
On 07/dic/2010, at 18.35, Francesco Romano wrote: > I manage to solve this.. when I created the project I create a package name > org.openlab-dist, but this didn't work and I renamed it as org.openlab. The > main Application class file was not updated. > > But... other problems: > JavaMonitor is up and running. > I configured Apache changing the mod_WebObjects.so, add to httpd.conf the > Include /System/Library/... /Adaptor/Apache2.2/apache.conf > I opened JavaMonitor, add in the Host Adaptor URL: > http://macmini.openlab-dist.org/cgi-bin/WebObjects > Then added one application and tried in DirectConnect mode (it opens). Then I > tries the "real" url > http://macmini.openlab-dist.org/cgi-bin/WebObjects/OpenlabStreaming.woa/1 > But... it gives me "Object not found" Error 404 > > > Francesco > > On 07/dic/2010, at 14.59, David Avendasora wrote: > >> >> On Dec 7, 2010, at 8:56 AM, Mike Schrag wrote: >> >>> "org.openlab-dist.oss.app.Application" >>> >>> where is openlab-dist coming from -- it doesn't match your jar? i'm >>> guessing you have a bogus value for your application principal class? >> >> You can find the principal class in the build.propoperties file at the root >> of your project. >> >> Dave >> >> >> >>> >>> >>> On Dec 7, 2010, at 8:38 AM, Francesco Romano wrote: >>> >>>> This is the content of the jar: >>>> <jar.png> >>>> >>>> This is my project: >>>> >>>> <Screen shot 2010-12-07 at 14.36.15.png> >>>> >>>> I found these problems also in other D2W Wonder Application, but not in >>>> simple Wonder Application >>>> >>>> WOLips is 3.6.6211 >>>> >>>> Francesco >>>> >>>> On 07/dic/2010, at 12.50, Pascal Robert wrote: >>>> >>>>> If you didn't have the Libraries folder in your Eclipse project, it look >>>>> like you don't use the Fluffy Bunny layout or that you deleted the >>>>> Libraries folder. And that you needed to create a web.xml file is also >>>>> an indication that something is wrong with your project. >>>>> >>>>> Like Theodore said, you should embed the frameworks in your app, but >>>>> since it's the Application class who is missing, that's not your problem >>>>> (unless your org.openlab-dist.oss.app.Application class is inside a >>>>> framework). >>>>> >>>>> Go into your .woa/Contents/Resources/Java and unzip the >>>>> OpenlabStreamingSystem.jar that is there. Check if your application class >>>>> is there, if not, something went wrong in your build. >>>>> >>>>> Which version of WOLips? Can you post a screenshot of your project in >>>>> Eclipse (to get an idea of your project structure)? >>>>> >>>>>> Hi. >>>>>> I set up a deploy environment on OS X 10.6 server, setting up the Apache >>>>>> connector and WOTask and JavaMonitor following the Wiki. >>>>>> Testing the connection to the two apps works (localhost:1085 and >>>>>> localhost:56789) >>>>>> >>>>>> Now I want to deploy my Wonder D2W application. >>>>>> I did the "WOLips Ant Tools -> Install" but first it complained about a >>>>>> missing directory (Libraries), so I created it (empty) >>>>>> Then it complained about a WEB-INF/web.xml file missing.. I changed the >>>>>> settings as in the picture I attach: >>>>>> <wolips_settings.png> >>>>>> Now build is successful but when I try the app from terminal I get: >>>>>> >>>>>> Makas-Book:Applications makaveli$ >>>>>> OpenlabStreamingSystem.woa/OpenlabStreamingSystem >>>>>> Reading MacOSClassPath.txt ... >>>>>> Launching OpenlabStreamingSystem.woa ... >>>>>> java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" >>>>>> -DWOLocalRootDirectory="" >>>>>> -DWOUserDirectory="/Library/WebObjects/Applications" -DWOEnvClassPath="" >>>>>> -DWOApplicationClass=org.openlab-dist.oss.app.Application >>>>>> -DWOPlatform=MacOS -Dcom.webobjects.pid=1518 -classpath WOBootstrap.jar >>>>>> com.webobjects._bootstrap.WOBootstrap -WOFrameworksBaseURL >>>>>> /WebObjects/OpenlabStreamingSystem.woa/Frameworks >>>>>> Loading >>>>>> /Library/WebObjects/Applications/OpenlabStreamingSystem.woa/Contents/MacOS/MacOSClassPath.txt >>>>>> Generated classpath: >>>>>> /Library/WebObjects/Applications/OpenlabStreamingSystem.woa/Contents/Resources/Java/ >>>>>> /Library/WebObjects/Applications/OpenlabStreamingSystem.woa/Contents/Resources/Java/openlabstreamingsystem.jar >>>>>> /Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5-sources.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2-sources.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.16.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar >>>>>> /Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar >>>>>> /Library/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar >>>>>> /Library/Frameworks/ERModernLook.framework/Resources/Java/ERModernLook.jar >>>>>> /Library/Frameworks/ERCoolComponents.framework/Resources/Java/ERCoolComponents.jar >>>>>> /Library/Frameworks/ERModernDefaultSkin.framework/Resources/Java/ERModernDefaultSkin.jar >>>>>> /Library/Frameworks/ERModernDirectToWeb.framework/Resources/Java/ERModernDirectToWeb.jar >>>>>> /Library/Frameworks/ERDirectToWeb.framework/Resources/Java/ERDirectToWeb.jar >>>>>> /Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar >>>>>> /Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar >>>>>> /Library/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar >>>>>> /Library/Frameworks/WOLips.framework/Resources/Java/WOLips.jar >>>>>> /Library/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar >>>>>> /Library/Frameworks/ERAttachment.framework/Resources/Java/ERAttachment.jar >>>>>> /System/Library/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar >>>>>> /System/Library/Frameworks/JavaDTWGeneration.framework/WebServerResources/Java/JavaDTWGeneration.jar >>>>>> /System/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar >>>>>> /System/Library/Frameworks/JavaDirectToWeb.framework/WebServerResources/Java/JavaDirectToWeb.jar >>>>>> /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar >>>>>> /System/Library/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar >>>>>> /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar >>>>>> /System/Library/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar >>>>>> /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar >>>>>> /System/Library/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar >>>>>> /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar >>>>>> /System/Library/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar >>>>>> /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar >>>>>> /System/Library/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar >>>>>> /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar >>>>>> /System/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar >>>>>> /System/Library/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar >>>>>> /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/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/ >>>>>> Can't load org.openlab-dist.oss.app.Application class, exiting... >>>>>> java.lang.ClassNotFoundException: org.openlab-dist.oss.app.Application >>>>>> 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:307) >>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >>>>>> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:84) >>>>>> >>>>>> Why? >>>>>> Thank you >>>>>> >>>>>> Francesco >>>>>> >>>>>> _______________________________________________ >>>>>> Do not post admin requests to the list. They will be ignored. >>>>>> Webobjects-deploy mailing list ([email protected]) >>>>>> Help/Unsubscribe/Update your Subscription: >>>>>> http://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca >>>>>> >>>>>> This email sent to [email protected] >>>>> >>>> >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-deploy mailing list ([email protected]) >>>> Help/Unsubscribe/Update your Subscription: >>>> http://lists.apple.com/mailman/options/webobjects-deploy/mschrag%40pobox.com >>>> >>>> This email sent to [email protected] >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-deploy mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/webobjects-deploy/webobjects%40avendasora.com >>> >>> This email sent to [email protected] >>> >>> >> > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to [email protected]
