Certain properties arent beiing set (JDK-Version difference 1.2.1 & 1.3.1)

Hello alltogether
I'm extending a software which was once written on the JDK 1.2.1. For my extenstions i choosed to used the JDK 1.3.1. Now that i m done with my part, i remarked that the existing part of the webapplication doesnt run correctly on a server with JDK 1.3.1, and my extensions doesnt run on a server with JDK 1.2.1.
So what i m gonna do is, i have to make the existing system runnable on JDK 1.3.1, so that the whole system can be run on the server with JDK 1.3.1.
The problem i have with the existing version, is that the properties arent beeing set.
An example:
The request string is:172.16.1.38:8080/SupportSystem/issuelist.jsp?ident=3&command=closed
issuelist.jsp has uses the bean IssueBean and sets all its properties:
<jsp:useBean id="issueBean" scope="request" class="ch.msw.support.beans.IssueBean" />
<jsp:setProperty name="issueBean" property="*" />
IssueBean's property-setter method for the look like the follows:
public void setIdent(String newValue) {
  if(newValue != null) {
    try {
      id=Integer.parseInt(newValue);
    } catch (Exception e) {}
}the command-property and the properties which are part of my enhancements are always beiing set. But the strange thing is that i cant find a difference between the functioning ones and the ones who fail
My supposition is that the 2 JDK - versions (1.2.1 / 1.3.1) implement different JSP-specifications which are featuring a difference with the property-setter-calling.
I cant figure how i could solve the problem...
maybe you can :-)
Thanks in advance!!!

What you have should work so I don't have a quick fix, only suggestions on how to track down the problem.
Presumably you must have recompiled IssueBean to add the new properties, so the java version is irrelevant. Ident is just as much a 1.3.1 property as is command.
Is the getIdent() method defined correctly? It must be "public String getIdent()" If, say, you are returning an int then the getter/setter pair may not be recognized by jsp:setProperty.
Try temporarily adding a System.out.println statement to setIdent so you know when it is called. Retest. If it is not called, add an explicit call to your JSP.
Add code to your JSP to print out all parameters. This will show whether ident is being passed through.
Good luck.

