Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NW5.1 Apache/Tomcat

0 views
Skip to first unread message

Zen for Desktops

unread,
Aug 15, 2001, 3:16:43 PM8/15/01
to
Has any one put together a process for installing GW WA onto a 5.1 Server
with APACHE and TOMCAT. Information that would include configuration
changes for TOMCAT and APACHE.
J


Jim Michael

unread,
Aug 15, 2001, 5:54:32 PM8/15/01
to

There's a book on the horizon that will detail this, but no ETA on when it
will be available.

--
Jim Michael
Novell Support Connection Sysop

Zen for Desktops

unread,
Aug 16, 2001, 10:29:29 AM8/16/01
to
Could someone post a goot webacc.cfg and java.cfg so I can make shure I
edited them properly.

"Jim Michael" <jmic...@chesterfield.mo.us> wrote in message
news:3B7AEF69...@chesterfield.mo.us...

Jim Michael

unread,
Aug 16, 2001, 10:59:13 AM8/16/01
to
Zen for Desktops wrote:
>
> Could someone post a goot webacc.cfg and java.cfg so I can make shure I
> edited them properly.

I made no changes to java.cfg. Instead I set the classpath in the tomcat
starup file. As for webacc.cfg, the only change was the path to the
templates.

The real trick for getting Webaccess to work on tomcat is to put the
servlets in the ROOT context, and edit the root's web.xlm to load the
servlets.

Zen for Desktops

unread,
Aug 16, 2001, 2:48:33 PM8/16/01
to
Ok I also added it to the java startup file I added
\novel\lib\***;\novell\lib\*** to the end of the class path. I am getting a
error under tomcat. -Ctx ( ) :404 R ( + /servlet/webacc + null)null
I believe that is telling me I have a pointer off..or something like that.
I also tried the web.xlm that you posted for someone else previously. That
made not difference.

"Jim Michael" <jmic...@chesterfield.mo.us> wrote in message

news:3B7BDF91...@chesterfield.mo.us...

Jim Michael

unread,
Aug 16, 2001, 3:13:38 PM8/16/01
to
Are you using the 1.2.2 or newer JVM? 1.1.7b won't work.

Zen for Desktops

unread,
Aug 16, 2001, 3:19:02 PM8/16/01
to
I installed it over lunch. I forgot yesterday. So Currently YES!

"Jim Michael" <jmic...@chesterfield.mo.us> wrote in message
news:3B7C1B32...@chesterfield.mo.us...

Jim Michael

unread,
Aug 16, 2001, 3:56:45 PM8/16/01
to
Where are the servlets installed? Should be in ROOT\WEB-INF\classes

Zen for Desktops

unread,
Aug 16, 2001, 4:43:11 PM8/16/01
to
sys:tomcat\webapps\ROOT\web-inf\classes then \com\novell\....
Where is the pointer for the servlet path.
Sorry about all the ??? I am a newbie at tomcat.

"Jim Michael" <jmic...@chesterfield.mo.us> wrote in message
news:3B7C254C...@chesterfield.mo.us...

John Fuge

unread,
Aug 17, 2001, 1:14:14 AM8/17/01
to
Ok...I re-extracted tomcat from the nwtomcat.zip folder and fouind I have more files in the new extraction then I did in the old.   INTERESTING.  Well I seem to be better off.  I tried it on a second test server and here is what I have:
web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
 
<web-app>
    <!-- WebAccess servlet -->
    <servlet>
        <servlet-name>
            webacc
        </servlet-name>
        <servlet-class>
            com.novell.webaccess.WebAccessServlet
        </servlet-class>
        <init-param>
            <param-name>Config</param-name>
            <param-value>sys:/Novell/WebAccess/webacc.cfg</param-value>
        </init-param>
        <load-on-startup/>
    </servlet>
 
    <!-- WebAccess Spell Checkservlet -->
    <servlet>
        <servlet-name>
            spellchk
        </servlet-name>
        <servlet-class>
            com.novell.collexion.spell.servlet.SpellServlet
        </servlet-class>
        <init-param>
            <param-name>Config</param-name>
            <param-value>sys:/Novell/WebAccess/spellchk.cfg</param-value>
        </init-param>
        <load-on-startup/>
    </servlet>
 
    <!-- WebPublisher servlet -->
    <servlet>
        <servlet-name>
            webpub
        </servlet-name>
        <servlet-class>
            com.novell.webpublisher.WebPublisherServlet
        </servlet-class>
        <init-param>
            <param-name>Config</param-name>
            <param-value>sys:/Novell/WebPublisher/webpub.cfg</param-value>
        </init-param>
        <load-on-startup/>
    </servlet>
 
