URGENT!!! can I borrow a valid jserv.properties file for a JSP application ?

Hi there !
I'm running Oracle enterprise edition on NT with oracle http server under apache.
I created a JSP application using jdeveloper
and deployed it to the web server.
Now I'm still getting getting nullPointer exceptions after I have modified the jserv.properties file according to the documentation
Can someone give me a file that is working for her/him under the above described circumstances ?
Many Thanaks in advance
Tony
null

laredotornado wrote:
Hi,
This might not be a JSF question, but I thought I'd start here as I'm building a JSF application. Upon startup of my Weblogic 9.2.2 server, I see these error messages
log4j:WARN No appenders could be found for logger (org.apache.myfaces.webapp.StartupServletContextListener).
log4j:WARN Please initialize the log4j system properly.
One complication, my log4j.properties file is actually called "my.properties" (bizarre company reason). Is there somewhere in my faces-config.xml file or an equivalent where I can indicate what log4j properties file I'd like to use?Your company policy is to use non-standard names so that things must be configured manually? Interesting.
In the past people created a servlet those sole purpose was to configure log4j in the initialization sequence and then do nothing.

Similar Messages

  • Jserv Properties file

    I use the BC4J technology and I have the following problem:
    I deploy a project and I declare the classpath in the Jserv properties file. Everything works perferctly. But when I deploy another application which has a different connection to the database I declare a different classpath in the Jserv properties file (under the first), it always takes the connection of the first declaration. If I change the order in the Jserv file then the first project works but the second no.
    Does anybody know how I can solve this problem?
    thanks in advanced
    Antonios

    I think, you could create new servlet zone. Then you may specify different .properties file for each zone.
    See your JServ documentation for details how to do this.

  • Add few lines in jserv.properties file automatically

    Hi All,
    Generally we will be doing 11.5.10.2 "refresh" automatically.....
    How can i automate the script to add this 3 lines in jserv,properties?
    Basically add the following lines to the jserv.properties before any other classpath entry
    wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
    thanks a million....

    Hi Hussein,
    Thanks for giving this information..
    This is my jserv.properties file
    ORIGINAL jserv.properties  FILE
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
    # Notes: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will be
    # automatically evaluated to match your system requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters. JVM must be
    # able to find JSDK and JServ classes and any utility classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon modification
    # MUST NOT be in this classpath or the classpath of the shell
    # you start the Apache from.
    # Custom classpath
    # wrapper.classpath =
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
    # ----- iAS 1022 -----
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
    wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
    wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
    wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
    wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
    wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
    wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
    wrapper.classpath=/u01/clone/clonecomn/java
    wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
    wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
    UPDATED FILE SHOULD BE LIKE THIS
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
    # Notes: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will be
    # automatically evaluated to match your system requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters. JVM must be
    # able to find JSDK and JServ classes and any utility classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon modification
    # MUST NOT be in this classpath or the classpath of the shell
    # you start the Apache from.
    # Custom classpath
    # wrapper.classpath =
    wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
    # ----- iAS 1022 -----
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
    wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
    wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
    wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
    wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
    wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
    wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
    wrapper.classpath=/u01/clone/clonecomn/java
    wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
    wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
    This bold line should be added to that place, how can i do automatically.please suggest me.
    Thanks a million...

  • Even after classpath setting in jserv.properties file  error.

    hi kali,
    i have used a custom jsp page for export to excell using a jar file poi-3i-200566.jar which i deployed in oracle apps version 11.5.10.2.
    the jar is put in $JAVA_TOP and class path entry is set in jserv.properties file as
    wrapper.classpath=/d2_u10/....../poi-3i-200566.jar .
    After setting the classpath , bounced the apache.
    But even after the setting , the same error continues.
    I refered the mod_jserv.log file for error details , the error is in import statement of classes present in the poi-3i-200566.jar file like
    could not find the symbol HSSRow , HSSpreadsheet , etc. all these are classes in jar file.
    please anybody know any extra conf is needed or any idea where i am going wrong.
    thanks
    prabhakr,ap

    Hi,
    Please check your jserv.properties file whether the custom class path that you have set is present or not in jserv.properties after restarting the AutoConfig and Apache server.
    Thanks & Regards,
    Sagarika

  • Jserv properties file are reflecting in classpath

    Hi All,
    I'm facing some issue related with jserv.properties file
    we mentined some path for custom soap.jar in jser properties file and bounced apache but when I check the class path from front end(about this page>java properties>java class path) it is not reflecting in class path. this on Oracle apps 11i and multinode server, I have Jserv properties file from both the nodes and it contains the entries.
    Please let me know if someone has faced the same issue.
    Regards,
    Reetesh Sharma

    Hi Reetesh
    Check the link if it helps you out..
    Add few lines in jserv.properties file automatically
    Thanks
    AJ

  • Where can i find .properties file for jco connection?

    For jco connection to SAP, we need .properties file. Is this file already contained in Exchange Profile or somewhere??
    If yes, where can i find .properties file for jco connection or what is the path to this file?
    OR, do we have to create manually??
    Any help is appreciated.
    Thanks.
    Karma

    Hi Karma,
    Please take a look at these..
    Where to set up the JCO connection?
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/42e13d82fcfb34e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/bc/42e13d82fcfb34e10000000a114084/content.htm
    cheers,
    Prashanth

  • How can i write properties file for Hindi font

    Hi All,
    i'm using jdev 11.1.1.5.0
    in my use case i have worked on internationalization where i want to use hindi font
    like this link -
    Majid Hussain: Internationalization of ADF 11.1.1.3 Applications
    as in above post majid used german language and write properties file for german language(which is using english character).
    but my problem is that i want to use hindi language
    so how can i write propery file which support hindi font.
    Manish

    Hi Manish,
    We also had same requirement where we need to show indian local language(Hindi ,Bengali and many more ).
    We had implemented following approach and perhaps it will helpful for you.
    1-First we changed the encoding value in jdeveloper.
       go to jdeveloper --> tools --->preference-->encoding , select to UTF8
    2-We used to get the properties and it's translated value from business and then we were manually put these pair into related resource bundle.
    And using this we were able to implemented multilanguage support.
    Thanks
    Prateek

  • Alternatives to loading .properties files for every request

    I am just starting for a company, and they loading a bunch of .properties files for every request. I've told them that according to JEE specs, using the file system like that is a violation, as it's not scalable. I've suggested the following alternatives:
    1. Load a file once, in a static initializer, or something to that effect. Re-start the app if a change needs to be made in properties.
    +: few changes
    -: requires a new war/ear to make a change
    2. Put properties that are truly variable in a database record.
    -: requires DB schema change.
    3. For instance, i've though about using something like jconsole to change an mbean property, and then web apps using that property.
    4. Define a single web app that exposes an EJB/JMS/RMI object which serves properties to other web apps. If a change is needed, only 1 web app needs to be re-started, although it would still have to be re-packaged. Perhaps this app could load this stuff from the DB.
    5. Have a properties service, and expose it as an RMI object. If a change needs to be made on the fly, use rmi to make the updates.
    I'm leaning towards a combination of 1, 5, and possibly 4.
    I would like to know what other alternatives might be available.
    Thanks.

    I am just starting for a company, and they loading a
    bunch of .properties files for every request. I've
    told them that according to JEE specs, using the file
    system like that is a violation, as it's not
    scalable. well, it's just boneheaded that's all
    I've suggested the following alternatives:
    1. Load a file once, in a static initializer, or
    something to that effect. Re-start the app if a
    change needs to be made in properties.that's what most people do
    2. Put properties that are truly variable in a
    database record.well, databases don't normally hold config info, but you can do what you want
    -: requires DB schema change.
    3. For instance, i've though about using something
    like jconsole to change an mbean property, and then
    web apps using that property.
    4. Define a single web app that exposes an
    EJB/JMS/RMI object which serves properties to other
    web apps. If a change is needed, only 1 web app needs
    to be re-started, although it would still have to be
    re-packaged. Perhaps this app could load this stuff
    from the DB.doing EJB or RMI for getting properties sounds like overkill in the extreme to me

  • Can we make jar file for simple j2se application

    Hi..Can we make a jar file for simple j2se application so that it can be executed on any system like .exe file...

    Read the JAR files section in Sun's Java tutorial.

  • How can i don't save a flash file for a temporary internet files

    i already use html file in meta tag...
    but still saving file ..
    so how can i don't save a flash file for a temporary internet files??

    i don't understand.
    post your message in your native language.  i can use the forum translation tool to (usually) understand your question.

  • [svn:fx-trunk] 8056: More updated project properties files for the sparkTest project.

    Revision: 8056
    Author:   [email protected]
    Date:     2009-06-22 12:13:58 -0700 (Mon, 22 Jun 2009)
    Log Message:
    More updated project properties files for the sparkTest project.
    Modified Paths:
        flex/sdk/trunk/development/eclipse/flex/sparkTest/.actionScriptProperties
        flex/sdk/trunk/development/eclipse/flex/sparkTest/.project

    Thats good news.

  • Startup disk is full and the laptop can't operate.  How I remove files for it to work?

    Startup disk is full and the laptop can't operate.  How I remove files for it to work?

    Can you turn on the Macbook Pro?
    If yes, can you see the hard drive icon?
    Have you emptied the trash?

  • Can we keep one action file for all jsp files in struts?"

    I have 5-6 Jsp pages and all are inter connected.
    If any one make changes, these changes should be display in the database.
    In this case, I need only one Action class which can hold or manipulate all changes from all jsp pages. I am not sure "Can we keep one action file for all jsp files?"
    If yes, then how can we configure struts-config.xml file.
    If no, then pls suggest me any altenative solution.

    hai
    go for DispatchAction class and then pass as parameters
    refer struts complete reference...
    it will solve ur problems..

  • [svn:bz-trunk] 5125: Update excludes.properties file for BlazeDS/ trunk to exclude tests due to bugs BLZ-354, BLZ-355, and BLZ-356.

    Revision: 5125
    Author: [email protected]
    Date: 2009-03-02 05:55:42 -0800 (Mon, 02 Mar 2009)
    Log Message:
    Update excludes.properties file for BlazeDS/trunk to exclude tests due to bugs BLZ-354, BLZ-355, and BLZ-356.
    Also exclude JMS tests on WebSphere due to configuration issues on the regression box. This is being tracked by QETOOLS-32 in jira.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-354
    http://bugs.adobe.com/jira/browse/BLZ-355
    http://bugs.adobe.com/jira/browse/BLZ-356
    http://bugs.adobe.com/jira/browse/QETOOLS-32
    Modified Paths:
    blazeds/trunk/qa/features/excludes.properties

  • Urgent. How may i update a properties file in execution time?

    Urgent, please. How may i update a properties file in execution time? I need to update the file by means of a web page and i need the changes be reflected immediately.
    Thanks

    Note the update must be made in memory. But i don�t know how.

Maybe you are looking for