Hi,
I'm having trouble getting WebMacroSitePage starting inside tomcat 3.1, in
it's own context. I built the war hierarchy using the ant task as described
in the WAR archives for webMacro document, and the WebMacro.properties file
is in the $TOMCAT_HOME/webapps/contact/WEB-INF/classes directory
on 6/16/2000 1:42 PM, "Nissim Karpenstein" [EMAIL PROTECTED] wrote:
I'm having trouble getting WebMacroSitePage starting inside tomcat 3.1, in
it's own context. I built the war hierarchy using the ant task as described
in the WAR archives for webMacro document, and the WebMacro.
-Original Message-
From: Jon Stevens [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 16, 2000 4:54 PM
To: Turbine
Subject: Re: Can't find webMacro.properties in WAR archive
on 6/16/2000 1:42 PM, "Nissim Karpenstein" [EMAIL PROTECTED] wrote:
I'm having troub
on 6/16/2000 2:05 PM, "Nissim Karpenstein" [EMAIL PROTECTED] wrote:
That was it, it was also in $TOMCAT_HOME/lib.
Think about it. WM.jar in that classpath/classloader won't find its
properties file in your webapps/contact classpath/classloader.
Now I get a blank page in the browser though,
We could also define an additional parameter in WebMacro.properties,
which would indicate if this translation should be performed or not.
I refined this idea a bit more: Let's define WebAppTemplatePath parameter.
If this parameter is present, and getRealPath() works, we assume that we
on 6/1/2000 9:31 AM, Rafal Krzewski at [EMAIL PROTECTED] wrote:
We could also define an additional parameter in WebMacro.properties,
which would indicate if this translation should be performed or not.
I refined this idea a bit more: Let's define WebAppTemplatePath parameter
on 5/31/2000 8:19 PM, Rafal Krzewski at [EMAIL PROTECTED] wrote:
Instead of starting hacking right away, I took a litle time to think (which
is usualy a good thing to do) and I figured out, that we could get the
desired behaviour (WebMacro.properties in an arbitrary location inside
webapp
- Original Message -
From: "Jon Stevens" [EMAIL PROTECTED]
To: "Turbine" [EMAIL PROTECTED]
Sent: Wednesday, May 24, 2000 8:43 PM
Subject: Re: WebMacro.properties
on 5/24/2000 11:36 AM, Thomas Krebs at [EMAIL PROTECTED] wrote:
ok, after I installed the latest Turbi
aesthetical reasons, I'd prefer to have both Turbine.properties
and WebMacro.properties in the same directory /WEB-INF/conf or
/WEB-INF/etc. This is much worse under Jserv 1.1 - the classloader fails
to load property files located in zone repositories - at least it failed for me.
This enforces
application directory, so there is no ambiguity. On the other
hand, for purely aesthetical reasons, I'd prefer to have both
Turbine.properties
and WebMacro.properties in the same directory /WEB-INF/conf or
/WEB-INF/etc. This is much worse under Jserv 1.1 - the classloader fails
to load property files
y, May 23, 2000 8:50 PM
Subject: Re: WebMacro.properties
on 5/23/2000 11:45 AM, John McNally at [EMAIL PROTECTED] wrote:
Try putting it in the same place as the webmacro.jar and make sure your
classpath includes that directory. You can put it anywhere that is
defined
in the classpath t
on 5/24/2000 11:36 AM, Thomas Krebs at [EMAIL PROTECTED] wrote:
ok, after I installed the latest Turbine build and got rid of the WebMacro
release it worked.
However, I tried to put it into the WEB-INF/lib directory which didn't work.
It works if it is in the WEB-INF/classes directory.
.
The turbine.log file says that there was a problem locating the
WebMacro.properties file in WebMacroServices.init.
I am running Tomcat 3.1, Apache 1.3.12, Turbine build from May, 13th, and
the latest WebMacro release. I tried to place the WebMacro properties file
in the following places without
that there was a problem locating the
WebMacro.properties file in WebMacroServices.init.
The WebMacro.props file needs to be in your CLASSPATH. This is where
WebMacro looks for it.
--
dave
[EMAIL PROTECTED]
--
your inspirational quote here
14 matches
Mail list logo