Log 4 j error in struts 1.2.8
I am using struts1.2.8 with hibernate 3.
I am getting below error.
Is there any solution for this problem ?
private DailyRollingFileAppender cAeroAppender;
java.util.Calendar cal=java.util.Calendar.getInstance(); // getting calendar instance
logger = Logger.getLogger(cal.getTime()+"");
strLogLevel=CAeroConstants.getProperty(CAeroConstants.PROPTYPE_CONFIG,CAeroConstants.CONFIGPROP_LOG_LEVEL);
logger.setLevel(Level.DEBUG);
else if ( strLogLevel.equalsIgnoreCase("DEBUG") ) {
logger.setLevel(Level.DEBUG);
else if ( strLogLevel.equalsIgnoreCase("ERROR") ) {
logger.setLevel(Level.ERROR);
cAeroAppender = new DailyRollingFileAppender(new SimpleLayout(),strLogPath+".log","'_'MM-dd-yyyy");
logger.addAppender(cAeroAppender);
06/04/18 20:50:01 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResource
s).
06/04/18 20:50:01 log4j:WARN Please initialize the log4j system properly.
Raghu
It's not an error; it is merely a warning saying that the system is unable to find any log4j configuration. Create a log4j.properties and add it to the server classpath.
Similar Messages
-
Hi all
I've got a error msg when try to generate a report using Cisco history report tool:
Error | An Exceptional Error occurred. Application exiting. Check the log file for error 5022
It only happens when choose report template: ICD_Contact_Service_Queue_Activity_by_CSQ_en_us.
User tried samething on other PC, it working fine.
only on user' own PC and only choose this report, error appears.
user runing windows 7 and do not have crystal report installed
tried reinstalled the software, doesn't work.
also tried this: (https://cisco-support.hosted.jivesoftware.com/thread/2041254) - doesn't work
then tried https://supportforums.cisco.com/docs/DOC-6209 - doesn't work
attached the log file.
thanks.wenqianyu wrote:From the log file:Looks like you get a Login Window.Error message showed up after username/password be enteredThere is an error in the log: Error happened in comparing UCCX version and HRC versionYou may need to do a clean uninstall, download the Historical report from the server, and install it again on the PC.Does this only happen to one PC or to every PC with this application?Wenqian
I have completely uninstalled the HRC, and download from server install again -- still doesn't work with exactly same error.
this matter only happens on this PC, when user try same thing on other PC, it works.
so i think it not relate to server or account. -
Hi All,
I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054" when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out
The log file stated that there were ongoing connections of HRC with the CCX (I am sure there isn't any active login to HRC)
|| When you tried to login the following error was being displayed because the maximum number of connections were reached for the server . We can see that a total number of 5 connections have been configured . ||
1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
|| Below we can see all 5 connections being used up . ||
2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
|| Once the maximum number of connection was reached it threw an error . ||
3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
Current exact UCCX Version 9.0.2.11001-24
Current CUCM Version 8.6.2.23900-10
Business impact Not Critical
Exact error message All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
What is the OS version of the PC you are running and is it physical machine or virtual machine that is running the HRC client ..
OS Version Windows 7 Home Premium 64 bit and it’s a physical machine.
. The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ?We have had this "PRX5" problem with Exchange 2013 since the RTM version. We recently applied CU3, and it did not correct the problem. We have seen this problem on every Exchange 2013 we manage. They are all installations where all roles
are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth. None of those "solutions" made any difference whatsoever. The occurrence of the temporary error PRX5 seems totally random.
About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
Most people don't ever notice the issue because remote mail servers retry the connection later. However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
simply fail. Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
Is Microsoft totally oblivious to this problem?
PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
JSB -
Hi,
After installing the prerequisites from the document - CiscoPrimeServiceCatalog_10_0_IntegrationGuide.pdf
and image - CPSC_10.0.0R2_unix.gz , on a red hat machine. and oracle version - oracle-xe-11.2.0-1.0.
But the installation logs has an error, as follows -
"Database exception at line: 9972 in file "/opt/CiscoPrimeServiceCatalog/schema/release-12.0.0/schema/CreateIndexes-ORA.sql"
RDBMS message : ORA-01658: unable to create INITIAL extent for segment in tablespace SYSTEM
ORA-06512: at line 7"
Please suggent a work araoundHi,
I have tried to log in the application
http://bizapp.casa.com:8000/OA_HTML/AppsLogin
but I have got an HTTP 500 Internal server error.
But the server is working because I have got a response on this address:
http://bizapp.casa.com:8000/
Any ideas what is happening?The URL Should be
http:/bizapp.casa.com:8000/OA_HTML/AppsLocalLogin.jsp
not
AppsLogin or AppsLogin.jsp
Thanks -
I've a report developed with DB2 9.7.5. It works fine in Crystal Report designer on my machine with local DB2 server with one of the database. It works fine from my ASP.NET application as long as I connect to same database. But if I chnage the database, I keep getting log on failed error. Then, if I change the report in crystal reports designer and connect to the other database and perform check dependencies, it starts working again.
The report is developed using couple of stored procedures and it has multiple subreports. I verified that the stored procedures are exactly same on other database and the userID to connect to both databases has exact same privileges.
Also, I get the same error when I try to connect another server with another copy of DB2 database. In this case, even if I use crystal reports designer to connect and save, it doesn't work.
Following is my code when I try to connect. The interesting thing is call to subreport.VerifyDatabase() works fine. But call to m_rpt.VerifyDatabase() throws exception.
ReportDocument m_rpt;
if (m_rpt.Subreports != null && m_rpt.Subreports.Count > 0)
foreach (ReportDocument subrpt in m_rpt.Subreports)
foreach (CrystalDecisions.CrystalReports.Engine.Table tbl in subrpt.Database.Tables)
CrystalDecisions.Shared.TableLogOnInfo logInfo = tbl.LogOnInfo;
logInfo.ConnectionInfo.DatabaseName = m_strDBName;
logInfo.ConnectionInfo.ServerName = m_strDSN;
logInfo.ConnectionInfo.UserID = m_strDBUserID;
logInfo.ConnectionInfo.Password = m_strDBPassword;
tbl.ApplyLogOnInfo(logInfo);
subrpt.VerifyDatabase();
foreach(CrystalDecisions.CrystalReports.Engine.Table tbl in m_rpt.Database.Tables)
CrystalDecisions.Shared.TableLogOnInfo logInfo = tbl.LogOnInfo;
logInfo.ConnectionInfo.DatabaseName = m_strDBName;
logInfo.ConnectionInfo.ServerName = m_strDSN;
logInfo.ConnectionInfo.UserID = m_strDBUserID;
logInfo.ConnectionInfo.Password = m_strDBPassword;
tbl.ApplyLogOnInfo(logInfo);
m_rpt.VerifyDatabase();
Edited by: kushalkaleshwari on Mar 5, 2012 5:54 PMFollowing is the exception:
- excep {"Log on failed."} System.Exception {CrystalDecisions.CrystalReports.Engine.LogOnException}
+ [CrystalDecisions.CrystalReports.Engine.LogOnException] {"Log on failed."} CrystalDecisions.CrystalReports.Engine.LogOnException
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HelpLink null string
- InnerException {"\rNo error."} System.Exception {System.Runtime.InteropServices.COMException}
+ [System.Runtime.InteropServices.COMException] {"\rNo error."} System.Runtime.InteropServices.COMException
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HelpLink null string
+ InnerException null System.Exception
Message "\rNo error." string
Source "Analysis Server" string
StackTrace " at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.VerifyDatabase()\r\n at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.VerifyDatabase()\r\n at CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()" string
- TargetSite {Void VerifyDatabase()} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}
+ [System.Reflection.RuntimeMethodInfo] {Void VerifyDatabase()} System.Reflection.RuntimeMethodInfo
+ base {Void VerifyDatabase()} System.Reflection.MemberInfo {System.Reflection.RuntimeMethodInfo}
Attributes FamANDAssem | Family | Virtual | HideBySig | VtableLayoutMask System.Reflection.MethodAttributes
CallingConvention Standard | HasThis System.Reflection.CallingConventions
ContainsGenericParameters false bool
IsAbstract false bool
IsAssembly false bool
IsConstructor false bool
IsFamily false bool
IsFamilyAndAssembly false bool
IsFamilyOrAssembly false bool
IsFinal false bool
IsGenericMethod false bool
IsGenericMethodDefinition false bool
IsHideBySig true bool
IsPrivate false bool
IsPublic true bool
IsSecurityCritical true bool
IsSecuritySafeCritical true bool
IsSecurityTransparent false bool
IsSpecialName false bool
IsStatic false bool
IsVirtual true bool
+ MethodHandle {System.RuntimeMethodHandle} System.RuntimeMethodHandle
+ Non-Public members
+ Static members
+ Non-Public members
Message "Log on failed." string
Source "CrystalDecisions.CrystalReports.Engine" string
StackTrace " at CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()\r\n at WebUtilLib.ReportCacher2.ApplyLogonInfo(String strDSN, String strDBName, String strDBUserID, String strDBPassword, String strDBType)" string
+ TargetSite {Void VerifyDatabase()} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}
+ Static members
+ Non-Public members -
I can't access to my ipad In MacBook Air. Error shows this device no loger connected or error shows that no response from divice and iTunes can't connected or not found divice, what's the problem? I reset my ipad but no response
Hi ..
Which OS X is installed on your Mac ?
Click the Apple () menu top left in your screen. From the drop down menu click About This Mac. The version is noted there.
Make sure your Mac OS X software is up to date.
Disconnect the iPad from your Mac.
Open System Preferences > Software Update > Check Now
If any updates are required, make sure to restart your Mac after the updates are installed then connect your iPad and see if iTunes recognizes it under Devices. -
Hi,
I am trying to establish connectivity between OBIEE 11g to Teradata DB 13.10.6.1. obiee running on Linux OS 64bit. i installed Teradata odbc drivers 13.10.0.10 .. when i try to access data from obiee online i am getting error msg "Not enough information to log on." error
Per the documentation i configured odbc.ini and user.sh . (ld_library_path).. ODBCini parameter also set.
The teradata connection working ok when i ran a sample program .. /opt/teradta/client/13.10/odbc_64/samples/C++.. exceuted ./adhoc and i am able to connect using same datasource name/credentials that listed in odbc.ini.
any thing i am missing in Teradata config side?.. or obiee config side.. and troubleshooting/trace advice?... Thanks for your help
Kashhttp://www.symantec.com/security_response/writeup.jsp?docid=2010-011922-0125-99& tabid=2
The story goes on. I am sharing this with other users for information only based on my experience with the product. I've owned a MAC since they were first introduced in 1984 and have used Norton for years. If the virus Bloodhound was real, and not just a false heuristic positive (which is totally possible) it came in on the heels of my downloading a free PDF OCR X (before reinstalling the updated version of Norton for 10.8.3) and using it to convert .jpgs > PDF OCR X text >MS Word > Adobe .pdf as that virus (Bloodhound.PDF.20 is known for exploiting weaknesses in Acrobat and Adobe .pdfs). I have never been happy having to use the MS Office suite of office products for MAC, but EXCEL on a PC is only compatibile with EXCEL on a MAC.
When I got the Bloodhound warning after running a quick scan, I ran a full scan (1,050,660 files) with the same result. I looked at my terminal - nothing happening. I called Norton, who in turn convinced me to purchase an $89.98 subscription + $19.95/month for their spyware and virus removal service (the same sales pitch I've heard from other security providers who sell services through panic). The tech, who said it was probably false, played around with my computer via remote login, and then signed off, saying everything was okay. I reran a full scan and there was the virus again. Called tech support again. Finally got the virus quarantined and tossed it. The reality is that there was a 50/50 chance that it was something because of the way MS Word was behaving when I tried to save the file created from the ocr'd jpgs (error message: disk full- when I have 250GB of free disk space). I had to resave the files with a different name and place them in alternating folders. That havoc is now gone, but I will not be keeping the subscription. Just FYI. -
Trans.log file showing 'ERROR = CONNECT failed with sql error 12541'
Dear All
We have upgraded our datatabse from Oracle 9.2.0.8 to Oracel 10.2.0.4 on our ECC 5.0 IS-AFS SAP system. When we check version from SQL, it's showing 10.2.0.4. That means database is successfully upgraded. Now, when we login through our <SID>adm user and checking R3trans -d, it is showing
'This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'V
AP'"
R3trans finished (0012).'
In the trans.log file it is showing,
4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 22.06.2009 - 11:56:40
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Mon Jun 22 11:56:40 2009 110 0.000
110
4 ETW000 [dev trc ,00000] db_con_init called 27 0.000
137
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 62 0.000
199
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' ...
4 ETW000 77 0.000
276
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/VAP/SYS/exe/run/dboraslib.o), hdl
0
4 ETW000 8142 0.008
418
4 ETW000 [dev trc ,00000] Library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' loaded
4 ETW000 43 0.008
461
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/VAP/SYS/exe/r
un/dboraslib.o
4 ETW000 61 0.008
522
4 ETW000 [dev trc ,00000] Version of '/usr/sap/VAP/SYS/exe/run/dboraslib.o' is "640.00",
patchlevel (0.276)
4 ETW000 421 0.008
943
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/VAP/SYS/exe/
run/dboraslib.o
4 ETW000 46 0.008
989
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/VAP/SYS/exe
/run/dboraslib.o
4 ETW000 75 0.009
064
4 ETW000 [dev trc ,00000] New connection 0 created 48 0.009
112
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm =
YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 53 0.009
165
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 55 0.009
220
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 53 0.009
273
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm =
YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 49 0.009
322
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/VAP/102_64 from environment
4 ETW000 521 0.009
843
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 84 0.009
927
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 65 0.009
992
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 2033 0.012
025
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPVAP's password 49 0.012
074
4 ETW000 [dev trc ,00000] Connecting as /@VAP on connection 0 (nls_hdl 0) ... (dbsl 640 1
80309)
4 ETW000 57 0.012
131
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 49 0.012
180
4 ETW000 [dev trc ,00000] 0 UTF8 1
0x1113a4400 0x1113b6b00 0x1113b63b8
4 ETW000 58 0.012
238
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 48 0.012
286
4 ETW000 [dev trc ,00000] Allocating server context handle 42 0.012
328
4 ETW000 [dev trc ,00000] Attaching to DB Server VAP (con_hdl=0,svchp=0x1113b97d8,srvhp=0
x1113b99f8)
4 ETW000 95 0.012
423
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
4 ETW000 4556 0.016
979
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error 12541.
4 ETW000 59 0.017
038
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 12541 39 0.017
077
4 ETW000 [dev trc ,00000] Try to connect with default password 184 0.017
261
4 ETW000 [dev trc ,00000] Connecting as SAPVAP/<pwd>@VAP on connection 0 (nls_hdl 0) ...
(dbsl 640 180309)
4 ETW000 46 0.017
307
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 48 0.017
355
4 ETW000 [dev trc ,00000] 0 UTF8 1
0x1113a4400 0x1113b6b00 0x1113b63b8
4 ETW000 48 0.017
403
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=0,svrhp=0x1113b99f8)
4 ETW000 54 0.017
457
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x1113b97d8,srvhp=0x1
113b99f8)
4 ETW000 54 0.017
511
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x1113b99f8 42 0.017
553
4 ETW000 [dev trc ,00000] Allocating server context handle 33 0.017
586
4 ETW000 [dev trc ,00000] Attaching to DB Server VAP (con_hdl=0,svchp=0x1113b97d8,srvhp=0
x1113b99f8)
4 ETW000 54 0.017
640
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
4 ETW000 2547 0.020
187
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error 12541.
4 ETW000 45 0.020
232
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 12541 28 0.020
260
4 ETW000 [dblink ,00428] ***LOG BY2=>sql error 12541 performing CON [dblink#3 @ 428]
4 ETW000 220 0.020
480
4 ETW000 [dblink ,00428] ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 428]
4 ETW000 42 0.020
522
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'V
AP'"
Checked the listener service. It is already started and status is OK. Please help.
Regards
Shashank ShekharHi
Yes, I am trying it with orasid user also. There in trans.log file it is showing:
'4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 22.06.2009 - 15:54:42
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Mon Jun 22 15:54:42 2009 109 0.000
109
4 ETW000 [dev trc ,00000] db_con_init called 27 0.000
136
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 61 0.000
197
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' ...
4 ETW000 79 0.000
276
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/VAP/SYS/exe/run/dboraslib.o), hdl
0
4 ETW000 8174 0.008
450
4 ETW000 [dev trc ,00000] Library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' loaded
4 ETW000 43 0.008
493
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/VAP/SYS/exe/r
un/dboraslib.o
4 ETW000 61 0.008
554
4 ETW000 [dev trc ,00000] Version of '/usr/sap/VAP/SYS/exe/run/dboraslib.o' is "640.00",
patchlevel (0.276)
4 ETW000 430 0.008
984
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/VAP/SYS/exe/
run/dboraslib.o
4 ETW000 46 0.009
030
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/VAP/SYS/exe
/run/dboraslib.o
4 ETW000 76 0.009
106
4 ETW000 [dev trc ,00000] New connection 0 created 48 0.009
154
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm =
YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 53 0.009
207
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 57 0.009
264
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 54 0.009
318
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm =
YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 49 0.009
367
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/VAP/102_64 from environment
4 ETW000 526 0.009
893
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 84 0.009
977
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 64 0.010
041
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -
1
4 ETW000 1464 0.011
505
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code -1 40 0.011
545
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
4 ETW000 58 0.011
603
4 ETW000 [dblink ,00428] ***LOG BY2=>sql error -1 performing CON [dblink#3 @ 428]
4 ETW000 74 0.011
677
4 ETW000 [dblink ,00428] ***LOG BY0=>Cannot get Oracle error text. [dblink#3 @ 428]
4 ETW000 55 0.011
732
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'V
AP'"
Someone suggested 'The solution is to download the new oracle client dll into the kernel'. Can anyone tell from where i can get the client dll for the kernel.
Regards
Shashank Shekhar -
RT Logging Custom Device error
I am trying to deploy the custom device RT Logging (Downloaded from NI site) to my cRIO 9024. But I am getting error while deployment.
Can someone please help me out???
Attachments:
RT Logging Custom Device Error.JPG 185 KBCustom devices need to be compiled for the target they're deployed to, so unless they are specifically written for VxWorks, they're not going to work. The custom device you're referring to (I assume it's from this page?) is just an example and not a full-featured custom device, and was not compiled or set up for VxWorks.
However, NI VeriStand 2010 ships with a better RT data logger called the "Embedded Data :Logger". Use this custom device instead since it has a lot more features and has both PharLap and VxWorks distributions.
Devin K
Systems Engineering - RTT & HIL -
Cannot log in using the correct password on App Store or iTunes
cannot log into itunes. error code 0x80090318
System details:
Operating system: Windows 7
Ipad mini with IOS 8.
Itune 12.
I have tried C:\Windows\system32>netsh winsock reset.
Didnt help me -
I am attempting to access App store to but Pages, but cannot log in "Unknown error'. However, a friend can gain access using my username and password on his Mac.
This could be a number of things. Lets try in a new User Account first.
OS X Mountain Lion: Create a new user account
http://support.apple.com/kb/PH11468
Mac OS X 10.6: Creating a new user account
http://support.apple.com/kb/PH6651 -
Revision: 977
Author: [email protected]
Date: 2008-03-27 17:04:59 -0700 (Thu, 27 Mar 2008)
Log Message:
Bug: BLZ-93 - When a producer sends a message to a secure destination with no credentials it causes a security exception to get logged with a log level of error.
QA: Yes
Doc: No
Details:
Updates to catch-all exception logging hinge points on the server to use a new method on MessageException that protects against repeat logging of the same exception as we unwind the call stack on the server, as well as allowing exception subclasses to control the log level, intro text and inclusion of a full stack trace in the logged output. This allows things like SecurityExceptions, which represent common errors like incorrect user credentials, to avoid polluting the log with error-level logging and stack traces. It also consolidates our catch-all handling for MessageExceptions and their subclasses in a single point, avoiding problems with needing to make updates or tweaks to our logging output in multiple places.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-93
Modified Paths:
blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/log/Log.java
blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/ExceptionUtil.java
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBroker.java
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageException.java
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/amf/MessageBrokerFi lter.java
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/amf/SuspendableMess ageBrokerFilter.java
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/security/SecurityException.ja va
blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/ServiceException.jav aOne thing I forgot to add, which may be causing you
problems: the "mount volume" command is not part of
the Finder dictionary. It stands alone.
bill
Mac OS X
(10.4.10) 1 GHz Powerbook G4
I tried the mount command. After executing it in Script Editor, I was prompted with login and password, but it was my Keychain!
I don't know if you have your keychain unlocked or what else..
Maybe the original poster (Rick Anderson) has his keychain locked and the prompt is from it.
Just a guess...
Ciao,
Ermanno
Dual 2 GHz PowerPC G5 Mac OS X (10.4.9) 4.5 GBy SDRAM, 5 external FW disks, 2 Internal SATA disks -
Error in struts with collection classes
Hi All,
I have tried to list all the employee through dabase search i have created with strus logic tag in search.jsp page
as following
<bean:size id="size" name="searchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<table border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name="searchForm" property="results">
<tr><td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>
</table>
</logic:greaterThan>
</logic:present>
2. The following class shows ActionServlet as SearchAction.java class
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,HttpServletResponse response)
throws Exception
EmployeeSearchService service = new EmployeeSearchService();
List results=new ArrayList();;
SearchForm searchForm = (SearchForm) form;
// Perform employee search based on what criteria was entered.
String name = searchForm.getName();
if (name != null && name.trim().length() > 0)
results = service.searchByName(name);
/* else {
results = service.searchBySsNum(searchForm.getSsNum().trim());
// Place search results in SearchForm for access by JSP.
searchForm.setResults(results);
// Forward control to this Action's input page.
return mapping.getInputForward();
3. The following class created for search the employee as EmployeeSearchService.java
Note: This file will implement EmployeeDB.java for database connections and also the values are return using Employee.java as for get and set method of name and id..
EmployeeSearchService.java
public List searchByName(String name)
// List returnList=new ArrayList();
List results=new ArrayList();
EmployeeDB em=new EmployeeDB();
results=em.searchName(name);
ListIterator langIt=results.listIterator();
while(langIt.hasNext())
Employee emp=(Employee) langIt.next();
String name2 = emp.getName();
String SSNo=emp.getSsNum();
System.out.println("Emp Name:"+ name2);
results.add(name2);
results.add(SSNo);
4. EmployeeDB.java contain the following code..
public class EmployeeDB extends AbstractDAO
public List searchName(String name1)
{ //External Interface
List resultList = new ArrayList();
ResultSet resultSet = null;
Statement aStmt2 = null;
String url="jdbc:odbc:test";
String uname="root";
String pwd="root";
String name="";
try {
Connection con=getConnection();
aStmt2 = con.createStatement();
String query2 = "SELECT SSNO,NAME FROM EMPLOYEE WHERE NAME ='"+ name1 +"'";
cat.debug(query2);
resultSet = aStmt2.executeQuery(query2);
while(resultSet.next()){
Employee tvo = new Employee();
name = resultSet.getString("NAME");
String SsNum1 = resultSet.getString("SSNO");
tvo.setName(name);
tvo.setSsNum(SsNum1);
resultList.add(tvo);
catch (Exception e) {
System.out.println( e);
e.printStackTrace();
return resultList;
My Problem is all the classes are compiled and excute and validation work fine but while the name of employee entered that if name is available in DB table which reply the following error message as,
javax.servlet.ServletException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
root cause
java.util.ConcurrentModificationException
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
java.util.AbstractList$Itr.next(AbstractList.java:420)
com.dao.vertex.EmployeeSearchService.searchByName(EmployeeSearchService.java:77)
com.dao.vertex.SearchAction.execute(SearchAction.java:36)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs
Plz reply how to solve send correct code to send data to values of iterate bean.... which line of code i need to modify...
Thanks.So here is what you are doing:
ArrayList results = //get employees from database
ListIterator langIt = results.listIterator();
while (langIt.hasNext()) {
Employee emp = langIt.next();
String name2 = emp.getName();
String SSNo = emp.getSSNum();
results.add(name2);
results.add(SSNo);
}So you get a list or Employee objects, then you get an iterator over the list. For each Employee in the list you add the name and SSNo as Strings back to the same list. From the API for ConcurrentModificationException the exception can be thrown when you modify a collection while iterating over the collection - which is precisely what you are doing.
The ListIterator interface allows you to modify the list through its own methods. Try using:
langIt.add(name2);
langIt.add(SSNo);instead.
Why are you taking the name and SSNo out of the Employee object and placing them back in the same List anyway? That makes no sense to me. -
Parsing Error is struts xml files org.xml.s
Hello ,
I am getting a peculiar error while starting the Tomcat , the struts xml files are not being parsed correctly (they used to be before) .I get a parse error when I shut/start the tomcat (at each deployment) and hence due to the error the application fails (I guess ...)
The errors I get on the log file while starting the tomcat are ...(only part of the error stack)
parsing error processing resource path /WEB-INF/struts-action.xml
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
Servlet /ProteinBank threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-action.xmlHave you changed your struts-config or web.xml files?
Back it up, and try starting with a 'minimal' version of struts-config to see if it succeeds. -
How to log a specific error in OIM
Greetings!
I am trying to implement a logging mechanism in OIM, using log4J.
So far, I can log without problem in an oracle database.
What I need, this moment, is the capability of logging adapters errors. For example, I am logging a pre-update event, producing something like this in my database log: "Login: xpto; ". So far, so good.
However, sometimes I got an error while trying to import a user to OIM. For example:
+[XELLERATE.SERVER],Class/Method: tcUSR/validateUserManager Error :The specified manager causes cycles.+
+[XELLERATE.SERVER],Class/Method: tcUSR/eventPreUpdate Error :User Manager is not valid.+
+[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Data Update Failed+
I would like to be able to log these informations, in my log:
- login
- status of operation
- error (if exists one)
Where I would have to put my logger to get this kind of information?
In advance, it is not enough just to redirect the log output to the database, because we want to be able to group all information about a user in one register only, for example: login: xpto; company: cia1; name: Xpto Smith; job: manager; status: ok or xpto; company: cia1; name: Xpto Smith; job: manager; status: Class/Method: tcUSR/validateUserManager Error :The specified manager causes cycles.
Could anyone help me? If there is a paper, article or similar showing advanced topics in how to log in OIM, I would appreciate too.
in case I could not express my problem very well, I will be pleased to add information; as you can perceive, I do not master English enough to write well. ;-)
thanks in advance,
TrimagisterOIM comes with OOTB logging capabilities.
public static Logger logger = Logger.getLogger("OIMCUSTOM.LOGGER");
logger.debug("PRINT THIS LINE");
You can use these lines in your custom code.
You'll have to configure these loggers in OIM.
download.oracle.com/docs/cd/B31337_01/doc.901/b31119.pdf
Search for "Enabling Logging"
Maybe you are looking for
-
How to hide a table row in pdf using javascript?
How to hide a table row in pdf using javascript?
-
As a stockholder, I would like see the development of iTV with Retina display and integrating Siri control, internet access, and iTunes apps. This new product would be a large screen, thin wall mounted television, much like a oversided iPad. Do you t
-
PC doesn't connect to internet.
I have a wireless network set up at home from my Apple Extreme Base station with no problem to both wireless Macs and a Dell Inspiron 5160. I just purchased a Dell XPS M170 and it see's network and says it's connected but hangs and does not connect t
-
Trigger Adjustment postings when Expense type is changed.
All, I have a situation where I would like to trigger and adjustment when the expense type is changed. The issue is that the GL account for the two expense types are the same and no adjustment is triggered. while the Expense type, wage type, and desc
-
How Do I Force empty trash?
How do I force empty trash, OS 10.6.8?