You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "ashish (JIRA)" <ji...@apache.org> on 2006/11/16 12:56:38 UTC

[jira] Created: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
-----------------------------------------------------------

                 Key: VELOCITY-497
                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
             Project: Velocity
          Issue Type: Bug
          Components: Engine
    Affects Versions: 1.4
         Environment: Windows 200xp Sp2
Velocity 1.4
Jboss 4.0.5

            Reporter: ashish


We have our application running fine on Jboss 3.2.3.
Now we are trying to port the same application to to Jboss 4.0.5.

We are using Velocity and JMX, Servlets, Hibernate, JBoss.

All the static content like Velocity vm files, css, js, gifs file are
not stored directly in parallel to web-inf.
We have stored them into some local docbase say C:\content folder

The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.

We are pointing to docbase through some configuration file with the help of Velocity.
like in velocity.properties.
resource.loader = file
file.resource.loader.description = Velocity File Resource Loader
file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader

And setting the docbase :-

OurVelocityServlet :
private VelocityEngine velocity;
velocity = new VelocityEngine();
ExtendedProperties p = new ExtendedProperties();
    p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
    p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
     p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
     velocity.setExtendedProperties(p);



All vm and html files are being picked up from that docbase but not picking images,css and js files.

Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12452109 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

Hi ,

The above user@velocity.apache.org  email id is not valid. mail bounced.


> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12450605 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

We are uing VelocityViewServlet .

We are uing Velocity, Servlets, Struts, Hibernate, Jboss 

> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12451856 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

Hi ,

The above user@velocity.apache.org  email id is not valid. mail bounced.


> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12451517 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

Hi ,

The above user@velocity.apache.org  email id is not valid. mail bounced.


> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12451533 ] 
            
Will Glass-Husain commented on VELOCITY-497:
--------------------------------------------

I just tested the mailing list - worked for me.  Sorry you are having so much trouble - don't know what's wrong.

Since Velocity is processing the vm files properly, I suspect you have a JBoss configuration issue, not a Velocity one.

Anyway, Velocity is for processing text files, not binary.  So you shouldn't be using it to send gifs.  Use JBoss or Apache instead.  (you'll have to check the JBoss docs on how to set up alternate locations for source files, can't help you there).  Usually I frontend the webapp with an Apache server to handle static files.



> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Resolved: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VELOCITY-497?page=all ]

Will Glass-Husain resolved VELOCITY-497.
----------------------------------------

    Resolution: Invalid

Actually, better yet-- can you please raise that on the user list: user@velocity.apache.org

That's a better place for getting help.  

Almost certainly this is not a bug.  Thanks!

> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12450653 ] 
            
Will Glass-Husain commented on VELOCITY-497:
--------------------------------------------

please discuss this issue on the Velocity user list and myself and others would be glad to help.

> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12450526 ] 
            
Will Glass-Husain commented on VELOCITY-497:
--------------------------------------------

What is your servlet?  Are you using VelocityServlet, VelocityViewServlet (recommended: from Velocity Tools subproject), or some other MVC framework?

> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12450732 ] 
            
Will Glass-Husain commented on VELOCITY-497:
--------------------------------------------

Sorry about that.  We're in a period of transition.  The new mailing list is 

user@velocity.apache.org

try...

user-subscribe@velocity.apache.org
 

> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12451518 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

Hi ,

The above user@velocity.apache.org  email id is not valid. mail bounced.


> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12450695 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

Hi,
I am trying to send a mail to following mailing list
velocity-user@jakarta.apache.org
velocity-user-subscribe@jakarta.apache.org
velocity-user-help@jakarta.apache.org

But mail is bouncing.

> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Commented: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "ashish (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-497?page=comments#action_12450679 ] 
            
ashish commented on VELOCITY-497:
---------------------------------

Hi ,

The above user@velocity.apache.org  email id is not valid. mail bounced.


> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Closed: (VELOCITY-497) Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5

Posted by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-497.
-------------------------------------------


> Porting Velocity application from Jboss3.2.3 to Jboss 4.0.5
> -----------------------------------------------------------
>
>                 Key: VELOCITY-497
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-497
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Windows 200xp Sp2
> Velocity 1.4
> Jboss 4.0.5
>            Reporter: ashish
>
> We have our application running fine on Jboss 3.2.3.
> Now we are trying to port the same application to to Jboss 4.0.5.
> We are using Velocity and JMX, Servlets, Hibernate, JBoss.
> All the static content like Velocity vm files, css, js, gifs file are
> not stored directly in parallel to web-inf.
> We have stored them into some local docbase say C:\content folder
> The above startgy works find with JBoss 3.2.3. and Velocity picks all the references to images and js files from local docbase.
> We are pointing to docbase through some configuration file with the help of Velocity.
> like in velocity.properties.
> resource.loader = file
> file.resource.loader.description = Velocity File Resource Loader
> file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
> And setting the docbase :-
> OurVelocityServlet :
> private VelocityEngine velocity;
> velocity = new VelocityEngine();
> ExtendedProperties p = new ExtendedProperties();
>     p.addProperty(VelocityEngine.RESOURCE_LOADER, "file");
>     p.addProperty("file.resource.loader.class",      FileResourceLoader.class.getName());
>      p.setProperty(VelocityEngine.FILE_RESOURCE_LOADER_PATH, System.getProperty(_docBaseProp));
>      velocity.setExtendedProperties(p);
> All vm and html files are being picked up from that docbase but not picking images,css and js files.
> Does anyone have some idea?Do we need to do some extra configuration setting while moving from jboss 3.2.3 to jboss 4.0.5 with Velocity and Jboss combination.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org