Compile error deploying SOADEMO-Client

All:
I'm trying to deploy the SOADEMO-Client and I get the compiler error:
Error(119,9): CustomerServiceSoapHttp_Stub not found in class oracle.soademo.view.services.runtime.CustomerSvc_Impl
I did need to change the CustomerServiceSoapHttp_Stub file (based on the instructions) to change the port number from 8888 to 80.
Any ideas?
Thanks,
Michael

I ran into the same problem. Seems that the CustomerServiceSoapHttp_Stub.java and __soap_initiate_ppt_Stub.java got corrupted by opening and altering them in JDeveloper (?)
When I tried doing the modifications again (on a fresh copy of the files) using only notepad in Windows it worked fine.
Roald

Similar Messages

  • Getting Error While Deploying SOADEMO-CLIENT Application

    Hi All,
    I got an error while deploying the SOADEMO-CLIENT application. Below is the error message.
    Error(119,9): CustomerServiceSoapHttp_Stub not found in class oracle.soademo.view.services.runtime.CustomerSvc_Impl .
    Please help how to resolve this problem .
    Thanks
    KOTI

    Yes, I did previously did the same thing, got same error. After I deleted the workspace. Again started the process from new work space.
    But this time also got same error.
    When I double click on the error, CustomerSvc_Impl.java opened in Jdeveloper and showinf errors at below line.
    oracle.soademo.view.services.runtime.CustomerServiceSoapHttp_Stub stub = new oracle.soademo.view.services.runtime.CustomerServiceSoapHttp_Stub (handlerChain);
    try {
    stub. _initialize* (super.internalTypeRegistry);
    Note : The bold string is showing errors.
    Edited by: user11118888 on May 14, 2009 5:25 PM

  • Compilation errors when using Client program

    Hi all,
    I face a problem when compiling the client.
    Compilation errors:
    "Not able to resolve symbols HelloHome, Hello"
    At this line: HelloHome home = (HelloHome)ctx.lookup("HelloHome")
    I have cut and paste the client program below:
    Please look into it.
    Thanks
    Ranjan
    //Client for HelloBean
    import java.rmi.*;
    import javax.naming.*;
    import java.util.*;
    public class HelloClient {
    public static void main(String args[]) {
    try
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,"t3://localhost:7001");
    InitialContext ctx = null;
    ctx = new InitialContext(ht);
    HelloHome home = (HelloHome)ctx.lookup("HelloHome");
    Hello hel = home.create();
    String retval = hel.sayHello("Ranjan");
    System.out.println("Returned: " + retval);
    hel.remove();
    catch (RemoteException e)
    System.out.println("RemoteException occured: " + e);
    catch (javax.ejb.CreateException e)
    System.out.println("Create Exception occured: " + e);
    catch (javax.ejb.RemoveException e)
    System.out.println("Remove Exception occured: " + e);
    catch(javax.naming.NamingException e)
    System.out.println("Naming Exception occured: " + e);
    **************************

    Hi,
    Yes the Hello and HelloHome classes are present in the same directory as the HelloClient.class
    Regards
    Ranjan

  • Getting a compilation error when deploying a web service to OC4J.

    The following are the error that I got from Oracle AS server console:
    [Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
    [Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
    [Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initializing EJB container
    [Feb 5, 2007 11:31:16 AM] Loading connector(s)
    [Feb 5, 2007 11:31:16 AM] Starting up resource adapters
    [Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
    [Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
    [Feb 5, 2007 11:31:16 AM] Started application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
    [Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
    [Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
    I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
    The error log shows as the following:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
         at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
         at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
         at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
         at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
         at com.evermind.server.Application.getHttpApplication(Application.java:512)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
         ... 8 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Any idea why it happened?
    Thanks,
    Jason

    Hello,
    I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
    Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
    Regards
    Tugdual Grall

  • Converter Web Client: get compiler error when run URL

    When I try to run the Converter's web client with the the URL:
    http://localhost:8000/converter
    I got a compiler error on the lines:
    import Converter;
    import ConverterHome;
    The J2EE server wants to have a "." after the Converter and ConverterHome.
    Any one has any idea?
    The error messages are:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:7: '.' expected
    import Converter;
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:8: '.' expected
    import ConverterHome;
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:20: cannot resolve symbol
    symbol : class Converter
    location: class org.apache.jsp.index_jsp
    private Converter converter = null;
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
    symbol : class ConverterHome
    location: class org.apache.jsp.index_jsp
    ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
    symbol : class ConverterHome
    location: class org.apache.jsp.index_jsp
    ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
    symbol : class ConverterHome
    location: class org.apache.jsp.index_jsp
    ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
    ^
    6 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:125)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:387)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:410)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         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:324)
         at org.apache.catalina.util.SecurityUtil$1.run(SecurityUtil.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.util.SecurityUtil.execute(SecurityUtil.java:210)
         at org.apache.catalina.util.SecurityUtil.doAsPrivilege(SecurityUtil.java:147)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:177)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:271)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/5.0

    I have exactly the same error.
    Me too, I'm running on Win XP. And I have had lots of trouble to deploy the converter.
    I cannot install J2EE 1.3 as I am supposed to write a report on how Web Services may help my company. By the moment I can only say it takes me much more time than expected to run the J2EE 1.3 tutorial. As SUN didn't deliver a tutorial one can use.
    So by the moment if anyone can HELP me to finish this converter tutorial I will be thankful.
    Bye
    Manuel Acevedo

  • Compilation error while deploying

    i have a application ,which contains bmp entity bean,
    and a client which invokes the bean.
    iam successfully building the .ear file ,using ant build tool,then while deploying the application on OC4J.
    itz throwing an compilation error as follows:
    deployment message:
    Node started with id=7808552576960
    Oracle9iAS (9.0.4.0.0) Containers for J2EE initialized
    Notification ==> Start deploying...
    Notification ==> ApplicationDeployer.execute() begins...
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to J:\Oracle9iAS\j2ee\home\applications\employee-info.ear
    Notification ==> Unpack employee-info.ear begins...
    Notification ==> Unpack employee-info.ear ends...
    Notification ==> Intialize employee-info.ear begins...
    Copying default deployment descriptor from archive at J:\Oracle9iAS\j2ee\home\ap
    plications\employee-info/META-INF/orion-application.xml to deployment directory
    J:\Oracle9iAS\j2ee\home\application-deployments\employee-info...
    Notification ==> Intialize employee-info.ear ends...
    Copying default deployment descriptor from archive at J:\Oracle9iAS\j2ee\home\ap
    plications\employee-info/bmp_employee.jar/META-INF/orion-ejb-jar.xml to deployme
    nt directory J:\Oracle9iAS\j2ee\home\application-deployments\employee-info\bmp_e
    mployee.jar...
    Auto-deploying bmp_employee.jar (No previous deployment found)...
    Error compiling J:\Oracle9iAS\j2ee\home\applications\employee-info/bmp_employee.
    jar: ejbCreate() method not found in bean-class com.emp.employee.EmployeeBean
    Copying default deployment descriptor from archive at J:\Oracle9iAS\j2ee\home\ap
    plications\employee-info/client.jar/META-INF/orion-application-client.xml to dep
    loyment directory J:\Oracle9iAS\j2ee\home\application-deployments\employee-info\
    client.jar...
    Notification ==> ApplicationDeployer.execute() ends.
    Notification ==> Operation Completes
    here itz pointing that the EmployeeBean packaged in the ear file doesnot have ejbCreate(..) method ,but when i
    see the bean in the ear ,it contains ejbCreate().
    let me know where, i might have gone wrong.
    waiting 4 suggestions.

    Hi
    Check these if it helps,
    1)You should have ejbCreate methods coresponding to the create methods in the Home interface, with the same method signature.
    2)Also they should have "public" access.
    Shrini

  • Compilation Error while trying to Deploy my Web Service

    My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
    Started application : RTAService-RTAService-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
    Operation failed with error:
    Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
    I don’t know where to look at for this issue. I don't get information about what compilation error it is.
    I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
    I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
    This is the Class I try to deploy has a web service:
    package rtaservice;
    import javax.jws.WebService;
    @WebService(serviceName = "RTAWebService")
    public class RTAWebService {
    public RTAWebService() {
    public TransactionResult Process(Transaction Trans) {
    TransactionResult TransResult;
    TransResult = new TransactionResult();
    TransResult.Account_type ="";
    TransResult.Address_Line1 ="";
    TransResult.Amount ="";
    TransResult.Approval_Cd ="";
    TransResult.Approval_Cd_returned ="";
    TransResult.Approved ="";
    TransResult.Avs_Response_C ="";
    TransResult.Avs_Response_M ="";
    TransResult.BCFerries_Error_description ="";
    TransResult.BCFerries_Processing_Mode =true;
    TransResult.BCFerries_Resp_Code ="";
    TransResult.BCFerries_Trans_approved =true;
    TransResult.CardType ="";
    TransResult.CVV_Code ="";
    TransResult.CVV_response ="";
    TransResult.DateTime ="";
    TransResult.Display_Msg ="";
    TransResult.ExtendedOPId ="";
    TransResult.ID_Seq_Number ="";
    TransResult.Invoice_num ="";
    TransResult.Invoice_num_returned ="";
    TransResult.ISOResponseCode ="";
    TransResult.OperatorID ="";
    TransResult.OperatorLanguage ="";
    TransResult.OperatorMessage ="";
    TransResult.Receipt_Msg ="";
    TransResult.Receipt_Msg_Account ="";
    TransResult.ReceiptRefNum ="";
    TransResult.Response_Code ="";
    TransResult.RFU1 ="";
    TransResult.RFU2 ="";
    TransResult.Statement_Desc ="";
    TransResult.Term_ID ="";
    TransResult.Term_ID_Group ="";
    TransResult.Track2_Acc ="";
    TransResult.Trans_Code ="";
    TransResult.Transaction_Handle ="";
    TransResult.TransactionCounter ="";
    TransResult.TransactionHandle ="";
    TransResult.Zip ="";
    TransResult.Account_type_returned ="";
    return TransResult;
    There are 2 others classes to define the objects Transaction and Transaction Result
    package rtaservice;
    public class Transaction {
    public Transaction() {
    // Eigen parameters
    public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
    public String Term_ID; // should be the merchant ID
    public String Term_ID_Group; // not used
    public String Trans_Code; // should be all the time 27 right now
    public String Track2_Acc; // ! there is a specific format to respect here
    // Track2_Acc contains the data as read by a card reader from track 2 starting by ;
    // for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
    public String Amount; // in Cents
    public String Approval_Cd;
    public String DateTime; // format is YYYYMMDDHHMMSS
    public String OperatorID; // Optional
    public String ExtendedOPId; // Optional
    public String OperatorLanguage; // Optional
    public String Account_type; // not use for now
    public String Statement_Desc; // not use for now
    public String CVV_Code;
    public String Address_Line1; // Optional
    public String Zip; // Optional
    public String TransactionHandle; // Optional
    // additional parameters for future use
    public String RFU1; // Reserved for future use
    public String RFU2; // Reserved for future use
    package rtaservice;
    public class TransactionResult extends Transaction {
    public TransactionResult() {
    public String BCFerries_Resp_Code;
    public String BCFerries_Error_description;
    public Boolean BCFerries_Trans_approved;
    public Boolean BCFerries_Processing_Mode;
    // Eigen parameters
    public String ID_Seq_Number;
    public String Display_Msg; // Optional
    public String Receipt_Msg; // Optional
    public String Response_Code;
    public String Approval_Cd_returned; // Optional
    public String ISOResponseCode;
    public String ReceiptRefNum;
    public String TransactionCounter;
    public String Approved;
    public String OperatorMessage;
    public String Receipt_Msg_Action; // Optional
    public String Receipt_Msg_Account;
    public String CardType;
    public String Invoice_num_returned; // Optional
    public String Account_type_returned;
    public String CVV_response;
    public String Avs_Response_C;
    public String Avs_Response_M;
    public String Transaction_Handle; // Optional
    Thanks for your time

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Error deploying a composite to a clients server

    Hi,
    I'm having trouble deploying a composite to a clients server.
    I've defined the Configuration Plan to change all the references from our server to the clients server.
    The composite has some references to webservices deployed on the same server. I can test those webservices on the Enterprise Manager and they work.
    The error when I try to deploy is the following:
    Deploying on partition "default" of "/Farm_bpm_domain/bpm_domain/soa_server1" ...
    Deploying on "/Farm_bpm_domain/bpm_domain/soa_server1" failed!
    Error during deployment: Deployment Failed: Error occurred during deployment of component: ServiceTest2Process to service engine: implementation.bpmn for composite: ServiceTest2Composite: ORABPEL-05250
    Error deploying BPMN suitcase.
    error while attempting to deploy the BPMN component file "/oracle/product/fmw/11.1.1/bpm/user_projects/domains/bpm_domain/deployed-composites/ServiceTest2Composite_rev1.0/sca_ServiceTest2Composite_rev1.0/soa_68135a9a-c6b0-4982-99de-2eb366875b5d"; the exception reported is: java.lang.IllegalArgumentException: Conversation is not properly defined. There are not operation/process or external services defined
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    .The logs on the server (set to TRACE:32 (FINEST)) don't add anything to the error message.
    Anyone has had the same problem or has any ideia what might be the problem?
    Thanks in advance,
    Diogo Henriques

    Hi
    Can't offer much help but I just got exactly the same problem also. I just made a minor modification to a simple BPMN Test process. The change involved adding a Script Task and changing the assignment to the Output Argument of a Sub-Process. This change should not have caused any change to the service interface of the process. This was on a local Dev box.
    The process does call a Web Service. It was deploying/executing without error at last WLS boot a day ago, the Web Service is running fine and the process is building without error. There have been no other changes.
    This seems to be some kind of deployment versioning or stale caching related bug. I just undeployed the current version via EM (which actually reported a failure during undeployment but undeployed anyway!) and rebooted WLS and the deployment was then successful.
    See also Error deploying 2 processes in the same project BPM 11gR3 Project
    I suspect both of these are symptoms of the the same underlying problem which show up when there are repeated deployments of the same process after changes - regardless of whether you overwrite the existing version or start a new one.
    Regards
    Jim Nicolson

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • TP4 / ADF Rich client demo just downloaded from otn / 41 compiling errors !

    I just downloaded ADF Riche client demo and installed it jdev tp4.
    Rebuild causes 41 compilation errors and the application is not runnable.
    Is it a way to solve this ?
    Some of the errors:
    Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\adf-richclient-demo\public_html\WEB-INF\classes\.jsps\_components\_inputComboboxListOfValues_jspx.java
    Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\adf-richclient-demo\public_html\WEB-INF\classes\.jsps\_components\_queryToggle_jspx.java
    Error(57): "rows" is not a valid attribute name.
    Error(57): "maxColumns" is not a valid attribute name.

    Forget about it ... downloading again and reinstalling it without any errors ... may be i downloaded from an older link or do some bad copy ... sorry disturbing you !

  • Compiler error in 9.0.3 when deploying using jdk1.4.1rc

    Hi, I'm trying to deploy an application into iAS9.0.3. The server is started with jdk1.4.1rc. However, I'm getting a compiler error (see below). When compiling with jdk1.3.1 everything is working fine, but I need to use the new API's in 1.4. Can anyone help me out here? Will 9.0.3 be certified for jdk 1.4 when the production version is released?
    Thanks
    /Johannes
    Auto-deploying OPS-EJB (No previous deployment found)... OPS_StatelessSessionBeanWrapper0.java:11: cannot access java.lang.Object
    bad class file: D:\j2sdk1.4.1\jre\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    public class OPS_StatelessSessionBeanWrapper0 extends com.evermind.server.ejb.RemoteStatelessSessionEJBObject implements com.novamedia.ops.ejb.OPS
    ^
    1 error
    Error compiling D:\eclipse-projects\ops-application\OPS-EJB: Syntax error in source

    OC4J 9.0.3 production will be certified with JDK 1.4.
    You can try the work arounds discussed in http://forums.oracle.com/forums/message.jsp?id=767439 to get it working with JDK 1.4
    regards
    Debu

  • Error deploying JDeveloper project using ant-sca-compile.xml

    Hi all, I'm having problems on deploying a JDeveloper project using ant-sca-compile.xml. The output in C:\XXXX\YYYYY\SCA-INF\classes\scac.log is:
    java.lang.NoClassDefFoundError: 4\jdeveloper\////oracle_common
    Caused by: java.lang.ClassNotFoundException: 4\jdeveloper\....oracle_common
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: 4\jdeveloper\/../oracle_common. Program will exit.
    Exception in thread "main"
    What's missing in wich classpath?
    Regards
    Efren.

    Same composite we were able to deploy successfully without any error, from Monday onward we are experiencing this issue.
    We checked in Installation Guide provided by oracle. Oracle has suggested few memory related changes in ant-sca-compile.xml file.
    Increasing Memory to avoid Compilation Errors
    To avoid out-of-memory errors during compilation of a SOA composite application, you need to
    increase the following memory settings.
    To increase memory settings:
    1. Open the ant-sca-compile.xml file in the SOA_HOME/bin directory.
    2. Under the scac element, increase the following memory settings.
    <jvmarg value="-Xms2048m"/>
    <jvmarg value="-Xmx2048m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    3. For Windows change the following memory settings to.
    <jvmarg value="-Xms1536m"/>
    <jvmarg value="-Xmx1536m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    We did those changes but still experiencing same error. I checked H:\AIASOAProject\AIAReceiptInterface\ReceiptListEbizProvider\SCA-INF\classes\scac.log ; file its showing Could not create the Java virtual machine.
    Regards
    Manish

  • Compilation error when deploying bpel process

    Hi,
    When i try to compile and deploy my bpel process with jdeveloper i keep getting errors that some jar files are missing.
    managed to get few jar files, and finally am landing up with an error - jdev/jlib/repository.jar is missing.
    i tried reinstalling jdeveloper - dint help. i tried installing next version also - 10.1.3.5, still dint help.
    am a new bee to SOA suite. Can anyone help me how to solve this ?
    version of jdeveloper am using is 10.1.3.4
    Thanks in Advance
    KSV
    Edited by: user11359552 on Sep 24, 2009 4:17 AM

    I have created numerous BPEL processes in JDev 11.1.1.5.0 which im trying to deploy to the SOA domain on Weblogic 10.3.4.0 however each time the same error appears:Did you check server log? Exactly which class it is not able to find?
    Regards,
    Anuj

  • Deployment Error -- JSP Compilation Error: java.lang.OutOfMemoryError -- nu

    When I deploy WAR files with the precompile jsp option, I receive the following error:
    Deployment Error -- JSP Compilation Error: java.lang.OutOfMemoryError -- null
    Is there a way for me to precompile my jsp's without using this process? Once this blows up, the admin server gets hosed. This is very frustrating. Any suggestions would be appreciated.
    Regards,
    Joshua

    You need little more memory :-), use java param -mx512M.
    You can adjust it in OC Server properties
    AS > OC4J_home(demo) > Server Properties
    section Multiple VM Configuration, Command Line Options
    Java Options: -mx512M
    Zajo

  • 32 K error while compiling and deploying flex application

    Hi SAP Team,
    This is regarding the modelling of complex and huge models in VC and
    errors when modelling the same.
    I have a huge and complex model containing more than 100 queries from
    BI 7.0 system which iam using for modelling a VC application.I have 5
    layers to display the queries data.
    Iam getting deployment error when iam deploying the application which
    is a 32 K flex deployment error.
    I have modelled the application with multiple nested iviews and
    multiple layers.
    I have the following questions regarding the above VC model:
    1)is there a upper limit of number of queries or services ( i have used
    around 100 queries in the above model)that can be used in VC Model
    2)is there any performance issue of using this many number of queries
    in a single model and running all the queries on a single submit button
    click.
    3)How to deal with adobe flex compilation error when deploying large or
    complex models
    4)I have used all the best modelling practices in my model as per note
    936390 .But still iam getting the error.
    Thanks
    P.Navakanth
    +919985555065

    Can anyone pelase tell me what is the significance of the component:
    com.sap.visualcomposer.vcflex.default
    iam asking the above question because, theversion of above component is different from my actual v ersion of portal i.e EP is at Version 7.0 and SP 16 but the above component is at version7.0 and SP 10.
    the SAP note 936390 says that The fix for 32k flex deployment problem was introduced with the release of flex2.0 runtime in SP14 patch 2.
    I want to check whether the above component ( com.sap.visualcomposer.vcflex.default ) is actually causing the issue.
    To see the component versions of your sap EP please navigate to
    http://host:Port/sap/monitoring/ComponentInfo
    Thanks
    P.Navakanth

Maybe you are looking for

  • Problem with running ASDocs in FB3

    I'm trying to use ASDocs with my current project, but I can't seem to get the comments for MXML components to show up. The comments inside the <mx:Script> tag work fine. Any ideas? Also, I'm receiving this error when I run ASDocs: [Deprecated] Xalan:

  • Excel 2011 Will Not Link to MacMail in Mountian Lion From a Hyperlinked Cell

    Unlike Excel 2004, my shiny new Excel 2011 will not link to MacMail in Mountian Lion from a hyperlinked cell email address entry. When I click on the button "Launch E-mail Application" I get the message, "An error occurred trying to find or launch yo

  • While downloading os x mountain lion on my macbook air an error occured

    i tried resuming it but the resume button crashed, i tried signing out and then again downloading still the resume option in crashed.

  • Guide Layer

    I have a layer used only for audio. For testing purposes, I wanted to speed up publishing by omitting the audio layer. I simply turned it into a guide layer. Flash isn't suppose to export content on guide layers, but yet Flash is still publishes the

  • Connect to pc

    Hello, Since last update of iOS 7.1, I can't connect (on USB) my iphone 4S to my computer at work. My PC run under windows xp pro. When I connect, with USB cable, my iPhone ask me : TRUST or not. I click on TRUST. Few seconds after the connection DOW