Looks like your baseURL is different from your actual web application name...

/Janne

On 27 Nov 2007, at 16:16, Jim Willeke wrote:

When i view the source for the html page, I see:
<link rel="stylesheet" media="screen, projection, print" type="text/ css"
href="/wikildap/templates/default/jspwiki.css"/>

When I look at one that works it shows:
 <link rel="stylesheet" type="text/css" href="
http://www.willeke.com:9080/wikiwillekegenealogy/templates/default/ jspwiki.css"
/>

Any ideas?
Thanks
-jim


On 11/26/07, Jim Willeke <[EMAIL PROTECTED]> wrote:

I can cat the css files as the tomcat user.
-jim

On 11/26/07, Janne Jalkanen <[EMAIL PROTECTED]> wrote:

Do the "su to tomcat" again and check if it works?

/Janne

On Sun, Nov 25, 2007 at 05:35:36PM -0500, Jim Willeke wrote:
When we look at the file they are there and look like:

/srv/www/tomcat5/base/wiki/wikildap/templates/default> ls -la *.css
-rwxrwxr-x 1 tomcat webrun 21791 Oct 17  2006 jspwiki.css
-rwxrwxr-x 1 tomcat webrun    83 Jun  3  2003 jspwiki_ie.css
-rwxrwxr-x 1 tomcat webrun    48 Jun  3  2003 jspwiki_mac.css
-rwxrwxr-x 1 tomcat webrun  1000 Jun  3  2003 jspwiki_ns.css
-rwxrwxr-x 1 tomcat webrun   841 Apr 10  2006 jspwiki_print.css

Any suggestions?
Thanks
Again
-jim

On 11/25/07, Janne Jalkanen <[EMAIL PROTECTED]> wrote:


Trying to access your css files gives me a 404...  That's why it
looks strange. Path is correct, but the files are not being found.

/Janne

On 25 Nov 2007, at 23:51, Jim Willeke wrote:

We were NOT able to read the WEB.XML file when we su to the tomcat
user.
We changed permissions and now we are close, but some things seem
to be out
of-wack.

Can you look?

http://www.willeke.com:9080/wikildap/

Thanks again fro your help.
-jim

On 11/25/07, Janne Jalkanen <[EMAIL PROTECTED]> wrote:


Have you tried installing on a clean Tomcat and a clean
JSPWiki?  If
that works, then you know the error is probably a permission
issue in
your current, regular installation.  If it does not work, it
could be
an OS issue.  If you do a "su" to the useraccount which runs
tomcat,
can you read the web.xml file normally with something like
"more"?

Are you absolutely sure that they are set up the same way?

One trick you can try is to remove *everything* from your 2.4.104
installation, *except* web.xml, then put in a dummy index.jsp,
and
see what happens (of course, take a backup first ;-).

/Janne

On 25 Nov 2007, at 16:17, Jim Willeke wrote:

We really appreciate the help.

We have two other wiki's setup on the same server the same(?)
way
only they
are on JSPWiki v2.2.33 and they seem to be fine.
We did notice, and this started our quest, that the JSPWiki Logo
no
longer
shows.

Suse Linux Enterprise server 10 SP1

The /srv/www/tomcat5/baseconf/server.xml (links to
/etc/tomcat5/base/server.xml) file provides the context as:

<Context path="/wikildap" docBase="/srv/www/tomcat5/base/wiki/
wikildap"
debug="99">
                 <Parameter name="jspwiki.propertyfile"
                   value="/srv/www/tomcat5/base/wiki/
wikildap.properties"
                   override="false"/>
</Context>

The web.xml file is at:
/srv/www/tomcat5/base/wiki/wikildap/WEB-INF and has the
following
permisions:
-rw-r--r--  1 tomcat webrun 12042 Nov 24 19:38 web.xml

Properties file for the wiki is at:
/srv/www/tomcat5/base/wiki/wikildap.properties and has the
following
permisions:
-rw-rw-r--  1 tomcat webrun 28142 Nov 24 19:12
wikildap.properties

The properties file has the following properties defiend:

jspwiki.fileSystemProvider.pageDir = /srv/www/htdocs/wikildap

jspwiki.basicAttachmentProvider.storageDir =
/srv/www/htdocs/wikildap/attachements

jspwiki.workDir = /srv/www/tomcat5/base/work/wikildap
(We cleared this)

The ($CATALINA_HOME/work) directory  is defined as:
/srv/www/tomcat5/base/work/Catalina/localhost/wikildap (link to
/var/cache/tomcat5/base/work/Catalina/localhost/wikildap) has
been
clearred.

It does appear the web.xml file is NOT being read, and that
there
maybe some
permissions issue, but we are lost.

We even tried to deploy a "new" JSPWiki 2.4.104 as a test and
that
also
fails.

Thanks again.
-jim

On 11/25/07, Janne Jalkanen <[EMAIL PROTECTED]> wrote:


On 25 Nov 2007, at 00:54, Jim Willeke wrote:

We deleted the work directory for the wiki.

There are two work directories; one for the servlet container
($CATALINA_HOME/work), and one for the wiki (jspwiki.workDir in
your
jspwiki.properties).  Make sure *both* of these are empty.

/Janne




--
-jim
Jim Willeke




--
-jim
Jim Willeke




--
-jim
Jim Willeke




--
-jim
Jim Willeke




--
-jim
Jim Willeke

Reply via email to