Similar Messages

  • Setting different JDK versions for Different webapp in Tomcat

    Hi All,
    I have 2 web-applications in Tomcat 5. Now for Java I have j2sdk1.4.2 & j2sdk1.3..
    Now One of my application needs j2sdk1.4.2 while other can run only with
    j2sdk1.3.. (This is an old project & there are java class package norms - like every class should be in a package to import it now. But earlier it was not strict).
    Means this is absoulte for me to run one application with version 1.3 while other with 1.4.
    But I can set Java_Home env. varibale only once. How can I tell my each web-application to take thier own jdk version in compiling & running.
    Is this allowed in J2EE/Web-Containers.
    Please suggest if there is any such setting which makes it possible.
    THanks you all in advance...
    Manoj :confused:

    wouldn't matter if you could.
    The package enforcement is NOT something from J2SDK 1.4 but from the version of Tomcat used.
    Each Tomcat instance will use the same JVM for all webapps running inside it. You'll need a separate Tomcat instance of an older version for the older webapp (or better yet change it around to the new rules).

  • How to change weblogic 10.3 's JDK version

    I installed weblogic 10.3 and its default JDK version is 1.6.0_05, but I want to update the JDK to 1.6.0_18, how should I do it?
    I tried to create a new domain and in "JDK Selection", I select option "Other JDK",path is "C:\Program Files (x86)\Java\jre6", but when start admin server, error "you wrongly used \Java\jre6 "(Which is translated from Japanese).
    How should I do?

    Hi,
    Please refer to the Post: http://weblogic-wonders.com/weblogic/2010/09/03/why-and-how-oracle-jrockit/
    If you want to use a Different Version of Sun JDK then please change the JAVA_VENDOR=Sun as well....in the folowing Image:
    http://weblogic-wonders.com/weblogic/wp-content/uploads/2010/09/setting_JAVA_JOME_In_script.jpg
    Example : (setDomainEnv.cmd) for WINDOWS OS
    set JAVA_HOME=C:\myJDKs\jdk1.6.0_18
    set JAVA_VENDOR=Sun
    =-- = = = = = =-- = = = = = =-- = = = = = =-- = = = = =
    <b><font color=red>Just in case if you still face the same problem then do the following:</font></b>
    In your Windows OS box...
    RightClick on MyComputer ---> Advanced(Tab)---> Envirunment Variables (Button)---->User Variables (Section) add a new variable:
    Variable Name : PATH
    Variable Value : C:\myJDKs\jdk1.6.0_18;%PATH%;
    OK
    Just to verify this now open a fresh command prompt and then Just run the following command:
    java -version
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic(WebLogi Wonders Are Here)

  • Displaying only certain properties in the Properties Pane

    Hi
    The properties pane that is available as a component in the Web Application Designer is quite a useful component. However, there are certain properties that we don't want to make available to the user.
    At the moment I am using the property pane with the following config:
    Property Set Definition : PROP_SET_PREDEFINED
    Properties Source : Web Item Parameters
    Web Item : Analysis
    As mentioned, that works nicely, and shows me an area with 3 columns of properties, namely:
    - Layout
        - Alternate Table Row Styles
    - Cell Specific Settings
        - Exception Visualisation
        - Document icons for data
        - Document icons for metadata
        - Document icons for masterdata
    - Data Specific Settings
        - Display Repeated Texts
        - Scaling Factos Visible
    Now, we don't want to display the "document icons ..." properties, as that doesn't make sense for our users.
    How would I go about not displaying those properties?
    I have played around with the properties pane item, and I can see how to list a single property. For this I set:
    Properties Set Definition = Single Value
    Property Name = ALTERNATE_STYLES
    This works, and I then only see 1 property being displayed. I can get the technical name of the property by using my standard pane with the verbose mode set to ON.
    To display multiple propeties of my choosing, I thought I would be able to use the PROP_SET_MATRIX option. I can select this, then start defining the table. I need to assign the following properties:
    - GROUP_DESC : <Not sure what to put in here>
    - COLUMN : 1 (the number of columns I want)
    The I have a "properties list", where it looks like I can specify which properties are to be include. For this I need to provide:
    - Property Name : ALTERNATE_STYLES
    - Caption : Alternate Table Row Styles
    - Property Parent : < Don't know what to put in here>
    I have tried various values in the Property Parent and the group_desc fields, but still I see nothing and sometimes get rather meaningless errors appearing.
    Surely this shouldn't be a difficult task.?
    The SAP help file (http://help.sap.com/saphelp_nw04s/helpdata/en/43/69b8a62985619ae10000000a1553f6/content.htm) provides the following really useful description of PROPERTY_PARENT:
    You specify the property parent
    Please, is there anyone out there that has done this, and if so, please point me in the right direction.
    Cheers,
    Andrew

    Any Update on the below query

  • How to change the jdk version of the sun one appserver 8.1

    hi
    i have installed appserver8.1 with a jdk 1.5 .
    i am facing some problem with the parsers (my application needs to use a crimson parsers which is not supported by jdk1.5 i guess)
    so i am trying to change the jdk version by changing the asenv.conf file
    but the appservers wont start up if i do so.
    help !! please

    This is strange. Setting AS_JAVA to the install location of your jdk instance should work. I have done it many times.
    What kind of errors are you getting in the server log file?

  • Urgent : Oracle AS 10.1.2.0.2 : Switch OC4J's JDK version to 1.3 ?

    Hi,
    We have inherited an EJB application which was written during the hey days of JDK 1.3.
    We have an Oracle AS 10.1.2.0.2 & we have successfully migrated most of the other Applications / Oracle J PDK Applications which were developed using JDK 1.4. Unfortunately, we now need to migrate the older EJB application to Oracle AS 10.1.2.0.2.
    We tried a few dry runs with our staging Oracle As 10.1.2.0.2 instances - unfortunately, the application's code just won't compile - it looks as if we need to rewrite our application to compile under JDK 1.4. We can do this - but, we are hard pressed for time & we are looking for a solution that can bail us out of this tight corner.
    I would like to know if we can switch the OC4J's JDK version to 1.3 in any supported way ? If yes, we can just install another Oracle AS J2EE instance dedicated to out legacy ( !! ) EJB Application at this time & think about reqwiting & performance tuing at leisure.
    If not, what other options to I have ? Have I provided enough information or do I need to post additional infromation ? Please do let me know if more information is needed.
    Thanks in advance,
    Sandeep

    Hi,
    We also tried to follow Metalink Note:351476.1 which talks about changing the JAVA version used to run a specific OC4J instance. However, after following the steps, when we try to start our OC4J instance, we see this error:-
    D:\OraInfra\opmn\bin>opmnctl startproc process-type=OC4J_JDK13
    opmnctl: starting opmn managed processes...
    =============================================================================
    opmn id=nac014:6200
    0 of 1 processes started.
    ias-instance id=OraInfra.myHost.idc.oracle.com
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/OC4J_JDK13/default_island
    Error
    --> Process (pid=6240)
    failed to start a managed process after the maximum retry limit
    Log:
    D:\OraInfra\opmn\logs\OC4J~OC4J_JDK13~default_island~1
    Now, when I look into the log file, I see this ( !! ) :-
    06/02/21 18:18:11 Start process
    06/02/21 18:18:13 Start process
    06/02/21 18:18:15 Start process
    I understand that OC4J tried thrice before giving up, but if there are no error, I don't know why OC4J just refuses to start ? Truly, the mystery deepens....
    Regards,
    Sandeep

  • Versions difference in ecc 6.0

    Hello experts,
        What are the major and minor difference between the 4.6c and ECC 6.0
    Please tell me the diffences
    Thanks
    Raghava

    There are so many differences between the version in different objects
    I will explain in two or more objects the difference
    1 in the customer master in 4.6 version there is no partner function tab in the customer in xd01 t-code
    and also there is no CIN tab in that version
    but it is there in the 4.7 EE version
    This is the major change from the 4.6cc to 4.7EE
    2. in 4.7EE there is some settings that are related for CIN
    which cannot be done in 4.7EE that means they need some patches for doing the configuration setting for the CIN
    But we can do the same in the 6.0 version
    These are the some of the settings that are differed in the two versions and in that two objects
    http://service.sap.com/erp
    http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)
    http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    For Functionality Differences pls refer to the below site -
    http://solutionbrowser.erp.sap.fmpmedia.com/
    For Functionality Differences pls refer to the below site -
    http://solutionbrowser.erp.sap.fmpmedia.com/
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/e3003deddfae4de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/28/b34c40cc538437e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    Re: Difference Between SAP Version ECC 4.6, 4.7, SAP 5.0, 6.0 with SA
    Re: SAP version differences 4.5b, 4.6c and ECC6.0
    You can find the difference in release notes of each SAP version.
    Here are the links.
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/e3003deddfae4de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/28/b34c40cc538437e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    Please visit the following links:
    http://service.sap.com/erp
    http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)
    http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    For Functionality Differences pls refer to the below site -
    http://solutionbrowser.erp.sap.fmpmedia.com/
    After opening the site, please select the Source Release Version which is 4.6 b Then Select the Target Release Version which is "mySAP ERP 2005" or ECC 6.0
    Select the Solution Area like Financials, Human Capital Management, Sales....
    Select module like MM, PP, SD, QM.....
    Click on Search
    Then it displays the Release Version and the Delta Functionality. which can be downloaded to a word document if required.
    and also check the release notes of ECC 6.0 in service.sap.com.
    rewards if it helps

  • Target JDK version?

    Hi, I'm trying to get a string out of a database via JDBC. When I compile my code with "1.3.0" as target JDK version in the project properties settings, the java.sql.ResultSetMetaData().getColumnType(int column) method says my string is of type OTHER and it comes out as '3003D0022003100...'.
    When I compile with "Jdeveloper_1.2.2" as target JDK version, the java.sql.ResultSetMetaData().getColumnType(int column) method returns a type value that does not correspond to any of the 27 types defined in java.sql.Types. The string looks as it should though. Why is this? Does the Oracle compiler or JVM change som settings in the sun.jdbc.odbc.JdbcOdbcDriver that maes the string com out right? How do I do to get the string out as a string with the standars JVM (say when i access it via a JSP)?
    /Fredrik
    null

    Fredrik,
    You don't mention which driver version you're using. I know with 8.1.6, there was a classes12.zip for using JDBC with the JDK 1.2.x, and a classes111.zip for using JDBC with JDK 1.1.8 (I think).
    I don't know that they even have a classes13.zip available, so your results may vary if using JDK 1.3. The internal JVM on the server uses JDK 1.2.
    I recommend checking the Oracle8i JDBC Developer's Guide and Reference for the version of the database you're connecting to and see info is provided there about compatibility with different versions of the JDK.

  • Question on IBM JDK Version when Installing OBIEE 11.1.1.7.0  on IBM AIX on POWER Systems (64-bit) / O.S. 6.1

    Hi,
    Certification Matrix gives us JDK Version: JDK 1.7.0 SR3+ IV33133   64 Bit
    Does anybody know whether  this is the exact JDK Version or if we can install anything more than this version?
    Thanks very much for your help in advance.

    Thank you for your suggestion. I can certainly try pointing to a different temp folder, but how much space does it need?
    /u00/temp appears to have quite a bit of space available...
    [oracle@oel58 logs]$ df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    16663980 3820232 11983588 25% /
    /dev/sda2 99188500 18500088 75568500 20% /u00
    /dev/sda1 101086 41172 54695 43% /boot
    tmpfs 3170304 1063332 2106972 34% /dev/shm
    shmfs 3170304 1063332 2106972 34% /dev/shm
    ShareVB 320864252 168386324 152477928 53% /media/sf_ShareVB
    [oracle@oel58 logs]$ df -k /u00/temp
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda2 99188500 18500088 75568500 20% /u00
    Also, I verified TMP, TMPDIR, and TEMP all point to /u00/temp.
    And the preinstallation check shows this:
    Checking Temp space: must be greater than 1536 MB. Actual 73797 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 5951 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    It might be worth mentioning, as well, that I get the same result, whether I use ...Disk1/runInstall.sh or ...Disk1/install/linux64/runInstall.sh
    The file I originally posted came from trying the linux64 installer.
    What else can we check/try?
    Edited by: user733825 on Mar 28, 2013 6:26 PM
    What is it that tells the installer there is an application server running? Is it checking for some WebLogic environment variable I may have incorrectly configured? I have a WebLogic server running, and it is hosting a Forms server and a help server. Why does the installer think there is no Application Server installed?
    Edited by: user733825 on Mar 28, 2013 7:23 PM

  • Project deploy JDK version.

    We want to develop a PCJ bean for oracle forms using Jdev 10.1.3.3.
    But it is not reached from forms 10.1.2.2. Java bean is not found error occurs.
    Then we want to import java class into forms following error ocuurs.
    exception occurs: java.lang.UnsupportedClassVersionError: gorev/Formse (Unsupported major.minor version 49.0)
    We think it is a bug because of Jdeveloper JDK version.
    We tried the same code with Jdev 10.1.2.2 and it works properly.
    So we want to compile the same project using JDK 1.4 from Jdev 10.1.3.3.
    is it possible to compile a project with older JDK versions.
    How?
    Thanks.

    Ali,
    I told you how to do that...
    Create a new J2SE definition for 1.4
    Then change your project properties to use that J2SE definition. Your other projects will continue to use 1.5.
    Or am I misunderstanding your question?

  • How to compile a java file with specified jdk version in a program???

    hi,
    if we want to compile a program in another program with a particular
    jdk version as an option, how to do that,plz reply and with example.

    Hi,
    To compile from a program, read this (I've never tried, but I think it
    will work):
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Compiler.html
    To get the jre version:
    System.getProperty("java.version");
    To get the vm version:
    System.getProperty("java.vm.version");
    Other properties at:
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/System.html
    Hope it helps,
    ANeto

  • Get jdk version throgh applet

    hi
    how can i determine which jdk version the browser is using from applet.i want to tell the user that if he is using jdk1.4 version than a message appears that this applet can be run on jdk1.3 or less.
    Thanks

    Like I said,I am not a big applet maker but I would
    think this would cause a security exceptionI can't tell if this was a reply to my 2nd response, it seemed a little too quick. Anyway, if you didn't catch that, check here:
    http://java.sun.com/docs/books/tutorial/applet/practical/properties.html
    You can check the version with applets.

  • Which JDK version is required for NWDS v 7.01.07

    Hi,
    Can someone point me in the right direction to find out whcih JDK version is required for NWDS v 7.01.07.
    I currently have j2sdk1.4.2_19 installed but I am getting a build error when creating a new project from ESS of:
    No 'default' JDK defined, will use running VM.
    The TARGET variable for the shortcut and JAVA_HOME env variables are set.
    The JRE_SRCROOT variable in NWDS is empty.
    Regards,
    Rob

    In NWDS set default JDK version.
    Windows - preferences - java Installed JREs
    Select chk box for JRE you want.
    Hope this helps.

  • Where is je.properties file in berkelydb je version je-4.1.10

    we are not getting je.properties file in berkelydb je version je-4.1.10 so tell us where it is and how to set parameter

    The je.properties file is an optional file that the user creates; it is not automatically created. See http://download.oracle.com/docs/cd/E17277_02/html/GettingStartedGuide/administration.html#propertyfile for a basic description of how it works.

  • How to change JDK version??

    I have a problem, I am running Jdeveloper with out problems, but always, when JDeveloper is started I have this msg:
    JDK version not supported. ...
    JDeveloper executes with Java 1.6.0_51, and at least I need 1.7.0_06.
    I have downloaded the latest JDK and installed it, but nothing happen!!!
    How could I solve this??? I have a Mac OSX when I run
    $ java -version
    java version "1.7.0_25"
    Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    I seems to be OK, but how can I indicate Jdeveloper to run this JDK? Not 1.6, I have edited also jdev.conf
    And i found : SetJavaHome @JAVA_HOME@
    How to change Java_Home????

    Hi,
    Always mention your JDev version.
    Have you tried setting SetJavaHome <your_java_home_where_jdk17_installed> in the jdev.conf file and see if it gets opened properly?
    -Arun

