How to refer to J2EE library server component from a web service?

Hi,
I need help!  I created a web service and it worked fine.  However, I started having problems when I tried to use java classes from my deployable J2EE library server component.  I got the NoClassDefFound error.
I tried to include the library DC in the Used DC list and put the reference of it in the web service deployment descriptor xml (application.xml and application-j2ee-engine.xml), but it did not work.
How do I refer and use java classes from my deployable J2EE library at run time from my web service application?  What should I do?
Thanks,
Giavinh Pham

I would like to clarify more about the web service project.  I created a Java DC project and converted it into a web service as the SAP manual instructions.  It worked fine by itself, but I now want to use some of my classes that I deployed as a J2EE library server component. 
It was compiled and built when I refer to my J2EE library server component DC in the UsedDC.  It was deployed fine as well.  However, it broke when I tested the web service calls.  The class declarations and usage from the J2EE server component could not be found (NoClassDefFound error.) 
I thought it was because I did not have an application-j2ee-engine.xml in my META-INF folder so I created one and referred to the library in xml as type library and reference 'strong'.  I built and deployed again.  It still did not work. 
I examined the EAR and noticed that there were two parts of the EAR.  One is the WSAR archive file that contains the META-INF folder from my project and other web service assemblies.  The other part is the META-INF folder generated by the SAP NetWeaver IDE. 
The strange thing was that SAP NetWeaver IDE generated an application-j2ee-engine.xml without any reference to my J2EE library server component.  However, the nested application-j2ee-engine.xml in the WSAR archive file did contain the info. 
Since I cannot control the application-j2ee-engine.xml generated by SAP NetWeaver IDE, what should I do?  Is it the cause for my problem?
Please advice, anyone?
Giavinh

