Critical problem: XMLParseException in oc4j

While deploying a COTS product in OC4J we have encountered the following XMLParseException:
oracle.xml.parser.v2.XMLParseException: Namespace prefix 'xdsig' used but not declared.
     at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:270)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:147)
     at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:150)
     at de.bos_bremen.osci.oscar.services.Tools.a(Unknown Source)
     at de.bos_bremen.osci.oscar.intermed.database.sql.SqlPersistenz.a(Unknown Source)
     at de.bos_bremen.osci.oscar.intermed.IntermedAPI.createResponse2SchedulerListCollOrder(Unknown Source)
     at de.bos_bremen.osci.oscar.intermed.ProcessMsg.processCollection(Unknown Source)
     at de.bos_bremen.osci.oscar.intermed.ProcessMsg.processMsg(Unknown Source)
     at de.bos_bremen.osci.oscar.intermed.ProcessMsg.processMsg(Unknown Source)
     at de.bos_bremen.osci.oscar.intermed.Entry.receiveMessage(Unknown Source)
     at java.lang.reflect.Method.invoke(Native Method)
     at de.bos_bremen.osci.oscar.server.SOAPEntry.invokeMethod(Unknown Source)
     at de.bos_bremen.osci.oscar.server.SOAPEntry.doPost(Unknown Source)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:479)
Our interpretation is that the Oracle XML Parser embedded in OC4J does not know the XML Digital Signature Schema Definition. We can't modify the COTS product to circumvent the problem, so we have to find another solution, e.g.
a) extend the Oracle XML parser so that it is able to validate xdsig, xmlenc schema definitions
b) use another XML parser instead of Oracle (which is, as far as we know, possible but currently not supported).
For our project, the COTS product we try to deploy contains critical functionality. We have to find a solution, since the only fallback would be to use another servlet engine (e.g. Tomcat) or J2EE product!
Can anyone help?
Yours,
S.Knopp
R.Heinrichs
CSC

Good news: the problem was solved by the third party product provider. Obviously the Oracle XML Parser is more restrictive regarding namespace registration than Xerces. The now implemented fix runs with both Xerces and Oracle.

