Log4j configuration problem
Can anyone explain why every line in the log file is printed twice - this is my log4j configuration file.
thanks...
Liat
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: log4j.xml,v 1.1 2003/10/29 11:00:45 avir Exp $ -->
<!--
| For more configuration infromation and examples see the Jakarta Log4j
| owebsite: http://jakarta.apache.org/log4j
-->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="./BitbandClient.log"/>
<param name="Append" value="true"/>
<!-- Rollover at midnight each day -->
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<!-- Rollover at the top of each hour
<param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-->
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
<!-- %-4r [%t] %-5p %c %x - %m%n-->
<!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
<param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
-->
</layout>
</appender>
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<param name="Threshold" value="INFO"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>
<appender name="BITBAND-CONSOLE" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<param name="Threshold" value="DEBUG"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c] - %m%n "/>
</layout>
</appender>
<category name="com.bitband.maestro">
<priority value="DEBUG"/>
<appender-ref ref="BITBAND-CONSOLE"/>
<appender-ref ref="FILE"/>
</category>
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<priority value="INFO"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
</log4j:configuration>
You're just begging for a [url http://en.wikipedia.org/wiki/RTFM]four-letter response :-)
http://logging.apache.org/log4j/docs/manual.html
The addAppender method adds an appender to a given logger. Each enabled logging request for a given logger will be forwarded to all the appenders in that logger as well as the appenders higher in the hierarchy. In other words, appenders are inherited additively from the logger hierarchy. For example, if a console appender is added to the root logger, then all enabled logging requests will at least print on the console. If in addition a file appender is added to a logger, say C, then enabled logging requests for C and C's children will print on a file and on the console. It is possible to override this default behavior so that appender accumulation is no longer additive by setting the additivity flag to false.
Similar Messages
-
Log4j RollingFileAppender problem
We are having problems using the RollingFileAppender in a Weblog 7 application.
We are noticing that there are missing backups on our server. Here is the log4j
configuration file:
===========================================
#set the level of the root logger at debug and define the appender
log4j.rootLogger=DEBUG, R
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=logs/WB.log
#size the log file at 10MB
log4j.appender.R.MaxFileSize=10MB
# Keep ten backup files
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c -> %m%n
#turn off logging for the apache classes
log4j.logger.org.apache=OFF
==============================================
One other thing we noticed was that Weblogic appears to open the base log file
as soon as the server is started. It does not relinquish control of the file.
Is this the case?
The directory of our server looks like this today:
WB.log
WB.log.9
WB.log.10
Any help is appreciated.
Thanks,
WillI've got a question about log4j.
I'm working with an application that generates a lot
of logging. When I'm trying to figure out problems in
the application it's hard to read the log files
because they get updated/overwritten all the time.
The mechanism of the RollingFileAppender of log4j is
that when the maximum file size is reached a new log
file is created with <filename>.1 and the name of
every file that already existed is increased with 1.
So when I try to read my logfiles they get
overwritten while I'm reading it because the
e application generates a new logfile sometimes 4
times per minute. That's very annoying, so what I
would like to have is that everytime a new logfile is
created it's number is increased with 1 until a
maximum of files and then start over.That's not Log4J's problem. That's your problem for treating log files like production data. Maybe you need to use something else, like writing this supposedly persistent data to a database.
I've been trying to find this mechanism somewhere but
can't find it. The DailyRollingFileAppender kinda
does what I want but you can't set a maximum of files
and I can't have that because of the space available
on the server.What stops you from introducing another periodic process, to purge old log files? That's what most would do. -
What's error 1 in adobe photoshop elements configuration? I have a computer with W Vista 8, Windows office home and business 2013. I recently tried to install Photoshop Elements by CD with serial number but on the desktop appears the following message: error 1 (configuration problem) try to uninstall and reinstall. I have done this but the message continues to appear
You haven't mentioned which version of PSE. If it is PSE 13, that requires a minimum of windows 7.
-
Itunes starts but fails to open due to audio configuration problem
Hi
I have been running itunes 7.1 quite successfully until today. Running on windows xp/toshiba laptop.
Problem occurs when i select itunes on desktop, itunes appears on task bar below, after a number of seconds the following error message appears "itunes cannot run because it has detected a problem with your audio configuration", once I click ok on this message itunes terminates.
No changes have been made to my audio configuration (to the best of my knowledge), i can run Windows Media Player and that works fine, so too real player.
I reinstalled itunes, but this did not resolve the problem. I also ran itunes from another logon on my laptop and that presented the same error. I checked all my audio settings in the control panel and also ran the diagnostics on each device and all appears to be fine.
Has anybody faced the same issue, and could anybody advise on any diagnistic tool that could assist in pinpointing the configuration problem?.
Thanks
Toshiba Satellite Windows XP ProHi
Got it resolved, thanks for the prompt responses all!.
Resolved by removal current version of Quicktime thru the control panel (add/remove programs), and then reinstalled from the website.
Phew!
Toshiba Satellite Windows XP Pro -
Integration Directory(Configuration) Problem
Hi All,
I am facing one Probelm. I am working one the client through Citrix. I am not able to open Integration Directory(Configuration Problem) . In onsite it's working fine. Reming all other applications(Integartion Repository and SLD and Runtime work bench) are working fine.
if I open Integration Directory i am getting this messge.
<jnlp spec="1.0+" codebase="http://filp55.group.upm-kymmene.com:50100/dir">
<information>
<title>Integration Builder</title>
<vendor>SAP AG</vendor>
<homepage href="http://www.sap.com" />
<description type="one-line">Directory</description>
<description type="short">Directory</description>
<description type="tooltip">Directory</description>
<icon hight="64" href="start/graphics/sap6464.gif" type="splash" width="64" />
<icon hight="32" href="start/graphics/SAP3232.gif" width="32" />
</information>
<security>
<all-permissions />
</security>
<resources>
<j2se version="1.4+" initial-heap-size="32m" max-heap-size="1024m" />
<jar href="directory/aii_ibdir_client.jar" />
<jar href="directory/aii_ibdir_core.jar" />
<jar href="directory/aii_ibdir_sbeans.jar" />
<jar href="directory/aii_ibdir_rb.jar" />
<jar href="directory/aii_ib_client.jar" />
<jar href="directory/aii_ib_core.jar" />
<jar href="directory/aii_ib_sbeans.jar" />
<jar href="directory/aii_ib_rb.jar" />
<jar href="directory/aii_util_icons.jar" />
<jar href="directory/aii_util_swing.jar" />
<jar href="directory/aii_util_xml.jar" />
<jar href="directory/aii_util_xsd.jar" />
<jar href="directory/aii_utilxi_misc.jar" />
<jar href="directory/aii_util_rb.jar" />
<jar href="directory/clientaii_ib_sbeans.jar" />
<jar href="directory/clientaii_ibdir_sbeans.jar" />
<jar href="directory/frog.jar" />
<jar href="directory/focus14.jar" />
<jar href="directory/sapxmltoolkit.jar" />
<jar href="directory/jta.jar" />
<jar href="directory/ejb20.jar" />
<jar href="directory/exception.jar" />
<jar href="directory/logging.jar" />
<jar href="directory/guidgenerator.jar" />
<jar href="directory/jperflib.jar" />
<jar href="directory/sapni.jar" />
<jar href="directory/sapj2eeclient.jar" />
<property name="sap.theme" value="Streamline" />
<property name="jnlp.log.initialConfiguration" value="FILE, SIMPLE" />
<property name="jnlp.com.sap.aii.ib.client.properties" value="com.sap.aii.ib.client., com.sap.aii.ib.core., com.sap.aii.util.xml., com.sap.aii.connect., com.sap.aii.repository.mapping.additionaltypes, com.sap.aii.docu., com.sap.aii.ibrep.core., com.sap.aii.ibdir.core.*" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.sysnr" value="01" /><property name="jnlp.com.sap.aii.connect.landscape.contextroot" value="sld" /><property name="jnlp.com.sap.aii.connect.cr.name" value="filp40.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.ib.client.content.languages" value="EN,DE" /><property name="jnlp.com.sap.aii.connect.repository.contextroot" value="rep" /><property name="jnlp.com.sap.aii.ib.client.login.languages" value="EN,DE" /><property name="jnlp.com.sap.aii.connect.directory.rmiport" value="50104" /><property name="jnlp.com.sap.aii.connect.cr.contextroot" value="sld" /><property name="jnlp.com.sap.aii.connect.rwb.r3.client" value="790" /><property name="jnlp.com.sap.aii.connect.directory.contextroot" value="dir" /><property name="jnlp.com.sap.aii.connect.rwb.contextroot" value="rwb" /><property name="jnlp.com.sap.aii.connect.landscape.httpsport" value="@com.sap.aii.server.httpsport.lcr@" /><property name="jnlp.com.sap.aii.connect.repository.rmiport" value="50104" /><property name="jnlp.com.sap.aii.connect.repository.httpport" value="50100" /><property name="jnlp.com.sap.aii.connect.directory.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.cr.httpsport" value="@com.sap.aii.server.httpsport.cr@" /><property name="jnlp.com.sap.aii.connect.repository.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.integrationserver.contextroot" value="run" /><property name="jnlp.com.sap.aii.connect.integrationserver.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.rwb.httpsport" value="@com.sap.aii.connect.rwb.httpsport@" /><property name="jnlp.com.sap.aii.connect.landscape.httpport" value="50000" /><property name="jnlp.com.sap.aii.docu.languages" value="null" /><property name="jnlp.com.sap.aii.ib.client.jnlp.j2se.initialheapsize" value="32m" /><property name="jnlp.com.sap.aii.util.xml.parserFactory" value="com.sap.engine.lib.jaxp.SAXParserFactoryImpl" /><property name="jnlp.com.sap.aii.connect.directory.httpport" value="50100" /><property name="jnlp.com.sap.aii.connect.directory.httpsport" value="@com.sap.aii.server.httpsport.directory@" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.httpport" value="8001" /><property name="jnlp.com.sap.aii.connect.rwb.name" value="filp55.group.upm-kymmene.com" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.client" value="790" /><property name="jnlp.com.sap.aii.connect.cr.httpport" value="50000" /><property name="jnlp.com.sap.aii.connect.landscape.name" value="filp40.group.upm-kymmene.com" /><property name="jnlp.SAPMYNAME" value="filp55_GTX_01" /><property name="jnlp.com.sap.aii.connect.rwb.httpport" value="50100" /><property name="jnlp.com.sap.aii.docu.url" value="null" /><property name="jnlp.com.sap.aii.ib.client.applicationname.directory" value="sap.com/com.sap.xi.directory/" /><property name="jnlp.com.sap.aii.util.xml.transformerFactory" value="com.sap.engine.lib.jaxp.TransformerFactoryImpl" /><property name="jnlp.com.sap.aii.ib.client.applicationname.repository" value="sap.com/com.sap.xi.repository/" /><property name="jnlp.com.sap.aii.ib.client.login.InitialContextFactory" value="com.sap.engine.services.jndi.InitialContextFactoryImpl" /><property name="jnlp.com.sap.aii.connect.integrationserver.httpport" value="50100" /><property name="jnlp.client" value="true" /><property name="jnlp.com.sap.aii.connect.repository.httpsport" value="@com.sap.aii.server.httpsport.repository@" /><property name="jnlp.com.sap.aii.ib.client.jnlp.j2se.maxheapsize" value="1024m" /><property name="jnlp.com.sap.aii.connect.integrationserver.httpsport" value="@com.sap.aii.connect.integrationserver.httpsport@" /><property name="jnlp.com.sap.aii.connect.integrationbuilder.startpage.url" value="rep/start/index.jsp" /><property name="jnlp.com.sap.aii.connect.integrationserver.r3.httpsport" value="@com.sap.aii.connect.integrationserver.r3.httpsport@" /><property name="jnlp.com.sap.aii.connect.rwb.r3.sysnr" value="01" /><property name="jnlp.com.sap.aii.util.xml.schemaValidator" value="com.sap.engine.lib.schema.validator.SchemaValidator" /><property name="jnlp.rc.release" value="7_00" /><property name="jnlp.rc.applname" value="DIRECTORY" /><property name="jnlp.rc.supportpackage" value="09" /><property name="jnlp.rc.synctime" value="${sync.time}" /></resources>
<application-desc main-class="com.sap.aii.ibdir.gui.appl.ApplicationImpl">
<argument>webstart</argument>
</application-desc>
</jnlp>
Please help me on this..........
Thanks in Advacne.
Regards,
ChandraHello,
1)
May be the problem is a network connectivity issue. Do one thing copy the "cahce" folder from some other client PC(which has successfully opened IR and ID) to your client PC. The folder resides in "C:Documents and Settings<yourUserProfile>Application DataSunJavaDeploymentjavaws".
Copy "cache" folder to your client PC under the above path.
/people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1688 [original link is broken] [original link is broken] [original link is broken]
2) Go to http://filp55.group.upm-kymmene.com:50100/rep/
Click on Administration -> Java Web Start -> Java Web Start Administration ->
Try
1. Re-initialization (then try logging)
2. Re-initialization and force-signing (then try logging)
3. Delete lock (then try logging)
Do this for IR and ID tabs.
3) Check can be a firewall issue.
4) Check wether sufficient roles have been assigned -> Tcode -> SU01 -> roles tab. These roles need to be assigned to your username
SAP_BC_AI_LANDSCAPE_DB_RFC
SAP_SLD_CONFIGURATOR
SAP_SLD_DEVELOPER
SAP_XI_BPE_CONFIGURATOR_ABAP
SAP_XI_BPE_MONITOR_ABAP
SAP_XI_DEVELOPER
SAP_XI_DEVELOPER_ABAP
SAP_XI_DEVELOPER_J2EE
SAP_XI_MONITOR
SAP_XI_MONITOR_ABAP
SAP_XI_MONITOR_J2EE
<b>*******************Reward,if found useful</b>
Edited by: BVS on May 7, 2008 3:01 PM -
Weblogic 10.0 and Log4j classpath problem
My applications were working fine in WLS 9 but when I upgaded to WLS 10 I started getting log4j configuration and resource finding errors.
Basically, if I do a "Logger.class.getClassLoader().getResourceAsStream(file)" I get a null pointer excep. bec. the classloader can't find the file that's packed within the EAR.
Log4j.jar is in my web-inf/lib folder. I also tried putting it in APP-INF/lib to no avail
Note: In WLS 9.2, there is a log4j jar in BEA_HOME/common/lib and a wllog4j in BEA_HOME/server/lib. So.... it looks like the log4j jar was in the classpath before too. So, not sure what's going on with 10.0
Any insight into this would be greatly appreciated.
Edited by mariorod at 05/15/2008 2:47 PMThanks!
I tried using the same log4j version that WLS10 uses (log4j 1.2.13) and ....... it still didn't work!
From reading the URL that you stated above, it looks like if log4j 1.2.13 exists in WEB-INF/lib and the WLS modules dir, then WLS will still load the log4j classes from the SYSTEM CP rather than from the web app CP.....
That seems to explain why even after updating my lib to use the same jar, it still can't find a resource in the web app..
Is this assumption correct/wrong?
Any other ideas anyone?
Edited by mariorod at 05/16/2008 8:33 AM -
Itunes can't run bc of audio configuration problem
Well I've been using itunes for about 2 years now and just recently i installed the newer version. It was working fine until today when my computer told me ther was some kind of computer error and that i should do a system restore. So i did a restore to about 2 weeks ago which was before i updated my itunes. And then i was getting the message that my itunes was missing files and could not run. So i ran a repair on it and still got the same error. Then I deleted it adn reinstalled and I got the error "Itunes cannot run because it has detected a problem with your audio configuration.
So then I undid the system restore and tried itunes to see if it would work. And I was still getting the same message that itunes cannot run because it has detected a problem with your audio configuration. So then I uninstalled it and reinstalled it and still getting the same message.
Can someone help me out? What problem would it be with my audio configuration? I haven't changed anything. Is there something i can adjust to fix the problem? I'm clueless....the message is typically produced by a problem with your QuickTime. (itunes uses QuickTime for audio and video playback.)
perhaps let's start with the following document:
iTunes 7 for Windows: iTunes had detected an audio configuration problem
... but if no joy there, try this alternate technique for swapping out your QuickTime:
head into your Add/Remove programs. uninstall QuickTime.
Next, we’ll manually remove any leftover program files and folders.
1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
2. In My Computer, open Local Disk.
3. Open Program Files.
4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
5. Navigate to C:\Windows\system32\.
6. Remove the files QuickTime.qts and QuicktimeVR.qtx.
7. Restart your computer.
next, we'll get a fresh copy of QuickTime into your PC by doing a repair install of itunes.
switch off antivirus and antispyware applications prior to the repair install.
go into Add/Remove and select itunes. click "Change" and then click "Repair".
if the repair install goes through okay, restart the PC and try launching itunes again. does it launch properly now? -
Audio Configuration problem detected after install
During the download of the new ITunes version I had a major power failure. I went back and completed the download and after the installation I got an error message that ITunes could not be opened due to an audio configuration problem detected. I went to the Apple site and downloaded a new version from scratch and after the install I got the same audio error. Any Suggestions?
Perhaps this Apple KnowledgeBase article will help:
iTunes 7 for Windows: iTunes has detected an audio configuration problem
Hope that helps.
Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Discussions page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums, in the User Tips Library and in the Apple Knowledge Base before you post a question.
Regards. -
Audio configuration problem in iTunes
I am running iTunes 7.1.1.5 (WinXP). When opening iTunes, I get an error message that there "are problems with your audio configuration." In iTunes support, I followed instructions to remove Quicktime then reinstall as standalone (without iTunes). Same problem persists. I will add that same problem occurred about a month ago, but that time the same steps of removing Quicktime, then reinstalling as standalone corrected the problem. Unfortunately, it recurred.
See if this helps:
iTunes 7 for Windows: iTunes has detected an audio configuration problem
http://docs.info.apple.com/article.html?artnum=304424 -
Could not start the app due to a configuration problem - Launchpad issue
Hi,
When I try to launch a custom app from Fiori Launchpad I get an error could not start app due to configuration problem. Error 500- Internal Server Error.
App works correctly when I try to execute via URL http://XXX/sap/bc/ui5_ui5/sap/zmyfioriui5_v11.
Screenshot of Chrome debugging and lpd_cust attached.
It seems problem with ResolveLink but unable to conclude.
Any Suggestion how to proceed.
Thanks,
MayankHi Mayank,
Few modifications :
For additional information field : ".component" at the end is not required.
Only keep : SAPUI5.Component=sap.ui.demo.myFiori
Check this screenshot :
Also, please don't keep Semantic object name and application alias as same name i.e. ymyfioriui5_v11. Its very confusing.
If above doesn't solve, please confirm below :
ZXXXLPD is your launchpad role in LPD_CUST tcode.
Please use TRANSACTIONAL instead of transactional (might be case sensitive)
Show your semantic object "ymyfioriui5_v11" created in /UI2/SEMOBJ
Regards,
Tejas -
Can't run form from Form Builder 10g - Port configuration problem?
Hi,
I have installed the Database (10.2.0.1.0) and the Developer Suite (10.1.2.0.2) on two Linux machines (Red Hat Enterprise Linux ES 4 Basic).
If I enter the frmservlet-URL manually everything seems to be fine.
In one case I enter http://127.0.0.1:8890/forms/frmservlet, in the other http://127.0.0.1:8889/forms/frmservlet; in BOTH cases I get eventually a dark square and the status bar says "Applet oracle.forms.engine.Main started".
HOWEVER, if I create a simple form with Form Builder and click on the Button with the green traffic light ("Run Form"), the form runs only on the machine where frmservlet listens on port 8890.
On the other machine (frmservlet configured to listen on port 8889) Firefox pops up, the URL "http://127.0.0.1:32979/6dOrpwghCqnp8PhMT7KVT533m3IaArqFbPqPBOztZXWYSsNy" gets called, and nothing else happens. The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and it stays like this forever.
I assume this is a port configuration problem, but I don't have a clue where to start.
Any suggestions how I should proceed are greatly appreciated.
Thank you very much in advance!Hi Frank,
Thank you for your reply.
I doublechecked my configuration.
In the dialog Edit --> Preferences --> Runtime the Application Server URL is set to "127.0.0.1:8889/forms/frmservlet".
However, when I attempt to run the form, the URL "http://127.0.0.1:33140/W2dwbV9eXS2fPkuKlxNhCxFWdEihwDviat2uV7ycrSotqwDN" gets called.
The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and that's it.
I wonder how the port number 33140 got selected. Interestingly, this time it is a different number; last time it was port 32979. In fact, the port number seems to change each time; I tried again and now it is 33189.
I will now try to set the port number for the frmservlet to 8890.
I choose Edit --> Preferences --> Runtime and set the application server URL to "127.0.0.1:8890/forms/frmservlet".
I stop the container, open /home/oracle/OraHome_1/j2ee/DevSuite/config/default-web-site.xml and change the port number to 8890:
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE web-site PUBLIC "Oracle Application Server 10g XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
<!-- change the host name below to your own host name. Localhost will -->
<!-- not work with clustering -->
<!-- also add cluster-island attribute as below
<web-site host="localhost" port="0" protocol="ajp13"
display-name="Default Oracle Application Server 10g Java WebSite" cluster-island="1" >
-->
<web-site port="8890" protocol="http"
display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site">
<!-- Uncomment the following line when using clustering -->
<!-- <frontend host="your_host_name" port="80" /> -->
<!-- The default web-app for this site, bound to the root -->
<default-web-app application="default" name="defaultWebApp" root="/j2ee" />
<!-- Do not delete this line. -->
<web-app application="forms" name="formsweb" root="/forms" />
<!-- -->
<!-- <web-app application="forms" name="formsweb" root="/forms" /> -->
<web-app application ="reports" name="web" root="/reports" />
<web-app application = "reports" name="demo" root="/repdemo" />
<!-- Access Log, where requests are logged to -->
<access-log path="../log/default-web-access.log" />
</web-site>
I restart the container, start Form Builder, connect to the database, and open my test form.
When attempting to run the form, the URL "http://127.0.0.1:33437/Pl0n3ky9vmU5z37A7ScBnQhsGwq3jwuzJpgTAKWPMOYIzT8K" gets called (again a new port number, apparently picked radomly within a certain range) and nothing happens: "Waiting for 127.0.0.1...".
However, when I enter the URL http://127.0.0.1:8890/forms/frmservlet I do (eventually, after confirming that I trust the certificate etc.) get a darc rectangle and the status message "Applet oracle.forms.engine.Main started", which tells me that my setup can't be that far off target.
Here is the output of netstat:
[root@localhost ~]# netstat -anp --tcp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN 2779/rpc.statd
tcp 0 0 0.0.0.0:23910 0.0.0.0:* LISTEN 5269/java
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2759/portmap
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 4265/tnslsnr
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2983/xinetd
tcp 0 0 127.0.0.1:7830 0.0.0.0:* LISTEN 4429/spamd --port 7
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2928/cupsd
tcp 0 0 0.0.0.0:9240 0.0.0.0:* LISTEN 5269/java
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3002/sendmail: acce
tcp 0 0 0.0.0.0:8890 0.0.0.0:* LISTEN 5269/java
tcp 0 0 0.0.0.0:32795 0.0.0.0:* LISTEN 4231/ora_d000_orcl
tcp 0 0 127.0.0.1:1521 127.0.0.1:32817 ESTABLISHED 4265/tnslsnr
tcp 0 0 127.0.0.1:32817 127.0.0.1:1521 ESTABLISHED 4209/ora_pmon_orcl
tcp 0 0 127.0.0.1:33425 127.0.0.1:1521 ESTABLISHED 5298/frmbld
tcp 0 0 127.0.0.1:1521 127.0.0.1:33425 ESTABLISHED 5311/oracleorcl
tcp 1 0 80.133.127.83:33485 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33484 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33494 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33520 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 0 0 80.133.127.83:33529 209.132.177.100:443 ESTABLISHED 4060/python
tcp 0 0 80.133.127.83:33528 209.132.177.100:443 ESTABLISHED 4060/python
tcp 1 0 80.133.127.83:33460 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33470 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 0 0 :::22 :::* LISTEN 2968/sshd
tcp 0 0 ::ffff:127.0.0.1:33437 :::* LISTEN 5298/frmbld
tcp 697 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33439 CLOSE_WAIT -
tcp 348 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33440 CLOSE_WAIT -
[root@localhost ~]#
The question remains: Where do those port numbers come from?
Regards,
jme -
Configuration problem with param or code problem
Hi,
Im new to this jsp. Currently, i have some some Q here. Im trying on the jsp-tutorial with
<%@ taglib prefix="my"
uri="./jsp2/jsp2-example-taglib.tld" %>
<HEAD>
<TITLE>Functions</TITLE>
</HEAD>
<BODY>
<H3>Add Numbers</H3>
<P>
<FORM action="./compute.jsp" method="GET">
X = <input type="text" name="x" value="${param["x"]}">
<BR>
Y = <input type="text" name="y" value="${param["y"]}">
<input type="submit" value="Add Numbers">
</FORM>
<P>
The sum is: ${my:add(param["x"],param["y"])}
</BODY>
</HTML>
inside the text box it appear the text with ${param[[/i], may i know is it a configuration problem?
Thx for replyProbably yes it is a configuration problem.
You have a JSP2.0 container? (eg Tomcat 5)
If your web.xml starts with this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
Replace it with this
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
That should fix it.
http://forum.java.sun.com/thread.jspa?threadID=629437&
tstart=0Sorry,
I already hav
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
originaly. -
Configuration problem with external Western Digital My Book 2 TB drive
How do I fix a configuration problem with my external Western Digital My Book 2 TB drive which used to both read and write. Something has happened so that the drive is now read only? There is 600 GB of data on the drive that I cannot lose, thus am very concerned about messing around with formatting the drive which is raid 1 and filled with data.
may not like to hear, but I'd skip on MyBook cases, nice looking as they are.
Get a 2nd drive case to recover to.
http://www.macsales.com/firewire
may need to play with the demo Data Rescue 3 from Prosoft
Backup/recover before repair is usually in order
never have one backup set. THREE sets of your data, minimum.
3rd party disk maintenance and repair should be a must and given rather than rely solely on Apple Disk Utility.
Data and system maintenance and recovery plan - should be like practice for sports, arts, military with practice and making sure you will know how and the tools you need - ahead of time
Resetting USB/FW ports, try another if one won't work. When 10.6 came out there was a lot of grinding teeth with external drives not working or mounting. -
I purchased an IPAD 2 about three weeks ago. When I go to my Trash and Send foloders it appears that none of my deleted or sent e mails are bing captured/stored in these folders. do i have a configuration problem???
Once you connect to the Wifi Network once, then the iPhone or iPad remembers it and attempts to connect automatically in the future, but you have to tap to connect to that Wifi the first time. Like the first time you get on your home wifi, or the first time you go the a certain hotel, etc.
Now, one you navigate to Settings > Wifi and tap on the network you wish to connect to, if you are having issues there, use this article to help you: http://support.apple.com/kb/TS1398 -
PERFECT solution to Photoshop CC2014 configurator problem
Actually, this is the PERFECT solution to Photoshop CC2014 lack of configurator problem.
I looked around for some program that could put up a window on screen with a row of 'buttons' that you could could program and click on like configurator.
There may be one, but I couldn't find it. So I did a bit of lateral thinking and bought an external device that that has rows of real buttons that you can program with whatever keystroke combinations to like.
I bought a RAZER ORBWEAVER which is as gaming device, but works perfectly with Photoshop - Windows or Mac - and any other software you want shortcuts for. You can get them on Amazon for about $100 though I actually got mine on eBay. There are cheaper similar devices, but the Orbweaver seems pretty tough and gets good reviews. If there isn't a key shortcut for what you want to do, simply go to Edit/Keyboard Shortcuts in Photoshop CC2014 and create one (making sure you use a combination that isn't already in use) Then it's simply a matter of programming the 20 buttons on the Orbweaver to your chosen keystrokes. I have printed a chart to remind me of all the settings.
This means too, that no matter what Adobe do to future software (apart from eliminating ALL keystrokes) this solution is future proof.Did also some lateral thinking and bought a ShuttlePRO v2...
SUPER !!!
Highly recommended !
Maybe you are looking for
-
Error while running the rdf using concurrent program
Hi All, I am facing the following error when i try to run the concurrent program REP-0736: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL. I am using a package in the program units. when i ues it the database its
-
[iPhone] Can't download file with FTP
Dear everybody. I want to download a text file at : ftp://username:[email protected] Current, I use below code: NSString *s = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"ftp://username:[email protected]"] encoding:NSUTF8StringEncoding er
-
I am unable to sign up through the BT website for their free 3 month offer of Onlive. It says my line doesn't meet minimum speed requirement. According to the Onlive FAQ a minimum of 3 meg is needed and 5 meg is recommended. I currently sync at 6.7 m
-
Acceptable video formats for iPhone
I am attempting to download music videos and movies to my iPhone. I've found in the past the mp4 files work for videos, but recently, mp4 files have not been working. I get a message saying that the file is not compatible with iPhone. Any suggestions
-
Error 15: file not found [solved]
I've found a number of posts on this forum that sound like they are dealing with similar problems, but none of them are quite right. Just built a new computer, and I have been trying to install arch all day. The install went without a problem, but th