×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    50

    Mobile webserver gateway configuration problem

    we are trying to configure Raccoon MObile Web Server Gateway in windows 2000 environment by instlaling Cygwin (linux shell). We are able to built the MWS, but when we are configuring in Tomcat 5.5.12 in server.xml
    <Service name="Mws">
    <Connector protocol="com.nokia.mws.connector.server.MuserProtocolHandler" port="15001" />
    <Engine name="Mws" defaultHost="MwsHost" />
    </Service>
    right before the line
    <Service name="Catalina">
    and insert this text
    <Valve className="com.nokia.mws.valve.MuserValve" />

    right after the line
    <Engine name="Catalina" defaultHost="localhost">

    when we are starting the tomcat mws.log is not created and some exceptions are noted in the tomcat prompt/stdout.log file stating that "Instantiation failed. null pointer exception..

    same even when i am trying to do unit tesing in mws-connector-client
    i am recieving exception refused to connect : while running this client connector......
    do any one have suggestion ...\
    please help me.........

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    9

    Re: Mobile webserver gateway configuration problem

    Hello,
    could you send the texts of the exceptions? Thanks! :-)

    feri

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    50

    Re: Mobile webserver gateway configuration problem

    hi feri,

    thank u for ur response.
    actually when i am testing client connector
    using ./capp.sh c.cfg
    i am able to get applet where i click go to online.
    there i recicve following message
    # creating controller thread (with new controller connection)
    Trying to go online...
    # received Gw Msg: null
    # Some real sh*t caught in governor: null
    java.lang.NullPointerException
    at com.nokia.mws.connector.client.p03.Protocol_0_3$Controller.goOnline(Protocol_0_3.java:632)
    at com.nokia.mws.connector.client.p03.Protocol_0_3$Controller.<init>(Protocol_0_3.java:531)
    at com.nokia.mws.connector.client.p03.Protocol_0_3$Governor.start(Protocol_0_3.java:469)
    at com.nokia.mws.connector.client.p03.Protocol_0_3.startProtocol(Protocol_0_3.java:137)
    at com.nokia.mws.connector.client.Client.start(Client.java:158)
    at com.nokia.mws.connector.client.ClientGUI.setOnline(ClientGUI.java:290)
    at com.nokia.mws.connector.client.ClientGUI.access$100(ClientGUI.java:51)
    at com.nokia.mws.connector.client.ClientGUI$2.actionPerformed(ClientGUI.java:129)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)


    kindly please help me.

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    9

    Re: Mobile webserver gateway configuration problem

    Hello,
    I didn't mean the exceptions blurped by the client when you are trying to connect, as the problem is in the server.

    I would like to see the
    (a) messages emitted by tomcat during startup to the standard output / error.
    (b) messages emitted by tomcat when trying to browsing to the mws-musers test webapp.

    I have no idea what the problem is but my guts feelings tell me you have not executed all steps in the installation steps documentation (gw/docs/installguide.html). The exact complaints you get when starting tomcat should shed some light on the problem you are having.

    feri

  5. #5
    Registered User
    Join Date
    Jun 2007
    Posts
    50

    Re: Mobile webserver gateway configuration problem

    hai feri
    Actually when i am starting the tomcat with all the configuration which are given in (gw/docs/installguide.html) any exception are not being encountered even mws log,tomcat log file is created .but when i am entering mws-musers test webapp i am encountering DB conectivity exception
    it is giving exception as unable to find classpath
    com.nokia.mws.db.DbExc: could not find the com.mysql.jdbc.driver
    in mws.log file.
    also in the jsp page it is giving could not find the com.mysql.jdbc.driver

    All the unit test execute successfully and "./testdb.sh testcreate" in gw/gwdb/bin works just fine. even i have inserted mws-gw-db.cfg in tomcat/bin
    dir
    can you say what would be the problem ? and how to solve it ..

Similar Threads

  1. Problem with BT devices search on mobile phone
    By atiqkamran in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-07-24, 06:05
  2. Problem with sending mms from mobile device.
    By kadro in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-07-18, 00:38
  3. Replies: 0
    Last Post: 2007-07-15, 23:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×