Service Processor Issues v20z

Apologies if this question is in the wrong forum, although I believe it is a hardware related issue.
My issue relates to the Service Processor on a v20z. Basically, it seems to reset itself every few minutes and will not retain any information at all, which intern has caused the fans to stay on at 100%, all the time now, which is concerning. Once on it says "Main power off". The SP will then reset itself not long after.
This started when I decided to rebuild one of our V20z servers, as Solaris 10 did not like the raid card when in it's early versions. Anyway, I have successfully installed the latest Solaris 10 build, 1/06 X86 (of course seeing the Athlon cpu's). After this I felt the need to get console working properly, as it was not before. I changed the eeprom as documented with the input and output pointing to the console.
At this point I decided I should get the Service Processor working, as I had not read anything about it previously. I managed to manually assign it an ip address, which it kept. I then had to reboot the server for other reasons, and the SP would not keep its IP details. It will not even obtain one via dhcp, comes up with "Service Error on set IP DHCP".
I have tried updating the bios etc, by manually entering in the information on the lcd screen, however have had to such luck either. I have a funny feeling I have broken something as there does not appear to be anyone with the same type of issues. From everything I have read everyone else seems to have no issues at all. Some advice would be greatly appreciated, as I've been tearing my hair out for a few days now over it.
Many Thanks
Simon

It's ok I figured it out. Embarasingly simple really
eeprom output-device=ttya
eeprom input-device=ttya
This is awesome, just look at this. I'm twenty miles from the server booted in single user mode.
Yes, more sleep time for me less late nights at the office. Sorry if this is old hat to you guys, It's the first time I've seen it on any servers I've owned.
Select (b)oot or (i)nterpreter: b -s
SunOS Release 5.9 Version Generic_117172-17 32-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: bge0.
Hostname: v20z1
INIT: SINGLE USER MODE
Type control-d to proceed with normal startup,
(or give root password for system maintenance):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode
Jun 22 22:52:10 su: 'su root' succeeded for root on /dev/console
Sun Microsystems Inc. SunOS 5.9 Generic January 2003
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.9.200.10 netmask ffffff00 broadcast 192.9.200.255
ether 0:9:3d:11:c7:c0
Nice one SUN...
Pity I couldn't Install solaris 9 on the v20z's from the CDs in the first place though (I needed to install from an install server).