Maybe you are looking for

  • I got error when I export database ORACLE 9i from solaris 9.

    I want to export full database ORACLE 9i from SOLARIS 9 to import full database on ORACLE 9i on windows. I set oracle environment and NSL_LANG with command: bash-3.00$ export ORACLE_SID=TIS bash-3.00$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII and

  • Imac, NVIDIA GeForce 8800 GS

    Hello, I am planning to buy iMac 3.06 model. I read somewhere that core animation is slower on "NVIDIA GeForce 8800 GS" then "ATI Radeon HD 2600 PRO". The guy on that forum was saying that NVIDIA graphics card is faster in 3D rendering But slower on

  • For when patchset 10.2.0.4 for linux x86?

    Just wondering, got my 6th bug today where metalink says the bug will be fixed in 10.2.0.4/11g. Have any idea when this patchset will be released?

  • Smartview tab and Adhoc Analysis Issue

    Hi, I am unable to see the smartview(Hyperion) tab in Excel , how ever i can see the options to connect Datasources and i can see the all other smartview options in in excel window, but when i select one of the planning type(Datasource) and then i cl

  • Master detail populating

    hi guys, I was wondering if you could help me. Im not sure how to go about the following situation. Ill try to explain it as best I can. I have MASTER 1 populating DETAIL 1 and DETAIL 2. DETAIL 2 is also a MASTER(MASTER 2) of DETAIL 3. But my problem