Need suggestion on audit some actions in Unix level
Hi,
In a team of 20 people sharing the same oracle password.Is there a possibility to track some unix level access to certain folder like binary folder and mail the team.
If a person uses 'oracle' unix user and accesses the binaries folder,a mail has to be sent to alert that the folder was accessed at that time.
Is there is a possbility in shell script.
Thanks
Sakthi
Hello
Have a look at this
http://aplawrence.com/Unixart/watchdir.html
Salman
Similar Messages
-
Need Suggestion to Deploy Some GPO Settings
Hi,
Can anyone help me to check and check following settings:
Account will be auto lockout after 15 minutes for windows systems.
Inactive sessions should be terminated after a defined period of inactivity .
Passwords are not store in clear text. It shall be in encrypted or masked.
Thanks in advance.
Dider> Account will be auto lockout after 15 minutes for windows systems.
Simply enable a Screen Saver. That's what this thing means... Timeout
900 Seconds :)
> Inactive sessions should be terminated after a defined period of
> inactivity .
That is for terminal server sessions only.
> Passwords are not store in clear text. It shall be in encrypted or masked.
Security settings: Disable "store passwords with reversible encryption".
Or do nothing at all - this is the default value anyway.
Just being curious: Is this something from PCI-DSS guides or where from
does it come?
Martin
Mal ein
GUTES Buch über GPOs lesen?
NO THEY ARE NOT EVIL, if you know what you are doing:
Good or bad GPOs?
And if IT bothers me - coke bottle design refreshment :)) -
I need to check three comparative conditions and for each status I need to perform some action. can anybody please suggest
Requirment:
Need to check if a numeric value is within a number range by using comparative function. Depending on status i need to ggive a constant input to numeric function.Easiest is suing an array of range boundaries, e.g. as follows:
(Found here)
Now it is fully scalable and independent of the number of ranges. The solution in the earlier post would get complicated quickly whenever the number of ranges or boundary locations changes.
LabVIEW Champion . Do more with less code and in less time . -
I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Thanks
What is the problem specifiaclly?
If the images are intended for web use I would recommend converting them to sRGB which could be done with Edit > Convert to Profile or with File > Save for Web, but as including a Save step in Actions and applying them as Batch can sometimes cause problems I would go with regular converting.
You could also try Image Processor Pro.
Scripts Page -
Low level Hex disk edit & search util needed- suggestions please?
low level Hex disk edit & search util needed- suggestions please?
Maybe It's just late & I've had a bad day.... but I haven't needed a low level Hex disk edit & search utility suitable for an Intel 10.4.x Mac until now and can't seem to locate one.
There should be plenty of free/shareware options (because they're handy and not particularly hard to write ... and every tech head needs one some time)...
Any suggestions please?
[I haven't bothered with the commercial stuff - like tech tool/Norton/*insert name here* Recover/repair, Something Genius etc. etc. because they are all without exception either unnecessary (just pretty shells for the underlying UNIX/X utils) useless AND greedy $-gougers, just useless, or just money gougers so I couldn't even say whether any still have a 'feature' like the old Norton Disk editor app had - but a quick look about suggest not...]
grumble
Any specific suggestions/links, please?
TIAthey are all without exception either unnecessary (just pretty shells for the underlying UNIX/X utils) useless AND greedy $-gougers, just
useless, or just money gougers
Such a high-esteem for fellow human beings - and
programmers...
You know, there are some good decent nice people
behind those names?
You'd be amazed at how much testing goes into a product.
[SNIP]
g'day Hatter...
Yes, I know there are some good decent nice people behind those names..fellow human beings - and fellow programmers (so yes, I do know...) In previous incarnations I have 'thunk up' and developed, Marketed & supported considerably more complex Apps & systems myself - I even know some of the people you mention personally - and they are usually decent Blokes/women but normally, it isn't the programmers who make the decisions on pricing/features/support/performance/upgrade costs & cycles etc...
My only error was, I agree, the phrase 'without exception' - but (mainly) only because I haven't bought/tested & used all of them very very recently. So I offer my apologies to those to whom my remarks should not apply (long, late night/early morning frustration...)
However, I also offer a few simple pertinent examples:
One 'top name' Utility company had a 'save your Mac HD' product on the market for some time that was almost guaranteed to TRASH it irretrievably but did NOT say so - nor did they help or compensate those they harmed.
Several are selling what amount to simple, pretty, GUI shells for 'free' or OS-included command line tools - no more, no less but do NOT say so and are asking good money for the 'software'.
Many are asking ridiculous prices for "regular upgrades" so you can keep their tool current with your Mac OS - one wants US$100/year for it, another, $15 per u/g, others, US$25 or $40 per u/g; one asks 'only' $10 - and these 'upgrades' are happening 3,4,5,6 times per year and are necessary for the Marketing company to keep their product Saleable to new purchasers and new Macs (as well as for important Bug Fixes - and only co-incidentally to keep it performing with your current Mac and OS - which is what you paid them for in the first place).
I won't pay for a product 3, 6 or 9 times and I won't advise my clients to: It's not unreasonable for a person to expect a 'sensible lifetime/currency' of Product X for Computer Y - say 3 years (e.g. AppleCare). I wouldn't object to paying for an "upgrade" at that point - IF it's worth the money.
Software is Waaay too expensive in many cases and is simply inviting 'piracy' - from people who have already PAID for the product: sadly, they are killing their own Gooses.
Seriously, one product costs ca. US$100 to Buy in the first place
To keep it actually working for you costs about the same again Per Year - a 3 year 'sensible lifetime' or 'currency' cost of US$300 or $400! [That'll buy a lot of 'bare drives' to put in a handy Firewire case for automatic backups in Background, differential backups etc. and other simple practices which render this product type largely unnecessary ].
For what? A relatively simple set of utilities which would actually cost the company involved less than $5 total each - over 3 years - to make available to existing ( or 'current') owners. [Applecare 'complete' Hardware and Software warranty & support on a US$2000 iMac - which includes Tech Tools Pro Deluxe or somesuch costs about US$165 for 3 years. Total.]
Having designed, developed, Marketed, supported & maintained more complex Applications to/for a sizeable user-base (in US terms) over multiple complete Series of Product 'life-cycles' - regular Updates and all, I think I know where the pirates are.
These practices have been rampant in the MSWindows™ market for a longtime. It's a real shame to see it in the Mac world.
I have all the esteem in the world for those fellow human beings who deserve such - and programmers who are 'good decent nice people'.
I have none to spare for monopolists, 'exploitationists' or any of those who take unfair/unreasonable advantage of their fellow human beings - AND of programmers who are 'good decent nice people' (like, say, ME... .
In any event, as I said: they are "killing their Gooses": I know of at least 6 software companies which went this route a while back. All are dead or dying.
Thank you for your help - and the opportunity to apologise for 'mis-speaking'.
all the best,
orig g4 733, many others thru (the luvly) Macintels New & old Macs, Wintels, MacIntels, other systems... -
Infinite loop - "Some actions taken while...offline could not be completed"
I have 4 IMAP accounts (.Mac, Gmail and 2 at SpamArrest). Occasionally, I get in this infuriating state where I keep getting the following error:
"Some actions taken while the account "ClickMarkets-SA" was offline could not be complete online.
Mail has undone actions on some messages so that you can redo the actions while online. Mail has saved other message in mailbox "INBOX.Sent Messages" in "On My Mac" so that you can complete the
actions while online.
Additional information: The connection to the server "mail.spamarrest.com" on port 993 timed out."
The only way I've found to resolve this infinite loop of messages (which subsequently backs up all other mail processing) is to quit mail, then cd to ~/Library/Mail/[email protected]/.OfflineCache and delete everything in there then relaunch mail.
In each cases, I end up with a mailbox folder (Sent or Drafts) in the folder "On My Mac" which has one copy for each attempt at handling the message "online."
I opened up the Connection Doctor and looked at the log details and saw that Mail is opening a socket to spamarrest and starting an APPEND operation on my INBOX.Drafts folder -- I have "store drafts on server" checked. It appears the APPEND operation is hanging and causing a timeout (see transcript below). This happens every 60 seconds. The error that I see after the timeout is:
* BYE [ALERT] Fatal error: INTERNAL ERROR: Keyword hashtable memory corruption.: Input/output error
Who's Fatal error is that?
SpamArrest is trying to tell me the problem is with both of my computers and not their server. (Yes, this is hitting both my MacBook Pro and my iMac). Can anyone shed some more light on this? IMAP should be able to handle multiple computers so I don't see that as a problem. Is my Mail app not following protocol? Is it a filesystem issue (e.g. SpamArrest doesn't like the name of the folder)?
Thanks.
Chip
Here is the log file segment:
CONNECTED May 19 17:13:11.939 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1db74280
READ May 19 17:13:12.266 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1db74280
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 AUTH=PLAIN ACL ACL2=UNION] IMAP ready.
WROTE May 19 17:13:12.301 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
1.785 LOGIN clickmarkets *******
READ May 19 17:13:12.365 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
1.785 OK connected to proxy server.
WROTE May 19 17:13:12.405 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
2.785 CAPABILITY
READ May 19 17:13:12.463 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
* CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 ACL ACL2=UNION
2.785 OK CAPABILITY completed
WROTE May 19 17:13:12.501 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
3.785 LIST "" ""
READ May 19 17:13:12.561 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
* LIST (\Noselect) "." ""
3.785 OK LIST completed
WROTE May 19 17:13:12.616 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
4.785 APPEND "INBOX.Drafts (ClickMarkets-SA)" (\Seen \Draft $NotJunk NotJunk) "19-May-2009 17:07:30 -0700" {4525}
READ May 19 17:13:13.627 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
+ OK
WROTE May 19 17:13:13.663 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
X-Uniform-Type-Identifier: com.apple.mail-draft
From: Chip Roberson <[email protected]>
To: "Charles S. Roberson" <[email protected]>
X-Universally-Unique-Identifier: 155cc0fa-b377-4dd6-a5e6-d6563a23c711
Subject: PM Test 1
X-Apple-Auto-Saved: 1
X-Apple-Mail-Remote-Attachments: YES
X-Apple-Windows-Friendly: 1
Message-Id: <[email protected]>
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
X-Apple-Base-Url: x-msg://85/
Date: Tue, 19 May 2009 17:07:30 -0700
X-Apple-Mail-Signature: 34D68E00-8E23-44FB-B72C-FFA86BB66FB3
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">I'm starting to wonder if this =
will ever fail when I need it to fail!<div><br><div =
id=3D"AppleMailSignature"> <span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-tex
WROTE May 19 17:13:13.697 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
t-stroke-width: 0px; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; ">--
Chip =
Roberson
[email protected]
http://www.linkedi=
n.com/in/chiproberson
=
<br =
class=3D"Apple-interchange-newline">
</body></html>=
READ May 19 17:14:13.626 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x189d0050 -- thread:0x1d314d10
* BYE Disconnected for inactivity.
* BYE [ALERT] Fatal error: INTERNAL ERROR: Keyword hashtable memory corruption.: Input/output error
CONNECTED May 19 17:14:19.092 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x1db74280
READ May 19 17:14:19.414 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x1db74280
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 AUTH=PLAIN ACL ACL2=UNION] IMAP ready.
WROTE May 19 17:14:19.449 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
1.786 LOGIN clickmarkets *******
READ May 19 17:14:19.517 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
1.786 OK connected to proxy server.
WROTE May 19 17:14:19.555 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
2.786 CAPABILITY
READ May 19 17:14:19.622 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
* CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=CRAM-MD5 ACL ACL2=UNION
2.786 OK CAPABILITY completed
WROTE May 19 17:14:19.659 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
3.786 LIST "" ""
READ May 19 17:14:19.718 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
* LIST (\Noselect) "." ""
3.786 OK LIST completed
WROTE May 19 17:14:19.755 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
4.786 APPEND "INBOX.Drafts (ClickMarkets-SA)" (\Seen \Draft $NotJunk NotJunk) "19-May-2009 17:07:30 -0700" {4525}
READ May 19 17:14:19.818 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040
+ OK
WROTE May 19 17:14:19.855 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.spamarrest.com -- port:993 -- socket:0x182eff40 -- thread:0x19fed040Okay I did a little more digging and found another thread that answers this issue.
http://discussions.apple.com/thread.jspa?threadID=1276506 -
Dear gurus,
I need suggestion before learning new module. I did ABAP and having good experience. Now I want to update my skill please suggest me wat I should learn. I want to upgrade my skill only in technical side. Few of them suggested me BI but dont know how good it will be in US market.
Any help will be appreciated.
Regards
DaveHi Aasim,
Even the carrer growth in ABAP is very Good.
IN BW project, there is requirement of ABAPer. So if you are BW+ABAP, you will be getting paid more. Your value would be more.
Now, making a shift, even you want to change from ABAP to BW, you need to take some training. Because BW abap is a bit different thatn general ABAP.
The DW experience is not needed very much.but yes, its better to have knowledge in DW.
I'll suggest you to work for 6 months in ABAP and then take a training in BW. Because its more BW than ABAP in BW.
Hope you would have got some idea.
Please revert for any other questions.
Thanks..
Shambhu -
hi....i need suggestion on my problem.i've been given a complete atand-alone java application.my assignment is to make the system,a web-based system so that when we want to make a demo we did not need to bring an installer.just show to from the browser.i thought of using java web start.it's just my opinion.so,i want to hear others opinion......
TqJava Web Start is the solution I would choose. You must bear in mind that a browser is not enough to run Java Web Start - the client PC must have the correct version of the run-time environment (JRE) installed as a minimum - which, I think, is somewhere about a 10-15 megabyte installation.
The run-time environment for end-users is best/readily installed from the http://www.java.com site. Click the "get it now" button and away you go!
Alternatively, I think some PCs actually recognise when you've clicked on a JNLP link and automatically check your to see if you have a version of the JRE and download it if necessary - but I'm not 100% sure if this can be relied upon across all platforms/browsers...
I think you can also program your JNLP file as to where to look for the JRE installer (ie: maybe on your LAN instead of www.java.com), but I haven't researched that one yet. -
Need suggestion on Multi currency and Unicode character set use in ABAP
Hi All,
Need suggestion. In one of the requirement I saw 'multi-currency and Unicode character set experience in FICO'.
Can you please elaborate me how ABAPers are invlolved in multi currency as I think this is FICO fuctional area.
And also what is Unicode character set exp.? Please give me some document of you have any.
Thanks
Sreedevi
Moderator message - This isn't the place to prepare for interviews - thread locked
Edited by: Rob Burbank on Sep 17, 2009 4:45 PMUse the default parser.
By default, WebLogic Server is configured to use the default parser and transformer to parse and transform XML documents. The default parser and transformer are those included in the JDK 5.0.
The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
The DocumentBuilderFactory.newInstance method returns the built-in parser.
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); -
Need suggestion for choosing Java development enviroment
Hi Evereyone,
I am new to Java Desktop Application.I need help on choosing proper Java technologies and development tool.
We have an existing CLIENT/SERVER based distributed control system, which was developed in C++(Server side) and VB(Client GUI).Now we are think of migrating the system to Java platform.
Here is the outline:
We want to create web based application that will run on windows and linux (linux on embedded PC).
The application should be able to support 10 � 100 users at once accessing/editing database.
We will also need to create a communication server that will run on web server P.C. that will communicate tcpip to field panels/log to db, as well as allow web screens to send/receive commands with field panels etc.
Could any one give me some suggestion about it?
I am thinking of Using J2SE 5.0, including RMI, JDBC and Swing for GUI. As for field panels, may choose J2ME.
Thank you very much in advance.Thanks, zadok .
Actually, I don't have the system requirements neither. All I know is the following outline:
"We want to create web based application that will run on windows and linux (linux on embedded PC).
The application should be able to support 10 � 100 users at once accessing/editing database.
We will also need to create a communication server that will run on web server P.C. that will communicate tcpip to field panels/log to db, as well as allow web screens to send/receive commands with field panels etc."
It is a interview question, which need me to do research and give some suggestions. What I want to know is to figure out what kind of Java technology is necessary for developing this system because I want to make sure I head to right direction.
I know somehow it is hard to give suggestion based on this limited information.
One more thing I was confusing is the server-side architecture.
I need suggestion about sever side architecture:
a. write a dedicated server-side program, which act
as communication server to monitor and control field
panel, also act as server-side applicaiton by using
RMI to communicate with Client-side communication.
b. choose a general web server architecture. Put
everything in server side in Web Server, for example
Tomcat AS container, implementing the Communication
server as Web Service and the request from
Client-side go to Web Server first, then dispatch to
a proper web service.Why did you not include this information in the original question!
Why don't you just use Tomcat?
For your answer, "Why don't you just use Tomcat?", does it mean Tomcat without Web Service will be enough for this system development? Could you give me some detail about it?
Thank you very much, zadok. -
Need suggestion on Develop the Hierarchical Structure OAF page--priority
Hi experts,
i need to develop the hierarchical structure of OAF page, for this devlopment i need suggestions from you side.
please find below diagram how to develop the OAF page.
CEO
|
vice president vice president
| |
managers managers managers managers
| | | |
developer develoer developer developer developer
Like that i need to develop the OAF page please give me some inputs. Is it feasible in OAF.CEO
|
vicepresident vicepresident
|
manager manager manager manager manager
| | | | |
develper developer developer developer -
Need suggestion on the entire hardware specs for running Oracle VM 2.2.2
Hi,
I need some suggestion on the preffered hardware specs which can be given to a customer, he wants to run Oracle VM 2.2.2 or Oracle VM 2.2.1.
He has already used Cisco UCS with NetApp storage for OVM 2.2.2/2.2.1 and has being unsucessful with lots of issues creeping up. Thus now need suggestion on the hardware spec which is well tested and works fine with Oracle VM 2.2.2/2.2.1 and he wants to run Oracle Fusion Middleware on top of it.
Any poniters to it will be highly appreciated.
Regards,
Sk887469 wrote:
Hi Avi,
thank you for that information !
Yes. But only for the UCS gear that uses the converged FCoE adapters. If you have standard Ethernet/FC adapters, then it should be OK.We do use the "M71KR-Q QLogic Converged Network Adapter" with UCS. According to you this is an unsupported combination together with OVM 2.2.1, right ?
Now the "Oracle VM 2.2 Validated Configuration Details" shows UCS B200 M1 with M71KR-Q as a valid configuration. Does 2.2 mean OVM 2.2.0 and this is supported, but 2.2.1 / 2.2.2 is not ?
Please clarify since this confuses me.
Best Regards and TIAAny news for me, please ?
THX -
Problem with some actions of a page in the ie
the page is built on Studio Creator 2.1 in Fedora 4, when i run in ff work's fine. But, in the ie, some actions doesn't work well: what happens is that all the actions are redirected to another page's application!
i think that it could be javascript incopatibility, for example i have a table component in the page, and when i click on the button(header table) for order rowgroup, i'm redirected to another page.
ie version - 6.0
windows 2000 server
i don't know what to do.JSP Code
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{tarefa.page1}" id="page1">
<ui:html binding="#{tarefa.html1}" id="html1">
<ui:head binding="#{tarefa.head1}" id="head1">
<ui:link binding="#{tarefa.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{tarefa.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{tarefa.form1}" id="form1" target="_self">
<div style="height: 126px; left: 72px; top: 24px; position: absolute; width: 702px">
<jsp:directive.include file="cabecalho.jspf"/>
</div>
<div style="left: 72px; top: 558px; position: absolute">
<jsp:directive.include file="rodape.jspf"/>
</div>
<div style="height: 306px; left: 72px; top: 144px; position: absolute; width: 144px">
<jsp:directive.include file="menu1.jspf"/>
</div>
<ui:label binding="#{tarefa.label1}" id="label1" style="left: 220px; top: 150px; position: absolute" text="Cadastro/Manutencao de Tarefas"/>
<ui:staticText binding="#{tarefa.staticText1}" id="staticText1" style="left: 240px; top: 170px; position: absolute" text="Data:"/>
<ui:staticText binding="#{tarefa.staticText2}" id="staticText2" style="left: 240px; top: 210px; position: absolute" text="S�rie:"/>
<ui:staticText binding="#{tarefa.staticText3}" id="staticText3" style="left: 240px; top: 230px; position: absolute" text="Disciplina:"/>
<ui:staticText binding="#{tarefa.staticText4}" id="staticText4" style="left: 240px; top: 250px; position: absolute" text="Descricao:"/>
<ui:calendar binding="#{tarefa.dtTarefa}" dateFormatPattern="yyyy-MM-dd" id="dtTarefa" style="height: 18px; left: 300px; top: 170px; position: absolute; width: 108px"/>
<ui:dropDown binding="#{tarefa.cmbSerie}" converter="#{tarefa.integerConverter1}" id="cmbSerie"
items="#{tarefa.serieDataProvider.options['serie.id,serie.serie']}" style="height: 18px; left: 300px; top: 210px; position: absolute; width: 198px"/>
<ui:dropDown binding="#{tarefa.cmbDisciplina}" converter="#{tarefa.integerConverter2}" id="cmbDisciplina"
items="#{tarefa.disciplinaDataProvider.options['disciplina.id,disciplina.disciplina']}" style="height: 18px; left: 300px; top: 230px; position: absolute; width: 198px"/>
<ui:textArea binding="#{tarefa.txtDesc}" id="txtDesc" style="height: 36px; left: 300px; top: 250px; position: absolute; width: 200px"/>
<ui:button action="#{tarefa.btnNovo_action}" binding="#{tarefa.btnNovo}" id="btnNovo"
style="left: 239px; top: 290px; position: absolute" text="Novo"/>
<ui:button action="#{tarefa.btnEditar_action}" binding="#{tarefa.btnEditar}" id="btnEditar"
style="left: 299px; top: 290px; position: absolute" text="Editar"/>
<ui:button action="#{tarefa.btnAtualizar_action}" binding="#{tarefa.btnAtualizar}" id="btnAtualizar"
style="left: 359px; top: 290px; position: absolute" text="Atualizar"/>
<ui:button action="#{tarefa.btnCancelar_action}" binding="#{tarefa.btnCancelar}" id="btnCancelar"
style="left: 439px; top: 290px; position: absolute" text="Cancelar"/>
<ui:messageGroup binding="#{tarefa.messageGroup1}" id="messageGroup1" style="height: 88px; left: 522px; top: 180px; position: absolute; width: 250px"/>
<ui:hiddenField binding="#{tarefa.op}" id="op"/>
<ui:hiddenField binding="#{tarefa.id}" id="id"/>
<ui:table augmentTitle="false" binding="#{tarefa.table1}" id="table1" lite="true" paginationControls="true"
style="height: 126px; left: 234px; top: 324px; position: absolute" width="540">
<script language="javascript1.2" type="text/javascript"><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
* Toggle the table preferences panel open or closed
function togglePreferencesPanel() {
var table = document.getElementById("form1:table1");
table.toggleTblePreferencesPanel();
/* ----- Functions for Filter Panel ----- */
* Return true if the filter menu has actually changed,
* so the corresponding event should be allowed to continue.
function filterMenuChanged() {
var table = document.getElementById("form1:table1");
return table.filterMenuChanged();
* Toggle the custom filter panel (if any) open or closed.
function toggleFilterPanel() {
var table = document.getElementById("form1:table1");
return table.toggleTableFilterPanel();
/* ----- Functions for Table Actions ----- */
* Initialize all rows of the table when the state
* of selected rows changes.
function initAllRows() {
var table = document.getElementById("form1:table1");
table.initAllRows();
* Set the selected state for the given row groups
* displayed in the table. This functionality requires
* the 'selectId' of the tableColumn to be set.
* @param rowGroupId HTML element id of the tableRowGroup component
* @param selected Flag indicating whether components should be selected
function selectGroupRows(rowGroupId, selected) {
var table = document.getElementById("form1:table1");
table.selectGroupRows(rowGroupId, selected);
* Disable all table actions if no rows have been selected.
function disableActions() {
// Determine whether any rows are currently selected
var table = document.getElementById("form1:table1");
var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
// Set disabled state for top actions
document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
// Set disabled state for bottom actions
document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
<ui:tableRowGroup binding="#{tarefa.tableRowGroup1}" id="tableRowGroup1" rows="3" sourceData="#{tarefa.tarefaDataProvider1}" sourceVar="currentRow">
<ui:tableColumn binding="#{tarefa.tableColumn1}" id="tableColumn1" width="53">
<ui:button action="#{tarefa.button1_action}" binding="#{tarefa.button1}" id="button1" text="#{currentRow.value['tarefa.id']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{tarefa.tableColumn2}" headerText="Data" id="tableColumn2" sort="tarefa.data" width="177">
<ui:staticText binding="#{tarefa.staticText6}" id="staticText6" text="#{currentRow.value['tarefa.data']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{tarefa.tableColumn5}" headerText="Descricao" id="tableColumn5" sort="tarefa.descricao" width="189">
<ui:staticText binding="#{tarefa.staticText9}" id="staticText9" text="#{currentRow.value['tarefa.descricao']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{tarefa.tableColumn6}" headerText="Serie" id="tableColumn6" sort="serie.serie">
<ui:staticText binding="#{tarefa.staticText10}" id="staticText10" text="#{currentRow.value['serie.serie']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{tarefa.tableColumn7}" headerText="Disciplina" id="tableColumn7" sort="disciplina.disciplina">
<ui:staticText binding="#{tarefa.staticText11}" id="staticText11" text="#{currentRow.value['disciplina.disciplina']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{tarefa.tableColumn8}" id="tableColumn8">
<ui:button action="#{tarefa.button2_action}" binding="#{tarefa.button2}" id="button2" text="Delete"/>
</ui:tableColumn>
</ui:tableRowGroup>
</ui:table>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>java code
package cmsgeracao;
import com.sun.data.provider.RowKey;
import com.sun.rave.web.ui.appbase.AbstractPageBean;
import com.sun.rave.web.ui.component.Body;
import com.sun.rave.web.ui.component.Form;
import com.sun.rave.web.ui.component.Head;
import com.sun.rave.web.ui.component.Html;
import com.sun.rave.web.ui.component.Link;
import com.sun.rave.web.ui.component.Page;
import javax.faces.FacesException;
import com.sun.rave.web.ui.component.Label;
import com.sun.rave.web.ui.component.StaticText;
import com.sun.rave.web.ui.component.Calendar;
import com.sun.rave.web.ui.component.DropDown;
import com.sun.rave.web.ui.component.TextArea;
import com.sun.rave.web.ui.component.Button;
import com.sun.rave.web.ui.component.Table;
import com.sun.rave.web.ui.component.TableRowGroup;
import com.sun.rave.web.ui.component.TableColumn;
import com.sun.data.provider.impl.CachedRowSetDataProvider;
import javax.faces.convert.IntegerConverter;
import com.sun.rave.web.ui.component.MessageGroup;
import com.sun.rave.web.ui.component.HiddenField;
import java.util.Date;
import java.util.GregorianCalendar;
import com.sun.rave.web.ui.model.DefaultTableDataProvider;
* <p>Page bean that corresponds to a similarly named JSP page. This
* class contains component definitions (and initialization code) for
* all components that you have defined on this page, as well as
* lifecycle methods and event handlers where you may add behavior
* to respond to incoming events.</p>
public class tarefa extends AbstractPageBean {
// <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
private int __placeholder;
* <p>Automatically managed component initialization. <strong>WARNING:</strong>
* This method is automatically generated, so any user-specified code inserted
* here is subject to being replaced.</p>
private void _init() throws Exception {
disciplinaDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.disciplinaRowSet}"));
serieDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.serieRowSet}"));
tarefaDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.tarefaRowSet}"));
tarefaDataProvider1.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.tarefaRowSet}"));
private Page page1 = new Page();
public Page getPage1() {
return page1;
public void setPage1(Page p) {
this.page1 = p;
private Html html1 = new Html();
public Html getHtml1() {
return html1;
public void setHtml1(Html h) {
this.html1 = h;
private Head head1 = new Head();
public Head getHead1() {
return head1;
public void setHead1(Head h) {
this.head1 = h;
private Link link1 = new Link();
public Link getLink1() {
return link1;
public void setLink1(Link l) {
this.link1 = l;
private Body body1 = new Body();
public Body getBody1() {
return body1;
public void setBody1(Body b) {
this.body1 = b;
private Form form1 = new Form();
public Form getForm1() {
return form1;
public void setForm1(Form f) {
this.form1 = f;
private Label label1 = new Label();
public Label getLabel1() {
return label1;
public void setLabel1(Label l) {
this.label1 = l;
private StaticText staticText1 = new StaticText();
public StaticText getStaticText1() {
return staticText1;
public void setStaticText1(StaticText st) {
this.staticText1 = st;
private StaticText staticText2 = new StaticText();
public StaticText getStaticText2() {
return staticText2;
public void setStaticText2(StaticText st) {
this.staticText2 = st;
private StaticText staticText3 = new StaticText();
public StaticText getStaticText3() {
return staticText3;
public void setStaticText3(StaticText st) {
this.staticText3 = st;
private StaticText staticText4 = new StaticText();
public StaticText getStaticText4() {
return staticText4;
public void setStaticText4(StaticText st) {
this.staticText4 = st;
private Calendar dtTarefa = new Calendar();
public Calendar getDtTarefa() {
return dtTarefa;
public void setDtTarefa(Calendar c) {
this.dtTarefa = c;
private DropDown cmbSerie = new DropDown();
public DropDown getCmbSerie() {
return cmbSerie;
public void setCmbSerie(DropDown dd) {
this.cmbSerie = dd;
private DropDown cmbDisciplina = new DropDown();
public DropDown getCmbDisciplina() {
return cmbDisciplina;
public void setCmbDisciplina(DropDown dd) {
this.cmbDisciplina = dd;
private TextArea txtDesc = new TextArea();
public TextArea getTxtDesc() {
return txtDesc;
public void setTxtDesc(TextArea ta) {
this.txtDesc = ta;
private Button btnNovo = new Button();
public Button getBtnNovo() {
return btnNovo;
public void setBtnNovo(Button b) {
this.btnNovo = b;
private Button btnEditar = new Button();
public Button getBtnEditar() {
return btnEditar;
public void setBtnEditar(Button b) {
this.btnEditar = b;
private Button btnAtualizar = new Button();
public Button getBtnAtualizar() {
return btnAtualizar;
public void setBtnAtualizar(Button b) {
this.btnAtualizar = b;
private Button btnCancelar = new Button();
public Button getBtnCancelar() {
return btnCancelar;
public void setBtnCancelar(Button b) {
this.btnCancelar = b;
private CachedRowSetDataProvider disciplinaDataProvider = new CachedRowSetDataProvider();
public CachedRowSetDataProvider getDisciplinaDataProvider() {
return disciplinaDataProvider;
public void setDisciplinaDataProvider(CachedRowSetDataProvider crsdp) {
this.disciplinaDataProvider = crsdp;
private IntegerConverter cmbDisciplinaConverter = new IntegerConverter();
public IntegerConverter getCmbDisciplinaConverter() {
return cmbDisciplinaConverter;
public void setCmbDisciplinaConverter(IntegerConverter ic) {
this.cmbDisciplinaConverter = ic;
private CachedRowSetDataProvider serieDataProvider = new CachedRowSetDataProvider();
public CachedRowSetDataProvider getSerieDataProvider() {
return serieDataProvider;
public void setSerieDataProvider(CachedRowSetDataProvider crsdp) {
this.serieDataProvider = crsdp;
private IntegerConverter cmbSerieConverter = new IntegerConverter();
public IntegerConverter getCmbSerieConverter() {
return cmbSerieConverter;
public void setCmbSerieConverter(IntegerConverter ic) {
this.cmbSerieConverter = ic;
private IntegerConverter integerConverter2 = new IntegerConverter();
public IntegerConverter getIntegerConverter2() {
return integerConverter2;
public void setIntegerConverter2(IntegerConverter ic) {
this.integerConverter2 = ic;
private CachedRowSetDataProvider tarefaDataProvider = new CachedRowSetDataProvider();
public CachedRowSetDataProvider getTarefaDataProvider() {
return tarefaDataProvider;
public void setTarefaDataProvider(CachedRowSetDataProvider crsdp) {
this.tarefaDataProvider = crsdp;
private MessageGroup messageGroup1 = new MessageGroup();
public MessageGroup getMessageGroup1() {
return messageGroup1;
public void setMessageGroup1(MessageGroup mg) {
this.messageGroup1 = mg;
private IntegerConverter integerConverter1 = new IntegerConverter();
public IntegerConverter getIntegerConverter1() {
return integerConverter1;
public void setIntegerConverter1(IntegerConverter ic) {
this.integerConverter1 = ic;
private HiddenField op = new HiddenField();
public HiddenField getOp() {
return op;
public void setOp(HiddenField hf) {
this.op = hf;
private HiddenField id = new HiddenField();
public HiddenField getId() {
return id;
public void setId(HiddenField hf) {
this.id = hf;
private Table table1 = new Table();
public Table getTable1() {
return table1;
public void setTable1(Table t) {
this.table1 = t;
private TableRowGroup tableRowGroup1 = new TableRowGroup();
public TableRowGroup getTableRowGroup1() {
return tableRowGroup1;
public void setTableRowGroup1(TableRowGroup trg) {
this.tableRowGroup1 = trg;
private CachedRowSetDataProvider tarefaDataProvider1 = new CachedRowSetDataProvider();
public CachedRowSetDataProvider getTarefaDataProvider1() {
return tarefaDataProvider1;
public void setTarefaDataProvider1(CachedRowSetDataProvider crsdp) {
this.tarefaDataProvider1 = crsdp;
private TableColumn tableColumn1 = new TableColumn();
public TableColumn getTableColumn1() {
return tableColumn1;
public void setTableColumn1(TableColumn tc) {
this.tableColumn1 = tc;
private TableColumn tableColumn2 = new TableColumn();
public TableColumn getTableColumn2() {
return tableColumn2;
public void setTableColumn2(TableColumn tc) {
this.tableColumn2 = tc;
private StaticText staticText6 = new StaticText();
public StaticText getStaticText6() {
return staticText6;
public void setStaticText6(StaticText st) {
this.staticText6 = st;
private TableColumn tableColumn5 = new TableColumn();
public TableColumn getTableColumn5() {
return tableColumn5;
public void setTableColumn5(TableColumn tc) {
this.tableColumn5 = tc;
private StaticText staticText9 = new StaticText();
public StaticText getStaticText9() {
return staticText9;
public void setStaticText9(StaticText st) {
this.staticText9 = st;
private TableColumn tableColumn6 = new TableColumn();
public TableColumn getTableColumn6() {
return tableColumn6;
public void setTableColumn6(TableColumn tc) {
this.tableColumn6 = tc;
private StaticText staticText10 = new StaticText();
public StaticText getStaticText10() {
return staticText10;
public void setStaticText10(StaticText st) {
this.staticText10 = st;
private TableColumn tableColumn7 = new TableColumn();
public TableColumn getTableColumn7() {
return tableColumn7;
public void setTableColumn7(TableColumn tc) {
this.tableColumn7 = tc;
private StaticText staticText11 = new StaticText();
public StaticText getStaticText11() {
return staticText11;
public void setStaticText11(StaticText st) {
this.staticText11 = st;
private Button button1 = new Button();
public Button getButton1() {
return button1;
public void setButton1(Button b) {
this.button1 = b;
private TableColumn tableColumn8 = new TableColumn();
public TableColumn getTableColumn8() {
return tableColumn8;
public void setTableColumn8(TableColumn tc) {
this.tableColumn8 = tc;
private Button button2 = new Button();
public Button getButton2() {
return button2;
public void setButton2(Button b) {
this.button2 = b;
// </editor-fold>
* <p>Construct a new Page bean instance.</p>
public tarefa() {
* <p>Return a reference to the scoped data bean.</p>
protected SessionBean1 getSessionBean1() {
return (SessionBean1)getBean("SessionBean1");
* <p>Return a reference to the scoped data bean.</p>
protected ApplicationBean1 getApplicationBean1() {
return (ApplicationBean1)getBean("ApplicationBean1");
* <p>Return a reference to the scoped data bean.</p>
protected RequestBean1 getRequestBean1() {
return (RequestBean1)getBean("RequestBean1");
* <p>Callback method that is called whenever a page is navigated to,
* either directly via a URL, or indirectly via page navigation.
* Customize this method to acquire resources that will be needed
* for event handlers and lifecycle methods, whether or not this
* page is performing post back processing.</p>
* <p>Note that, if the current request is a postback, the property
* values of the components do <strong>not</strong> represent any
* values submitted with this request. Instead, they represent the
* property values that were saved for this view when it was rendered.</p>
public void init() {
// Perform initializations inherited from our superclass
super.init();
// Perform application initialization that must complete
// *before* managed components are initialized
// TODO - add your own initialiation code here
// <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
// Initialize automatically managed components
// *Note* - this logic should NOT be modified
try {
_init();
} catch (Exception e) {
log("tarefa Initialization Failure", e);
throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
// </editor-fold>
// Perform application initialization that must complete
// *after* managed components are initialized
// TODO - add your own initialization code here
initialForm();
* <p>Callback method that is called after the component tree has been
* restored, but before any event processing takes place. This method
* will <strong>only</strong> be called on a postback request that
* is processing a form submit. Customize this method to allocate
* resources that will be required in your event handlers.</p>
public void preprocess() {
* <p>Callback method that is called just before rendering takes place.
* This method will <strong>only</strong> be called for the page that
* will actually be rendered (and not, for example, on a page that
* handled a postback and then navigated to a different page). Customize
* this method to allocate resources that will be required for rendering
* this page.</p>
public void prerender() {
* <p>Callback method that is called after rendering is completed for
* this request, if <code>init()</code> was called (regardless of whether
* or not this was the page that was actually rendered). Customize this
* method to release resources acquired in the <code>init()</code>,
* <code>preprocess()</code>, or <code>prerender()</code> methods (or
* acquired during execution of an event handler).</p>
public void destroy() {
tarefaDataProvider1.close();
tarefaDataProvider.close();
serieDataProvider.close();
disciplinaDataProvider.close();
public void lockForm(){
dtTarefa.setDisabled(true);
cmbSerie.setDisabled(true);
cmbDisciplina.setDisabled(true);
txtDesc.setDisabled(true);
public void unlockForm(){
dtTarefa.setDisabled(false);
cmbSerie.setDisabled(false);
cmbDisciplina.setDisabled(false);
txtDesc.setDisabled(false);
public void initialForm(){
lockForm();
java.util.Calendar cal = new GregorianCalendar(2006,1,1);
Date dt = new Date();
dt.setTime(cal.getTimeInMillis());
dtTarefa.setMinDate(dt);
btnNovo.setDisabled(false);
btnEditar.setDisabled(true);
btnAtualizar.setDisabled(true);
btnCancelar.setDisabled(true);
public void novoTarefa(){
unlockForm();
btnAtualizar.setDisabled(false);
btnNovo.setDisabled(true);
btnEditar.setDisabled(true);
btnCancelar.setDisabled(false);
public String button1_action() {
try{
RowKey rk = tableRowGroup1.getRowKey();
if(rk!=null){
tarefaDataProvider.removeRow(rk);
tarefaDataProvider.commitChanges();
tarefaDataProvider.refresh();
}catch(Exception e){
log("Erro ao deletar", e);
error(e.getMessage());
try{
this.getExternalContext().redirect("tarefa.jsp");
}catch(Exception e){
log("Erro ao deletar");
return null;
public String btnNovo_action() {
op.setText("1");
novaTarefa();
try{
this.getExternalContext().redirect("tarefa.jsp");
}catch(Exception e){
log("Erro ao clicar em NOVO");
return null;
public void novaTarefa(){
unlockForm();
btnAtualizar.setDisabled(false);
btnNovo.setDisabled(true);
btnEditar.setDisabled(true);
btnCancelar.setDisabled(false);
public String btnEditar_action() {
unlockForm();
op.setText("2");
btnEditar.setDisabled(true);
btnAtualizar.setDisabled(false);
try{
this.getExternalContext().redirect("tarefa.jsp");
}catch(Exception e){
log("Erro ao clicar em NOVO");
return null;
public String button2_action() {
try{
RowKey rk = tableRowGroup1.getRowKey();
if(rk!=null){
tarefaDataProvider.setCursorRow(rk);
id.setText(tarefaDataProvider.getValue("tarefa.id"));
dtTarefa.setValue(tarefaDataProvider.getValue("tarefa.data"));
cmbSerie.setSelected(tarefaDataProvider.getValue("tarefa.idserie"));
cmbDisciplina.setSelected(tarefaDataProvider.getValue("tarefa.iddisciplina"));
txtDesc.setText(tarefaDataProvider.getValue("tarefa.descricao"));
lockForm();
btnEditar.setDisabled(false);
btnNovo.setDisabled(true);
btnAtualizar.setDisabled(true);
}catch(Exception e){
log("Erro ao deletar", e);
error(e.getMessage());
try{
this.getExternalContext().redirect("tarefa.jsp");
}catch(Exception e){
log("Erro ao setar FORM");
return null;
public void novoRegistro(){
Integer id=new Integer(0);
try {
RowKey rk = tarefaDataProvider.appendRow();
tarefaDataProvider.setCursorRow(rk);
tarefaDataProvider.setValue("tarefa.data",dtTarefa.getSelectedDate());
tarefaDataProvider.setValue("tarefa.idserie",cmbSerie.getSelected());
tarefaDataProvider.setValue("tarefa.iddisciplina",cmbDisciplina.getSelected());
tarefaDataProvider.setValue("tarefa.descricao",txtDesc.getText());
tarefaDataProvider.commitChanges();
tarefaDataProvider.refresh();
} catch (Exception ex) {
log("Error Description", ex);
error(ex.getMessage());
public void atualizaRegistro(){
try{
RowKey rk = tarefaDataProvider.findFirst("tarefa.id",id.getText());
tarefaDataProvider.setCursorRow(rk);
tarefaDataProvider.setValue("tarefa.data",dtTarefa.getSelectedDate());
tarefaDataProvider.setValue("tarefa.idserie",cmbSerie.getSelected());
tarefaDataProvider.setValue("tarefa.iddisciplina",cmbDisciplina.getSelected());
tarefaDataProvider.setValue("tarefa.descricao",txtDesc.getText());
tarefaDataProvider.commitChanges();
tarefaDataProvider.refresh();
}catch(Exception ex){
log("Error ao atualizar Noticia",ex);
error(ex.getMessage());
public String btnAtualizar_action() {
if(op.get -
Some actions taken while the account was offline Part 2
Some of us were getting this message with IMAP accounts: "Some actions taken while the account was offline could not be completed." with Leopard. Along with this, an email, usually too large to send, would keep saving itself in the drafts folder. The fix for this was to delete the OfflineCache folder in the IMAP folder. Well, we upgraded to Snow Leopard and now I am having the same thing happen. Except now, I dont get the message and the messages save to Recovered Messages. So I tried the old trick and that folder doesn't exist anymore. What do you guys suggest we do?
Did you solve this? Do you still see it in 10.6.2? I have
had this issue as well and am looking for an answer.
s -
Auto Launch Application and perform some action
Hello Friends,
I am working on Autoback, want to launch application and perform some action to take backup.
Can any one please update me what all the J2ME phone supports this kind of feature and basic needs to implement Autobackup, any sample code available please let me know
Thanks,
Kumar.M.RSomething sketchy.
I had the same message appear. It resized my window to the smallest possible size (not minimize!) and when I resized it larger, it had opened a new tab with that message. It was on "c510a1.minersaver1.com" which sounds like a related site. It tried to download "avmast_2004-4_mst5.exe"and I was going to try and refind this site on my Linux box, but forgot to save the exact URL (oops!).
Running Firefox 4.0b11 on 64-bit Windows 7 Home Premium.
EDIT: Found a LIVE link
http://c510a1.minersaver1.com/defender/?44a=pccfjf&8d1ad=glslkkqpgl&eb45=gpqmpkkcmc&03f67=3
Maybe you are looking for
-
Airport Express is no longer able to extend my Airport network.
After the 7.6.1 upgrade, my Airport Express is no longer able to extend my Airport network. I didn't change any configuration, but as I was confirming the configuration options in Airport Utility, I noticed that the option for the Airport Extreme to
-
Best way to insert a table into image with high resolution for web?
I've tried inserting a table from Excel into Photoshop and making a jpeg and gif out of it, but when I upload it to the web the resolution is terrible. Any ideas on how I can make get a table into an image? It's a bit too complex to create with HTML.
-
HT5318 My PC cannot read the latest version of ITunes?
How do I fix the latest ITunes download for my PC to be able to read it?
-
How do I eject a CD in Solaris 10?
The only way I have discovered so far is to start the CD Player application and use it's eject button!
-
Fastest conversion in compressor
what settings in compressor will give the fastest conversion from a final cut reference movie into a compressed format that can be played on a windows computer? i am not concerned about video quality. i just need to share a rough edit with my clients