Similar Messages

  • How do I use Adobe Media Server 5 on Amazon Web Services?

    Adobe Media Server 5 on Amazon Web Services was suggested to my project manager as a way to deal with some of the video we have to host at work, but after signing up and poking around, I'm wondering: how do you actually use it? Is it something that requires the Media Server software, or is there a web interface through AWS? I follow the links, and they tell me it's already active for my account - but I still see no way to use it.
    Thanks in advance for help on this seemingly remedial question!

    Hi,
    Please have a look at the document and let me know if it helps you get started: http://help.adobe.com/en_US/adobemediaserver/amazonec2/adobemediaserve r_5.0_amazonec2.pdf
    Thanks,
    Apurva

  • How do I transfer iTunes library (music only) from PowerMac G4 FW800 to new iPad 4?

    How do I transfer iTunes library (music only) from PowerMac G4 FW800 to new iPad 4?

    You need to use a combination of iTunes Match and these instructions.
    (85506)

  • HT1473 how can i get my library to copy from my i-pod shuffle to my computers i-tunes library?

    How do you get a library to copy from an i-pod shuffle to the i-tune library on the computer?

    If you have not done so, you may want to restart your computer.
    That message (about the song file not found) means iTunes cannot locate the song file where it expects to find it.  Are you sure you can still play the song in iTunes (?), because you may get a yellow exclamation point next to the song, meaning the same thing; iTunes did not find the song file where iTunes expected to find it. 
    The consolidate command would not help if iTunes can't locate the files.
    That might mean they were moved or deleted.  If you do a Get Info (from right-click) on one of those songs, the Info window should tell you the expected location of the song file, on the Summary tab next to Where.  Follow that path (using Windows) to see if the song file is there.

  • How could I create a "Linked Server" link from SQL Server 2008R2 64-Bit to Oracle Database 11.2 64-Bit?

    How could I create a "Linked Server" link from SQL Server 2008R2 64-Bit to Oracle Database 11.2 64-Bit?
    Let's say the SQL Server and Oracle Database are in the same Company Internet Network.
    I have the code, but I do not know how to use it. Such as what is System DSN Name? Where could I get it. What does it look like?
    Do I need to install any Oracle Client Software in order to link from SQL Server to Oracle? Or SQL Server has the built-in drivers installed already that I can directly create a Linked Server from SQL Server to Oracle?
    I need to know details. Thanks.
    USE master
    go
    EXEC sp_addlinkedserver
         @server  = '{Linked Server Name}'
        ,@srvproduct = '{System DSN Name}'
        ,@provider  = 'MSDASQL'
        ,@datasrc  = '{System DSN Name}'
    EXEC sp_addlinkedsrvlogin
         @rmtsrvname = '{Linked Server Name}'
        ,@useself  = 'False'
        ,@locallogin = NULL
        ,@rmtuser  = '{Oracle User Name}'
        ,@rmtpassword = '{Oracle User Password}'

    You need an OLE DB provider for Oracle. There is one that ships with Windows, but it only supports very old versions of Oracle. Oracle has an OLE DB provider that you can use. I don't know if it's part of Oracle Client or how it is bundled.
    You should not use MSDASQL or any DSN.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to Serve HTML from a Proxy Service?

    I am trying to serve HTML from a proxy service.
    I set up a Messaging Service with request type = 'None' and response type = 'Text'; with Endpoint URL = '/OSB_Project/Proxy_Services/InfoPingerProxyService.html'.
    In my incoming request pipeline I set an html Transport Header action to define Content-Type = 'text/html'.
    In the response pipeline I replace the body with the html document contents...
    Trouble is, when I access the proxy (via a standard browser GET), I always produce an XML file with an <?xml...?> processing instruction:
    <?xml version="1.0" encoding="UTF-8"?>
    <html>
    Also: the browser always sees an XML response regardless, it seems.
    Any suggestions gratefully accepted.
    Cheers,
    Alph

    More on this.
    I made an "educated guess' that the path should be
    {code}./ctx:transport/ctx:response/tp:headers/http:Content-Type{code}
    But take a look at the following, you will see that the content type IS now text/html, but the XML processing instruction is still there...
    {code}
    :\BIN\wget-1.11.4-1-bin\bin>wget -d http://localhost:7001/Test_Project/ProxySe
    rvice1?q=1
    SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
    syswgetrc = C:\BIN\wget-1.11.4-1-bin/etc/wgetrc
    DEBUG output created by Wget 1.11.4 on Windows-MinGW.
    --2010-09-15 15:33:17-- http://localhost:7001/Test_Project/ProxyService1?q=1
    Resolving localhost... seconds 0.00, 127.0.0.1
    Caching localhost => 127.0.0.1
    Connecting to localhost|127.0.0.1|:7001... seconds 0.00, connected.
    Created socket 268.
    Releasing 0x0063a620 (new refcount 1).
    ---request begin---
    GET /Test_Project/ProxyService1?q=1 HTTP/1.0
    User-Agent: Wget/1.11.4
    Accept: */*
    Host: localhost:7001
    Connection: Keep-Alive
    ---request end---
    HTTP request sent, awaiting response...
    ---response begin---
    HTTP/1.1 200 OK
    Connection: Keep-Alive
    Date: Wed, 15 Sep 2010 05:33:17 GMT
    Content-Length: 61
    Content-Type: text/html; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    ---response end---
    200 OK
    Registered socket 268 for persistent reuse.
    Length: 61 [text/html]
    Saving to: `ProxyService1@q=1'
    100%[=====================================> ] 61 --.-K/s in 0s
    2010-09-15 15:33:17 (1.23 MB/s) - `ProxyService1@q=1' saved [61/61]
    C:\BIN\wget-1.11.4-1-bin\bin>type "ProxyService1@q=1"
    <?xml version="1.0" encoding="UTF-8"?>
    <server>8088</server>
    C:\BIN\wget-1.11.4-1-bin\bin>
    {code}
    (I know that the actual CONTENT [ie "<server>8088</server"] is not really HTML at the moment...this is just intermediate testing content...)
    Back to the issue of how to get rid of that processing instruction...
    The proxy service is configured as a messaging service with request = none and response = text.
    Cheers,
    Alph

  • Get_xplan_msc, How Do I call this method??? , xml, web service, wsdl,dataProvider="{myServiceXML.lastResult.DataSet}"

    Result:
    <wsdl:definitions targetNamespace="
    http://tempuri.org/" xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tm="
    http://microsoft.com/wsdl/mime/textMatching/"
    xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:mime="
    http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="
    http://tempuri.org/" xmlns:s="
    http://www.w3.org/2001/XMLSchema"
    xmlns:soap12="
    http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="
    http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified"
    targetNamespace="
    http://tempuri.org/">
    <s:element name="Get_xplan_tpu">
    <s:complexType/>
    </s:element>
    <s:element name="Get_xplan_tpuResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1"
    name="Get_xplan_tpuResult">
    <s:complexType>
    <s:sequence>
    <s:element ref="s:schema"/>
    <s:any/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="Get_xplan_msc">
    <s:complexType/>
    etc....
    <?xml version="1.0" encoding="utf-8" ?>
    - <DataSet xmlns="
    http://tempuri.org/">
    + <xs:schema id="NewDataSet" xmlns="" xmlns:xs="
    http://www.w3.org/2001/XMLSchema"
    xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="NewDataSet" msdata:IsDataSet="true"
    msdata:UseCurrentLocale="true">
    - <xs:complexType>
    - <xs:choice minOccurs="0" maxOccurs="unbounded">
    - <xs:element name="xplan_MSC_Planning">
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="MSC" type="xs:string" minOccurs="0"
    />
    <xs:element name="Date" type="xs:dateTime" minOccurs="0"
    />
    <xs:element name="Traffic" type="xs:decimal"
    minOccurs="0" />
    <xs:element name="Radios" type="xs:int" minOccurs="0"
    />
    <xs:element name="InstalledCapacity" type="xs:int"
    minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    - <diffgr:diffgram
    xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
    xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <NewDataSet xmlns="">
    - <xplan_MSC_Planning diffgr:id="xplan_MSC_Planning1"
    msdata:rowOrder="0">
    <MSC>NYGMSC01</MSC>
    <Date>2007-06-24T00:00:00-07:00</Date>
    <Traffic>12730.8400</Traffic>
    <Radios>676</Radios>
    <InstalledCapacity>12342</InstalledCapacity>
    </xplan_MSC_Planning>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundColor="#f6f6f6"
    backgroundGradientColors="[#f6f6f6, #bbbbbb]"
    creationComplete="myServiceXML.send()">
    <!-- Script -->
    <!-- Our result handler functions get any value returned
    from the server -->
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    // you import the event classes for strong typing
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    public function handleResultXML(event:ResultEvent):void {
    // the result object is your xml root
    lastResultValue.text = "Result:\n" + event.result;
    // you get the row nodes of your result object
    http://localhost:1343/***/DataService.asmx?op=Get_xplan_msc
    // the data of the dataprovider populates the component
    http://www.flexcapacitor.com/examples/php/datagrid_xml.php
    myDataGrid.dataProvider = event.result.row;
    // this function is called when you get an error from the
    server
    http://localhost:1343/***/DataService.asmx?wsdl
    public function handleFault(event:FaultEvent):void {
    lastResultValue.text = "Fault: " + event.fault.faultDetail;
    //trace(myServiceXML.toXMLString());
    // var myService:XML = XML(event.result);
    //trace(myService.toXMLString());
    ]]>
    </mx:Script>
    <!-- Data Communications -->
    <!-- The url is the page you post to -->
    <!-- In the request object you add your name and value
    pairs -->
    <!-- The curly brackets surrounding "username.text" get
    the value of username.text -->
    <!-- Note: The curly brackets are also used for
    databinding where supported -->
    <!-- Note: We set the resultFormat to E4X to
    automatically convert your return string to an XML object with E4X
    support -->
    <mx:HTTPService id="myServiceXML" url="
    http://localhost:1343/***/DataService.asmx?wsdl"
    method="POST" result="handleResultXML(event)"
    fault="handleFault(event)"
    useProxy="false" resultFormat="e4x">
    </mx:HTTPService>
    <!-- Layout -->
    <mx:Label x="10" y="10" text="Populate DataGrid with XML"
    fontSize="20" fontWeight="bold"/>
    <mx:HRule x="10" y="49" width="80%"/>
    <mx:Button id="submit0" x="10" y="73" label="Get XML"
    click="myServiceXML.send()"/>
    <mx:Label x="10" y="228" text="Result"/>
    <mx:DataGrid id="myDataGrid" x="10" y="114" width="611"
    height="106" dataProvider="{myServiceXML.lastResult.DataSet}">
    <mx:columns>
    <mx:DataGridColumn headerText="xplan_MSC_Planning"
    dataField="Traffic"/>
    <mx:DataGridColumn headerText="MSC" dataField="MSC"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:TextArea x="10" y="244" width="611" height="400"
    id="lastResultValue"/>
    </mx:Application>

    I haven't been able to see the results from my web service.
    I'm seeing this error.
    It might be an internal security issue...I'm not sure
    why...any help is greatly
    appreciated.
    David
    - <s:element name="Get_xplan_msc">
    <s:complexType />
    </s:element>
    - <s:element name="Get_xplan_mscResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1"
    name="Get_xplan_mscResult">
    - <s:complexType>
    - <s:sequence>
    <s:element ref="s:schema" />
    <s:any />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    [WSDLError faultString="Element
    http://tempuri.org/:Get_xplan_mscResponse
    not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::parseMessage()
    at mx.rpc.soap::WSDLOperation/parseMessages()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()
    at mx.rpc.soap::WebService/::unEnqueueCalls()
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc.soap::WSDLParser/dispatchEvent()
    at mx.rpc.soap::WSDLParser/::parseCompleted()
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at ::DirectHTTPMessageResponder/completeHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundColor="#f6f6f6"
    backgroundGradientColors="[#f6f6f6, #bbbbbb]"
    creationComplete="getXplan_MSC()">
    <!-- Script -->
    <!-- Our result handler functions get any value returned
    from the server -->
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    // you import the event classes for strong typing
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.managers.CursorManager;
    import mx.controls.Alert;
    default xml namespace = "
    http://localhost:1343";
    //necessary to access the xml elements easily
    [Bindable]private var _xmlResult:XML; //holds the result xml
    [Bindable]private var _xlDayData:XMLList; //dataProvider for
    the day weather dataGrid
    [Bindable]private var _sPlace:String;
    /** invokes the web service operation to get the weather */
    private function getXplan_MSC():void
    CursorManager.setBusyCursor();
    WS.Get_xplan_msc.send();
    //lastResultValue.text = "Result:\n" +
    event.result.Get_xplan_msc;
    /** called by the WebService result event. Sets the
    dataProviders as necessary */
    private function onResult(oEvent:ResultEvent):void
    _xmlResult = XML(oEvent.result);
    //var xmlResultNode:XML = _xmlResult.Get_xplan_mscResult[0];
    // var xmlDetailsNode:XML = xmlResultNode.Details[0];
    //outputInfo.text = xmlDetailsNode.toXMLString();
    //outputInfo.text = _xlDayData.text();
    // outputInfo.text = _xmlResult.toXMLString();
    // outputInfo.text = xmlResultNode.MSC.text();// + ", " +
    xmlResultNode.StateCode.text();
    // _xlDayData =
    xmlDetailsNode.toXMLString();//Get_xplan_mscResult[0];
    outputInfo.text = _xmlResult.text();
    CursorManager.removeBusyCursor();
    }//onResult
    /** labelFunction for DataGrid. It seems that the namespace
    on the xml makes
    * using the DataGridColumn dataField not work. At least I
    couldn't get it to work. */
    public function handleResultXML(event:ResultEvent):void {
    // the result object is your xml root
    lastResultValue.text = "Result:\n" +
    event.result.Get_xplan_msc;
    // you get the row nodes of your result object
    http://localhost:1343/***/DataService.asmx?op=Get_xplan_msc
    // the data of the dataprovider populates the component
    http://www.flexcapacitor.com/examples/php/datagrid_xml.php
    //myDataGrid.dataProvider = event.result.row[0];
    // this function is called when you get an error from the
    server
    http://localhost:1343/***/DataService.asmx?wsdl
    public function handleFault(event:FaultEvent):void {
    lastResultValue.text = "Fault: " + event.fault.faultDetail;
    lastResultValue.text = "Fault: " + event.fault.faultDetail;
    //trace(myServiceXML.toXMLString());
    // var myService:XML = XML(event.result);
    //trace(myService.toXMLString());
    ]]>
    </mx:Script>
    <!-- Data Communications -->
    <!-- The url is the page you post to -->
    <!-- In the request object you add your name and value
    pairs -->
    <!-- The curly brackets surrounding "username.text" get
    the value of username.text -->
    <!-- Note: The curly brackets are also used for
    databinding where supported -->
    <mx:WebService id="WS" wsdl="
    http://localhost:1343/***/DataService.asmx?wsdl">
    <mx:operation name="Get_xplan_msc" resultFormat="e4x"
    />
    </mx:WebService>
    <!-- Layout -->
    <mx:Label x="10" y="10" text="Populate Chart with XML"
    fontSize="20" fontWeight="bold"/>
    <mx:HRule x="10" y="49" width="80%"/>
    <mx:Button id="submit0" x="139" y="199" label="Get XML"
    click="getXplan_MSC()"/>
    <mx:Label x="10" y="228" text="Result"/>
    <mx:TextArea x="10" y="244" width="333" height="400"
    id="lastResultValue"/>
    <mx:TextArea x="377" width="354" height="400"
    id="outputInfo" y="244"/>
    <!--
    <mx:ColumnChart x="243" y="80" id="columnchart1"
    width="293" height="115" dataProvider="">
    <mx:series>
    <mx:ColumnSeries displayName="Date" yField="Date"/>
    <mx:ColumnSeries displayName="MSC" yField="MSC"/>
    <mx:ColumnSeries displayName="Traffic"
    yField="Traffic"/>
    <mx:ColumnSeries displayName="Radios"
    yField="Radios"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{columnchart1}" x="108"
    y="100"/>
    -->
    </mx:Application>

  • How to retrieve data from a web service

    Hi
    i am at very beginner level about web services.
    I am searching for a simple example of retrieving data from a web services, but cant find.
    How can i get xml data from a web service. i dont need to develop the web service it is already ready, i just need how could i fetch data from it.
    Can somebody point out or give an example?
    Thanks in advance

    Hi,
    just create a skeleton for the Web Service. In JDeveloper, create a new project and then use the "NEW" context menu option.
    Navigate to "Business Tier" --> Web Services and select "Web Service Proxy"
    In teh following, provide the WSDL reference to create the Java proxy. This gives you accss to the WS without having to parse the XML yourself
    Frank

  • How to create XML data source/ and load data from a web service to BI

    All,
    I m trying to find a 'how to' document (or any document) that shows how to create an XML data source to load data directly from a web service or from an XML file.
    I appreciate any help.

    Hi Mike,
    Two more for you:----
    /thread/111488 [original link is broken]
    http://help.sap.com/saphelp_nw70/helpdata/en/e6/1dd53bb90cbb1ae10000000a11402f/content.htm
    Regards,
    Suman

  • No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB

    hi ,
    i am just using EJb in my Application
    just created an SessionBean and with Local interface in it i am getting this wierd exception with weblogic NetBeans and eclipse also
    weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB
    weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB
        at weblogic.ejb.container.compliance.SessionBeanClassChecker.checkInterfacesExist(SessionBeanClassChecker.java:177)
        at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.checkInterfacesExist(Ejb30SessionBeanClassChecker.java:27)
        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:597)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:331)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280)
        at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789)
        at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222)
        at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461)
        at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:428)
        at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:437)
        at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:795)
        at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:683)
        at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1254)
        at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:321)
        at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280)
        at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789)
        at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222)
        at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461)
        Truncated. see log file for complete stacktrace
    >

    Hi Rajendar,
    I think the problem with having empty interfaces, or interfaces without methods for EJBs, is that they don't really make  "sense". After deploying your EJB, a client application will use JNDI or dependency injection to access your EJB.  So in your case it will look something like this
    @EJB
        mytestSSBLocal myejb; //(In this case we are using the local interface)
    In the second step, you will want to do something will your EJB, but since mytestSSBLocal doesn't define any methods, there is nothing you can do with your ejb.
    The Exception is telling you that weblogic couldn't find a complaint interface for your EJB.
    best regards, Nicolas

  • How to access HTTP Header from within Web service?

    Hello,
    Is there a way to access HTTP header variables like CONTENT_TYPE, CONTENT_LENGTH from within Web Logic web service.
    I was able to get the HTTP header variable from within Apache AXIS services by calling context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST
    How can i do this from weblogic web service.
    I need this to verify the client SSL_CLIENT_DN
    In access I can get the header as follows.
    HttpServletRequest req = (HttpServletRequest) context
              .getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
    clientID = req.getHeader("SSL_CLIENT_S_DN_Email");
    Thanks
    --Arun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • HTTP connection from OSB web service to external system via a Proxy Server

    Dear experts,
    May I know has anyone tried to use HTTP protocol to send a request from OSB web service to external system via a proxy server? Heard that we need to establish some sort of tunnel (socket) to talk to Proxy Server. Can you please any have sample code or configuration steps to share?
    Thank you very much!!

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/global_resources.html#wp1137294
    Adding Proxy Servers
    Use the Summary of Proxy Servers page to add and configure Proxy Server resources and make them available in Oracle Service Bus as a system resource. You must be in an active session to configure or reconfigure Proxy Server resources.
    1. If you have not already done so, click Create to create a new session or click Edit to enter an existing session. See Using the Change Center.
    2. Select System Administration > Proxy Servers.
    3. Click Add.
    4. In the Name field, enter a name for the Proxy Server resource. This is a required field.
    5. In the Description field, enter a short description for the Proxy Server resource.
    6. In the Host-Port Parameters section, enter the following information:
    1. In the Server Host field, enter the host name or IP address of the Proxy Server. This is a required field.
    The Server Host name for the Oracle Service Bus proxy server must be identical to the server host name of the actual proxy server.
    2. In the Clear Text Port field, enter the Proxy Server clear-text port number.
    3. In the SSL Port field, enter the Proxy Server SSL port number. You must enter either a clear text or SSL port number.
    4. Click Add.
    You can configure multiple Proxy Servers for each Proxy Server resource. This enables Oracle Service Bus to perform load balancing and offer fault tolerance features for the Proxy Server resource.
    7. If the Proxy Server performs proxy authentication, enter a user name in the User Name field, and the associated password in the Password and Confirm Password fields.
    These fields are optional, and required only if the Proxy Server is secured.
    8. Click Save to create and save the Proxy Server resource in the current session.
    9. To end the session and deploy the configuration to the run time, click Activate under Change Center.

  • How to delete a J2EE library from the WAS?

    Hello,
    I have uploaded a J2EE library to the WAS, it can be found at the Admin tool under: Server->Libraries.
    Suppose I don't need these library anymore and I would like to delete it. How do I do it?

    Hi Roy,
    It depends on which server you are asking for, for Netweaver 2004 and 2004s the easiest way to deploy\undeploy components would be via the SDM UI - launch it from \usr\sap\<sid>\<id>\SDM\program\RemoteGui .
    There from the undeployment tab you should see your library, then click the select button, start undeployment and follow the instructions.
    You may check the SDM documentation as well - it should be in a doc directory
    HTH
    Peter

  • How to use own J2EE library withon WAR/EAR?

    Hi,
    I've written a servlet within a WAR that uses for example JCo-Conenction. For that. I've added com.sap.mw.jco as "Used DC" in the WAR-Metadata. Additionally, I've added the DC in the EARs application-j2ee-engine.xml
    <reference reference-type="hard">
      <reference-target provider-name="sap.com"
         target-type="library">com.sap.mw.jco</reference-target>
    </reference>
    Everything is fine so far. But now, I want to use a self-created J2EE-Library DC that is deployed on the server.
    I've added it to the WARs "Used DC"s as well and added it to the EARs application-j2ee-engine.xml. But the servlet is not loaded during deploy. It fails with the error "NoClassDefFound: <class i have in my J2EE-Library project>"
    is there anything more to do for self-created J2EE-Libs?
    kr, achim

    Marc,
    I've solved it already. I've added indeed the wrong DC ("libs/servicelibs" instead of "libs/servicelibs_j2ee"). Well, bad naming conventions, it was late and I have the flu...
    Anyway, thanks for supporting me, that all what I did was correct
    kr, achim

  • How can we disable the a ias-component from backend

    Hi,
    can any one tell how to disable the ias-component from backend? I don't want some components to start during the start of OPMN processes. My OEM page is not accessible to disable the start of the components.
    Thanks and Regards,
    Vijay.

    The preferred way of disabling things is using ASC (application server control/enterprise manager).
    ASC makes a modification to $ORACLE_HOME/opmn/conf/opmn.xml.
    Every component has a tag named "status" which can be set to "disabled":
    <ias-component id="DSA" status="enabled" id-matching="true">
    If you use this method, do not forget to sync your modification with the dcm repository using:
    $ORACLE_HOME/dcm/bin/dcmctl updateconfig

Maybe you are looking for

  • ITunes isn't recognising my iPhone, what should I do?

    I've used multiple lightning cables and this hasn't worked, uninstalled ITunes and reinstalled it again and it still doesnt work, I'm not sure what the problem is and concerned that there could be a problem with my phone port as it has the capability

  • How to save Checkbox inputs as a Variants in WD ABAP

    Hi, I am going through this nice blog [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0832150950DB20043138143752756391End?blog=/pub/wlg/10731] which helped me creating varaint options for SELECT -optins fields. Everything works fine

  • How to send HTML to a frame

    I want to know how to send and HTML page generated by a servlet into a specific frame of the client browser.

  • Java heap space error in obiee 10g

    Dear All, We are unable to generate the reports. We observed the following error in OC4J 12/06/06 17:43:28 java.lang.OutOfMemoryError: Java heap space 12/06/06 17:43:36 Exception in thread "Timer-8" Exception in thread "Timer-0" j va.lang. OutOfMemor

  • PDF repeating first page

    We have a printer in the system that is connected to about 5 public computers. It seems to work fine except for when printing PDFs from Windows 7 computers. It will print the first page multiple times, sometimes it won't stop until the printer is man