Change of Orion to OC4J server

Hi !
well my problem is:
in my IAS9i containet, I change of Orion to OC4J (new version) but my application client show this error.
select CLVVERSION,MENSAJE,MODULO from VERSION where MODULO LIKE ?
Exception passing by from remote server: java.lang.InstantiationException: No location specified and no suitable instance of the type 'Pcatalogos.CatalogoRemote' found for the ejb-ref ejb/Catalogo
java.lang.InstantiationException: No location specified and no suitable instance of the type 'Pcatalogos.CatalogoRemote' found for the ejb-ref ejb/Catalogo
Error Datasource javax.naming.NamingException: Error reading application-client descriptor: No location specified and no suitable instance of the type 'Pcatalogos.CatalogoRemote' found for the ejb-ref ejb/Catalogo
what have I to change in my jars? or what have I to do?

<snip>
Oracle database is not aware of the host name
</snip>
but the instance is :)
bash-2.05$ sqlplus
SQL*Plus: Release 9.2.0.7.0 - Production on Wto Lis 8 10:16:52 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL> select HOST_NAME from v$instance;
HOST_NAME
atena
SQL> ! uname -a
SunOS atena 5.9 Generic_XXXXXX-XX sun4u sparc SUNW,Sun-Fire-480R
SQL>
<snip>
if you change the domain name you will need to change the database domain
</snip>
In that case modify db_domain in your init.ora parameter file.
Regards,
Tomek

