Tunneling result unspecified - is the HTTP server

We have a SOA Suite Server and we have HTTP Tunneling enabled on it.
I'm attempting to create a JMX connection to it but have been getting the following exception:
Caused by: java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: '10.240.81.4' and port: '15980' a WebLogic Server?
     at weblogic.corba.client.http.TunneledSocketImpl.throwProtocolException(TunneledSocketImpl.java:498)
     at weblogic.corba.client.http.TunneledSocketImpl.connectInternal(TunneledSocketImpl.java:253)
     at weblogic.corba.client.iiop.BiDirSocketImpl.connect(BiDirSocketImpl.java:355)
     at weblogic.corba.client.iiop.BiDirSocketImpl.connect(BiDirSocketImpl.java:139)
     at weblogic.corba.client.http.TunneledSocketImpl.connect(TunneledSocketImpl.java:289)
     at java.net.Socket.connect(Socket.java:579)
     at java.net.Socket.connect(Socket.java:528)
     at weblogic.corba.client.iiop.BiDirSocket.<init>(BiDirSocket.java:22)
     at weblogic.corba.client.http.TunneledSocket.<init>(TunneledSocket.java:31)
     at weblogic.corba.client.http.TunneledSocketFactory.createSocket(TunneledSocketFactory.java:105)
     at weblogic.corba.client.iiop.BiDirORBSocketFactory.createSocket(BiDirORBSocketFactory.java:89)
     at com.sun.corba.se.impl.legacy.connection.SocketFactoryConnectionImpl.<init>(SocketFactoryConnectionImpl.java:73)
     ... 30 more
Here is how I'm trying to create the connection where the service URL is
service:jmx:http://localhost:<port>/jndi/weblogic.management.mbeanservers.runtime
JMXServiceURL serviceURL = new JMXServiceURL("http", uri.getHost(),
uri.getPort(), "/jndi/" + "weblogic.management.mbeanservers.runtime");
Map<String, String> map = new HashMap<String, String>();
map.put("java.naming.security.principal", username);
map.put("java.naming.security.credentials", password);
map
.put("jmx.remote.protocol.provider.pkgs",
"weblogic.management.remote");
jmxConn = JMXConnectorFactory.newJMXConnector(serviceURL, map);
jmxConn.connect();
It works fine when we use the t3 protocol, but we need to use HTTP. Any thoughts?

