Error recargando oc4j

buenos dias
mi problema con el oc4j comienza cuando trate de personalizar los jsps del mapviewer. progresivamente fui añadiendo pequeñas funcionalidades, pero hubo un momento que subitamente el servicio oc4j ( el cual estuvo activo durante 20 dias, en un servidor 7x24x365) se cayo y al intentar relanzarlo, esto no se lograba. el eror mostradoi es el sgte.
C:\OC4J\j2ee\home>java -jar oc4j.jar
05/08/15 09:57:13 *** (CRITICAL) Mon Aug 15 09:57:13 GMT-05:00 2005 [Thread[Orio
n Launcher,5,main]] java.lang.InstantiationException: jms.xml: port 9127 alread
y in use.: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at com.evermind.server.Server.createServerSocket(Server.java:165)
at com.evermind.server.jms.JMSServer.initializeSocket(JMSServer.java:114
3)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:180)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer
.java:2354)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:1449)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:92)
at java.lang.Thread.run(Unknown Source)
05/08/15 09:57:13 Error starting JMS-Server: jms.xml: port 9127 already in use.:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at com.evermind.server.Server.createServerSocket(Server.java:165)
at com.evermind.server.jms.JMSServer.initializeSocket(JMSServer.java:114
3)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:180)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer
.java:2354)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:1449)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:92)
at java.lang.Thread.run(Unknown Source)
05/08/15 09:57:14 Error starting ORMI-Server. Unable to bind socket: Address al
ready in use: JVM_Bind
-- es dcri me dice que el puerto 9127 esta ocupado, pero, digo, como puede estart ocupado si no se ha agregado ningun servicio y el mapviewer no esta activo ( los ejemplos no los puedo ver).
trate reinstalando el oc4j pero nada, sigue marcando el error.
-- agradezco anticipadamente su colaboracion.

Suena bastante raro...
Aun asi pareciera que entro en conflicto por el puerto, lo unico que se me ocurre es listar en el sistema operativo cuales son los puertos en uso y que aplicaciones los usan. Una vez tuve el mismo problema y fue al instalar una impresora de red.

