Hmm.  Seems like a difference in the servlet implementation is
likely...  of course that's just guessing.  and it may be that
Geronimo isn't wrong, but just interprets the spec differently.  it's
hard to say without looking into it more.  Would you open a JIRA issue
for this?

http://issues.apache.org/jira/browse/VELTOOLS

and perhaps include example output from that VTL snippet you sent for
Tomcat and Geronimo as references for comparison?

that'd be great!

On 9/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hey all,

Velocity has been working sweet for quite some time, but I am working on 
upgrading the system to using Geronimo 1.1 from Tomcat 5.5.*.

When I run my war under Tomcat, it works perfectly.  When I run the same war 
under Geronimo, it ...almost works.   Screens are generated and some links work.

However, whereever I use a link as follows, the host is left off of the front 
of the URL once it is generated.  Again this does not happen under just Tomcat.


<a 
href="$link.setAction('/pub/list/submit').addQueryData("c","$!csl").addQueryData("r","$!pop.pId")">$!pop.pName</a>


Any ideas?


John Eichelsdorfer
The job bank http://www.jobbank.com





*************************************
16:03:36,718 INFO  [ValidatorPlugIn] Loading validation rules file from '/WEB-IN
F/validator-rules.xml'
16:03:36,765 INFO  [ValidatorPlugIn] Loading validation rules file from '/WEB-IN
F/validation.xml'
16:03:37,437 INFO  [TilesPlugin] Tiles definition factory loaded for module ''.
16:03:37,921 INFO  [ServletToolboxManager] Using config file '/WEB-INF/toolbox.x
ml'
16:03:37,999 INFO  [ServletToolboxManager] Toolbox setup complete.
 started in 10.282s
Startup completed in 42 seconds
  Listening on Ports:
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    4201 0.0.0.0 ActiveIO Connector EJB
    4242 0.0.0.0 Remote Login Listener
    8009 0.0.0.0 Tomcat Connector AJP
    8080 0.0.0.0 Tomcat Connector HTTP
    8443 0.0.0.0 Tomcat Connector HTTPS
    9999 0.0.0.0 JMX Remoting Connector
   61616 0.0.0.0 ActiveMQ Message Broker Connector

  Started Application Modules:
    EAR: geronimo/webconsole-tomcat/1.1/car
    RAR: geronimo/activemq/1.1/car
    RAR: geronimo/system-database/1.1/car
    WAR: com.jmjmedia.jobbank/jobbank/1158515709468/war
    WAR: geronimo/remote-deploy-tomcat/1.1/car

  Web Applications:
    http://THOR:8080/
    http://THOR:8080/console
    http://THOR:8080/console-standard
    http://THOR:8080/remote-deploy

Geronimo Application Server started
16:05:18,077 INFO  [TilesRequestProcessor] Tiles definition factory found for 
request processor ''.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to