• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Connectivity issue while running app on local system!!! Problem detailed clearly

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am new to working on WSAD . We have an application that needs the user to log in before he can do anything . Basically the login page is the first page.

This application is running in our runtime environment well and good at the Data Center. The client wanted to make a couple of changes and they wanted me to do that on WSAD. But when I deploy that ear file onto WSAD of my system and try to run it, it doesn't seem to be catching up the servlets well . Is it because of my system unable to connect to the DataBase tables(DB2) and pull up my login info ? I get the connectivity issues mentioned below as soon as I try to run the application. The problem I'm getting is - It says

1) Did not realize init() exception thrown by servlet DownLoadServlet: javax.servlet.ServletException: TcpIpConnection.connect(): Cannot call connect method until both IP address and port have been set.

2) [Servlet Error]-[DownLoadServlet]: Failed to load servlet: java.net.UnknownHostException: TcpIpConnection.connect(): Cannot call connect method until both IP address and port have been set.

The "cannot call ...bla bla bla was set by us to notify if either port no or IP Address are not specified."


I gave it the properties file giving it which port to connect to and which ip address to connect to. But alas it won't. Am I placing it in the wrong place ? Are there some settings/preferences that we need to set for WSAD before it can actually pick up connection issues from application? Please clarify and help me out.
Thanks,
Your dearest dumb fellow
 
Andrew Yadlapa
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is a prt of error log I get when I try to log in.
It keeps on saying port number is 0 and IP addres is ""
[6/13/07 9:35:39:828 PDT] 413e49ce WebGroup I SRVE0180I: [TCM] [/tcm] [Servlet.LOG]: /index.jsp: init
[6/13/07 9:55:43:688 PDT] 5bf789ce WebGroup I SRVE0180I: [TCM] [/tcm] [Servlet.LOG]: /Pages/index_login.jsp: init
[6/13/07 9:56:00:110 PDT] 5a73c9ce SystemOut O Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.tcm.user.UserServlet: UserServlet.doTask(): Page=UserLogin, Bttn=Login
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.tcm.user.UserServlet: problem reading namespace bindings : javax.naming.NameNotFoundException: Context: localhost/nodes/localhost/servers/server1, name: tcm/PORT: First component in name tcm/PORT not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0]
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.tcm.user.UserServlet: properties file has a non numeric port number: java.lang.NumberFormatException: For input string: ""
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.networking.TcpIpConnection: TcpIpConnection.setPort(): port is 0
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.tcm.user.UserServlet: problem reading namespace bindings : javax.naming.NameNotFoundException: Context: localhost/nodes/localhost/servers/server1, name: tcm/IP_ADDRESS: First component in name tcm/IP_ADDRESS not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0]
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.networking.TcpIpConnection: TcpIpConnection.setIpAddr(): ip address is
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.networking.TcpIpConnection: TcpIpConnection.connect(): java.net.UnknownHostException: TcpIpConnection.connect(): Cannot call connect method until both IP address and port have been set.
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.tcm.user.UserDataBean: Problem communicating with mainframe: java.net.UnknownHostException: TcpIpConnection.connect(): Cannot call connect method until both IP address and port have been set.
Wed Jun 13 09:56:00 PDT 2007: gov.ca.dhs.tcm.user.UserServlet: UserServlet.gotoPage(): Page=6
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
reply
    Bookmark Topic Watch Topic
  • New Topic