Similar Messages

  • Problem jsp under OC4J

    Hello,
    I have installed Oracle server 10g, last Version of OC4J default settings, and MapViewer.
    I have put my "index.jsp" file in the "D:\oc4j\j2ee\home\default-web-app\" directory, but if I want to reach my jsp by the URL:"http://localhost:8888/index.jsp", I have this error :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Erreurs de compilation :D:\oc4j\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\\_index.java
    I think it's an OC4J configuration problem, but I don't know OC4J. Can you help me?

    See my answer in Problem with jsp, OC4J, MapViewer....
    Regards
    Tugdual Grall

  • Critical problem with new io

    i m working on a simple implementation of message passing interface (mpi). there are multiple machines and all the machines are connected to each other. i have used java sockets. i have used selector both in client machines and server machines (client refers that some machines connect to some other machines and once all the machines are connected they can pass messages to each other). but i find in client machines selectors get message only the first time. later they dont get any further message though several messages are sent to them from server machines. i dont find any other problem anywhere. program runs properly but only in this case i get such critical problem. i cant provide the code. but i hope my intelligent and skilled helpers can understand.

    i have gone through "taming the nio circus" and got no help to solve my problem. i m saying again,
    i m working on a simple implementation of message passing interface (mpi). there are multiple machines and all the machines are connected to each other. i have used java sockets. i have used selector both in client machines and server machines (client refers that some machines connect to some other machines and once all the machines are connected they can pass messages to each other). but i find in client machines selectors get message only the first time, i mean only once. later they dont get any further message though several messages are sent to them from server machines. i dont find any other problem anywhere. servers get msg and send msg perfectlya. program runs properly but only in the mentioned case i get such critical problem. clients dont get problem in sending msg but in receiving msg. i cant provide the code. but i hope my intelligent and skilled helpers can understand.

  • Problem with my OC4J, please help

    Hi
    i have one big problem with my OC4J Application Server: i create an instance, then i deployed my appliation with the .ear file. i have 15 page uix. my problem is when i want to see my application from the browser, some of the page run correctly ans some other no; in other world the one that don't run, in reality it run but it display the last one that run correctly.
    i hope that i m celar.
    can you help me.
    Thank you

    Islem,
    Please post your log file content as well as server version, OS etc. (see:
    http://forums.oracle.com/forums/ann.jspa?annID=818-Michael

  • Please HELP-Problem of Standalone OC4J Container

    Hi All,
    I developed one ERP Product using ADF BC Swing and deploymed at 3 clients running online,But problem is of OC4J,
    When i Start Standalone OC4J then user connects and do the entries,but when he close his form or Application then oc4j is not releasing the JDBC connection.so because of that my Connections in use are Increasing Very Much and At one Instance its Increasing Maximum Limit in Database so then i have to Restart the Application Server after that the Connection in use get zero,it is working fine for next 8 hr then same situation will occur and I have to restart my Appllication. because of this My Clients are not satisfied,they are shouting on me.
    I am Using JDeveloper (10.1.3.0.4) and OC4J 10.1.3.0 and OracleDB 10g .
    1) I am not able to understand weather the oc4j is not capable of handling such big Transactions?
    2) If so then what is the alternate solution for this,can i go for Oracle Application Server.
    3) If so then which is the best or suitable version of Application Server for my application ?
    4) How to Install Application Server on Redhat Enterprise Linux 5 ?
    5) How to Deployee ADF BC Swing Application on it?
    Please guide me so that i will correct myself.
    Thanks In Advance
    Vijay Chavan

    You might want to post it in OC4J forum here:
    OC4J

  • Critical problem after update OS X Server 3.0,anyone can help me?

    first of all,forgive me using the "critical problem".... corz I am totally crazy now...Before I update,OS X server 2.2 working on OS X 10.8,and everything works fine.
    After I upgrade to OS X 10.9 Mavericks, the old server app shows "can not work". Ok.... I download the OS X Server 3.0 and upgrade with it.
    After it,the server app going crazy....
    Original Toggle On Services include:
    Time Machine,VPN,wiki,Message,File sharing,Calendar,Address Book,Mail
    DHCP,DNS,Open Directory
    Now working ok Services include:
    DHCP,DNS
    Now Toggle On but got problems Services include:
    Open Directory,File Sharing
    Problem with service:
    Open Directorory
         Toggle as on in server app,but seems my local network account was crash.
         any existing user login to server,the server ask them to change password,but the chage not worked. It was stuck on the "change password".When I directly changing the password in server app, its also no response.
         If I create a new accout,the mail adrees will not be auto fill,and when I click "Create", a error windows showed "existing connection is not authenticated: password change denied", and the server app go crash. Re open it , new account shows "not allowed" in the list.
    Time Machine,Calendar,Address Book
         Can't Login.... seems because Open Directory
    File Sharing
         Using a server local account was ok.Can not login as a "network account",if I using Open Directory account, it stucks on change password window.
    Mail
         Just after I upgrade the server app , it shows "ON",but when I telnet port 110 or 25, no response. I guess maybe the devocot didn't Starting up. So I toggle it to off and on again, the status showing "stating...." and got no response...
    I am totally crazy... seems the Open Directorory was crash,also the mail server was crash...
    Can anybody help me solve these problem?

    Here's what I discovered just a few hours ago.
    I had created a new Mavericks Server install, done the migration wizard from 10.6.8 and got the same errors. "Existing connection is not authenticated. Password chage denied". Performed sudo touch /var/db/openldap/migration/.rekerberize, yada yada. Then I ran through the whole gamut of trouble shooting and norrowed it down to this:
    Before starting, make an archive of your previous OD (SL or Lion). After doing the migration your users may not be there and you have to reimport the LDAP again, sometimes after step 2 below.
    1. Double check your DNS service on the server you're building. Make sure any test DNS names and real DNS names have correct corresponding IP addresses. I used two so I could switch back and forth from names and IPs. Set your local DNS in the network control panel to 127.0.0.1 so its referrencing itself while you build.
    2. Double check your host name under 'fileserver' and correct any errors. The local and domain have to match. example: fileserver.local, fileserver.my.domain.com. Verify all hostnames and IP address and make sure they match in DNS service. Use changeip command in terminal if you wish, but under 'Fileserver' in the 'Server.app' menu it works fine. After this you may need to re-import from your original server's LDAP archive.
    3. Run the "touch" commands listed above.
    4. Reboot.
    5. Archive your directory again and name it for referrence. Save it to a flash drive so you can use it again if you need to rebuild later (you probably won't)
    5. (here's the kicker) Turn off OD and look at your certificates in Server.app. Generate a new self-signed certificate and assign everything to that. You might need to stop OD to change its cert. Delete any expired or unused certificates. Rerun the touch commands and reboot (to be sure).
    6. reimport from the LDAP archive you just saved.
    6. Go through your users and edit server access. (trick, hold down the option key to turn them all on per user with a single click.s I was able to add users, edit users and connect on AFP and SMB.
    After I did this it all worked, even adding users. I even did a fresh build of Mavericks server and was able to just import from the new LDAP archive with no issues.

  • Old critical problem is actual for Windows 8.1 Update and Windows 10 TP

    Hello,
    my app is in the Windows Store 2 years and all 2 years I am getting reviews with 1 stars with complaining about cache size, which can be 10-30Gb... I have reported about this problem to Microsoft Support at October 2013, but problem is not solved in Windows
    8.1 Update and it is amazing... I reproduced problem on Windows 10 TP. More details about problem in my old topic https://social.msdn.microsoft.com/Forums/ru-RU/0a5d2822-9a3f-48ef-a30e-e8826e76b5b5/critical-problem-still-exists?forum=winappswithcsharp
    Big files with size more than 5Mb are stored and are not deleted, so information in last message is not right.
    Is it so difficult problem to resolve? Please enable option for Windows store apps co they can delete their cache manually. If problem is not resolved in Windows 10 final release, I will write about it to all major IT magazines, because problem is very critical
    and AFFECT ALL APPS from Windows Store.
    sorry for my English, thank you.

    Hello,
    Keep in mind that the current cache size limit (W8.1) is 95% of free space or 4 GB whatever is smaller. 200 MB is not very large. Do you see the cache reach a size of greater than 4 GB?
    -James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/
    yes, my users report about 10-30Gb size, also for my radio app I do not see any reasons to store radio stream cache even 100Mb, because it is absolutely unnecessary. I think 4 Gb for cache on Windows tablets with 32 Gb SSD is too big. Also users think
    what it is my trouble that app generates big .dat files, and they think I do not see their reviews and do not do anything to solve problem, it makes me very unhappy.

  • The Critical Problems for Creating Standby Database

    The Critical Problems for Creating Standby Database:(I want to create a physical standby database on the same system of the primary database)
    1. Should I copy all the backup datafiles, standby controlfile and password file to a same directory before the first time to mount the standby database?
    2. Before mounting the standby database, Should I change the datafile's name to a new one in the standby controlfile? How to change them?
    3. When issuing the command to mount the standby database, should I specify the controlfile's name.(using which controlfile to mount)
    These problems are not clearly secified in Oracle documentations.

    Can you point us to the Windows specific documentation you refer to?
    The parameter DB_FILE_NAME_CONVERT should take care of the new mapping for your datafiles (and LOG_FILE_NAME_CONVERT for logs), so you should be able to put them where you want and use the parameter to point Oracle to the correct location. You should not need to change the name in the controlfile.
    Place your standby controlfiles where you have the control files defined in your parameter file and Oracle should recofgnise that it is a standby db. You should not need to specify which controlfiles to use (if this is even possible), your CONTROL_FILES init parameter points to them.
    Not sure about the password file....my instances are on separate boxes and the password file has the same name on both primary and standby.

  • Restarting after update - Windows has encountered a critical problem and will restart in one minute?

    This is a worrying one - I updated Reader today and restarted after it promted me. Soon after the pc rebooted I got an error message that said "Windows has encountered a critical problem and will restart in one minute". After it restarted, I checked the event logs and came up with this error: "A critical system process, C:\Windows\system32\lsass.exe, failed with status code 1.  The machine must now be restarted.". This has never happened before and I want to know if the Reader update did anything bad. I restarted several times afterwards and it didn't happen again, but still.. it's worrying me. Is this a common error after the update or am I missing something? Running Windows 7 Home Premium 64-bit

    I understand that you are worried.
    I have a very similar setup as yours, and nothing happened after the Reader 10.1.3 update.  The one difference is that the update did not prompt me to restart Windows.  (It did prompt me on several other [XP] systems.)
    Let's wait and see if anyone else encountered a similar problem.

  • Critical problem with locking

    Hi All
    I have a critical problem with locking
    My session 1 does a select for update in a query which has aggregate function. and updates a row.
    2 nd session waits till the first session has updated.
    But while selecting the data is selects the old data and not the one which Session1 has updated.
    Please let me know How do I overcome this .
    =======================================================
    Session1:
    =======================================================
    SQL> select * from test123;
    NUM S NAME
    1 N name1
    2 N name2
    3 N name3
    /***** Here the session 2 waits *********/
    SQL> select name from test123 where num = (select min(num) from test123 where status !='Y') for update;
    NAME
    name1
    SQL> update test123 set status = 'Y' where num=1;
    1 row updated.
    SQL> commit;
    Commit complete.
    SQL> select * from testing123;
    NUM SOURCE SPNAME STATUS
    123 Test testing C
    SQL> select * from test123;
    NUM S NAME
    1 Y name1
    2 N name2
    3 N name3
    ============================================================================================================
    Session 2
    ============================================================================================================
    /**** This happens when Lock is released ***/
    SQL> select name from test123 where num = (select min(num) from test123 where status !='Y') for update;
    NAME
    name1
    /*** I do a select again I get the new result .. This is what I should get in first place***/
    SQL> l
    1* select name from test123 where num = (select min(num) from test123 where status !='Y') for upd
    SQL> /
    NAME
    name2
    Thanks
    Ashwin N.

    I'll give the explanation a shot but I can't find anything explict in the documentation along these lines. By default, the 'FOR UPDATE' clause says lock all these rows AND wait for anybody who might already have them locked to release the lock. However, if the other session changed the data we can't just lock the old version of the row, we have to get the data from the new version of the row. The catch is that we must guarantee statement level read consistency as well. Namely, all the data used by the statement must appear correct from a single point in time. If we waited for the other transaction and it commited, we must move that point up to be read consistent. That means reexecuting any subqueries as of the new consistency point. To summarize, the following happens ...
    1. subquery gives num = 1
    2. main query want to lock that row but can't so it waits
    3. other session commits
    4. main query notices the data it wants to lock has changed so it moves up consistency point
    5. subquery is rerun for the new consistency point
    6. subquery now gives num = 2
    7. main query locks row
    Richard

  • E6 new Firmware critical problem

    Hi,
    After 3-4 days of upgrading to latest firmware(for E6)..the screen goes blank/locked while dialling or attending calls,  even during the alarm too, screen goes dead.
    honestly, i sensed the problem while switching off my alarm but touch-screen didn't respond well & later experienced the screen went blank/locked/unresponsive(till u cancel/end ur call) for dialling & attending calls too.
    my phone is @ Nokia care since monday, they promised me to return in 1 hour & now its more than 4days, & now they escalated the issue to L3 support vch may take another 10days.
    Anybody having idea. I request NOKIA moderator to plz look into d issue@ d earliest.
    My Location:Bangalore/India
    P.S. There are some more ppl who hv experienced d same prblm & they are ended up everytime by replacment with new phone, coz they again did the upgrade on new phone & same problem started after 5-6days. Its a critical problem. smbdy help!
    ~Suren

    Dear posters
    I too was confronted with this problem on my E6. I upgraded to Belle refresh and from that moment, whenever I receive a call, make a call, or when the alarm(clock) signals, the display goes black
    When receiving a call, Very, very briefly (maybe as short as two-tenth of a second) I see the caller info in a flash before the screen goes to black (so I can not really read it)
    After the call (or - in case of an alarm sounding - after stopping the alarm, the display is illuminated again
    Also, in my situation, no protective foil is covering the proximity sensor nor something else is obstructing it
    It happened directly after the update, before it everything was fine which makes me convinced that it can not be a hardware failure
    This assumption is backup up by what I have read on the web:
     the module in the E6 that is detecting the proximity (as well as performing the ambient light detection) is called "DiPro" and uses an external Infrared-LED. The current flowing through this LED (which off course determines the amount of IR-light and therefore the sensitivity of the proximity measurement as a whole)  is software controlled
    This (to me)  is a very plausible explanation that there is something wrong with the software indeed
    Why this fault does not appear on all E6-phones I don't know, but I assume that the combination of the Belle[refresh]  software (incorporating the assumable altered steering of the DiPro-module)  in combination with certain hardware versions of the E6 is a conflictuous one
    It's pretty bizar that Nokia has not supported up til now although a software update is clearly the basis of the problems
    If anyone here has found a solution on the mean time, I really hope to hear from him/her
    Thanks !!!

  • Class visibility problems in deployed OC4J application

    I have an entity, autogenerated from a database table by JDeveloper, which has the form:
    Entity.java:
    package a.b.c;
    import ...
    @Entity
    @NamedQuery( ... )
    @Table( ... )
    public class Entity implements Serializable {
        @Column( ... )
        : etc.
    }Then I have a stateless session bean, also autogenerated by JDeveloper, which has the form:
    SessionEJBBean.java:
    package a.b.c;
    import ...
    @Stateless(name="SessionEJB")
    public class SessionEJBBean implements SessionEJB {
        @PersistenceContext(unitName="Simple")
        private EntityManager em;
        public List<Entity> queryFindAll() {
            return em.createNamedQuery( ... ).getResultList();
        : etc.
    }Then I have my client (again, largely autogenerated):
    SessionEJBClient.java:
    package a.b.c;
    import ...
    public class SessionEJBClient {
        public static void main(String [] args) {
            try {
                final Context context = getInitialContext();
                SessionEJB sessionEJB = (SessionEJB)context.lookup("SessionEJB");
                List<Entity> entities = sessionEJB.queryFindAll();
            } catch (Exception ex) {
                ex.printStackTrace();
        private static Context getInitialContext() throws NamingException {
         : etc.
    }The above code works fine, however I now want to experiment with the oracle.toplink.essentials.tools.sessionconfiguration.SessionCustomizer interface. To this end, I create a bare-bones customizer class:
    Customizer.java:
    package a.b.c;
    import ...
    public class Customizer implements SessionCustomizer {
        public Customizer() {
        public void customize(Session session) {
    }and make corresponding updates to the persistence.xml file:
    persistence.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
      http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
      version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
      <persistence-unit name="Simple">
        <properties>
          <property name="toplink.session.customizer" value="a.b.c.Customizer"/>
        </properties>
      </persistence-unit>
    </persistence>Now, when I redeploy and attempt to run my client application, I'm told that the customizer class cannot be found:
    11-Jun-2007 16:32:17 oracle.j2ee.rmi.RMIMessages
    EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    javax.ejb.EJBException: Exception [TOPLINK-28006]
    (Oracle TopLink Essentials - 2006.8 (Build 060829)):
    oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: ClassNotFound: [a.b.c.Customizer]
    specified in [toplink.session.customizer] property.
    Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
           Missing class: com.logicacmg.security.Customizer
         Dependent class: oracle.toplink.essentials.internal.security.PrivilegedAccessHelper
                  Loader: oracle.persistence:1.0
             Code-Source: /usr/oc4j/toplink/jlib/toplink-essentials.jar
           Configuration: <code-source> in /usr/oc4j/j2ee/home/config/server.xml
    This load was initiated at oracle.persistence:1.0 using the Class.forName() method.
    The missing class is available from the following locations:
         1. Code-Source: /usr/oc4j/j2ee/home/applications/SimpleApp/SimpleApp.jar
    (from <ejb> in /usr/oc4j/j2ee/home/applications/SimpleApp)
            This code-source is available in loader SimpleApp.root:0.0.0.
    This is the current thread's context loader, and it appears that Class.forName()
    was used to load the dependent class. If a loader was not explicitly passed to
    Class.forName(), try passing the result of calling
    Thread.currentThread().getContextClassLoader()So, my question is: what is the correct way for me to configure the system so that my Customizer class is picked up?
    Apologies if this is obvious - I'm still rather new to working in this area (so if anything else I've written doesn't make sense - please don't be afraid to point it out!).
    Regards,
    Alistair.

    Hi, you all seem highly intelligent so I'll give this a shot.
    We're having a similar problem, but TopLink is not involved. Axis2 is, but in our case, the Axis2 application runs fine, it's the other applications that fail.
    We have three applications, Login, Candle, and Webservices (the one with Axis2). When we first start up the applications, they all instantiate fine. We can run Login pages and Candle pages fine. We can also run non-Axis2 Webservices servlets without breaking Login and Candle. But when we run a webservices servlet that uses Axis2, something happens that causes all future Login and Candle class loading to fail! From the error message, OC4J indicates that it is trying to load classes for Login and Candle using the classloader for Webservices.
    So, to summarize, once the webservices app runs an Axis2 servlet, OC4J tries to use the webservices' classloader to load classes for the other applications instead of using their classloaders. The example error message I give below is for the Candle application, but the same problem occurs for Login.
    Please help, even if it's just a suggestion for something to try!! We've been trying to understand this for 2 days and we're still as stumped as ever.
    [java] 2007-06-15 14:59:59,159 ERROR [org.apache.struts.action.RequestProcessor] - No action instance for path /adpThrowableHandler could be created
    [java] oracle.classloader.util.AnnotatedClassNotFoundException:
    [java] Missing class: com.adp.candle.core.ui.struts.exceptionhandler.AdpThrowableHandlerAction
    [java] Dependent class: org.apache.struts.util.RequestUtils
    [java] Loader: default.web.candle:0.0.0
    [java] Code-Source: /C:/build/javaroot/candle/WEB-INF/lib/struts.jar
    [java] Configuration: WEB-INF/lib/ directory in C:\build\javaroot\candle\WEB-INF\lib
    [java] This load was initiated at default.web.webservices:0.0.0 using the loadClass() method.
    [java] The missing class is available from the following locations:
    [java] 1. Code-Source: /C:/build/javaroot/candle/WEB-INF/classes/ (from WEB-INF/classes/ in C:\build\javaroot\candle\WEB-INF\classes)
    [java] This code-source is available in loader default.web.candle:0.0.0.
    -- Brad

  • How to resolve the problem in jdeveloper903 oc4j starting:JspTagLib listener error

    I just download a jdeveloper903,i hava a problem:
    when i start the oc4j alone,it prompt "JspTagLib listener error:null". Then,After depoly the jsp application with JspTag to oc4j,I found the jsp page can not run,but,the jsp application can run in the
    develope environment.
    how can resolve the problem,help!!Thanks.

    I think you might have better luck asking your question in the JDeveloper forum at:
    http://forums.oracle.com/forums/forum.jsp?id=315684
    later -- Jeff

  • Problem with Embedded OC4J: Address already in use: JVM_Bind

    When I try to run a Servlet in JDeveloper 10g it works fine. But when I stop the Embedded OC4J and try to run the Servlet again, the following message appears in the log:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle\ora10g\jdev\jdk\bin\javaw.exe -hotspot -classpath C:\oracle\ora10g\jdev\j2ee\home\oc4j.jar;C:\oracle\ora10g\jdev\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\oracle\ora10g\jdev\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    03/10/23 14:23:01 Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind
    Process exited with exit code 7.
    What could be causing this problem?
    Thanks in advance!

    Modify the config/rmi.xml file to have the host attribute in the tag as follows:
    <rmi-server port="23791" host="server-ip-address">
    </rmi-server>
    After that, place the log4j-your-jdev-version.jar in appserverhome/j2ee/home/lib folder.
    Restart the server. The bind problem would disappear.
    Hope this solves your problem :-)
    Ramesh

  • Problem during start oc4j

    Dear all
    during I try to run oc4j its run but after 3 second it is shutdown
    Note :I not use application server
    what is the problem
    please help me

    Hello Mustafa,
    What you could check is :
    1- Which version of OC4J do you run ?
    cd $ORACLE_HOME/j2ee/home
    $ORACLE_HOME/jdk/bin/java -jar oc4j.jar -version
    2- Which JDK version is being used ?
    $ORACLE_HOME/jdk/bin/java -version
    3- Which platform do you run OC4J from ?
    How much RAM memory do you have ?
    4- Which command do you use to launch OC4J ?
    Then, check with the README file that comes with OC4J
    to see if all the requirements have been respected.
    Hope this will help you.
    Steff

Maybe you are looking for