Similar Messages

  • V20z service processor

    Before I call Sun, I thought I'd ask here:
    I have a brand new SunFire v20z that I am trying to manage remotely. I had no problem getting the service processor set up and connecting to it, and I was able to access it for several days. It worked fine.
    Then I went away for a few days, and when I returned, the SP had very slow response, and randomly started hanging up on me and killing the running command. I thinbk
    bash-2.03$ ssh -l spuser 10.0.0.7
    spuser&#64;10.0.0.7's password:
    Sun Microsystems
    IPMI v1.5 Service Processor
    Version: V2.0.0.48
    localhost $ help
    help: not found
    localhost $ platform help<br />Killed<br />localhost $ sp help
    Connection to 10.0.0.7 closed.
    What made the SP so sick? Any ideas? TIA
    Jeremiah

    I had this on a V20z. It seemed to start intermittently a few days ago but this evening it was doing it consistently. It was doing it when trying to use SP commands 'platform console' and 'sp get events', though 'sp reboot' did work and thankfully seems to have cleared the problem.
    The SP reboot was necessary as a last resort because I had some planned work to do in an agreed outage and needed to boot the server a few times, so needed proper console access, i.e. I needed to sort out the SP problem to allow console access which we reach via the SP.

  • Service Processor on X4100 and 4200

    How can I send order from inside solaris 10 to the Service Processor on the X4100 and 4200 ?
    We use the serial consol to log messages from the system (helpful for crash or panic), but with the X4100 or 4200 the service processor manage the serial link and we have to do 'login' and start /SP/console to get solaris 10 console.
    I would like to automatically start the console from inside solaris if it's not started or to configure the SP in console automatically after a power-on.
    Thanks

    Thanks, I granted the user with permission sysadmin, but still I am facing the problem.
    Let me download SP3 and SP4, if that could solve my problem.
    Hello,
    Please refer to below blog,See workaround mentioned in below blog.I am quite sure this would be fixed in SP3 or SP4 but first please apply this workaround and then install SP4.
    Unable to start SQL server agent
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SMC agent on M9000 service processor

    Hi, I'm trying to monitor an M9000 Platform
    at this time domain agents are up and running but the service processor agent's is stopped and I can't find how to start it.
    this is the output from setsunmc and showsunmc
    XSCF> setsunmc -s 140.126.65.82 -z segob -c public -p 1161 -t 162 -e 163 -a 161 -d 1161
    setsunmc: Updating Sun MC config file
    XSCF> showsunmc
    Agent Status: Disabled, stopped
    Setup Status: Set up
    SunMC Server: 140.126.65.82
    Security Seed: segob
    SNMPv1 Community String: public
    Agent Port: 1161
    Host Trap Port: 162
    Host Event Port: 163
    SNMP Agent Port: 161
    Domain Agent Port: 1161
    XSCF> setsunmc enable
    setsunmc: Agent enabled.
    setsunmc: Note that this command will return before SunMC is completely enabled.
    XSCF> showsunmc
    Agent Status: Enabled, stopped
    Setup Status: Set up
    SunMC Server: 140.126.65.82
    Security Seed: segob
    SNMPv1 Community String: public
    Agent Port: 1161
    Host Trap Port: 162
    Host Event Port: 163
    SNMP Agent Port: 161
    Domain Agent Port: 1161
    Do you have any clue why Agent won't start?
    Thanks for any comment

    Dear Sir,
    I also have this problem on our M9000. And I have set and enabled the SNMP then set and enable SunMC, but the Agent status is still "Enabled,Stopped". Please refer to below information and check what's wrong for me, thanks a lot.
    XSCF> setsunmc disable
    setsunmc: Agent disabled.
    setsunmc: Note that this command will return before SunMC is completely disabled.
    XSCF> setsnmp disable
    setsnmp: Agent disabled.
    XSCF> setsnmp enable
    setsnmp: Agent enabled.
    XSCF> setsunmc enable
    setsunmc: Agent enabled.
    setsunmc: Note that this command will return before SunMC is completely enabled.
    XSCF> showsnmp
    Agent Status: Enabled
    Agent Port: 161
    System Location:
    System Contact:
    System Description: SMP HPC of SPARC Enterprise M9000-64
    Trap Hosts:
    Hostname Port Type Community String Username Auth Protocol
    192.168.1.100 162 v2 public n/a n/a
    SNMP V1/V2c:
    Status: Enabled
    Community String: public
    Enabled MIB Modules:
    SP MIB
    FM MIB
    XSCF> showsunmc
    Agent Status: Enabled, stopped
    Setup Status: Set up
    SunMC Server: 192.168.1.100
    Security Seed: 1211
    SNMPv1 Community String: public
    Agent Port: 1161
    Host Trap Port: 162
    Host Event Port: 163
    SNMP Agent Port: 161
    Domain Agent Port: 8161
    Edited by: Yu-Hung on Apr 1, 2008 12:31 AM
    Edited by: Yu-Hung on Apr 1, 2008 12:35 AM

  • HELP! SUNFIRE x2100 M2 server service processor problem,,,,,

    i got a problem with my x2100m2 server,
    the service processor doesn't seem to start
    at all, even if at standy power.
    the OK led in the front panel doesn't seem
    to flash.
    wats the possible problems with my server??

    try to remove power cables wait around 3 minutes plug it again you should have output if no try to power on the server
    are you connecting to serial mgt make sure u r having the right config for serial conx . 9600 8 N 1
    Edited by: yishak on Mar 2, 2009 2:28 AM

  • Blinking LED lights (possible processor issue)

    I tried to turn my laptop on today but I was greeted with a blank screen and 2 blinking LED lights. According to the code thing they have here it might be indicating I have a processor issue, is there any way I can fix this or am I screwed? I've gone through google and this seems to be a bit of an issue with certain HP laptops.
    I'm running an HP pavilion dv4-2145dx with windows 7. My warranty is also gone.

    Hi,
    I think your machine has a serious mainboard malfunction. The solderings can be ok, but have you a microscope to check it like a high-grade technician or engineer? The other point is: It can be a malfunctioning resistor or capacitor or whatever, I personally think it must be something like this since the described error points on something of the power subsystem.
    You can also try another thing: If you have your keyboard removed and could look under it on the mainboard, then you can try to disconnect a flat cable which must be located on the lower section before the handrest comes. Its not a thin rather a tall flatcable which should be for the panel in front of your machine (which is for the multimedia keys and so on) and disconnect it. Check whats happening, if nothing then you have def. a malfunctioning mainboard, if the machine starts then the front panel pcb is defective and must be replaced.
    Greets

  • SSH from service processor to host os (Solaris 10) on V20z?

    Hi all,
    when I try to ssh from the service console to the host os, which is Solaris 10, I get the error message:
    /etc/ssh/ssh_config line 19: garbage at end of line; "1".
    Any ideas?
    Thanks

    Seems like there is something wrong in the ssh_config file, most likely on line 19, you should have a look on that line and see what it says..

  • Service startup issue in Windows Xp

    hello,
    Iam getting the below error when i try to start the service in a remote xp machine.
    "service started and stopped.some service stop automatically if they have no work to do.for example,performance logs and Alerts service."
    iam a domain admin so its not related to permission issues.
    Any suggestions?
    gowthaman J

    hello Jones,
    sorry for the delay...
    Finally I got the machine online...
    Application Event
    Windows Installer reconfigured the product. Product Name: Configuration Manager Client. Product Version: 4.00.6487.2000. Product Language: 1033. Reconfiguration success or error status: 0.
    System event
    The SMS Agent Host service entered the running state.
    The SMS Agent Host service entered the stopped state.
    CCMexec.log
    Loading service settings. CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Error loading service settings. Code 0x80040154 CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Phase 0 initialization failed (0x80040154). CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Service initialization failed (0x80040154). CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Shutting down CCMEXEC... CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    UninitCommandExec failed (0x800401fb). CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Waiting up to 2 seconds for active tasks to complete... CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Finished shutting down CCMEXEC. CcmExec 10/17/2012 11:11:43 AM 2736 (0x0AB0)
    Starting CCMEXEC service... CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Running on machine DTHP03F8 as user SYSTEM. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Initializing COM. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Registering for logging change notifications. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Setting default logging component for process. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Setting service status to RUNNING. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Checking configuration. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Successfully Created Thread for CheckConfiguration. Waiting for Configuration to Complete CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Checking product registrations. CCMEXEC 10/17/2012 11:12:12 AM 2560 (0x0A00)
    Found product code = {2609EDF1-34C4-4B03-B634-55F3B3BC4931} CCMEXEC 10/17/2012 11:12:12 AM 2560 (0x0A00)
    Found product "Configuration Manager Client" version 4.00.6487.2000 upgrade code {252DA259-82CA-4177-B8D0-49C78937BA3E} CCMEXEC 10/17/2012 11:12:12 AM 2560 (0x0A00)
    Looking for product code '{2609EDF1-34C4-4B03-B634-55F3B3BC4931}' in WMI CCMEXEC 10/17/2012 11:12:12 AM 2560 (0x0A00)
    Confirmed registration for product "Configuration Manager Client". CCMEXEC 10/17/2012 11:12:12 AM 2560 (0x0A00)
    ACE present for interactive user on file C:\WINDOWS\system32\CCM\cpapplet_ps.dll CCMEXEC 10/17/2012 11:12:12 AM 2560 (0x0A00)
    Starting phase 0 initialization. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Initializing performance counters. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Initializing thread pool. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Initializing task engine. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Initializing system task processor. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Registering for Network Change Events. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Creating global objects. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    SystemRequiredSeconds registry value is not set. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Entering Certificate Maintenance CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Client SSL is disabled. Setting state to 0x0. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Certificate (0x1139d50) is Exportable CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Raising pending event:
    instance of CCM_ServiceHost_CertRetrieval_Status
     ClientID = "GUID:73108EA5-C413-4AA8-BB75-F2B11E665E97";
     DateTime = "20121017071212.574000+000";
     HRESULT = "0x00000000";
     ProcessID = 2928;
     ThreadID = 2380;
     CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Loading service settings. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Error loading service settings. Code 0x80040154 CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Phase 0 initialization failed (0x80040154). CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Service initialization failed (0x80040154). CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Shutting down CCMEXEC... CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    UninitCommandExec failed (0x800401fb). CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Waiting up to 2 seconds for active tasks to complete... CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    Finished shutting down CCMEXEC. CcmExec 10/17/2012 11:12:12 AM 2380 (0x094C)
    gowthaman J

  • Connectivity issues - Bridge CC to Photoshop CC - Image Processor issues.

    Hi guys.
    I'm having issues with Image Processor between Bridge CC and Photoshop CC. I can see in the forums that others are having issues that are close to mine but not the same. I can still see my image processor tab in my Tools menu.
    The problem is that I can click the Image Processor tab and it will bring Photoshop CC to the front of all windows, act like its loading, and then nothing happens from there. The run script box doesn't come up, nothing opens.
    I was wondering if anyone else has come across this and if so how you fixed it.
    Thank you

    I'm having the same result when I run image processor from Bridge. Image processor looks like it's about to open, the wait cursor displays (Photoshop CC will open if it's closed), but then when focus switches to Photoshop, nothing happens.
    A few months ago when I tried to upgrade to PS CC 2014 I had the same problem, which was only fixed when I removed all Adobe apps and re-installed CC and Bridge with no PS CC 2014. This might fix your problem if you re-install and only use a single version.
    Currently I have both versions of Photoshop installed again as I need the linked smart object functionality of 2014 but I also need my library of extensions in Photoshop CC. (Really frustrating switch to HTML5 only, by the way Adobe)
    Does anyone know if there is any way to have both versions of Photoshop installed AND have scripts fire off from Bridge?

  • Customer Service & Infinity Issue

    Hi All,
    Apolgies for having a dig on my first post here, but looking at numerous messages over the past few days, I believe I am not alone in my current issue with BT Inifinity.
    I moved over to BT inifinty from Sky three weeks ago, as Inifnity was finally available in my area.  MY internet was then positioned at 36M download 7M upload.  A massive leap from Sky.
    I then paid 12 months line rental up front, and took advantage of the reduced rate for 3 months.
    Thats when the issues started and still contunue.
    Firstly BT infinity was installed fine, and then 3 days later we lost the house phone.  Yes, the house phone was completely dead, and as it was the weekend, we didnt have a working phone until the Tuesday.  Not to worry, teething problems I thought, but the engineer stated it was incorrect in the exchange...
    Never mind, look on the bright side, I have infinity bb speed.
    Just a week later, i recieved an email to state my limit was nearly full on my BB.  I was surprised as no one informed me there was a limit to infinity.  Therefore I then changed my account to pay more money to BT to enable the unlimited.  Thanks BT customer sales service for not informing me of that one!
    Then we come to the final piece of the jigsaw.  I didnt contact BT about my infinity service as i was waiting for the 10 days BB period to settle down.  However, we have only ever recieved max 22M download and 4.5M upload.  So i contacted BT support to report it.  Low and behold I recieve the email saying a fault has been raised, recieved two phone calls from an indian support centre, and heard nothing back.
    On checking my support status this evening, I see BT have stated in the fault report that they believe the issue is now resolved.  No email confirmation to me, and the fault is still not resolved!  I still have the same BB speeds, and no where near what i was offered.
    Based on the above, do you believe this is good customer service?  
    I am now paying more than i thought due to wrong information from the BT sales team, was not connected correctly when the service was activated, lost my home phone for 5 days, still do not recieve the speeds i was told i could recieve, and when i do raise a fault, it has been reported fixed when its not, and recieved no information.
    I am a calm person, actually do work in the telecoms industry, but if I did this to one of my customers, we would lost them.
    Could anyone help me on how to try and fix my issue please?
    Many thanks
    Alan 

    Hi, 
    If you have read my original post, then you will understand that I did report the fault, but BT have no stated in the case notes that they believe it is fixed.  This is not the case, and the notes were updated without any communication to myself.
    I am fully understanding of fault processes, but in this instance I do believe that BT customer service does need to be improved.
    I am also fully available to assist BT in resolving the fault but the fault has been reported over a week, no correspondance.
    To that end, I will not be responding to say your post was an accepted solution.
    Rgds
    Alan

  • Service desk issue in Solution manager

    Dear Friend's
    I have configured Service desk in our Solution manager .
    Solution manager version is 7.0 , on windows 2003 & oracle 10.2.0.2.0.
    I am able create messages in our satilite systems . And sending to solution manager also.
    Here issue is , when I click on send button in created message box , then our satilite system will asking password of basis user , which is present in solution manager. If I entered that password then It shows successfully send message with number.
    I want's to skip the screen , where it's asking the basis user ,password.  
    So please give me solution , If you come across this problem.
    Thanks  in advance,
    R.k sindol
    Edited by: Raj kumar sindol on Jan 20, 2009 3:30 PM

    Hello Raj,
    see SAP Note [153743|https://service.sap.com/sap/support/notes/153743] chapter "In the R/3 system of the notifier (customer data entry systems).". Changing that RFC destination should be the solution for your case.
    Best regards,
      Andreas

  • Limit/Service PO issues

    Hi All,
    I have multiple issues related to Limit or service purchase orders in SRM 4.0. We are in extended classic scenario and service pack 12.
    1. When try to Limit SC in full functionality BBPSC01, after adding limit line to SC not able to find "Follow up actions' (options to select confirmation and invoice or invoice only) and "Account assignment" (option Unknown and known) section below the basic data. Does that mean some screen modifications made to disable the above fileds? If so in which ITS template or program or BADI we could find the code changes?
    2. When create a PO directly in "Process purchase order" with item category LIMIT (PO with one line item), it created a service PO in ERP (item category D) for LIMIT value (say 100 Euro) and no service lines in service tab. Now user amended the PO in change order and added a service as second line item (200 Euro). The change order went to transfer failure and message shows "Please specify a valid account assignment" and "Instance 4400494431 of object type PurchaseOrder could not be changed". However net price of the PO in ERP increased to 300 Euro at item level but no service line added in service tab.
    Could some one help in resolving the above two issues.
    Regards
    Prasad

    For Service PO, the Item Category has to be "D" - Service.
    Please check & confirm.
    The various steps are given below:
    1. PO creation using T code ME21 / ME21n
    2. Service Entry Sheet creation using T code ML81n
    3. Release of SES using T code ML85.
    4. Invoice verification using T code MIRO (For MIRO, the SES has to be first release ie GR generated).
    Regards
    Bhavesh Mistry

  • In service order Issu:No account assignment found for this service process

    Issue:No account assignment found for this service process
    An error has occurred in the system RT1400LS while copying the document
    Message no. CRM_ORDER_MISC 020
    Diagnosis
    Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.
    Transmission log
    No account assignment found for this service process (Notification E CRM_SRV_LOG_EXT_OLTP 008)
    While we created the service order as a fallow up document of the quotation system unable to create the PR. System showing the above error in the service order.
    We created the service order with same items directly not as fallow up document to quotation PR created with out any fail.
    As per my analyses above error because system unable to find out the Internal order to create the PR hence we created service order as a fallow up document of the service quotation.
    Revert require data to understand the issue more.
    Best Regards,
    Prakesh

     Dear Gurus,
    Thanks for your update. we checked as per your suggestion but the issue is PR is not determining the IO while creating the PR.
    We used the different item cat in quotation and service order system generating the PR, But our Clint want to use the same item cat in the both service order and quotation.
    If we created the quotation after that service order with the service line item and spare part line item system creating the IO (internal order) but PR not generating.
    Please help me in this scenario what should we do.
    Best Regards,
    Prakesh.

  • P6 R8.1 Web Service installation issue on Linux

    We are trying to install P6R8.1 web services on weblogic in linux. We have the following setup:
    1. Oracle 11g standard database in CentOS-5.4 64-bit
    2. P6R8.1/ Weblogic 10.3.3.4 installed on CentOS 5.4 64-bit (separate server).
    We have installed as per the oracle installation guide without any warning/ failure. After deploying the .war file (p6ws.war), it also showing Active in Weblogic admin console. But while trying to access the application (http://localhost:7001/p6ws) we are getting error: 403 Forbidden.
    We have tested the weblogic by deplyoing some sample .war file and it works fine
    After examining, we have found that there is no index.jsp file in the root of the p6ws.war file and it is only 29 mb compare to primaveraweb.ear file which is 194 mb of our existing installation (P6V7 with similar environment).
    Is our .war file is not properly generated or we are missing some steps? Or there is any other issue?
    Any help will be highly appreciated.
    Best Regards,
    Sandip

    In previous versions the following was sufficient:
    http://HOST:PORT/p6ws/
    The correct URL as of version 8.0 of P6 Web Services is the following:
    http://HOST:PORT/p6ws/services
    See the following: "Error 403--Forbidden" When Attempting To View Available Services For P6 Web Services (Doc ID 1293112.1)

  • A web service design issue with patterns

    Hello,
    I�d like to ask for your help in the following design issue:
    I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
    - based on the given parameters gets the email addresses from an
    LDAP server (with netscape ldap for java)
    -     makes a cache from them (only after a timeout period will be the cache
    refreshed) (don�t know what tool to use for this)
    -     selects html templates which to be sent based on the given parameters
    -     sends emails with the appropriate templates (with Velocity)
    -     the whole process is logged (with log4j)
    I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
    Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
    Thank you in advance,
    nagybaly

    Hello,
    I�d like to ask for your help in the following design
    issue:
    I need to create an email sending web service (with
    Axis). Only just one method which returns with an
    integer return code. This handles the following:Lots of responsibilities here. You would do well to break this up into several classes that you can test separately.
    I would also advise that you not embed all this in a servlet. Make a service that collaborates with several objects to accomplish the task and let the serlvet just call it.
    .> - based on the given parameters gets the email
    addresses from an
    LDAP server (with netscape ldap for java)I'd recommend Spring's LDAP module. Pretty terrific stuff.
    cache from them (only after a timeout period will be
    the cache
    refreshed) (don�t know what tool to use for
    this)Maybe EhCache or OsCache or something like that.
    -     selects html templates which to be sent based on
    the given parametersWhere does this come from? Certainly not the LDAP. A relational database? Write a DAO for the document template.
    -     sends emails with the appropriate templates (with
    Velocity)Have an e-mail sender service using Java Mail.
    -     the whole process is logged (with log4j)Easily done.
    I have to write the code as generic as possible. I
    know that some design pattern should be used for
    this. No pattern. There might be patterns, if you say that the DAOs to access the LDAP and RDB are patterns.
    Stop thinking patterns and start thinking objects.
    (some from GoF , and I know there exists design
    patterns specially created for web services as
    well).Nope.
    Could you enumerate me which patterns (and for what
    part of the program) would be the best choice to
    solve this problem? I have read through some books
    about patterns, but don�t have the knowledge to pick
    up the right one for a concrete problem like this..
    Thank you in advance,
    nagybalyYou haven't read them because they aren't there. Your problem is pretty specific, even if it's common.
    %

Maybe you are looking for

  • Contact app in Yosemite 10.10.1 is crashing

    after installing Yosemite 10.10.1 my contact was working fine i was able to make make calls until now  contact app is taking several time to respond and even force quit say contacts not responding , i disable iCloud contact from system preference , t

  • Eigrp routes doesn't refresh when neighbor down

    hi guys, need some tips for troubleshooting an ongoing issue, but can't do the changes anymore untill next call and yes the issue is still ongoing.                        WAN1 <-------------------------------------------------------------------------

  • Printing to a PDF - want to name the PDF File

    I am successfully printing a document to a PDF file. I am using the ,u argument in the Print Agent and I know this causes the pdf document to get a generic filename. How can I get the pdf filename to be a meaningful name such as the PO number? In oth

  • How do you save characters in an array and then output the characters as a string one by one.

    I want to know how to save a number of different characters to an array. then after open this array and read these values one by one as a string.

  • Cant view itunes account details or make purchase with iphone

    Hi. I can log in to my itunes store account with my iphone 3gs. However, when i try to access account details or make a purchase i am prompted for my password again. When I enter this (correctly) I just get re-prompted immediately. I'm stuck in a loo