How to initialize the Http Tunnel Connection

hi all,
I am developing an application in which i have to get the images from the server.At first i have used the Apache Tomcat it was working fine in my localSystem.
when the same application when getting the images from the server it was getting the following exception in the RunTime,Error in HTTP Tunnel initializing
what does it mean,is this a problem in the network.Can anybody give me the way to initialize the Server or the midlet to get the image.
When the same URL in the Browser it was displaying the image.Can anybody please give me the solution in this aspect
thanks in advance
lakshman

hi ,
The above preferences about the network will work fine when you are working with the localhost.When the same application dealing with the network connection like http://mywebsite/.... it was not giving wny response.
I don't know the reason for that, if you know please share with me.but the application will work fine in mobile. I tested that application with the ASP file in my website with the 6630.
if you have any doubts feel free to post here
lakshman

Similar Messages

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • How to transfer the http request from applet to servlet/jsp

    I use the JTree component to create a navigation of a website,but i don't
    know how to connect the tree's nodes with the jsp/servlet.
    I mean how to transfer the http request from the applet to a jsp.
    I use the "<frameset>" mark which will divide the web browse into 2 blocks.
    The left side is Applet,and the right side is the linked jsp page.
    what I say is as the weblogic console layout.
    who can help me!!!
    Thank You!

    I use the JTree component to create a navigation of a website,but i don't
    know how to connect the tree's nodes with the jsp/servlet.
    I mean how to transfer the http request from the applet to a jsp.
    I use the "<frameset>" mark which will divide the web browse into 2 blocks.
    The left side is Applet,and the right side is the linked jsp page.
    what I say is as the weblogic console layout.
    who can help me!!!
    Thank You!

  • Error initializing HTTP tunnel connection

    Hi ,
    I too got the same error like,
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.0 404 Not Found
    Server: servletrunner/2.0
    Content-Type: text/html
    Content-Length: 95
    Date: Wed, 03 Jan 2007 14:59:05 GMT
    Here I used J2ME as client application, through servlet runner I am tring to connect to server program. Initially Its worked fine.. But I changed some interner explorer settings. then I got this error. When I changed those setttings to normal also I am not able to connect to the server. Even I reinstall the whole softwares. But the problem is still there.
    So could any one help me to resolve the problem.
    Its very Urgent project. Its completed but when I try to demonstrate, that day only to connect my PC remotly I changed internet explorer settings very badly. It causes all the damage. Even I changed them to normal also I am not getting any.
    Please help me to resolve it.
    waiting for your response....
    Thanks,
    Sri...

    Size(kb): 0
    Name: TEMPLATE_STORE
    Records: 12
    Size(kb): 14
    Remaining Space(kb): 5831
    file://localhost/c:/Nokia/
    Midlet exit status: true
    file://localhost/root1/
    Midlet exit status: true
    java.io.IOException: java.io.IOExceptionFilesystem root root1/ is not mounted.
    file:///c:/
    Midlet exit status: true
    file:///e:/
    Midlet exit status: true
    file:///c:/Nokia/Images/
    Midlet exit status: true
    file:///c:/Nokia/Videos/
    Midlet exit status: true
    file:///CFCard/
    Midlet exit status: true
    java.io.IOException: java.io.IOExceptionFilesystem root cfcard/ is not mounted.
    file://localhost/
    Midlet exit status: true
    java.lang.IllegalArgumentException: Malformed file location.
    file://localhost/c:/
    Midlet exit status: true
    file://localhost/e:/
    Midlet exit status: true
    Default File System Root is: file://localhost/c:/nokia/vaayoo/
    Listing files in directory and its sub directories: file://localhost/c:/nokia/vaayoo/
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.1 400 Bad Request
    Date: Mon, 23 Apr 2007 08:13:04 GMT
    Server: Apache/2.2.4 (Win32)
    Content-Length: 226
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    Error initializing HTTP tunnel connection:
    HTTP/1.1 400 Bad Request
    Date: Mon, 23 Apr 2007 08:13:04 GMT
    Server: Apache/2.2.4 (Win32)
    Content-Length: 226
    Connection: close
    Content-Type: text/html; charset=iso-8859-1

  • Applet attempting to access dead http tunneling connection of its immediate predecessor

    We're encountering weblogic exceptions when switching between client applets
    in the same browser session. Each applet, when invoked, establishes an http
    (ie, an http tunneling) connection with the weblogic server. When we use t3
    as our protocol, everything works fine. When we use http, however, we get
    the following client-side exception as soon as we switch over to the second
    applet.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Dead thread ]
    at weblogic.net.http.KeepAliveCache.put(KeepAliveCache.java:57)
    at weblogic.net.http.HttpClient.finished(HttpClient.java:147)
    at weblogic.net.http.KeepAliveStream.close(KeepAliveStream.java:89)
    at weblogic.net.http.KeepAliveStream.justRead(KeepAliveStream.java:37)
    at weblogic.net.http.KeepAliveStream.read(KeepAliveStream.java:47)
    Some details:
    1) We are using sun java plugin, v1.3
    2) We are using weblgoc 5.1, sp5.
    3) We can temporarily stop this problem from happening by delaying the death
    of the first applet. That is, we cause its thread to pause before allowing
    itself to die. When we do this, the second applet works fine UNTIL the first
    one dies, then it pukes with a similar error to the one above.
    It seems like the 2nd applet is trying to access the first one's http
    connection stream, and in doing so is throwing an exception upon discovering
    that this applet's thread is already gone.
    Can anyone guess why this may be happening?
    Many thanks.
    Ramsey

    Ramsey Shehadeh <[email protected]> wrote:
    >
    Yes, we've tried that. Doing two t3 (or t3s) connections seems to work
    fine. It's only the tunneling that's causing us problems.interesting...
    looks like they are sharing.
    Is there any
    way you know of to prevent the applets from sharing sessions? dont know at this time...
    session identification are put in cookies and browser instance maps that to a URL.So everytime the browser connects to the URL it identifies with these and they, as far as i know will be same for both applets...
    purely a browser concern?dont know...
    maybe weblogic could do something at its marshalling/unmarshalling layer of HTTP tunelling...but not sure...
    >
    Thanks.
    Ramsey
    shivu wrote:
    AFAIK this could be because both applets are sharing the same connection/session...I think when you run two applets in the same browser session, some things get shared especially HTTP Session...
    Are you making two different t3 connections in two applets?
    "Ramsey Shehadeh" <[email protected]> wrote:
    We're encountering weblogic exceptions when switching between client applets
    in the same browser session. Each applet, when invoked, establishes an http
    (ie, an http tunneling) connection with the weblogic server. When we use t3
    as our protocol, everything works fine. When we use http, however, we get
    the following client-side exception as soon as we switch over to the second
    applet.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Dead thread ]
    at weblogic.net.http.KeepAliveCache.put(KeepAliveCache.java:57)
    at weblogic.net.http.HttpClient.finished(HttpClient.java:147)
    at weblogic.net.http.KeepAliveStream.close(KeepAliveStream.java:89)
    at weblogic.net.http.KeepAliveStream.justRead(KeepAliveStream.java:37)
    at weblogic.net.http.KeepAliveStream.read(KeepAliveStream.java:47)
    Some details:
    1) We are using sun java plugin, v1.3
    2) We are using weblgoc 5.1, sp5.
    3) We can temporarily stop this problem from happening by delaying the death
    of the first applet. That is, we cause its thread to pause before allowing
    itself to die. When we do this, the second applet works fine UNTIL the first
    one dies, then it pukes with a similar error to the one above.
    It seems like the 2nd applet is trying to access the first one's http
    connection stream, and in doing so is throwing an exception upon discovering
    that this applet's thread is already gone.
    Can anyone guess why this may be happening?
    Many thanks.
    Ramsey

  • Java.io.IOException: Error initializing HTTP tunnel connection:

    Hi,
    I am running sample Midlet to communicate to any URL like http://www.google.com or my internal servlet. It is opening the connection but when I try to open the inputstream it gives me following error.
    java.io.IOException: Error initializing HTTP tunnel connection:
    HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
    Via: 1.1 TPSL-PROXY
    Proxy-Authenticate: Negotiate
    Proxy-Authenticate: Kerberos
    Proxy-Authenticate: NTLM
    Proxy-Authenticate: Digest qop="auth",algorithm=MD5-sess,nonce="3ace49b386edc8013f52a8f9b7c0638bfb8a6ca60b76bf826632da7cd6185c30d3c61c1a61a0aa91",charset=utf-8,realm="TPSL.LOCAL"
    Connection: close
    Proxy-Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Content-Type: text/html
    Content-Length: 722
         at com.sun.midp.io.j2me.http.Protocol.doTunnelHandshake(+333)
         at com.sun.midp.io.j2me.http.Protocol.connect(+145)
         at com.sun.midp.io.j2me.http.Protocol.streamConnect(+57)
         at com.sun.midp.io.j2me.http.Protocol.startRequest(+12)
         at com.sun.midp.io.j2me.http.Protocol.sendRequest(+38)
         at com.sun.midp.io.j2me.http.Protocol.sendRequest(+6)
         at com.sun.midp.io.j2me.http.Protocol.closeOutputStream(+4)
         at com.sun.midp.io.BaseOutputStream.close(+14)
         at HTTPTest.getGrade(+155)
         at HTTPTest.startApp(+8)
         at javax.microedition.midlet.MIDletProxy.startApp(+7)
         at com.sun.midp.midlet.Scheduler.schedule(+270)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+80)
    I think it is going through SSL handshake which implemented in HTTP protocol in J2ME.
    I have already done the proxy setup and authentication in Sun Wireless toolkit > preferences > Network configuration.
    Still error is there. Please help me regarding this, not able to go ahead and rest in peace.
    thanks & regards,
    mJK

    Hi,
    have you checked proxy settings in WTK preferences?
    Peter

  • How do i change http max connections, http persistent, pipling to true, and proxy pipling to true

    how do i change http max connections, http max persistent, pipling to true, proxy pipling to true.

    Simpler question: Can I change the max connections in Flex?
    Thank you.

  • Http tunnel connection unexpectedly closes

    Hi,
    I'm trying to ichat to work on an imac connected to a coporate network. I'm trying to connect through a proxy and keep getting the error "http tunnel connection unexpectedly closes".
    My .mac account is set to connect through a proxy on port 80 using the http protocol.
    Cheers
    Craig

    Hi,
    Can I suggest you ask here about the HTTP tunnel issue.
    I have never used iChat this way and think you need to solve that first.
    I do know that iChat manages Proxy connections better if pointed to using the System Preferences Settings (Network > Advanced Button)
    8:43 PM Tuesday; July 13, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • How to solve the problem of connecting my iPad to Itunes while my iPad not working and show to connect to iTunes?

    Question to all iPad users please help in this issue
    How to solve the problem of connecting my iPad to Itunes while my iPad not working and show to connect to iTunes?
    Thank you for help out.

    Hi Jamalzoal,
    Dose your computer have the most recent iTunes on it? When you connect the iPad 2 to your computer what happens? dose iTunes tell you the iPad need to be restored?
    p.s. you post this question in the Apple Remote Desktop community. You would probable have gotten more an fast responses if you posted this in the iPad community.

  • How to verify the  Source systems connectivity with BWQ System.

    Hi All,
    I have diff source systems. And my requirement is to check the source systems connectivity with BWQ (BW Quality sys). please any body tell me the steps how to check the source system connectivity ?
    Thanks & Regards,
    Manju

    Hi Manjula,
    If you encounter problems when establishing a connection to your target server, check the following:
    A message box appears while performing one of the following actions:
          Setting connection by choosing Apply to local session.
          Testing connection settings by choosing Test settings.
          Creating SAP TSQL objects
    If errors occurred, they are displayed in the respective message box.
       Check developer trace files in ST11.
      Test connection:
         For RFC related errors, check the RFC connection via SM59
         For database multi-connect errors, check if you can connect to the target SQL Server with the SQL Server Query Analyzer. Also check if the DBCON entries are correct.
    Regards,
    RK

  • How to get the local lan connecting all the system names ?

    how to get the local lan connecting all the system names using java?
    any body know then send the coding or solution

    This question is asked and answered repeatedly. Search the forum.

  • How to initialize the jndi context?

    Hello!
    install the j2ee sdk 1.4 on a server that has the ip address 211.83.144.48.
    then I deploy a EJB ,but I want to call the method from another pc.
    The problem is that how I initialize the jndi context? How can get the url for "Context.PROVIDER_URL"?
    thks.

    You need to look document of the application server that u are using.
    Because this depends on application servers.

  • How to initialize the array of hashmap???

    how to initialize the array of hashmap??

    What do you mean by "the array of hashmap"?

  • How to config the oracle database connection pool in IAS

    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

    Jacky,
    You need do the following for oracle type4 driver:
    1) register the driver:
    $IAS_HOME/bin/jdbcsetup
    Driver Identifier: Oracle_Type4_816 (whatever name you like)
    Driver Classname: oracle.jdbc.driver.OracleDriver
    Driver Classpath: .../classes12.zip (install this this zip file somewhere
    and add this zip into the Classpath later).
    2) DataSource Setup:
    start iAS Administration Tool (iASAT)
    Choose Database, unfold iAS1 (your app server instance),
    choose External JDBC Datasource -> add: DataSource Registration
    JNDI Name: yourPoolName
    Driver Type: Oracle_Type4_816 (select what you just register)
    DataSource Url: jdbc:oracle:thin:@hostName:portName:dbName
    Username: your_user_name
    Password: your_passwd
    (Datasource Pool: using defaults for now): you can also customrize the
    parameters for the pool.
    3. Add classes12.zip into CLASSPATH.
    In your application, you can use JNDI lookup to get the DataSource from
    which you get the connection from the pool.
    Hope this helps.
    Good luck.
    Xuran
    "Jacky Yan" <[email protected]> wrote in message
    news:9m0tmp$[email protected]..
    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

  • How to initialize the new internal hard disk in LapTop ?

    Folks,
    Hello.
    My LapTop model is HP Pavilion dv4-2045dx entertainment notebook whose host operating system is Windows 7.
    Because the current hard disk capacity is not enough, I need to replace it with a new hard disk with bigger capacity.
    After take out the old hard disk and install "750 GB 7200 rpm Western Digital Scorpio Black 9 mm internal hard drive" into my LapTop, how to initialize the new hard disk ? What is the host Operating System for the new hard disk ?

    Please see the answer in your other thread.
    Which external hard drive supports Oracle Linux 5 on top of VMPlayer ?

