Version error in Oracle oc4j

I've deployed a servlet testServlet in Oracle oc4j and when I load the servlet in browser, the following error occurs:
java.lang.UnsupportedClassVersionError:
company/abc/testServlet
(Unsupported major.minor version 48.0)
does anyone know why? Thanks.

Hi it_qoo,
Your version of OC4J does not support java version 1.4. Unfortunately, I could not find any details in your post as to what version of OC4J you are using. For certain OC4J versions, there are ways to configure it so that it does support java 1.4.
For your information, this topic has been discussed several times in the OC4J forum at Oracle's Technet Web site.
I suggest searching the forum archives for "1.4" and/or "48.0".
Good Luck,
Avi.

Similar Messages

  • ERROR in oracle/oc4j  referential integrit when separate client.jar/ejb.ear

    When I publish the container ejb.ear in other server and call the client for delete an table that have child the oracle does not show the message exception like that:
    javax.ejb.EJBException: Database error: ORA-02292: integrity constraint (LUIS.FK_FILIAL_FILIAL_EM_EMPRESAS) violated - child record found
    ; nested exception is: java.sql.SQLException: ORA-02292: integrity constraint (LUIS.FK_FILIAL_FILIAL_EM_EMPRESAS) violated - child record found
    It delete the registry in table to pk and the fk is updated to "".

    Is your new project trying to access the database?
    SQL error: Io exception: The Network Adapter could not establish the connection
    Seems to indicate that you have a problem accessing the database probably due to wrong settings of the database connection information.
    Also check your data-sources.xml file for any new entries.

  • Oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.lang.NoSuchMe

    Hi
    i write simple session EJB with simple helloworld method
    Iam using jdeveloper
    Jdeveloper gave option to write sample client to test above session bean
    When i run that client i got this exception
    Am i missing anything
    This is a kind of urgent
    Any help will be appreciated
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.lang.NoSuchMethodException: ejb.SessionEJB.helloworld()
         at com.evermind.server.rmi.RMIConnection.handleExceptionFromMethodInvocation(RMIConnection.java:745)
         at com.evermind.server.rmi.RMIConnection.obtainRemoteMethodResponse(RMIConnection.java:705)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:697)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:70)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:27)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
         at __Proxy1.helloworld(Unknown Source)
         at ejb.SessionEJBClient.main(SessionEJBClient.java:24)
         Nested exception is:
    java.lang.NoSuchMethodException: ejb.SessionEJB.helloworld()
         at java.lang.Class.getMethod(Class.java)
         at com.evermind.server.rmi.RMIConnection.readMethod(RMIConnection.java:492)
         at com.evermind.server.rmi.RMIConnection.handleMethodInvocation(RMIConnection.java:418)
         at com.evermind.server.rmi.RMIConnection.handleOrmiCommandRequest(RMIConnection.java:357)
         at com.evermind.server.rmi.RMIServerConnection.handleOrmiCommandRequest(RMIServerConnection.java:192)
         at com.evermind.server.rmi.RMIConnection.dispatchRequest(RMIConnection.java:325)
         at com.evermind.server.rmi.RMIConnection.processReceivedCommand(RMIConnection.java:275)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:236)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:202)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
         at java.lang.Thread.run(Thread.java:534)
    Process exited with exit code 0.

    java.lang.NoSuchMethodException: ejb.SessionEJB.helloworld()
    Check the method definition.
    Does the method have parameters?
    Is the method helloWorld?

  • JDev 10.1.3 EA: Error initializing Embedded OC4J

    I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -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/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    05/12/29 13:14:24 Application: system is in state FAILED
    05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
    05/12/29 13:14:24 Fatal error: server exiting
    Process exited with exit code 1.
    Anyone got any ideas?

    Check to see if helps
    Unable to start oc4j in Jdeveloper 10.1.3 EA1
    In my case I got that error when trying to connect to MySQL database when using OC4J

  • Error whenever starting OC4J - 10.1.3 EA

    I get the following error whenever I start my local OC4J server when I'm trying to run a ADF BC - based JSF/JSP in a new application:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    \j2sdk1.4.2_01\bin\javaw.exe -ojvm -classpath C:\jdev10.1.3EA\j2ee\home\oc4j.jar;C:\jdev10.1.3EA\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -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 C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    06/01/05 14:53:14 oracle.classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Loader: system.root:0.0.0
         Code-Source: /C:/jdev10.1.3EA/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
         Configuration: <ejb> in wrappers
         Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar
    06/01/05 14:53:14      at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:165) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.SearchSequence.getClass (SearchSequence.java:92) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1676) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:302) [jre bootstrap, by jre.bootstrap]
         at java.lang.Class.forName0 (Native method) [unknown, by unknown]
         at java.lang.Class.forName (Class.java:219) [jre bootstrap, by jre.bootstrap]
         at com.evermind.server.ejb.deployment.SessionBeanDescriptor.createHomeInstance (SessionBeanDescriptor.java:407) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore (EJBPackageDeployment.java:1048) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance (EJBPackageDeployment.java:1101) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome (EJBPackageDeployment.java:500) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.bindHomes (EJBPackageDeployment.java:401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:1015) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationStateRunning.initializeApplication (ApplicationStateRunning.java:206) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.Application.setConfig (Application.java:392) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.Application.setConfig (Application.java:310) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.initializeSystemApplication (ApplicationServer.java:1418) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications (ApplicationServer.java:1401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:896) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:534) [jre bootstrap, by jre.bootstrap]
    In searching the forum I've only found a couple of things that look similar and they suggest the problem is caused when a project is upgraded. The suggested solution is running the project in JDK 1.5. (see Error Attempting to Run JSP with 10.1.3.0.3.3412
    However, my project is a new project, created in 10.1.3, and in the project properties --> compiler settings, I've got the source and target set to 1.4. There hasn't been any upgrade to speak of, and my production environment is JDK 1.4.
    I get the same error upon creating a new web application, creating a JSF, placing some Output Text on the page and then attempting to run it.
    Does anyone have any idea how to fix this? If I can't run new applications, I'm in trouble...
    Thanks,
    Andy

    Thanks for the response, Shay.
    I was able to get the server to start up by changing the setting in Project Properties --> Libraries --> J2SE Version to 1.5.
    Are you saying, then, that regardless of which version of JDK you use to compile your project (Project Properties --> Compiler --> Source & Target, both 1.4 in my case), in order to run it on the embedded OC4J server you have to use 1.5 in the setting above? I just want to understand this so that I can be sure that my app will run on my production app server, which runs JDK 1.4. That's what I was referring to as "my production environment" in my original post.
    Thanks again,
    Andy

  • Error when starting OC4J

    I downloaded oc4j 10.1.3 and set the ORACLE_HOME. When i start the using the command oc4j -start i get the following error. Pls help
    C:\OC4J>oc4j -start
    Starting OC4J from C:\OC4J\j2ee\home ...
    OC4J startup failed
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.j2ee.ws.common.mgmt.Interceptor
    Dependent class: oracle.security.wss.interceptors.AbstractSecurityInterc
    eptor
    Loader: oracle.ws.security:10.1.3
    Code-Source: /C:/OC4J/webservices/lib/wssecurity.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/
    boot.xml in C:\OC4J\j2ee\home\oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /C:/OC4J/webservices/lib/wsclient.jar (from system prope
    rty java.library.path)
    This code-source is available in loader jre.bootstrap:1.5.0_14.
    at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.ja
    va:2264)
    at oracle.classloader.PolicyClassLoader.bulkLoadClasses(PolicyClassLoade
    r.java:1538)
    at oracle.classloader.util.XMLConfiguration.bulkLoadClasses(XMLConfigura
    tion.java:885)
    at oracle.classloader.util.XMLConfiguration.access$100(XMLConfiguration.
    java:41)
    at oracle.classloader.util.XMLConfiguration$Externals.load(XMLConfigurat
    ion.java:871)
    at oracle.classloader.util.XMLConfiguration.endElement(XMLConfiguration.
    java:685)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
    nt(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
    ML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
    ML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
    java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
    stractSAXParser.java:1242)
    at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfigur
    ation.java:277)
    at oracle.classloader.util.InitialLoadersFactory.populateLoaders(Initial
    LoadersFactory.java:389)
    at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoad
    ersFactory.java:230)
    at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFa
    ctory.java:167)
    at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:26)
    C:\OC4J>

    Hi Geoff,
    As far as I know, there is no "OC4J 1.3 Developer's Preview" version;
    there is a "9.0.3 Developer's Preview Version". However, I would suggest
    using the "9.0.2 Production Version" (also available for download from the Technet web site: http://technet.oracle.com)
    Also, you need to be using JDK 1.3.1 with that version of OC4J.
    You can find information on how to run OC4J in "debug" mode from the
    Atlassian web site:
    http://www.atlassian.com
    and on the OrionSupport web site:
    http://www.orionsupport.com
    You can also try using the "verbosity" flag, as in:
    java -jar oc4j.jar -verbosity 10
    (10 is the highest value for "verbosity")
    Good Luck,
    Avi.

  • Error calling remote oc4j from within oc4j

    I'm running a session bean inside one instance of oc4j, and trying to make a remote rmi call to another oc4j instance, but running into a problem.
    When both the "client" side oc4j and server side oc4j are 10.1.3.0.0, everything proceeds smoothly. When the "client" side oc4j is upgraded to 10.1.3.3.0, I get the following error when doing the lookup:
    'TestBean' remote object not found during name lookup
    Caused by: javax.naming.NamingException: Disconnected: oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.oc4j.rmi.interceptors.PropagatedIdentity
    Dependent class: com.evermind.io.ClassLoaderObjectInputStream
    Loader: oc4j:10.1.3
    Code-Source: /C:/java/oc4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\java\oc4j\j2ee\home\oc4j.jar
    This load was initiated at testbean.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
    Poking around, I found that the 10.1.3 oc4j doesn't contain any "PropagatedIdentity" class, but 10.1.3.3 does contain that class in the oc4j-internal.jar.
    Has anybody been seen this error or know what causes it? I assume that it should be possible to make a remote call from within one oc4j to another oc4j running a different version, but perhaps there's a conflict with the client classloading that prevents this.
    Any input is appreciated.
    Thanks,
    -- Dave

    Hi Stephen,
    Using a registry, for example UDDI [1], would be one solution. WLS has
    a complete UDDI implementation builtin [2] for this purpose.
    You are correct, you need to pass the service address location found in
    the <service> section of the WSDL.
    Hope this helps,
    Bruce
    [1]
    http://www.uddi.org/
    [2]
    http://e-docs.bea.com/wls/docs81/webserv/uddi.html
    Stephen Kurlow wrote:
    >
    I am not sure what I need to do to be able to call a remote webservice (runs on
    another weblogic server instance running on another machine in the same network)
    from within a webservice. I have 2 wsdl files and I have created webservice controls
    from them. I have successfully written code in the first webservice to instantiate
    the parms to the 2nd webservice and invoked the 2nd webservice when both webservices
    are deployed to the same weblogic server instance. So i can see the params being
    marshalled and unmarshalled in the test browser.
    Now how do I install the 2nd webservice on another weblogic server instance and
    instruct the 1st web service to call the 2nd webservice residing on another weblogic
    server instance? I presume some kind of lookup (url?) is needed and is it via
    what is contained in the wsdl file?
    Thanks in advance,
    Stephen Kurlow

  • Oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data conf

    I have an J2EE application along. This application works fine in IDE(JDeveloper9i), but when I want to deploy the EARfile in Jdeveloper10g,it gives me nested Exception in the code according to the following message in the console:
    Wrote WAR file to C:\jdev1012\Workspaces\Workspace_STInstall\Pr_Dev_Aug05\deploy\webapp1.war
    Wrote EAR file to C:\jdev1012\Workspaces\Workspace_STInstall\Pr_Dev_Aug05\deploy\application1.ear
    Invoking OC4J admin tool...
    C:\jdev\jdk\jre\bin\javaw.exe -jar C:\jdev1012\j2ee\home\admin.jar ormi://strele01.idc.oracle.com:23791 admin **** -deploy -file C:\jdev1012\Workspaces\Workspace_STInstall\Pr_Dev_Aug05\deploy\application1.ear -deploymentName stinstall-ear
    Error: Deploy error: deploy failed!: ; nested exception is:
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:98)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:30)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:30)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.server.XMLServerConfig.storeConfig(XMLServerConfig.java:1249)
         at com.evermind.server.XMLServerConfig.storeJAZNConfig(XMLServerConfig.java:1197)
         at com.evermind.server.XMLServerConfig.mkUserManager(XMLServerConfig.java:174)
         at com.evermind.server.XMLServerConfig.initUserManager(XMLServerConfig.java:333)
         at com.evermind.server.XMLServerConfig.initUserManagers(XMLServerConfig.java:240)
         at com.evermind.server.XMLServerConfig.postInit(XMLServerConfig.java:643)
         at com.evermind.server.deployment.EnterpriseArchive.postInit(EnterpriseArchive.java:1035)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:181)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:317)
         at com.evermind.server.ServerComponent.copyAndDeploy(ServerComponent.java:386)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:288)
         at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:283)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:120)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ---- Embedded exception
    java.lang.InstantiationException: Could not read jazn-data config file: file:/C:/jdev1012/j2ee/home/application-deployments/stinstall-ear/jazn-data.xml for stinstall-ear (C:\jdev1012\j2ee\home\application-deployments\stinstall-ear\jazn-data.xml (The system cannot find the file specified))
         at com.evermind.server.XMLServerConfig.storeConfig(XMLServerConfig.java:1249)
         at com.evermind.server.XMLServerConfig.storeJAZNConfig(XMLServerConfig.java:1197)
         at com.evermind.server.XMLServerConfig.mkUserManager(XMLServerConfig.java:174)
         at com.evermind.server.XMLServerConfig.initUserManager(XMLServerConfig.java:333)
         at com.evermind.server.XMLServerConfig.initUserManagers(XMLServerConfig.java:240)
         at com.evermind.server.XMLServerConfig.postInit(XMLServerConfig.java:643)
         at com.evermind.server.deployment.EnterpriseArchive.postInit(EnterpriseArchive.java:1035)
         at com.evermind.xml.XMLConfig.init(XMLConfig.java:181)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:317)
         at com.evermind.server.ServerComponent.copyAndDeploy(ServerComponent.java:386)
         at com.evermind.server.ServerComponent.initDeployment(ServerComponent.java:288)
         at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:283)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:120)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Exit status of OC4J admin tool (-deploy): 1
    Elapsed time for deployment: 8 seconds
    #### Deployment incomplete. #### Aug 17, 2005 5:19:14 PM
    Does any one knows the cause of this exception??????????Plz. help
    Message was edited by:
    user446879

    Thanks....
    Contents of the orion-application.xml are below:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
    <orion-application>
    <data-sources path="./data-sources.xml"/>
         <!-- mapping for realm "jazn.com" -->
    <security-role-mapping name="stonly">
              <group name="stonlys" />
         </security-role-mapping>
         <security-role-mapping name="stinternal">
              <group name="stusers" />
         </security-role-mapping>
         <security-role-mapping name="stadmin">
              <group name="stadmins" />
         </security-role-mapping>
    <security-role-mapping name="stinstallconfig">
              <group name="stinstallconfigs" />
         </security-role-mapping>
    <security-role-mapping name="stcalendar">
              <group name="stcalendars" />
         </security-role-mapping>
    <security-role-mapping name="stemail">
              <group name="stemails" />
         </security-role-mapping>
         <security-role-mapping name="stem">
              <group name="stems" />
         </security-role-mapping>
         <security-role-mapping name="stfile">
              <group name="stfiles" />
         </security-role-mapping>
         <security-role-mapping name="stintegclient">
              <group name="stintegclients" />
         </security-role-mapping>
         <security-role-mapping name="strtc">
              <group name="strtcs" />
         </security-role-mapping>
         <security-role-mapping name="stusearch">
              <group name="stusearchs" />
         </security-role-mapping>
         <security-role-mapping name="stcportlet">
              <group name="stcportlets" />
         </security-role-mapping>
         <security-role-mapping name="stwireless">
              <group name="stwires" />
         </security-role-mapping>
    <security-role-mapping name="stvmfax">
              <group name="stvmfaxs" />
         </security-role-mapping>
         <!-- use JAZN-XML by default -->
         <jazn provider="XML" location="./jazn-data.xml" />
         </orion-application>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Plz. clarify about the listing of the EAR file you wants to have a look??

  • JSR168 Portlet Exception with Oracle OC4J and Spring

    JSR168 Portlet Exception with Oracle OC4J and Spring
    I’m having a problem with accessing a Spring JSR168 Portlet when deployed on Oracle OC4J. I have created a very simple portlet that just renders simple jsp page. I created two versions. One using GenricPortlet and one using org.springframework.web.portlet.mvc.AbstractContro ller. The non-Spring portlet deploys and runs as expected. The Spring portlet deploys but throws the following exception
    Code:
    07/11/05 08:23:44 [ERROR] DispatcherPortlet - Could not complete request <javax.portlet.PortletException>javax.portlet.PortletExcept
    ion
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:74)
    at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1077)
    at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:809)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:475)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:445)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
    at oracle.portlet.wsrp.v1.WSRPv1ToServer.getMarkup(WSRPv1ToServer.java:4512)
    at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v1_Markup_PortTypeSoapToJaxb.java:68)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v1_Markup_Binding_SOAP_Tie.java
    :60)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.processingHook(WSRP_v1_Markup_Binding_SOAP_Tie.java:7
    79)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.servlet.ServletException: Error in servlet
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:759)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:65)
    ... 34 more
    Nested Exception is javax.servlet.ServletException: Error in servlet
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:759)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
    at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    at oracle.portlet.server.containerimpl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:65)
    at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1077)
    at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:809)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:475)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:445)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
    at oracle.portlet.wsrp.v1.WSRPv1ToServer.getMarkup(WSRPv1ToServer.java:4512)
    at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v1_Markup_PortTypeSoapToJaxb.java:68)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v1_Markup_Binding_SOAP_Tie.java
    :60)
    at oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_Markup_Binding_SOAP_Tie.processingHook(WSRP_v1_Markup_Binding_SOAP_Tie.java:7
    79)
    at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    2007-11-05 08:23:44.085 WARNING An internal error has occurred in method getMarkup()
    I have managed to deploy and run the Spring portlet using Sun App Server and Sun Portlet container with no problems which leads me to believe my Spring setup is correct.
    I also have managed to run the Spring pets portlet example on Sun App Server and Sun Portlet container with no problems. But again it fails on Oracle with the same problem.
    To deploy on Oracle I ran the oracle wsrp jar against my EAR. As far as I can tell it has not corrupted any of the Spring setup in the web.xml.
    The version are as follows
    Oracle Portal 10.1.4 running on OAS 10.1.2
    calling the portlet using WSRP v1.
    The portlet is running on standalone OC4J 10.1.3.3 with Oracle portlet container 10.1.3.2. On Windows Spring 2.0.6.
    Any ideas? Thanks Paul

    Was an answer ever found? I am currently experiencing the same issue.
    Edited by: user10567841 on Nov 8, 2008 12:21 PM

  • Try to use J2SE Version 6 with Oracle E-Business Suite 11i

    Dears ,
    i have an upgrade task from 11.5.10.2 to R12.1.1 and database from 9.2.0.8 to 11.2
    so i apply patches :
    1- 7429271
    2- Upgrading Developer 6i with Oracle Applications 11i [ID 125767.1]
    3- 9535311
    4- 6241631
    5-upgrade to JRE : Using J2SE Version 6 with Oracle E-Business Suite 11i [ID 401561.1]
    when i run :
    txkrun.pl -script=SetJDKCfg -contextfile=$CONTEXT_FILE -runautoconfig=Yes -appspass= <APPS_schema_passwd> -jdktop=[JDK60_TOP]
    faced error :
    java.lang.NoClassDefFoundError: java/util/HashMap
    at
    at oracle.apps.ad.tools.configuration.Customizer.getProdTopDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.Customizer.getAllDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.getAllConflicts(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.main(Compiled Code)
    Exception in thread "main" Using Context file : /vol3/oracle/prdappl/admin/PRD_mcd-test.xml
    Context Value Management will now update the Context file
    and when try to run autoconfig on APPSTier i faced :
    java.lang.NoClassDefFoundError: java/util/HashMap
    at
    at oracle.apps.ad.tools.configuration.Customizer.getProdTopDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.Customizer.getAllDrivers(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.getAllConflicts(Compiled Code)
    at oracle.apps.ad.tools.configuration.VersionConflictListGenerator.main(Compiled Code)
    Exception in thread "main" ERROR: Version Conflicts utility failed.
    Terminate.
    how can i solve it .
    your response will be highly appreciated
    Regards ,,,
    Mohamed Mahgob

    Please see these docs.
    Creating "appsutl.zip" Failed On "java.lang.NoClassDefFoundError: java/util/HashMap", What is the Potential Solution ? [ID 1310838.1]
    AdMKAppsUtil.pl Failing Can't Find Java HashMap [ID 1338399.1]
    After Applying Patch 9535311 Get java.lang.NoClassDefFoundError: java/util/HashMap Error [ID 1188327.1]
    Thanks,
    Hussein

  • Migration from Oracle OC4J to Weblogic 10.3 and CLOB ClassCastException

    I am migrating a web application from Oracle OC4J to Weblogic 10.0.3. In this application there are number of java files which uses the following piece of code and I can't change that:
    oracle.sql.CLOB clob = (oracle.sql.CLOB)rs.getClob(columnNumber);
    I have deployed the application on Weblogic Application Server. But when I run the application, it gives me the following exception:
    *1. SEVERE: Standard exception info for exception of type: 'java.lang.ClassCastException' at level: 0 - Error Text: 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB'*
    *2. Apr 3, 2008 10:19:33 AM com.agencyport.menu.MenuController insert*
    *3. SEVERE: java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB*
    *4.*
    *5. at com.agencyport.database.OracleDatabaseAgent.updateLOB(OracleDatabaseA*
    *6. gent.java:111)*
    *7. at com.agencyport.menu.MenuController.insert(MenuController.java:815)*
    [Post New]posted Today 11:09:13 AM private message
    Quote [Up]
    Dear Marcos,
    I have tried using ojdbc5, ojdbc6 and classess12 but with the same result. I am stuck with the problem. I have googled a lot but in vein. In some posts I got the idea to use weblogic.jdbc.vendor.oracle.OracleThinClob. But there is no package or class like mentioned in bold, available in weblogic.jar that I get from WEBLOGIC_HOEM/lib. I have downloaded weblogic 10.3 two times but still got no solution. weblogic.jar does not contain weblogic.jdbc.vendor.oracle.OracleThinClob.
    I have also read about using weblogic.jdbc.common.OracleClob to write unicode data but I do not find this package within the weblogic.jar
    Any idea please......
    Regards
    Muhammad Ijaz

    Have you reviewed this set of documentation:
    http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1043705
    http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1045809
    http://download.oracle.com/docs/cd/E12839_01/wls/docs103/jdbc/thirdparty.html#wp1043777
    There is also a special forum for WebLogic JDBC related questions:
    WebLogic Server - JDBC

  • Error in Oracle API  HZ_CUST_ACCOUNT_V2PUB.create_cust_account

    Error in Oracle API HZ_CUST_ACCOUNT_V2PUB.create_cust_account
    Column account_number must have a value.
    why?

    What is the apps version ?
    Have you gone through these notes:
    Using TCA API's Including Examples [ID 201243.1]
    How To Create A Customer Via TCA API [ID 159393.1]

  • JSP Compilation Error when using OC4J out of the box

    Hello.
    After installing Java jdk 1.5.0_05, setting ORACLE_HOME, setting JAVA_HOME, rebooting, and installing OC4J standalone straight out of the box, I have deployed a simple web project that consists of just one JSP. I receive the following error message:
    NOTIFICATION J2EE JSP-0008 Unable to dispatch jsp Page: oracle.jsp.provider.JspCompilationException: Errors compiling: C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\persistence\_pages\\_Test.java<pre></pre>
    I have deployed a number of Flex2 applications without incident. What am I missing here? Another odd thing is that my organization has OAS running and it can render JSPs fine.
    Any help is appreciated thanks,
    Mike
    P.S. I have gone back and set the JSP debug switches, but they do not yeild much more info. Here is the stacktrace:
    NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\oc4j_jsp\persistence\_pages\\_Test.java</H3><pre></pre>
         at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
         at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Unknown Source)

    I had the very same Problem, and I spent a lot of time on it.
    When installing Oc4j as a service using Javaservice opnesource, I had no problem, even using J.D.K 1.6:
    %JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -XX:PermSize=128m -XX:MaxPermSize=256m -Xmx1024M -Xms1024M -Djava.class.path=%OC4J_HOME%\oc4j.jar -start oracle.oc4j.loader.boot.BootStrap -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -auto -description OC4JService
    Then I wanted to install it using "ServiceMill" or "Javaservice Wrapper", becuase it has a better control on the process and I had that awfull compilation error.
    I guess it is because ServiceMills uses java.exe and javaservice the .dll to launch the oc4j, no idea.
    Anyway, thank you very much!!!!!
    Antonio

  • Getting error in Oracle EDQP Webservice call using Soap UI

    Hi ,
    I am trying to use Oracle EDQP webservice : http://<<hostname>>:<<port>>/datalens/ws/Processor
    when i trying to access the processOneLine or processList operation, i am getting the follwing error:
    <faultstring>oracle.pdq.api1.minicore.SaDetailException: 1318: Invalid job step - Either you must specify a step name when there are multiple output steps or there are no output steps that return a result.
    Code: 1318
    Details: Either you must specify a step name when there are multiple output steps or there are no output steps that return a result.</faultstring>
    Please help me to resolve this issue.
    Thanks in Advance.
    - Raj

    Hi Raj,
    Not sure if this is already resolved.
    Seems your DSA has atleast 2 outputs. As of Version 11.1.1.6.1 the webervice allows calls to DSAs with only 1 output. So your options are:
    Combine your outputs to single output
    Use other integration methods
    Hope this helps.
    Thanks!
    Anand Lonkar

  • Error Install Oracle XE on Debian

    Hello, I am trying to install Oracle XE in my Debian.
    I have lowered deb from Oracle and also used apt sources that appears in a message in the forum. From the two forms I obtain some errors in the installation and to me it is not working the data base well.
    I detail the errors to them.
    This error appears when install (dpkg -i oracle....deb), with both version
    Setting up oracle-xe-universal (10.2.0.1-1.0) ...
    Executing Post-install steps...
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 65: test: !=: unary operator expected
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 71: test: !=: unary operator expected
    /var/lib/dpkg/info/oracle-xe-universal.postinst: line 1: bc: command not found
    You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
    Then when i run /etc/init.d/oracle-xe configure the process don't show any error, but log messages contain this :
    CloneRmanRestore.log:
    LRM-00116: syntax error at 'audit_file_dest' following '='
    ORA-01078: failure in processing system parameters
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    declare
    ERROR at line 1:
    ORA-01034: ORACLE not available
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    cloneDBCreation.log
    Create controlfile reuse set database "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    BEGIN dbms_backup_restore.zerodbid(0); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    LRM-00116: syntax error at 'audit_file_dest' following '='
    ORA-01078: failure in processing system parameters
    Create controlfile reuse set database "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter system enable restricted session
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter database "XE" open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter database rename global_name to "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter system switch logfile
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter system checkpoint
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter database drop logfile group 3
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ALTER TABLESPACE TEMP ADD TEMPFILE '/usr/lib/oracle/xe/oradata/XE/temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    ERROR at line 1:
    ORA-01034: ORACLE not available
    select tablespace_name from dba_tablespaces where tablespace_name='USERS'
    ERROR at line 1:
    ORA-01034: ORACLE not available
    select sid, program, serial#, username from v$session
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter user sys identified by "oracle"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter user system identified by "oracle"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    alter system disable restricted session
    ERROR at line 1:
    ORA-01034: ORACLE not available
    <b>postDBCreation.log</b>
    begin
    ERROR at line 1:
    ORA-01034: ORACLE not available
    create spfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfileXE.ora' FROM pfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/init.ora'
    ERROR at line 1:
    ORA-01078: failure in processing system parameters
    LRM-00116: syntax error at 'audit_file_dest' following '='
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/initXE.ora'
    select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    BEGIN utl_recomp.recomp_serial(); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    <b>postScripts.log</b>
    CREATE OR REPLACE LIBRARY dbms_sumadv_lib AS '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libqsmashr.so';
    ERROR at line 1:
    ORA-01034: ORACLE not available
    create or replace directory DATA_PUMP_DIR as '/usr/lib/oracle/xe/app/oracle/admin/XE/dpdump/'
    ERROR at line 1:
    ORA-01034: ORACLE not available
    commit
    ERROR at line 1:
    ORA-01034: ORACLE not available
    BEGIN dbms_swrf_internal.cleanup_database(cleanup_local => FALSE); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    commit
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Can somebody help me?
    Message was edited by:
    anionline

    There is a not shown dependancy on bc in the Oracle XE rpm ( see thread Dependency
    ). If bc can not be found, the sga can't be properly calculated and most likely the subsequent steps fails. You can easily workaround this problem if prior to installation you install bc ( apt-get install bc)
    Best regards
    Maxim

Maybe you are looking for

  • Opening attachments with a dot in the name in the Mail app

    I'm having an issue opening attachments in Mail when the file includes a dot in the name. For example, a file called name.v2.pdf does not seem to be recognized as a PDF file. It's not even recognized as anything, the file is shown in the mail but cli

  • What is the maximum excel file size that can be converted to pdf?

    Currently I am trying to convert a excel file of 37 mb by using pdf generator. And it fails with the exception as java.lang.OutOfMemoryError: Java heap space; nested exception is: java.lang.OutOfMemoryError: Java heap space. Waiting someone help! T_T

  • [JS][CS6] Change hyperlink page destination

    Hi people! I bet this is simple, but I can't work it out.. and documentation is scarce. I want to change the PageDestination of a certain hyperlink via javascript. Lets go with this: app.activeDocument.hyperlinks.itemByName("Hyperlänk 8").destination

  • Process method of ExcelProcessor giving nullpointerexception

    I am trying to export a 10g BI Publisher report in excel format using the BIP API's. I am using FOProcessor (oracle.apps.xdo.termplate.FOProcessor). I am setting a .xdo file in the setData method of FOProcessor. The .xdo files contains the queries wi

  • Draft Incoming Payments Reuse

    Client has a requirement to reuse Draft Incoming Payments as they receive recurring amounts every month against the same GL Accounts (linked to Profit Ctr codes for reporting, may have 20+ lines). Currently the software does not allow you to add a Dr