Help me! My Message Server isn't work!

My server works well before the suddenly power down.
Solaris 8, Message Server 5.1 patch 1
I can telnet my smtp server by telnet localhost 25
but when I type HELO there is no response
The POP3 and HTTP works well.
Log in the tcp_master:
pmt_tls_init failed in sslinit(-1)
Continuing normally without TLS support....
Log in the job_controller:
os_map_file:lock failed -11
Can't get the lock. Another dirsync might be running
Log in my dirsync.trc:
Cannot get the dirsync lock
Even when I reboot my server or restart the msgserver,
the problem is still.
Help me! Please!
It emergence!

If you have iMS 5.2 you can and SHOULD configure Direct LDAP, per the Appendix B from the Administration Guide:
http://docs.sun.com/source/816-6009-10/dirldap.htm
You also should download and install Patch 1, as there are hundreds of fixes there.
You also will want to open a tech support ticket to get a current hotfix (1.25), with hundreds of further fixes.
Now, for your specific problem:
21:03:49.08: os_map_file: lock failed - 11
This is not a fatal error. It only means that when one thread has tried to open a file, some other thread already has it opened. We see these all the time, and they're not a problem.
"my mail server doesn't work" really doesn't give me anything to go on. Consider Messaging Server a loosely coupled set of modules. Each module can fail, but each fails in a different way, and has a different recovery technique. "doesn't work" doesn't tell me where it failed, or what has failed. that being the case, I have a great deal of difficulty telling you what is wrong, or how to fix it.
It's like you call your auto mechanic on the phone, and say, "my car won't go". He's going to need to find out several things, before he can tell you what he will charge you to fix it. "Does the engine start? Does it stall right away? Are there any lights on the dash? Does it go into gear?" etc. A better description of the problem really is the first thing we need.

