EAR deployment classloader Question: test fails

 

"Anamitra" <[email protected]> wrote in message
news:[email protected]...
>
Hi Ajay
based on your feedback I tried a test - by creating an EAR which contains
1>test1.jar - an EJB [ the manifest file having the test22.jar]
2> test22.jar another EJB
3> test2.jar - a common jar[ the manifest file having the test2.jar]why does this point to itself ?
4> testservlet.war - a servlet file in a war
Weblogic deploys them all - I can invoke the EJBs too. But when I try toinvoke
the servlet from the browser - it says the test.TestServlet class notfound! -
this is because the testservlet.jar file which contains this class should be
in WEB-INF/lib of the .war file.
but I see the servlet war deployed from the console! - is this a bug? I amattaching
the EAR file - its pretty self contained and you can try it out in urweblogic
env [6.1 sp3 win2k].
thanks
Anamitra
"Ajay" <[email protected]> wrote:
Anamitra <[email protected]> wrote in message
news:[email protected]...
Hi
So what you say can be summed up as
1> all EJB jars in the same EAR gets loaded by the same classloader.
2>So if in the jar manifest file I write the CLASSPATH to the B thenthe
classlaoder
for the EJBs will also load B.
3> Since the WAR classloader is child to the EJB classloader - theWAR can
also
see the same B.
Yes you are correct.
Now do I have to have the manifest entry[CLASSPATH] for every EJB jartha
I make?
If the same classloader is used for all the jars in the same EAR Ishould
not
need to do that - right?
Is this feature changing in 7.x?
thanks
Anamitra
"Ajay" <[email protected]> wrote:
Hi
You can refer to B.jar from the War and the EJB jar through the
Manifest
files
In EJB jar and WebApp jar manifest files you can have
Class-Path: B.jar
In 6.1sp2 the EJB classloader is same as the Application ClassLoader.
All
EJB's within the EAR are loaded by the same Classloader. WebAppClassLoader
is the child Classloader of the Application Classloader.
Hope this helps
Ajay
Anamitra <[email protected]> wrote in message
news:[email protected]...
Hi Guys I have a very basic question regarding EJB deployment in
Weblogic
6.1 sp2.
Is it possble to create an EAR file such that -
1>it contains a WAR file [of servlets/jsps/client classes] - A
2>a jar file containing our core server classes[not EJBs] - B
3>a jar file containing EJBs - C
here A and C are definitely getting loaded by different class
loaders
- I
want
the classloader for B to be parent of the classloaders for A and
C
- so
that both
A and C can see B. - is this possible by some EAR/Weblogic specificway.
OR the best solution is to place the B in the main classpath and
deploy
the C
and A in an EAR?
thanks Anamitra

