Error when deploying to local instance of jdeveloper

Hello,
I had an application that has been working for quite a while now. Suddenly, I'm getting the following errors when I try to run the application:
[Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
/home/tester/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config>
/usr/java/jdk1.5.0_15/bin/java -server -classpath /opt/jdev10.1.3.3/j2ee/home/oc4j.jar:/opt/jdev10.1.3.3/jdev/lib/jdev-oc4j-embedded.jar -Xms512M -Xmx512M -Djbo.debugoutput=console -Djava.security.auth.login.config=file:/home/barber2/jdevhome/mywork/rasdb/ViewController/config/rasdb/java.login.config -Dllnl.environment=dev -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/tester/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml
[waiting for the server to complete its initialization...]
Nov 13, 2008 2:25:50 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
Nov 13, 2008 2:25:52 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Nov 13, 2008 2:25:52 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
08/11/13 14:29:09 java.net.ConnectException: Connection timed out
08/11/13 14:29:09      at java.net.PlainSocketImpl.socketConnect(Native Method)
08/11/13 14:29:09      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
08/11/13 14:29:09      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
08/11/13 14:29:09      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
08/11/13 14:29:09      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
08/11/13 14:29:09      at java.net.Socket.connect(Socket.java:520)
08/11/13 14:29:09      at java.net.Socket.connect(Socket.java:470)
08/11/13 14:29:09      at java.net.Socket.<init>(Socket.java:367)
08/11/13 14:29:09      at java.net.Socket.<init>(Socket.java:209)
08/11/13 14:29:09      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
08/11/13 14:29:09      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
08/11/13 14:29:09      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1202)
08/11/13 14:29:09      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1049)
08/11/13 14:29:09      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
08/11/13 14:29:09      at java.lang.Thread.run(Thread.java:595)
08/11/13 14:29:09 Oracle Containers for J2EE 10g (10.1.3.3.0) initialize
Can someone point me in the right direction?
Thanks in advance!

hi,
Even i'm having the same problem when i try to run the sample loan demo process on my local server.Did you manage to figure out what the problem is??would really appreciate if you can send some advice to me regarding this error.
Thanks and regards,
Hari

