Replace Orion.jar with Oc4j.jar, Changing the container

Hi
I'll be really appreciate any help.
My application( web-based application based on Forms6i) is working fine with Orion.jar. I would like to upgrade this structure to Oracle9iDS using Oc4j.jar instead of orion. I have a main.jsp ( http://www.bmhub.com) file that after getting username/password, opens another window to show the main menu including all options(forms6i).With "Orion.jar" it works fine, I get message "Login ok" and so on.
I installed Oracle9iDS and I changed application.xml in "C:\oracle\Forms9i\j2ee\Oracle9iDS\config". After starting startinst.bat ( contains oc4j.jar), I entered username/password but I get message that "some fileds are blanks" and "Login Failed". when I changed the oc4j.jar to orion.jar, the sartinst.bat disappeared after 1 second.
Also I tried to replace most of the files in "C:\oracle\Forms9i\j2ee\Oracle9iDS\config" with my old configuration ( Orion configuration), the startinst with orion.jar works fine and I'm able to enter username/password. but nothing more. the forms9i dosent work anymore.(error HTTP 500).
Could you please help me?
regards,

Hi,
It seems getParameter() just returns null. I use it in my User.java file to login from main.jsp page.
public void configure(HttpServletRequest request)
          setUserName(request.getParameter(User.USER_NAME));
          setPassword(request.getParameter(User.PASSWORD));
          setCompany(request.getParameter(User.COMPANY));
          if ( (request.getParameter(MODE)!=null) && !request.getParameter(MODE).trim().equals(""))
               try
                    setPartnerTypeId(Integer.parseInt(request.getParameter(MODE).trim()));
               catch(Exception e)
                    e.printStackTrace();
How come it works with Orion.jar but returns null with Oc4j.jar?
Thanks,

Similar Messages

  • How to change the icon of the jar file w/o changing the windows setting

    I may be in wrong forum/area but I am not sure.
    I have created a windows executable jar file. Functionally it works fine. I can double click it to start my app. I want to change the icon of the jar file. I know I can change the icon for .jar extension in windows, but I want to be able to give a seperate icon for just this one file.
    All windows applications have thier own icon like Word, Excel etc. Is there any way I can do this for java apps? Also could this icon be kept consistent across platform say if I copy my app to linux? (Assuming it is not made for any particular os.)
    I am sure someone has come across this before.
    Thanks in advance.

    AFAIK you cannot specify an icon for a jar file. You can, however, specify an icon for a Frame using the setIconImage() method. This will have the effect of showing the icon in the taskbar for instance.

  • How to run Orion Console with OC4J from iAS9iR2

    java -cp oc4j.jar com.evermind.gui.server.ServiceConsole

    http://forum.java.sun.com/thread.jspa?threadID=645694&messageID=3803377#3803377
    Reply 7. What I showed you launches the "default" app. If oyu want to invoke Acrobat Reader, replace "cmd /c start" with the path to the reader's .exe file.

  • Packaging Additional jars with Midlet jar

    How should i package any additional Jar in my Midlet suit. Basically i am using JBuilder 2006 to develop a J2ME applcation and i have installed Nokia Developer suit for Midlet packaging. I thought that by adding the jar files (utility/helping) to res folder would enable me to package them with Midlet jar but it is not hapening. So on emulators my application is running fine as all the jars are in classpath but when i deploy the midlet jar in my cell phone it throws a No Class DEf found error which is logical and correct as no any utility jar is included in the midlet suit.
    Please help me to find a solution. I am in a dying stage and has to submit the deliverables by tomorrow.
    Thanking in anticipation.
    Regards,
    Alam Sher

    I extract 3rd party JARs and then include them in my JAR as follows:
    jar  xf  jakarta-oro-2.0.5.jar
    jar  xf jasperreports-1.2.1.jar
    jar  xf  iReport.jar
    jar cmf  mainClass Spec  Remote.jar  *.class  org/  net/  it/The extraction of jakarta... produces the org/ path, jasperreports... produces the net/ path and iReport ... produces the it/ path. All are in my working directory as are my *.class files. I hope this is the answer you need.

  • Run *jar with other jars in classpath...

    Hey,
    I am writing a little tool in Java and I exported it into a jar file. My tool uses a jar from somebody else. A second jar so to say...!
    My Jar's path is: ~/Desktop/project/dist/lib/MyTool.jar
    The other jar is located in: ~/Desktop/project/lib/help.jar
    I call the java vm from: ~/desktop/project/exe/
    with:
    java -cp ../lib/help.jar -jar ../dist/lib/MyTool.jar
    Now the tool starts running and everything works fine up to the moment when it is supposed to use one of the classes from the help.jar.
    Then I get a java.lang.NoClassDefFoundError.
    What am I doing wrong here?
    I tried to copy help.jar into the /exe/ dir. --> Did not work!
    I tried to copy all of the file into one folder and start the tool from there. --> didn't work.
    It would be great if somebody could point my in the right direction on how to solve my problem.
    THX
    Martin

    Hey,
    I am writing a little tool in Java and I exported it
    into a jar file. My tool uses a jar from somebody
    else. A second jar so to say...!
    My Jar's path is:
    ~/Desktop/project/dist/lib/MyTool.jar
    The other jar is located in:
    ~/Desktop/project/lib/help.jar
    I call the java vm from: ~/desktop/project/exe/
    with:
    java -cp ../lib/help.jar -jar
    -jar ../dist/lib/MyTool.jar
    Now the tool starts running and everything works fine
    up to the moment when it is supposed to use one of the
    classes from the help.jar.
    Then I get a java.lang.NoClassDefFoundError.
    What am I doing wrong here?
    I tried to copy help.jar into the /exe/ dir. --> Did
    not work!
    I tried to copy all of the file into one folder and
    start the tool from there. --> didn't work.
    It would be great if somebody could point my in the
    right direction on how to solve my problem.The classpath argument is ignored when you are running a jar using java -jar some.jar. You have to specify the class path from within the Manifest.
    Basic JAR tutorial:
    http://java.sun.com/j2se/1.4.1/docs/guide/jar/jar.html
    Tutorial about the extension mechanism:
    http://java.sun.com/products/jdk/1.2/docs/guide/extensions/spec.html

  • Third party dlls and jars with in jars.

    Hi,
    I have a application which uses several 3rd party jars and dlls.I want to create a executable jar for the application .I added the external jars using fat jar eclipse plugin. Iam able to run the jar on my system successfully.But on other systems the application doesnot launch as the dlls are not avaiable which is fairly understandable. It gives the following exception 'JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException'.Now i need to include these dlls into the jar so that i can distribute the application as a single jar and launch double clicking it.I know expecting dlls ignores the cross platform nature of java but i need it.please give me some idea on how this can be done.
    Thanks in advance

    Hi,
    I have a application which uses several 3rd party jars and dlls.I want to create a executable jar for the application .I added the external jars using fat jar eclipse plugin. Iam able to run the jar on my system successfully.But on other systems the application doesnot launch as the dlls are not avaiable which is fairly understandable. It gives the following exception 'JarClassLoader: Warning: Unable to load native library: java.lang.NullPointerException'.Now i need to include these dlls into the jar so that i can distribute the application as a single jar and launch double clicking it.I know expecting dlls ignores the cross platform nature of java but i need it.please give me some idea on how this can be done.
    Thanks in advance

  • I had to replace my i4s with another one from the apple store.shouldn't i be able to go to the cloud to get all my contact info and other stuff that was stored in the cloud from the first phone?

    i had to replace my i4s phone with another one from the apple store. i need to download all my contact info and other stuff from the cloud to my new phone.i see a screen that says  RESTORE I PHONE   and are you sure you want to restore the iphone to its facory settings?  all of your media and other data will be erased. they i tunes will verify restore with apple. After this you will have the option to restore your contacts and other settins.  The question is will it restore my first phones info?  I am hesitant to delete anything  lol.

    No. If you made your backup to iCloud, iTunes will not restore from an iCloud backup. See:
    iOS: Backing Up and Restoring Data to a New Device

  • PO with release stratergy - change the print parameter setting

    Hi all,
    In case of PO with release startetgy, when the PO is released by the last approver and after saving, the print should automatically come in the place of the creator.
    for ex: PO creator is A. His default printer is  A1
              PO approver   B. His default printer is B1.
    once B approves the PO, the print should come in A1.
    Kindly help me in fixing the issue.

    Hi,
    Thanks for your input. A little change in the logic.
    Our PO will have two output type.
    A - PO creator - print parameter p1
    B - PO approver - print parameter p2
    CASE 1:
    if output type1 is choosed, when B approves printout should come from p2.
    Case 2:
    if output type 2 is choosed, when B approves printout should come from p1.
    Note: No work flow is involved and print program cannot be changed. Can use user exit.

  • Problem with parallel currency - changeing the amount causes an error??

    Hi all,
    I have the system set up so that it uses a 2nd local currency (customized as a group currency) that has a custom defined currency exchange rate. When I try to enter a new invoice with the transaction FV60 and I try to change the amount in local currency 2 so it is not the same as the automatically calculated one I get an error F5580 saying "balance in & & is too large for an automatic correction".
    I tried finding the notes but some notes could not be implemented?? Did anyone had a similar problem?
    Thanks,
    D.

    I have to use FV60 because I have a document workflow activated and the user can only enter documents with FV60. Business process does not allow for one user to enter and post documents.
    OBY6 checked but the variance allowed is larger than what the user enters.
    Tried OBA5 also, blocked the message but it doesn't work
    Thank you for your help!

  • The system copy with Sapinst has changed the schema in oracle

    Hi;
    have done a copy Homogeneous of a system and after having all correct I have seen that has changed the name of the Schemas and the name of the tablespace.
    the system is a PI NW2004S.
    When the oraginal schema is SAPSR3DB, in the target system is SAPSR4DB, and all tables are here.
    The tablespace SAPSR3DB in the target system is empty and the copy has created one tablespace SAPSR4DB
    They are normal these changes? 
    thanks a lot

    Hi;
    Thanks a lot for the help. But I have done one homogeneous system copy with Oracle 10G and NW2004s.
    I attached information by the original system:
    USERNAME                          USER_ID CREATED
    OPS$ORAGXI                             33 31-JAN-08
    SAPSR3DB                               31 31-JAN-08
    OPS$SAPSERVICEGXI                      30 31-JAN-08
    SAPSR3                                 27 31-JAN-08
    OPS$GXIADM                             26 31-JAN-08
    OPS$SR3ADM                             32 31-JAN-08
    DBSNMP                                 24 31-JAN-08
    TSMSYS                                 21 31-JAN-08
    DIP                                    19 31-JAN-08
    OUTLN                                  11 31-JAN-08
    SYSTEM                                  5 31-JAN-08
    USERNAME                          USER_ID CREATED
    SYS                                     0 31-JAN-08
    Theses the information about the target system:
    USERNAME                          USER_ID CREATED
    SAPSR4DB                               35 18-FEB-08
    SAPSR3DB                               31 18-FEB-08
    OPS$SAPSERVICEGXD                      34 18-FEB-08
    SAPSR3                                 33 18-FEB-08
    OPS$GXDADM                             32 18-FEB-08
    OPS$ORAGXD                             25 18-FEB-08
    DBSNMP                                 24 18-FEB-08
    TSMSYS                                 21 18-FEB-08
    DIP                                    19 18-FEB-08
    OUTLN                                  11 18-FEB-08
    SYSTEM                                  5 18-FEB-08
    USERNAME                          USER_ID CREATED
    SYS                                     0 18-FEB-08
    I have a new schema that contain all tables of original SAPSR3DB. The default tablespace of   SAPSR4DB                                
    is SAPSR4DB (new tablespace).
    I have other error when execute for example one backup with brtools
    BR0925I Public synonym SAP_SDBAH created successfully for table SAPSR4DB.SDBAH
    BR0925I Public synonym SAP_SDBAD created successfully for table SAPSR4DB.SDBAD
    BR0925I Public synonym SAP_DBSTATC created successfully for table SAPSR4DB.DBSTATC
    BR0925I Public synonym SAP_DBSTATTORA created successfully for table SAPSR4DB.DBSTATTORA
    BR0925I Public synonym SAP_DBSTATIORA created successfully for table SAPSR4DB.DBSTATIORA
    BR0925I Public synonym SAP_DBSTATHORA created successfully for table SAPSR4DB.DBSTATHORA
    BR0925I Public synonym SAP_DBSTAIHORA created successfully for table SAPSR4DB.DBSTAIHORA
    BR0925I Public synonym SAP_DBCHECKORA created successfully for table SAPSR4DB.DBCHECKORA
    BR0925I Public synonym SAP_DBMSGORA created successfully for table SAPSR4DB.DBMSGORA
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0319I Control file copy created: /oracle/GXD/sapbackup/cntrlGXD.dbf 12664832
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301W SQL error -980 at location BrDbfInfoGet-32, SQL statement:
    'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20070209000000''
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301W SQL error -980 at location BrDbfInfoGet-33, SQL statement:
    'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20070209000000''
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301E SQL error -980 at location BrComprDurGet-1, SQL statement:
    'OPEN curs_11 CURSOR FOR'
    'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND FUNCT IN ('CMP', '   ', '   ', 'DUR', 'DUL') ORDER BY FUNCT, POS'
    ORA-00980: synonym translation is no longer valid
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301W SQL error -980 at location BrbDbLogOpen-5, SQL statement:
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20080315000018', 'anf', 'GXD', ' ', '9999', ' ', 'bdxmccba', '7.00 (31)')'
    ORA-00980: synonym translation is no longer valid
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdxmccba.anf 2008-03-15 00.00.21
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0054I BRBACKUP terminated with errors
    Brtools create public synonym of tables of schema SAPSR4DB, but theses tables are in schema SAPSR3.
    In one note , SAP explain that : I performance  Installation with
    independent SCHEMA-ID' as mentioned in note 659509       
    I don´t know this type of installation.
    Any Idea?
    thanks a lot

  • [Mail] Replacing a signature with a text in the plain text alternative..?

    Hi all.
    I just created a signature for Mail. All is good, I created it in HTML and adapted it accordingly. The issue is, I have my name on it in a sort of logotype so I'm not typing my name explicitly in any email. Now, if the application settings of the other party is set to display emails in plain text format, the plain text alternative of the email will naturally omit the signature thus my name.
    Is there any chance I can make it replace the signature with my name for the plain text version? I tried using the 'alt' attribute in the 'object', 'div' and 'img' tags, CDATA and some other tricks but no luck yet. Hope someone has an experience in this subject that has resulted in success...
    Thanks in advance.

    If you open a HTML document in a text editor (not TextEdit), you will see stuff like:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title>Untitled</title>
    <meta name="generator" content="BBEdit 6.5.3" />
    </head>
    <body>
    </body>
    </html>
    The part that you need to keep is just the anchor tag:
    It depends on how the document is saved, so if an application includes the headers (you can't really tell by just looking at the rendered document), you need to manually remove them. I use BBEdit to create a HTML file with just the anchor tag, so I don't have to worry about what an application is going to copy it as.

  • Trouble with Slurs when Changing the Staff Style

    Hello,
    I'm exploring the LP8 score editor and find that it is VERY impressive!
    My goal is to use Logic for everything, instead of having to dole out the score duties to Sibelius or Finale. After reading the manual, I've found that LP8 is designed for just that! With the display quantization settings and the other "tips" that it offered, the manual showed me that LP8's score editor is formidable indeed!
    One issue (and maybe I missed this in the manual) that I'm having is changing the staff style for my parts. The manual says that this is an ideal way to print parts because you can change the key, transposition, etc. Writing for full orchestra, this seems (forgive the unintended pun) "Logical."
    This issue I'm having is that my slurs do not move with my notes when I change the staff style. For example: let's say I have a theme in a MIDI region that is using the "treble" staff style. I have dynamics and slurs everywhere. Then I want to give this to an Alto Sax so I select the MIDI region and change the staff style to "Alto Sax." While the key signature and the notes change in a very "correct" looking way. The slurs I put in remain in their original locations. This is a bit discouraging because it means a lot of work to fix them before I can print the part out.
    I've tried "selecting equal" events in the edit drop down menu. This almost works, but it does not discriminate between slurs up and slurs down.
    If someone could please let me know what they do with slurs in general, and especially what they do when creating parts with them that would be great.
    Thanks in advance!

    Composer_25 wrote:
    My goal is to use Logic for everything, instead of having to dole out the score duties to Sibelius or Finale. After reading the manual, I've found that LP8 is designed for just that! With the display quantization settings and the other "tips" that it offered, the manual showed me that LP8's score editor is formidable indeed!
    I'm a HUGE advocate of Logic's score editor, but depending on the type of music you're writing you'll find that there are certain things that it just can't do. To this effect, there may be times when it will just be easier to send your music to a Finale/Sibelius copyist to put the finishing touches on your score/parts, i.e., those things that you must have in your score but which Logic can't do, such as wavy-line glissando markings for harp parts, tram marks (for separating systems on a conductor's score), alternative pedal markings for piano, etc. (up/down marks), and others.
    Should you ever get to that point, check out a program called PDFtoMusicPro. It will take a PDF file from Logic and translate it into an XML file that can be read by Finale, etc., including slurs, key signatures, dynamic markings, etc. It's pretty fantastic!
    This issue I'm having is that my slurs do not move with my notes when I change the staff style... \[snip]
    Yup, it's a problem. The best approach is to use the transposing staff styles and do your markup on them. Of course, if you're preparing a C score then none of that matters.

  • Problem with iphone 5 changing the time

    Has anyone had an issue with the iphone 5 changing the time. It does it whether it is set up for automatic time or manual. I have to constantly on a daily basis change to the correct time.

    Here is one of the links I was talking about https://discussions.apple.com/thread/4347494?tstart=120. It has been discussed a great deal, but I'm not so sure of a solution. You might take the time to read through this. I don't have a Verizon phone, so it has not impacted me. Good luck.

  • Replacing A1175 battery with a RoHS disables the mousepad anyone know why?

    Replacing apple A1175 battery because it doesn't work for more than 5 mins fully charged with a RoHS disables the mousepad anyone know why?

    Is the battery one from Apple?  If not, it may be physically different and thus interfering with the trackpad.
    Ciao.

  • Create a Loolup field with PowerShell but Change the Default Display field

    Hi 
    I am creating the a load of site columns with PowerShell. In the case of a Lookup Column I want to ensure that a the the industry column is checked programmatically.
    $myField.LookupList = $spLookupList.ID
    $myField.LookupField = $LookUpmyField.InternalName
    As you can see there is no provision for a display name (Industry) which I want to display to the user once they select a lookup column
    I just know somebody is going to suggest CAML !!!!  Btw the code works but none of the checkboxes are selected as expected. 
    Daniel
    Freelance consultant

    I tried a same in past. Couldn't find a perfect code. You can try below:
    http://blogs.msdn.com/b/varun_malhotra/archive/2008/06/19/how-to-set-the-default-value-for-a-look-up-field-for-an-item-as-it-is-being-created.aspx
    <Code>
    SPList docs = w.Lists["Documents"];
    SPFieldLookup fl = (SPFieldLookup)docs.Fields["City"];
    fl.DefaultValue = "1;#Mexico City";
    fl.Update();
    </Code>
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/afd71aa8-54d3-424f-9b72-67328e080048/update-lookup-field-powershell?forum=sharepointdevelopmentprevious
    $w = Get-SPWeb http://web
    $l = $w.Lists["MyDocumentLibrary"]
    $lf = $l.Fields["lookupColumn"]
    $i = $l.Items[0] #List item to update
    $lf.ParseAndSetValue($i,"1;#lookupvalue") #1;#lookupvalue refers to the ID of the lookup item and the value of the lookup item.
    $i.Update()
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for