Deployment of Java WebService with OC4J and JDeveloper

Hi,
I have created a sample java webservice following instructions given in one OTN tutorial (Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server ) at http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
We were able to create the webservice as shown in the tutorial but are facing problem while deploying it. The deployment message console in JDeveloper shows one "Deployment failed : ClassCastException".
Some of the lines from Jdeveloper console are ::
"Binding WebServices web-module for application JavaWebService-GetDates-WS to site default-web-site under context root JavaWebService-GetDates-context-root failed"
I have gone through the stack trace in the OC4J console but couldnt figure out much out of it as all the culprit classes are from different jar files...Here is the Stack trace for your ref::
06/05/05 19:07:12 WARNING: DeployerRunnable.run java.lang.ClassCastExceptionoracle.oc4j.admin.intern
al.DeployerException: java.lang.ClassCastException
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
e.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:814)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassCastException
at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(WebServiceEndpoint.ja
va:660)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
omReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:18
94)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
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
2006-05-05 19:07:12.713 WARNING java.lang.ClassCastException
I am using J2SE1.4.2_08 version. Earlier when I used java 5 version I got an error something like "Found runtime environment 49.0 expected environment is 48.0"....so I moved over to J2SE1.4.2_08 version but now I am getting above error as shown in the stack trace.
Looking at the success message shown in the OTN tutorial it seems that only step that failed while this deployment is Initialization of servlet : Oracle.j2ee.ws.server.JAXRPCServlet for webapplication Webservices.

Hi, thanks for your quick help.
Shay, I agree with you that the specific tutorial uses JDeveloper 10.1.3 and I need to use JDK 5 to run that version of JDeveloper.
Earlier when I used JDK 5 with JDeveloper 10.1.3, I got different error saying "Found runtime environment 49.0 expected environment is 48.0".....so I moved over to J2SE1.4.2_08 version but now I am getting an error as shown in the stack trace given in the very first post to this thread.