Similar Messages

  • Getting Error when deploying the WD application

    hi all,
    Anybody have idea about , what is the reason for the following error. Till now it is working properly. suddenly it is giving the following error when deploying the application.
    2.4.2007 13:17:36 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [004]Deployment aborted
    Settings
    SDM host : eimkopdvs4
    SDM port : 50118
    URL to deploy : file:/C:/WINDOWS/TEMP/temp2898TestWebDynproProj.ear
    Result
    => deployment aborted : file:/C:/WINDOWS/TEMP/temp2898TestWebDynproProj.ear
    Aborted: development component 'TestWebDynproProj'/'local'/'LOKAL'/'0.2007.04.02.13.17.28'/'0':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [EIMKOPDVS4] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:494)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:363)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.sap.engine.deploy.manager.DeployManagerImpl.checkCredentials(DeployManagerImpl.java:2983)
         at com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthMethodInvoker.invokeCheckCredentialsInternal(DeployManagerAuthMethodInvoker.java:51)
         at com.sap.sdm.serverext.servertype.inqmy.extern.ExternalMethodInvoker.invokeCheckCredentials(ExternalMethodInvoker.java:45)
         at com.sap.sdm.serverext.servertype.inqmy.extern.ExternalMethodInvoker.invokeCheckCredentials(ExternalMethodInvoker.java:32)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineOnlineDeployerImpl.checkLoginCredentials(EngineOnlineDeployerImpl.java:173)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:167)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
         at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
         at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
         at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
         at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48)
         at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
         at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
         at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
         at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
         at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
         at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:120)
         at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:89)
         at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)
         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 com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
         at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
         at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)
         at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
         at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
         at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)
         at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
         at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
         at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
         at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
         at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
         ... 37 more
    Caused by: java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.4.71.36,port=50104,localport=3057]
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:420)
         ... 1 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Check if the server is running. If so, try restarting it and then retry.

  • Error when deploying a map

    hello i have the following error when deploying a map in a local database, the mapping is a simple transfert of data between two table,
    ORA-06550: line 0, column 0:
    ORA-04052: erreurs lors de la consultation de l'objet distant [email protected]@KCDBDEV
    ORA-00604: une erreur s'est produite au niveau SQL récursif 1
    ORA-01882: région de fuseau horaire introuvable
    ORA-02063: pré
    any help please
    thanks,
    tarek

    Hello thank u for helping, i have exactly the same problème in Error executing a query using a DB-Link
    but i am not inderstanding the solution, i found the same probleme in metalink, and the solution posted is:
    1. Create an errorstack of the ORA-1882 to see the ALTER SESSION SET TIME_ZONE statement that is causing the ORA-1882 during deployment. To create this errorstack, follow step 1 to 4 below:
    1. Just before you reproduce the error, open a SQL*Plus session with user SYSTEM.
    SQL> alter system set events '1882 trace name ERRORSTACK level 3'
    2. Deploy the mapping to reproduce the ORA-1882
    3. Disable the system event
    SQL> alter system set events '1882 trace name errorstack off';
    4. Take a look at the errorstack (located in the udump directory). Suppose the following statement is in there:
    ALTER SESSION SET TIME_ZONE = 'GMT+02:00'
    2. Modify the run_service.sh(.bat) file as follow:
    * For UNIX:
    Modify owb_server_home/owb/bin/unix/run_service.sh as follows:
    Add the parameter -Duser.timezone="+02:00" to the line where java is started (last line of run_service.sh)
    $JAVAPATH/bin/java -Xmx768M -Djava.awt.headless=true -DORACLE_HOME.....
    e.g:
    $JAVAPATH/bin/java -Xmx768M -Duser.timezone="+02:00" -Djava.awt.headless=true -DORACLE_HOME
    * For Windows:`
    Modify owb_server_home\owb\bin\win32\run_service.bat as follows:
    Add the parameter -Duser.timezone="+02:00" to the line where java is started
    %JAVAPATH%\jre\bin\javaw.exe %JVM_OPTIONS%
    e.g.:
    %JAVAPATH%\jre\bin\javaw.exe -Duser.timezone="+02:00" %JVM_OPTIONS%
    3. Save the file and re-start the Runtime Service using stop_service.sql/start_service.sql.
    but in creating the errorstack of the ORA-1882 i not found the ALTER SESSION SET TIME_ZONE
    and i Modify the run_service i fixed -Duser.timezone="+01:00" cause the time zone here is Europe/Paris but there is no changes.
    the db link is from Oracle 10.2.0.2.0 to 9.2.0.1.0. and owb 10g R2
    other solution?
    thanks,
    tarek

  • Error when Creating a ServiceClientFactory instance JAVA API

    When invoking Assembling a PDF document  quick start I'm having a compilation error when creating a ServiceClientFactory instance:
    //Create a ServiceClientFactory instance
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
    The error is: The type com.adobe.idp.Context cannot be resolved. It is indirectly referenced from required .class files
    All the required jars are a path.
    What esle can be a problem ?
    Thanks, Yan

    Since you are using SOAP, you need to have the AXIS jars available.  They are in the LiveCycle_ES_SDK\client-libs\thirdparty directory:
    activation.jar (required for SOAP mode)
    axis.jar (required for SOAP mode)
    commons-codec-1.3.jar (required for SOAP mode)
      commons-collections-3.1.jar  (required for SOAP mode)
    commons-discovery.jar (required for SOAP mode)
    commons-logging.jar (required for SOAP mode)
    dom3-xml-apis-2.5.0.jar (required for SOAP mode)
    jaxen-1.1-beta-9.jar (required for SOAP mode)
    jaxrpc.jar (required for SOAP mode)
    log4j.jar (required for SOAP mode)
    mail.jar (required for SOAP mode)
    saaj.jar (required for SOAP mode)
    wsdl4j.jar (required for SOAP mode)
    xalan.jar (required for SOAP mode)
    xbean.jar (required for SOAP mode)
    xercesImpl.jar (required for SOAP mode)

  • Error when deploying ear file

    Hello
    What could be the problem that I get this error when deploying my ear file with a web service within.
    [#|2008-03-29T17:43:02.640+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Thread-26;_RequestID=0a164c90-57bc-4d4a-8b3f-270fc4584891;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- C:\Sun\AppServer\domains\domain1\generated\xml\j2ee-apps\agency_app\agency_jar\META-INF\wsdl\AgencyModuleWebServiceService.wsdl (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
         at java.net.URL.openStream(URL.java:1007)
         at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:699)
         at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:643)
         at com.sun.enterprise.deployment.backend.WebServiceDeployer.doWebServiceDeployment(WebServiceDeployer.java:165)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:855)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:339)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:222)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:359)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:214)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
    |#]when I deployed this application on a custom domain setup, it does not fail. But it fails on default domain.
    Regards
    Michael

    How did you create your datasource, can you post the content, without passwords of course.
    Greetings.

  • Invalid change to class error when deploying EJB

    We have EJBs that were built by Webgain Visual Cafe and successfully deploy
    to WLS 5.1. We then use the WLE EJB Deployer Tool to build WLE container
    classes and deploy the same EJBs in WLE 5.1.
    One EJB does not deploy in WLE. The ULOG error message is:
    133929.EA-LAWSTUC!JavaServer.517: main: IJENGINE_CAT:150: ERROR: Invalid
    change to class service.Request
    133929.EA-LAWSTUC!JavaServer.517: main: EJB_CAT:29: ERROR: While deploying
    jar ServiceEJB : com.beasys.weblogic.classloader.RedeploymentException:
    ERROR: Invalid change to class service.Request
    133929.EA-LAWSTUC!JavaServer.517: Finalizer: IJENGINE_CAT:152: INFO: Closing
    jar C:\aj\ServiceEJB_WLE.jar
    Does anyone know what can cause an "invalid change to class" error when
    deploying to WLE 5.1? Especially since the EJB deploys successfully in
    WLS.
    Carl Lawstuen

    Reason: database keeps a reference of the class in JAVA$CLASS$MD5$TABLE table. This table keeps a refrence to all java classes loaded in database, and is present in each schema you deploy classes. That's the reason why if you change the application module name, you can load this classes. It instead keeps a reference if you use DROP JAVA CLASS command to drop a java class from de database. Use DROP JAVA command to clear the reference of the dropped classes when dropping it.
    You can see this table as a class dictionary of the database, and you don't have to handle this records manually.

  • Using ADWrapper but has error when deploy to IIS

    Dear all,
    I am using below link to develop the program.
    Active Directory in VB.Net
    But has error when deploy to IIS as attached screen. Do you  know how to solve??

    Dear all,
    I am using below link to develop the program.
    Active Directory in VB.Net
    But has error when deploy to IIS as attached screen. Do you  know how to solve??
    Hi,
    I am moving this thread to Using Forums >Where is the Forum For…?
    forum, the owner of the forum will direct you to a proper forum.
    I would recommend you check this thread
    http://social.msdn.microsoft.com/Forums/en-US/13bb6961-720d-4604-8eff-22251604cd94/active-directory?forum=whatforum
     which shared a place where you could get help, and since this thread has lasted for a long time, you could create a new thread of that forum to get supports.
    Hello,
    Thank you for the post.  I would suggest posting your question in one of the below mentioned Web sites. Hope this helps you.
    http://social.technet.microsoft.com/Forums/en/winserverDS/threads
    http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.active_directory&cat=en_us_5bd43452-4bab-4720-8df9-d5f37d3153b9&lang=en&cr=us
    Have a great day!
    Tier 2 Application Support  Server and Tools Online Operations Team
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Gettind error when deploying XI module

    Hi,
    I am getting the following error when deploying XI module in J2EE Engine. can anyone help me to proceed. Thanks.
    08/02/22 16:16:59 -  Start updating EAR file...
    08/02/22 16:16:59 -  start-up mode is lazy
    08/02/22 16:17:12 -  EAR file updated successfully for 13047ms.
    08/02/22 16:17:12 -  Start deploying ...
    08/02/22 16:18:27 -  EAR file uploaded to server for 2656ms.
    08/02/22 16:18:29 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/SignEncrypt..
                         Reason: Exception during generation of components of application sap.com/SignEncrypt in container EJBContainer.; nested exception is:
                              com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/SignEncrypt in container EJBContainer.
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:567)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
                         Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/SignEncrypt in container EJBContainer.
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:621)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
                              ... 10 more
                         Caused by: java.lang.NoClassDefFoundError: Lcom/sap/aii/af/service/auditlog/AuditMessageKey;
                              at java.lang.Class.getDeclaredFields0(Native Method)
                              at java.lang.Class.privateGetDeclaredFields(Class.java:1522)
                              at java.lang.Class.getDeclaredFields(Class.java:1098)
                              at com.sap.engine.services.ejb.deploy.verifier.BeanClassCheck.check(BeanClassCheck.java:78)
                              at com.sap.engine.services.ejb.deploy.verifier.session.SessionBeanCheck.check(SessionBeanCheck.java:51)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.checkBean(Verifier.java:82)
                              at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:46)
                              at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
                              at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)

    Hi Indira.
    As I can see in your log, you're getting the exception
    Caused by: java.lang.NoClassDefFoundError: Lcom/sap/aii/af/service/auditlog/AuditMessageKey
    May be you need to include aii_af_svc.jar (AuditLog classes are located into this JAR library) in your EAR archive.
    Regards,
    Gari.

  • Error when deploying JDeveloper 11.1.1.3.0 to WebLogic 10.3

    Hi All,
    Trying to migrate an existing web application which was running on the old Oracle App Server to WebLogic 10.3. In the process upgraded Hibernate, Spring etc. other libraries. Left the existing Strut 1.1 alone. Getting the following error during deployment -
    <Aug 19, 2011 12:05:18 PM EDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Documents and Settings\tariq.ahsan\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\AppServerConversion\MaintenanceWebWebApp.war. Please make sure that the annotations are valid. The error is org.apache.struts.action.ActionServlet>
    <Aug 19, 2011 12:05:18 PM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1313769914734' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'CFMSWeb''
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
    Caused By: java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    I checked if C:\Documents and Settings\tariq.ahsan\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\AppServerConversion\MaintenanceWebWebApp.war\WEB-INF\lib contains the 'Struts.jar'. It doesn't. Could this be the problem?
    Thanks

    You need to add a library which contains all the classes used by struts. I have build a library containing these jars
    <jdev_install>\jdeveloper\jakarta-struts\lib\antlr.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-beanutils.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-collections.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-digester.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-fileupload.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-lang-2.1.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-logging.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\commons-validator.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\jakarta-oro.jar
    <jdev_install>\jdeveloper\jakarta-struts\lib\struts.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\bc4jhtml.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\datatags.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar
    <jdev_install>\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar
    <jdev_install>\jdeveloper\modules\jakarta.jstl_1.1\lib\jstl.jar
    <jdev_install>\jdeveloper\modules\jakarta.jstl_1.1\lib\standard.jarYou need to change jdev_install with the path where you have installed jdev.
    Next you need to remove the content of the weblogic-application.xml. Here jdev has made some entries which later prevent the struts servlet to wort. My weblogic-application.xml looks like
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    </weblogic-application>Then you need to check the web.xml file as jdev tends to make addition here too.
    Timo

  • Error when deploying a mapping to Staging in OWB 11gr2

    Hi,
    I recieve the following error when I try to deploy a simple Source to Stage mapping:
    RPE-01012: Cannot deploy PL/SQL maps to this target schema. The target schema must be in the same instance as the Control Center and have the OWB_USER role granted.
    I have spent few hours researching it, but have not yet found a solution.
    My environment:
    DB 11gr2 on Red Hat Linux. (OWB Server is on linux and the same machine as its Repository and the 11gr2 db).
    Source is on an Oracle 10.2 DB server in Texas;
    Target (Staging env) is in California, also on Oracle 10.2.
    I can validate the mapping and the Staging table was deployed sucessfully to the Staging DB.
    Do I need to create a repository and workspace on the Target DB (Oracle 10.2) using Repository Assistant? (If that's the case, then would one also need to create OWBSYS?)
    Please help.

    This is an urgent request. Would appreciate it if someone could point out what I may be doing wrong.
    To summarize, my target DB is on Oracle 10.2 in a remote location, so I ran the 3 scripts that OWB Install documents require: Section: Configuring OWB Installed as a Standalone Instance.
    Cat_web.sql, reset_owbcc_home.sql, and remote_owb_install.sql.
    But, when I run the Repository assistant, I get the error above (asking me to install compatible OWB version.)
    Here are the detailed steps:
    1. Ran clean_owbsys.sql
    2. Ran cat_owb.sql (Against USERS Tablespace)
    3. reset_owbcc_home.sql (?? Ora home for Target???)
    4. Ran remote_owb_install.sql (??Ora Home for Target???) -- I have tried different combinations, but no difference.
    For Repository Assistant, here are the detailed steps:
    1. Provide connect info for the remote db (host:Port:Service)
    2. Selected "Managed Warehouse Build Workspaces"
    3. Selected "Create a new Warehouse Builder Workspace"
    4. Select "Create a workspace with an existing user as workspace owner" (Since we have user already defined for this role. Should I create a new one??)
    5. Entered Workspace Owner's User Name, Password and created WKS1 as the Workspace.
    6. Entered System / and Password to logon
    7. Provided Owbsys user id and Password and clicked on Next
    8. As soon as I hit Next on the OWBSYS Information screen, I get the error:
    "OWB software with the compatible version must be installed locally on the database server machine". If it is installed, acquire the DBA user credentials,
    and run the remote_owb_install.sql script on the Oracle Database server machine..."
    (I have tried with different paths for the reset_owbcc_home and remote_owb_install scripts)

  • 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

  • Deployment Error when deploy to Android Emulator

    Dear all,
    I encounter problem when trying to deploy the ADF Mobile application to the Android Emulator.
    I followed the tutorial steps in this link.[ADF Mobile Tutorial|http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html]
    Can anyone please help to advise on this matter?
    FYI, I am using JDeveloper Studio 11.1.2.3.0 and Android 4.2(API 17).
    [12:31:39 PM] Command-line executed: ["C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes.dex", C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\AND_ksoap.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\Container.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\IDMMobileSDK.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\logging_dalvik_release.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\phonegap.jar, C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\vmchannel_dalvik_release.jar]
    [12:31:39 PM] unknown output extension: C:\JDeveloper\mywork\ADF
    [12:31:39 PM] usage:
    [12:31:39 PM] dx --dex [--debug] [--verbose] [--positions=<style>] [--no-locals]
    [12:31:39 PM] [--no-optimize] [--statistics] [--[no-]optimize-list=<file>] [--no-strict]
    [12:31:39 PM] [--keep-classes] [--output=<file>] [--dump-to=<file>] [--dump-width=<n>]
    [12:31:39 PM] [--dump-method=<name>[*]] [--verbose-dump] [--no-files] [--core-library]
    [12:31:39 PM] [--num-threads=<n>] [--incremental] [--force-jumbo]
    [12:31:39 PM] [<file>.class | <file>.{zip,jar,apk} | <directory>] ...
    [12:31:39 PM] Convert a set of classfiles into a dex file, optionally embedded in a
    [12:31:39 PM] jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions
    [12:31:39 PM] options: none, important, lines.
    [12:31:39 PM] dx annotool annotation=<class> [--element=<element types>]
    [12:31:39 PM] [--print=<print types>]
    [12:31:39 PM] dx --dump [--debug] [--strict] [--bytes] [--optimize]
    [12:31:39 PM] [--basic-blocks | --rop-blocks | --ssa-blocks | --dot] [--ssa-step=<step>]
    [12:31:39 PM] [--width=<n>] [<file>.class | <file>.txt] ...
    [12:31:39 PM] Dump classfiles, or transformations thereof, in a human-oriented format.
    [12:31:39 PM] dx --find-usages <file.dex> <declaring type> <member>
    [12:31:39 PM] Find references and declarations to a field or method.
    [12:31:39 PM] declaring type: a class name in internal form, like Ljava/lang/Object;
    [12:31:39 PM] member: a field or method name, like hashCode
    [12:31:39 PM] dx -J<option> ... <arguments, in one of the above forms>
    [12:31:39 PM] Pass VM-specific options to the virtual machine that runs dx.
    [12:31:39 PM] dx --version
    [12:31:39 PM] Print the version of this tool (1.7).
    [12:31:39 PM] dx --help
    [12:31:39 PM] Print this message.
    [12:31:39 PM] Command-line execution failed (Return code: 1)
    [12:31:39 PM] Command-line executed: "C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes.dex" C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\classes C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\AND_ksoap.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\Container.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\IDMMobileSDK.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\phonegap.jar C:\JDeveloper\mywork\ADF Mobile Tutorial 1\deploy\ANDROID_MOBILE_NATIVE_Debug\framework\build\jar\vmchannel_dalvik_release.jar
    [12:31:39 PM] Shutting down Android Debug Bridge server...
    *[12:31:39 PM] Deployment cancelled.*
    *[12:31:39 PM] ---- Deployment incomplete ----.*
    *[12:31:39 PM] Deployment failed due to one or more errors returned by 'C:\Android\adt-bundle-windows-x86_64\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):*
    Command-line execution failed (Return code: 1)

    It looks like you've spaces in the path where you've created your ADF Mobile workspace:
    C:\JDeveloper\mywork\ADF Mobile Tutorial 1
    I suggest that's throwing the command off. Close JDev, remove the spaces, reopen JDev then the workspace. Try again.
    CM.

  • Deploy errors when deploying reports having external assembly references

    Hi,
    I’m trying to move our Reporting Services files into the new BI Report Server Project in VS2010 / Data Tools 2012. This project type seems to work well  - except that I’m having problems using the deploy functionality for reports with references to external
    .Net assemblies. No matter how I try, deploy function results in errors even though I can manually upload my reports (using Report Manager web interface) and successfully execute them.
    Using a simple test report, containing nothing else than a textbox with the following expression:
    =TimeZoneInfo.ConvertTime(DateTime.Now, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time"))
    and a reference to a version 3.5 System.Core dll (set in report properties->References) like this:
    System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    deploying this report results in an error “The definition of the report '/Report1' is invalid.”. Preview (using .Net 4) doesn’t work as “[BC30560] ‘TimeZoneInfo’ is ambiguous in the namespace ‘System’”. However, a manual upload via Report Manager yields no
    errors and works fine.
     If I Remove the reference to System.Core I get another deploy error “The Value expression for the textrun ‘Textbox1.Paragraphs[0].TextRuns[0]’ contains an error: [BC30451] Name 'TimeZoneInfo' is not declared” which I guess makes sense since TimeZoneInfo
    is not part of .net 2.0 which seems to be used by the Report Server. But, removal of the this System.Core reference makes preview in SSRS work again.
    It seems like the deploy functionality if SSRS/Data Tools doesn’t consider the external report references, but preview does. Has anyone worked around this? I’d really like to use the deploy functionality. Also, using SQL Server 2012, is it not possible to have
    report server using a later CLR version than 2.0 for expressions and custom code?
    Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel
    SQL Server 2012
    Microsoft SQL Server Data Tools   10.3.20225.0
    Microsoft SQL Server Reporting Services Designers  Version 11.0.2100.60
    Thanks

    Hi,
    I'm having the exact same problems.
    I even tried copying the System.Core 4.0 DLL to %PROGRAMFILES%\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin. In that case, I get the following error when attempting to deploy the report to my local report server instance:
    Error 1 Error while loading code module: ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. Details: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
    If anyone has any idea how to resolve this, please help.
    Thanks!

  • Error when deploying a simple Entity bean (EJB3) on Glassfich or Sun AS

    Hi,
    After some problems when deploying complex EJB3 Entity bean on GlassFich with a MySQL connector, I have made a simple entity.
    (test with Glassfish and Sun AS with same result)
    With netbean 5.5 => New EJB Module
    File->New->Persistence Unit (and use default values)
    Persistence.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
      <persistence-unit name="test" transaction-type="JTA">
       <provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
        <jta-data-source>jdbc/sample</jta-data-source>
        <properties>
          <property name="toplink.ddl-generation" value="create-tables"/>
        </properties>
      </persistence-unit>
    </persistence>File->New->Entity Class
    EntityTest.java
    package test;
    import java.io.Serializable;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    @Entity
    public class EntityTest implements Serializable
        @Id
        @GeneratedValue(strategy = GenerationType.AUTO)
        private Long id;
        /** Creates a new instance of EntityTest */
        public EntityTest()
        public Long getId()
            return id;
        public void setId(Long id)
            this.id = id;
        public String toString()
            //TODO change toString() implementation to return a better display name
            return "" + this.id;
    }Build of project work fine but when I try to deploy (with the 2 servers), I have the error :
    Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- null
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
    at java.util.HashMap$KeyIterator.next(HashMap.java:823)
    at com.sun.enterprise.deployment.backend.EjbModuleDeployer.generatePolicy(EjbModuleDeployer.java:203)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

    Yes, the problem is that the ejb-jar must contain at least one ejb component. It's a common misconception that Java Persistence API Entity classes are ejb components but they are NOT. The Java Persistence API was developed within the EJB 3.0 JSR and works very well with EJB but the entity classes themselves are not full-fledged ejb components.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • BUG - Error when deploying to 10.1.3 AS Preview 4 on Linux

    I am using JDeveloper 10.1.3 EA on a Windows machine and am deploying to Oracle Application Server 10g 10.1.3 Preview 4 on a Linux box. I'm deploying an ADF Struts web project that is having troubles displaying my sceens. When I try to view any one of my JSPs, I get this error:
    java.lang.NoSuchMethodError: oracle.adf.share.http.ServletADFContext.setVariableResolver(Ljava/lang/Object;)V
    at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:222)
    at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:211)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:699)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:397)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:833)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:430)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.AJPRequestHandler.run(AJPRequestHandler.java:290)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.AJPRequestHandler.run(AJPRequestHandler.java:179)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:215)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:232)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$1000(ServerSocketAcceptHandler.java:35)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:819)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:534)
    Using a java decompiler, I've been able to locate the method setVariableResolver() in the ADFContext class which ServletADFContext.java extends. This can be found in the adfshare.jar. So I have no idea why the server can't find this method when I know it exists. I thought maybe I had an old adfshare.jar and so I replaced it everywhere I found it on the app server with the jar file that comes with JDev 10.1.3 EA. But this proved to be a dead end, as well as everything else I've tried. I've even tried reinstalling the app server. Has anyone else installed App Server 10.1.3 Preview 4 on a Linux box? Is there some qwerk that you found to get it working?
    Additionally I have created a very simple project with nothing but a JSP and it works. So I'm led to believe that there is some ADF JAR file that is not quite right. My ADF Struts web project worked using the same app server on Windows 2003. However I ran into a different problem with that: BUG - Connection pooling with 10g 10.1.3 Preview 4 App Server
    So we have decided to make the move to Linux but I can't get past this error. I have updated the ADF Runtime Libraries and I've swapped out the JDK and JRE with 1.5. Any help would be greatly appreciated.

    The adfshare.jar does not get included with my app. I've checked my WAR file and this JAR is not found there. I'm completely stumped at this point. Have you had success using Oracle App Server 10.1.3 Preview 4 on Linux?
    I have made some progress narrowing down where the error occurs. When I add data bindings to a JSP, the following code gets added to my web.xml:
       <filter>
         <filter-name>ADFBindingFilter</filter-name>
         <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
         <init-param>
           <param-name>encoding</param-name>
           <param-value>windows-1252</param-value>
         </init-param>
       </filter>
       <filter-mapping>
         <filter-name>ADFBindingFilter</filter-name>
         <url-pattern>*.jsp</url-pattern>
       </filter-mapping>
       <filter-mapping>
         <filter-name>ADFBindingFilter</filter-name>
         <url-pattern>*.jspx</url-pattern>
       </filter-mapping>
       <filter-mapping>
         <filter-name>ADFBindingFilter</filter-name>
         <servlet-name>action</servlet-name>
       </filter-mapping>
    If I delete this code out of my web.xml file, that error message goes away. The ADFBindingFilter class is also included in the error stacktrace. So I'm thinking that this class is the culprit. I'm convinced this is a BUG with Oracle ADF and Linux.
    Another idea perhaps is that the error occurs because I'm developing in JDeveloper on Windows and then deploying to an app server on Linux. My embedded server on Windows runs my app just fine. I have the same OS setup for JDev 10.1.2 and the app server 10.1.2 and I have no problems with that. But I really don't want to have to go back to 10.1.2.

Maybe you are looking for