Similar Messages

  • Enterprise manager configuration error: error instantiating OC4J Files

    Good day to all.
    Its my first time to install Oracle 11g on my Windows 7 computer.
    After i installed and configured the database, i get this following error , so i can't go through the Enterprise Manager.
    Enterprise Manager Configuration failed due to the following error - Error instantiating OC4J Configuration files
    So i checked the emConfig.log for error details, and i found out that i have some several files missing, in which i checked the folder also.
    I don't know why these files are missing.
    Jun 5, 2012 4:32:53 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml in searching for tag jms-server with attribute port
    java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (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 java.io.FileReader.<init>(FileReader.java:41)
         at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:296)
         at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1297)
    Jun 5, 2012 4:32:53 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml in searching for tag rmi-server with attribute port
    java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
    Jun 5, 2012 4:32:53 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml in searching for tag web-site with attribute port
    java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
    Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.util.FileUtil setAttributeInXML
    CONFIG: Stack Trace:
    java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
    Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
    CONFIG: Failed to set value in server.xml for application-server tag
    Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating OC4J configuration files
    Refer to the log file at C:\app\ROMMEL\cfgtoollogs\dbca\RommelDB\emConfig.log for more details.
    Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error instantiating OC4J configuration files
         at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:427)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:174)
    IT seems that the folder OC4J_DBConsole\config\ does not contain any xml files.!
    Prior to this, i get some files that are not found error when running the SETUP, there are several of them, i just pressed CONTINUE in
    order to finish the installation.
    Hope anyone can give me a good advice and help so that i can start to run Enterprise Manager and to learn how to get around with database creation and configuration
    Im a total newbie in Oracle, so any help would be greatly appreciated.
    Thank you very much.

    Hello.
    I have successfully installed Microsoft Loopback adapter.
    I checked out the installation logs in the Logs directory, i can the error log (oraInstall2012-06-05_12-36-49PM.err) . which contains many errors:
    java.io.FileNotFoundException: C:\Users\ROMMEL\AppData\Local\Temp\Temp1_win64_11gR2_database_1of2.zip\database\stage\Components\oracle.ctx\11.2.0.1.0\1\DataFiles\filegroup12.jar (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
    java.io.FileNotFoundException: C:\Users\ROMMEL\AppData\Local\Temp\Temp1_win64_11gR2_database_1of2.zip\database\stage\Components\oracle.ctx\11.2.0.1.0\1\DataFiles\filegroup12.jar (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
    java.io.FileNotFoundException: C:\Users\ROMMEL\AppData\Local\Temp\Temp1_win64_11gR2_database_1of2.zip\database\stage\Components\oracle.ctx\11.2.0.1.0\1\DataFiles\filegroup5.jar (The system cannot find the path specified)
    java.io.FileNotFoundException: C:\Users\ROMMEL\AppData\Local\Temp\Temp1_win64_11gR2_database_1of2.zip\database\stage\Components\oracle.ctx\11.2.0.1.0\1\DataFiles\filegroup5.jar (The system cannot find the path specified)
    java.io.FileNotFoundException: C:\Users\ROMMEL\AppData\Local\Temp\Temp1_win64_11gR2_database_1of2.zip\database\stage\Components\oracle.ctx\11.2.0.1.0\1\DataFiles\filegroup19.jar (The system cannot find the path specified)
    AND lots of .jar and .rsf files missing.
    What should i do next?
    Thank you.

  • ERROR INSTALLING OC4J CONFIGURATION FILES

    Hi,
    Steps:
    1. Downloaded Oracle11g Rel2 from download.oracle
    2.Installed Software only option and completed installation on my laptop Windows7 ultimate. Selected Enterprise Version, unchecked OLAP,DATA MINING.
      Error message during installation, some files missing .jar files. I have opted to ignore and continue and finally got success installation message.
    3.Configured DB using DBCA.
    4.Able to connect as SYS, SYSTEM.
    Problem.
    I tried to reconfigure DB using DBCA for OEM, received the msg
    ERROR INSTALLING OC4J CONFIGURATION FILES. The summary error log is here.   Appreciate any help.
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml (The system cannot find the file specified)
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml in searching for tag web-site with attribute port
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml (The system cannot find the file specified)
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml (The system cannot find the file specified)
    Mar 8, 2014 9:15:42 AM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
    CONFIG: Failed to set value in server.xml for application-server tag
    Mar 8, 2014 9:15:42 AM oracle.sysman.emcp.EMConfig perform
    oracle.sysman.emcp.exception.EMConfigException: Error instantiating OC4J configuration files
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml in searching for tag jms-server with attribute port
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml in searching for tag rmi-server with attribute port
    thanks
    Ram

    Hi,
    Seems you have not extracted downloaded zip files into same directory. In that case you get error like
    java.io.FileNotFoundException:
    /Disk2/database/stage/Components/oracle.rsf.hybrid/11.1.0.6.0/1/DataFiles/filegroup12.jar (A file or directory in the path name does not exist.)
    java.io.FileNotFoundException:
    /Disk2/database/stage/Components/oracle.rsf.hybrid/11.1.0.6.0/1/DataFiles/filegroup5.jar (A file or directory in the path name does not exist.)
    Also after installation dbca will throw error.
    Try the below
    For AIX platform:
    unzip in the same folder
    $ mkdir 1120
    $ mv aix.ppc64_11g_database_1of2.zip  1120
    $ mv aix.ppc64_11g_database_2of2.zip  1120
    $ cd 1120
    $ unzip aix.ppc64_11g_database_1of2.zip
    $ unzip aix.ppc64_11g_database_2of2.zip 
    $ cd database
    $ ./runInstaller
    This is true for all platforms on which you get two .zip files to download
    For Windows 64 bit example on 11.2.0.1 you can do the following  :
    - create a directory C:\tmp\1120
    - copy winx64_11g_database_1of2.zip and winx64_11g_database_2of2.zip under  C:\tmp\1120
    - unzip winx64_11g_database_1of2.zip and winx64_11g_database_2of2.zipunder  C:\tmp\1120
    Thanks,
    Krishna

  • Error creating OC4J connection

    Hello,
    Could you please help me with the following problem. I get the error listed below when trying to create new OC4J connection by choosing application server node.
    java.lang.RuntimeException: Error getting OC4J Process for: opmn-home+oc4j-{server IP}-6003-default
         at oracle.oc4j.admin.jmx.shared.Oc4jOpmnRmiDomain.getOc4jProcs(Oc4jOpmnRmiDomain.java:616)
         at oracle.oc4j.admin.jmx.shared.Oc4jOpmnRmiDomain.getPort(Oc4jOpmnRmiDomain.java:335)
         at oracle.oc4j.admin.jmx.shared.Oc4jRmiDomain.getRmiPort(Oc4jRmiDomain.java:119)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:433)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.ias.opmn.optic.OpticBadConnectException: Timed out (15000 ms) connecting to OPMN
         at oracle.ias.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:447)
         at oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:178)
         at oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130)
         at oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347)
         at oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467)
         at oracle.ias.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:615)
         at oracle.ias.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:709)
         at oracle.oc4j.admin.jmx.shared.Oc4jOpmnRmiDomain.getOc4jProcs(Oc4jOpmnRmiDomain.java:592)
    Thank you for your help.

    Check out thread JDeveloper Application Server connectivity
    Probably OPMN is listening on a different IP-address, or the server name does not resolve to the same IP-address on your Jdev machine (opmn might send a redirect that Jdev cannot follow).
    Marc

  • Size error using OC4J Works fine in Tomcat 6.0.

    Good afternoon,
    I am making an application under Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) and I have a strange error.
    Initially I am developing the application in an environment with Apache Tomcat 6.0 and the application works perfectly. But yet when I generated the EAR for the application and get in the OC4J. An exception occurs when I have a form on a JSP and sent post size exceeds approximately 30kb.
    When I saw the exception generated thought it could be problem of database, but after checking in Tomcat and OC4J does not, I'm lost and I do not know what to watch.
    Thank you very much everyone.
    This is the exception:
    500 Internal Server Error
    java.sql.SQLException: Data size bigger than max size for this type: 245841
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.OraclePreparedStatement.setRAW(OraclePreparedStatement.java:5610)
         at oracle.jdbc.driver.OraclePreparedStatement.setBinaryStreamInternal(OraclePreparedStatement.java:7198)
         at oracle.jdbc.driver.OracleCallableStatement.setBinaryStream(OracleCallableStatement.java:4633)
         at org.apache.commons.dbcp.DelegatingPreparedStatement.setBinaryStream(DelegatingPreparedStatement.java:157)
         at org.apache.commons.dbcp.DelegatingPreparedStatement.setBinaryStream(DelegatingPreparedStatement.java:157)
         at es.urjc.cui.dao.AccesoDatosContenido.addContenidoID(AccesoDatosContenido.java:115)
         at admin.comun._cargarEnlace._jspService(_cargarEnlace.java:110)
         [SRC:/admin/comun/cargarEnlace.jsp:59]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:356)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    Guys, no replies... Please, do provide the answer.

  • Error deploying OC4J 9.0.3 to Linux RH AS 2.1

    Getting "java.util.zip.ZipException: Is a directory" error in trying to "-install" the oc4j.jar file. It does prompt me for the admin pswd and completes but when I try and launch oc4j, I get the same error and it hangs and/or dumps. I'm using IBM's "J2RE 1.3.1. IBM build csia32131-20020302".
    Any thoughts?
    Brian

    I install a oracle 9i V9.0.2.0.1 on the Redhat
    AS2.1,
    the oas9i is oc4j 9.0.2.0 that isn't support EJB2.0,
    I want only updating the oc4j component to oc4j
    9.0.3.x.
    How to do this ?? Pls help me...Unfortunately, it is not a supported operation to upgrade only the OC4J component of a 9iAS 90201 installation with the standalone 903 version of OC4J.
    If you are using a 9iAS installation, you will need to download and install the 903 version of 9iAS (which is J2EE 1.3 compatible). I believe there is an upgrade assistant which can help with the migration of any configuration settings or applications from your prior installation to the new one.
    -steve-

  • Error running oc4j 9.0.4.0

    Hi I am getting following error when i am trying to use web application deployed in OC4J container. I tried installing JRE and J2SDK both..but, still same error.
    I am using J2EE 10g(9.0.4.0.0) and jdk1.3.1_09/jre1.3.1_09....and i am getting following error...
    04/12/15 17:43:32 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m @.\javac.params.4690298 error=2
    i tried with J2sdk1.4.2_06 and again same problem....
    anybody have any idea whats going on here...i used 9.0.3.0 before and it worked fine for me...but since i moved to 9.0.4.0 i am having all these problems...
    i help will be appricated...
    thanks
    shanky2321

    shanky2321,
    OC4J (stand-alone) 9.0.4 works with J2SDK 1.4
    You must use the SDK (Software Development Kit), and not the JRE (Java Runtime Environment) because, as you can see, OC4J requires the "javac" compiler -- and the compiler is only available in the SDK.
    I'm guessing that you have incorrectly set up your environment. You need to ensure that OC4J is using J2SDK 1.4
    Good Luck,
    Avi.

  • Error in oc4j standalone & JAX-WS 2.0

    Hi!!
    I'm trying to generate a SOAP Message with this code:
    MessageFactory factory =
    MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
    response = factory.createMessage();
    SOAPPart parte =
    response.getSOAPPart();
    parte.setContent(xmlSource);
    response.saveChanges();
    in line "response.saveChanges();" i have this error:
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.EnvelopeFactory
    createEnvelope
    GRAVE: SAAJ0511: Unable to create envelope from given source
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.SOAPPartImpl
    getContentAsStream
    GRAVE: SAAJ0547: Error while trying to externalize
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0539: Unable to get header stream in saveChanges
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0540: Error during saving a multipart message
    It's a web application and i'm debugging with OC4J Standalone from
    Jdeveloper. The Libraries are the libs of JAX-WS 2.0 and the orion-
    web.xml file has:
    <web-app-class-loader search-local-classes-first="true"
    include-war-manifest-class-path="true"/>
    the exception stack:
    07/02/16 11:00:59 java.lang.Exception: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:443)
    07/02/16 11:00:59 at genws.MotorXML.executeWS(MotorXML.java:232)
    07/02/16 11:00:59 at PDFController.process(PDFController.java:321)
    07/02/16 11:00:59 at es.jcyl.pdf.PDFServletEngine.service(PDFServletEngine.java:114)
    07/02/16 11:00:59 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/02/16 11:00:59 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/02/16 11:00:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/02/16 11:00:59 at java.lang.Thread.run(Thread.java:595)
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1126)
    07/02/16 11:00:59 at es.jcyl.genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:437)
    07/02/16 11:00:59 ... 14 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to get header stream in saveChanges:
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1096)
    07/02/16 11:00:59 ... 15 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: SOAP exception while trying to externalize:
    Anybody can help me?
    Thanks

    The error was in the execution of OC4J embebbed. OC4J uses its own libraries for web services and xml.
    You can deploy an application with JAX-WS 2.0 if you add this java option:
    -Xbootclasspath/p:<dir_libs>\xml-apis.jar;<dir_libs>\xercesImpl.jar;<dir_libs>\xalan.jar;<dir_libs>\saaj.api.jar
    And the jars of JAX-WS are added as libraries to the application.
    With this solution you solve the problem: OC4J uses this libraries, not their owns, include the xml libraries.

  • During hibernate query error in OC4J 10.1.3.4

    Hi friends,
    We get following error during one of Transaction execution..
    Anyone has idea abt this please let me know..
    2010-01-05 14:01:17,933(?:?) FATAL - java.lang.ClassCastException: oracle.jdbc.driver.T4CVarcharAccessor incompatible with java.io.Serializable
         at org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:1088)
         at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:554)
         at org.hibernate.loader.Loader.doQuery(Loader.java:689)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
         at org.hibernate.loader.Loader.doList(Loader.java:2145)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
         at org.hibernate.loader.Loader.list(Loader.java:2024)
         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
         at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)
         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    Hello friends,
    I am in a big trouble due to resultset behaviour....
    In my application during one hibernate query execution sometimes resultset.wasnull method stop returning any value.
    I have try to check same issue but no one i think have face this before.
    Sometime when I start OC4j application server, query get executed successfully.. only using connection pooling the same query fails
    even somtime ..
    I need a permenant solution for this. On debugging I come ot know that call to resultset.wasnull under
    hibernate class nullsafegettype somehow not returns any value..
    Return value set to oracle.jdbc.driver.T4CVarcharAccessor which creates problem.
    In my application I am using following versions.
    Oracle database. 10.1.0.5
    Application Server OC4j 10.1.3
    Hibernate Version 3.1
    Oracle JDBC Driver 10.1.0.5.0
    Thanks & Regards
    Edited by: user10313756 on 2010/01/20 18:34

    I am facing same issue ,have you get any work around

  • Error starting OC4J 11-standalone Technology Preview

    I have just downloaded OC4J 11 - standalone on to Fedora 8. When I started the server, an error
    occurred saying: ERROR J2EE RMI-00002 Error starting ORMI server, Invalid keystore format.
    I don't have problems running OC4J 10g-standalone.
    Thanks,
    Goran

    I have just downloaded OC4J 11 - standalone on to Fedora 8. When I started the server, an error
    occurred saying: ERROR J2EE RMI-00002 Error starting ORMI server, Invalid keystore format.
    I don't have problems running OC4J 10g-standalone.
    Thanks,
    Goran

  • Error installing OC4J 10.1.3.1.0

    Hi there,
    I have unzipped the file, I've installed jdk-1_5_0_09 and I have a problem when I try to install OC4J, I execute "java -jar jazn.jar -activateadmin password", I always get an java.lang.NoClassDefFoundError exception oracle/xml/parser/v2/Parser
    Any idea?
    Thanks in advance

    user543710
    You said:
    I've installed jdk-1_5_0_09For your information, there is now JDK 5.0 Update 10 available.
    You also asked:
    Any idea?Maybe, if you can provide the following information:
    * Are you using OC4J stand-alone, or Oracle Application Server (OAS)?
    * Which version of OC4J (or OAS)?
    * Are you trying to install it using the following command?
    java -jar jazn.jar -activateadmin password* What platform are you on?
    Also, please post the entire error message and stack trace you are getting.
    Good Luck,
    Avi.

  • How to solve this error in oc4j?

    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    E:\jdeveloper\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    E:\jdeveloper\jdk\bin\javaw.exe -client -classpath E:\jdeveloper\j2ee\home\oc4j.jar;E:\jdeveloper\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -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 E:\jdeveloper\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    심각: Unable to access code-source: /E:/jdeveloper/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in E:\jdeveloper\j2ee\home\oc4j.jar). Caught java.io.IOException: Unexpected EOF
    08/03/28 14:40:27 경고: Application.setConfig Application: system is in failed state as initialization failed.
    com.evermind.server.ejb.exception.DeploymentException: An Exception occurred initializing the PersistenceUnitManager
    08/03/28 14:40:27 Error initializing server: Application: system is in failed state as initialization failed
    08/03/28 14:40:27 Fatal error: server exiting
    Process exited with exit code 1.

    I searched the forum and face similar problem as you .
    Not sure of the solution

  • Error when OC4J starts

    When I want to run very simple jspx page from Jdeveloper Tehnology preview 3 I get this message in OC4J log:
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    D:\oracle\jdevstudio1111\jdk\bin\javaw.exe -client -classpath D:\oracle\jdevstudio1111\j2ee\home\oc4j.jar;D:\oracle\jdevstudio1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    17.1.2008 11:34:27 oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    SEVERE: Could not open wallet. null
    java.io.IOException: Could not open wallet. null
         at oracle.security.pki.OracleWallet.open(OracleWallet)
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:136)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:139)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:109)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:47)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:129)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:124)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:590)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:585)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:584)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:244)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:238)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:103)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2054)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2130)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2149)
         at com.evermind.server.OC4JServer.main(OC4JServer.java:420)
         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:585)
         at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
    17.1.2008 11:34:27 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    17.1.2008 11:34:29 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: credential store is not available.
    17.1.2008 11:34:29 oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.lang.NullPointerException
         at oracle.security.jps.fmw.JpsUserAdaptor.getAuthenticatedRoleName(JpsUserAdaptor.java:881)
         at oracle.security.jps.fmw.JpsUserAdaptor.<init>(JpsUserAdaptor.java:180)
         at oracle.security.jps.fmw.JpsUserManager.createJpsUserAdaptor(JpsUserManager.java:1490)
         at oracle.security.jps.fmw.JpsUserManager.getAdminUser(JpsUserManager.java:652)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    17.1.2008 11:34:29 oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    What is wrong here?
    Regards,
    Saso

    restart of jdeveloper.. still get error
    reboot of machine.. still get error
    Jdeveloper 11g tech preview 3.. dead in water..
    need help...
    Finished processing prepared classes.
    Jan 24, 2008 12:48:35 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    SEVERE: Could not open wallet. null
    java.io.IOException: Could not open wallet. null
         at oracle.security.pki.OracleWallet.open(OracleWallet)
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:136)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:139)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:109)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:47)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:129)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:124)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:590)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:585)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:584)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:244)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:238)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:103)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2054)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2130)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2149)
         at com.evermind.server.OC4JServer.main(OC4JServer.java:420)
         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:585)
         at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
    Jan 24, 2008 12:48:35 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jan 24, 2008 12:48:36 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: credential store is not available.
    Jan 24, 2008 12:48:36 PM oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.lang.NullPointerException
         at oracle.security.jps.fmw.JpsUserAdaptor.getAuthenticatedRoleName(JpsUserAdaptor.java:881)
         at oracle.security.jps.fmw.JpsUserAdaptor.<init>(JpsUserAdaptor.java:180)
         at oracle.security.jps.fmw.JpsUserManager.createJpsUserAdaptor(JpsUserManager.java:1490)
         at oracle.security.jps.fmw.JpsUserManager.getAdminUser(JpsUserManager.java:652)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Jan 24, 2008 12:48:36 PM oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    Process exited.
    Debugger disconnected from local process.

  • Deployment Error in OC4J Preview

    Help. We are having problems deploying our application to OC4J developer preview. We have successfully deployed numerous times before now, but the error we our seeing makes no sense. Could anyone point me in the right direction? I have copied of the stack trace from the oc4j server. I get this message during a manual deployment of our EJBs.
    java.lang.NullPointerException:
         at com.evermind.util.ClassUtils.getSourceNotation(ClassUtils.java:280)
         at com.evermind.server.ejb.compilation.CMPObjectCompilation.processContainerManagedField(CMPObjectCompilation.java:299)
         at com.evermind.server.ejb.compilation.CMPObjectCompilation.processFields(CMPObjectCompilation.java:242)
         at com.evermind.server.ejb.compilation.PersistenceManagerCompilation.compile(PersistenceManagerCompilation.java:53)
         at com.evermind.server.ejb.compilation.EntityBeanCompilation.compile(EntityBeanCompilation.java:324)
         at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:215)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:545)
         at com.evermind.server.Application.postInit(Application.java:429)
         at com.evermind.server.Application.setConfig(Application.java:136)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1479)
         at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1436)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1099)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
         at java.lang.Thread.run(Thread.java:484)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
    Thanks,
    David

    I found the problem. This error is generated when attributes are defined in the orion-ejb-jar.xml that do not exist in the bean.

  • Version error in oc4j?

    I've deployed a servlet testServlet in 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.

Maybe you are looking for