Similar Messages

  • JMS with weblogic and jdeveloper IDE

    HI,
    I am a newbie to jms..could anyone provide me a sample tutorial to test and deploy a sample jms application using weblogic and jdeveloper IDE.
    Thanks,
    Amy
    Edited by: 838667 on Feb 22, 2011 2:50 AM

    ...I have a strong feeling this is a TIBCO-related issue where you're not doing the lookup the way TIBCO likes.

  • WebService with remoting and AS3

    Hi at all,
    last day i have ask the solution in order to work with
    Webservice with AS3;
    I have try to use Remoting before download and install many
    3th party
    webservice class (like wellconsiderer.com component), but
    without
    success: i can't call ASMX file with remoting.
    <CODE>
    import flash.net.NetConnection;
    import flash.net.Responder;
    var myResult:Function = function(o:Object)
    trace("result="+o);
    var myStatus:Function = function (o:Object)
    trace("status="+o.code+"__"+o.description);
    var myResponder:Responder = new Responder(myResult,myStatus);
    NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;
    var a:NetConnection = new NetConnection();
    a.objectEncoding = ObjectEncoding.AMF0;
    a.connect("
    http://localhost/webservices/management/Manager.asmx?WSDL");
    a.call("loginAdministrator", myResponder,
    "username","password");
    </CODE>
    Why i receive "Error opening URL..." ?
    andrew

    While I can offer a couple ideas, you'll need to spend some time figuring out how to use Flash... maybe get some formal training with it.
    For the photographs, create each set of them as a movieclip, and give each movieclip an instance name so that you can control its visibility using code.  Initially you will want to set the visible property of them all to false, likely done in the first frame of the timeline (ex: imageGrp1.visible = false; ).  Then you will use your buttons to make them visible.
    To code one of the buttons, you need to assign it an instance name as well.  Then you need to assign an event listener for that button to detect when it gets clicked, and an event handler function to go with the event listener... the listener calls the function into action when the event occurs.
    ex:
    // the event listener for a button with an instance name of imgGrp1Button...
    imgGrp1Button.addEventListener(MouseEvent.CLICK, showGrp1);
    // and the event handler function for the CLICK listener
    function showGrp1(evt:MouseEvent):void {
          imageGrp1.visible = true;
    If you want to hide any visible set when you select a new one, then you can create a function that sets them all visible = false and call that function both at the start in frame 1 and in each button event handler function (before you set the selected set to be visible).

  • Error deploying custom java web service in SOA11g-Jdeveloper 11.1.1.3.0

    Hi all,
    I am getting Error deploying custom java web service in SOA 11G- Jdeveloper 11.1.1.3.0
    Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\.......\LOCALS~1\Temp\.xyz..........Project-context-root.war'
    for the application 'xyz....Project-context-root' could not be loaded to the server 'http://hostname:port/bea_wls_deployment_internal/DeploymentService'.
    Server returned HTTP response code: 409 for URL: http://hostname:port/bea_wls_deployment_internal/DeploymentService
    See server logs or server console for more details.
    weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\MyApllicationName\Project\deploy\xyz........Project-context-root.war' to 't3://hostname:port'
    #### Deployment incomplete. ####
    Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Edited by: soauser on Sep 3, 2010 7:44 AM
    Edited by: soauser on Sep 3, 2010 7:45 AM
    Edited by: soauser on Sep 3, 2010 7:46 AM

    Any help for the above post is appreciated..
    Edited by: soauser on Sep 3, 2010 11:58 PM

  • Deploying a Java Media Player Rights and Responsabilities

    I intend on Deploying a Java Media Player therefore I want to know My Rights and Responsabilities as far as my making an income, it might even be in 3D as Machines are Now More Capable. Do I need 3 specific licenses Java Main, Java Media and Java 3D ? Do I need to pay for something if I write all the code ?
    Is there a percentage deal ? I think you get my drift. Before I go to all the work of writting alot of code I need to know these things without a doubt. Thankyou Very Very Much, Very Sincerely, Survivor468 PS: Please email me at [email protected] or the e-address I have on file here. Thanks Again

    great, what does " i cant get it running " mean?
    no one is going to run your code, tell us your errors

  • Building and Deploying Within a Directory with oc4j 10.1.3

    hi,
    I just want to move our application from 10.1.2.0.2 to 10.1.3 in our development environment. I want to deploy our application within a directory, but this does not work anymore! I couldn't get information about this in the documentations. When I start the server I get these errors:
    Oct 19, 2006 11:59:22 AM com.evermind.server.Application setConfig
    WARNING: Application: tisProd is in failed state as initialization failedjava.lang.InstantiationException: Error loading web-app 'default-app' at D:\JRun4\servers\Jrun00\default-app: Error parsing orion-web.xml in D:\oc4j1013\j2ee\home\application-deployments\tisProd\default-app: The file was a directory
    2006-10-19 11:59:22.759 WARNING J2EE 0JR0013 Exception initializing deployed application: tisProd. Error loading web-app 'default-app' at D:\JRun4\servers\Jrun00\default-app: Error parsing orion-web.xml in D:\oc4j1013\j2ee\home\application-deployments\tisProd\default-app: The file was a directory
    2006-10-19 11:59:24.712 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: default-app defined in web site OC4J 10g (10.1.3) Default Web Site. Application: default-app has been stopped
    Any ideas?
    regards Alex

    Hi, I'm movint to 10.1.3 too and I've a similar problem. Who is the parser that cause problem ?.
    When I 'deploy' my application from Eclipse I receive:
    2006-11-06 14:56:11.424 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: tgs-app-web defined in web site OC4J 10g (10.1.3) Default Web Site. null

  • Deployment of SCA composite with Spring and JPA fails on WLS 10.3.3

    Hi,
    We want to use JPA as Persistence Layer (EclipseLink as Persistence Provider) in a Spring managed Bean in a SOA Composite (SCA).
    We configured our persistence.xml and spring configuration as described below.
    We are using JDeveloper 11.1.1.3 and WLS 10.3.3 with SOA Suite 11.1.1.3.
    The Deployment fails with the following Exception
    +Could not instantiate bean class [org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available+
    We are not sure how to deal with the "WebLogic 10 API classes are not available" message. Is there a lib we have to add to the SCA composite or do we have to change the WLS configuration somehow?
    We already tried a lot of configurations of persistence.xml and spring but nothing worked so far.
    Exception
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver' defined in URL [oramds:/deployed-composites/default/ProjectBServiceSCA_rev1.0/ProjectBServiceSCA.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
            at java.security.AccessController.doPrivileged(Native Method)
            Truncated. see log file for complete stacktrace
    Caused By: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available
            at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
            at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.IllegalStateException: Could not initialize WebLogic ClassLoader because WebLogic 10 API classes are not available
            at org.springframework.instrument.classloading.weblogic.WebLogicClassLoader.<init>(WebLogicClassLoader.java:70)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:57)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:46)
            at sun.reflect.GeneratedConstructorAccessor768.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoSuchMethodException: oracle.classloader.PolicyClassLoader.addInstanceClassPreProcessor(weblogic.utils.classloaders.ClassPreProcessor)
            at java.lang.Class.getMethod(Class.java:1605)
            at org.springframework.instrument.classloading.weblogic.WebLogicClassLoader.<init>(WebLogicClassLoader.java:62)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:57)
            at org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver.<init>(WebLogicLoadTimeWeaver.java:46)
            at sun.reflect.GeneratedConstructorAccessor768.newInstance(Unknown Source)
            Truncated. see log file for complete stacktracepersistence.xml
    <?xml version="1.0" encoding="Cp1252" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
                 version="1.0">
        <persistence-unit name="SCASpringJPATest">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <jta-data-source>performanceTestDS</jta-data-source>
        <class>de.prototype.entities.Mainproject</class>
        <class>de.prototype.entities.Project</class>
        <properties>
          <property name="eclipselink.target-server" value="WebLogic_10"/>
          <property name="javax.persistence.jtaDataSource"
                    value="performanceTestDS"/>
        </properties>
      </persistence-unit>
    </persistence>spring.xml
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:util="http://www.springframework.org/schema/util"
           xmlns:jee="http://www.springframework.org/schema/jee"
           xmlns:lang="http://www.springframework.org/schema/lang"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
           xmlns:context="http://www.springframework.org/schema/context"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
      <!--Spring Bean definitions go here-->
      <bean id="entityManagerFactory"
            class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
        <property name="persistenceUnitName" value="ProjectBServiceSCA"/>
        <property name="loadTimeWeaver">
          <bean class="org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver"/>
        </property>
        <property name="jpaVendorAdapter">
          <bean class="org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter">
            <property name="showSql" value="true"/>
            <property name="generateDdl" value="true"/>
            <property name="database" value="ORACLE"/>
          </bean>
        </property>
      </bean>
      <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"/>
      <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
      <tx:annotation-driven transaction-manager="txManager"/>
      <bean id="txManager"
            class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
        <property name="entityManagerFactory" ref="entityManagerFactory"/>
      </bean>
      <bean class="de.prototype.service.ProjectBServiceSCAImpl"
            id="projectBService">
        <property name="entityManagerFactory" ref="entityManagerFactory"/>
      </bean>
      <sca:service target="projectBService" name="projectBServiceSCA"
                   type="de.prototype.service.IProjectBServiceSCA"/>
    </beans>

    We solved the problem by using the org.springframework.instrument.classloading.oc4j.OC4JLoadTimeWeaver. But we are not sure if this is correct. It at least works so far without any problems...

  • Bc4j-oc4j and Jdeveloper Release Candidate

    I developed a bc4j application with Jdeveloper Release Candidate. In another pc I installed 9ias and bc4j-oc4j server. Then I deployed my application using .ear file. I get an error when I try to run the application through the as. Here is the error:
    oracle.jsp.parse.JspParseException: Line # 18,
    Error: releasemode is not a property of oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    I think it is not true that releasemode is not a property of ApplicationModule tag. Can anyone help me?
    thanks

    Hi, first of all thanks for your interest and sorry for my English.
    Actually I have tried some different combinations.
    First of all I downloaded 9ias v1.0.2.2 core form web-site. In it oc4j comes with version 1.0.2.2.1. I installed it and could not even get that error message. Then I installed bc4j runtime installer over it. Then I got that error message.(That message is just an example. I think not all of the necessary classes with correct versions are contained in the container.). Then I tried to use the oc4j that is embeded in the jdeveloper release candidate. I copied the directory and put to the proper place in the application server. It did not even start. Finally I downloaded 9ias Release2-j2eedeveloper's preview. It brougth me a version 9.0.2.0A. I was wery hopeful with it but it did not work either.
    I only want to deploy and use my jsp files that I created by jdeveloper release candidate. I need correct versions of application server and container I think.
    Thanks a lot.

  • Deploying j2ee sun .ear with OC4J

    Debu Panda wrote:
    Looks like deployment of an EJB is causing this problem. Can you please paste the deployment descriptor of the EJB causing this problem.
    What version of OC4J are you using ?
    regards
    Debu Panda
    Oracle
    Thank you Debu!
    I'm using OC4J version 1.0.2.2.1.
    I don't know wich EJB can cause the problem.
    This is the ejb-jar.xml contained in the jar file.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>EJBContainer</display-name>
    <enterprise-beans>
    <entity>
    <display-name>SPMSessionFactoryEJB</display-name>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <home>spm.infrastruttura.session.SPMSessionFactoryHome</home>
    <remote>spm.infrastruttura.session.SPMSessionFactory</remote>
    <ejb-class>spm.infrastruttura.session.SPMSessionFactoryEJB</ejb-class>
    <persistence-type>Bean</persistence-type>
    <prim-key-class>java.lang.Object</prim-key-class>
    <reentrant>False</reentrant>
    <ejb-ref>
    <ejb-ref-name>SPMSessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>SPMSessionHome</home>
    <remote></remote>
    </ejb-ref>
    <security-identity>
    <description></description>
    <use-caller-identity></use-caller-identity>
    </security-identity>
    <resource-ref>
    <res-ref-name>DBORA</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </entity>
    <session>
    <display-name>SPMSessionEJB</display-name>
    <ejb-name>SPMSessionEJB</ejb-name>
    <home>spm.infrastruttura.session.SPMSessionHome</home>
    <remote>spm.infrastruttura.session.SPMSession</remote>
    <ejb-class>spm.infrastruttura.session.SPMSessionEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Bean</transaction-type>
    <security-identity>
    <description></description>
    <use-caller-identity></use-caller-identity>
    </security-identity>
    <resource-ref>
    <res-ref-name>DBORA</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <method-permission>
    <unchecked />
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getSessionList</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getHandle</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>remove</method-name>
    <method-params>
    <method-param>javax.ejb.Handle</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>getHomeHandle</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getSession</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>create</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>findByPrimaryKey</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>getEJBMetaData</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>isIdentical</method-name>
    <method-params>
    <method-param>javax.ejb.EJBObject</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getEJBHome</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>removeSession</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>remove</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getPrimaryKey</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getSession</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionFactoryEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>remove</method-name>
    <method-params>
    <method-param>java.lang.Object</method-param>
    </method-params>
    </method>
    </method-permission>
    <method-permission>
    <unchecked />
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getLastAccessTime</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>refreshSession</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>SessionScaduta</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>maketree</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getLingua</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getEmailAddr</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getRs</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getLastName</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>Validate</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getPrimaryKey</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setLastName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>create</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getUserName</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>addEjb</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getEJBHome</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>removeEjb</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>close</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setUserName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getFirstName</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>remove</method-name>
    <method-params>
    <method-param>java.lang.Object</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setProfilo</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getHandle</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>getHomeHandle</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>remove</method-name>
    <method-params>
    <method-param>javax.ejb.Handle</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getSubSystem</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setEmailAddr</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getCodeCliente</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>isIdentical</method-name>
    <method-params>
    <method-param>javax.ejb.EJBObject</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Home</method-intf>
    <method-name>getEJBMetaData</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getEjb</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getId</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getPassword</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setPassword</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getIpClient</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>getSessionEspireTime</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setFirstName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>remove</method-name>
    <method-params />
    </method>
    <method>
    <ejb-name>SPMSessionEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>setSubSystem</method-name>
    <method-params>
    <method-param>spm.infrastruttura.SubSystem</method-param>
    </method-params>
    </method>
    </method-permission>
    </assembly-descriptor>
    </ejb-jar>
    Stefano wrote:
    I'm trying to deploy under OC4Jan ear file packed with j2ee.
    I've the following problems:
    Command line:
    C:\OC4J\j2ee\home>java -jar admin.jar ormi://localhost/ admin spm -deploy -file
    ./applications/myApp/myApp.ear -deploymentName myApp
    Result:
    Auto-unpacking C:\OC4J\j2ee\home\applications\myApp.ear... done.
    Auto-unpacking C:\OC4J\j2ee\home\applications\myApp\war-ic.war... done.
    Auto-deploying myApp (New server version detected)...
    java.lang.InstantiationException: Illegal use-caller-identity value, legal value
    s are True and False.
    at com.evermind.server.deployment.SecurityIdentity.<init>(SecurityIdenti
    ty.java:52)
    at com.evermind.server.ejb.deployment.BeanDescriptor.parseAssemblyNode(B
    eanDescriptor.java:704)
    at com.evermind.server.ejb.deployment.EntityBeanDescriptor.<init>(Entity
    BeanDescriptor.java:107)
    at com.evermind.server.ejb.deployment.EJBPackage.parseEnterpriseBeans(EJ
    BPackage.java:475)
    at com.evermind.server.ejb.deployment.EJBPackage.parseMainNode(EJBPackag
    e.java:369)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:256)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:142)
    at com.evermind.server.ServerComponent.init(ServerComponent.java:178)
    at com.evermind.server.ejb.EJBPackageDeployment.getPackage(EJBPackageDep
    loyment.java:534)
    at com.evermind.server.administration.ServerApplicationInstallation.fini
    sh(ServerApplicationInstallation.java:397)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:66)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    What can i do?
    Tahnks.

    Stefano,
    Can you please the following line in the ejb-jar.xml from
    <use-caller-identity></use-caller-identity>
    <use-caller-identity>true</use-caller-identity>
    and redeploy the application ?
    regards
    Debu

  • Wiki for OC4J and JDeveloper

    Hi,
    I'm not sure this is the correct place for this question. But here it goes:
    Is there an Wiki engine that is designed especially for oc4j? or does any of you have and wiki engine that works on oc4j?

    We don't have one specifically designed for OC4J but there are several I have seen running it:
    - Confluence - we are using/evaluating this a little internally for some projects at Oracle. It is a commercial offering here: http://www.atlassian.com/software/confluence/. Seems very high quality.
    - Yawiki (Java version, not PHP) - we are shipping this as a free pre-certified Wiki with WebCenter, our interaction platform ala Portal for ADF developers. http://yawiki.jzonic.org/page/show.jz - we didn't want to force a commercial license on our WebCenter customers so this one is a free, reasonably solid engine.
    - JSPWiki - http://www.jspwiki.org/Wiki.jsp - again I have seen this used internally at Oracle and it is running on OC4J. Again, works like a champ.
    Some ideas - hope one of them works for you - hard for me to say good or bad about any as they all seem to work fine though I haven't mucked administratively with any.
    Mike.

  • Deployment of JAVA-Patches with SUM failed, MOPZ has downloaded malicious code

    some time ago, we did an upgrade of our doublestack PI-System from NW-PI-700-SPS18 to NW-PI-731-SPS05.
    Now, i wanted to upgrade this PI-system from NW-PI-731-SPS05 to NW-PI-731-SPS07.
    with SUM 1.0 SP10 PL4 we are now failing in the Execution-phase (Downtime):
    Error in phase 5.6. execution (downtime) of the JAVA-Part
    F  ********************************************************************************
    F  *** ERROR => Node 'deployment' failed with exit code 67.
    F  ***
    F  *** Please see section 'Failures in the 'deploying offline components' phase'
    F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
    F  ********************************************************************************
    and the instance could not start up anymore !?
    in sap-note 1316652 there is mentioned a separate sap-note 1550641 for this error
    http://service.sap.com/sap/support/notes/1316652
    in sap-note 1550641 - Update fails-Node 'deployment' failed with exit code 67.           
    http://service.sap.com/sap/support/notes/1550641
    Solution:
    A fix cannot be deployed as a patch, because the deployer itself is broken.
    The solution is to reset a back up state of the system, to download the new version of the stack from SAP Marketplace, and to rerun the update/upgrade procedure.
    i downloaded the patch-stack (with Solman MOPZ) some days ago,
    so MOPZ did download the malicious code of deployment components..... ?!
    so what to do?

    Hi,
    sorry for my late reply,
    but the whole story needs a lot of time (nearly 2 month) and finally ends successfully.
    first: (summary) the main-title of this thread is wrong,
    it was not MOPZ or Solman download, what caused this issue.
    the problem was caused by a remaining (old) sapxmltoolkit.jar in the java-bootstrap folder
    details are coming ...
    (all dates in yyyy-mm-dd)
    =========================================
    2014-05-16 at 13:04 CET: 
    SUM upgrade hangs with java-server did not start (in phase 5.2. Execution = downtime)
    i opend OSS-ticket with several details + logs attached and opened the connection to our system.
    SAP-Ticket, prio_Medium (because it is "only" a sandbox issue),
    2014-05-30 at 20:21 CET:
    1."sign-of-live" from sap-support,
    Asking for additional logfiles from the work-directory of the sap-system
    2014-06-02 at 11:14 CET:
    my Answer to the questions and adding the demanded logfiles.
    2014-06-02 at 21:57 CET:
    2.answer from SAP-support, asking to repeat the last SUM-step, to see, if the issue is still there
    2014-06-03 at 10:22 CET:
    my answer after repeating SUM-step and attaching new logfiles.
    2014-06-03 at 21:18 CET:
    3.answer from SAP-support, i should check if system is up and running, if hostname, port-no is correct.
    2014-06-03 at 10:22 CET:
    my answer: hostname + portnr are o.k. - but system still did not startup (java-server)
    2014-06-04 at 19:30 CET:
    4.answer from SAP-support, delivering an upload-URL, could not read attached splitted .zip-files of log-files
    2014-06-05 at 07:28 CET:
    i did collect all logfiles again and uploaded them to the 1.upload-URL
    2014-06-05 at 16:48 CET:
    5.answer from SAP-support, give hint to sap-note: 1550641 - Update fails-Node 'deployment' failed with exit code 67
    2014-06-06 at 10:17 CET:
    i answered that (in my opinion) the mentioned sap-note did not match the issue (only to NW-7.00) ,
    because i did not have to change anything, only i should do a restore from tape and start SUM from the beginning,
    i insisted in more and deeper investigations by SAP-support.
    2014-06-06 at 19:00 CET:
    6.answer of SAP-support: moving the ticket to the next support-level (developm.support)
    2014-06-09 at 10:11 CET:
    7.answer from SAP-support: asking for new submittion of logfiles of work-dir.
    2014-06-10 at 08:39 CET:
    asking for a new upload-URL because of large logfiles
    2014-06-10 at 17:31 CET:
    8.answer from SAP-support: providing an new upload-URL
    2014-06-10 at 17:53 CET:
    i did collect all logfiles again and uploaded them to the 2.upload-URL
    2014-06-12 at 09:07 CET:
    9.answer from SAP-support: asking for more details, listings of directory-content of ..../j2ee/cluster/...
    2014-06-12 at 10:23 CET:
    i did collect all dir-infos and attached a doc to the ticket
    2014-06-19 at 10:11 CET:
    10.answer from SAP-support: asking for WTS-connection to start investigate and debung on our systems
    2014-06-23 at 10:44 CET:
    i answered, and provided WTS-connection info
    2014-06-26 at 13:12 CET:
    11.answer from SAP-support: could not see a running SID-engine, no SAP-MC, no directory, no folder, where is the engine?
    2014-06-27 at 08:01 CET:
    i answered, and provided detailed server-info and WTS-connection info,
    remembering that SID is in SUM-downtime and java-server is not running, because could not be startet,
    2014-06-30 at 14:01 CET:
    12.answer from SAP-support: asking for an installed java6-sdk(jdk), the java6-jre is not enough to debug.
    2014-07-02 at 11:40 CET:
    my answer after installing java6-sdk on the WTS-server,
    2014-07-07 at 15:11 CET:
    13.answer from SAP-support: after debugging found an very old sapxmltoolkit.jar in the java-bootstrap folder
    moving the ticket to SUM-support - java-developm-support.
    2014-07-09 at 08:36 CET:
    14.answer from SAP-support: (SUM-support - java-developm-support) asking for attaching the SUM stack-xml file to the ticket.
    2014-07-09 at 14:32 CET:
    16.answer from SAP-support: asking to remove the sapxmltoolkit.jar from the java-bootstrap folder and restart SUM (repeat last step)
    2014-07-09 at 15:00 CET:
    i am happy to get the solution to this issue, 
    after removing the .jar file from java-bootstrap folder, SUM restart last step,
    the SUM-phase execution continues to run, java-server could start, ....
    .... finally SUM ended successfully.
    ==================================
    remarks:
    formerly, we did a copy of that mentioned sapxmltoolkit.jar to the java-bootstrap folder (in March 2013) because of investigation PI-processes
    after upgrading from NW-7.00 to NW-7.31, to get PI-system running after upgrade to NW-7.31
    but maybe that formerly issues were caused by other things, cache or so ...
    and since then (March 2013) we could start/stop that PI-system several times without any problem, only SUM-upgrade could not ......
    i really understand that investigating problems in SAP-software (e.g. SUM-process, java-startup ...) is not easy and could have many causes.
    but in summary this SUM-downtime was really large (55 days of downtime) , because of sandbox-system we want to investigate this time,
    to get the solution to this issue.
    if some SAP people want to look for speed-up options in the whole support-process, the OSS_ticket-no is:  ( 459757 / 2014 )
    Thanks to SAP-support (for the helpful solution)
    Christoph

  • Deployment a java class with Oracle92

    Good morning i'm a new friend.
    Today i have build a java class to send email with attach,testing this class in jdeveloper is all ok,but when i try to deploy into my database i've an error message:
    ORA-29545: classe di formato errato: at offset 265 of package1.mypackage.JEmail.SendEmail expecting a class-javax.activation.DataHandler but encountered a class-javax.activation.DataHandler.
    In java class i import:
    import java.io.*;
    import javax.mail.*;
    import javax.mail.Multipart.*;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.activation.*;
    import javax.activation.DataHandler;
    import java.util.*;
    How can i do?
    Thanks a lot
    Guerrieri Paolo

    Hi,
    You need to use Integration technology like BlazeDS or LCDS.

  • Deployment of Java App with 3rd party dll

    Hi,
    I am developing one application on windows environment. I am using netbeans 6.0 as my IDE. in this application I have to use 3rd party dll along with one 3rd party jar library. this jar library hides all the implementation of the native methods. So i don't have to use native methods in my application directly which means that I just need to call the java classes of the vendors jar library. I am able to execute the application in Netbeans. but I am not able to deploy the application. I want to know that how should i deploy my application which will be simple jar with vendors library and the dlls, so that user just have to run the application just through the command line( java -jar myapp.jar)

    no you didn't understood the question. Wrong.
    I understood the question.
    You however didn't understand the response.
    So let me expand on it.
    The library consists of java and dlls. There is absolutely no way that it will run on a client box without the dlls. So they must be delivered in some way.
    Now I suppose they could have encrypted/packed the dlls in some fashion but that isn't likely. And if it is then the java code of the library is responsible for loading them and there will be nothing you can do about it.
    Excluding that.....
    Shared libraries can ONLY be loaded via one of the following methods.
    1. The dlls must be in the PATH environment of the application
    2. The path must be explicitly provided in the application.
    For the libraries you have one of the following will be true
    1. The dlls must be in the PATH environment of the application
    2. The path must be explicitly provided from your code and passed to the library code.
    3. You must explicitly load the dlls in your code and hope that the library code is smart enough to deal with it.
    For option 2 the library must provide a method for you to pass a path.
    For option 3 the library code must be written to support this.
    For option 1 you will need to modify the client in some way to provide for the PATH (which you can do in various ways, none of which have anything to do with Java specifically although 'WebStart' or whatever it is called might do it.)

  • Please help. Deployment of application locally with BC4J in JDeveloper 3.2.

    Dear all friends,
    I am a beginner of JDeveloper. Yesterday, I asked a question involving deployment of application in this forum. However, there are no any replies to me. I am feeling a bit dispointed. Now, I would like to introduce the process I did this deployment. I wish to get any suggestions.
    1. At first, I developed an project of business component in my NT computer, which is one-table component. I tested it successfully. My database (Oracle 8) is located at a Solaris server.
    2. I deployed this project locally by simply archieve file. I also included all libraries (Jdeveloper runtime, JDBC, JBO runtime etc) in it.
    3. I created an new project for my client interface (GUI form) by using dataform wizard. I complied and execute it. Everything is fine.
    4. Before deploying, I created a library that points at the simply Jar file of my BC file in step2. And added it to the client project properties.
    5. In deployment of client project, I used "web and comand line application" option. And also included all the default library (they are JBO runtime, Jdeveloper runtime, JDBC etc and the library I created in step 4). I indicated the main class.
    However, when I double click this client Jar file. Nothing happened. In my imagination, it should be executed as in development process. I also think all necessary libraries and resource have been packaged into this executable jar file, which is stand alone and can be deployed to other platform. But I failed.
    I need help from you. Is my action and understanding correct?
    Thank you very much for help
    kevin

    However, when I double click this client Jar file. Nothing happened. In my imagination, it should be executed as in development process. I also think all necessary libraries and resource have been packaged into this executable jar file, which is stand alone and can be deployed to other platform. Not all the dependent jar files are packaged into a single jar. I would recommend you create a batch file, set the classpath and the launch your app. To help set the classpath you can use setvars.bat script in the bin directory. You will have to add your middle tier jar file and the client tier jar and execute java
    call j:\bin\setvars.bat -tools=bc4j_local;
    rem dependent jars
    set classptath=%classpath%;mt.jar;ct.jar
    java ....
    Dear all friends,
    I am a beginner of JDeveloper. Yesterday, I asked a question involving deployment of application in this forum. However, there are no any replies to me. I am feeling a bit dispointed. Now, I would like to introduce the process I did this deployment. I wish to get any suggestions.
    1. At first, I developed an project of business component in my NT computer, which is one-table component. I tested it successfully. My database (Oracle 8) is located at a Solaris server.
    2. I deployed this project locally by simply archieve file. I also included all libraries (Jdeveloper runtime, JDBC, JBO runtime etc) in it.
    3. I created an new project for my client interface (GUI form) by using dataform wizard. I complied and execute it. Everything is fine.
    4. Before deploying, I created a library that points at the simply Jar file of my BC file in step2. And added it to the client project properties.
    5. In deployment of client project, I used "web and comand line application" option. And also included all the default library (they are JBO runtime, Jdeveloper runtime, JDBC etc and the library I created in step 4). I indicated the main class.
    However, when I double click this client Jar file. Nothing happened. In my imagination, it should be executed as in development process. I also think all necessary libraries and resource have been packaged into this executable jar file, which is stand alone and can be deployed to other platform. But I failed.
    I need help from you. Is my action and understanding correct?
    Thank you very much for help
    kevin

  • Error deploying a Java Webservice

    In the SAP NetWeaver Developer Studio, when I select the option "Deploy to J2EE engine" on my EAR file, I get the following error:
    java.rmi.RemoteException: Cannot deploy application sap.com/LDAPManagerEAR..
    Reason: Incorrect application sap.com/LDAPManagerEAR:
    Bean EB_bindBean: Remote home interface com.upc.ldap.ejb.EB_bindHome must be a valid RMI-IIOP remote interface.
    Bean EB_bindBean: the return type for a create<METHOD> method of the session bean local home interface must be the session bean local interface type. EJB specification 7.10.8.
    Error in the remote interface com.upc.ldap.ejb.EB_bind of bean EB_bindBean: No corresponding business method in the bean class com.upc.ldap.ejb.EB_bindBean was found for method bindLDAP.
    Error in the local interface com.upc.ldap.ejb.EB_bindLocal of bean EB_bindBean: No corresponding business method in the bean class was found for method bindLDAP.; nested exception is:
    com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/LDAPManagerEAR:
    Anybody can help me ? Thanks

    Hi Joan
    It looks like an error on relationship between the ear project and the EJB, if it is the first time you are deploying the ear file, delete the ear project and create again.
    Best

Maybe you are looking for

  • Firefox crashed, now won't start, crash reporter message every time

    Greetings, I was using firefox as usual and all of the sudden it crashes and it's now gone and everytime I try to start up a new browser the same crash reporter message comes on: "Firefox had a problem and crashed. We'll try to restore your tabs and

  • Unable to replicate Business partner Address

    I am replicating Business Partner(BP) from ECC 6.0 to CRM 7.0. r3am1 shows that all objects have been loaded sucessfully....however when I enter data using bp transaction in ECC the address doesn't get replicated in CRM. the adress fields show up emp

  • How to Call Program? Thx

    I got a problem as follows: There is a application which has two frames, Frame1 and Frame2. Frame2 has a program to be executed. But normally, when run the application, only Frame1 will be called to run. Thus, here I would like to know how to run the

  • HELP, please.  Uninstall of Adobe 6.0

    I had issues installing Adobe 8.0 and losing my printer connection to create pdf files.  HP was no help, so I tried to do a system restore to get the computer back to the state it was a few days ago.  I have 6.0 back, but also all files for 8.0 are s

  • Garbage Collector - which one?

    How can I tell which Garbage collector is being invoked? I'd like proof that serial or parallel is indeed running.