Similar Messages

  • Ejb deployment - classloader question

    Hi Guys
    I have a very basic question regarding EJB deployment in Weblogic 6.1 sp2.
    Is it possble to create an EAR file such that -
    1>it contains a WAR file [of servlets/jsps/client classes] - A
    2>a jar file containing our core server classes[not EJBs] - B
    3>a jar file containing EJBs - C
    here A and C are definitely getting loaded by different class loaders - I want
    the classloader for B to be parent of the classloaders for A and C - so that both
    A and C can see B. - is this possible by some EAR/Weblogic specific way.
    OR
    the best solution is to place the B in the main classpath and deploy the C and
    A in an EAR?
    thanks
    Anamitra

    Inline.
    Anamitra wrote:
    Hi Guys
    I have a very basic question regarding EJB deployment in Weblogic 6.1 sp2.
    Is it possble to create an EAR file such that -
    1>it contains a WAR file [of servlets/jsps/client classes] - A
    2>a jar file containing our core server classes[not EJBs] - B
    3>a jar file containing EJBs - C
    here A and C are definitely getting loaded by different class loaders - I want
    the classloader for B to be parent of the classloaders for A and C - so that both
    A and C can see B. - is this possible by some EAR/Weblogic specific way.Made possible by placing B in the ear at the root level and referring to B with the
    Class-Path manifest directive in the ejb jar file for C. This will put B in the ejb
    classloader's classpath making it visible to C and to A since the classloader for C
    is the parent of the classloader for A. Which, is the recommended way.
    >
    OR
    the best solution is to place the B in the main classpath and deploy the C and
    A in an EAR?
    This works, but the classfiles in B are now static for the uptime of the server. If
    you want to make changes in B, you must restart the server. If you configure it the
    way described above, you can reload the B classes by redeploying the application ear.
    >
    thanks
    AnamitraHere is the link with all of the info:
    http://edocs.bea.com/wls/docs61/programming/packaging.html#1029830
    Bill

  • Deploying EAR and EJB (ClassLoader Question)

    Hi,
    Have a few queries. Appreciate any quick answers.
    (a) To deploy a EAR or EJB jar to WebLogic server, is it necessary to include the jar location specifically in $CLASSPATH?
    I think not. Am I correct?
    (b) Is the bean/EAR deployed at module level? Is there a setting for this - is it at bean deployment descriptor? Where can I find this?
    If (say) I need to update an EJB, do I un-deploy, update and re-deploy it?
    Or must I restart the entire WLS container?

    --> An EAR includes one or more EJB files. You don't need to specify the location because it's contained at application.xml file inside the EAR.
    --> Each bean has a deployment descriptor. You can see it at META-INF directory
    If you need to update an EJB (that it is not part of and EAR), you are right.
    The WLS container not need to be restarted.
    Jin

  • Prerequisite test fails while agent deployment

    Hi,
    I am try to deploy agent 10g on solaris server with oracle 9i.
    but the prerequisite test fails with the following error.
    h1. Manual Fixes (1)
    The following corrective actions need to be taken before proceeding. For your convinience check mark each item when you have fixed that issue. The check to ensure that the timzone is set on the remote machine has failed. [Hostname |http://p313xafmrt:4890/EMAgentPush/BaseServiceHandler?ACTION_CODE=42&showall=false#][IP Address|http://p313xafmrt:4890/EMAgentPush/BaseServiceHandler?ACTION_CODE=42&showall=false#]Details97.253.42.4197.253.42.41PROBLEM : The time zone environment variable is not set correctly.ERROR : Expected result: TZ Actual Result: Check complete. The overall result of this check is: Failed &lt;&lt;&lt;&lt;RECOMMENDATION : 1. Shutdown and restart ssh on all machines after ensuring TZ is set. 2. Update ~/.cshrc on all machines with the TZ value. Another option is to pass the timezone using the additional parameters with the -z &lt;timezone&gt;option for default shiophome scenario or the s_timeZone=&lt;timezone&gt; for the non default shiphome case.
    any suggestions Please ?
    Thanks,
    Div

    Hi Div,
    Which version of Oracle 9i you are running! I saw this type of error when upgrading a Test Server from Oracle 9i (9.2.0.4) on Linux RH4 to Oracle 11g.
    May be one of the reason for the Time Zone issues.
    Ravi

  • IBFBS failed to deploy in Embedde OC4J but works with EAR deploy.

    Hi
    When i try to deploy IBFBS sample project in JDevloper by Embedde OC4J : its giving
    an error saying "there is no EJB module to deploy".
    But when i deployed through EAR deployment method its working fine.
    PLease kindly help me.
    Sai.

    Hi,
    Can you pls post the Version of JDeveloper and OC4J that you are using?
    I tried to deploy IBFBS using JDeveloper 9.0.3.988 (JDK 1.3.1) on Standalone OC4J server (9.0.3) and it works fine.
    One constraint for not running the application from JDeveloper (by using embedded OC4J) is that, the OC4J where the FBS is deployed needs to have the -userThreads option enabled.
    This option is enabled by starting OC4J with -userThreads option.
    java -jar oc4j.jar -userThreadsRef : Connection to embedded OC4J per FBS Setup Tutorial-Problem.
    Let us know if your problem still persists.
    Thanks
    -- OTN@IDC Team

  • Color LaserJet MFP M476nw Fax Test failed

    I bought a new LaserJet M476nw, but my fax test fails everytime through the laserjet setup and HP utilities software.  The Laserjet is connected on a network and using Vista.  
    I have a dedicated fax line connected from the jack to the icon with the jack on the back of the laserjet.   I can hear dial tone on the fax line when connected to a phone.   I have called the fax line and it is rings normally and no answer.   I also tried connecting a phone to the laserjet phone icon, while the fax line is connected to the laserJet, I can hear the dial tone from the phone.
    I do not know what else I should do to get the fax test to pass, so I can start faxing on this new machine.  Any suggestion is appreciated.
    Mike 
    This question was solved.
    View Solution.

    Actually this problem is now solved.  
    It was a brand new machine, so since I really didn't have any data so I did a restore default.  It rebooted and now it passes.

  • Pavilion G6-1203ey: Hard Disk Test FAILED, but can still boot into Windows

    Hello
    I have HP Pavilion G6-1203ey laptop. After installing Windows (7 ultimate, 64 bit) and some drivers on it and after several restarts, it hanged at Windows logo and I had to turn it off with power button. Then after turning it on, it gave me the option to repair problems which are preventing it from starting up, from there I let it to restore the computer to an earlier restore point and after a restart the Windows was working again. After that I decided to do a hard disk check just in case.
    The Hard Disk Self Test ended up with a message: Hard Disk 1 Full (305). Then I installed HP Unified Extensible Firmware Interface (UEFI) Support Environment and did hard disk from there. I chose the comprehensive test from the options, but it finished fairly quickly (in ~1 minute) with the following output:
    Testing Drive: 1
    Hard Disk SMART Check : PASSED
    Hard Disk Short DST : FAILED
    FAILURE ID : PTTU22-5T774L-MFPV4K-60S003
    PRODUCT ID : A5Q15EA#B1R
    Hard Disk 1
    Hard Disk Test : FAILED
    A bit more background:
    The previous owner told me that the original HDD was faulty which is why he replaced it with this one last year. He said that other than that there has been no problems with the laptop. The Windows is working right now and this HDD is quite new so I would not have expected any problems with it, but the results from the previously mentioned tests seem troubling. Is there a reason to worry?
    Thanks
    This question was solved.
    View Solution.

    Hi Alnuir,
    Welcome to the HP Support Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I read your post and looked into the failure ID that you posted regarding the failed Short DST test. That error is indicating a hard disk failure meaning that if it hasn't failed it might soon. If everything is working I would considering backing up your data on a regular basis just to be safe. You could have a local technician take a look at the hard drive to see how close it is to full failure.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Windows App Certification Kit - Test Fails for Validate Desktop App at "Write appropriate Add/Remove Program values"

    Hi,
    I am trying to validate a .Net Framework 4 WinForms application for use in the Microsoft Partner Network portal.
    I am using Windows App Certification Kit 3.4 for Windows 8.1 , and the Validate Desktop App option.
    To build the package I am using InstallShield 2012 SPR Limited Edition (for Visual Studio), and the validation fails
    only with the following error (please also see the attached image):
    Clean reversible install test: Failed to Write appropriate Add/Remove Program values
    Error Found: The registry population test detected the following error: app didn't create the required registry entries.
    A non-optional value 'DisplayName' is missing or invalid (same for 'Publisher', 'ProductVersion')
    Please note that I have filled in all the publisher/product details in the InstallShield project, on the General Information page.
    Also I have tried to use the Microsoft Visual Studio Installer Project for VS2013, and the validation failed with the exact same error.
    (https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d)
    Any help would be very appreciated.
    Thank you.

    You may need to add the necessary info to the app’s Windows Installer package so it can configure Add/Remove Programs in Control Panel correctly. Setting these properties automatically writes the corresponding values into the registry. From the picture,
    you are missing some necessary information about your desktop app.
    Also You need the correct admin permissions to write to the registry.
    Please refer to this thread:
    http://stackoverflow.com/questions/21182856/windows-app-certification-kit-test-result-app-didnt-create-the-require-regist
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hard disk test failed on HP Pavillion dv6-1100eo notebook

    I have a HP Pavilion dv6-1100eo Entertainment Notebook PC  (P/N: NR597EA) with Vista 32-bit.  Unfortunately no warranty left in and general I have been very happy with this notebook.
    However suddenly Wondows would not start up - and it did not even find Startup Recovery partition on the harddisk. As I wasn't sure if this Startup Recovery was on hard disk or not - I ordered System Recovery DVDs for this Scandinavian language version.
    These disks did not work - so I figured I have probably not done my homework before ordering those disks.
    Then I ran system Diagnostics (even if I have a old BIOS version F.03).  On the diagnositics - both Quick and Full Hard disk test failed during the first 1% of the scan.
    Is there anything that can be done - or is the only option new hard disk? In case - what hard disk is recommended that is not too expensive - as I don't want to invest too much into a soon 3 year old notebook.
    I recently bougth an external harddisk (1 TB) based on USB connection. Can that be used bypassing internal HD. In this way I would increase HD capacity and not invest anymore into this notebook - since I already have the recovery DVDs
    It is probably only a time question before I will buy a new HP notebook - that is why I don't want any long permanent fix of this problem.
    This question was solved.
    View Solution.

    Hi,
    Sorry to say, but you won't be able to install or boot Vista from the external HDD, so if you need to get the notebook working, you're going to have to replace the internal drive.
    The drive on the link below is an example of one that would be fine for your notebook.
    500Gb Hard Drive
    The procedure to replace the Hard Drive starts on Page 57 of your Maintenance & Service Guide.
    Once done, simply use your Recovery DVDs to reinstall the Operating System on the new drive.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • WLS 11 Policy migration during EAR deployment

    We are installing an ADF 11g EAR into our development instance of WLS 10.3.1 and are seeing some strange behavior with the ADF policy migration. During the EAR install from either the WLS console, or using WLST scripts, the ear deployment appears to create entries in our domains system-jazn-data.xml file in the .../config/fmwconfig directory. The policies work fine when testing the application. Users in the various application roles see expected security behavior. If we then start and stop a completely different managed server from the console, the entries that were in the system-jazn-data.xml file disappear, but the our application security continues to work as expected. If we then bounce the server our ear is deployed to, the entries show up again in system-jazn-data.xml.
    Can anyone explain this behavior and verify if this is expected?
    Additional Information: We have followed the enterprise deployment guide when setting up our middleware home directory. We have the following directory structure:
    /opt/oracle/admin/snidomain/aserver
    /opt/oracle/admin/snidomain/mserver
    The aserver directory contains the admin server and the mserver directory contains our managed servers. Each directory contains a config/fmwconfig subdirectory each containing a system-jazn-data.xml file. Each also contains a jps-config.xml file that specifies an XML policy provider pointing at "./system-jazn-data.xml". When we install an EAR that utilizes ADF security, the system-jazn-data.xml file in the mserver directory is updated during deployment, but the one in the aserver directory is not. Each recycle of a managed server appears to replace the contents of the system-jazn-data.xml file in the mserver directory.
    Also, when I bring up Fusion Middleware Control and view the roles/policies of the ear, none are displayed in the UI. If I add a role/policy using Fusion Middleware Control, the new role/policy is placed in the system-jazn-data.xml file in the aserver directory, and the contents of the one in the mserver directory is completely replaced with the same contents as the one in the asever directory, overwriting the ones added during the deployment.

    We are installing an ADF 11g EAR into our development instance of WLS 10.3.1 and are seeing some strange behavior with the ADF policy migration. During the EAR install from either the WLS console, or using WLST scripts, the ear deployment appears to create entries in our domains system-jazn-data.xml file in the .../config/fmwconfig directory. The policies work fine when testing the application. Users in the various application roles see expected security behavior. If we then start and stop a completely different managed server from the console, the entries that were in the system-jazn-data.xml file disappear, but the our application security continues to work as expected. If we then bounce the server our ear is deployed to, the entries show up again in system-jazn-data.xml.
    Can anyone explain this behavior and verify if this is expected?
    Additional Information: We have followed the enterprise deployment guide when setting up our middleware home directory. We have the following directory structure:
    /opt/oracle/admin/snidomain/aserver
    /opt/oracle/admin/snidomain/mserver
    The aserver directory contains the admin server and the mserver directory contains our managed servers. Each directory contains a config/fmwconfig subdirectory each containing a system-jazn-data.xml file. Each also contains a jps-config.xml file that specifies an XML policy provider pointing at "./system-jazn-data.xml". When we install an EAR that utilizes ADF security, the system-jazn-data.xml file in the mserver directory is updated during deployment, but the one in the aserver directory is not. Each recycle of a managed server appears to replace the contents of the system-jazn-data.xml file in the mserver directory.
    Also, when I bring up Fusion Middleware Control and view the roles/policies of the ear, none are displayed in the UI. If I add a role/policy using Fusion Middleware Control, the new role/policy is placed in the system-jazn-data.xml file in the aserver directory, and the contents of the one in the mserver directory is completely replaced with the same contents as the one in the asever directory, overwriting the ones added during the deployment.

  • VI Analyzer Front Panel Size and Postion Test fails

    Hi
    We make a lot of use of the VI Analyser and I have been playing with the configuration settings to try and make it only fail the tests that matter to us and I have one test I do not understand correctly.
    From the LabVIEW help
    Panel Size and Position—Checks that a front panel
    completely resides within the bounds of the screen. The test also checks whether
    the front panel is larger than the maximum specified width and height. If you
    are using a multi-monitor system, the test fails if the panel does not reside
    entirely within the bounds of the primary monitor. This test works only on
    standard, control, and global VIs.
    I would like to apply this test, a simple check developers are not creating huge VI, it sounds simple enough, but I cannot seem to get this test to pass.
    I am working with two monitors and this test fails when my VI is on either monitor with the message  "This VI's front panel does not reside entirely within the specified bounds (1280 x 1024)" my current screen resolutionis 1280 x 1024, so I assume as long as my VI front panel fits within one screen it should be a pass.
    I can clearly see my that VI front panel (and block diagram for that matter) fits within the screen of either monitor. If I look at the VI properties of my VI the Window Size is 474 x 513, could anybody please suggest when why this might be failing.
    cheers 
    Dannyt
    Danny Thomson CLAD
    Sub10 Systems Ltd
    Solved!
    Go to Solution.

    Hi Norbert,
    Thanks for the prompt reply, my asking the question and your reply has made me play with this a little deeper and I have managed to solve my problem.
    In case anyone else has a similar problem here are the details.
    When you have two monitors and look at the Windows properites you see one monitor is identified as 1 and the other as 2, thses identities are based on the graphics card and the which monitor is plugged into which ouptput connector. You can then chose which monitor you wish to act as your primary monitor. You would suspect it would not matter once you have selected your primary monitor BUT IT DOES.
    My inital set-up   
    Left Hand Monitor    - idenity 2 selected to be primary monitor
    Right Hand Monitor - identiy 1 
    With this set-up everything looks and acts as I expect it to task bar, icons etc on my primarry monitor.  However if you run the VI Analyser it will fail Panel Size and Position on BOTH the left and right hand monitors.
    I crawlled under my desk and swapped the monitors cables round so now the set-up is
    Left Hand Monitor    - idenity 1 selected to be primary monitor
    Right Hand Monitor - identiy 2
    Now the VI Analysers Panel Size & Position Tests will pass on the left hand monitor but fail on the right hand monitor, just as would expect.
    It appears that LabVIEW is looking not only at the windows "Primary Monitor" setting but also the identies, this does not seem the behaviour I would expect nor the correct behaviour.
    cheers 
    Dannyt
    Danny Thomson CLAD
    Sub10 Systems Ltd

  • How to reference sapjco from EAR deployment descriptors

    Hello techies,
    I´ve set up an EJB to use the JCo RFC Provider Service of the J2EE engine. Connection from R3 to EJB works but as soon as the EJB gets invoked, I get the error 'incompatible bean type - no processFunction found' from the RFCDefaultRequestHandler.invokeBean(..., JCO.Function) method.
    The reason is clear to me - the JCO.Function class is loaded by different class loaders and thus the method parameters don´t match.
    I´ve read in earlier postings that it is neccessary to reference the JCO in the module project and the ear deployment descriptor. That´s where my question begins.
    How do I reference the JCO in the module project (what´s that?)? I think it has to do with the EJB jar, doesn´t it?
    In the DeployTool I found a way how to set a reference to a library in the menu deploy-->libraries. But I am not sure what to specify here. I entered 'sapjco', since I saw an entry in the managers/library.txt file. Is that correct?
    Any hints are welcome!
    Regards,
    Jan

    Jan,
    you can set the reference to the EAR project using the reference.txt file that exists in the /managers folder.
    In the library.txt file set a path which is reference to sapjco.jar files..like
    library JCO sapjco.jar
    in the refernce.txt add the JCO referece to the EAR project...like
    reference Project library:JCO
    where Project here is the name of your EAR file..
    Ravi

  • SQL Developer: Failure -Test failed: IO Error: Got minus one from a read ca

    SQL Developer: Failure -Test failed: IO Error: Got minus one from a read call
    Hi,
    I am sorry I know this is probably most frequently asked question, but I have no idea what I should be searching for.
    I looked up the error above to see if i could find a solution, but unfortunately I did not.
    Right Let me start of with I am a Total Noob.. well it terms of having to install Oracle 11g myself.
    In my University they hosted a database, and assigned us a User & pass thats how I have been using SQL Developer,
    but since I am not longer a university student. I need to use Oracle Database.
    So I downloaded Oracle 11g Enterprise Installed it on my laptop that i don't use much.
    Name the Database: Rudu
    It did all the installation, and seemed to have succeeded, I went on to the https://localhost:1158/em (Though am not sure why em? whats the deal with that? I thought it would be https://localhost:1158/Rudu) anyways....
    Logged in using the System user.
    Went to Users and created a user called: RUDUHR
    Thought yeah its working... went on to my other laptop opened up SQL Developer.
    Created Connection with the following Settings
    Con Name: RK
    User: RUDUHR
    Pass: TEST
    Con Type: Basic
    Role: Default
    Hostname: 192.168.0.8
    Port: 1158
    SID: Rudu
    It don't work though Why is that??????
    192.168.0.8 is laptop that has oracle 11g installed and running.
    I even tried using SYSTEM user to connect, but same error
    also tried changing SID to em, it made no difference I keep getting the error Status: Failure -Test failed: IO Error: Got minus one from a read call
    So ya am clueless... LOL I only know how to create tables and stuff not how to configure a Database.
    and just so you know I did forward the port on me router to correct laptop.

    It don't work though Why is that??????
    192.168.0.8 is laptop that has oracle 11g installed and running.
    It is because you don't read documentation.
    1158 is the default port for Enterprise Manager
    1521 is the default port for Sqlnet.
    Your port number is incorrect.
    Needless to say, you can create your tables in EM too.
    As per the Forums Etiquette post (first link when you get to this page) it is recommended you read documentation before asking Yet Another Doc Question.
    Sybrand Bakker
    Senior Oracle DBA

  • SQL Developer: Failure -Test failed: IO Error: Network Adapter No Conn

    SQL Developer: Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Hi,
    and sorry this is a really common questions and yes I did do a search, but I don't understand it.
    First let me just tell you that Oracle 11g is installed on my second laptop on the same Network.
    Secondly I can connect to the Database using Oracle SQL Developer on the laptop Oracle 11g is installed on.
    The problem is I want to connect to the database on my main Laptop.
    I put in the correct details Hostname 192.168.0.8 ( this is the laptop oracle is installed and running on)
    Port 1521
    SID dbarudu
    ****** YES I HAVE PORT FORWARDED
    ****** YES I HAVE ALLOWED 1521 on the FIREWALL
    ****** YES I HAVE EVEN SWITCHED OFF THE FIREWALL
    Now one more thing you should know ... I don't know nothing about Oracle Servers ok.... so I have just installed Oracle 11g Enterprise and thought done it should be working now.
    I just need to use oracle db for a project.
    So keep in mind I am a total noob and terms like TNSPING etc mean absolutely nothing to me.
    So please help, but help with step by step guide on how to get Oracle to let me have access from another computer.

    If the Listener is working, then you should not get the error SQL-Developer error you are reporting.
    The listener typically runs using the hostname and port 1521. This means it opens tcp port 1521 on all IP addresses of that platform.
    The database server by default will register itself with the local listener. Thus the listener will know the database SID, the database services, whether there are dispatchers to support shared server connections and so on.
    The client side needs simply to specify 3 pieces of data to connect:
    - the IP of the database server
    - the tcp port of the listener
    - a database identifier (such as Oracle SID or service name) to connect to
    It is really that simple.
    If this does not work, the problem falls into 2 broad categories:
    a) incorrect installation and configuration of the Oracle software (the out-of-the-box install works unless messed up)
    b) some kind of networking issue
    To troubleshoot any problem means reducing the complexity of the problem, eliminating multiple moving parts and focusing on specific ones, in order to isolate the problem.
    For your problem, this will go something as follows:
    - does the listener run? (check if the service is running and whether tcp connections are accepted on the listener port - telnet can be used for the latter)
    - does the database successfully registers itself with the listener? (check the services command of the listener and relevant db initialisation parameters)
    - does a local TNS (tcp network) connection work on that server? (use SQL*Plus and test on that platform client-server connectivity via tcp to the listener)
    - does the client platform have connectivity with the server platform? (use ICMP and telnet to test)
    - repeat the TNS test on the client platform using the same working TNS tested on the server platform
    Do not use JDBC to test the connection - keep it simple and use sqlplus and the standard Oracle Call Interface (OCI). A full client version of the OCI plus sqlplus can be downloaded under the Oracle InstantClient downloads.
    Finally - if you expect to simply install and use Oracle, then use the correct version. Oracle Express Edition aka Oracle XE. Installs and works out-of-the-box. The only manual config change to make is (as far as I recall) to run the listener on all IP addresses of that platform. And this required editing the listener.ora file, changing the HOST parameter and restarting the listener.
    Also keep in mind that you have not presented an Oracle error code and Oracle error message. But a client application error message. And that message is pretty much meaningless - it does not point to a specific Oracle networking or Oracle server problem. To diagnose that, we expect a TNS or ORA error number.

  • Trial SAN Certificate & Outlook Anywhere (RPC over HTTP) test fail

    I am testing exchange 2013 where autodiscover pass while performing Outlook Anywhere (RPC over HTTP) connectivity test failed with invalid SSL certifiate . I am only using self certifiate .do any one idea if any CA provding SAN certificate trial basis.
    Don't forget to mark helpful or answer
    connect me :-
    http://in.linkedin.com/in/satya11
    http://facebook.com/satya.1000

    Hi,
    Agree with the above suggestion, ExRCA test cannot pass with self-signed certificate. And to ensure Outlook Anywhere work well , we need to install the self-signed certificate on all clients machines.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

