How i can store the server output console into server.log -like the output of netbeans apache output console server.log to trace sql errors and display system.out.println
i have tried to configure the logging and debug section in weblogic administration control but i cant find a clue to for my problem ,the server.log exist store the http requests and other things that is not important to me ,i read references and manuals “fast read” so if someone can give me a reference to my problem or solution may be because i cant find the appropriate terminology to search
example
the Form Action is :searchEmNominativeInterviewPrevInvertory
=========EXTRA PARAMETER FOR SEARCH=========
Extra Parameters
=========EXTRA PARAMETER FOR SEARCH=========
-----<<>>----trying to get connection--3---
PDAO
PDAO user
PDAO null
PDAO 1 = 1 AND REQ_CLASS = 'I'
PDAO
PDAO
PDAO -1
PDAO -1
PDAO null
PDAO -1
PDAO -1
PDAO -1
PDAO -1
PDAO I
PDAO -1
PDAO -1
PDAO 9481007150
PDAO 1
PDAO 13
PDAO
PDAO
-----<<>>----Executing the Security Procedure Fail...
java.sql.SQLException: ORA-06550: سطر 1 ، عمود 7 :
PLS-00905: object HR2_EMPL.EM_NOM_INTER_PREV_STOCK$SELECT is invalid
ORA-06550: سطر 1 ، عمود 7 :
PL/SQL: Statement ignored
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:954)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4223)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
at com.rss.components.ParentDAO.executeProcedure(ParentDAO.java:318)
at rss.hr2.recruitment.RecruitmentDAO.searchEmNominativeInterviewPrevInvertory(RecruitmentDAO.java:15051)
at rss.hr2.recruitment.interviews.searchEmNominativeInterviewPrevInvertory.execute(searchEmNominativeInterviewPrevInvertory.java:159)
at rss.controller.CommandDispatcher.executeCommand(CommandDispatcher.java:111)
This link has the solution to my problem
Reference To Configure log4j In Weblogic Server
oracle docs on How to Use Log4j with WebLogic Logging Services
The First link Content first paragraph read the link for the reset
Configure log4j in weblogic server
I have recently configured log4j for our web applications deployed in weblogic 10.3 domain. The steps are given below:
log4j-1.2.9.jar & wllog4j.jarunderdomain_root/lib folder.log4j.xmland drop it under domain_root folder. If you have log4j.xml inside the application(EAR/WAR), I would recommend to move outside EAR/WARas changing severity (log level) would require re-deployment.
To avoid this, we can move log4j.xml into domain root folder but again the server needs to be bounced. But there is a fix. Click here for more info.
Go to Servers -> Admin Server-> Logging.Click on advanced mode. Change the logging implementation from
JDK to Log4J.Click save.This should enable log4j and should write logging into log file mentioned in
log4j.xml or properties file.if you want an example i recommend this log4j – Quick Guide
advice you should be patience to read and apply