Sir,

I m a final year student working on a project of raccoon gateway.
I tried to mail Mr. Ferenc Dosa at ferenc.dosa@nokia.com, but it failed.
I followed all installation instructions as per the install guide.

They all executed well with some warnings about "deprecation" of some files :

eg.,
[javac] import java.io.StringBufferInputStream;
[javac] ^
[javac] /home/gw/gw/util/src/com/nokia/mws/util/tests/Test_XxdInputStream.java:24: warning: [deprecation] java.io.StringBufferInputStream in java.io has been deprecated

But the build is successful.

After I configured the tomcat server.xml file and started tomcat, it shows that server is starting in console as follows:

[root@localhost bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-6.0.18
Using CATALINA_HOME: /usr/local/apache-tomcat-6.0.18
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
Using JRE_HOME: /usr/local/jdk1.5.0_17

But, the browser doesn't show tomcat page and says "problem loading the page"

When we try to stop it, we get following errors:

[root@localhost bin]# ./shutdown.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-6.0.18
Using CATALINA_HOME: /usr/local/apache-tomcat-6.0.18
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
Using JRE_HOME: /usr/local/jdk1.5.0_17
Mar 6, 2009 12:44:06 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:180)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)

The file mws.log is not created.
The log file of catalina ,if required, will be sent by other mail.

After that if we try to install webapps, it fails giving following errors in console.


[root@localhost gw]# ant installcorewebapps
Buildfile: build.xml

check:

buildwebapps:

-init:

compile:

-dist-init:

jar:

-init:

compile:

-dist-init:

jar:
[unjar] Expanding: /home/gw/gw/util/dist/lib/mws-util.jar into /home/gw/gw/httpclient/build/classes
[jar] Building jar: /home/gw/gw/httpclient/dist/lib/mws-httpclient.jar

prepare:

compile:

prepare:

compile:

prepare:

compile:

prepare:

compile:

prepare:

compile:

prepare:

compile:

prepare:

compile:

prepare:

compile:

prepare:

compile:

installcorewebapps:

prepare:

compile:

check:

war:

install:

BUILD FAILED
/home/gw/gw/build.xml:329: The following error occurred while executing this line:
/home/gw/gw/webapps/oos/build.xml:358: java.net.ConnectException: Connection refused

Total time: 3 seconds


We are using PCLinuxOS 2007 which has bash shell. Also I do not find any explanation about mysql and mysql connector in install guide. Is the error is concerned with that?

Hope to get a quick reply.

Regards,
Nitin Bramhankar