Hello users.
I am in a desperate need of migrating a Tomcat 3.1 + Turbine 2.1 + velocity 1.2
application to Weblogic server 7.01.
Moving the webapp was no problem, only slight changes.
But for some reason, the .VM files are not being interpreted by WSL.
On the browser, it shows the vm file content. For example:
## ## $Id: Menu.vm,v 1.6 2001/08/10 16:05:14 me Exp $ ## $page.setTitle("Navegaci�n")
$page.getTitle()
looks like html tags are run ok because gifs are shown.
velocity log looks ok:
Thu Jan 23 09:58:28 CLST 2003 [info] Velocity successfully started.
Thu Jan 23 09:58:33 CLST 2003 [info] ResourceManager : found screens/Index.vm with
loader org.apache.velocity.runtime.resource.loader.FileResourceLoader
Thu Jan 23 09:58:33 CLST 2003 [info] ResourceManager : found layouts/Index.vm with
loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
So, as you can see: The '$' variables and methods dont get replaced in the .VM files,
so looks like the browser does not interpret the code. Please look at the web access
log in WLS at the end of this mail.
Lines like:
"GET /siscob/templates/screens/$content.getURI( HTTP/1.1" 404 1277
tell me that the '$' is realy not working.
So I thought it was a mime type problem, but Tomcat does not have VM files defined. I
did it anyways on WLS but still does'nt work.
I also tried putting the original jars before the weblogic.jar, but I got the same
luck or worst.
Please help.
Sorry if this is html mail but I am at client installations and have no other way.
Thank you
Ricardo
-----WLS access.log-----
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET /siscob/images/menu/ns_doc.gif
HTTP/1.1" 304 0
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET /siscob/images/menu/win/blank.gif
HTTP/1.1" 304 0
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET /siscob/templates/screens/menu.vm
HTTP/1.1" 304 0
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET
/siscob/templates/screens/button.vm HTTP/1.1" 304 0
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET /siscob/templates/screens/home.vm
HTTP/1.1" 304 0
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET /siscob/templates/screens/title.vm
HTTP/1.1" 304 0
192.168.1.186 - - [23/Jan/2003:10:04:04 -0300] "GET
/siscob/templates/screens/$content.getURI( HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:05 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFbase.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:05 -0300] "GET
/siscob/templates/screens/$content.getURI( HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:05 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFkeys.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:05 -0300] "GET
/siscob/templates/screens/$content.getURI( HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFmenu.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI( HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFkeys.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFbase.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFkeys.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFformat.js') HTTP/1.1" 404
1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET
/siscob/templates/screens/$content.getURI('templates/js/SFutil.js') HTTP/1.1" 404 1277
192.168.1.186 - - [23/Jan/2003:10:04:06 -0300] "GET /siscob/images/logo3.gif HTTP/1.1"
304 0
________________________________________________________________
Sent via the KillerWebMail system at omegacl.cl
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>