<!-- GW Monitor servlet -->
    <servlet>
        <servlet-name>
            gwmonitor
        </servlet-name>
        <servlet-class>
            com.novell.gwmonitor.MonitorServlet
        </servlet-class>
        <init-param>
            <param-name>Config</param-name>
            <param-value>sys:/novell/gwmonitor/gwmonitor.cfg</param-value>
        </init-param>
        <load-on-startup/>
    </servlet>
 

    <servlet-mapping>
        <servlet-name>
            webacc
        </servlet-name>
        <url-pattern>
            /webacc/*
        </url-pattern>
    </servlet-mapping>
 
    <servlet-mapping>
        <servlet-name>
            spellchk
        </servlet-name>
        <url-pattern>
            /spellchk/*
 

</web-app>
My Browser gives me the following error messages:
 

Location: /servlet/webacc

Internal Servlet Error:
java.lang.NullPointerException: 
	at com.novell.webaccess.WebAccessServlet.loadCopyright(WebAccessServlet.java:145)
	at com.novell.webaccess.WebAccessServlet.init(WebAccessServlet.java:53)
	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
	at org.apache.tomcat.core.Handler.init(Handler.java:215)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
	at org.apache.tomcat.core.Handler.service(Handler.java:254)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:479)
HTTP/1.1 500 Internal Date: Fri, 17 Aug 2001 05:18:36 GMT Server: Apache/1.3.20 (NETWARE) mod_jk Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1
 
John M. Fuge
Network Engineer
Carter-Mountain Affiliates, Inc.

Uwe Carsten Krause

unread,
Aug 17, 2001, 3:40:13 AM8/17/01
to
Have a look at the portal service install online docu. It will explain all
the necessary changes in the cfg`s

Uwe

John

unread,
Aug 17, 2001, 2:27:56 PM8/17/01
to
Here is my exact error message from TOMCAT. I have two test servers giving
me the same messages.
Failed to open I18PropertyBundle: com.novell.WebPublisherResources
Failed to load WebPublisherResources
cannot load servlet name:webpub
The same thing occurrs for webacc

"Uwe Carsten Krause" <ukr...@maintainet.de> wrote in message
news:xT3f7.2643$WX4....@prv-forum2.provo.novell.com...

Jim Michael

unread,
Aug 17, 2001, 3:45:56 PM8/17/01
to
John wrote:

> Failed to open I18PropertyBundle: com.novell.WebPublisherResources
> Failed to load WebPublisherResources
> cannot load servlet name:webpub
> The same thing occurrs for webacc

This is a definite indication you're running a pre-1.2.2 JVM. Webaccess on
Tomcat will only work with the 1.2.2 or 1.3beta JVMs.

John M. Fuge

unread,
Aug 22, 2001, 10:38:54 PM8/22/01
to
My java does say 1.22 HOWEVER I notices that my install file is now older
then the one on the site. It is listed at 1.22_006. It also looks to be 2
mb bigger. I will try it out and let you know. THANKS!!

"Jim Michael" <jmic...@chesterfield.mo.us> wrote in message
news:3B7D7441...@chesterfield.mo.us...

Jim Michael

unread,
Aug 23, 2001, 10:06:40 AM8/23/01
to
"John M. Fuge" wrote:
>
> My java does say 1.22 HOWEVER I notices that my install file is now older
> then the one on the site. It is listed at 1.22_006. It also looks to be 2
> mb bigger. I will try it out and let you know. THANKS!!

Yes, I'm running 1.2.2.006, which works. You probably had a beta version.
I've tested the Beta 1.3 JVM with WA/Tomcat and it works fine, too.

Ca...@tenet.com

unread,
Sep 18, 2001, 2:51:27 PM9/18/01
to
HI:

We are trying to install the Apache Web Server/Tomcat to support WA v6 and are getting the following message:

-Ctx ( ) :404R (+/servlet/webacc+null)null

There have been a number of postings that indicate that we should update our Java to 1.2.2 (which it is).

Any ideas?

Thanks for any help that you can give.

0 new messages