Maybe you are looking for

  • Internet problems on my macbook pro and ipod touch with camera.

    Hi, For the last week or so I have been experiencing internet problems with my macbook and iPod touch with camera. I'll be online and clicking different news articles and suddenly the address bar will start to open a link but will not complete it. So

  • Artifacts, burned in pink colored lines

    Hi. At my studio we have been having a big problem on a select few computers with Photoshop CS6 and earlier versions. When we open a file sometimes, randomly there will be a streak of color in the file that we did not make. Once this appears, it is b

  • Illustrator CS6 deleting random file items

    Hi there. Both myself and the other designer at my office have run into a pretty major problem with Illustrator and we are hoping someone here might be able to get to the bottom of it. First of all, some details as to what we are working on: Mac OSX

  • Photostream is syncing old photos from iPhoto

    Photostream is syncing 1000 of random old photos throughout my iPhoto library.  Because it is grabbing these 1000 photos it does not sync NEW pictures taken.  It supposed to sync the last 30 days pictures, but these pictures are from 2006-2008.  All

  • Anyway to make mouse button 4 and 5 not go back and forward but still retain there functionality with other programs

    This has been brought up a few times but Mozilla refuses to add this functionality or to simply explain to us why they cant. And please do not tell me to just use X-Mouse Controls because there is absolutely no reason why this can't be done or explai