You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Tomas Cerny (JIRA)" <ji...@apache.org> on 2008/05/06 18:38:55 UTC

[jira] Created: (JSPWIKI-263) war and Tomcat 6.0.16 unable to deploy

war and Tomcat 6.0.16 unable to deploy
--------------------------------------

                 Key: JSPWIKI-263
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-263
             Project: JSPWiki
          Issue Type: Bug
    Affects Versions: 2.6.2
         Environment: Gentoo Linux, Java 6
            Reporter: Tomas Cerny


I have default tomcat install. I drop war file on server
and I got this stack trace

Background thread error: (stack trace follows)
java.lang.NullPointerException
        at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
        at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
        at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
        at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
Background thread error: (stack trace follows)
java.lang.NullPointerException
        at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
        at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
        at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
        at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)


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


[jira] Commented: (JSPWIKI-263) war and Tomcat 6.0.16 unable to deploy

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605149#action_12605149 ] 

Harry Metske commented on JSPWIKI-263:
--------------------------------------

Janne,

can you change the http://www.ecyrd.com/~jalkanen/JSPWiki/2.6.2/README , section Simpl Installation :

replace:

2) Drop the JSPWiki.war file in your <tomcat home>/webapps/ directory.
   Optional: Rename the JSPWiki.war if you want your URL to end with
   something else than /JSPWiki/.  For example, to get it called "wiki"
   just rename the "JSPWiki.war" file to "wiki.war".

with:

2) After you've installed the engine and checked that it works, you just
  make a subdirectory under $TOMCAT_HOME/webapps/.  
  For example, if you  want your application to be called 'MyWiki', just create a directory
  called 'MyWiki', then extract all files from the war file into that
  directory, preserving the directory structure.

and close this issue ?

> war and Tomcat 6.0.16 unable to deploy
> --------------------------------------
>
>                 Key: JSPWIKI-263
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-263
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2, 2.7.x
>         Environment: Gentoo Linux, Java 6 [also Tomcat 5.5.26] [also Java 5]
>            Reporter: Tomas Cerny
>            Priority: Trivial
>
> I have default tomcat install. I drop war file on server
> and I got this stack trace
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)

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


[jira] Commented: (JSPWIKI-263) war and Tomcat 6.0.16 unable to deploy

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631952#action_12631952 ] 

Janne Jalkanen commented on JSPWIKI-263:
----------------------------------------

D'oh!  The README is actually replicated from the one in SVN, so it's better to fix the SVN source.  Can you do that for the trunk?

> war and Tomcat 6.0.16 unable to deploy
> --------------------------------------
>
>                 Key: JSPWIKI-263
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-263
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2, 2.7.x
>         Environment: Gentoo Linux, Java 6 [also Tomcat 5.5.26] [also Java 5]
>            Reporter: Tomas Cerny
>            Priority: Trivial
>
> I have default tomcat install. I drop war file on server
> and I got this stack trace
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)

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


[jira] Commented: (JSPWIKI-263) war and Tomcat 6.0.16 unable to deploy

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594631#action_12594631 ] 

Janne Jalkanen commented on JSPWIKI-263:
----------------------------------------

Please read the installation instructions from the README file.  You can't just drop a WAR file into the container and hope it would work.  Unfortunately.

> war and Tomcat 6.0.16 unable to deploy
> --------------------------------------
>
>                 Key: JSPWIKI-263
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-263
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2, 2.7.x
>         Environment: Gentoo Linux, Java 6 [also Tomcat 5.5.26] [also Java 5]
>            Reporter: Tomas Cerny
>
> I have default tomcat install. I drop war file on server
> and I got this stack trace
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)

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


[jira] Resolved: (JSPWIKI-263) war and Tomcat 6.0.16 unable to deploy

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-263.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8
         Assignee: Harry Metske

(doc)fixed in 2.8.0-beta-4

> war and Tomcat 6.0.16 unable to deploy
> --------------------------------------
>
>                 Key: JSPWIKI-263
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-263
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2, 2.7.x
>         Environment: Gentoo Linux, Java 6 [also Tomcat 5.5.26] [also Java 5]
>            Reporter: Tomas Cerny
>            Assignee: Harry Metske
>            Priority: Trivial
>             Fix For: 2.8
>
>
> I have default tomcat install. I drop war file on server
> and I got this stack trace
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)

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


[jira] Commented: (JSPWIKI-263) war and Tomcat 6.0.16 unable to deploy

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631934#action_12631934 ] 

Harry Metske commented on JSPWIKI-263:
--------------------------------------

Janne,

assuming you are the only one that has access to the above mentioned README , can you change it as suggested above ?
The same is necessary for other versions like http://www.ecyrd.com/~jalkanen/JSPWiki/2.6.4/README

thanks,
Harry

> war and Tomcat 6.0.16 unable to deploy
> --------------------------------------
>
>                 Key: JSPWIKI-263
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-263
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.6.2, 2.7.x
>         Environment: Gentoo Linux, Java 6 [also Tomcat 5.5.26] [also Java 5]
>            Reporter: Tomas Cerny
>            Priority: Trivial
>
> I have default tomcat install. I drop war file on server
> and I got this stack trace
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
>         at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
>         at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)

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