You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Algirdas M." <sn...@splius.lt> on 2004/01/05 18:37:48 UTC

Re[4]: Velocity.init() problem

Hello,

Monday, January 5, 2004, 4:40:34 PM, you wrote:

WGH> No, Velocity is definitely 1.3 compatible.  A couple of quick thoughts...

WGH> Just as a side note, you have an extra "web" directory in the first one, is
WGH> that's legit?

yes, I have, but the said directories still have same files.


WGH> Does your app have permissions to read the files?

Yes, it has.
Does no permission exception should be a NullPointerException?


WGH> Are you running under an unduly restrictive security manager?

I don't know.. what is this?




-- 
Best regards,
 Algirdas                            mailto:snk@splius.lt


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


RE: Re[4]: Velocity.init() problem

Posted by "mr.x" <mr...@tele2.ch>.
Hi Algirdas

Did you check the Tomcat host-configuration ?

<Host name="localhost" debug="0" appBase="webapps" unpackWARs="false"
autoDeploy="false">
-> causes problems in some situations

<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="false">
-> worked always for me

Regards

Rolf

-----Original Message-----
From: Will Glass-Husain [mailto:wglass@forio.com] 
Sent: Montag, 5. Januar 2004 19:35
To: Velocity Users List; Algirdas M.
Subject: Re: Re[4]: Velocity.init() problem


If you don't know what a security manager is, it's unlikely you are using
one.  This would be Tomcat running with the -security option enabled, for
example.

Personally, I'm puzzled.  I'll play with this on my end a bit on a JDK 1.3
machine.  What OS are you using?

WILL


> WGH> Are you running under an unduly restrictive security manager?
>
> I don't know.. what is this?
>
>
>
>
> --
> Best regards,
>  Algirdas                            mailto:snk@splius.lt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>


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



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


Re: Re[4]: Velocity.init() problem

Posted by Will Glass-Husain <wg...@forio.com>.
If you don't know what a security manager is, it's unlikely you are using
one.  This would be Tomcat running with the -security option enabled, for
example.

Personally, I'm puzzled.  I'll play with this on my end a bit on a JDK 1.3
machine.  What OS are you using?

WILL


> WGH> Are you running under an unduly restrictive security manager?
>
> I don't know.. what is this?
>
>
>
>
> -- 
> Best regards,
>  Algirdas                            mailto:snk@splius.lt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>


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