Maybe you are looking for

  • Old Lady trying to learn, Help please!

    Hello from this newbie! At 57 I have returned to college. I really am trying to understand Java. Below is the problem I need to answer, and my code. Can someone please explain what I am doing wrong in plain english, and give suggestions to fix it? I

  • STS: Few Questions about STS ?

    Hi All, Right now, I'm working on STS for IP. I have some questions about it: 1. Every time I execute t-code BPS_STS_START, it launch the STS Web Application with different port and HTTP. The port should be 8444, and HTTP should be HTTPS . I've alrea

  • I accidentally deleted my "Recently Added" playlist. How do I get that back?

    I accidentally deleted my "Recently Added" playlist. How do I get that back., Or make a new one?

  • Ho wto Dynamically Pass Parameters to a Query in Discoverer

    Hi All, I have a Query where I would to like to pass the Parameters Dynamically.In my query I have three selects and two UNION ALL's.In the three selects I have to pass Period & Year Parameters.In Each Select the Period Calculation is Different.Say i

  • When crystal report is going to support 64 native application

    You said in the below article that Crystal Reports 2008 (version 12.1.x) support 64 bit Operating systems, but in a 32 bit mode only. When it going to support in 64 bit mode ( native 64 bits support) http://www.sdn.sap.com/irj/boc/index?rid=/library/