Similar Messages

  • Badge app for message app isn't working

    The badge app notifications on my message app recently stopped working. So whenever I get a message, and my phone is unlocked, I am not notified. So, I have been missing important texts from family. I looked at the notifications and they are turned on, as are the sounds. I do have the banner notifications turned off. Could this be the reason? Any suggestions as to how to get the badge notifications working again?
    Just a side note, I have tried turning the settings on and off and restarting the phone, to no avail. I also tried a hard shut down of the app and restarted it and that also had no results.

    Hi Jme88,
    It may help to force close all open apps and reset your iPhone.
    Force an app to close in iOS
    http://support.apple.com/en-us/HT5137
    Turn your iOS device off and on (restart) and reset
    http://support.apple.com/en-us/HT1430
    If the notifications for Messages still aren't functioning, the next step would be to reinstall iOS on your device by placing it in Recovery Mode, then choosing Update in iTunes.
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on
    https://support.apple.com/en-us/HT201412
    Regards,
    Allen

  • Help!  VPN with Leopard & Leopard server isn't working!

    Hello all,
    I have tried (and tried, and tried) to get VPN to work on Leopard server v10.5.1 and I cannot get this to work no matter what I have tried. here is my setup:
    Router:
    New Airport Extreme Base station running firmware v7.1.1. I have my server open to the world (for this test)
    Server:
    Mac Mini running v10.5.1 server. Both VPN L2TP and PPTP is setup and configured. NAT is NOT turned on, the AEBS is doing DHCP for me (should the server be doing that?).
    When I try to connect via PPTP here is my log:
    2007-11-23 10:41:22 EST Incoming call... Address given to client = 192.168.4.121
    Fri Nov 23 10:41:22 2007 : Directory Services Authentication plugin initialized
    Fri Nov 23 10:41:22 2007 : Directory Services Authorization plugin initialized
    Fri Nov 23 10:41:22 2007 : PPTP incoming call in progress from '208.xxx.xxx.xxx'...
    Fri Nov 23 10:41:23 2007 : PPTP connection established.
    Fri Nov 23 10:41:23 2007 : using link 0
    Fri Nov 23 10:41:23 2007 : Using interface ppp0
    Fri Nov 23 10:41:23 2007 : Connect: ppp0 <--> socket[34:17]
    Fri Nov 23 10:41:23 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:26 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:29 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:32 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:35 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:38 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:41 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:44 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:47 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:50 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x407014ff> <pcomp> <accomp>]
    Fri Nov 23 10:41:53 2007 : LCP: timeout sending Config-Requests
    Fri Nov 23 10:41:53 2007 : Connection terminated.
    Fri Nov 23 10:41:53 2007 : PPTP disconnecting...
    Fri Nov 23 10:41:53 2007 : PPTP disconnected
    2007-11-23 10:41:53 EST --> Client with address = 192.168.4.121 has hungup
    I can see that my system is receiving the request for VPN, but my workstation isn't responding it seems. I have had this working under 10.4, but cannot get server 10.5 to work at all.
    Any ideas?

    Hi All,
    Exactly the same problem here, but with one VPN it works most of the time:
    Sun Nov 25 14:50:27 2007 : PPTP connecting to server '10.0.4.35
    10.0.4.35' (10.0.4.35)...
    Sun Nov 25 14:50:28 2007 : PPTP connection established.
    Sun Nov 25 14:50:28 2007 : using link 0
    Sun Nov 25 14:50:28 2007 : Using interface ppp0
    Sun Nov 25 14:50:28 2007 : Connect: ppp0 <--> socket[34:17]
    Sun Nov 25 14:50:28 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52583874> <pcomp> <accomp>]
    Sun Nov 25 14:50:31 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52583874> <pcomp> <accomp>]
    Sun Nov 25 14:50:34 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52583874> <pcomp> <accomp>]
    Sun Nov 25 14:50:37 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52583874> <pcomp> <accomp>]
    Sun Nov 25 14:50:40 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52583874> <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52583874> <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfReq id=0x1 <asyncmap 0xffffffff> <mru 1460> <magic 0xe14a182f> <quality lqr 00 00 17 70> <auth chap MS-v2>]
    Sun Nov 25 14:50:43 2007 : lcp_reqci: returning CONFREJ.
    Sun Nov 25 14:50:43 2007 : sent [LCP ConfRej id=0x1 <quality lqr 00 00 17 70>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x52583874>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfReq id=0x2 <asyncmap 0xffffffff> <mru 1460> <magic 0xe14a182f> <auth chap MS-v2>]
    Sun Nov 25 14:50:43 2007 : lcp_reqci: returning CONFACK.
    Sun Nov 25 14:50:43 2007 : sent [LCP ConfAck id=0x2 <asyncmap 0xffffffff> <mru 1460> <magic 0xe14a182f> <auth chap MS-v2>]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x52583874>]
    Sun Nov 25 14:50:43 2007 : sent [LCP EchoReq id=0x0 magic=0x52583874]
    Sun Nov 25 14:50:43 2007 : rcvd [LCP EchoReq id=0x0 magic=0xe14a182f 00 00 00 00 e1 4a 18 2f]
    Sun Nov 25 14:50:43 2007 : sent [LCP EchoRep id=0x0 magic=0x52583874 00 00 00 00 e1 4a 18 2f]
    Sun Nov 25 14:50:43 2007 : rcvd [CHAP Challenge id=0x1 <33373237373537323934343739393131>, name = ""]
    While with other VPN it does not work most of the time:
    Sun Nov 25 14:49:52 2007 : PPTP connecting to server '*******************' (*************)...
    Sun Nov 25 14:49:52 2007 : PPTP connection established.
    Sun Nov 25 14:49:52 2007 : using link 0
    Sun Nov 25 14:49:52 2007 : Using interface ppp0
    Sun Nov 25 14:49:52 2007 : Connect: ppp0 <--> socket[34:17]
    Sun Nov 25 14:49:53 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:49:56 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:49:59 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:02 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:05 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:08 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:11 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:14 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:17 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:20 2007 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8533a7cf> <pcomp> <accomp>]
    Sun Nov 25 14:50:23 2007 : LCP: timeout sending Config-Requests
    Sun Nov 25 14:50:23 2007 : Connection terminated.
    Sun Nov 25 14:50:23 2007 : PPTP disconnecting...
    Sun Nov 25 14:50:23 2007 : PPTP disconnected

  • FaceTime server isn't working?

    I try to contact people on FaceTime, but they say "connection lost." I can only receive the FaceTime message from someone else. I try to go under settings and FaceTime. I re-put I'm my email, and now the FaceTime server is down! If I try this on my son's IPad, it works perfectly fine. Please explain how to fix this!

    You probably will get a faster/better answer to your question in the right forum.  Try here:
    FaceTime for Mac

  • Help! My email push isn't working even when I hit the refresh button!

    Please help me. I got a Palm Pixi in December. It worked perfectly until about 2 weeks ago. It suddenly stopped pushing my email, including when I hit the refresh button! I spent many many hours on the phone with both verizon and palm, we tried starting and restarting the phone, removing and adding my accounts, we even tried a partial wipe of the phone. Nothing worked. So both verizon and palm assured me that my brand new phone must be defective, they sent me a new palm pixi promising me that my email push problems were a fluke and that it would never happen again. I got my new phone a week ago, it worked fine until yesterday- the same push problem is back! I've been on live chat with a palm technician for almost 2 hours now, we've set and reset my email settings, we've reset the account settings in the phone, and it still doesn't work!
    Please somebody, tell me what the fix is for this!
    I need this phone for my job.
    Because this problem didn't start until the end of my 30 day trial period, I can't exchange this phone now, and I can't afford to pay retail price for a new phone so I'm stuck with this phone even though this problem is not my fault!! I have to make this work!
    Verizon and Palm promised me that this problem would never happen again, that it was a one time fluke based on a defective(though brand new device)- based on this assurance, I exchanged phone and now I am stuck. I spent hours on the phone on monday with palm support updating/changing my email settings on the phone and when that didn't work he sent me the webos doctor instructions via email to try on my own.  I did that last night, and guess what?  It still didn't work!  As per usual, the solution either doesn't work at all, or it works for a bout an hour and then stops working.
    Help!
    Thanks
    Post relates to: Pixi Plus p121vzw (Verizon)

    First verify that all your email settings are correct as they may have changed.  
    Service provider settings frequently change. If your email account was working but you are currently experiencing problems, check with your service provider to find out whether any of the account settings have changed. You may need to manually change some email settings on your device.
    Next, update the PRL on the device by dialing *228 send and option 2.  
    If the  problems persist,  try doing a Master Reset on the device.  
    Master Reset
    Tap and slide finger up on center gesture area
    Slide screen to the left twice
    Tap Device Info
    Tap and slide screen up to show Reset Options
    Tap Reset Options
    Select from the following Options: 
    Restart - Will restart device
    Shut down - Will power off device
    Partial Erase - Warning: Erases applications you installed and all application settings and data. Does not erase personal files stored on the USB Drive.
    Full Erase - Warning: Erases applications you installed and all application settings and data. Also erases personal files stored on the USB Drive.

  • Please help! My new widescreen isn't working!

    So I bought a 22inch widescreen monitor for my 933mhz Quicksilver G4. The monitor has a resolution of 1680x1050. I used a DVI convertor and connected it to the ADC port.
    The problem is the picture doesn't look all that great, and worse, it looks really stretched out. The maximum resolution my computer is offering me is 1280x1024, and I swear it used to be higher when I had it hooked up to a CRT.
    I've tried to change the horizontal wideness on the monitor's controls, but that option isn't allowed (although when plugged into the VGA port it is).
    I spoke with the monitor companies tech support and he says that my computer is supposed to be able to support that monitor.
    I downloaded that driver that someone else posted on the forums, that didn't help.
    What do I do? Do I need a new video card (I currently have a GE Force 4MX)? Do I need some kind of update? A new driver or something?
    PowerMac G4 Quicksilver, 933Mhz   Mac OS X (10.4.2)  

    I'm running a 21" Samsung widescreen at the recommended 1680 x 1050 @ 60 Hz. When I first got it I did some experimenting with some older graphics cards in my MDD G4 booted into OS X Tiger and OS 9.2.2. All cards were flashed to the latest ATI ROM and were using the latest ATI drivers.
    It's true that OS X Tiger only displays the recommended resolutions for your graphics card, but with the large, widescreen, LCD monitors, you pretty much don't want to use any of the other possible resolutions. In OS 9.2.2 I was able to display all possible resolutions. Using an original Radeon for Mac, 32 MB card and a flashed PC Radeon 7000, 64 MB card, I couldn't achieve decent video with either. BTW, I used a DVI hook-up for all.
    Can't remember which one, but one wouldn't display widescreen resolutions at all (think it was the Radeon for Mac card, which is very old) and the other couldn't display up to 1680 x 1050, so I used a lesser widescreen resolution. The lesser widescreen resolution was adequate for just looking at your monitor, but couldn't play DVD movies without lowering the resolution even more. The best picture with either of them was not as sharp as the display model of my monitor in the store.
    Part of the problem is that neither of those old video cards provided Quartz Extreme support in OS X Tiger, much less Core Image support. That makes a big difference, at least with the large, widescreen monitors.
    What I'm telling you is that your video card is center of the issue. After you ensure that you have its ROM updated and you are using the latest drivers, if you still don't see 1680 x 1050 or any other widescreen resolutions as an option (based on the limited resolution info on NVIDIA's site, I think you already have the best resolution you can get and there aren't any supported widescreen resolutions), and/or System Profiler doesn't show Quartz Extreme supported, you should be looking for a new video card. I know that the Radeon 9000 will give you Quartz Extreme support (I put one in a friend's Sawtooth G4 w/ a 1.2 GHz processor upgrade and got QE supported, but not CI) and some widescreen resolutions, including 1680 x 1050.
    Good luck,
    Carl B.

  • Help!!! Sound isn't working!

    When I plug my earbuds into my Ipod touch there is no sound but when I remove the headphones there is sound. I know this must be a problem with my ipod because I have tried other earbuds and it still won't work. How can I fix this without having to buy a new ipod.? I would also like to say that my sound effects thing keeps popping up randomly and turning my volume all the way up. I need help please.

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Check also Settings > General > Accessibility > Hearing. Make sure that the sound balance is not set all the way to "R".
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • HELP! edit capture time isn't working!

    I'm trying to adjust a bunch of image capture times from my second shooter to match my image capture time.  I have done this many times, and now it seems it won't work.  I can only do one at a time now.  Any help would be greatly appreciated!

    Thats how I'm doing it.  I select all the images i need changed.  Make sure I'm in Library mode. Then click metadata up above then edit capture time.  It use to allow me to change all.  Now it only lets me change one.  So frustrated! I can't seem to find anything online as to why this is. {unless I am doing it all wrong somehow}  John R. Ellis

  • HELP! My laptop envy isn't working

    Help Me!
    My laptop envy turns on, per se, in the sense that the keys, loading light, on light, and etc light up--However, the screen remains dark or blank and the light on the caps lock is blinking.  What should I do???????????????????!!?!?!
    Kind regards,
    J.Miller

    Dear Customer,
    Welcome and Thank you for posting your query on HP Support Forum
    It looks like your Notebook has a blinking/flashing CAPSLOCK light and a blank screen all the time
    Please read the below shown information for better understanding:
    Capslock LED Blink 1 time : CPU not functional - Replace Processor
    Capslock LED Blink 2 times : BIOS Corruption failure - Replace System board 
    Capslock LED Blink 3 times : Memory error not functional - Replace Memory Module
    Capslock LED Blink 4 times : Graphics controller not functional - Replace either System board or Graphics card
    Capslock LED Blink 5 times : General System board failure - Replace System board
    Capslock LED Blink 6 times : BIOS Authentication failure - Replace System board
    However, I would request with you to perform the below shown step before contacting HP
    Step 01. Turn OFF the Notebook
    Step 02. Un-plug the Power/AC Adapter and also remove the battery too
    Step 03. Press and Hold the Power Button on the Notebook for a full minute
    Step 04. Test your Notebook with Battery and Power Adapter alone
    Note: If you are still facing the same issue try to remove and reseat the Memory Modules of your Notebook
    Hope this helps, for any further queries reply to the post and feel free to join us again
     **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    K N R K
    I work on behalf of HP

  • HELP! My center button isn't working!

    So I was listening to my nano, and the center button just stopped working. I tried to reset it and I tried restoring it, but no luck. Any suggestions????? Thanks.
    Message was edited by: Cheyenneee!

    Dont bother returning it to apple. Their after sales service is really bad.
    My ipod video is still under warranty and they want to charge 40$ just for shipping. Come on $40 for shipping? I'm sending in an ipod not a BRICK! $40 is ridiculous!
    My center button doesnt have the popping feeling anymore, maybe the spring underneath the center button is broken. Talk about cheap material. For the price i paid for it, i would like it to last at least a year. This thing broke down in 11 mths.
    The dumbest part is that, the customer service rep at apple care, said that the technician will fix it under warranty only if it's a hardware caused issue. What is a HARDWARE CAUSED issue???? How can a hardware break itself!? The only thing I know is that I will never buy anything from APPLE AGAIN! The warranty *****. I've had lots of experience with warranties and this is the worst ever!!!
    Maybe they got to be sued through another class action against for them to amid that they use cheap material!!!
    The center button *****! I'm boycotting APPLE forever

  • I need Help with codes. It isn't working

    I had once writing a code for finding the factorial of a number in elementary programming with C. I tried to incorporate it into my work. However, it is not working.
    Below are the major hitches:
    1. I have a problem with entering two numbers by simply pressing the buttons. Once i try to input another number the second number displaces the first on the textfield. Which suffices to say that entering a two or three digit number via the buttons is not working.
    2. What I intend to archieve is such once I have enter the numbers using the buttons i could get the factorial of whatever number i entered by simply pressing the n! button. Once i attempt pressing the n! button it displays error in the command prompt (a long list of error comments).
    How should I Proceed.
    Below is my full code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PanFrame extends JFrame implements ActionListener
         JTextField jTfd =new JTextField(20);
         JButton jbtn7 = new JButton ("7");
         JButton jbtn8 = new JButton ("8");
         JButton jbtn9 = new JButton ("9");
         JButton jbtn4 = new JButton ("4");
         JButton jbtn5 = new JButton ("5");
         JButton jbtn6 = new JButton ("6");
         JButton jbtn1= new JButton ("1");
         JButton jbtn2 = new JButton ("2");
         JButton jbtn3 = new JButton ("3");
         JButton jbtn0 = new JButton ("0");
         JButton jbtnFT = new JButton ("n!");
         public PanFrame (String title)
                   super (title);
                   Panel pan1 = new Panel();
                   getContentPane().setLayout(new FlowLayout ());
                   pan1.add(jTfd);
                   Panel pan2 = new Panel();
                   getContentPane().setLayout (new GridLayout (4,5,2,2));
                   pan2.add (jbtn7);
                   pan2.add (jbtn8);
                   pan2.add (jbtn9);
                   pan2.add (jbtn4);
                   pan2.add (jbtn5);
                   pan2.add (jbtn6);
                   pan2.add (jbtn1);
                   pan2.add (jbtn2);
                   pan2.add (jbtn3);
                   pan2.add (jbtn0);
                   pan2.add (jbtnFT);
                   getContentPane().add(pan1);
                   getContentPane().add(pan2);
                   //adding the Listener     
                   jTfd.addActionListener(this);
                           jbtn7.addActionListener(this);
                   jbtn8.addActionListener(this);
                   jbtn9.addActionListener(this);
                   jbtn4.addActionListener(this);
                   jbtn5.addActionListener(this);
                   jbtn6.addActionListener(this);
                   jbtn1.addActionListener(this);
                   jbtn2.addActionListener(this);
                   jbtn3.addActionListener(this);
                   jbtn0.addActionListener(this);
                   jbtnFT.addActionListener(this);
                   validate();
                   this.addWindowListener (new WindowAdapter()
                        public void windowClosing (WindowEvent we)
                                  setVisible (false);
                                  System.exit (0);
               public void actionPerformed(ActionEvent ae)
                        jTfd.setText(ae.getActionCommand());
                   if(ae.getActionCommand()=="n!")
                                  int num= Integer.parseInt(jTfd.getText());
                             int i;
                             long fact=1;
                             for(i=1; i<=num; i++)
                                       fact *=i;
                             jTfd.setText(String.valueOf(fact));
         public static void main (String arg [ ])
                   PanFrame ObjFr = new PanFrame ("Two Panel in One Frame");
                   ObjFr.setSize (400, 400);
                   ObjFr.setVisible (true);
    }bakes

    Perhaps something like this?
    private String tempText = "";
    public void actionPerformed(ActionEvent ae) {
    if (jTfd.replaceSelection( jbtn.getActionCommand()
    ) )=="n!") {
              tempText = "";
              long fact=1;
    for(int i=1; i<=Integer.parseInt(jTfd.getText());
    ); i++)
                   fact *=i;
              jTfd.setText(String.valueOf(fact));
         else {
    tempText +=
    += ((JButton)ae.getSource()).getActionCommand();
              jTfd.replaceSelection(tempText);
               * // Alternately, you can try:
    * jTfd.setText(jTfd.getText() +
    ) + ((JButton)ae.getSource()).getActionCommand());
         }}I tried out what you suggested above but it gave the following eror:
    PanFrame.java103:cannot resolve symbol
    symbol: variable jbtn
    location: class PanFrame
    if (jTfd.replaceSelection( jbtn.getActionCommand() )=="n!")
    'void' type not allowed here
    if (jTfd.replaceSelection( jbtn.getActionCommand() )=="n!")
    I do not think "if(jTfd.replaceSelection(jbtn.getActionCommand())=="n!")"
    is the correct way of expressing what i intend to archieve. When i first wrote it out it did not make sense to me but i could not find an alternative. so i said let me give it a triy.
    i have also attempted to structure it this way
    public void actionPerformed(ActionEvent ae)
                   JButton jbtn = (JButton)ae.getSource();
                   jTfd.replaceSelection( jbtn.getActionCommand() );
                   if (ae.getSource()==jbtnFT)
                        int num= Integer.parseInt(jTfd.getText());
                             int i;
                             long fact=1;
                             for(i=1; i<=num; i++)
                                       fact *=i;
                             jTfd.setText(String.valueOf(fact));
              } the action i performed having structured it as stated above was: I pressed the button 5 and it displayed 5 in the textfield then i wanted to find the factorial of 5. so i pressed the (n!) button. instead of calculating the factorial of 5 and displaying the output in the textfield, the factorial symbol was displayed after the number 5 and error messages were displayed in the command prompt. i have tried to type out some of the messages below:
    java.lang.NumberFormatException: For input string: "5n!" at java.lang.NumberFormat Exception.forInputString(NumberFormatException.java.48)
    at java.lang.Integer.parseInt(Integer.java: 477)
    at java.lang.Integer.parseInt(Integer.jaa:518)
    at PanFrame.actionPerformed(Drum.java:107)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    Please could you do me favor i am posting the entire code below: copy it and run it then you can see the error messages in its entirety. It is quite lenghty was i tried to type out were jus the first few lines.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PanFrame extends JFrame implements ActionListener
         JTextField jTfd =new JTextField(20);
         JButton jbtn7 = new JButton ("7");
         JButton jbtn8 = new JButton ("8");
         JButton jbtn9 = new JButton ("9");
         JButton jbtnFT = new JButton ("n!");
         JButton jbtn4 = new JButton ("4");
         JButton jbtn5 = new JButton ("5");
         JButton jbtn6 = new JButton ("6");
         JButton jbtn1= new JButton ("1");
         JButton jbtn2 = new JButton ("2");
         JButton jbtn3 = new JButton ("3");
         JButton jbtn0 = new JButton ("0");
         public PanFrame (String title)
                   super (title);
                   Panel pan1 = new Panel();
                   getContentPane().setLayout(new FlowLayout ());
                   pan1.add(jTfd);
                   Panel pan2 = new Panel();
                   getContentPane().setLayout (new GridLayout (4,5,2,2));
                   pan2.add (jbtn7);
                   pan2.add (jbtn8);
                   pan2.add (jbtn9);
                   pan2.add (jbtnFT);
                   pan2.add (jbtn4);
                   pan2.add (jbtn5);
                   pan2.add (jbtn6);
                   pan2.add (jbtn1);
                   pan2.add (jbtn2);
                   pan2.add (jbtn0);
                   getContentPane().add(pan1);
                   getContentPane().add(pan2);
                   //adding the Listener     
                   jTfd.addActionListener(this);
                           jbtn7.addActionListener(this);
                   jbtn8.addActionListener(this);
                   jbtn9.addActionListener(this);
                   jbtnFT.addActionListener(this);
                   jbtn4.addActionListener(this);
                   jbtn5.addActionListener(this);
                   jbtn6.addActionListener(this);
                   jbtn1.addActionListener(this);
                   jbtn2.addActionListener(this);
                   jbtn3.addActionListener(this);
                   jbtn0.addActionListener(this);
                   validate();
    public void actionPerformed(ActionEvent ae)
                   JButton jbtn = (JButton)ae.getSource();
                   jTfd.replaceSelection( jbtn.getActionCommand() );
                   if (ae.getSource()==jbtnFT)
                        int num= Integer.parseInt(jTfd.getText());
                             int i;
                             long fact=1;
                             for(i=1; i<=num; i++)
                                       fact *=i;
                             jTfd.setText(String.valueOf(fact));
    public static void main (String arg [ ])
                   PanFrame ObjFr = new PanFrame ("Two Panel in One Frame");
                   ObjFr.setDefaultCloseOperation(EXIT_ON_CLOSE);
                   ObjFr.setSize (400, 400);
                   ObjFr.setVisible (true);
    }

  • Help my css in dreamweaver isn't working

    i entered my new css rule in html mode
    margin:0;
    padding:0;
    #container {
        width: 960px;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
    #body {
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 14px;
        color: #000000;
        background-image: url(../IMAGES/bg.jpg);
        background-repeat: no-repeat;
        background-position: center top;
    and nothing is changing on my page. Any suggestions

    Anyone?
    Please help...

  • HELP....Restoring isn't working!

    Hey....if anyone can help me with restoring my Ipod because when i go to restore it..it tells me that "There was a problem downloading the Ipod software for the Ipod "Ipod". The requested resource was not found. If anyone can please help me out with this problem I would be very grateful.
    Thank You.

    http://docs.info.apple.com/article.html?artnum=304309

  • Ps3 media server isn't working :(

    erk: C0 CE FE 84 C2 27 F7 5B D0 7A 7E B8 46 50 9F 93 B2 38 E7 70 DA CB 9F F4 A3 88 F8 12 48 2B E2 1B
    riv: 47 EE 74 54 E4 77 4C C9 B8 96 0C 7B 59 F4 C1 4D
    pub: C2 D4 AA F3 19 35 50 19 AF 99 D4 4E 2B 58 CA 29 25 2C 89 12 3D 11 D6 21 8F 40 B1 38 CA B2 9B 71 01 F3 AE B7 2A 97 50 19
    R: 80 6E 07 8F A1 52 97 90 CE 1A AE 02 BA DD 6F AA A6 AF 74 17
    n: E1 3A 7E BC 3A CC EB 1C B5 6C C8 60 FC AB DB 6A 04 8C 55 E1
    K: BA 90 55 91 68 61 B9 77 ED CB ED 92 00 50 92 F6 6C 7A 3D 8D
    Da: C5 B2 BF A1 A4 13 DD 16 F2 6D 31 C0 F2 ED 47 20 DC FB 06 70

    PlayStation have their own support site and forums and are best qualified to answer PS3 media server issues:
    PlayStation main support page:
    http://us.playstation.com/support
    PlayStation forums:
    http://community.us.playstation.com

  • Has anyone had success with Messaging Server 5.2 under Windows 2000 Server?

    Just to be up front - we MUST use Windows 2000 - they're not giving me a choice to move to Solaris or Sun Hardware. Linux isn't even a choice, nor is WinNT. (I know, it's annoying).
    I've managed to get Directory Server 5.1 to run under windows 2000 without active directory installed. I found that I needed to modify the ims_dssetup.pl script that comes with the Messaging Server 5.2 to reference the full path to my ldapsearch and ldapmodify executables. Apparently, this is a win2k specific problem, and is not necessary on WinNT. This made ims_dssetup.pl work and the install of Messaging Server 5.2 work on a windows 2000 machine.
    However, at reboot, the job controller and dispatcher do not automatically start. When I try to start the services manually, I get "Error 1067: The Service terminiated unexpectedly".
    Any ideas? I'm desperate here - they're gonna make us use exchange if I can't get >>something<< working. Even a 4.x version of messaging server will do.
    Thanks

    Well, I do understand that.
    However, I've installed iMS 5.2 on win2k several times (I admit, w2k pro, not server), and i've never installed AD.
    If you can get it installed and working for your default domain, but not for other domains, then most likely it has nothign to do with AD or AD domains. iMS idea of domains is very different from AD's idea of domains. We need to be very clear about such.
    for iMS, you have to create additional domains through Delegated Admin, as either "Hosted Domains" or as "Vanity Domains". We do not suggest using "Vanity Domains", and support for such is deprecated.
    Once you have created "Hosted Domains" through Delegated Admin, you can add users to those domains, and they should work, just fine.

Maybe you are looking for