Well I want to deploy to Jboss, but im trying to do it first in tomcat
for testing proposes.
I will keep you informed with my progress.. but I know this weekend
you guys are gonna be where I wish to be. :D.. drink a beer in my name!
:D
G
On Jun 4, 2009, at 5:10 PM, David Avendasora wrote:
On Jun 4, 2009, at 10:59 AM, Gustavo Adolfo Pizano wrote:
Ok I created a simple Hello World application, with one image, and
I got on console (Tomcat) the following.
Jun 04 16:56:07 asdfsd[-1] INFO
er.extensions.appserver.ERXStaticResourceRequestHandler - Unable to
get contents of file '/Library/WebServer/Documents/asdfsd/
WebObjects/asdfsd.woa/_wr_' for uri: /asdfsd/WebObjects/asdfsd.woa/
_wr_
So, your application was named asdfsd?
That is the path that it is going to look for images at when it
assumes that Apache is going to server the files, not Tomcat.
So, the real question here is: What is your long-term strategy for
serving the static resources? Will Tomcat serve them or will the Web
Server? You have to answer that first otherwise you're going to do a
bunch of work for no reason.
Dave
Jun 04 16:56:07 asdfsd[-1] INFO
er.extensions.appserver.ERXStaticResourceRequestHandler - Unable to
get contents of file '/Library/WebServer/Documents/asdfsd/
WebObjects/asdfsd.woa/_wr_' for uri: /asdfsd/WebObjects/asdfsd.woa/
_wr_
I dunno from where its taking that path.... GRRR.
I wannna cry!.
G
On Jun 4, 2009, at 4:09 PM, David Avendasora wrote:
On Jun 4, 2009, at 10:04 AM, Gustavo Adolfo Pizano wrote:
Hello Dave.
did I mention Im deploying on a linux machine? How does this
"affects" me?
It really shouldn't, I don't think. I deploy to Tomcat on Windows,
but the same exact WAR file works with Tomcat on OS X or Windows,
so if you have Apache and Tomcat both setup correctly on your
Linux box, the WAR file should be universal.
Dave
G.
On Jun 4, 2009, at 3:57 PM, David Avendasora wrote:
On Jun 4, 2009, at 9:45 AM, Gustavo Adolfo Pizano wrote:
Hello dave, before answering your questions, I put this on the
build.xml
<mkdir dir="${dest.dir}/${project.name}/WebServerResources" />
<copy todir="${dest.dir}/${project.name}/WebServerResources">
<fileset dir="WebServerResources">
<include name="**" />
</fileset>
</copy>
This may fix it, but requires Tomcat to serve the static
resources, which is something that Apache (the Web Server, not
Apache Tomcat) will be much more efficient at. I use this method
just because I only have about 5 internal users so Tomcat is
just fine for serving static resources. If you are going to have
any type of publicly accessible website, you'd be far better off
figuring out how to have Apache serve the static resources and
only hand off the WebObjects-generated requests to WO. That is
well documented somewhere on the Wiki, I'm sure.
Dave
as you suggested in one post.
Im making the ant build again...
On Jun 4, 2009, at 3:39 PM, David Avendasora wrote:
On Jun 4, 2009, at 9:21 AM, Gustavo Adolfo Pizano wrote:
Hello,
I followed the instructions on creating the .war using the
ant-install, then I copied the war into Tomcat.
I go into the "loginPage" but the image that is supposed to
be there is not,
What does the rendered HTML say the location of the image file
should be?
http://10.1.2.5:8080/XWSOfficeServer/WebObjects/XWSOfficeServer.woa/_wr_/wodata=/Data/JSP/localhost/XWSOfficeServer/WEB-INF/XWSOfficeServer.woa/Contents/WebServerResources/images/XWSLogo.png
also Im using modalwindow from Ajax, and it's says there is
an error.... Can't find variable: Modalbox
Sounds like the JavaScript isn't getting loaded correctly
either.
exaclty.. but the frameworks are there..
this is the structure of the war:
Also the html structure its completely messed up, I have to
bodies tags, 2 html tags nested inside each other.
Whoa. That sounds like a problem with the components
themselves. How does it look when launched from within Eclipse?
when running via Eclipse, the html tags are perfect.! :S
G
Dave
Any clues what Im doing wrong?
Thanks
Gustavo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]