Nohup file
Hi,
The nohup.out is getting big after starting server.
Is there any way to rotate it ???
thanks,
In my project also we are facing same issue. For nohup.out file we can write a shell script to archive it. Depends upon the file size we can write condition to archive it.
Plz refer http://bash.cyberciti.biz/
Regards,
Ramprakash Arun
Similar Messages
-
Emdb.nohup file daily growing how can stop growing(increamnet)
hi
i am use oracle 10g database control , in 10g database control enterprise manager log and trace file daily increment 2GB, how can this file increament stop b'caz this is lot of space use.Are you talking about this one particular file or ALL log/trace files being generated?
As is said there must be something wrong, when emdb.nohup grows so fast every day. As far as I know there's no parameter , which limits filesizes. What we do is we delete the files from time to time, they will be recreated automatically.
Werner -
Enterprise manager log file sizes
Hi,
I was wondering if there is a way of managing the size of the emdb.nohup file in Enterprise Manager. Looking at the documentation, it looks as though you can control the emoms trace and log file sizes, but I can't find anything about the nohup log.
Ideally I would like to be able to purge the log file.
Thanks very much!Hi again,
I found the emdb.nohup file in my log directory at the location you noted. It is apparently created when I stopped and restarted my dbconsole (emctl start dbconsole) and is updated each time I make a connection to that database (for which you are connecting), and for every time the page refreshes.
I think the name of the file using a suffix of nohup is probably intentional on Oracle's part to indicate that this is a log file that is 'active', but in reality, it is not a true nohup file as in the sense of using the unix nohup command. (at least that is what I'm thinking)
Sorry I'm not knowledgeable enough on this to be sure of my theory, but that is what I basically theorize.
According to man pages on nohup, it states nohup is "a utility immune to hangups".
"nohup - run a command immune to hangups, with output to a non-tty"
To answer your question, there is no problem purging or pruning this file.
I just cleared it out by sending a date to the file which effectively clears it out except for a new entry in the file with the current date/timestamp.
e.g., $ date > emdb.nohup
Then, I reconnected to my OEM console for this database and it updated the file with new entries for the new connection. No problem....
Wed Aug 6 09:46:53 EDT 2008
08/08/06 09:47:07 ## oracle.sysman.db.adm.inst.SitemapController: event="doLoad"
08/08/06 09:47:07 ## 1. newPage = /database/instance/sitemap/sitemap
08/08/06 09:47:07 ## 2. newPage = /database/instance/sitemap/sitemap
Ji Li -
I have the following script name:
exp_t.sh
To run the script I fired:
$nohup exp_t.sh > exp_t_nohup.out &
The file 'exp_t_nohup.out ' was generated but with 0 bytes i.e. it was empty.
and the command was sucessful as the logfile was generated that I had given in the export command.
Can anyone please correct my statement so that the file 'exp_t_nohup.out ' is also generated?
Also can I use:
$sh exp_t.sh (To run this file)
Thanks.....Thanks for your reply....
Actually this database is supported by two companies and we have very limited access to this database......
I do export of different schemas...
As this is not a DBA user so I have to do export of all the users one by one in a different export statements....
If I give this command:
$nohup exp_t.sh &
The next time for different schema again, will the old nohup file be over written???
If yes then:
Can I have command that writes the output of a nohup command in a user desired file???????
So that everytime I don't have to take a backup of old nohup file.....
Thanks....... -
Weblogic nohup problem when its rotated
Hi All!
Hi All
I hope anyone can help me, i have an j2ee app under weblogic 8.1 server, i redirect the log to an external file (nohup.out), this file grows fast and i use a cron calling a script to rotate it everyday at 00:05 hrs. and the server stills running, everything is ok, but when the rotate file is calling uses the next command 'cat /dev/null > nohup.out' to resize the nohup file to 0 kbs, then when someting is write on the nohup the file grows as its first size, writting binaries to replace the info erased before, how can i rotate my nohup without that problem ocurs and without shutting down my server everyday!! Thanks!!!
Oscar BadilloThis is nohup.out
8196
starting
Jumpy is = ::::::::::::::
/dmm
12121212
8264
starting
Jumpy is = ::::::::::::::
/dmm
12121212
8264
starting
Jumpy is = ::::::::::::::
/dmm
12121212
8264
starting
Jumpy is = ::::::::::::::
/dmm
12121212
8264
starting
Jumpy is = ::::::::::::::
/dmm
12121212
8264 -
Cannot start Management Server
Hello,
I have just installed a database and run EMCA, and everything seemed to go fine. However, the ManagementServer service won't start. I hate to make this such a long message, but below are the contents of the oms.nohup file after the error.
I would most appreciate any light that can be shed on the subject!
Thank you,
Owen Gibbins
OEMCTL for Windows NT: Version 9.2.0.1.0 Production
Copyright (c) 1998, 2002, Oracle Corporation. All rights reserved.
Starting the Oracle Management Server...VXA-3008 : Starting OMS Services, Wait.
VXA: Doing a shutdown and restart
Restarting the Oracle management Server....
OEMCTL for Windows NT: Version 9.2.0.1.0 Production
Copyright (c) 1998, 2002, Oracle Corporation. All rights reserved.
Starting the Oracle Management Server...VXA-3008 : Starting OMS Services, Wait.
java.lang.NullPointerException:
at oracle.sysman.vxx.vxxo.VxxoEMORB.getName(VxxoEMORB.java:735)
at oracle.sysman.vxx.vxxo.VxxoEMORB.deregister(VxxoEMORB.java:467)
at oracle.sysman.vdg.VdgAgentGatewayImpl.killService(VdgAgentGatewayImpl.java:599)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1482)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
oracle.sysman.vxx.vxxo.VxxoNameNotFoundException: VXX-2009 : Could not find service context
at oracle.sysman.vxx.vxxo.VxxoEMORB.getNextBindName(VxxoEMORB.java:813)
at oracle.sysman.vxx.vxxo.VxxoEMORB.bind(VxxoEMORB.java:333)
at oracle.sysman.vxa.VxaAppServer.cacheServiceIOR(VxaAppServer.java:1904)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3150)
exception VxaInvalidStateException{wstring reason="VXA-3032 : Error in attempting to bind OMS Services over ORB. Shutting down oms";}
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3152)
Error starting Oracle Management Server. java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.stopServices(VxaAppServer.java:1406)
at oracle.sysman.vxa.VxaAppServer.exit(VxaAppServer.java:2533)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3166)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
java.lang.NullPointerException:
at java.util.Hashtable.get(Hashtable.java:259)
at oracle.sysman.vxa.VxaAppServer.connectionLost(VxaAppServer.java:1474)
at oracle.sysman.vdg.VdgAgentGatewayImpl.initiateExitAndRestart(VdgAgentGatewayImpl.java:689)
at oracle.sysman.vdg.vdgConn.VdgConnection.pollForConnectionEvents(VdgConnection.java:2087)
at oracle.sysman.vdg.vdgConn.VdgListenThread.inConnPollLoop_(VdgListenThread.java:427)
at oracle.sysman.vdg.vdgConn.VdgListenThread.run(VdgListenThread.java:362)
at oracle.sysman.vtaGallery.threadPoolManager.WorkerThread.run(Worker.java:271)
"Could not start management server. Initialization failure"Here goes,
When the Database Configuration Assistant allows you to change the passwords for the database on its last dialog, take the default passwords instead of changing them.
Note:
Do not change the password for SYS. The Enterprise Manager Configuration Assistant assumes that the password is "change_on_install", and if you change this password now, when the Enterprise Manager attempts to login using those credentials, it will fail. You can change the password as soon as the Enterprise Manager Configuration Assistant has completed its operations, because it no longer needs the SYS credentials.
You can reference the Oracle Enterprise Manager Configuration guide on pg 3-11
http://download-west.oracle.com/docs/cd/A91202_01/901_doc/em.901/a88769.pdf -
Oracle Management Server Not starting
Hi all,
I created the OMS server, but it is not getting started. I am on Linux Fedora2 with Oracle 9iR2. When I give
oemctl start oms
it says that OMS startup timed out.
Please do help
The following are the output from the oms.nohup file
Starting the management server at Wed Feb 9 15:52:16 IST 2005
OEMCTL for Linux: Version 9.2.0.1.0 Production
Copyright (c) 1998, 2002, Oracle Corporation. All rights reserved.
Starting the Oracle Management Server...
Error starting Oracle Management Server. ORBSingleton: access deniedjava.lang.SecurityException: ORBSingleton: access denied
at com.sun.corba.se.internal.corba.ORBSingleton.connect(ORBSingleton.java:309)
at oracle.sysman.vxn.VxnNamingContext.<init>(VxnNamingContext.java:285)
at oracle.sysman.vxn.VxnNamingContext.getNewContext(VxnNamingContext.java:222)
at oracle.sysman.vxn.VxnNamingService.getInitialContext(VxnNamingService.java:1072)
at oracle.sysman.vxn.VxnNamingService.enableBootstrap(VxnNamingService.java:1080)
at oracle.sysman.vxn.VxnNamingService.init(VxnNamingService.java:238)
at oracle.sysman.vxn.VxnNamingService.getNamingService(VxnNamingService.java:103)
at oracle.sysman.vxn.VxnNamingService.getNamingService(VxnNamingService.java:112)
at oracle.sysman.vxa.VxaAppServer.initServer(VxaAppServer.java:3417)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3048)
OMS exited on Wed Feb 9 15:52:18 IST 2005 with return value 56
Could not start management server. Initialization failure
\nManagement server startup failed. Check the file /oracle/ora9/product/9.2.0.1.0/sysman/log/oms.nohup for detailsI assumethe node manager is not running on Exadata though you have posted in the Exadata forum !
how are you starting it. Are you using the gcstartup script within init.d ?
Thanks -
Weblogic Solaris SMF start/stop script
Does anyone have a Solaris SMF script to start/stop Weblogic they'd care to share? Thanks.
I don't think it matters but I'm running Solaris 10, Weblogic 10.3 and X86.In /etc/rc3.d (all the files in this script are executed at the time of server boot) you can keep a script called S99weblogic and add below line that file,
#!/bin/ksh
su - wladmin -c "/etc/init.d/start_weblogic.sh start"
and in /etc/init.d you can write script start_weblogic.sh, as below
#!/bin/ksh
case "$1" in
'start')
# for admin server
if [ -f <init log path>/startadmin.log ]
then
print -n "\t\n\n deleting <init log path>/startadmin.log\n\n"
/usr/xpg4/bin/rm -rf <init log path>/startadmin.log
fi
### like above do for manged servers logs also ( if you have different script formats for admin and managed servers) and startadmin.log contains paths to all the admin server scripts)
# boot logs when the instances are started which will contains error while the instances are started
if [ -f init log path/boot.err.log ]
then
print -n "\t\n\n deleting init log path/boot.err.log\n\n"
/usr/xpg4/bin/rm -rf init log path/boot.err.log
#contians the list of domains in your physical or virtual server
if [ -f init log path/domain_list.log ]
then
print -n "\t\n\n deleting init log path/domain_list.log\n\n"
/usr/xpg4/bin/rm -rf init log path/domain_list.log
#list all domain names in domain_list.log
#use below command to find all the domians scripts home, for weblogic 8 in ur physical server
# for weblogic 8
ls -d <path to user projects untill scripts home>/* > inint log path/domain_list.log
#if ur domain are scattered then append other domains also -for weblogic 9.x, 10.x.........
ls -d <path to user projects untill scripts home>/*/bin >> initn log path/domain_list.log
# get start up sctiprs
for file in `/usr/bin/cat init log path/domain_list.log`
do
ls $file/startadm*.sh >> init log path/startadmin.log
ls $file/startwl*.sh >> init log path/startmgd.log
fi
done
#start startup scritps
for file in `/usr/bin/cat init log path/startadmin.log`
do
cd `/usr/bin/dirname $file`
nohup $file >> init log path/boot.err.log 2>&1 &
#do the same for manged server sctips
done -
Indexfile creation fails with imp_pipe - any help!
mknod /oracle/temp/imp_pipe p
uncompress< /oracle/temp/file.dmp.Z > /oracle/temp/imp_pipe &
nohup imp system/np11n fromuser=cfs touser=cfs file=/oracle/temp/imp_pipe indexfile=/oracle/temp/file.sql &
Also log file is not created for the import
mknod /oracle/temp/imp_pipe p
uncompress< /oracle/temp/file.dmp.Z > /oracle/temp/imp_pipe &
nohup imp system/np11n fromuser=cfs touser=cfs file=/oracle/temp/imp_pipe log=/oracle/temp/file.log &
Any idea why either sql or log file is not created.
PS: import data is successfull and I see the log in nohup file.This is an operating system related issue not an issue having anything to do with the Oracle database.
Thus this forum is not the right place to ask t he question.
My recommendation would be, especially since we have no information about either your O/S or shell, that you take this up with your *NIX system admin. -
I've re-installed 10g on W2K, and can ping my DB successfully using SQL*Plus; however, nothing I try gets the dbconsole running. Here's the log output:
-------------- [OracleDBConsoleD107I0] ------------
EMDROOT=D:\oracle\product\10.1.0\Db_1
ORACLE_HOME=D:\oracle\product\10.1.0\Db_1
EMDSTATE=D:\oracle\product\10.1.0\Db_1\ezekiel.virtuant.local_D107I0
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
03/11/05 08:40:27 Start pending...
03/11/05 08:40:27 Verifying dbconsole is not started already. Command line "D:\oracle\product\10.1.0\Db_1\bin\emctl.bat" istatus dbconsole
03/11/05 08:40:27 dbconsole launch commandline is "D:\oracle\product\10.1.0\Db_1\bin\emctl.bat" istart dbconsole
03/11/05 08:40:27 Tracking process launch...
03/11/05 08:40:57 dbconsole exited with retCode 1.
03/11/05 08:40:57 Check D:\oracle\product\10.1.0\Db_1\sysman\log\OracleDBConsoleD107I0.nohup for details
... and, of course, there is no .nohup file there.
The W2K event log entry reports: The OracleDBConsoleD107I0 service terminated with service-specific error 2.
... and, of course, there is no more information.
I've also tried the cmd window start routine:
C:\Documents and ... >emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://ezekiel.virtuant.local:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleD1
07I0 service is starting.............
The OracleDBConsoleD107I0 service could not be started.
A service specific error occurred: 2.
More help is available by typing NET HELPMSG 3547.
... and, of course, there is no further information.
Any help would be greatly appreciated.Did you resolve this problem? I started experiencing the same difficulty today. --Brian Bush
-
OEM - java.lang.Exception: Exception in sending Request :: null
Hi
I have installed Oracle 10.2.0 on Windows Vista Home edition,
On opening OEM page gettingthe below error -
Error
java.lang.Exception: Exception in sending Request :: null
Database Instance: orcl2
After google and some search in net , found an solution that a emd.properties files has to edited -agent TZ values has to be changed.
Post making changes too I am still receiving same error.
Could any one help me in fixing this error of OEM.
Rgds
Jr. DBABob..
I have copied and pasted message from emdb.nohup file
and found that values i have changed in emd.properties file its showing an error.
The process cannot access the file because it is being used by another process.
process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
launchprocess::Launched process successfuly. Process Id is : 4544
----- Wed Apr 29 00:31:08 2009::Console Launched with PID 4544 at time Wed Apr 29 00:31:08 2009 -----
----- Wed Apr 29 00:32:40 2009::Property 'agentTZRegion' is missing from F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties. This is normal when the agent is started for the very first time.Updating it... -----
----- Wed Apr 29 00:32:40 2009::F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties copied to F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties.2009-04-29-00-32-40 while updating the property 'agentTZRegion' -----
----- Wed Apr 29 00:32:42 2009::An agentTZregion of 'GMT' is installed in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties. -----
----- Wed Apr 29 00:32:44 2009::The agentTZRegion value in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
The process cannot access the file because it is being used by another process.
process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
launchprocess::Launched process successfuly. Process Id is : 4404
----- Wed Apr 29 10:08:59 2009::Console Launched with PID 4404 at time Wed Apr 29 10:08:59 2009 -----
----- Wed Apr 29 10:11:35 2009::The agentTZRegion value in F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
The process cannot access the file because it is being used by another process.
process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
launchprocess::Launched process successfuly. Process Id is : 3764
----- Wed Apr 29 13:00:37 2009::Console Launched with PID 3764 at time Wed Apr 29 13:00:37 2009 -----
----- Wed Apr 29 13:02:57 2009::property 'agentTZregion' in 'F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties' contains an invalid value of 'ALBANY/NEWYORK'.Agent start up can not proceed.This value might have been manually modified to be an incorrect value.This value needs to be set to one of the values listed in 'F:\oracle\product\10.2.0\db_3/sysman/admin/supportedtzs.lst'. Execute 'emctl config agent getTZ' and see if this is an appropriate value. -----
The process cannot access the file because it is being used by another process.
process::Launching process : F:\oracle\product\10.2.0\db_3\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=F:\oracle\product\10.2.0\db_3 -Doracle.home=F:\oracle\product\10.2.0\db_3/oc4j -Doracle.oc4j.localhome=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman -DEMSTATE=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/jazn.xml -Djava.security.policy=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/java2.policy -Djava.security.properties=F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2 -Dsysman.md5password=true -Drepapi.oracle.home=F:\oracle\product\10.2.0\db_3 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar F:\oracle\product\10.2.0\db_3/oc4j/j2ee/home/oc4j.jar -config F:\oracle\product\10.2.0\db_3/oc4j/j2ee/OC4J_DBConsole_Bangaram-PC_orcl2/config/server.xml
launchprocess::Launched process successfuly. Process Id is : 3768
----- Wed Apr 29 23:28:23 2009::Console Launched with PID 3768 at time Wed Apr 29 23:28:23 2009 -----
----- Wed Apr 29 23:30:00 2009::property 'agentTZregion' in 'F:\oracle\product\10.2.0\db_3\Bangaram-PC_orcl2/sysman/config/emd.properties' contains an invalid value of 'ALBANY/NEWYORK'.Agent start up can not proceed.This value might have been manually modified to be an incorrect value.This value needs to be set to one of the values listed in 'F:\oracle\product\10.2.0\db_3/sysman/admin/supportedtzs.lst'. Execute 'emctl config agent getTZ' and see if this is an appropriate value. -----
Rgds
Jr. DBA -
External JDBC Connexion to Mysql in BAM Server 11g
Hi,
I try to create an external datasource to a Mysql Server.
When I test it, it runs well.
I create a data object using this external datasource, I can "Browse" all tables of the MySQL schema.
But when I try to see the CONTENT of my Data Object, I have this message :
BAM-01262: Active Data Cache server exception in openViewset().
Source: "ActiveDataCache" ID: "ADCServerException"
Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
Source: "com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1"
In the nohup file of the server, I can see this message :
SEVERE: ActiveDataCache: Exception occurred in method openViewset(_TestFSListProjet,0)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.openViewset(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.openViewset(Unknown Source)
at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Does any body have an idea to solve this problem ?
In advance,
Thanks,
JeromeAnswer of the Second question.
2. Can you please check the data types of the columns of the MySQL table and test again one by one for which data type and for what data, this error is getting thrown?
Here is the description of the table "flyspray_projects" :
Field Type Null Key Default Extra
project_id int(3) PRI auto_increment
project_title varchar(100)
theme_style varchar(20) 0
default_cat_owner int(3) 0
intro_message longtext
project_is_active int(1) 0
visible_columns varchar(255)
others_view int(1) 0
anon_open int(1) 0
notify_email longtext
notify_jabber longtext
notify_reply text YES
notify_types varchar(100) 0
feed_img_url text YES
feed_description text YES
notify_subject varchar(100)
lang_code varchar(10) en
comment_closed int(1) 0
auto_assign int(1) 0
last_updated int(11) 0
default_task text YES
default_entry varchar(8) index
In my DataObject, I try with only ONE field.
1) With "project_id", which is a number
2) With "project_title" which is a varchar
The result was the same Error Message :
Logging Writeline(single parameter) Exception: java.lang.IllegalArgumentException: can't parse argument number - Exception occurred in method count(oracle.bam.adc.common.Modifier@33888bf4 DatasetID="_MysqlTestStringSeulement" Distinct=false AllFields=false Fields={} RecordFieldInfo=[] LookupInfo={} Ordering=[] Groupings={oracle.bam.adc.common.Groupings@366f70e Groups=[oracle.bam.adc.common.Group@366f71a FieldID="null" GroupRefID=null GroupRecordFieldInfo=[] GroupFields=[]]} Expression={null} GroupFilter={null} MaxRows=-1 TopN=-1 WithTies=false CollapseAggregates=false,true)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.datasets.Dataset.count(Dataset.java:4019)
at oracle.bam.adc.kernel.server.DataStoreServer.count(DataStoreServer.java:886)
at oracle.bam.adc.ejb.BamAdcServerBean.count(BamAdcServerBean.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.count(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.count(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:1205)
at oracle.bam.adc.api.client.BamAdcClient.count(BamAdcClient.java:641)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.count(Unknown Source)
at oracle.bam.adc.api.datasets.Dataset.count(Dataset.java:1421)
at oracle.bam.web.architect.DataObjectsView.general(DataObjectsView.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Jan 8, 2010 10:44:45 AM oracle.bam.common.logging.Log writeLine
SEVERE: ActiveDataCache: Exception occurred in method openViewset(_MysqlTestStringSeulement,0)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.openViewset(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.openViewset(Unknown Source)
at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -
Agent is Unreachable (REASON = Connection refused) but the host is UP
Folks,
Can I pick your brains, I keep recieving the smtp alert from Grid control which says;
Agent is Unreachable (REASON = Connection refused) but the host is UP
upto 5 minutes later the smtp mail is received
Agent is Unreachable clear : <SERVER> - Agent Unreachable is cleared
I have tried the usual
$> cd $ORACLE_HOME/bin
$> emctl start agent
$> emctl status agent
$> emctl upload agent
This is successful however shortly the messages re-appear. This is on a pre-production grid control which manages 35+ databases on 25+ Hosts and the smtp errors are filling the mailbox with these messages. FYI - The Hosts causing my headache are from a 2 node RAC hosting several instances including ASM running agent version 10.2.0.4.0
The network team says they are not seeing any connection drops in their logs.
Any assistance would be appreciatedThanks DBA05 for pointing me to look at the trc and nohup files in there I found a number of errors which I could enter into metalink and subsequently identified the Patch 7031906 which seems to have fix a number of the issues and errors identified.
Primarily
Using a 10.2.0.4 Grid Agent to monitor a 10.2.0.4 Database.
The 10.2.0.4 Agent version is certified to monitor a 10.2.0.4 Database.
The <AGENT_HOME>/sysman/log/emagent.trc shows that the health_check metric is repeatedly failing for this database :
2008-06-09 15:21:11,173 Thread-3658 ERROR fetchlets.healthCheck: GIM-00105: file not found
2008-06-09 15:21:11,174 Thread-3658 ERROR engine: [oracle_database,dbname,health_check] : nmeegd_GetMetricData failed : Instance Health Check initialization failed due to one of the following causes: the owner of the EM agent process is not same as the owner of the Oracle instance processes; the owner of the EM agent process is not part of the dba group; or the database version is not 10g (10.1.0.2) and above.
Repeated failure while executing this metric can cause the Agent to re-start, as it runs out of file handlers at the OS level.
- The database is a 64 bit installation but emagent executable is of 32 bit installation though the
64 bit agent software is installed.
I also found these worth a check
- Re-starting the database to create this hc_<SID>.dat file does not help in resolving the Healthcheck Metrics error.
- The <DATABASE_OH>/dbs/hc_<SID>.dat file has sufficient permissions to be read by the agent
Mark -
Intelligent agent start and stop
hello,
OracleOraHome92Agent service is stopped and i tried it first but failed to start.I went to command line and tried to start the agentctl start it gives me error as follows
""-------------- [OracleOraHome92Agent] ------------
Sending initial service status..
Commandline is "D:\oracle\ora92\bin\dbsnmpwd.bat" -agent_name OracleOraHome92Agent
2. WAIT_OBJECT_0: Agent exited with retCode 0.
Agent failed to startup.
Check D:\oracle\ora92\network\log\OracleOraHome92Agent.nohup for details
I would really appreciate if anybody can really help me in this issue.
Thanks in advance....what does the nohup file says?
-
Hello together,
I have got an misterious error and I have no idea whats the problem.
When starting the OMS (via windows service or via cmd "oemctl start oms") I got the following error in the oms.nohup file:
OEMCTL für Windows NT: Version 9.2.0.1.0 Production
Copyright (c) 1998, 2002, Oracle Corporation. Alle Rechte vorbehalten.
Oracle Management Server wird hochgefahren...oracle.sysman.vxn.VxnBootstrapException:
VXA-2028 :
Anmeldung bei OMS-Repository nicht möglich.
at oracle.sysman.vxa.VxaAppServer.startServices(VxaAppServer.java:1596)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3144)
I activated the tracing in the omsconfig.properties, but in the oms.log.o I don't have additional information:
[main][2007-10-24:13:55:54:177] OEMCTL für Windows NT: Version 9.2.0.1.0 Production
[main][2007-10-24:13:55:54:177] Copyright (c) 1998, 2002, Oracle Corporation. Alle Rechte vorbehalten.
[main][2007-10-24:13:55:54:177] Oracle Management Server wird hochgefahren...
[main][2007-10-24:13:55:54:177] wait time 10000,ntries 12, starting: true
[main][2007-10-24:13:55:54:224] Exception! null
oracle.sysman.vxn.VxnBootstrapException:
VXA-2028 :
Anmeldung bei OMS-Repository nicht möglich.
at oracle.sysman.vxa.VxaAppServer.startServices(VxaAppServer.java:1596)
at oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:3144)
[main][2007-10-24:13:55:54:240] In stopServices(), numservices = 0
[main][2007-10-24:13:55:54:240] Exiting Naming Service.
[VxxAux-Finalizer][2007-10-24:13:55:54:240] ******* doFinalization :oracle.sysman.vdb.VdbSessionFactory
Connecting to the OMS repository OEMREP via sqlplus is successful !
the OS ist win2003 SE
the Oracle VErsion is 9.2.0.7
Has anyone an idea what could cause the problem?
Thanks and Kind Regards
StefanOEMCTL für Windows NT: Version 9.2.0.1.0 Production
the OS ist win2003 SE
the Oracle VErsion is 9.2.0.7Check your ORACLE_HOME. You may be in the wrong one.
Maybe you are looking for
-
A beginner in desperate need of help :D!
Hi all! First time posting on these forums, but I have been a lurker for a long time. I'm making a website for someone who specifically requested using Flash, and I know how to do everything...well almost everything. I've attached the entire site wit
-
Lots of 0kB text files in home directory
I am using a MacBook Pro with Mac OS X 10.7.2. Last week, I had a hard drive corruption and restored my MB Pro from a Time machine backup and the Lion Startup partition. While I was fortunate that only a days worth of data was lost, all has not bee
-
Unable to Install Applications - E71
my phone e71 is unable to install any of the applications Moderator's Note: The subject was amended as the post was moved to the more appropriate board.
-
Reverse engineering of coldfusion scripts
I have a number of programs written in CF 4.0 that I need to reverse engineer. I would like to document them like a JAVADoc. What can I do??
-
Using native Logic OSC support with 3rd party plug-ins & new touchOSC maps
Hi All. Now that logic from 9.1.2 has native OSC support, I wandered if anyone has used it succesfully with their own customised touchOSC maps? I'm not so interested in using touchsc as a transport/mixer for logic - which is what the default logic ma