Deploy as a servlet
Deploy as a servlet
- Subject: Deploy as a servlet
- From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
- Date: Wed, 14 Sep 2011 16:56:20 +0200
Hi all,
I'm deploying an application with tomcat.
The application works perfectly except that all resources are called with " /laloireenvideos/WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/1/wr?wodata=file:/Library/WebObjects" (using wr?data="">
I want my resources being called via "/WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/Frameworks..."
I didn't modify the build.properties and build.xml
webXML_CustomContent= project.name=LaLoireEnVideosFrAsServlet_v30 webXML=true eoAdaptorClassName= servletDeployment=true principalClass=your.app.Application classes.dir=bin project.name.lowercase=laloireenvideosfrasservlet_v30 customInfoPListContent= project.type=application embed.Network=true embed.System=true embed.Local=true embed.User=true
So that the windows file launching the application contains :
:: Launch the application. echo Launching %~n0. echo %JAVAEXE% %JVMOPTS% %JAVAARGS% -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap %THEARGS% -WOFrameworksBaseURL /WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/Frameworks call %JAVAEXE% %JVMOPTS% %JAVAARGS% -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap %THEARGS% -WOFrameworksBaseURL /WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/Frameworks
so why doesn't it work ???
Jérémy |
_______________________________________________
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