Binding global env prop

I want to bind an environment property (just a string) that will be for all my beans. i don't want to declare it in every bean 'ejb-jar' xml file. i can't see in the web console of wl6 how can i declare a such thing. i can see the jndi tree, but i have no option to declare more binding to it.

use a startup class and bind it into JNDI.
gabi wrote:
I want to bind an environment property (just a string) that will be for all my beans. i don't want to declare it in every bean 'ejb-jar' xml file. i can't see in the web console of wl6 how can i declare a such thing. i can see the jndi tree, but i have no option to declare more binding to it.--
Stephen Davies
Managing Resource Principal, Global Education
E-Commerce Services Division
BEA Systems Pty. Ltd.
Sydney, Australia
Phone: +61 2 9923 4088 Fax: +61 2 9923 4080

Similar Messages

  • Global env-entry JNDI variables space for same ejb-jar.xml file

    [Software]
    jboss4.0.5
    jdk 1.5
    [Problem]
    Is there any global <env-entry> tag for a Single EJB Module. Is there any way by which the JNDI variable can be accessed by all the modules except by binding the variables in the JNDI explixity in the code
    Thanks in advance
    CSJakharia

    Unfortunately not. The EJB specification has always scoped the component environment
    (java:comp/env) as a private environment for each EJB. The advantage is you can
    assign entries within each bean easily without worrying about clashing with names selected
    for other beans in the ejb-jar. That eases the process of assembling beans developed
    separately into one ejb-jar since there is no possibility that their component environments
    will clash.
    However, the downside is just what you're pointing out, which is that in many cases
    developers prefer to define a single dependency that is shared among all the
    beans in the ejb module. That is the behavior of the component environment in a
    web application.
    We'll be looking into ways to simplify this for ejbs in a future revision of the specification.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Adding a Key Binding Globally (to an entire JFrame)

    Hi, all. I'm trying the ever-so-common task of adding a global key binding to my little Swing app. I just wrote a very basic image converter for an obscure multi-frame format and one of the users requested that I add a simple feature: when control-N is pressed, the a new document is created (just as if the user had selected New from the File menu).
    I've read the Swing keybinding tutorial and I've tried to write a method to neatly contain the operation. The method is as follows:
        public static void setKeystrokeForAction(JFrame jframe, KeyStroke keystroke, Action action)
            jframe.getRootPane().getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(keystroke, action.getValue(Action.NAME));
            jframe.getRootPane().getActionMap().put(action.getValue(Action.NAME), action);
        }This doesn't seem to work. I was under the impression that this would somehow allow any component focused in the frame to respond to the specified KeyStroke (in this case, control-N) and react by executing the Action provided (in this case, an action which calls the new document method in my application). However, I press control-N with various focused components and nothing happens.
    I know that the Action is sound because selecting the File : New item (which uses the same Action object) works just fine. The KeyStroke is constructed as follows:
    KeyStroke.getKeyStroke(KeyEvent.VK_N, KeyEvent.CTRL_DOWN_MASK)What am I missing?
    Thanks!

    Don't know why its not working. Its works fine for me in this example:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=312780
    Although the example uses WHEN_IN_FOCUSED_WINDOW I also tested it with WHEN_ANCESTOR... and it still worked fine.

  • [Solved] systemd-user-session: Best way to pass global ENV vars?

    Hey guys,
    So when using the [email protected] from the user-session-units what's the best / cleanest way to set global environment variables for that systemd --user instance (and thus, all programs spawned from it)?
    What I'm talking about is /etc/profile and $HOME/.profile.
    For example, I usally configure my XDG_CONFIG_HOME and XDG_CACHE_HOME in my ~/.profile. But since systemd --user is being started by systemd --session none of these environment variables are loaded.
    The solution I've come up is to change the ExecStart in the [email protected] file to something like this:
    ExecStart=/usr/bin/sh -c "source /etc/profile; source $HOME/.config/bash/environment; exec /usr/lib/systemd/systemd --user"
    I know I could use the `EnvironmentFile` option to load the environment variables from a file, but it's not as flexable as a bash script.
    Am I thinking about this problem wrong? Is there a more "systemd --user"-y way of solving the problem?
    Last edited by EvanPurkhiser (2013-08-12 03:02:48)

    I've more or less solved this using my own user-session units. I still don't know if my method would really be considered the proper way or not though.
    Last edited by EvanPurkhiser (2013-08-12 03:02:19)

  • Data Binding using XML as data connection

    I'm using an XML as my data connection. It has several order fields in various sections that have unique field identifiers. I have created a random order # script that runs fine inside of the form that occurs on the first order number field but I need that same number to populate into each of the additional order fields, again that have unique identifiers. Is there a way to combine data fields?
    Thanks!

    usually you can make the binding global and all same named fields will end up with the same value. You may not be able to do that if you have bound your field to a data node in your XML. If that is the case then you will have to do it programatically. Lets assume you have Order_Number on Page 1 and Order_Number2 on Page 2. You would code on the calculate event of the 1st Order_Number field (the one where the number is calculated) - form1.Page2.Order_Number2.rawValue = form1.Page1.Order_Number.rawValue;
    You can add multiple statements to equate that value to other instances of the field as you see fit. Now when any one of those values changes all of the others will be updated auto-magically!

  • JNDI and env. vars. in ejb-jar.xml

    I have been trying for several days now to have my EJB session bean access
    its env. vars. stored in the ejb-jar.xml document. I have been unsuccessful.
    The only place I have been able to store my env. vars. is in the web.xml
    document outside my .jar file. Although workable, it would be preferable to
    store them in the ejb-jar.xml document in my .jar file.
    I am hoping some one can help me. I am using the following code in my ejb:
    Context init = new InitialContext();
    Context env = (Context)init.lookup("java:comp/env");
    m_bTruncCorporate =
    ((Boolean)env.lookup(MICRworks.MICR_ENV_TRUNCORP)).booleanValue();
    m_strOptPath = (String)env.lookup(MICRworks.MICR_ENV_OPFLPATH);
    m_strOptAccount = (String)env.lookup(MICRworks.MICR_ENV_OPFLACCT);
    m_strOptRouting = (String)env.lookup(MICRworks.MICR_ENV_OPFLROUT);
    My ejb-jar.xml follows:
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>MICRworksBean</ejb-name>
    <home>USDataworks.MICRworks.MICRworksHome</home>
    <remote>USDataworks.MICRworks.MICRworks</remote>
    <ejb-class>USDataworks.MICRworks.MICRworksBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <env-entry>
    <description>Flag indicating whether to convert corporate
    checks</description>
    <env-entry-name>TruncateCorporate</env-entry-name>
    <env-entry-type>java.lang.Boolean</env-entry-type>
    <env-entry-value>true</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Location of the 1For1 exclusion files</description>
    <env-entry-name>OptionFilePath</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>http://localhost:7001/MICRworksLite/files/</env-entry-value
    >
    </env-entry>
    <env-entry>
    <description>Name of the 1For1 account exclusions file</description>
    <env-entry-name>OptionFileAccount</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>account_file.txt</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Name of the 1For1 routing exclusion file</description>
    <env-entry-name>OptionFileRouting</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>routing_file.txt</env-entry-value>
    </env-entry>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MICRworksBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    and my weblogic-ejb-jar.xml:
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0
    EJB//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>MICRworksBean</ejb-name>
    <stateless-session-descriptor>
    <pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <jndi-name>MICRworksBean</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My feeling is that I am missing some sort of reference in the
    weblogic-ejb-jar.xml that points to the ejb-jar.xml but I have tried several
    things without success.
    I would appreciate any help I can get...especially if it contains specific
    code I can use as I am rather new to writing and deploying ejbs!
    Thanx in advance. Marek :-)

    Thanks for the reference. I was using another book as a reference (Using
    Java 2 Enterprise Edition by Mark Wutka) which had the same sort of example
    and as you can see below, I coded my bean as they suggest...I'm still unable
    to access the env. vars.!
    I deployed by bean using WebLogic's Builder and but didn't create any sort
    of application. I let WebLogic do what it would on its own. The WebLogic
    documentation seemed to indicate for simple testing this would work
    fine...is it wrong?
    btw. MICRworks.MICR_ENV_TRUNCORP equates to "TruncateCorporate" as you
    probably guessed.
    The WebLogic Admin Console shows the environment variables in the EJB
    Descriptors for my EJB but they do not show up when I view the JNDI tree for
    my server. I have taken this to mean that the deployment tool is not
    binding my env. vars. for some reason which would explain why my bean can't
    find them.
    I know it must be something stupid I am doing (or not doing) but I just
    can't see it. Please help!
    "Ryan LeCompte" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hello Marek,
    I would suggest that you download the free book "Mastering EJB 2ndEdition" by
    Ed Roman, Scott Ambler, and Tyler Jewell. The source code for the book isalso
    freely available and is meant to be deployed specifically on WebLogic.Look for
    a sample application called "Jasmine", which shows how to use environmententries.
    You will see a concrete example of how they are defined and later accessedfrom
    within EJBs. The book and source code are available at the followingaddress:
    >
    http://www.theserverside.com/books/masteringEJB/index.jsp
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Marek Kossak" <[email protected]> wrote:
    I have been trying for several days now to have my EJB session bean
    access
    its env. vars. stored in the ejb-jar.xml document. I have beenunsuccessful.
    The only place I have been able to store my env. vars. is in the web.xml
    document outside my .jar file. Although workable, it would be preferable
    to
    store them in the ejb-jar.xml document in my .jar file.
    I am hoping some one can help me. I am using the following code in my
    ejb:
    Context init = new InitialContext();
    Context env = (Context)init.lookup("java:comp/env");
    m_bTruncCorporate =
    ((Boolean)env.lookup(MICRworks.MICR_ENV_TRUNCORP)).booleanValue();
    m_strOptPath = (String)env.lookup(MICRworks.MICR_ENV_OPFLPATH);
    m_strOptAccount = (String)env.lookup(MICRworks.MICR_ENV_OPFLACCT);
    m_strOptRouting = (String)env.lookup(MICRworks.MICR_ENV_OPFLROUT);
    My ejb-jar.xml follows:
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>MICRworksBean</ejb-name>
    <home>USDataworks.MICRworks.MICRworksHome</home>
    <remote>USDataworks.MICRworks.MICRworks</remote>
    <ejb-class>USDataworks.MICRworks.MICRworksBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <env-entry>
    <description>Flag indicating whether to convert corporate
    checks</description>
    <env-entry-name>TruncateCorporate</env-entry-name>
    <env-entry-type>java.lang.Boolean</env-entry-type>
    <env-entry-value>true</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Location of the 1For1 exclusion files</description>
    <env-entry-name>OptionFilePath</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>http://localhost:7001/MICRworksLite/files/</env-entry-valu
    e
    >>>
    </env-entry>
    <env-entry>
    <description>Name of the 1For1 account exclusions file</description>
    <env-entry-name>OptionFileAccount</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>account_file.txt</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Name of the 1For1 routing exclusion file</description>
    <env-entry-name>OptionFileRouting</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>routing_file.txt</env-entry-value>
    </env-entry>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MICRworksBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    and my weblogic-ejb-jar.xml:
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic
    7.0.0
    EJB//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>MICRworksBean</ejb-name>
    <stateless-session-descriptor>
    <pool>
    </pool>
    <stateless-clustering>
    </stateless-clustering>
    </stateless-session-descriptor>
    <transaction-descriptor>
    </transaction-descriptor>
    <jndi-name>MICRworksBean</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My feeling is that I am missing some sort of reference in the
    weblogic-ejb-jar.xml that points to the ejb-jar.xml but I have tried
    several
    things without success.
    I would appreciate any help I can get...especially if it containsspecific
    code I can use as I am rather new to writing and deploying ejbs!
    Thanx in advance. Marek :-)

  • Application-wide "env-entry"

    Hi,
    I'm creating a J2ee application using various EJB's and at least one WAR, all inside one single EAR file.
    This app. is to be intalled at different clients. I'd like to be able to specify different properties ( server used, remote host addresses, etc.) in some part of the EAR that will be available using
    (String)context.lookup("java:comp/env/" + name );
    I have been able to customize individual EJB's using the <env-entry> tag in its DD but what about the being able to customize the whole application??
    I'm been scouring docs and the net and I can't see any specific application.wide examples.
    Many thanks for your help.
    Terry Doyle

    I faced the same problem some time ago. I went through the EJB 2.0 spec and the DTD of ejb-jar.xml. It appears that env-entry is for an EJB only. There is no 'global' env-entry.

  • OLEDB Dataconnection and XML Schema

    Hi,
    I create a form with fields binding with a OLEDB dataconnection.
    It's work, I can request my database and store my data.
    I want to be able to can access these field in a process (with workbench ES).
    If I bind fields with a xml schema I can access to them and manipulate them but I can't bind them with a OLEDB dataconnection and a xml schema.
    How can I do this ?
    Thank you and I hope you could understand me :D

    Yes, I have a DB but I am already working with the XML file. The Data Connection that I am using has this config:<br /><br />XML Schema<br />Schema file: contents.xsd<br />Options: <contents>, no checkboxes activated<br /><br />My solution is supposed to run online in a LAMP env, when the user clicks a Print Button, I run a script to generate the XML from the DB, and then I open a new page with the PDF form that I've built in LC Designer (8.0) with the generated data. I don't need data navigation, it's a summary report that will be printed.<br /><br />So, while developing, I've saved a populated XML locally and keep trying to open the PDF file with the data without success. Same if I save the 3 files (xsd, xml and pdf form) in the server and try to open the PDF through browser. But, as I said before, when previewing it in LC, I see the form exactly as I want.<br />I did what you mentioned (import data in Adobe Reader), and it worked partially, since the repeating row just showed one record.<br /><br />As I can see, I need some kind of script in the PDF form that, when it's loaded, the data (XML file) is imported. By now, I am trying to do it locally and think this should work. Then, for the online solution, I thought that I would need something running on the server, and based on what you said, I will need LC Forms, is that correct?<br /><br />Hope things are clearer now. Answering to your question, my form is binded globally. The repeating row is connected (Default Binding) to > $record.content[*] < and each field in the row connected to an item from the XSD definition. No Import/Export Bindings in use.<br /><br />Thanks for the help so far! :)

  • Help! JDBC connection pooling lookup in Web server

    Hi,
    I have a probelm looking up a JDBC Resource
    whenever I try to do that I got the message saying:
    "sourceWEB3885: Name jdbc is not bound in this Context "
    I have created a connection pool and JDBC Resource
    <JDBCCONNECTIONPOOL name="mypool" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="on" connectionvalidationmethod="auto-commit" validationtablename="test_table" failallconnections="off" isolationlevelguaranteed="on" transactionisolationlevel="read-uncommitted">
    <PROPERTY name="user" value="user"/>
    <PROPERTY name="URL" value="jdbc:oracle:thin:@10.10.10.10:1521:mydb"/>
    <PROPERTY name="password" value="password"/>
    </JDBCCONNECTIONPOOL>
    <JDBCRESOURCE jndiname="jdbc/mypoolds" poolname="mypool" enabled="true"/>
    I tried to lookup the data Resources like this:
    ic.lookup("java:comp/env/jdbc/paspoolds");
    I also tried other varaitions like
    ic.lookup("paspoolds");
    but without any luck.
    I'm not sure if the JDBC Resource didn't created properly or I didn't do the lookup properly.
    please advice.
    thanks.
    Ahmed

    I'm also getting the:
    [11/Nov/2004:16:35:30] warning ( 9818): WEB7103: Exception while binding global resources: javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
    Running Sun Java System Web Server 6.1...
    In sun-web.xml (I put 2 entries - just in case):
    <resource-ref>
    <res-ref-name>epdmDS</res-ref-name>
    <jndi-name>java:comp/env/jdbc/epdmDS</jndi-name>
    </resource-ref>
    <resource-ref>
    <res-ref-name>jdbc/epdmDS</res-ref-name>
    <jndi-name>java:comp/env/jdbc/epdmDS</jndi-name>
    </resource-ref>
    Web.xml:
    <resource-ref>
    <description> JNDI DataSource </description>
    <res-ref-name>epdmDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <!-- <res-sharing-scope>Sharable</res-sharing-scope> -->
    </resource-ref>
    Java code:
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    private final static String jdbcPath = "java:comp/env/jdbc/epdmDS";
    createDS: {
    InitialContext ctx;
    // Instantiate data source objects and store in app context
    try {
    ctx = new InitialContext();
    DataSource epdmDS = (DataSource)ctx.lookup( jdbcPath );
    sc.setAttribute( "epdmDS", epdmDS );
    } catch( Exception e ) {
    logErr("EPDMServlet: Cannot create data source for EPDM jdbc path: "+jdbcPath );
    break createDS;
    server.xml: (I put in 2 just in case...trying to get it to work...)
    <JDBCCONNECTIONPOOL name="epdmDS" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idl
    etimeout="300" maxwaittime="60000" connectionvalidationrequired="on" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off"
    transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
    <PROPERTY name="User" value="xxx"/>
    <PROPERTY name="URL" value="jdbc:oracle:thin:@xxxxx:1525:xxxxx"/>
    <PROPERTY name="Password" value="xxx"/>
    </JDBCCONNECTIONPOOL>
    <JDBCRESOURCE jndiname="jdbc/epdmDS" poolname="epdmDS" enabled="on"/>
    <JDBCCONNECTIONPOOL name="epdmDS" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idl
    etimeout="300" maxwaittime="60000" connectionvalidationrequired="on" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off"
    transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
    <PROPERTY name="User" value="xxx"/>
    <PROPERTY name="URL" value="jdbc:oracle:thin:@xxxxx:1525:xxxxx"/>
    <PROPERTY name="Password" value="xxx"/>
    </JDBCCONNECTIONPOOL>
    <JDBCRESOURCE jndiname="jdbc/epdmDS" poolname="epdmDS" enabled="on"/>
    <JDBCRESOURCE jndiname="epdmDS" poolname="epdmDS" enabled="on"/>

  • Problem with InputText field in JDeveloper

    Hi,
    I have this design of web page:
    http://img26.imageshack.us/my.php?image=76778817.tif
    but when I run the page I see this:
    http://img21.imageshack.us/my.php?image=60820183.tif
    And when I click Cancel which points to previous page and then from that previous page go again to this page I finally see what I want from the beginning:
    http://img21.imageshack.us/my.php?image=30068593.tif
    Any ideas what could be wrong inside the code of that page?
    Thanks a lot!

    Maybe I know where is the problem now. Because the Cancel button invokes this method:
    public void insureOneBlankRowInGlobals() {
    getGlobals().clearCache();
    getGlobals().insertRow(getGlobals().createRow());
    and the page definition looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.42.70" id="app_CreateGroupPageDef"
    Package="userinterface.pageDefs">
    <parameters/>
    <executables>
    <iterator id="GlobalsIterator" RangeSize="10" Binds="Globals"
    DataControl="SSKAppModuleDataControl"/>
    </executables>
    <bindings>
    <attributeValues id="GroupCode" IterBinding="GlobalsIterator">
    <AttrNames>
    <Item Value="GroupCode"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="Description" IterBinding="GlobalsIterator">
    <AttrNames>
    <Item Value="Description"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="Colour" IterBinding="GlobalsIterator">
    <AttrNames>
    <Item Value="Colour"/>
    </AttrNames>
    </attributeValues>
    <methodAction id="insureOneBlankRowInGlobals"
    InstanceName="SSKAppModuleDataControl.dataProvider"
    DataControl="SSKAppModuleDataControl"
    MethodName="insureOneBlankRowInGlobals"
    RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"/>
    </bindings>
    </pageDefinition>
    I think I'll solve this if I call that method at start right? I'm still very new to this so where and what should I write? I think it should be in executables but I don't know how to do it:(

  • BEA Workshop Pro trial not installing on windows 2000

    Hi,
    I am trying to install BEA Workshop pro trial version on windows 2000. I have teh JDK 1.5 installed.
    The install just stops before getting to the BEA splash and the before the user licence agreement. I ran the installer while holding the "control" key (as noted in another thread)
    and this is what I got:
    --------------------------Begin log-----------------------
    original working dir is: |C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows|
    CONTROL KEY DOWN
    application dir is: |C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows|
    app_path : |C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\WorkshopInstaller.exe|
    arg 0: |C:\Documents and Settings\dcloutie\My Documents\Java\FullWorkshopStudioTrialInstall-569\WorkshopInstaller.exe|
    reading properties from: |C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\WorkshopInstaller.lax|
    Searching through the registry for VMs...
    looking in C:\Program Files\Java\j2sdk1.4.2_12\bin
    Found: C:\Program Files\Java\j2sdk1.4.2_12\bin\java.exe
    Found: C:\Program Files\Java\j2sdk1.4.2_12\bin\javaw.exe
    looking in C:\Program Files\Java\jdk1.4.2_04\bin
    Found: C:\Program Files\Java\jdk1.4.2_04\bin\java.exe
    Found: C:\Program Files\Java\jdk1.4.2_04\bin\javaw.exe
    looking in C:\Program Files\Java\j2sdk1.4.2_12\bin
    Found: C:\Program Files\Java\j2sdk1.4.2_12\bin\java.exe
    Found: C:\Program Files\Java\j2sdk1.4.2_12\bin\javaw.exe
    looking in C:\Program Files\Java\jdk1.5.0_08\bin
    Found: C:\Program Files\Java\jdk1.5.0_08\bin\java.exe
    Found: C:\Program Files\Java\jdk1.5.0_08\bin\javaw.exe
    looking in C:\Program Files\Java\jdk1.5.0_08\bin
    Found: C:\Program Files\Java\jdk1.5.0_08\bin\java.exe
    Found: C:\Program Files\Java\jdk1.5.0_08\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_04\bin
    Found: C:\Program Files\Java\j2re1.4.2_04\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_10\bin
    Found: C:\Program Files\Java\j2re1.4.2_10\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_10\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_12\bin
    Found: C:\Program Files\Java\j2re1.4.2_12\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe
    looking in C:\Program Files\Java\jre1.5.0_06\bin
    Found: C:\Program Files\Java\jre1.5.0_06\bin\java.exe
    Found: C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe
    looking in C:\Program Files\Java\jre1.5.0_08\bin
    Found: C:\Program Files\Java\jre1.5.0_08\bin\java.exe
    Found: C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe
    looking in C:\Program Files\Java\jre1.5.0_06\bin
    Found: C:\Program Files\Java\jre1.5.0_06\bin\java.exe
    Found: C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_04\bin
    Found: C:\Program Files\Java\j2re1.4.2_04\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_10\bin
    Found: C:\Program Files\Java\j2re1.4.2_10\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_10\bin\javaw.exe
    looking in C:\Program Files\Java\j2re1.4.2_12\bin
    Found: C:\Program Files\Java\j2re1.4.2_12\bin\java.exe
    Found: C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe
    looking in C:\Program Files\Java\jre1.5.0_08\bin
    Found: C:\Program Files\Java\jre1.5.0_08\bin\java.exe
    Found: C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe
    looking in C:\Program Files\Java\jre1.5.0_06\bin
    Found: C:\Program Files\Java\jre1.5.0_06\bin\java.exe
    Found: C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe
    looking in C:\Program Files\Java\jre1.5.0_08\bin
    Found: C:\Program Files\Java\jre1.5.0_08\bin\java.exe
    Found: C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe
    ...Finished searching through the registry for VMs
    Searching through the path for VMs...
    Looking in C:\CFusionMX7\verity\k2\_nti40\bin
    Looking in C:\ColdFusionSearchService\k2\_nti40\bin
    Looking in C:\JRun4\verity\k2\_nti40\bin
    Looking in C:\Program Files\Compaq\Compaq Management Agents\Dmi\Win32\Bin
    Looking in C:\WINNT\system32
    Ignoring 'C:\WINNT\system32\java.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\system32\javaw.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\system32\jre.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\system32\jrew.exe' because it is in a Windows System Directory.
    Found: C:\WINNT\system32\jview.exe
    Found: C:\WINNT\system32\wjview.exe
    Looking in C:\WINNT
    Ignoring 'C:\WINNT\java.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\javaw.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\jre.exe' because it is in a Windows System Directory.
    Ignoring 'C:\WINNT\jrew.exe' because it is in a Windows System Directory.
    Looking in C:\WINNT\System32\Wbem
    Looking in C:\PROGRA~1\IBM\CLIENT~1
    Looking in C:\PROGRA~1\IBM\CLIENT~1\Shared
    Looking in C:\PROGRA~1\IBM\CLIENT~1\Emulator
    Looking in C:\Program Files\Symantec\pcAnywhere\
    Looking in C:\Program Files\Microsoft SQL Server\80\Tools\BINN
    Looking in C:\Program Files\Rational\ClearCase\bin
    Looking in C:\Program Files\Rational\common
    Looking in C:\Program Files\Apache Software Foundation\maven-2.0.4\bin
    ...Finished searching through the path for VMs
    ORDERING VMS
    1: C:\WINNT\system32\jview.exe (in path)
    2: C:\WINNT\system32\wjview.exe (in path)
    3: C:\Program Files\Java\j2sdk1.4.2_12\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4)
    4: C:\Program Files\Java\j2sdk1.4.2_12\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4)
    5: C:\Program Files\Java\jdk1.4.2_04\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4.2_04
    6: C:\Program Files\Java\jdk1.4.2_04\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4.2_0
    4)
    7: C:\Program Files\Java\j2sdk1.4.2_12\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4.2_
    12)
    8: C:\Program Files\Java\j2sdk1.4.2_12\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4.2
    _12)
    9: C:\Program Files\Java\jdk1.5.0_08\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5)
    10: C:\Program Files\Java\jdk1.5.0_08\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5)
    11: C:\Program Files\Java\jdk1.5.0_08\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5.0_0
    8)
    12: C:\Program Files\Java\jdk1.5.0_08\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5.0_
    08)
    13: C:\Program Files\Java\j2re1.4.2_04\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_04)
    14: C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_04)
    15: C:\Program Files\Java\j2re1.4.2_10\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_10)
    16: C:\Program Files\Java\j2re1.4.2_10\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_10)
    17: C:\Program Files\Java\j2re1.4.2_12\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_12)
    18: C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_12)
    19: C:\Program Files\Java\jre1.5.0_06\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_06)
    20: C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_06)
    21: C:\Program Files\Java\jre1.5.0_08\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_08)
    22: C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_08)
    23: C:\Program Files\Java\jre1.5.0_06\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4
    24: C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    4)
    25: C:\Program Files\Java\j2re1.4.2_04\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    4.2_04)
    26: C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1
    .4.2_04)
    27: C:\Program Files\Java\j2re1.4.2_10\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    4.2_10)
    28: C:\Program Files\Java\j2re1.4.2_10\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1
    .4.2_10)
    29: C:\Program Files\Java\j2re1.4.2_12\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    4.2_12)
    30: C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1
    .4.2_12)
    31: C:\Program Files\Java\jre1.5.0_08\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5
    32: C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    5)
    33: C:\Program Files\Java\jre1.5.0_06\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5
    .0_06)
    34: C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    5.0_06)
    35: C:\Program Files\Java\jre1.5.0_08\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5
    .0_08)
    36: C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.
    5.0_08)
    Searching for console vm.
    lax.nl.valid.vm.list=J2 J1 MSJ
    lax.nl.current.vm=.
    was not a valid Win32 executable.
    C:\WINNT\system32\jview.exe does not match J2 or it is not a console app and I need a console one.
    C:\WINNT\system32\wjview.exe does not match J2 or it is not a console app and I need a console one.
    SUCCESS! C:\Program Files\Java\j2sdk1.4.2_12\bin\java.exe
    Using JNI INVOCATION to simulate the following batch script:
    BATCH SCRIPT
    cd "C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows"
    set CLASSPATH=C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\IAClasses.zip;C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264
    791\Windows\resource\jdglue.zip;C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\Execute.zip;C:\DOCUME~1\dcloutie\LOCALS
    ~1\Temp\I1158264791\Windows\InstallerData\Execute.zip;C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\Resource1.zip;C:\
    DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\InstallerData\Resource1.zip;C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Insta
    llerData;C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\InstallerData;
    "C:\Program Files\Java\j2sdk1.4.2_12\bin\java.exe" -Xms16777216 -Xmx50331648 -noverify com.zerog.lax.LAX C:\\DOCUME~1\\dcloutie\\LOC
    ALS~1\\Temp\\I1158264791\\Windows\\WorkshopInstaller.lax C:\\DOCUME~1\\dcloutie\\LOCALS~1\\Temp\\env.prop
    executing java...
    LAX Version = 5.5
    IAResourceBundle: create resource bundle: en
    LOADING Resource path: i18nresources\custom_en
    LOADING Resource path: locales\custom_en
    seaFilename = WorkshopInstaller
    Default properties location = C:\Documents and Settings\dcloutie\My Documents\Java\FullWorkshopStudioTrialInstall-569\
    Installer PropertiesFile = C:\Documents and Settings\dcloutie\My Documents\Java\FullWorkshopStudioTrialInstall-569\installer.propert
    ies
    UI Mode set to Default - SWING.
    InstallAnywhere 6.0 Enterprise
    Thu Sep 14 16:13:25 EDT 2006
    Free memory = 14672 kB
    Total memory = 16320 kB
    No arguments.
    java.class.path:
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\IAClasses.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\resource\jdglue.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\Execute.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\InstallerData\Execute.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\Resource1.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\InstallerData\Resource1.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\InstallerData
    C:\Program Files\Java\j2sdk1.4.2_12\lib\dt.jar
    C:\Program Files\Java\j2sdk1.4.2_12\lib\htmlconverter.jar
    C:\Program Files\Java\j2sdk1.4.2_12\lib\tools.jar
    ZGUtil.CLASS_PATH:
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\IAClasses.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows\resource\jdglue.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData\Execute.zip
    C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\InstallerData
    C:\Program Files\Java\j2sdk1.4.2_12\lib\htmlconverter.jar
    sun.boot.class.path:
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\rt.jar
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\i18n.jar
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\sunrsasign.jar
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\jsse.jar
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\jce.jar
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\charsets.jar
    C:\Program Files\Java\j2sdk1.4.2_12\jre\classes
    java.ext.dirs:
    C:\Program Files\Java\j2sdk1.4.2_12\jre\lib\ext
    java.version == 1.4.2_12 (Java 2+)
    java.vm.name == Java HotSpot(TM) Client VM
    java.vm.vendor == Sun Microsystems Inc.
    java.vm.version == 1.4.2_12-b03
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.4
    java.vendor == Sun Microsystems Inc.
    java.vendor.url == http://java.sun.com/
    java.class.version == 48.0
    java.compiler == null
    java.home == C:\Program Files\Java\j2sdk1.4.2_12\jre
    java.io.tmpdir == C:\DOCUME~1\dcloutie\LOCALS~1\Temp\
    os.name == Windows 2000
    os.arch == x86
    os.version == 5.0
    path.separator == ;
    file.separator == \
    file.encoding == Cp1252
    user.name == dcloutie
    user.home == C:\Documents and Settings\dcloutie
    user.dir == C:\DOCUME~1\dcloutie\LOCALS~1\Temp\I1158264791\Windows
    user.language == en
    user.region == null
    --------------------------End log-----------------------
    Can anyone help me, I'd really like to try this software out.
    Thanks,
    David.

    David,
    Can you try passing in the 1.5 VM location manually as listed below
    WorkshopInstaller.exe LAX_VM d:\bea\9server\jdk150_04\bin\java.exe
    Can you also make sure that the 1.5 JVM value entry is the first entry in the PATH environment variable.
    cheers
    Raj

  • A few questions re: installing 10g on a virtual linux machine

    I am in the process of building up a virtual linux box on my XP laptop and have a few questions regarding the networking setup. Purpose is to have a sandbox *nix setup at my fingertips. 
    Here's what I have so far:
    Dell Latitude laptop running Win XP. This is a DHCP machine.
    Installed VMWare Player
    Created virtual machine with OEL 4.8, with NAT network config
    So far, so good. Next step is to install 10.2.0.4 EE on the virtual Linux machine. When installing 10.2.0.4 directly on the XP system, of course I had to install a loopback adapter to provide a fixed IP address for Oracle, all well documented in the installation guide. While it is my understanding that the loopback adapter, as installed and configured on Windows, is primarily a Windows issue, I would expect something of the same fundamental under Linux insomuch as it is still a dhcp machine. However, when checking the relevant installation guide, the section on networking considerations and DHCP simply gave a two-paragraph discussion of what DHCP was. I found no discussion on how to deal with it in a *nix environment.
    This particular vmware setup gives me a choice of 3 network configs - Bridged , NAT, or host-only (private vitrual net shared only with the host) I am currently configured to use NAT because I need outside connectivity (to yum server, etc) but do not want an additional device (ip address) on the real network. I'm guessing I could use host-only most of the time and when I need to access the internet, shut down the db and switch back to NAT.
    This is all new territory for me, so I guess I'm looking at some 'best practices' advice as much as anything.

    Ed,
    I would encourage going for OEL 5u2 or 5u3 and including the oracle-validated package. It makes sure you have all the prerequisites for 10gR2 and makes life much easier.
    I set up dozens of these machines for Oracle U classes. What I started with originally is 2 virtual NIC - a NAT and a Bridged. The Bridged allowed me to access the outside world at any time and was assigned using DHCP from the local network. The NAT I'd configure manually as a static IP, and I used it primarily to provide a second 'virtual network' so the classroom machines could communicate with each other.
    In my latest iteration, I've dropped back to a single Bridged NIC based on DHCP. For Oracle install purposes, I
    - pick a hostname (myhost.oraclass.com)
    - switch to static IP (I've scripted it - edits /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/syscfg/network : hostname) but using the network GUI tool is ok as well
    - I choose the static to macth the DHCP address assigned
    - inject a single line into the /etc/hosts with the new static address, the hostname, and a hostname that I want to publish
    192.168.4.21 myhost.oraclass.com orahost student21.oraclass.com student21
    - set a global env variable (/etc/profile.d/oraprofile.sh (export HOSTNAME=myhost.oraclass.com)
    and after installing Oracle, I switch back to DHCP. Then if I want to travel, I can easily switch the 'static' address as often as I want (also scripted) to match the IP addr the 'host DHCP' provides.
    I've used the NAT. It hands out a DHCP address and usually it works for me (and Oracle) simply by making it static (as above) and letting VMWare container handle it. But every once in a while it seems to 'jam up' and I'd need to fight with it. So I've converted to bridged .. with the help of some scripts I've written.

  • Problems Installing PS 6.2 with S1 Web Server 6.1 ?

    Im trying to install PS 6.2 (beta) against S1 Web Serer 6.1 and having all these problems during web server startup. Installation of both Portal 6.2 / Identity 6.1 went on fine without any trouble. Below is the exception. Has anybody faced this exception before.
    Any help .....
    # ./start
    CORE1116: Sun ONE Web Server 6.1 B06/19/2003 18:34
    info: CORE3016: daemon is running as super-user
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1_05] from [Sun M
    icrosystems Inc.]
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [amconsole]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encodi
    ng
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [ampassword]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encodi
    ng
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [amcommon]
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [amserver]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encodi
    ng
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [portletsamples]
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [portal]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encodi
    ng
    info: WEB0100: Loading web module in virtual server [https-portal2.sundemo.isdin
    tegration.com] at [search]
    failure: WebModule[portal]: WEB2683: Exception sending context initialized even
    t to listener instance of class com.sun.portal.common.logging.impl.LoggerServlet
    ContextListenerImpl
    java.lang.RuntimeException: LoggerImpl.init() - Could nit initialize Log file, a
    ccess denied (java.lang.RuntimePermission writeFileDescriptor)
    at com.sun.portal.common.logging.impl.LoggerImpl.init(LoggerImpl.java:87
    at com.sun.portal.common.logging.impl.LoggerServletContextListenerImpl.c
    ontextInitialized(LoggerServletContextListenerImpl.java:101)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3360)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    716)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:203)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portal]: WEB2683: Exception sending context initialized even
    t to listener instance of class com.sun.portal.container.portlet.impl.Preference
    ManagerContextListenerImpl
    java.lang.NullPointerException
    at com.sun.portal.container.portlet.impl.PreferenceManagerContextListene
    rImpl.contextInitialized(PreferenceManagerContextListenerImpl.java:33)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3360)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    716)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:203)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portal]: WEB2683: Exception sending context initialized even
    t to listener instance of class com.sun.portal.container.portlet.impl.PortletCon
    tainerContextListenerImpl
    java.lang.NullPointerException
    at com.sun.portal.container.portlet.impl.PortletContainerContextListener
    Impl.contextInitialized(PortletContainerContextListenerImpl.java:35)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3360)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    716)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:203)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portal]: WEB2705: Context startup failed due to previous err
    ors
    warning: WEB7102: Error while binding global resources for WebModule [portal]
    warning: WEB7103: Exception while binding global resources:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:329)
    at org.apache.naming.ContextBindings.getClassLoader(ContextBindings.java
    :348)
    at com.iplanet.ias.web.WebModule.bindGlobalResourceRefs(WebModule.java:2
    54)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:206)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portletsamples]: WEB2683: Exception sending context initiali
    zed event to listener instance of class com.sun.portal.common.logging.impl.Logge
    rServletContextListenerImpl
    java.lang.RuntimeException: LoggerImpl.init() - Could nit initialize Log file, a
    ccess denied (java.lang.RuntimePermission writeFileDescriptor)
    at com.sun.portal.common.logging.impl.LoggerImpl.init(LoggerImpl.java:87
    at com.sun.portal.common.logging.impl.LoggerServletContextListenerImpl.c
    ontextInitialized(LoggerServletContextListenerImpl.java:101)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3360)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    716)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:203)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portletsamples]: WEB2683: Exception sending context initiali
    zed event to listener instance of class com.sun.portal.portletappengine.impl.Lif
    ecycleManagerContextListenerImpl
    java.lang.NullPointerException
    at com.sun.portal.portletcontainercommon.descriptor.DeploymentDescriptor
    Reader.<init>(DeploymentDescriptorReader.java:61)
    at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.initDeploym
    entDescriptor(LifecycleManagerImpl.java:138)
    at com.sun.portal.portletappengine.impl.LifecycleManagerImpl.init(Lifecy
    cleManagerImpl.java:97)
    at com.sun.portal.portletappengine.impl.LifecycleManagerContextListenerI
    mpl.contextInitialized(LifecycleManagerContextListenerImpl.java:13)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3360)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    716)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:203)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portletsamples]: WEB2683: Exception sending context initiali
    zed event to listener instance of class com.sun.portal.portletappengine.impl.Req
    uestResponseFactoryContextListenerImpl
    java.lang.NullPointerException
    at com.sun.portal.portletappengine.impl.RequestResponseFactoryImpl.init(
    RequestResponseFactoryImpl.java:115)
    at com.sun.portal.portletappengine.impl.RequestResponseFactoryContextLis
    tenerImpl.contextInitialized(RequestResponseFactoryContextListenerImpl.java:16)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3360)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    716)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:203)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: WebModule[portletsamples]: WEB2705: Context startup failed due to prev
    ious errors
    warning: WEB7102: Error while binding global resources for WebModule [/portletsa
    mples]
    warning: WEB7103: Exception while binding global resources:
    java.lang.NullPointerException
    at java.util.Hashtable.get(Hashtable.java:329)
    at org.apache.naming.ContextBindings.getClassLoader(ContextBindings.java
    :348)
    at com.iplanet.ias.web.WebModule.bindGlobalResourceRefs(WebModule.java:2
    54)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:206)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355
    at org.apache.catalina.startup.Embedded.start(Embedded.java:979)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:410)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:505)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    info: HTTP3072: [LS ls1] ready to
    accept requests
    startup: server started successfully
    #

    Since my company is a partner to Sun, we have access to beta site for downloads. Due to internal restrictions I may not be able to share that info. with you. Sorry.
    Sunil.

  • Error when starting tomcat in win2000 pro

    I have set up the required variables in order to run the startup.bat file and I get the following error when attempting to start it:
    java org.apache.tomcat.startup.Tomcat
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/sta
    rtup/Tomcat
    I have modified my Startup.bat file as follows:
    @echo off
    SET TOMCAT_HOME="C:\jakarta-tomcat-3.2.3"
    goto start
    :start
    call "%TOMCAT_HOME%\bin\tomcat" start %1 %2 %3 %4 %5 %6 %7 %8 %9
    :eof
    The classpath is set and working for jdk1.3.1
    Can somebody please let me know what I am doing wrong?
    Thank you

    My problem seems to be a classpath one but I might
    aswell give your solution a go. Can you please confirm
    that the JAVA_HOME variable refers to the directory
    where java is installed?
    JAVA_HOME=C:\jdk1.3.1
    TOMCAT_HOME=C:\jakarta-tomcat-3.2.3
    Can you please tell me if I am using the correct
    sintax? I have omited the "set" because in win 2000
    you just fill in the env variables box.
    Thank youThis seems correct. I find it easiest to set such stuff as global env vars. In Win2K:
    My Computer --> Properties --> Advanced --> Environment Variables -->System Variables --> New
    The other tip is to omit version information from your Tomcat Install directory's name: e.g. C:\AppServers\TOMCAT.
    If you do this you can just unzip new releases into this dir and everything should still work.
    Miles

  • Problem using image via URL

    Hi everybody
    I have a problem with loading images via URL into my PDFs.
    I am using LCD ES2 Version 9.0.1....
    I want to create a PDF which loads images from the internet but it does not work.
    So far I have tried to add an image or image field to my PDF in the LCD and populate that image using the Object-->Field-->URL: palett. I put the URL in there like this http://www.adobe.com/imageshome/pdfgift_home.gif , tick the "embed image Data" checkbox (also tried with without that just to be sure) and save as Dynamic PDF (I also tried static) but when I open the PDF in adobe reader 9 or 10 or acrobat  9 there is no image showing. I also put the image in a subform and made that subform flowed, as well as the page itself and made the binding global.
    I have the form properties - default set to "Acrobat and Adobe Reader version 9.0 or higher", Default Language to JavaScript, PDF Render format to Dynamic PDF.
    I also tried using JavaScript events like "form:ready ImageField2.value.#image.href = "http://www.adobe.com/imageshome/pdfgift_home.gif" as discribed here http://partners.adobe.com/public/developer/en/tips/lc_dynamic_images.pdf but that also does not work.
    What am I missing?
    Any help would be great and greatly appreciated!!!
    Thanks and best regards
    Norbert

    As far as I can tell, this use case is not allowed because of cross site references related security concerns. The form can refer to the images stored on the same server from where the PDF is served, but the images cannot come from external servers.

Maybe you are looking for