Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks

  

PreviousPrevious NextNext


Jacques Perrault 10.Apr.03 10:40 AM a Web browser
Sametime Developers Toolkit 3.0 Windows NT/2000


I have been having difficulty enabling a sametime applet to work through a proxy.

I am using the HttpConnection class of the SameTime 3.0 toolkit; Here is a snippet of code from our applet:

HttpConnection[] connections = { new HttpConnection(80, 60000, STproxyName, 80)};

Parameters:
port - The port to use for HTTP connections.
timeout - The timeout period to use when attempting to connect, in milliseconds.
proxyHost - The proxy to connect to, or null for none.
proxyPort - The proxy port.

In the example above, STproxyName is the domain name of the proxy server, pulled from a resource file (i.e. "proxyserver.lotus.com")

The problem seems to arise from the mapping rules of our proxy server (IBM Edge Server 2.0). A sample rule appears below:

proxy /* http://sametimeserver.lotus.com

For content, this directive has the desired effect, but in the case of the applet, the applet connection fails if a protocol is specified - it will only work if you pass the domain name (sametimeserver.lotus.com).

Unfortunately, the proxy directive requires the specification of a protocol.

I am running a little thin on fresh ideas in regards to this issue, and I was hoping someone out there has tackled a similar problem in the past...

Any help would be greatly appreciated.


Regards,

- JP

p.s. interestingly enough, the ST3.0 Win32 client can connect through the proxy just fine, but I have not been able to determine how the connection is made.






problem with sametime applet connec... (Jacques Perraul... 10.Apr.03)
. . RE: problem with sametime applet co... (Ken Benjamin 10.Apr.03)
. . . . not supporting PAC, or Netscape - I... (Jacques Perraul... 10.Apr.03)
. . . . . . RE: not supporting PAC, or Netscape... (Ken Benjamin 10.Apr.03)
. . the answer... (Jacques Perraul... 4.May.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite