JDeveloper 10g (10.1.3) - classes for use in Oracle 9i Server

Hello,
I'm currently using JDeveloper Studio Edition Version 10.1.3.0.4 (SU2) to develop some classes which interact with some of the data in my Oracle 9i database.
The server is Oracle 9i 9.2.0.5.
From what I can tell, the JRE on the server is 1.3.1, and according to the JDeveloper about box my "JavaTM Platform" is "1.5.0_05".
My plan is to load the Java classes onto the server for calling via stored procedure.
Do I need to require Java 1.5 on the Oracle server for this to work?
Or do I need to change my "Source" and "Target" versions in the Compiler settings in my JDev project to 1.3?
I am mostly just using JDBC stuff like
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
as well as java.util stuff too, along with oracle.jdbc.OracleDriver for my connection generation.
Right now I get problems loading my classes onto the server (I'll post more details the next time I can gather them).
Are there any thoughts on where I should start? In other words - does anyone know if I'm even able to update the version of java on the server, or do must I compile to a different level of Java?
Or is there something in the Java loading process that can be done to refer to the right java version?
thanks!
Mike

FOLLOW UP:
OK I decided to change the compiler setting to have a source and target of "1.3".
When we try to load the java .class files we get a
ORA-29545 badly formed class
with no additional information.
Should I try loading the source directly?
thanks again
-Mike

Similar Messages

  • WebGate Error Report - The URL /access/sso is reserved for use by Oracle...

    We are getting a 500 error on the web gates when logging in.
    They have been working before, but are now reporting the error below.
    2010/01/27@07:09:25.632239 18521 33 WEB ERROR 0x0000151F /export/build40/Oblix/coreid1014/palantir/commonlib/src/apache2_req_info.cpp:170 "WebGate Error Report" Message^The URL /access/sso is reserved for use by Oracle Access Manager and has been used with incorrect parameters. ReqReq^POST /access/sso HTTP/1.1 ReqProto^HTTP/1.1 ReqHost^p1uawbsv1.portal.internal ReqStatLine^ ReqStatus^200 ReqRawUri^/access/sso ReqUri^/access/sso ReqFilename^/u01/app/oracle/product/11.1.1/ohs1/instances/instance1/config/OHS/ohs1/htdocs/access ReqPath^/sso ReqArgs^
    The configuration uses form based login
    Details for Authentication Scheme
    Level           1
    Challenge Method           Form
    Challenge Parameter           
    creds:userid password
    form:/oamsso/login.html
    action:/access/sso
    passthrough:no
    SSL Required           No
    Challenge Redirect           
    Enabled           Yes

    thanks,
    the login post goes to /access/sso, but now i am getting 404 error /access/sso
    Below is what I currently have the following in httpd.conf, which is the same as in a working environment.
    The web gate policy resources include /portal and /public, but no mention of /access. How does web gate know how to intercept /access/sso?
    [2010-01-28T10:50:42.9609+11:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: p1uawbs02] [host_addr: 10.252.16.223] [tid: 18] [user: oracle] [ecid: 0000Pa_5qz3BP9s5Gj0Fyf0001rV00009_] [rid: 0] [VirtualHost: main] File does not exist: /u01/app/oracle/product/11.1.1/ohs1/instances/instance2/config/OHS/ohs1/htdocs/access
    #*** BEGIN WebGate Specific ****
    LoadFile "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oblix/lib/libgcc_s.so.1"
    LoadFile "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oblix/lib/libstdc++.so.5"
    LoadModule obWebgateModule "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oblix/apps/webgate/bin/webgate.so"
    WebGateInstalldir "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access"
    WebGateMode PEER
    <Location /access/oblix/apps/webgate/bin/webgate.cgi>
    SetHandler obwebgateerr
    </Location>
    <Location "/oberr.cgi">
    SetHandler obwebgateerr
    </Location>
    <LocationMatch "/*">
    AuthType Oblix
    require valid-user
    </LocationMatch>
    #*******Default Login page alias***
    Alias /oamsso "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oamsso"
    <LocationMatch "/oamsso/*">
    Satisfy any
    </LocationMatch>
    #*** END WebGate Specific ****

  • Companion CDs for 64-bit Oracle HTTP Server for AIX5L(64 bit) required.

    I need Companion CDs for 64 bit Oracle HTTP Server for AIX5L(64 bit).
    I tried to install using
    as_ibm_aix_companion_101300_disk1.cpio & as_ibm_aix_companion_101300_disk2.cpio
    but when i checked the files present in <Oracle_Home>/ohs/lib , they are of 32-bit.
    Also i tried with Oracle 10.1.2.0.2 but still the server is installed as 32-bit.
    Is 64-bit Oracle HTTP Server supported on AIX5L(64 bit) ?
    If yes, then from where can i download the CDs?
    Any suggestions will be appreciated.

    Greetings,
    Try this link:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201aixsoft.html
    Regards,
    Bill Chadbourne

  • HELP! JDeveloper 10g: WrappedDocLiteralStub badly formed class

    hello,
    Using JDeveloper 10g preview, I created a wrapper/skeleton for a webservice.
    I noticed a dependency on:
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    SO, i loacted this class in jdev.jar and extracted the 2 classes that I needed.
    I then tried to load these 2 classes into oracle using the loadjava utility.
    When trying to do this, I get an ORA-29545: badly formed class error.
    does anybody have ANY idea's whats going on?
    pelase help, thanks!
    here is a dump of what happened:
    F:\test>loadjava -user xxx/xxx@testdb -resolve -verbose WrappedDocLiteralStub$SerialisationInfo.class WrappedDocLiteralStub.class
    arguments: '-user' 'xxx/xxx@testdb' '-resolve' '-verbose' 'WrappedDocLiteralStub$SerialisationInfo.class' 'WrappedDocLiteralStub.class'
    creating : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    loading : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    creating : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    loading : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    resolving: class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    errors : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    ORA-29534: referenced object XXX.oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub could not be resolved
    ORA-29545: badly formed class:
    errors : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    ORA-29545: badly formed class:
    The following operations failed
    class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo: resolution
    class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub: resolution
    exiting : Failures occurred during processing

    Hi,
    As a first step to solving this, can I ask:
    1. What version of the database are you using
    2. Have you loaded the Client SOAP stack (see http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html )
    rgds
    Susan
    JDeveloper PM

  • [ANN] Oracle JDeveloper 10g production is now available for download.

    It's probably worth a mention in this forum too ;-)
    In case you haven't notice we have just released Oracle JDeveloper 10g production with a many new features that makes it the ideal Java tools for Oracle Application Server users.
    Check it out at:
    http://otn.oracle.com/products/jdev
    A partial list of new features:
    Visual layout editing for both JSP/HTML and Swing user interfaces.
    Drag-and-Drop data-binding of business services to the user interface
    Visual Struts-based page flow modeler
    Declarative creation of business services based on EJB, TopLink, JavaBeans, Web Services, or Oracle ADF Business Components
    Visual UML modeling with code generation
    Code Auditing and Metrics
    Hot-Swap Debugging
    Improved code editor
    XML Schema visual editor
    Database development and Database modeling
    One-Click deploy to Oracle Application Server, BEA Weblogic, JBoss and Tomcat
    Web services development and consumption with support for WS-I
    And much more.

    Hi,
    That is definitely a product manager - positioning question (forum ID: oalonso), so I'd recommend that you ask the same question in the SES forum. The Text team has been monitoring that forum and answering most of the posts there, so you'd probably be more likely to get your question answered.
    Secure Enterprise Search
    -Ron

  • Correct version of jdeveloper to use with Oracle App Server 10g 10.1.2.0.2

    Hi,
    I just want to be sure, I am new to JDeveloper and I would just like to verify/ask what correct version of JDeveloper should we use so we could deploy the finished applications on our Oracle Application Server 10g 10.1.2.0.2 without errors?
    Looking at this support matrix: http://www.oracle.com/technology/products/jdev/htdocs/11/as_supportmatrix.html#1013
    I think we can use JDeveloper 10g (10.1.2)?
    I downloaded Jdeveloper 10.1.2 from this link: http://www.oracle.com/technology/software/products/jdev/htdocs/soft10g.html.
    Will this work well with Oracle Application Server 10g 10.1.2.0.2?
    Thank you very much,
    Mickey
    Edited by: [email protected] on Aug 13, 2009 2:20 AM

    Yes, it works well.
    --olaf                                                                                                                                                                                                                                       

  • Where to locate HTTP Server for use with Oracle Express 10g and Apex?

    Hello,
    Im a newbie and I downloaded oracle express 10g and Apex 3.2.1. The Apex install is referencing "choosing a HTTP Server" specifically "Oracle HTTP Server and mod_plsql and the embedded PL/SQL Gateway". My question is do the HTTP server or PL SQL embedded Gateway come with the 10g install or do I need to download them seperately? If so where can I locate them?
    Thank you!

    user12027813 wrote:
    If using Oracle XE, then which APEX install scenario would I used if I downloaded both the XE and apex from the OTN?Oracle XE includes APEX 2.1 and uses the PL/SQL Gateway for HTTP service work. No separate HTTP Server is required.
    If, after you install XE, you want to upgrade to APEX 3.x, you would select the PL/SQL Gateway for the upgrade.
    If the PL/SQL Gateway (EPG) does not provide the full set of services you need, you could put a regular Apache in front and redirect to APEX for those specific issues.
    If that is to complicated, then you could license Oracle Application Server Standard Edition 1 (for a fee) to get an Oracle HTTP Server and it's mod_plsql to replace the internal EPG.

  • No suitable driver for mysql in oracle application  server  portal 10g

    Hi all
    i want to run my portlet with mysql4.1 database from "oracle application server portal 10g".
    i did all configuration in data source and also i kept mysql connector jar file into all oraclehome/jdbc/jlib folder.
    Mysql
    General
    Name :: helloMysql(jndiname)
    Description :: helloMysql
    Data Source Class :: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
    JDBC URL :: jdbc:mysql://localhost:3306/database?relaxAutoCommit=true
    JDBC Driver :: com.mysql.jdbc.driver
    Datasource Username and Password
    Username------------>(user name)
    password-------------->(password)
    JNDI Locations
    Location== jdbc/helloMysql
    jdbc/blogOracle== jdbc/XA/helloMysql
    EJB Location == jdbc/XA/helloMysql
    Connection Attributes
    Connection Retry Interval (seconds)====1
    Max Connection Attempts===empty
    Cached Connection Inactivity Timeout (seconds)===30
    remaing all are empty
    when i run the portlet, then i am getting "No suitable driver" in my portal page.
    i want check server console or server log for oracle application server portal.
    please help ,where to find server log?
    Any suggestions or help from your side.
    Thanks in advance.
    Raju

    I think you're trying to connect to a database in a diferent host than the Web Server.
    This is possible in applcations, but not in applets, who only can open TCP connections to the same machine who served the page.
    To do that, yo should use a Data Gateway to establish the connections (IDSServer, and so on). I think that installing Oracle's Connection Manager in the same machine than the Web, it would run.
    null

  • Java Class for mail in oracle

    Hi,
    I created an Java program to import attachments from a exchange server mailbox using POP3S .It works fine when run as a java application.
    But when i put this inside Oracle11g using load java and while executing it gives an error at
    Multipart mp = (Multipart) message.getContent();
    Error:
    Content-Type: multipart/mixed;
    boundary="_002_A0C2E09A..................................."
    java.lang.ClassCastException
    at Newmail.mailPOP3(Newmail:71)
    Could someone explain why I am getting this error? What can I do to resolve this error?Any help would be much appreciated.
    Regards,
    Joseph

    Hai Matt,
    The actual class i am tested as follows,
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.Part;
    import javax.mail.Multipart;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimeMessage;
    public class Newmail
    public Newmail()
    super();
    public static int mailPOP3(String phost,
    String pusername,
    String ppassword)
    Folder inbox =null;
    Store store =null;
    int result = 1;
    try
    String host=phost;
    final String username=pusername;
    final String password=ppassword;
    System.out.println("Authenticator");
    Authenticator auth=new Authenticator()
    protected PasswordAuthentication getPasswordAuthentication()
    return new PasswordAuthentication(username, password);
    System.out.println("Certificate");
    String filename="D:\\Certi\\jssecacerts";
    String password2 = "changeit";
    System.setProperty("javax.net.ssl.trustStore",filename);
    System.setProperty("javax.net.ssl.trustStorePassword",password2);
    Properties props = System.getProperties();
    System.out.println("host-----"+props);
    props.setProperty("mail.imaps.port", "993");
    props.setProperty("mail.imaps.starttls.enable","true");
    props.setProperty("mail.imaps.ssl.trust", "*");
    Session session = Session.getInstance(props,auth);
    session.setDebug(true);
    store = session.getStore("imaps");
    System.out.println("store------"+store);
    store.connect(host,username,password);
    System.out.println("Connected...");
    inbox = store.getDefaultFolder().getFolder("INBOX");
    inbox.open(Folder.READ_ONLY);
    Message[] msgs = inbox.getMessages();
    System.out.println("msgs.length-----"+msgs.length);
    result = 0;
    int no_of_messages = msgs.length;
    for ( int i=0; i < no_of_messages; i++)
    System.out.println("msgs.count-----"+i);
    System.out.println("Attachment....>"+msgs.getContentType());
    // Casting message to multipart
    *Multipart mp = (Multipart)msgs[i].getContent();* System.out.println("Casting Success" + mp.getContentType());
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    if(inbox!=null)
    inbox.close(false);
    if(store!=null)
    store.close();
    return result;
    catch(Exception e)
    e.printStackTrace();
    return result;
    In this class when running from oracle using a procedure "Multipart mp = (Multipart)msgs[i].getContent();" throws exception..
    Error:
    Content-Type: multipart/mixed;
    boundary="_002_A0C2E09A..................................."
    java.lang.ClassCastException
    at Newmail.mailPOP3(Newmail:71)
    Thanks & Regards
    Joseph

  • ISetup for use with Oracle Incentive Compensation (OIC)

    I have read conflicting reports as to whether or not iSetup would be available for use to migrate Compensation Plans (and all other OIC configurations) across instances of Oracle Apps eBusiness.
    Does anyone know if R12 (12.04) is capable of handling OIC migrations? Is there any documentation available as to how one would configure iSetup for use with OIC?
    Thanks in advance.

    Hi,
    This is Mugunthan from iSetup development. OIC is not covered as a part of standard selection sets shipped by Oracle. You may consider logging a SR (product code - 841) to get the coverage.
    If you already have java program/scripts that migrate OIC, then you can plugin them with iSetup. You can also write your own BC4J APIs for migration of OIC setups and register with iSetup.
    To know more about writing BC4J iSetup Fwk APIs, please log a SR.

  • Deploying a Web Service developed for WebSphere to Oracle App Server

    I have an EAR file containing a web service (exposed as a servlet) that was developed using WebSphere Studio and originally deployed to a WebSphere application server. It should be J2EE 1.4 compliant. I now want to deploy it as a web service on Oracle Application Server.
    Is it as simple as just deploying the EAR to OAS? Or do I need to (re-)assemble the EAR using the Web Service Assembler tool and then deploy it? What is the best practices approach for this scenario? My goal is to develop a web service that is deployable to both WebSphere and OAS with as little fuss as possible.
    Thanks

    using Ant.
    check apache.org project there they have the ant section.
    Regards

  • How to trace sevice names used in oracle names server

    We are in process of cleaning up our oracle names server (9.2.0.6). In process, we found several fault entries (service names) which we are not sure of.. ( as it is a large nework) but we need to fix them. For ex. abc. world may be pointing to a db server orcl on server1, but we may need this to point to orcl on server2 and so on..
    However, before making any changes on this names server, we want to be doubly sure of 'whether the service names are being used by anyone' (as this is the only names server supporting > 100 live db)? So, we want to trace the service names (and maybe the clients using them).. Is there a way out..?..
    Metalink note 299149.1 shows a way to trace clients.. but there is no way I found to trace the service names being used or not.
    kindly help.
    Rgds
    Jp

    Select a button and look at properties. Check the option "Set Name From Link." You can select multiple buttons and do them at one go.

  • What is the use of Oracle BI Server DSN?

    Hi,
    I have the Admin Tool for OBIEE 11g installed as standalone installer.
    While creating a new repository,I import the metadata by using ODBC DSN connection.I create a system DSN with the driver being 'Oracle in OraClient10g_home n'
    I am not able to understand as to in what circumstances the ODBC DSN connection is created with the driver being 'Oracle BI Server n'.
    Someone kindly let me know the use of creating a connection with the DSN 'Oracle BI Server n'.
    Also once I deploy an RPD on to my BI Server,if suppose the IP Address of the data source gets changed,then how can this be accomodated.
    Thanks in Advance.
    Regards,
    Akshatha

    Hi,
    It is used to connect to a repository through the Oracle BI Server
    i.e
    OBI Server can handle multiple repository but you can connect to only one at the same time by DSN Odbc Connection. Therefore, you must set up an ODBC connection for each repository.
    http://docs.oracle.com/cd/E12096_01/books/admintool/admintool_Connectivity2.html
    http://gerardnico.com/wiki/dat/obiee/odbc_driver_bi_server
    Thanks
    Deva

  • Internal NT error when attempting to use the Oracle Management Server

    Our platform is:
    HP NetServer LC 2000
    1 GB Ram.
    CPU: x86 Family 6 Model 8 Stepping 8
    Windows NT 4.0
    Oracle 8.1.6
    Currently the database is working fine except the problems with
    the Oracle Management Server which will allow us to do a backup.
    The Management Server NT Service is giving an error
    called: "Error 2140 . An Internal NT Error Occurred" There is a
    Listener service running but I don't know if the settings are
    correct??

    Hello,
    I too am an Ashford University student, and I have received the same error. However, I have found a couple workarounds that allow me to do pretty much everything except view my degree progress (for that I use Chrome on my iMac).
    ****CAUTION: THE FOLLOWING PROCEDURE COULD RESULT IN LOSS OF DATA****
    First, back up your iPad in iTunes (if you do not know how to do this, then do not proceed until you do). Second, quit Safari (double-tap the home button so that the multi-task bar appears at the bottom of the screen, then swipe until you see Safari, then press and hold the Safari icon until the 'X' appears, finally press the 'X' to quit the App) Third, make sure Safari is configured as follows:
    Settings > Safari >
    Java Script "ENABLED"
    Block Popups "OFF"
    Accept Cookies "ALWAYS"
    Reset Safari:
    Settings > Safari >
    Clear History
    Clear Cookies
    Clear Cache
    Restart your iPad by holding the Home and Sleep buttons until the Apple Logo appears (immediately let go of both buttons or else you will put your iPad into recovery mode). Accessing the Ashford Student portal should now work.

  • Converting a class for use in a jsp page.

    I was just wondering if it is possible/normal to convert complex(ish) classes to change the output from the system.out, to a return value from a method that is displayed via a jsp page. (I am just beginning, and trying to make the coversion from asp with COM to jsp with beans/servlets and I am not yet fully understanding the technologies, and how you import classes etc - please bear with me!)
    first, I made a class that has a method that just returns a string. like:
         public String GetAValue()
              return "Hello there.";
         }and then I made a jsp page that imported the class (test) like:
    <%@ page import="Test" %>
    <jsp:useBean id="tst" scope="page" class="Test" />
    st = tst.GetAValue();
    out.println(st);
    Which to my delight, worked fine! Then I made another class that retrieved a value from a web service. kind of like...
         public String GetAValueFromAWebService(){
              return theWebService.GetValueFromWebServiceMethod();
         }This class also works good when I just run via "java testit". But when I went to do the same as above ,ie, import the class, do a usebean then do st=tst2.GetValueFromWebServiceMethod(), I could not get it to work at all. This class does lots more tricky stuff then the first one though - it loads its properties from a .properties file via an instance of another class, and imports funky stuff like - import org.uddi4j.* and import java.util.Vector; and more.
    Ok, now the question! Is what I am trying to do stupid? If so, how should I do it? If its not stupid, how do I include all the extra import statements on the jsp page (there are about 10)
    Wow, sorry about the length of this post. I hope someone can understand my ramblings!
    Thanks,
    nmoog.

    Sorry, yeah...
    I am actually using the UDDI4J package, and it loads various settings with the
    config = Configurator.load(); (a seperate class to load stuff in with)
    The Configurator.Load method basically just does:
    config.load(new java.io.FileInputStream("samples.prop"));
    and then does System.setProperty() with the config.getProperty()
    values.
    I have a test class when I do "java Test" it runs and in the Main method just instantiates the MyWebService class and does the MyWebService.GetAWebServiceValue() which returns a string.
    As I said, this runs fine. But from the JSP code if I do the same thing it gets a NullPointerException.
    "java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:389)
    at java.util.Properties.setProperty(Properties.java:102)
    at java.lang.System.setProperty(System.java:654)
    at Configurator.load(Configurator.java:43)"
    Why can it load okie-dokey from the test class, but not the jsp page? Any ideas?

Maybe you are looking for

  • How to write xpath to extract ALL text under an element

    Hi, I need to extract every contents (text contents and not tags) under some tag, which may contain further tags, and I wonder how I can achieve this? For example suppose my xml looks like <doc> <title> The title of this message is (<italic> Question

  • Preview.app Collapse All in Table of Contents

    Is anyone aware of a way to collapse all open sections that appear in the table of contents for a PDF file in Preview?

  • MDM JCo Connection takes a long time

    Hi, I've just timed the time it takes from my java application to establish a connection to MDM. It takes 14 seconds. catalog.Login(server,port,login,password,language,1,10,5000,"C://temp.txt"); Our J2EE server and MDM is on a separate box on the sam

  • Adjust Y pos of Flash video control strip (skin)

    Hi I am in need to move the video control strip upwards so it clears my caption in the video shown below. The skin is a swf, and normally if I import a swf to to another fla as an outside source I can adjust xpos and ypos with action script. I am usi

  • What are all the tables used?

    hai, what r all the tables used for this report . <b>Created an interactive report in which sales orders were listed against different customers within the range selected. Selection of multiple sales orders were allowed for which checkboxes are provi