Deployment problem in OC4J 9.0.4

We try to deploy our application to OC4J 9.0.4 and have following problem with deployment:
Error instantiating application 'elpos' at file:/C:/oc4j9.0.4/j2ee/home/applications/elpos-app.ear: UserManager class 'com.abilitydev.usermanager.orion.ServiceBasedUserManager' not found
The application deploys and runs correctly on 9.0.3 release. The user manager class is inside EJB module jar file.
Thanks for any comments.
Marcel Straka

Marcel -- the known-issues document for the 904 release describes how to workaround this issue.
http://otn.oracle.com/tech/java/oc4j/904/release_notes/release-notes-904-preview.html
Custom User Managers Deployed within EJB-JAR Files can not be found.
OC4J is not able to load customer user managers when they are packaged within an EJB-JAR file.
The workaround is to add an explicit <library> element to the orion-application.xml file for the application which points at the EJB-JAR file containing the custom user manager classes. This will allow the custom user manager to be resolved and instantiated.
<orion-application ....>
<library path="d:\oc4j904\j2ee\home\applications\XmlnewsEar\XmlnewsEjb.jar"/>
</orion-application>
cheers
-steve-

Similar Messages

  • Toplink JPA Deployment problem  in OC4J

    Hi all ,
    we are having problem in deployment for an toplink JPA program in OC4J 10.1.3 .. We are using toplink essesntial and our deployed EAR structure is
    aaplication.xml
    rmwtoplink.war
    the content of application.xml is as
    <display-name>rmwtoplink</display-name>
    <module>
    <web>
    <web-uri>rmwtoplink.war</web-uri>
    <context-root>rmwapplist</context-root>
    </web>
    </module>
    the content of war file as below :
    web-inf\web.xml
    web-inf\classes\META-INF\persistence.xml
    web-inf\classes\<classes>
    web-inf\gnf\<jsp pages>
    when ever a pages are called those do not use entity manager / jpa call are loading perfectly , but the pages which have used jpa are nt diplayed , we check the error messages , it just halts after following codes :
    EntityManagerFactory emf =
    Persistence.createEntityManagerFactory(jpaSource);
    It seems there is no exception that is even thrown in page or opmn log .
    The same program is running fine in Jdveloper 10.1.3 /
    Is there any way where we can get the actual error message ?
    we are using toplink.jdbc.url for connecting the database .

    Here is little more insight for the problem , further check reveals that :
    start connecting rmwtest
    exception occured for connection test , Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    //localhost:1521/ORCL
    we do not have any idea how is localhost:1521/ORCL picked up , in our persistence.xml we have
    where as rmwtest defined in persistence.xml as
    <persistence-unit name="rmwtest" transaction-type="RESOURCE_LOCAL">
    <provider>oracle.toplink.essentials.PersistenceProvider</provider>
    <class>rmw.gnf.entity.ServSesnUser</class>
    <class>rmw.gnf.entity.RmwData</class>
    <class>rmw.gnf.entity.GnfData</class>
    <properties>
    <property name="toplink.logging.level" value="FINEST"/>
    <property name="toplink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
    <property name="toplink.jdbc.url" value="jdbc:oracle:thin:@middb.1dc.com:1621:ukdbins"/>
    <property name="toplink.jdbc.user" value="****"/>
    <property name="toplink.jdbc.password" value="********"/>
    </properties>
    </persistence-unit>

  • Deployment problem in oc4j

    Hi,
    I am working on standalone OC4J(10.1.3). I am crated one application in JDeveloper it conations jsp pages . I want run this application in Oracle9ias.where this application folder deploys? Is there any plug ins required? If any one knows plz tell me the procedure its great help me.
    thanks,
    Prasad.

    Guys,
    If you are using JDeveloper you can use it directly to build and deploy the war/ear to standalone OC4J or to the Application Server.
    Under JDeveloper go to the Connections tab -> new Application Server Connection and then walk through the Wizard to create the Connection.
    Once this connection has been set up, you can use it directly from the application to deploy from JDev. For more information please refer to the JDev help and search on Connections.
    Hope this helps.
    Deepak

  • Problem in deploying EJBs in oc4j

    Hi folks,
    I am new to ejbs and now I am into support role for ejb2.0 project devoloped long ago. one of the module in that proj has ejb2.0 (Using CMP entity beans & Session beans(stateless))
    The problem I am facing currently is , while running the the ejb module (by running a jsp page in that module) I am getting the following error.
    In this log I found two things primarily
    1) All ejbs are not deployed successfully (due to IntialContext lookup failure)
    2) java.lang.NoSuchMethodError while calling the static method of a bean in the jsp
    I have cross checked about the second one I didn't find any issue..is there any issue about jar(?) versions and I have run another jsp having no call to that static method then it is worked fine and the jsp view came(but still the first problem is there)
    please help me...
    [Starting OC4J using the following ports: HTTP=9001, RMI=23904, JMS=9237.]
    D:\Robbin_Brothers\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
    D:\Robbin_Brothers\jdevstudio10132\jdk\bin\javaw.exe -client -classpath D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar;D:\Robbin_Brothers\jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Robbin_Brothers\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Jan 29, 2013 6:48:33 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Jan 29, 2013 6:48:34 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Jan 29, 2013 6:48:34 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\activation.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/activation.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\classes12.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\ejb.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/ejb.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\jms.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/jms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\jsse.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/jdk/jre/lib/jsse.jar (from system property sun.boot.class.path). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\mail.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/mail.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\servlet.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\soap.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/webservices/lib/soap.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    13/01/29 18:48:35 WARNING: EJBPackage.parseOrionBean Bean NoReasonType does not exist; skipping deployment
    13/01/29 18:48:35 WARNING: EJBPackage.parseOrionBean Bean CompetitorsList does not exist; skipping deployment
    13/01/29 18:48:40 Activity: Class 'com.osit.ejb.entity.ActivityLocal' has been updated since last deployment
    13/01/29 18:48:40 OccasionTypes: Class 'com.osit.ejb.entity.OccasionTypesLocal' has been updated since last deployment
    13/01/29 18:48:40 Rules: Class 'com.osit.ejb.entity.RulesLocal' has been updated since last deployment
    13/01/29 18:48:40 Messages: Class 'com.osit.ejb.entity.MessagesLocal' has been updated since last deployment
    Jan 29, 2013 6:48:47 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_ACTIVITY (ACTIVITY_ID NUMBER(22) primary key, ACTIVITY_DATE DATE, CALLBACK_DATE DATE, ACTIVITY_TYPE CHAR(50), STATUS_ID CHAR(50), COMMENTS VARCHAR2(300), NO_REASON_ID CHAR(50), COMPETITOR_ID CHAR(50), CALL_SEQ NUMBER(22), MAIL_SEQ NUMBER(22), EMAIL_SEQ NUMBER(22), FAX_SEQ NUMBER(22), TEXT_SEQ NUMBER(22), PRESENT_SEQ NUMBER(22), PERSON_ID NUMBER(22), CUSTOMER_ID NUMBER(22), OCCASSION CHAR(100), REASON CHAR(100), call_type VARCHAR2(255) null, MAIL_TYPE VARCHAR2(20), INCORRECTCONTACT_TYPE VARCHAR2(20), other_competitor VARCHAR2(500), CSF_NUMBER VARCHAR2(50), IS_COMPLETED CHAR(1)).
    13/01/29 18:48:47 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:48 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_OCCASION_TYPES (OCCASSION_ID CHAR(50) primary key, DESCRIPTION CHAR(200)).
    13/01/29 18:48:48 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:49 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_RULES (RULE_ID NUMBER(22) primary key, OCCASION_ID CHAR(20), OCCASION_STATUS CHAR(2), CONDITION CHAR(20), DAYS NUMBER(22), STATUS NUMBER(22), TYPE CHAR(20)).
    13/01/29 18:48:50 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:50 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_MESSAGES (MSG_ID NUMBER(22) primary key, PERSON_ID NUMBER(22), SUBJECT CHAR(500), DESCRIPTION VARCHAR2(3000), MSG_TO NUMBER(22), READ NUMBER(22)).
    13/01/29 18:48:51 Warning: ORA-00955: name is already used by an existing object
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 22360 ms.
    Target URL -- http://192.168.9.66:9001/STS/ActivitySummary.jsp
    Checking that EJBs were successfully deployed in embedded OC4J...
    13/01/29 18:48:54 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    **** Warning: The EJB Activity was not found via an InitialContext lookup. Error encountered: Activity not found.
    **** Warning: The EJB OccasionTypes was not found via an InitialContext lookup. Error encountered: OccasionTypes not found.
    **** Warning: The EJB Rules was not found via an InitialContext lookup. Error encountered: Rules not found.
    **** Warning: The EJB Messages was not found via an InitialContext lookup. Error encountered: Messages not found.
    **** Warning: Not all EJBs were successfully deployed. The EJB application may fail during testing.
    **** Please use the EJB Verifier to check your EJB modules for errors by right-clicking on ejb-jar.xml and choosing 'Verify Enterprise Beans'.
    13/01/29 18:48:55 log4j:ERROR Could not open [home/oracle/xmllog4jconfig.xml].
    13/01/29 18:48:55 java.io.FileNotFoundException: \home\oracle\xmllog4jconfig.xml (The system cannot find the path specified)
    13/01/29 18:48:55      at java.io.FileInputStream.open(Native Method)
    13/01/29 18:48:55      at java.io.FileInputStream.<init>(FileInputStream.java:106)
    13/01/29 18:48:55      at java.io.FileInputStream.<init>(FileInputStream.java:66)
    13/01/29 18:48:55      at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
    13/01/29 18:48:55      at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
    13/01/29 18:48:55      at com.osit.factory.LoggerFactory.<init>(LoggerFactory.java:19)
    13/01/29 18:48:55      at com.osit.factory.LoggerFactory.getInstance(LoggerFactory.java:30)
    13/01/29 18:48:55      at Error.<clinit>(Error.java:17)
    13/01/29 18:48:55      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    13/01/29 18:48:55      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    13/01/29 18:48:55      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    13/01/29 18:48:55      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    13/01/29 18:48:55      at java.lang.Class.newInstance0(Class.java:350)
    13/01/29 18:48:55      at java.lang.Class.newInstance(Class.java:303)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageInstFacade.createInst(JspPageInstFacade.java:157)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageInstFacade.getInstance(JspPageInstFacade.java:186)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:445)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:258)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
    13/01/29 18:48:55      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
    13/01/29 18:48:55      at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:790)
    13/01/29 18:48:55      at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:756)
    13/01/29 18:48:55      at ActivitySummary.jspService(_ActivitySummary.java:629)
    13/01/29 18:48:55      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    13/01/29 18:48:55      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    13/01/29 18:48:55      at java.lang.Thread.run(Thread.java:595)
    13/01/29 18:48:55 java.lang.NoSuchMethodError: com.osit.bean.Common.getUserDetails(Ljava/lang/String;)Ljava/util/Hashtable;
    13/01/29 18:48:55      at ActivitySummary.jspService(_ActivitySummary.java:80)
    13/01/29 18:48:55      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    13/01/29 18:48:55      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    13/01/29 18:48:55      at java.lang.Thread.run(Thread.java:595)
    13/01/29 18:48:55 log4j:WARN No appenders could be found for logger (Error.jsp).
    13/01/29 18:48:55 log4j:WARN Please initialize the log4j system properly.

    Thanks for quick reply dvohra16
    I have checked with the path of xmllog4jconfig.xml which is in classpath.I tried with changing the string in LoggerFactory class
    DOMConfigurator.configure("xmllog4jconfig.xml");
    but still I am facing the same error.
    from where this path "/home/oracle/xmllog4jconfig.xml" is taking I can't understand.....
    error:
    13/01/30 17:31:17 log4j:ERROR Could not open [home/oracle/xmllog4jconfig.xml].
    13/01/30 17:31:17 java.io.FileNotFoundException: \home\oracle\xmllog4jconfig.xml (The system cannot find the path specified)
    13/01/30 17:31:17      at java.io.FileInputStream.open(Native Method)
    My LoggerFactory class:
    import org.apache.log4j.Logger;
    import org.apache.log4j.xml.DOMConfigurator;
    import java.net.URL;
    public class LoggerFactory
    private static LoggerFactory loggerFactory= null;
    private LoggerFactory()
    try{
    DOMConfigurator.configure("xmllog4jconfig.xml");
    }catch (Exception e)
    e.printStackTrace();
         public static LoggerFactory getInstance() {
    if (loggerFactory == null){
    loggerFactory = new LoggerFactory();
    return loggerFactory;
    Thanks,
    Tej

  • Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J

    hi everybody
    I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
    Thanks In Advance
    Rohit Tiwary

    Hi Rohit,
    You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
    HTH.
    Regards,
    Arun

  • Problem with OC4j 10G 10g (10.1.2.0.2)

    Hi
    I have a quite strange problem.
    We are migrating one of our apllication from Oracle 10g Application Server 9.0.4 to Oracle 10g Application Server 10.1.2.0.2
    For this first we build the application ear file using JDK 1.4.2_06.Then we deployed it in OC4J 10.1.2.0.2. sucessfully. But when I am testing the application, I got an issue on one of my JSP page where the user can click on a button and JSP page should display records.But it is not displaying any recods. But the records are showing good on Oracle 10g AS 9.0.4. For this I started the server in debug mode and server logs are displayed below.
    Has it got anything to do with the application server. Do I need to modify any configurations in OAS? Can some one please help on this issue.
    06/06/16 14:56:36 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:36 Created session with id '0a0b041822b81a3302d5297c4f0d80dfa1453
    8495c89' at Fri Jun 16 14:56:36 CDT 2006, secureRequest: false
    06/06/16 14:56:36 EvermindHttpSession.beginRequest()
    06/06/16 14:56:36 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:36 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:36 EvermindHttpSession.endRequest()
    06/06/16 14:56:42 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:42 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:42 EvermindHttpSession.beginRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.endRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=null
    EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:43 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.beginRequest()
    06/06/16 14:56:43 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.beginRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.endRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:43 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.beginRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.endRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.endRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:43 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.beginRequest()
    06/06/16 14:56:43 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:43 EvermindHttpSession.endRequest()
    06/06/16 14:56:46 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:46 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:46 EvermindHttpSession.beginRequest()
    06/06/16 14:56:46 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:46 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:46 EvermindHttpSession.endRequest()
    06/06/16 14:56:46 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:46 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:46 EvermindHttpSession.beginRequest()
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpSession.endRequest()
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:47 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpSession.beginRequest()
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpSession.endRequest()
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:47 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpSession.beginRequest()
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:47 EvermindHttpSession.endRequest()
    06/06/16 14:56:48 EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:48 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:48 EvermindHttpSession.beginRequest()
    06/06/16 14:56:48 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:48 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:48 Tutalii: C:\oc4j\j2ee\home\applications\targettracking\targett
    racking-web\WEB-INF\classes
    06/06/16 14:56:48 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:48 EvermindHttpSession.endRequest()
    EvermindHttpServletRequest.getSession(), session=null
    06/06/16 14:56:48 Requested Id is 0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:48 EvermindHttpSession.beginRequest()
    06/06/16 14:56:48 EvermindHttpServletRequest.getSession(), session=HTTP Session
    0a0b041822b81a3302d5297c4f0d80dfa14538495c89
    06/06/16 14:56:48 EvermindHttpSession.endRequest()

    Hi Lin,
    Here is the code that produces the Records.We are Tablibraries for this showing the data.
    public int doAfterBody() throws javax.servlet.jsp.JspException
              * INITIALIZATION - BEINGS
              HttpSession session = null;
              HlpDeptBuildTree objHlpDeptBuildTree =null;
              String Anchor = null;
              String strKEY_ID_CLICKED = null;     
         String strTOGGLE = null;
              boolean blnCreatedNew = false;
              StringBuffer buffBuildTree = new StringBuffer(); //Used for HTML code generation
              try
                   session = httpServletRequest.getSession(true);
                   objSessionHashName = (Hashtable) session.getAttribute(strTreeName);
                   Anchor = httpServletRequest.getParameter("Anchor");
                   httpServletRequest.setAttribute("Anchor", Anchor);
                   strKEY_ID_CLICKED = httpServletRequest.getParameter("KEY");
                   strTOGGLE = httpServletRequest.getParameter("TOGGLE");
                   if(strKEY_ID_CLICKED==null)
                        strKEY_ID_CLICKED="";
                   if(strTOGGLE==null)
                        strTOGGLE="";
                   // This variable is set to TRUE if the vector is not found in the session.
                   if(objSessionHashName == null)
                        objSessionHashName = new Hashtable();
                        blnCreatedNew = true ;
              catch(Exception e)
                   CommonUtils.log(" PROGRAM: DeptBuildTree.java METHOD:doAfterBody() \nERROR: - " + e.toString() );
              * INITIALIZATION - ENDS
         try
                   buffBuildTree.append("<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">");
                   String strKeyId = ""; //used in the logic for identifying the 'Ctrl-Break'
                   boolean blnTestFLAG = false;//When to print the level-2 i.e. when ROOT flag=TRUE      
                   int iRowColor = 1 ;               //Identifies the row count for choosing the bgcolor
                   String rowColor = null;          //Identifies the color of the row
                   for(int i=0; i<objVectResultSet.size(); i++)
                        * Defining the alternate colors of the row
                        // rowColor = ((++iRowColor%2)==0)? "" : "BGCOLOR=\"#FFFFCF\"";
                        * CONTROL BREAK LOGIC HERE - BEGINS
                        * The vector having the row of the resultset
                        Vector vectCompare = (Vector) objVectResultSet.elementAt(i) ;
                        String strCompareKeyId = (String) vectCompare.elementAt(0);
                        String strCompareKeyName = (String) vectCompare.elementAt(1);
                        String strLevel2 = null;
                        int numberOfColumns = vectCompare.size();
                        if(! strKeyId.equals( strCompareKeyId ))
                             strKeyId = strCompareKeyId ;
                             if(strKeyId==null)
                                  strKeyId = "";
                             * Start - Creating the session vector
                             if(blnCreatedNew)
                                  objHlpDeptBuildTree = new HlpDeptBuildTree();
                                  objHlpDeptBuildTree.KEY_ID = strKeyId;
                                  objHlpDeptBuildTree.FLAG = false;
                                  blnTestFLAG = objHlpDeptBuildTree.FLAG ;
                                  objSessionHashName.put(strKeyId, objHlpDeptBuildTree);
                             else
                                  boolean blnFound = false;
                                  if(objSessionHashName.containsKey(strKeyId))
                                       blnFound = true;
                                       if( strKeyId.equals(strKEY_ID_CLICKED) )
                                            objHlpDeptBuildTree = (HlpDeptBuildTree) objSessionHashName.get(strKeyId);
                                            objHlpDeptBuildTree.KEY_ID = strKeyId ;
                                            objHlpDeptBuildTree.FLAG = ! objHlpDeptBuildTree.FLAG;
                                            blnTestFLAG = objHlpDeptBuildTree.FLAG ;
                                            objSessionHashName.put(strKeyId, objHlpDeptBuildTree);
                                       else
                                            objHlpDeptBuildTree = (HlpDeptBuildTree) objSessionHashName.get(strKeyId);
                                            objHlpDeptBuildTree.FLAG = objHlpDeptBuildTree.FLAG;
                                            blnTestFLAG = objHlpDeptBuildTree.FLAG ;     
                                  else
                                       objHlpDeptBuildTree = new HlpDeptBuildTree();
                                       objHlpDeptBuildTree.KEY_ID = strKeyId;
                                       objHlpDeptBuildTree.FLAG = false;
                                       blnTestFLAG = objHlpDeptBuildTree.FLAG ;
                                       objSessionHashName.put(strKeyId, objHlpDeptBuildTree);
                             } //end of IF-ELSE (Created New Session Vector)
                             String strImage = "plus-icon.gif";
                             if( blnTestFLAG )
                                  strImage = "minus-icon.gif";
                             * Printing the Level-: One
                             rowColor = ((++iRowColor%2)==0)? "" : "BGCOLOR=\"#FFFFCF\"";
                             buffBuildTree.append("<TR>");
                             * Printing the Collapsable button
                             buffBuildTree.append("<TD " + rowColor +" CLASS=\"Bold-Blue-Text\" height=\"20\" width=\"3%\"> ");
                             buffBuildTree.append("<A HREF=\"" + href + "&TOGGLE=1&KEY=" + strCompareKeyId +"&Anchor=" + strKeyId + "\"> ");
    buffBuildTree.append("<IMG SRC='/DeptWeb/com/Dept/website/images/" + strImage + "' width='12' height='12' border='0'></A> ");
                             buffBuildTree.append("</TD>");
                             buffBuildTree.append(" <TD " + rowColor +" CLASS=\"Bold-Blue-Text\" height=\"20\" width=\"2%\"> ");
    // If the Form Element is to be displayed
                             if(strFormElementLevel1 != null)
                                  if(strFormElementLevel2.equalsIgnoreCase("RADIO"))
                                       buffBuildTree.append(" <INPUT TYPE="+ strFormElementLevel2 +" NAME=frmElementLevel2 value=\""+ strCompareKeyId +"\" onClick=\"OnRadioClick("+ strCompareKeyId +")\"> ");
                                  else if(strFormElementLevel2.equalsIgnoreCase("CHECKBOX"))
                                       buffBuildTree.append(" <INPUT TYPE="+ strFormElementLevel2 +" NAME=frmElementLevel2 value=\""+ strCompareKeyId +"\" onClick=\"OnCheckboxClick(this.checked)\"> ");     
                             buffBuildTree.append(" </TD> ");
                             buffBuildTree.append(" <TD colspan=\""+ (3+numberOfColumns) +"\" " + rowColor + " height=\"20\" CLASS=\"Bold-Blue-Text\"> ");
                             buffBuildTree.append(" <A NAME=\"#"+ strCompareKeyId +"\"> ");
                             buffBuildTree.append(" <IMG SRC='/DeptWeb/com/Dept/website/images/blank.gif' height=\"1\" WIDTH=\"1\" BORDER=\"0\"> ");
                             buffBuildTree.append(" </A> ");
                             buffBuildTree.append(strCompareKeyName + " - " + strCompareKeyId);
                             buffBuildTree.append(" </TD> ");
                             buffBuildTree.append(" </TR> ");
                        } //end of IF-ELSE (Ctrl-Break)
                        * CONTROL BREAK LOGIC HERE - ENDS
                        * Level-:Two Printing - BEGINS
                        if( blnTestFLAG )
                             String strValue = (String) vectCompare.elementAt(2);
                             if(strValue!=null && strValue!="")
                                  rowColor = ((++iRowColor%2)==0)? "" : "BGCOLOR=\"#FFFFCF\"";
                                  buffBuildTree.append(" <TR "+ rowColor +"> ");
                                  buffBuildTree.append(" <TD height=\"20\" width=\"3%\"></TD> ");
                                  buffBuildTree.append(" <TD height=\"20\" width=\"2%\"></TD> ");
                                  buffBuildTree.append(" <TD height=\"20\" width=\"5%\"> ");
                                  // If the Form Element is to be displayed
                                  if(strFormElementLevel2 != null)
                                       if(strFormElementLevel2.equalsIgnoreCase("RADIO"))
                                            buffBuildTree.append(" <INPUT TYPE="+ strFormElementLevel2 +" NAME=frmElementLevel2 value=\""+ strCompareKeyId +"\" onClick=\"OnRadioClick("+ strCompareKeyId +")\"> ");
                                       else if(strFormElementLevel2.equalsIgnoreCase("CHECKBOX"))
                                            buffBuildTree.append(" <INPUT TYPE="+ strFormElementLevel2 +" NAME=frmElementLevel2 value=\""+ strCompareKeyId +"#""+ strValue + ""\" onClick=\"OnCheckboxClick(this.checked)\"> ");     //satya
                                  } //end of IF(strFormElementLevel2 != null)
                                  buffBuildTree.append(" <IMG SRC=\"/DeptWeb/com/Dept/website/images/blank.gif\" WIDTH=\"1\" height=\"1\" BORDER=\"0\"> ");
                                  buffBuildTree.append(" </TD> ");
                                  // Printing Columns of a Row
                                  for(int iLevelColumn=2; iLevelColumn<numberOfColumns; iLevelColumn++)
                                       strLevel2 = (String) vectCompare.elementAt(iLevelColumn);
                                       if(strLevel2==null || strLevel2=="")
                                            strLevel2 = "" ;
                                       buffBuildTree.append(" <TD height=\"20\" CLASS=\"small-black-text\" nowrap> ");
                                       buffBuildTree.append(strLevel2);
                                       buffBuildTree.append( "</TD> ");
                                  } // end of printing columns FOR-LOOP(iLevelColumn<numberOfColumns)
                                  buffBuildTree.append(" </TR> ");
                             } //end of IF(strValue!=null && strValue!="")
                             * Level Printing - ENDS
                        } //end of IF(blnTestFLAG)
                   } //end of FOR(i<objVectResultSet.size()) Loop
                   session.setAttribute(strTreeName, objSessionHashName);
                   buffBuildTree.append("</TABLE>");
                   getPreviousOut().print(buffBuildTree.toString());
              catch (Exception ioe)
              CommonUtils.log(" PROGRAM: DeptBuildTree.java METHOD:doAfterBody() \nERROR: - In Global try catch " + ioe.toString() );
         return(SKIP_BODY);
         }

  • Deploying application on OC4J

    Hi,
    I am deploying a simple web application on OC4J which comes with 9iAS infraStructure installation. I changed server.xml, application.xml, default-web-site.xml & application.xml in the META-INF folder of my app but i couldn't access the appln after starting OC4J. I am attaching the code snippet that i added to these files. Could anyone please let me know if you could figure out the problem here..
    Thanks,
    Sathya.
    j2ee/home/server.xml:
    <application name="myapp" path="../applications/myapp" auto-start="true" />
    j2ee/home/default-web-site.xml:
    <web-app application="myapp" name="web" root="/myapp"/>
    j2ee/home/application.xml:
    <web-module id="myapp" path="../../home/applications/myapp"/>
    myapp/META-INF/application.xml:
    <module>
    <web>
    <web-uri>web</web-uri>
    <context-root>/web</context-root>
    </web>
    </module>

    Hi,
    I am facing a deployment problem with ear file.
    I have prepared an EAR file using Oracle JDeveloper 9.0.5.1.
    When I try to deploy it on Oracle 9iAS (Windows platform) it gets deployed successfully.
    But when somebody tries to deploy it on Oracle 9iAS (Unix platform) she gets error mentioned below. I have checked the deployment descriptor (web.xml) and found that everything is alright, including the location (WEB-INF/web.xml).
    Could anyone please help me find out the problem so that I can fix it?
    ADMN-300158
    Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(WarFile.java:87)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(EarFile.java:561)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(EarFile.java:88)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(EarFile.java:74)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(EarDeployerImpl.java:143)
    at oracle.ias.sysmgmt.deployment.j2ee.console.WarDeployerImpl.<init>(WarDeployerImpl.java:99)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(J2eeDeploymentImpl.java:220)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(J2eeDeploymentImpl.java:247)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.deployApp(DcmCmdLine.java:3728)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(DcmCmdLine.java:4072)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(DcmCmdLine.java:4771)
    Thanks,
    Aatash

  • Bc4j jsp calendar deployment problem

    Using jdeveloper 9.02 I made a simple webapplication with bc4j jsp's and deployed it to oc4j (9.0.2.1) directly from jdeveloper as described in the help. This works fine, except for the calendar (datepicker). When the calendar is loading in a separate frame I become an 'access is denied' error. In the http-web-access.log the following line shows up:
    127.0.0.1 - - [25/Nov/2002:15:52:54 +0100] "GET /webapp/jsp/calendar.jsp?redirect=/webapp/jsp/calendar.jsp&locale=de_AT&enc=windows-1252&origValue=1980-12-24&format=yyyy-MM-dd&formatter= HTTP/1.1" 500 383
    The application runs fine on the oc4j inside jdeveloper, so I assume it is a configuration problem. However, so far I couldn't find out what is wrong.
    If I make a simple application using the wizards for the emp table, and deploy it with standard settings to the local oc4j, I have exactly the same problem.
    does anybody have a suggestion?
    thanks, Cor

    problem is solved.
    Webapp and cabo are installed as applications in their own directory structures. However, the required libraries are not deployed automatically in the web-inf/lib directory. They are present in the main application web-inf/lib, but these are apparently not accessable. Copying the libraries solves the problem.
    I'm still wondering whether I did something wrong. Simply deploying the bc4j.ear to oc4j is obviously not enough, but that is what the jdeveloper help is saying. Did I misunderstand something?
    Cor

  • Erro on deploy to Standalone OC4J

    Hi,
    I have made an application with Jdeveloper (BC4J/Struts/JSP). I have made a deploy Profile and deployed the application. I Start the application and I have following :
    500 Internal Server Error
    javax.servlet.jsp.JspException: Missing message for key errorpage.title
         int org.apache.struts.taglib.bean.MessageTag.doStartTag()
              MessageTag.java:298
         void errorpage.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         [errorpage.jsp]
              _errorpage.java:57
              [SRC:/errorpage.jsp:7]
         void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              OrionHttpJspPage.java:56
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              JspPageTable.java:317
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:465
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:379
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              JAZNFilter.java:283
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:560
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:119
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageThrowable(java.lang.Throwable)
              EvermindPageContext.java:547
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageException(java.lang.Throwable)
              EvermindPageContext.java:518
         void TInvoicesView1_Browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         [TInvoicesView1_Browse.jsp]
              TInvoicesView1_Browse.java:224
              [SRC:/TInvoicesView1_Browse.jsp]
         void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              OrionHttpJspPage.java:56
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              JspPageTable.java:317
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:465
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:379
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              JAZNFilter.java:283
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:560
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:209
         void org.apache.struts.action.RequestProcessor.doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:1014
         void org.apache.struts.action.RequestProcessor.processForwardConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.config.ForwardConfig)
              RequestProcessor.java:417
         void org.apache.struts.action.RequestProcessor.processActionForward(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForward)
              RequestProcessor.java:390
         void oracle.jbo.html.struts11.BC4JRequestProcessor.processActionForward(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForward)
              BC4JRequestProcessor.java:98
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:271
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              JAZNFilter.java:283
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:560
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:797
         void java.lang.Thread.run()
              Thread.java:484
    The file ApplicationResources.properties is in the WAR File. What is the problem ?
    Thanks
    Yves

    Are you able to get just Struts working on OC4J.
    Also, when you say deploy, are you getting these eerros when you deploy into the OC4J instance in JDeveloper or
    when you deploy into OC4J outside JDeveloper.
    thanks,
    -Prasad

  • Import not found when deploying to Standalone OC4J

    Hi,
    I'm developing a small application, consisting of a few classes and a few jsp pages. I'm using JDeveloper 9.0.3.1 with the sun j2sdk 1.4.2 for windows.
    I test my application with the embedded OC4J in Jdeveloper, and it runs fine. But when I deploy it to the standalone OC4J, I get this error:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errores de compilación:F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\\_integrate2.java
    Note: sun.tools.javac.Main has been deprecated.
    F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\_integrate2.java:6: Class webservices.Integrator not found in import.
    import webservices.Integrator;
    ^
    1 error, 1 warning
    This error does not happen when using the embedded OC4J server, only when deploying to the standalone. Since leaving JDeveloper up all times to use de app is not an option :) I really would appreciate any help towards solving this matter. I suspect it has to do with deployment options and whatnot, but I can't find anything wrong. Of course, I'm fairly new to this (jsp/OC4J), so it can be an obvious mistake right under my nose.
    thanks
    Javier

    Fixed. The problem was my Standalone OC4J was not properly installed, AND I was doin the deplyment wrong. Now it works by creating a war file, deploying to the war file and THEN deploying to the OC4J Standalone connection.
    So, if you start seeing "import not found" when deploying to standalone and it works on the embedded, check you war files to see if they REALLY are packing the classes they are supposed to carry.

  • Urgent :deployment to Standalone OC4J failed

    Hi,
    I am posting this problem for second time.
    It is of utmost importance for me to solve the problem b'coz the whole progress of my project/application depends on successfully working of the application on Standalone OC4J.So can anybody plz help me.
    1)I have developed an application using Struts framework(For the View and controller part ) and EJBs. When I run this application using the Embedded OC4J provided with JDeveloper,it runs fine.But when I try to deploy the same to the StandAlone OC4J(which I downloaded from OTN) or to the Application Server,I get the following error
    --503 Service Unavailable,Servlet error: Parsing error processing resource path ---
    2)The StandAlone OC4J version is 9.0.4.0.0 and I used JDK 1.4.
    3)The same application runs fine when deployed to StandAlone OC4J when I developed it using only JSPs and EJB.
    4)I even added the different libs for Struts inside WEB-XML folder under my Application Folder Structure.
    5)The StandAlone OC4J Server runs fine and displays the First Page when it is started.
    6)I even installed a totally new StandAlone OC4J and deployed all my previous applications to this new server.All the applications except where I used Struts Framework ran fine.
    The Error Message is
    04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear begins...
    04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
    plication.ear... done.
    04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear ends...
    04/11/01 10:36:44 Notification ==> Initialize EJBapplication.ear begins...
    04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
    plication\EJBDEMOwar.war... done.
    04/11/01 10:36:45 Copying default deployment descriptor from archive at C:\OC4J\
    New Folder\j2ee\home\applications\EJBapplication/META-INF/orion-application.xml
    to deployment directory C:\OC4J\New Folder\j2ee\home\application-deployments\EJB
    application...
    04/11/01 10:36:45 Notification ==> Initialize EJBapplication.ear ends...
    04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar begins...
    04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar ends...
    04/11/01 10:36:46 ArchiveContext: containsDirectory(META-INF) plus '/' found in
    C:\OC4J\New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar in entry
    META-INF/MANIFEST.MF
    04/11/01 10:36:46 Copying default deployment descriptor from archive at C:\OC4J\
    New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar/META-INF/orion-e
    jb-jar.xml to deployment directory C:\OC4J\New Folder\j2ee\home\application-depl
    oyments\EJBapplication\EJBDEMOear.jar...
    04/11/01 10:36:46 Auto-deploying - EJBDEMOear.jar (No previous deployment found)
    04/11/01 10:36:49 Auto-deploying - compiling and loading...
    04/11/01 10:37:00 done.
    04/11/01 10:37:00 Notification ==> Application Deployer for EJBapplication COMPL
    ETES [ 2004-11-01T10:37:00.405IST ]
    Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Nov 1, 2004 10:37:04 AM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:171)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
    assLoader.java:172)
    at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
    .java:1154)
    at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
    ava:390)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 40 more
    Nov 1, 2004 10:37:04 AM org.apache.struts.action.ActionServlet handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:171)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Nov 1, 2004 10:38:25 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Nov 1, 2004 10:38:25 AM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
    lication.java:2561)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:640)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
    assLoader.java:172)
    at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
    .java:1154)
    at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
    ava:390)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 29 more
    Nov 1, 2004 10:38:25 AM org.apache.struts.action.ActionServlet handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
    lication.java:2561)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:640)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    Add to WEB-INF/lib
    struts.jar
    tiles.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar

  • Deploying to standalone OC4J

    hi,
    I've got the same problem as below, but saw no answer - can anyone help???
    I have gone through all the steps to deploy on standalone OC4J 10 g. I started the oc4j from Command line and from the IDE when i right click my <appname>.deploy and choose "Deploy to <a connection>" in the log window i see that deployment is complete and it gave me a context root (http://nv1665:8888/webapp2). I used that context to open in the browser but the page is not accessible. I get an access denied! "HTTP Error 403 - Forbidden Internet Explorer"
    Is there a security issue with oc4j that I have overlooked?
    thanks for your time,
    diane

    got - wasn't referring to the complete deployment name...
    d

  • How deploy BC4J to OC4J

    Hi!
    I have a problem when install my application the which use BC4J to OC4J.
    I have installed in my server:
    Oracle 9iAS 9.0.1
    Oracle Enterprise 9i
    Regards.
    Wil.

    Are you using Oracle9iAS 9.0.2. We don't have a version called 9.0.1 ?
    Oracle9iAS Release 2 is configured to work with BC4J. What problems are you getting and how are you deploying to Oracle9iAS ?
    Please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html if you are deploying to standalone OC4J.
    regards
    Debu Panda
    Oracle

  • Problem initializion OC4J

    I am novel in OC4J
    I have problems initializing OC4J.
    I give the command: java -jar orion.jar
    The output is:
    Error initializing server: Unknown deployment root-tag
    attribute: connector-directory
    Who can help me ??
    - Ricardo.

    Did you execute first, java -jar orion.jar -install?
    If not, try first this step.
    Best regards, Marcelo.

  • RE: [iPlanet-JATO] Re: Deployment problem

    Chidu,
    I think that you are mired in the very common confusion of the default
    behavior of the ApplicationServletBase.parsePathInfo() which will determine
    the controlling/handling ViewBean via a URL design pattern. Lets take a look
    at the URL
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp
    is decomposed as follows:
    /NASApp -> well, this is long story but is absolutely necessary, welcome to
    iAS
    /MigtoolboxSampleAppWar -> is the web application name, taken as the name of
    the WAR file when there is no EAR file (this allows the Servlet/JSP
    container to deferences the web application root under
    <ias>/APPS/modules/MigtoolboxSampleAppWar) I think this part of the URL is
    called th Context Path
    /MigtoolboxSample -> is the Servlet Path, and will either directly reference
    or match a Servlet Mapping
    for instance
    <servlet-mapping>
    <servlet-name>MigtoolboxSampleServlet</servlet-name>
    <url-pattern>/MigtoolboxSample/*</url-pattern>
    </servlet-mapping>
    tells the Servlet Container that the Servlet Path
    /MigtoolboxSample
    maps to the Module Servlet MigtoolboxSampleServlet
    This is how EVERY request makes its way to the "front controller" pattern in
    JATO. It is fundamental to JATO Applicatioan that every request pass
    through the ModuleServlet.
    every else on the URL past the Servlet Path is the PATH INFO. Based on this
    understanding, you will see why the
    ApplicationServletBase.parsePathInfo()
    is so important. In parsePathInfo() the PATH INFO is compared to the design
    pattern
    /VIEWBEANNAME*
    to determine the handling ViewBean from the first String Token in the path
    info. For instance, the starting URL of the Sample Application is
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage
    The PATH INFO is [IndexPage]
    and IndexPage[ViewBean] is the handling ViewBean. Therefore, any simiarl
    URL like
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.matt
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.mike
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.chidu
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.XXX
    will all result in the same handling View Bean
    IndexPageViewBean
    It is very important to understand that you CANNOT hit the JATO JSPs
    directly. You must hit the "front controller" ModuleServlet which will
    always delegate control to the handling ViewBean (a la, the "service to
    workers" pattern)
    You can attempt to hit the JSP directly but you need the right J2EE URL
    /NASApp/MigtoolboxSampleAppWar/MigtoolboxSampleApp/MigtoolboxSample/IndexPag
    e.jsp
    this URL will directly hit the JSP. However, you will recieve an error
    because the JATO framework quickly determines that there is no
    RequestContext in the HttpRequest attributes and assumes that the "front
    controller" was bypassed. Try it. You will get ERROR.
    Lets go back to what you are trying to do, place Models and Viewbeans in
    separate directories. I recommend that you move the Models. Models are
    ONLY referenced by TYPE via the ModelManager, the compiler will ensure that
    your code is correct and matches the packages, file locations, import
    statements, etc. ViewBeans, on the other hand are related to the
    ModuleServlet their are contained in and are loaded via type names according
    to a design pattern.
    if you want to separate models and Viewbean then simply move the Model and
    make sure everything compiles.
    you cannot move the ViewBeans
    if you do want to move the JSP peers of the Viewbeans, then you can put them
    anywhere in the web application doc root. When you do, update the
    DEFAULT_DISPLAY_URL as Mike suggested
    matt
    -----Original Message-----
    From: Mike Frisino [mailto:<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239026066196217193234150166091061">Michael.Frisino@S...</a>]
    Sent: Thursday, July 26, 2001 10:48 PM
    Subject: Re: [iPlanet-JATO] Re: Deployment problem
    Chidu,
    Did you have it running fine in the original default configuration, before
    you started changing things around? The URL should not access the .jsp
    directly. The URL should look more like this
    "/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage", without the
    .jsp.
    Also, please read the "Migration Tech Notes" document that is
    linked to the
    main doc index page. There is some information in there related
    to trying to
    run the sample application under iAS (see Tech Note 4 in
    particular, "Note
    on running the iMT "MigtoolboxSample" in iPlanet Application Server )
    ----- Original Message -----
    From: <<a href="/group/SunONE-JATO/post?protectID=219015020150194233215218164140244063078048234051197">chidusv@y...</a>>
    Sent: Thursday, July 26, 2001 7:27 PM
    Subject: [iPlanet-JATO] Re: Deployment problem
    Hi Mike,
    I tried changing the url in all the viewbeans to reflect the new sub-
    directory for the viewbeans(I have placed the jsps and viewbeans in
    a sub-directory under MigtoolboxSampleApp/MigtoolboxSample). But I'm
    still not able to get access to the jsps. I basically see the
    message "GX Error Socket Error Code missing!!" error on the browser
    thrown by iPlanet, but the log doesn't tell me anything. Does the url
    which I give to access the jsp change accordingly, i.e., should I
    give something other
    than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp.
    If I try to use any other url other
    than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp, I
    see the FileNotFoundException in the log.
    I guess I'm still missing something.
    Thanks for your help.
    --Chidu.
    --- In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136158139046209">iPlanet-JATO@y...</a>, "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239026066196217130152150">Michael.Frisino@S...</a>> wrote:
    Chidu.
    Did you also adjust the following member in each of the ViewBeans?
    public static final String DEFAULT_DISPLAY_URL=
    "/jatosample/module1/Index.jsp";
    Try adjusting this to be consistent with your new hierarchy.
    Also, if you still have problems, send us the error message thatyou recieve
    when you try to access the page. That would help.
    ----- Original Message -----
    From: <<a href="/group/SunONE-JATO/post?protectID=219015020150194233215218164036129208">chidusv@y...</a>>
    Sent: Thursday, July 26, 2001 4:48 PM
    Subject: [iPlanet-JATO] Deployment problem
    Hi,
    We have a requirement to seperate the models and viewbeans and
    keep
    them in seperate directories. Is it possible to seperate the
    viewbeans and models not be in the same directory?
    I tried seperating the two in the MigtoolboxSampleApp application
    provided by JATO. I changed the package and import statements
    accordingly in the viewbeans, jsps and the models. But when I
    deployed the application, I'm not able to access the Index page or
    any of the jsps. Does the ApplicationServletBase always look forthe
    viewbean in the same path as that of the module servlet?
    Any help will be appreciated.
    Thanks,
    Chidu.
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>

    Hi Mike,
    I tried changing the url in all the viewbeans to reflect the new sub-
    directory for the viewbeans(I have placed the jsps and viewbeans in
    a sub-directory under MigtoolboxSampleApp/MigtoolboxSample). But I'm
    still not able to get access to the jsps. I basically see the
    message "GX Error Socket Error Code missing!!" error on the browser
    thrown by iPlanet, but the log doesn't tell me anything. Does the url
    which I give to access the jsp change accordingly, i.e., should I
    give something other
    than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp.
    If I try to use any other url other
    than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp, I
    see the FileNotFoundException in the log.
    I guess I'm still missing something.
    Thanks for your help.
    --Chidu.
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    >
    Chidu.
    Did you also adjust the following member in each of the ViewBeans?
    public static final String DEFAULT_DISPLAY_URL=
    "/jatosample/module1/Index.jsp";
    Try adjusting this to be consistent with your new hierarchy.
    Also, if you still have problems, send us the error message that you recieve
    when you try to access the page. That would help.
    ----- Original Message -----
    From: <chidusv@y...>
    Sent: Thursday, July 26, 2001 4:48 PM
    Subject: [iPlanet-JATO] Deployment problem
    Hi,
    We have a requirement to seperate the models and viewbeans and
    keep
    them in seperate directories. Is it possible to seperate the
    viewbeans and models not be in the same directory?
    I tried seperating the two in the MigtoolboxSampleApp application
    provided by JATO. I changed the package and import statements
    accordingly in the viewbeans, jsps and the models. But when I
    deployed the application, I'm not able to access the Index page or
    any of the jsps. Does the ApplicationServletBase always look for the
    viewbean in the same path as that of the module servlet?
    Any help will be appreciated.
    Thanks,
    Chidu.
    [email protected]

Maybe you are looking for