Similar Messages

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How to change IP on Oracle VM Server?

    Problem statement:  Need to move OVMS1 (OVM Server 1) to an IP the 10.40.40.X subnet;
    ~~~
    environment: 2 OVS servers 2.1.2 with identical hardware (18gRAM/4cores) with shared SAN storage via OCFS2 currently validated in High Availability Config;
    ~~~
    OVMS1 is on a 192.168.0.X IP & is setup as Server Pool Master, Util Server, & VM Server.
    OVMS2 is on a 10.40.40.X IP & is setup as VM Server.
    Note: currently there is 2 way bridging between these subnets and we have created many machines and had no issues...
    Note: DNS is setup for the hosts and the OCFS cluster configs and such were made using fully qualified domain names (believe there are no hard-coded IPs).
    Note: OVMS1 was the original server where the OCFS2 was configured and is currently the pool master & util server...
    ~~~
    Proposed solution1: 'Change IP': Not sure yet but with no other input proposed steps:
    - 1.a: make sure no VMs are running on OVMS1 & physically disconnect it from the network,
    - 1.b: change the IP on the server ({color:#ff0000}*ifconfig on peth0?*{color}) via ILO on the console and shut it down.
    - 1.c: change the DNS entries on the DNS server and change the cabling to be on the 10.40.40.X subnet;
    - 1.d: restart OVMS1.
    ~~~
    Proposed solution2: 'Re-install OVMS': Not sure yet but with no other input proposed steps:
    - 2.a: make sure no VMs are running on OVMS1, shut down OVMS1, & physically disconnect it from the netork,
    - 2.b: +{color:#ff0000}Question: Do I need to unregister OVMS1 if I am going to do an identical install with just a new IP?{color}+
    - 2.b: physically change the cable to the 10.40.40.X subnet & reinstall OVS 2.1.2 with the new IP and resetup OCFS2
    - 2.c: start OVMS1.
    ~~~
    In theory Proposed solution 1 is cleanest, assuming DNS & no hard coding of IPs, as OVMS1 is already registered and it's agents are configured; Solution2 gives me some concerns about how the server/host are registred and whether the OVM Manager holds the entires or if they are local to the server... Not sure
    ~~~
    Any ideas or input to this would be appreciated as it is critical that we change the IP of OVMS1...
    Edited by: user8309620 on Nov 24, 2008 10:20 AM
    Edited by: user8309620 on Nov 24, 2008 10:20 AM

    First, Avi, my hat is off to you for always trying to help everyone.
    ~~~
    This was a little more trouble than planned (likely due to being HA). After a bunch of tinkering, I am now back up with both servers now on same subnet in HA config... After IP change, OCFS stopped working, then VM Manager would not manage the VMs properly & kept losing connection with the VM Servers, then trying to re-enable HA kept overwriting the cluster files stopping the servers from coming back up...
    ~
    Something that may be relevant is that my OVMS1 is also my initial node in my OCFS2 cluster (for HA) which I configured as OCFS2 over SAN via the documentation: "Oracle® VM Server User’s Guide Release 2.1 E10898-03:9.2.2 Creating an OCFS2 Cluster for HA"
    ~
    I will try to summarize what worked.
    ~~~
    Note: In retrospect, I would un-configure the HA before doing anything then re-enable when done. It looks like enabling HA overwrites the cluster.conf file so make backups of it as you go through the process... You can alternatively just leave HA enabled and 'test' when done but I preferred to re-configure it after the changes...
    ~~
    1) As Avi said, change /etc/sysconfig/network-scripts/ifcfg-eth0:
    2) If your gateway changes, then update /etc/sysconfig/network (my machine didn't work without this).
    3) modify your /etc/ocfs2/cluster.conf to reflect the IPs. I recommend you reboot each server multiple times to make sure the OCFS works and auto mounts on both servers after reboots. Note that I had to reboot many times and restart/reload/reconfigure OCFS many times... More details at the bottom of this post but I hit many issues/errors including:
    - connect attempt to node failed with errno -117
    - connect attempt to node failed with errno -22
    - Unable to stop cluster as heartbeat region still active
    - Transport endpoint is not connected
    4) Test your OV Manager... I was getting weird errors like I couldn't delete a VM server from the Pool & VMs wouldn't come up right on both servers (using preferred servers). I thought that the old IP may be cached somewhere so I restarted the VM Manager:
    /sbin/service oc4j stop
    /sbin/service oc4j start
    5) OV Manager was still messed up and not able to load machines properly so I changed the Master from SV1 to SV2 using Avi's advice in the thread:
    Re: Changing the Server Pool Master
    6) things were working fine until I edited the pool and re-Enabled High Availability. Upon reboot of the servers the OCFS2 /OVS shared cluster didn't come up. That is where I found the /etc/ocfs2/cluster.conf was being overwritten. Replacing the over-written cluster.conf with the one that got me working in step 3 above...
    7) Now I had a working infrastructure but feared that my OVMS1 was still primary for OCFS2 and now OVMS2 was now the Pool Master... I decided that I wanted OVMS1 to be primary for both so I repeated steps 5) & 6) above to re-make OVMS1 the Primary in the pool...
    That is all I am up for now. I have tested that VMs come up on both OVMS's with both manual and auto preferred server settings (same VMs restarted on both servers).
    Note that I have NOT gone in and tested auto-fail-over of the HA infrastructure to make sure that VMs auto-migrate or auto-restart on the other OVMS. I will take that up again later.
    ~~~~~~~~~~~~~~~~
    Some references that helped me that may help you:
    Network settings: Oracle VM Network Setting
    when ocfs not working: http://oss.oracle.com/pipermail/ocfs2-users/2007-April/001616.html
    more ocfs: http://oss.oracle.com/pipermail/ocfs2-users/2007-April/001591.html
    more ocfs 'Transport endpoint is not connected': Re: Error Message:  mount.ocfs2:  Transport endpoint is not connected while
    more ocfs: Add servers to a cluster
    more ocfs http://www.mail-archive.com/[email protected]/msg02522.html
    more ocfs: http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html

  • Global authentication for applications deployed in OC4J server

    Hi,
    I have a couple of JSP pages deployed in OC4J server. I
    would like to use authentication provided by OC4J, it
    means to use JAZN UserManager (encrypted principals, LDAP
    or SSO).
    My question is, if it's possible to set default
    authentication method for whole server or whole
    http-web-site on OC4J, or I have to make change in web.xml
    in each and every program, which I am going to deploy into
    my OC4J. If I have 100 programs and somebody will make
    decision, there will be no authentocation on this particular
    server, do I have to change all my programs and remove
    entries from web.xml files?
    Is there a way how to specify the login page globally for
    the server, not by application?
    Thanks,
    Marek

    lograste resolver tu problema????... si es asi me puedes enviar la solucisn.....
    gracias..

  • How to configure the .EAR to the OC4J server step by step ?

    I have configured the JavaBean of the OC4J server with the following step:
    1.create the eosp.ear with the JDeveloper's wizard
    2.copy the eosp.ear to the OC4J Server with the Path:
    J2EE_HOME/applications/
    3.modify the server.xml and add the following words:
    <application name="eosp" path="../applications/eosp.ear" auto-start="true"/>
    4.restart the OC4J server and show the information:
    Auto-deploying eosp (New server version detected)...
    5.create the new JSP and this source code is:
    <%@ page import="com.beautybeard.eosp.common.*"%>
    <%@ page import="com.beautybeard.eosp.constant.*"%>
    6.visit the JSP and show the error information:
    Error parsing JSP page /eosp/usr_profile/login.jsp
    Syntax error in source/eosp/usr_profile/login.jsp.java:5: Package com.beautybeard.eosp.common not found in import.import com.beautybeard.eosp.common.*; ^/eosp/usr_profile/login.jsp.java:6: Package com.beautybeard.eosp.constant not found in import.import com.beautybeard.eosp.constant.*; ^2 errors
    why?
    why can not find the package?
    please help me out

    Hi Sky-
    It looks like you have a web application only.
    You need to create a war file as described above. A war file is a jar'd file containing your web components, including your javabean class files, etc. JDeveloper 9i can do this for you. You've already done the hard work. Suppose that the project you have created that contains your javabeans, etc in JDev 9i is called myproject (with myproject.jpr as the project file). Right click on the myproject.jpr in the JDev navigator and select 'new...', go to Deployment Profiles and select J2EE Web Module (WAR File) - a general screen will pop up asking you to save the deployment profile (you can just use the default if you want). Once you select OK on that, you will get a screen that calls itself the J2EE Web Module Deployment Profile Settings. This is the screen that you can use to enter your information.
    Your servlet and javabean classes will go into WEB-INF/classes subdirectory that you see to your left in this window. Simply select the WEB-INF/classes entry and it will display a list of your java sources (it will only place the compiled output in this directory - there is a toggle for it).
    Once you have specified that your javabean and servlet classes go in this directory, you should be set. Go ahead and save / close. In your navigation screen under your project (myproject.jpr or whatever your project name is) you will see your files, jsps, etc and something called webapp1.deploy (if you accepted the default). If you right-click on that, you will get a menu that asks a number of things, one of which is to Deploy to EAR file. Select that entry and it will create an ear file for you. You can play with the various settings to change the name of the ear file, but that's about all you have to do. Once this is completed, you can put the EAR file on your linux box or wherever you want, adjust your server.xml and default-web-app.xml files and launch the app!
    Good luck!
    Ray
    Hi,Ray
    Thank you for giving me the detail information!
    I'm sorry that I can not give the detail and clear problem ,which make you delusoried.
    ok,now I give you my aim.
    1. I will construct my application system with JavaBean(not EJB),Servlet,JSPs (linux+IAS+JDeveloper+Oracle8i database)
    2. I will package business function with JavaBean. example:
    * CheckLogin.java
    package com.beautybeard.eosp.javabean.usrprofile;
    import com.beautybeard.eosp.common.*;
    import com.beautybeard.eosp.data.*;
    import java.io.*;
    import java.lang.*;
    public class CheckLogin{
    public CheckLogin()
    //do nothing here
    public boolean getCheckLogin(){
    3. I will control the request and response with Servlets.
    example:
    *CheckLoginSevlet.java
    package com.beautybeard.eosp.servlet.usrprofile;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import com.beautybeard.eosp.servlet.*;
    import com.beautybeard.eosp.javabean.usrprofile.*;
    public class CheckLoginServlet extends DefaultServlet
    public void service(HttpServletRequest req,HttpServletResponse res) throws IOException, ServletException
    //use the JavaBean
    CheckLogin cl = new CheckLogin();
    if (cl.getCheckLogin){
    res.sendRedirect("login.jsp");
    }else{
    res.sendRedirect("err.jsp");
    4. I will display the result with JSPs:
    example:
    <%//login.jsp%>
    <%@ page import="com.beautybeard.eosp.common.*"%>
    <%@ page import="com.beautybeard.eosp.data.*"%>
    5. I have success on running the above steps in the 9iJDevelper(pure java) environment(OS:Windows 2000 Server), and now I will move the JSPs ,Servlets,JavaBeans to the Server(linux) without the JDeveloper's deployment wizard.
    how to configure the IAS to carry my point?
    thank you!
    Sky liu

  • Unable to start OC4J server - Oracle SOA suite 10.1.3.5

    Hi,
    We are getting the following error, while start the server. Please help us.
    11/06/30 20:46:26 java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseLayout(DOMConfigurator.java:446)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:186)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
    11/06/30 20:46:26 at com.collaxa.ServerLoggerManager$DOMConfigurator.parseCategory(ServerLoggerManager.java:464)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
    11/06/30 20:46:26 at com.collaxa.ServerLoggerManager.init(ServerLoggerManager.java:69)
    11/06/30 20:46:26 at oracle.bpel.services.common.ServicesLogger.initLoging(ServicesLogger.java:602)
    11/06/30 20:46:26 at oracle.bpel.services.common.ServicesLogger.getLogger(ServicesLogger.java:183)
    11/06/30 20:46:26 at oracle.bpel.services.common.ServicesLogger.canLog(ServicesLogger.java:373)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.util.LogUtil.isLoggingEnabled(LogUtil.java:56)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.util.LogUtil.isDebugLoggingEnabled(LogUtil.java:67)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.util.LogUtil.verifyAndLogDebugMessage(LogUtil.java:138)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:157)
    11/06/30 20:46:26 at com.abc.workflow.task.service.ABCTaskService.getWorkFlowContext(ABCTaskService.java:2011)
    11/06/30 20:46:26 at com.abc.workflow.task.service.ABCTaskService.customTaskAction(ABCTaskService.java:1647)
    11/06/30 20:46:26 at com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.invoke_customTaskAction(ABCTaskServiceSOAPPortBinding_Tie.java:910)
    11/06/30 20:46:26 at com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.processingHook(ABCTaskServiceSOAPPortBinding_Tie.java:1474)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:430)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:379)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:294)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:151)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
    11/06/30 20:46:26 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    11/06/30 20:46:26 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    11/06/30 20:46:26 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    11/06/30 20:46:26 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    11/06/30 20:46:26 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    11/06/30 20:46:26 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    11/06/30 20:46:26 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    11/06/30 20:46:26 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    11/06/30 20:46:26 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    11/06/30 20:46:26 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    11/06/30 20:46:26 at java.lang.Thread.run(Thread.java:619)
    11/06/30 20:46:26 log4j:ERROR Could not create an Appender. Reported error follows.

    Hi Pardi ,
    Hope you have done this workaround , If not please try to Look for basic Server URLs, Port Numbers, Connection Strings, Domains & File Locations in BPEL.xml file /.esbsvc and try to
    Change according to new (Current) Server URLs, Port Numbers, Connection Strings, Domains & File Locations
    Example:
    ======
    partnerLinkBinding name=”BPELProcess1”>
    <property name=”wsdlLocation”> BPELProcess1.wsdl</property>
    <property name=”wsdlRuntimeLocation”>http://host:port/orabpel/default/ABCDistribution /1.0/ABCDistribution?wsdl</property>
    </partnerLinkBinding>
    To
    <partnerLinkBinding name=”BPELProcess1“>
    <property name=”wsdlLocation”>BPELProcess1.wsdl</property>
    <property
    name=”wsdlRuntimeLocation”>http://mysoaserver.mydomain.com:7777/orabpel/default/BPELProcess1/1.0/BPELProcess1?wsdl</property>
    </partnerLinkBinding>
    Regards,
    Kiran
    Edited by: Kiranlal on Jul 25, 2011 4:29 AM

  • Oc4j server 10.1.3.3 to weblogic server 10.3.5

    Hi,
    I have one requirement. i have oc4j server 10.1.3.3 and Jdeveloper is 10.1.3.4. from here i need to send one message through JMS Adapter to weblogic server 10.3.5.(here one queues is there). so pls any one help me out.
    Thanks,
    Rahul

    I have solved the problem, in an unexpected way.
    I logged onto metalink and try to find some solution. But I could only get are the same instructions which I already did.
    But there was a link there to download the wlthin3client.jar. Even though I already have it, I still downloaded the JAR from metalink and gave it a try.
    As it turned out, I was able to access the Weblogic resources by changing the version of wlthin3client JAR I am useing.
    Manifest of the JAR which was not working:
    Implementation-Version: 10.3.3.0
    Specification-Vendor: Oracle Corp.
    Specification-Title: WebLogic Server Thin-Client
    Specification-Version: 10.3.3.0
    Manifest of the JAR that is working (Downloaded from Oracle meta-link)
    Implementation-Version: 10.3.2.0
    Specification-Vendor: BEA Systems
    Specification-Title: WebLogic Server Thin-Client
    Specification-Version: 10.3.2.0

  • JSF page shows runtime error when application deployed in local oc4j server

    I developed a wsrp portlet producer based application and delployed it in oc4j application server. But when I open input.jsp page url which has JackBe portlet mashlets on it in web browser.
    I get an error 'mdsId=/oracle/adf/portlet/wsrpPortletProducer1_1223631729156/ap/E1default_e62a8fe5_011e_1000_8002_ac144d7e5e23.pxml not found'.
    Oc4j, oracle database instance and JackBe presto are running on same local machine.
    I am using trial version of JackBe presto. Similarly while installing oc4jpdk, I do need to change ORACLE_HOME path to oc4j from oracle database folder which stops running of my oracle database(Oracle10g) instance on my machine. Please suggest me with possible solution pointers to resolve it.

    Hi
    Thanks for the input. I checked at the forum you referred to. I did not find any similar question discussed on the forum. I highly appreciate if you suggest me few exact pointers to this issue. I am losing on time and appreciate quick response.
    Thanks & Regards
    Abhijit Kulkarni

  • Starting OC4J Server

    I've installed OC4J on Oracle 9i Application Server 1.0.2.2 on
    Solaris v 5.7. I have Java version 1.2.1 as my default Java
    environment.
    The installation of OC4J went through fine. However, when trying
    to start the OC4J server, I get the following error:
    $ java -jar orion.jar
    Error initializing server: Error instantiating default
    application at file:/app.
    Any suggesstions?
    Thanks,
    Ricardo R. Guzman

    Did you do this first:
    java -jar orion.jar -install
    This will set your admin password. Not absolutely necessary, but
    useful. The error indicates that you don't have write access to
    some directory. Here is the layout of oc4j:
    /../j2ee/home
    this should be the directory you start oc4j from. The .. is
    whereever you have installed oc4j.
    j2ee/home/application-deployments
    this directory is where the applications are actually deployed.
    j2ee/home/applications
    this directory is where ear files can be automatically deployed,
    if you want to do that. By default, this feature is not enabled.
    j2ee/home/config
    various configuration xml files.
    j2ee/home/default-web-app
    this directory has the startup default web application.
    The message you got doesn't make sense, unless you have your
    default-web-site.xml file pointing to a directory /app for your
    default-web-app. If you have done this, oc4j needs read/write
    access to the directory. If you have not setup this permission,
    this would explain the error you are getting.
    regards,
    the elephantwalker
    www.elephantwalker.com

  • How to use the HTTP Analyzer with the embedded OC4J server?

    JDeveloper version: Studio Edition Version: 10.1.3.0.3.3412
    I have a web application, which I run in the embedded OC4J server.
    I tried to use the HTTP analyzer to inspect http requests and responses, but I could not make the analyzer work.
    I tried to setup the HTTP analyzer by looking at the help entry, but I could not make it work.
    If the HTTP analyzer works for you in the embedded OC4J server, please write the steps on how to setup the analyzer.
    (Maybe I could not make the correct settings about port numbers?)
    Thanks in advance,
    Regards,
    Turgay Zengin

    I was able to use the HTTP Analyzer by changing the proxy setting directly in Internet Options. Check the browser/proxy settings set in JDeveloper preferences and copy them to the Connections tab of Internet Options. See if that works for you.

  • How to set up data source for JDeveloper's embedded OC4J Server?

    Help needed. I Created a BMP EJB and tried to test
    it with JDeveloper's( version 9.0.3) embedded
    OC4J server. For JDBC, I created a data source
    in data-source.xml lacated in JdeveloperHome\j2ee\home\config. However,
    when I run the test client. I got the error
    from JNDI lookup:
    java.rmi.RemoteException: jdbc/entdatasource not found
    Could anybody with similar experience help?
    Thank you in advance.
    -John Wang

    Try making your changes in the data-source.xml located @ JDev_root\jdev\system9.0.3.1035\oc4j-config.
    You can tell that this is the one to be modified by watching the log when you start the OC4J server. Look for the line that says C:\JDEV\JDK\bin\javaw.exe -ojvm -classpath . . .
    the -config option will point to where the server.xml is used from, the same dir should be where you get your data-source.xml

  • Admin_client.jar 10.1.3.1.0 and changing JVM settings for OC4J in opmn.xml

    Just now briefly looked at admin_client.jar 10.1.3.1.0. It appears that there is new functionality to create/alter and interrogate (J2EE) resources in this utility. This partially answers my other question, as stated in Jython support in Oracle Application Server 10g R3 (10.1.3)
    (Would be nice to get a definitive answer on scripting though)
    Anyway...
    As a follow-up question. Will there also be functionality (or is there already functionality) which lets me change JVM settings of OC4J components as they are declared in the opmn.xml, using only command line (and/or scripting) tools?
    Thanks

    Jan -- there is no out of the box command line utility that can amend the JVM settings for an OC4J instance.
    As Deepak alluded to, it is possible to do this using JMX because all the OPMN configuration elements are all reachable from JMX. This means you can create whatever Java JMX client you desire to modify the settings, or use a scripting environment which provides nice support for JMX (for example Groovy with its GroovyMBean) to access and use the OpmnConfig MBean set to change the OPMN configuration values.
    Asanka -- the 10.1.3.1 release has lots of capability in ASC to manage the OPMN settings from a browser -- including modifying all the JVM settings (things like heap, System properties, etc.) as well as OC4J switches (-userThreads, etc.)
    cheers
    -steve-

  • Rotation settings in log4j in oc4j server

    Hi,
    We have some setting on oc4j server for log4j where it take the backup of log file on daily, weekly and monthly basis. I guess there is some rotation setting and due to these archival, there is some space issue on server. I need to disable this so that it will keep just current date log and delete old days logs. Every day, it should delete old log and create new log for the day.
    Can you please tell where should I change the settings for this?
    Thanks a lot for your help.
    -AK

    The exception like this:
    04/12/15 11:00:20 java.lang.IllegalArgumentException: class not found: com.oracle.ord.itech.egov.Translations
    04/12/15 11:00:20 at oracle.i18n.servlet.listener.ContextListener.contextI
    nitialized(ContextListener.java:136)
    04/12/15 11:00:20 at com.evermind.server.http.HttpApplication.initDynamic(
    HttpApplication.java:805)
    04/12/15 11:00:20 at com.evermind.server.http.HttpApplication.<init>(HttpA
    pplication.java:533)
    04/12/15 11:00:20 at com.evermind.server.Application.getHttpApplication(Ap
    plication.java:889)
    04/12/15 11:00:20 at com.evermind.server.http.HttpServer.getHttpApplicatio
    n(HttpServer.java:688)
    04/12/15 11:00:20 at com.evermind.server.http.HttpSite.initApplications(Ht
    tpSite.java:587)
    04/12/15 11:00:20 at com.evermind.server.http.HttpSite.setConfig(HttpSite.
    java:263)
    04/12/15 11:00:20 at com.evermind.server.http.HttpServer.setSites(HttpServ
    er.java:259)
    04/12/15 11:00:20 at com.evermind.server.http.HttpServer.setConfig(HttpSer
    ver.java:160)
    04/12/15 11:00:20 at com.evermind.server.ApplicationServer.initializeHttp(
    ApplicationServer.java:2385)
    04/12/15 11:00:20 at com.evermind.server.ApplicationServer.setConfig(Appli
    cationServer.java:1542)
    04/12/15 11:00:20 at com.evermind.server.ApplicationServerLauncher.run(App
    licationServerLauncher.java:92)
    04/12/15 11:00:20 at java.lang.Thread.run(Thread.java:534)

  • Working on Tomcat Server but same code is not working on oc4j server of E-B

    Hello,
    I have a jsp page that is working properly in tomcat 6 server but when i deployed it on oc4j server 10.1.3.1.0 than it is not working. I am confuse.
    ERROR MESSAGE:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    CODE JSP:
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <!DOCTYPE html PUBLIC
         "-//W3C//DTD HTML 4.01 Transitional//EN"
         "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta
         http-equiv="Content-Type"
         content="text/html; charset=ISO-8859-1" />
    <meta
         name="author"
         content="MAX" />
    <title>Test Register Page</title>
    <link
         rel="stylesheet"
         href="css/style.css"
         type="text/css"
         media="screen" />
    </head>
    <body>
    <div id="content">
    <form name="demo" onsubmit="return validate_form()" action="RegisterServlet" method="post">
    <fieldset>
         <legend>VIEW USER</legend>
         <table border=1>
              <tr>
                   <td width="200px" align="center"><b>Bank Name</b></td>
                   <td width="200px" align="center"><b>User Name</b></td>
              </tr>
              <%
                        Connection connection = null;
                        String connectionURL = "jdbc:oracle:thin:@10.38.60.55:1521:edwdevdb";
                        ResultSet rs = null;
                   Statement statement = null;
                   try
                        // Get a Connection to the database
                        Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
                        connection = DriverManager.getConnection(connectionURL,
    "scott", "tiger");
                        statement = connection.createStatement();
                        rs = statement.executeQuery(" SELECT user_info.USER_KEY,user_info.FI_ID,d_fi.fi_nm, user_info.User_Name from user_info INNER join d_fi on user_info.fi_id = d_fi.fi_id order by fi_nm ");
                        //Set 'authentication' flag
                        while (rs.next())
         %>
                        <tr>
                                  <td width="200px"><a href="SearchUser?bankname=<%=rs.getString("USER_KEY")%">> <%= rs.getString("FI_NM")%></a> </td>
                                  <td width="200px"><%= rs.getString("User_Name")%></td>
                        </tr>
         <%                    
                   catch(SQLException e)
                   finally
                                            rs.close();
    statement.close();
    connection.close();
         %>
         </table>
         <label> </label>
    </fieldset>
    </form>
    </div>
    </body>
    </html>
    WEB xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app     xmlns="http://java.sun.com/xml/ns/javaee"
                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <description>Register</description>
    <display-name>Register</display-name>
    <!-- Declare Servlets -->
    <servlet>
         <servlet-name>BaseServlet</servlet-name>
         <servlet-class>BaseServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>CategoryServlet</servlet-name>
         <url-pattern>/Category</url-pattern>
    </servlet-mapping>
    <!-- Welcome File List -->
    <welcome-file-list>
         <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    Edited by: bappy007 on Oct 10, 2010 1:57 AM
    Edited by: bappy007 on Oct 10, 2010 1:58 AM

    ERROR IN LOG FILE:
    10/10/10 15:18:55.843 edwportal: Servlet error
    java.lang.NullPointerException
         at test.jspService(_test.java:93)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)

  • Problem on running Preconfigured OC4J server in JDeveloper 10.1.3.2

    Hi all,
    I have problem on running preconfigured oc4j server in JDeveloper 10.1.3.2. I get the error message below :
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin>
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin\adfp_oc4j.cmd C:\Jdev10132\jdk\jre\.. C:\Jdev10132\ C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0 -start
    wsrp not installed
    installing wsrp......
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache alt path or file already exist
    C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache\admin
    path or file already exist
    System can not find the specified path
    java.lang.RuntimeException: Instruction unknown: loadınstruction
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:335)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:410)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:791)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    ERROR: 'Instruction unknown: loadınstruction'
    FATAL ERROR: 'Could not compile stylesheet'
    oracle.portlet.server.containerimpl.install.InstallException: Error parsing stylesheet "resource/config-server.xsl"
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:289)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         ... 2 more
    caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    System can not find the specified path
    Error: Can not find C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\config\server.xml.
    Stop OC4J command finished
    Any help is appreciated...
    Thanks in advance
    Aliye

    well I have downloaded the latest version of jdk (1.6) to check with it so it solved some of the problems but still I get an error on running the oc4j server. Error I get is:
    Starting OC4J from C:\Jdev10132\j2ee\home ...
    Executing: C:\Jdev10132\jdk\jre..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\Jdev10132\j2ee\home\oc4j.jar" -config C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\j2ee\home\config\server.xml
    07/02/19 10:45:10 Error initializing server: IO error reading system
    07/02/19 10:45:10 Fatal error: server exiting
    Stop OC4J command finished.
    I couldnt understand what is the problem now..
    Thanks for your help..
    Aliye

Maybe you are looking for