Suddenly I was able to get past this issue and have been able to create the JMX connection.
However, now, after getting the MBeanServerConnection and trying to create a new Locator object, I'm getting the following:
javax.naming.NameNotFoundException: Exception in lookup.: `FacadeFinderBean' could not be found. [Root exception is weblogic.corba.cos.naming.NamingContextAnyPackage.NotFound: IDL:weblogic/corba/cos/naming/NamingContextAny/NotFound:1.0]
     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:65)
     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:230)
     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)
     at javax.naming.InitialContext.lookup(InitialContext.java:411)
     at oracle.soa.management.internal.ejb.EJBLocatorImpl.lookupBean(EJBLocatorImpl.java:739)
     at oracle.soa.management.internal.ejb.EJBLocatorImpl.lookupFinderBean(EJBLocatorImpl.java:717)
     at oracle.soa.management.internal.ejb.EJBLocatorImpl.<init>(EJBLocatorImpl.java:168)
     at oracle.soa.management.facade.LocatorFactory.createLocator(LocatorFactory.java:20)
Hashtable jndiProps = new Hashtable();
jndiProps.put(Context.PROVIDER_URL, "http://localhost:<port>/soa-infra");
jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
jndiProps.put(Context.SECURITY_PRINCIPAL, username);
jndiProps.put(Context.SECURITY_CREDENTIALS, password);
jndiProps.put("dedicated.connection", "true");
Locator lLocator;
try {
//If this fails, it's an older version of SOA Server and we must read directly from MDS
lLocator = LocatorFactory.createLocator(jndiProps);

Similar Messages

  • Tunneling result unspecified/No available router to dest weblogic 10.0 MP1

    Hi,
    I have some problems with my weblogic installation. I would like to desploy via eclipse and get the following error messages.
    Some configuration input:
    -firewall is off
    Eclipse
    base directory: ${project_path}
    Goals: install weblogic:deploy
    weblogic.home .......bea\wlserver_10.0
    Maven-Runtime: .......\apache-maven-2.1.0
    Also I added some datasources. But in my opinion I did no further configurations.
    [INFO] [weblogic:deploy]
    [INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServerHostName = 127.0.0.1, adminServerProtocol = http, adminServerPort = 7001, userId = weblogic, password = weblogic, artifactPath = ..........info_ear-0.0.1-SNAPSHOT, projectPackaging = ear, name = ..........info_ear, targetNames = AdminServer, remote = false]
    [INFO] Weblogic Deployment parameters [-adminurl, http://127.0.0.1:7001, -username, weblogic, -password, weblogic, -name, ..........info_ear, -targets, AdminServer, -source, ..........info_ear-0.0.1-SNAPSHOT, -deploy]
    weblogic.Deployer invoked with options: -adminurl http://127.0.0.1:7001 -username weblogic -name bs_country_info_ear -targets AdminServer -source ..........info_ear-0.0.1-SNAPSHOT -deploy
    javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
         at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
         at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
         at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
         at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:304)
         at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
         at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
         at weblogic.utils.compiler.Tool.run(Tool.java:158)
         at weblogic.utils.compiler.Tool.run(Tool.java:115)
         at weblogic.Deployer.run(Deployer.java:70)
         at org.codehaus.mojo.weblogic.DeployMojoBase.executeDeployer(DeployMojoBase.java:510)
         at org.codehaus.mojo.weblogic.DeployMojo.execute(DeployMojo.java:49)
         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
         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:592)
         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:143)
         at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
         at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
         ... 28 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: http://127.0.0.1:7001: Destination unreachable; nested exception is:
         java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:363)
         at weblogic.jndi.Environment.getContext(Environment.java:307)
         at weblogic.jndi.Environment.getContext(Environment.java:277)
         at weblogic.jndi.Environment.createInitialContext(Environment.java:200)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:184)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:162)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
         ... 30 more
    Caused by: java.net.ConnectException: http://127.0.0.1:7001: Destination unreachable; nested exception is:
         java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:204)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:154)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:342)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:337)
         ... 38 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:472)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:323)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:263)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:206)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:226)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:189)
         ... 43 more
    Unable to connect to 'http://127.0.0.1:7001': Destination unreachable; nested exception is:
         java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    The last lines are very confuse because I can connect to the web interface of the weblogic server. That's no problem.
    Does anyone have some ideas to solve my problem?
    Thanks!
    Edited by: user3467436 on 07.08.2009 02:09

    I think you must enable HTTP tunneling in WebLogic Server, Go to Administration Console at Environment > Servers > AdminServer > Protocols > HTTP and set Enable Tunneling= true.
    Alternatively you can change [http://localhost:7001] by [t3://localhost:7001] in Eclipse deployment tool.

  • How do I adjust the HTTP server receive timeout for one site on Ironport S670

    Hi All,
    How do I adjust the HTTP server receive timeout for one site on Ironport S670?A web based application can take a long time (45 to 60 minutes) to fill a form once a user Login.The proxy will timeout the connection before the result comes back.How do I resolve the issue?
    Thanks

    Sandeep,
    There is no option to adjust timers for one specific website.  Any changes will affect all websites.  The setting is under Security Services > Web Proxy.  If only one site is being problematic for you, I'd recommend you consider bypassing it.
    Is this an HTTPS site?
    You may want to open a TAC case and have them take a deeper look into this.
    -Vance

  • Maintaining cookies at the HTTP server level?

    Hi,
    My Apache HTTP server authenticates the request by hitting another server before forwarding the request to the J2EE App Servers. Is there any way to avoid this authentication hit on every request at the HTTP Server using cookies for the same session since the user is already authenticated.
    Thanks
    AA

    ash261080 wrote:
    Hi,
    My Apache HTTP server authenticates the request by hitting another server before forwarding the request to the J2EE App Servers.Is that a custom logic you have built? I havent read about such behaviour offered by default.
    ram.

  • How to calculate the byte tranfer to the http server

    Hi,
    I'm developing a multiplayer game on mobile phone.
    At the end of the connexion, I need to know how many bytes were sent and received from the http server.
    Here is the part code for the connexion to the server :
    HttpConnection connection = (HttpConnection)Connector.open(request);
    connection.setRequestMethod(HttpConnection.GET);
    InputStream is = connection.openInputStream();
    long length = connection.getLength();
    byte[] datach = new byte[1];
    int ch = 0;
    while(is.read(datach) != -1)
         ch = datach[0];
         b.append((char)ch);
    String s = b.toString();The size of each data I have to send or receive is less than 50 bytes.
    All I do for now is adding the request size and the server response size.
    For each request, I have to count the header size and the data size. But I don't know how to find the header size of my request.
    And for each response from the server, I count the header size and the data size with connection.getLength().
    I don't know whether it's the right method.
    Does anyone know a better method to calculate exactly the bytes sent and received?

    TCP/IP "overhead" is basically 20%.

  • The http server seems not to be there

    I installed HTMLDB2.0 and it seems that the installation finished fine. I use a 10GR2 instance and I can see a schema called FLOWS_020000 which has lots of tables in it.
    Now I try to find where to (re)start the HTTP server (on a linux box). But it seems that it never has been installed at all. So, no process has a name with HTTP and I even can't find a directory named Apache or a file called dcmctl, like the Oracle HTML DB Installation Guide says.
    I installed the Oracle server software 10GR2 completely but didn't anything regarding the Oracle AS.
    Seems that there's something missing but I have no clue, what. I assume that not the complete AS is needed, is it?
    TIA
    Brigitte

    Hello Brigitte,
    The Oracle HTTP server installation is not part of the database or HTML DB installation. You need to do it yourself. You can find the proper software on the 10gR2 companion cd, or you can download it from OTN.
    After installing the HTTP server you'll find all the directories and files that you need to complete the post-installation tasks of HTML DB.
    You can search this forum for terms like apache or dads.conf, and you'll find several threads on the subject.
    Regards,
    Arie.

  • Problems starting the http server

    I have problems starting 9ias http server. I issue:
    /u09/ora9ias/infra/opmn/bin> opmnctl startall
    opmnctl: starting opmn and all managed processes...
    Request partial success -- 1 of 4 processes started.
    and the HTTP server does not start.
    If I go to the enterprise manager, the only service started is Single Sign On.
    If I try to enter to the HTTP server it gives me the following error:
    An error was encountered while loading page. Failed to initialize configuration management user session.. Repository access failed Root Cause: Password could not be retrieved. Password could not be retrieved
    The iasdb is already started and working.
    Any clues what can be going wrong??
    help is greatly appreciated.

    Jorge, I suspect you've already fixed this problem. But if not, I have a standard operating procedure for this. Here's the gist of it, let me know if you need more detail.
    1. shutdown the opmn layer (opmnctl stopall)
    2. determine if the httpd.pid file exists (it's in the Apache/logs directory on linux)
    3. delete the .pid file if it's there
    4. if not, or if there's still a problem, tail the error_log for info
    5. try to start the httpd (dcmctl start -ct ohs)
    6. still a problem? ps -auxw | grep httpd
    7. kill off the process(es)
    8. try again to start up with dcmctl command in step 5
    I can usually get it going at this point. If not, I have to do a reboot, which has always worked. Don't forget to shutdown the emctl and webcachectl if you're rebooting.
    Hopefully this helps. It took a lot of learn-as-you-go for us to get this procedure. I'm sure the pros will role their eyes! :-)

  • Having trouble with the HTTP Server vi

    I'm having trouble using the HTTP Server program to view the front panel of my program remotely.
    When I initially start the server program everything works fine. However, the program hasn't been able to run for more than one or two days at a time before it freezes and won't display the front panel.
    The only clue I can see as to what is going on is that there are always several pending connections and active connections listed in the HTTP Server front panel when it isn't working properly. Stopping the server and starting it again fixes the problem temporarily and it works fine for another day or two.
    Any ideas about what might be causing this problem?

    Which OS do you have? Win95 and 98 are not very stable systems, so you might want to try with WinNT. You should be able to run the HTTP server for few days on WinNT.
    Since restarting the server solves the problem, maybe you can try to programmatically restart the server every 24 hours. This can be done within LabVIEW with the HTTP Server Control.vi. Be aware that this will close all the connections, not just the pending ones.
    Does this problem happen every couple of days, or are you able to run it sometimes for a longer period time? Is it related to how many clients request control?
    Also, take a look at the Access Log, and see if you notice anything strange at the time when the problem happens.
    I hope this helps.
    Have a pleasant day.
    Zvezdana S.
    Nat
    ional Instruments

  • Performance of the HTTP Server

    Hi!
    I'm looking to deploy a corporate website that has a number of database led applications.
    We expect our site to get 50,000+ web page requests daily - I was wondering if the web server that comes with Sun ONE Application Server 7 is capable of this sort of load?
    Are there any documents comparing it to other web servers (Apache, Zeus, MicroSoft etc).
    Also what does Sun's Web Server product offer that I dont get with AppServer's Http Server?
    Thanks
    Gareth

    What? You said:
    "We've recently installed Grid Control Mgmt Server and only access it from the local intranet, but the performance seems to be wanting."
    So, on your OEM server, are you running out of CPU and/or memory? Or are they fine, suggesting a bottleneck elsewhwere, e.g. the network?
    What are your sga/pga settings for the 9i and 10g repository databases? How much of that 2Gb of RAM is being eaten by them? If your server is paging out, then performance will be slow.
    Have you read the advanced guide, especially chapter 9 Sizing and Maximizing the Performance of Oracle Enterprise Manager?
    Message was edited by:
    bazzza

  • What is the HTTP server [default/built-in] that Weblogic server uses

    Is the built-in web server in weblogic Apache or is it some other http server that
    BEA owns ?

    WebLogic Server is a single java process, that has two listen ports, one SSL
    and non-ssl.
    These two ports use protocol discrimination to handle multiple protocols on
    a single port.
    NON-SSL --> http, t3 (proprietary rmi protocol), iiop
    SSL --> https, t3s, iiops
    So WebLogic comes with a build in Webserver. Or you can use a third party
    webserver in front of WLS with plugin to proxy to WLS.
    See;
    http://edocs.bea.com/wls/docs81/plugins/
    Cheers
    mbg
    "Manoj" <[email protected]> wrote in message
    news:3edb0ba5$[email protected]..
    >
    Is the built-in web server in weblogic Apache or is it some other httpserver that
    BEA owns ?

  • Can URL redirects be configured with XE and what is the HTTP Server

    I would like to be able to URL redirects. I'm running XE with Application Express 2.1.0.00.39.
    I want to be able to have a URL like www.schoolwebsite.com and when the user hits it - have it redirect to the Apex page for the application. I was thinking that I needed to use a redirect in the HTTP config file, and that XE used Oracle_HTTP and I could configure in that manner.
    But, I can't find an Apache directory.
    1. What HTTP server is used with XE and Application Express 2.1.0.00.39?
    2. Can I configure for this type of redirect?
    3. Do I need to install an HTTP server to accomplish this?
    Thanks,
    Stephen

    Hi Steven,
    search for "proxy" in this forum.
    It explains how to configure a plain Apache http server as a proxy to XE. Then you can use the default mechanisms to rewrite an url.
    Here is an example (save the file as XE.conf and store it in the Apache conf directory (file httpd.conf is there).
    The following instructions are valid for Apache2.
    # Activate the following modules in httpd.conf:
    #LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    #LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    #LoadModule headers_module modules/mod_headers.so
    # include the XE configuration (this file XE.conf) in httpd.conf:
    #include "conf/XE.conf"
    # XE listener is buggy, thus downgrade to http 1.0
    SetEnv force-proxy-request-1.0 1
    RewriteEngine On
    RewriteLog "D:\Programme\Apache Group\Apache2\logs\rewrite.log"
    RewriteLogLevel 0
    ## Rewrite requests /apex, /i, /public, /sys to locally installed XE
    RewriteCond %{REQUEST_URI} /(([^/]+)(/.*)*)$
    RewriteCond %2 =apex [OR]
    RewriteCond %2 =i [OR]
    RewriteCond %2 =public [OR]
    RewriteCond %2 =sys
    RewriteRule ^/(.*) http://%{SERVER_NAME}:8080/%1 [P]
    ## Rewrite main page
      RewriteEngine On
      RewriteRule ^/$       http://%{SERVER_NAME}/apex/f?p=107:1 [R]
      RewriteRule ^/index.html$       http://%{SERVER_NAME}/apex/f?p=107:1 [R]
    ## Rewrite /app1
      RewriteRule ^/app1$      http://%{SERVER_NAME}/apex/f?p=107:1:0 [R=303]Regards,
    ~Dietmar.
    Edited by: Dietmar Aust on Oct 14, 2008 1:16 AM

  • Getting the HTTP server name, port and context name inside the init()

    I have a servlet which is initialized when the Web server comes up. Is there any way I can print the complete URL from this servlet?
    I am aware that this can be done by using request object. But note that in this case, there is no request object. All we have is the ServletConfig and ServletContext.
    Pasting a part of my code here.
    public class MyInit extends HttpServlet
    private ServletContext m_servletContext = null;
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    m_servletContext = config.getServletContext();
    //System.out.println("Print the URL here...")
    }

    Only a request has a URL. It's possible for servlets to be mapped to respond to more than one URL, and the server can be configured to respond to more than one host and at more than one port. So none of those things you are asking for have any meaning without an actual request.

  • HTTP Server for Windows 64 bit not on the companion CD

    Hi,
    I cannot find the HTTP Server for Windows 64 bit on the companion CD. Any idea where I can get it from? For the 32bit version the HTTP Server is on the Companion CD.
    Thanks in advance,
    Florin

    If i am correct reason should be : Oracle Application Server 10g will run as a 32-bit application
    Following platforms have the same media in either case:
    Microsoft Windows 32-bit and EM64T/AMD64
    (Not Itanium-64, which is separate and referred to as "Windows 64-bit")
    Linux x86 and Linux x86-64
    Solaris Sparc 32-bit and Solaris Sparc 64-bit
    As the Oracle Application Server 10g will be run as a 32-bit application. See the Installation Guide or readme files for any specific steps on these 64-bit platforms.
    Refer the Note.433061.1 - How to Obtain Application Server 10g Media, Patchsets, and Patches

  • Re Post: Http server cannot start after running the following JSP

    Hi,
    I have 9iAS 1.0.2.2 and it has been working fine.
    My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
    I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
    I also check the oci.dll files, and I have the oci.dll file in the following directories:
    c:\oracle\ora81\BIN 87KB
    c:\oracle\806\BIN 38KB
    c:\oracle\iSuites\BIN 87KB
    I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
    806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
    The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
    Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
    OR
    the OCI.DLL file is corrupted in one of the above directory.
    Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
    I really appreciate if someone could give me some pointers about this.
    I also suspect that when the HTTP server was brought down for some reasons and it was not a clean shutdown.
    So how can I shutdown the http server cleanly before restarting that?
    Thanks;
    Kelly.
    <%@ page language="sqlj"
    import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
    e" %>
    <HTML>
    <HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
    <BODY BGCOLOR="white">
    <% String empno = request.getParameter("empno");
    if (empno != null) { %>
    <H3> Employee # <%=empno %> Details: </H3>
    <%= runQuery(empno) %>
    <HR><BR>
    <% } %>
    <B>Enter an employee number:</B>
    <FORM METHOD="get">
    <INPUT TYPE="text" NAME="empno" SIZE=10>
    <INPUT TYPE="submit" VALUE="Ask Oracle");
    </FORM>
    </BODY>
    </HTML>
    <%!
    private String runQuery(String empno) throws
    java.sql.SQLException {
    DefaultContext dctx = null;
    String ename = null; double sal = 0.0; String hireDate = null;
    StringBuffer sb = new StringBuffer();
    try {
    dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
    "tiger");
    #sql [dctx] {
    select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
    INTO :ename, :sal, :hireDate
    FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
    sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
    sb.append("Name : " + ename + "\n");
    sb.append("Salary : " + sal + "\n");
    sb.append("Date hired : " + hireDate);
    sb.append("</PRE></B></BIG></BLOCKQUOTE>");
    } catch (java.sql.SQLException e) {
    sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
    } finally {
    if (dctx!= null) dctx.close();
    return sb.toString();
    %>

    I had this problem and the pkgchk mentioned above helped to get the admin server going (thanks!) but I could not run the admin console. I saw:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/GNOME/Accessibility/JavaBridge (Unsupported major.minor version 49.0)
    It turned out that something (I suspect the patch) had replaced my java1.5.0_06 binary with a java1.4.2_03 binary - but left the java1.5 directory structure alone! i.e. looking in /usr/jdk would have indicated that java1.5 was installed, but when I ran jdk1.5.0_06/bin/java -version , it reported java version "1.4.2_03". I was unimpressed.
    I ended up removing all the SUNWj5* packages and reinstalling them and then I could start the admin console.
    Now to find out what other damage this patch might have caused.....

  • Http server cannot start after running the following JSP

    Hi,
    I have 9iAS 1.0.2.2 and it has been working fine.
    My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
    I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
    I also check the oci.dll files, and I have the oci.dll file in the following directories:
    c:\oracle\ora81\BIN 87KB
    c:\oracle\806\BIN 38KB
    c:\oracle\iSuites\BIN 87KB
    I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
    806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
    The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
    Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
    OR
    the OCI.DLL file is corrupted in one of the above directory.
    Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
    I really appreciate if someone could give me some pointers about this.
    Thanks;
    Kelly.
    <%@ page language="sqlj"
    import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
    e" %>
    <HTML>
    <HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
    <BODY BGCOLOR="white">
    <% String empno = request.getParameter("empno");
    if (empno != null) { %>
    <H3> Employee # <%=empno %> Details: </H3>
    <%= runQuery(empno) %>
    <HR><BR>
    <% } %>
    <B>Enter an employee number:</B>
    <FORM METHOD="get">
    <INPUT TYPE="text" NAME="empno" SIZE=10>
    <INPUT TYPE="submit" VALUE="Ask Oracle");
    </FORM>
    </BODY>
    </HTML>
    <%!
    private String runQuery(String empno) throws
    java.sql.SQLException {
    DefaultContext dctx = null;
    String ename = null; double sal = 0.0; String hireDate = null;
    StringBuffer sb = new StringBuffer();
    try {
    dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
    "tiger");
    #sql [dctx] {
    select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
    INTO :ename, :sal, :hireDate
    FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
    sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
    sb.append("Name : " + ename + "\n");
    sb.append("Salary : " + sal + "\n");
    sb.append("Date hired : " + hireDate);
    sb.append("</PRE></B></BIG></BLOCKQUOTE>");
    } catch (java.sql.SQLException e) {
    sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
    } finally {
    if (dctx!= null) dctx.close();
    return sb.toString();
    %>

    Hi Jim,
    I have the same environment with almost similar problem, no IIS services being started, but HTTP_Server still failed to start. Below log:
    +10/09/28 23:35:04 Start process+
    +[Tue Sep 28 23:35:06 2010] [warn] pid file c:/oracle/frhome_1/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous+
    Apache run?
    ap_spawn_child: Bad file descriptor
    Couldn't fork child for piped log process
    Regards,
    Chai
    Edited by: user13350226 on Sep 28, 2010 9:14 AM

Maybe you are looking for

  • Premiere Pro cs6 keeps crashing when im editing or rendering a video

    When I am on Adobe Premiere Pro cs6 every 10-20 mins it crashes when im editing a video, it crashes more often when im rendering it (export media, ctrl+M). I dont mind when it crashes while im editing because i save the file regularly but when im ren

  • Solution Manager  - Service Desk mail PDF

    Hi,     When I use the email message creator button from the Service Desk Transaction Monitor, In my email account, the PDF displays the message details from the person who raised the message the system details and the message from the processor as e

  • Syncing iCal to 2 macs

    I have a macbook, I just bought a macbook pro. Can I sync the calendars regularly so that if I add something to one, it automatically does to the other? I assume I can do this by setting up some kind of network, or something, just don't know how. Ins

  • Automatic intercompany posting by IDOC in China / RMB -- CNY

    Hello, we want to use automatic intercompany posting in our chinese company codes. Problem: Sending company code post invoice in RMB   --> IDOC changes RMB to CNY --> posting in receiving CoCd is CNY I know that the change is coming from the settings

  • How to make new column of Interactive Report permanent

    Hi, after changing the query of an interactive report (adding a new column) you have to add the column from the Actions Menu -> Select Columns function of the report. But this change isn't permanent. After i logout and login again, or a user goes to