Problems with OC4J EJB deployment and the data-sources.xml file

I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
1/16/02 4:52 PM VerySimple: Servlet error
java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
at com.netexp.beans.BeanHelper.class$(Unknown Source)
at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
I try to update the file using the installdatasource switch thus:
C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
And get the following error:
Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
<<no stack trace available>>
Error adding source: No class specified for jdbc/pool/OracleDataSource
Please advise.
I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
Is there any other file, do I need to bind anything?
I'd appreciate your assistance.
Thank you
Louiza

Hi Louiza,
Show us your web.xml and ejb-jar.xml files as well as your
data-source.xml file.
Thanks,
Avi.

Similar Messages

  • Does JDeveloper deploy the data-sources.xml file?

    Hi,
    My project has a data-sources.xml file. When I deployed the project, JDeveloper created a .war file. The data-sources.xml file is not in the .war file. How will the application server pick up the data source if the xml file is not getting deployed?
    Thanks,
    Merced

    data-sources.xml configures the datasource with the oc4j server.
    A <Application>-data-sources.xml file also gets added for a project to the project directory.

  • I can't text a contact but can voice phone them. I don't have the problem with any other contact and the contact is not blocked. I have an iphone5.0 OS 8.1.3

    I can't text a contact but can voice phone them. I don't have the problem with any other contact and the contact is not blocked. I have an iphone5.0 OS 8.1.3. I used to be able to text them with no problem. The only difference I can think is that this problem may have started since I downloaded the OS I am using now
    cycleluke

    Wasn't responding to you. Please show me links where this helped.
    Apple isn't showing any system problems: https://www.apple.com/support/systemstatus/

  • Any problems with Adobe CS5.5 and the Maverick system?

    Has anyone had any problems with Adobe CS5.5 and the new Maverick OS? I don't want to install if there are issues. Thanks!

    First thing I would suggest is to upgrade your server OS to a newer version if possible. Secondly try removing the apps out of the allowable apps list and instead change it so that you allow the apps that are within the specific application folder, ex: Applications/Adobe Photoshop CS5
    I had similar problems with CS5 apps and by adding the apps by allowable folder instead it corrected my problem. Granted, if you have savvy users, there is the potential to open a can of worms here but it was the only way I could get it to work for "standard" non-admin user types.

  • I'm having problems with videos, they shake and the images break up back and forth into striped colors, how do I fix this?

    I'm having problems with videos, they shake and the images break up back and forth into striped colors, how do I fix this?

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • I am having problems with my macbook pro and the dock.  About every fourth time I start the computer, the dock flashes on and off, then goes completely off and all I get is the spinning ball with brief moments of the cursor.  But the computer locks up.

    I am having problems with my macbook pro and the dock.  About every fourth time I start the computer, the dock flashes on and off, then goes completely off and all I get is the spinning ball with brief moments of the cursor.  But the computer locks up.

    Do you have Parallels installed by any chance?  There is a known problem that causes symptoms similar to this.  You do not need to actually be running Parallels at the time and nothing in ActivityMonitor would point to Parallels.  An update corrects the problem:
    http://kb.parallels.com/111541

  • HT3042 Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me

    Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me

    You have to use airdrop which is on iOS 7

  • Dumping the data to XML file (Event driven )

    Hi ,
    Can anybody help me on this requirement .
    Whenever there is an updation or change in the HR Master data like insertion of new personnel number or deletion of personnel number then I need to dump the data to XML file . That means I need to make it event driven.
    Will it be possible programmatically ?
    Please give me your inputs.
    Best Regards
    Bhagat.

    Hi Bhagat,
    isn't it possible to use change pointers for this?
    Then in partner profile use an XML file port and it should be done!
    Probably this blog could help you:
    <a href="/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm">Collecting IDocs without using BPM</a>, have a look at the part where it explains how to write Idoc as XML.
    Hope it helps,
    Kind Regards,
    Sergio

  • Downloading the data to XML file (Event driven )

    Hi ,
    Whenever there is any change or updation in HR master data i need to download the data to XML file. I have written a program to download the data to XML file but i need to trigger this program only when there is a change in HR master data.
    Could somebody tell me how to go about this. Reward points are assured.
    Best Regards
    Bhagat.

    Hi Bhagat,
    isn't it possible to use change pointers for this?
    Then in partner profile use an XML file port and it should be done!
    Probably this blog could help you:
    <a href="/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm">Collecting IDocs without using BPM</a>, have a look at the part where it explains how to write Idoc as XML.
    Hope it helps,
    Kind Regards,
    Sergio

  • Different data-sources.xml files for each build

    Any thoughts on how to do this:
    I have two sets of data-sources. When I deploy the EAR to my stage box, I need to go to the "stage" data source of the other repositories. When I deploy the EAR to my production box, I need to use the production data sources for the other repositories
    I am using jdev 10.1.3
    There is a single data-sources.xml file - where, currently, I am manually editing the connection strings between deployments.
    I am using ant to build the EAR file.
    What is a more elegant way to do this?

    Use ANT script to build the EAR file.
    Have 2 different data-sources file one for production and one for stage.
    Based on the environment you want to deploy tell ANT to copy those files into the EAR.
    Just a suggestion.

  • Problem with call to BAPI when the data contains spaces

    Hi everyone,
    I've a table in R3 that has 2 fields which is consulted via BAPI from XI. The Bapi call run correctly while the data don't contain spaces preffixed but when for example the data is ' A31' the BAPI call doesn't return nothing.
    The table structure is:
    CODE             DESCRIPTION
    values:
    ' A31'               'Desc A'
    'A30'                'Desc B'
    When I call the bapi with A30 value the Bapi return me Desc B, but when I try it with the value ' A31' the Bapi doesn't return any value.
    Could anyone help me?
    Thanks in advance

    >>The problem isn't the trim, because the bapi call must contain the spaces.
    Are you able to get expected results while testing the BAPI with data containing spaces?
    I have seen some cases where you get correct results when you test the RFC in SE 37, but the same data when passed from XI does not get the desired results. It was coz. when testing the RFC in R/3 some user exits are called and the data fets populated in the correct way. Check this.
    Regards,
    Jaishankar

  • How to read the data from XML file and insert into oracle DB

    Hi All,
    I have below require ment.
    I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
    Many Thanks.

    Sounds a lot like this question, only with less details.
    how to read data from XML  variable and insert into table variable
    We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us.  Plenty of examples abound on the forums that cover the topics you seek as well.

  • I have an issue with my 3G connection: my iphone can't connect anymore to the data network even though I have a contract with unlimited internet access and the date/3G is turned ON. Anyone knows this problem ?

    Hi guys,
    This problem showed up a few days ago. Even though I have turned on the 3G and the cellular data, my phone tells me there is actually no connection. But the network indicators shows a maximum network. I went to the genius bar and they fixed it by restoring the phone and it started working again. Then I restored it at home with my back up. Today, it started again: network issue. And the problem does not come from the network (I have tried my sim on another iphone with the same carrier). It really does come from the device.
    Any ideas ?
    Many thanks

    Hello
    According to iTunes: About iOS backups http://support.apple.com/kb/HT4946
    Yes it saves,
    "App Store Application data including in-app purchases (except the Application itself, its tmp and Caches folder).
    Application settings, preferences, and data, including documents."
    Cheers,
    Lima

  • Problems with OC4J Web services and Flex SOAPEncoder

    Hello!
    I got a problem trying to execute a web service running in
    Oracle OC4j 10.1.3.3, and a client side with Flex3. I generated the
    scripts for using the web service using Flex builder 3, but it's
    not making a valid call to web service. I debugged the call
    operation to the Flex SOAPEncoder which seems to generate an
    invalid soap message. The SOAPEncoder generates the following
    message;
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <tns:getDocuments xmlns:tns="
    http://modultek.atonpdm.document/">
    <tns:getDocuments>
    <tns:String_1>service manual</tns:String_1>
    </tns:getDocuments>
    </tns:getDocuments>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Where the correct working soap message should be;
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <tns:getDocuments xmlns:tns="
    http://modultek.atonpdm.document/">
    <tns:String_1>service manaual</tns:String_1>
    </tns:getDocuments>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Problem in the first message is that Flex SOAPEncoder
    generates an extra <tns:getDocuments> child tag, and Oracle
    app server can't handle it.
    Has someone any idea why SOAPEncoder is generating the extra
    operation tag, and is this behaviour configurable somehow or is the
    soapencoder broken?
    The wsdl is included in the following;
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap12="
    http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:mime="
    http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="
    http://modultek.atonpdm.document/"
    name="DocumentOperationsService" targetNamespace="
    http://modultek.atonpdm.document/">
    - <types>
    - <schema xmlns="
    http://www.w3.org/2001/XMLSchema"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="
    http://schemas.xmlsoap.org/soap/encoding/"
    targetNamespace="
    http://modultek.atonpdm.document/"
    elementFormDefault="qualified">
    - <complexType name="SimpleDocumentDM">
    - <sequence>
    <element name="docGroupDesc" type="string"
    nillable="true" />
    <element name="docRev" type="string" nillable="true"
    />
    <element name="docId" type="string" nillable="true" />
    <element name="docGroup" type="string" nillable="true"
    />
    <element name="docDesc1" type="string" nillable="true"
    />
    <element name="docDesc2" type="string" nillable="true"
    />
    <element name="docCode" type="string" nillable="true"
    />
    <element name="docDesc3" type="string" nillable="true"
    />
    <element name="docDesc4" type="string" nillable="true"
    />
    </sequence>
    </complexType>
    <element name="getDocuments" type="tns:getDocuments"
    />
    - <complexType name="getDocuments">
    - <sequence>
    <element name="String_1" type="string" nillable="true"
    />
    </sequence>
    </complexType>
    <element name="getDocumentsResponse"
    type="tns:getDocumentsResponse" />
    - <complexType name="getDocumentsResponse">
    - <sequence>
    <element name="return"
    type="tns:CollectionOfSimpleDocumentDM" nillable="true" />
    </sequence>
    </complexType>
    - <complexType name="CollectionOfSimpleDocumentDM">
    - <sequence>
    <element name="item" type="tns:SimpleDocumentDM"
    minOccurs="0" maxOccurs="unbounded" />
    </sequence>
    </complexType>
    <element name="getSimpleDocumentInformation"
    type="tns:getSimpleDocumentInformation" />
    - <complexType name="getSimpleDocumentInformation">
    - <sequence>
    <element name="String_1" type="string" nillable="true"
    />
    </sequence>
    </complexType>
    <element name="getSimpleDocumentInformationResponse"
    type="tns:getSimpleDocumentInformationResponse" />
    - <complexType
    name="getSimpleDocumentInformationResponse">
    - <sequence>
    <element name="return" type="tns:SimpleDocumentDM"
    nillable="true" />
    </sequence>
    </complexType>
    </schema>
    </types>
    - <message name="DocumentOperations_getDocuments">
    <part name="parameters" element="tns:getDocuments" />
    </message>
    - <message
    name="DocumentOperations_getDocumentsResponse">
    <part name="parameters"
    element="tns:getDocumentsResponse" />
    </message>
    - <message
    name="DocumentOperations_getSimpleDocumentInformation">
    <part name="parameters"
    element="tns:getSimpleDocumentInformation" />
    </message>
    - <message
    name="DocumentOperations_getSimpleDocumentInformationResponse">
    <part name="parameters"
    element="tns:getSimpleDocumentInformationResponse" />
    </message>
    - <portType name="DocumentOperations">
    - <operation name="getDocuments">
    <input message="tns:DocumentOperations_getDocuments"
    />
    <output
    message="tns:DocumentOperations_getDocumentsResponse" />
    </operation>
    - <operation name="getSimpleDocumentInformation">
    <input
    message="tns:DocumentOperations_getSimpleDocumentInformation" />
    <output
    message="tns:DocumentOperations_getSimpleDocumentInformationResponse"
    />
    </operation>
    </portType>
    - <binding name="DocumentOperationsSoapHttp"
    type="tns:DocumentOperations">
    <soap:binding style="document" transport="
    http://schemas.xmlsoap.org/soap/http"
    />
    - <operation name="getDocuments">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getSimpleDocumentInformation">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="DocumentOperationsService">
    - <port name="DocumentOperationsBean"
    binding="tns:DocumentOperationsSoapHttp">
    <soap:address location="
    http://procyon:8888/atonpdm/DocumentOperationsBean"
    />
    </port>
    </service>
    </definitions>
    Best regards, Janne

    I am having the exact same problem. The SOAPEncoder is adding
    an additional tag and the server thinks the envelope is not
    properly formatted and therefore does not know what to do with it.
    Is there any fix for this yet? Or has it even been reported as a
    bug?

  • Problems with Importing / Exporting Keywords and Meta Datas

    Hi to all!
    I recently upgraded to Aperture 3 and upgraded my referenced library.
    Today I opened the Keyword HUD and noticed some keywords splattered in my list, which seem to be any older ones, since the new numbering indicated that they are not applied to any pictures.
    So I deleted them.
    Than I noticed the <Imported Keywords> folder, opened it, and it contained also a large number of previous keywords. Also they seemed not to be in use, so I also removed them.
    Than I locked the Keyword HUD.
    Now my question: If I export a version, with the option for 'include metadata' ticked, and edit the version than in Photoshop, and after it, import it back into the Aperture library I do have the problem.
    I have tried 'Import Meta Datas' and and click 'Append'. Than it is recognizing the former keywords, which I would appreciate, but not as 'Imported Keywords'.
    If I would open the file w/ the External Editor and return it back, I guess I would not have this problem. Usually I do open the referenced RAW file, and import than the edited version back into Aperture. Keywords are stored in the Library, so I would not avail the former given keywords than, is that right?
    By the way are the keywords part of Meta Datas or not?
    Are there any workarounds?
    And had other people also problems with their keyword list after upgrading?
    Thank for any ideas / infos!
    Michael

    Added header to CSV and to Code
    $ImportFile = Import-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv" -Header Computer
    foreach ($Computer in $ImportFile){
    $path = "\\$Computer\c$\Epic\bin\7.9.2\Epic Print Service"
    $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullService//Cleanup | Select -ExpandProperty Node
    if ($xml.ArchiveHours -eq '12' -and $xml.DeleteHours -eq '120') {
    $Compliance = $True
    }Else{
    $Compliance = $False
    } "$Computer","$Compliance" | Export-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Results.csv"
    Results:
    select-xml : Cannot find path '\\@{Computer=SW1412-16985}\c$\Epic\bin\7.9.2\Epic Print Service\EpicPullService.config.xml' because it does not exist.
    At C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Check_PullServiceXML.ps1:4 char:8
    + $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (\\@{Computer=SW...vice.config.xml:String) [Select-Xml], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SelectXmlCommand
    If it is not a CSV file then just get it with Get-Content
    Get-Content C:\Users\UserName\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv |
        ForEach-Object{
            $computer=$_
            $path ="\\$computer\c$\Epic\bin\7.9.2\Epic Print Service\\EpicPullService.config.xml"
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Exposed IP Address

    We recently migrated from Windows Server 2003 to 2008 R2.  We have a 2 server clustered configuration in our production (PRD) and our acceptance testing (SAT) environments.  Our PRD environment is exposing the internal server name randomly.  This is

  • Is 9.1 generally safe to install?

    I had a bad experience with an iTunes upgrade a while back and I'm always worried about updates now. Anyone losing access to songs or anything?

  • How to set the timescape module back on home screen using ADWlauncher

    I'm using the ADW launcher replacement and with the new update there is no way to place the working widget with tiles on the homescreen again. There isn't a widget available either in the widget listing. How can I solve this so I have this common wid

  • Module Pool Programming - F1 help

    hi how to add field help(i.e f1 help) to the custom fields added to the standard transaction as well as to the standard fields in the standard transaction

  • Image quality / compression on 3G data connections

    Hi, Does anyone know a work-around to the image compression problem that happens when using 3G modems to access the Internet? On Firefox you can hit SHIFT+A to send a request to reload all images on a webpage and this request bypasses the ISP's compr