Recovering connections to queues and topics if a provided become unavailabl
Hello! I've got a service that creates a thread to a given JMS queue or topic. When the service is started, it is verified that the queue or topic is reachable. However, over the course of time, the JMS provider could be restarted bringing it offline temporarily. When it goes offline and later comes back on line, the thread that was previously connected is not aware that the provider is back on line and does not pick up any messages in the given topic. Does anyone know what the proper way to handle this is in JMS land? I've been looking into durable subscribers, but I'm unsure if this will do for me what I want. I'm trying to avoid have to constantly poll for the queue/topic status or force the user to restart the service periodically. Thanks in advance!
hi.
depending on your JMS provider - you may use the Connection's method setExceptionListener().
keep in mind, however, that not all providers are fail-safe in the case of a provider's shutdown-startup sequence or network failures. you might want to experiment a little with the provider you installed and see what happens in various situations.
Nimo.
Similar Messages
-
J2EE client mapping in WL6 - continued : jms queues and topics
How can one use "generic" (i.e. "java:comp/env/jms/myQueue") names in client
code for jms queues and topics,
since neither application-client.xml nor WL's myjarname.runtime.xml
have elements for them ?
I mean, jms managed objects are not env-entries (application-client.dtd
specifies that only primitive wrapper types can be valid env-entry-value)
nor resources (which I understand are all connection factories, for jdbc,
jms or mail ...).
In my ejb-jar.xml I use the resource-env-ref element :
<resource-env-ref>
<resource-env-ref-name>jms/CreationErrorQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
which can be mapped in weblogic-ejb-jar.xml
<resource-env-description>
<res-env-ref-name>jms/CreationErrorQueue</res-env-ref-name>
<jndi-name>jms.aregon.CreationErrorQueue</jndi-name>
</resource-env-description>
but I don't know how to map the jndi of such objects in a client
application.
EdoHi Sachin --
In the 10.1.3.1 release, a set of new commands have been added to admin_client.jar to support the command line creation of JMS resources:
-addJMSConnectionFactory -domain <domain> -jndiLocation <jndiLocation> [options]
-removeJMSConnectionFactory -jndiLocation <jndiLocation>
-getJMSConnectionFactories
-addDestination -domain <domain> -name <name> -jndiLocation <jndiLocation> [options]
-removeDestination -name <name> [options]
-getDestinations
You can read about it in the doc:
http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDDFJJA
cheers
-steve- -
How to create JMS Queues and Topics - OAS 10.1.3?
Hi,
Is there a way to create JMS Queues and Topics via the command line for OAS 10.1.3, say through admin-client.jar ?
I have read the "Managing Adminitered Objects" chapter from the "Oracle Containers for J2EE Resource Adapter" book and could not find the information I am looking for.
Thanks.
-SachinHi Sachin --
In the 10.1.3.1 release, a set of new commands have been added to admin_client.jar to support the command line creation of JMS resources:
-addJMSConnectionFactory -domain <domain> -jndiLocation <jndiLocation> [options]
-removeJMSConnectionFactory -jndiLocation <jndiLocation>
-getJMSConnectionFactories
-addDestination -domain <domain> -name <name> -jndiLocation <jndiLocation> [options]
-removeDestination -name <name> [options]
-getDestinations
You can read about it in the doc:
http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDDFJJA
cheers
-steve- -
Get jms queue and topic names from JNDI
Hello all,
How do I get all possible queue and Topic names from JNDI (in my app) so I can store them in a HashMap?
ThanksI'm guessing you know where in the JNDI you put your queue and topic names. Then you can do:
context.listBindings("myJNDIContext");
and go through the NamingEnumeration that this returns. -
Using distributed queues and factories in a weblogic cluster
Hi all,
in our environment we have a domain which has two machines. One is running the AdminServer and Node1 and the 2nd machine is running Node2.
For each Node I have created a JMS Server and a corresponding file store located at each machine.
I've also created a JMS Module containing our required queues, factories and topics. Queues and Topics are of the Uniform Distributed type.
I've targeted this module at the cluster and experimented with creating a subdeployment. But from what I recon, since all my resources have default targeting
enabled, a subdeployment is not required, they target what is targeted by the JMS Module, right?
However I get an exception when both nodes are up:
<Nov 4, 2008 11:47:01 AM EET> <Warning> <JMS> <BEA-040498> <An error occurred while forwarding a message for distributed destination member
MyJMSModule!MyJMSServer@myTopic: weblogic.messaging.dispatcher.DispatcherException: java.rmi.RemoteException: Couldn't connect to weblogic.rjvm.RJVMImpl@187766d - id: '-1415064081927280896S:10.0.0.5:
[7001,7001,-1,-1,-1,-1,-1]:app1:7003,app2:7001:my_domain :NodeApp2' connect time: 'Tue Nov 04 11:47:01 EET 2008' - it is likely that the connection has already been shut down; nested exception is:
5564732 java.rmi.ConnectException: Couldn't connect to weblogic.rjvm.RJVMImpl@187766d - id: '-1415064081927280896S:10.48.92.70:[7001,7001,-1,-1,-1,-1,-1]:app1:7003,app2:7001:my_domain:NodeApp2'
connect time: 'Tue Nov 04 11:47:01 EET 2008' - it is likely that the connection has already been shut downThe two nodes are up and running and the node managers as well. Is this the correct way to create the queues and topics for a clustered environment?
Thanks
Edited by: dvm on Nov 4, 2008 3:12 AMI've done the steps but the problem still persists. I don't know if I had this before, but now both machines can't see each other.
From Node1 logs *.out file:
<Warning> <JMS> <BEA-040498> <An error occurred while forwarding a message for distributed destination member MyJMSModule!MyJMSServer2@my_cacheTopic:
weblogic.messaging.dispatcher.DispatcherException: java.rmi.RemoteException:
Couldn't connect to weblogic.rjvm.RJVMImpl@62017d - id: '4786464166486913267S:10.48.92.70:[7001,7001,-1,-1,-1,-1,-1]:app1:7003,app2:7001:my_domain:NodeApp2'
connect time: 'Wed Nov 05 16:03:53 EET 2008' - it is likely that the connection has already been shut down; nested exception is:
java.rmi.ConnectException: Couldn't connect to weblogic.rjvm.RJVMImpl@62017d - id: '4786464166486913267S:10.48.92.70:[7001,7001,-1,-1,-1,-1,-1]:app1:7003,app2:7001:my_domain:NodeApp2'
connect time: 'Wed Nov 05 16:03:53 EET 2008' - it is likely that the connection has already been shut downand from Node2 logs *.out file:
<Warning> <JMS> <BEA-040498> <An error occurred while forwarding a message for distributed destination member MyJMSModule!MyJMSServer1@my_cacheTopic:
weblogic.messaging.dispatcher.DispatcherException: java.rmi.RemoteException:
Couldn't connect to weblogic.rjvm.RJVMImpl@24b64a - id: '-788798942991630857S:10.48.92.69:[7003,7003,-1,-1,-1,-1,-1]:app1:7003,app2:7001:my_domain:NodeApp1'
connect time: 'Wed Nov 05 16:03:59 EET 2008' - it is likely that the connection has already been shut down; nested exception is:
java.rmi.ConnectException: Couldn't connect to weblogic.rjvm.RJVMImpl@24b64a - id: '-788798942991630857S:10.48.92.69:[7003,7003,-1,-1,-1,-1,-1]:app1:7003,app2:7001:my_domain:NodeApp1'
connect time: 'Wed Nov 05 16:03:59 EET 2008' - it is likely that the connection has already been shut downThis happens just after the managed servers have been started with the application previously deployed. -
Can somebody tell me the difference between queue and Topic in JMS?
Queues are used to send messages between single applications, as far as I recall. App A puts a message in Queue Q and App B consumes the message, once B has consumed the message no other application can 'read' it.
A topic allows application A to broadcast a message to every other application that is listeningo on the topic.
It's the difference between whispering and shouting.
J -
Setup connection factory and topic in Netscape Directory Server
I'm using Netscape Directory Server(NDS) and WLS5.1.
What should I setup in the NDS in order to lookup the connection
factory and topic in WLS?
ThanksMy first suggestion is to find an log on de NDS server (maybe it states a reason for the closing the connection)
Otherwise use Ethereal to examen the trafic between the to machines. Maybe that helps.
Or check if the NDS wants 2-way authentication and is trying to get your certificate as wel. -
iTunes RADIO is not working.
“iTunes could not connect to the iTunes Store. Make sure your internet connection is active and try again.” Try as I may, as many as ten attempts, trying to connect after restart, after shutdown, nothing works. Just so …
iTunes STORE not “connectable” with my otherwise perfectly-working internet connection, viable, up and running for all other uses.
Simply put, firstly, I can't connect to the internet when I click on Radio. People are quite suspicious that this is Apple incompetence or your company's famous arrogance for this commonly-suffered problem that you won't or “can’t” fix.
Read the many web comments and you won’t be pleased with yourselves: the suspicion is that if you ruin internet radio on iTunes, Apple will somehow make more money on music downloads, etc. Bull.
Also, thirdly, my old playlist of 20 or so internet radio stations in the Ambient category STILL PLAYS !
Then fourth, I installed the latest available version of QuickTime Player 7.app Version 7.6.6 but it didn’t solve the problem either. I had QuickTime Player.app Version 10.2, but substituted what Apple website said was the latest, LOWER NUMBERED QuickTime Player version of 7.6.6
Fifth, I can't connect to iTunes store no matter what I do or what user group's advice I try. So I can’t buy or download anything from iTunes. Bad for business.
Sixth, I updated to the latest version of iTunes but this weird problem remains. All suggested Apple fixes or user group fixes are useless. Where is Apple’s famous technical competency, vaunted customer support?, and user-friendly product reputation? Get it back, please.
Solve this problem of yours ASAP for us, your numerous disgruntled, dissatisfied customers of iTunes. You can do better, should, and really –in all fairness- must.
===============================================================
NOTE: no password for iTunes exists in my Keychain. Is this a problem?
Apple ACCOUNT ID, and iTunes ID password, works but not to access iTunes with my healthy internet connection.
Apple store id It works via direct internet connetion but not through iTunes. Very strange.
===============================================================
FYI, Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro8,2
Processor Name: Intel Core i7
Processor Speed: 2 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 16 GB
Boot ROM Version: MBP81.0047.B27
SMC Version (system): 1.69f4
Serial Number (system): C0*******F8V
Sudden Motion Sensor:
State: Disabled
Intel 6 Series Chipset:
Vendor: Intel
Product: 6 Series Chipset
Link Speed: 6 Gigabit
Negotiated Link Speed: 6 Gigabit
Description: AHCI Version 1.30 Supported
M4-CT512M4SSD2:
Capacity: 512.11 GB (512,110,190,592 bytes)
Model: M4-CT512M4SSD2
Revision: 040H
Serial Number: 0000000012330912E75A
Native Command Queuing: Yes
Queue Depth: 32
Removable Media: No
Detachable Drive: No
BSD Name: disk0
Medium Type: Solid State
TRIM Support: Yes
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Verified
Volumes:
disk0s1:
Capacity: 209.7 MB (209,715,200 bytes)
BSD Name: disk0s1
Content: EFI
disk0s2:
Capacity: 511.25 GB (511,250,432,000 bytes)
BSD Name: disk0s2
Content: Apple_CoreStorage
Recovery HD:
Capacity: 650 MB (650,002,432 bytes)
BSD Name: disk0s3
Content: Apple_Boot
Volume UUID: 600737FB-7A29-3BAE-859E-CBFE2E90C39A
<Edited by Host>This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
I live in Europe ,So Be persistent and don't give up ! Aug. 2013 -
My Printer: HP Photosmart C309a
My Laptop: HP G71 series
Operating System: Windows 7 (64 bit) but runs a lot of stuff on 32 bit
Problem: I print ONE copy of a multiple page document in Adobe Reader 9. I select even pages only (after which I would reinsert the pages and tell it to print odd pages only, to get the other side). The printer makes a sound indicating the job is finished, I remove my pages to collate them, and then the printer continues to print the job again without so much as a keystroke.
Naturally, you find the printer in the devices on the control panel, click "see what's printing" and highlight the job and cancel it.
Then somehow it turns off my print spooler.
I have tried everything suggested on other forums, like
restart the laptop/restart the printer
going to c\windows\system32\spool\printers and deleting whatever is hung up in there (usually a shockwave file).
Going to Services\print spooler \properties and making sure the settings are set to automatic
Uninstall\reinstall latest driver and software
Switching from Adobe Reader 10 to Adobe Reader 9
Use System Restore to try to reset the system to a previous state.
Run Trend Micro to check for viruses and spyware--nothing shows up.
I am positive the pdf doc is NOT the problem, because I can print it on my husband's laptop multiple times over with no problems.
Does anyone have this problem as well? Has anyone found a genuine solution other than manually canceling print jobs in queue and constantly restarting the print spooler?
Thanks in advance for any suggestions.
--HollyHi,
I believe your printer is wirelessly connected to your computer, right?!
What's the current printer software version installed in your laptop computer?!
to see: click start>control panel>uninstall a program under Programs then it will tell you the software version like HP Photosmart c309a v13 or v14.
If the software version is v13, click here to download and install the current software.
IF all things still fail, try to use the workaround provided by HP in this link. It says:
Workaround
Your HP printing product can operate sufficiently using an alternate print driver, although there might be some limitations. For instance, some buttons on the product control panel might not function, but the product prints normally from the computer. If the solutions in this document do not solve the issue, download and install an alternate print driver.
Follow these steps to install the HP Deskjet 990C print driver.
NOTE: These steps install the new print driver using the same port that the product already uses. The product functions normally with multiple drivers on the same port.
Find the port that the product already uses.
Click the Windows icon ( ), and then click Control Panel . The Control Panel opens in a new window.
Click Hardware and Sounds .
Click Printers . The Printers folder opens.
Right-click the product icon ( ), and then click Properties . The Propertieswindow opens.
Click the Ports tab. A window opens with a list of ports. The port for the product has a checkmark or a highlight.
Note the name of the port indicated for the product.
Close the Properties window, and then continue with the next steps.
Click Add a Printer in the menu bar at the top of the Printers window. The Windows Add Printer Wizard opens.
Click Add a local printer .
Select Use an existing Port .
Click the drop-down menu next to Use an existing Port , and then select the port that you noted earlier in these steps.
Click Next .
In the Manufacturer pane, click HP .
In the Printers pane, click HP Deskjet 990c , and then click Next . (IF YOU CANT FIND DESKJET 990C, JUST CLICK WINDOWS UPDATE WITHIN THIS WINDOW. THEN FIND DESKJET 990C and then click next)
Type a name for the new printer in the Printer name box, or keep the default name.
Select Set as the default printer , and then click Next . A window opens with a progress bar as the printer installs. Then a new window opens.
Click Do not share this printer , and then click Next .
If you want to print a test page, click the Print test page button.
Click Finish to complete the driver installation.
Try printing again, but select HP Deskjet 990c from the Print dialog box.
If this solves the issue, follow these steps to use the HP Deskjet 990c print driver whenever you send print jobs to the product.
In the program you are using, select the option to print. The Print dialog box opens.
Click the Name drop-down menu, and then select HP Deskjet 990c .
Change print settings as desired in the Paper size , Quality , and Paper type drop-down menus.
Select the Print range and Copies options as desired.
Click OK . The product prints the file.
Kiko -
My Pavilion A6207c no longer connects to internet and my printers disappeared.
I cannot connect to internet and I cannot reinstall my printers. A spooling error appears when I try to reinstall the printers. I'm looking for driver's to update or recover for the Vista Home Premium OS.
All Wifi networks. It recognises the name of the networks, then thinks and thinks and doesn't lauch the wifi mode.
-
Officejet Pro 8600 Wireless Setup -Printing shows in Queue and then disappears. Not Printing
I just received the Officejet Pro 8600 as a gift and loaded the set up software and it on my wireless network. When I try to print an email or a coupon, the command goes to the printer and shows in the queue. Then after several seconds, the printing queue (job) disappears without printing the document. Does this command go through the HP ePrint function or the Network Officejet Pro 8600? It shows the HP ePrint as being on USB.
I've run all of the diagnostics, downloaded all of the new software, firmware and updates. I've spend many hours trying to get the printer to print.
Thank you for any help you can provide.
This question was solved.
View Solution.Hi @bksechols
Welcome to the HP Support Forums. I understand that when you send a print job to your Officejet 8600 printer that it goes to the print queue and then disappears without the print job printing.
To better assist you, would you please provide some additional information?
How is the printer connected (USB cable, ethernet, or wireless)?
What operating system are you using?
Are all print jobs failing? If yes and you are using a Windows operating system, please Try the HP Print and Scan Doctor for Windows. The HP Print and Scan Doctor is a free utility (tool) that helps to quickly resolve common printing, scanning and connectivity issues.
When you send a print job are emailing the printer’s ePrint email address? If so please review The HP ePrint Print Job Did Not Print If you are sending the print job by using the print command, please review the Print Jobs from Your HP Printer are Stuck in the Print Queue document.
I look forward to hearing from you.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
my itunes says it can not sync my ipod touch key in password on the device but my ipod touch says ipod disabled connect to itunes and doesnt give a option for my password how do I unlock my ipod
See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once... Be sure to Follow ALL the Steps...
Take your time... Pay particular attention to Steps 3 and 4.
After you have Recovered your Device...
Re-Sync your Content or Restore from the most recent Backup...
Restore from Backup > http://support.apple.com/kb/ht1766 -
i have disable my iphone 5 and now its say on my iphone that iphone is disabled connect to itunes and i have tried apple support on how to connect to itunes and it still doesnt work i need help a.s.a.p
Read the article you linked. It tells you how to put it in recover mode
-
A way to "re-connect" bezier handles and other path editing techniques
I've searched and rummaged through tutorials for days but I haven't found a way to do a few things that I've come to think of as essential when it comes to path manipulation.
I'm using Illustrator CS4 (on Windows XP SP3) and I'm coming from a background of Inkscape. Within Inkscape, there are several handy tools that are missing from Illustrator that I haven't found workarounds for. Here's a list of these tools and a brief description for each of how they work within Inkscape:
]- "Shift + C" with anchor point selected: this will make the bezier handles of the point move independently of each other.
]- "Shift + S" with anchor point selected:
b this will "connect" the bezier handles
so that moving one side moves the other side relatively (and opposite to each other so that the bezier handles form a straight line).
(note: in Inkscape there is no way to make the bezier handles relative and not form a straight line, which is something I know would be useful)
]- "Shift + Y" with anchor point selected: this will make the bezier handles collinear (like shift + S) plus make the lengths of both handles the same.
(note: another possible feature would be to make the handle lengths relative, but not the same)
]- "Shift + Click + Drag" on a selected anchor point with the path selection tool: this creates one bezier handle in the direction you drag. This is very useful if you don't want to change the curve of the other side.
With these functions (preferably including the suggestions I've noted), path editing in Illustrator would be much easier.
On the topic of Inkscape's path editing abilities, there is also a way within the program to delete anchor points in two ways:
]The default way is to press "Del," which deletes the anchor points and makes the anchor points around the deleted points attempt to fill the area as close as possible to how it was with points.
]The second way is to press "Ctrl + Del," which deletes the points and does nothing to the surrounding points.
Inkscape's default deletion method is a huge time saver when you simply have a surplus of anchor points; you can the excess and the shape maintains itself (often the result is for the shape to smooth itself out).
I hope that these suggestions are described well enough to be understood. I also hope that, in understanding these potential techniques, you can see their potential usefulness within Illustrator.Lee,
All those functions are present in Illustrator. I personally think their interface stinks in some ways, but they are there.
> "Shift + C" with anchor point selected: this will make the bezier handles of the point move independently of each other.
Convert AnchorPoint Tool. Press Alt to invoke it when the Pen tool is active. Otherwise, switch to it with Shift C. Use it to drag a smoothPoint's handle, and it will convert the point to a cornerPoint, letting you move the handle you click independently.
> "Shift + S" with anchor point selected: this will "connect" the bezier handles so that moving one side moves the other side relatively (and opposite to each other so that the bezier handles form a straight line).
Again, the Convert tool. Mousedown on an anchorPoint and drag. The point will become a smoothPoint and both handles will extend symmetrically.
There are also buttons to convert selected points between smooth and corner in the Control Panel when anchorPoints are selected.
> (note: in Inkscape there is no way to make the bezier handles relative and not form a straight line, which is something I know would be useful)
In my musings about Bezier drawing interfaces, I've often imagined a metaphor of "joints" rather than points. (That's really what they are: two adjacent Bezier curves with coincident endpoints.) Joints can be "hinged" or "locked"; "bent" or "straight". They can also be "dislocated". Joints can be locked bent or locked straight, and can be moved either way.
> "Shift + Y" with anchor point selected: this will make the bezier handles collinear (like shift + S) plus make the lengths of both handles the same. (note: another possible feature would be to make the handle lengths relative, but not the same)
See second item, above.
> With these functions (preferably including the suggestions I've noted), path editing in Illustrator would be much easier.
They are there; thier interface is just different.
> On the topic of Inkscape's path editing abilities, there is also a way within the program to delete anchor points in two ways:
> The default way is to press "Del," which deletes the anchor points and makes the anchor points around the deleted points attempt to fill the area as close as possible to how it was with points.
Not present in AI. (Not associated with a direct point manipulation tool, anyway. Commands like Simplify try to remove points while retaining the shape.)
> The second way is to press "Ctrl + Del," which deletes the points and does nothing to the surrounding points.
The Delete AnchorPoint Tool. Invoke it by pressing the minus key. Similarly, there is an Add AnchorPoint Tool, invoked by pressing the plus key. By default, the Pen Tool does that automatically to selected paths, but you can turn it off in prefs (unlike the infuriating auto join behavior, which affects UNSELECTED paths.)
> Inkscape's default deletion method is a huge time saver...I hope that...you can see their potential usefulness within Illustrator
Just about every user of programs like Illustrator, FreeHand, Draw, Canvas know very well the advantages of keyboard modifiers for such things, and all such programs provide them. (Although I do consider AI's treatment considerably more tedious than FreeHand's.)
You need to spend some time looking at the keyboard shortcuts described in the Help files, and carefully practicing them. You need to know how to invoke them while in the process of drawing paths with the Pen.
JET -
My iPod got wet, I put it in a bag of rice for 4 days now the Ipod Works in my music player dock, but wont connect to pc and wont work on its own.
Greetings Socs4bill,
It seems your iPod has been exposed to liquid and is not operating properly. Based on the information you have provided, it appears your iPod needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, battery replacement, and express replacement service.
Apple - Support - Service Answer Center
Thank you for contributing to Apple Support Communities.
Best,
Bobby_D
Maybe you are looking for
-
Design view different from preview - is muse still in beta testing
I have limited experience with coding html so when Adobe released Muse, I was excited. However, I'm wondering if they released it too soon and/or if it is still in beta testing - which I don't mind but would like to know what I'm dealing with. It see
-
SOA Suite 11g - dynamic JNDI destination JMS adapter
hi there soa suite users, im currently using oracle soa suite 11g, my use case having a bpel process processing something and then route the result to several queue. like this: jms/adminduk/queue/mks1 jms/adminduk/queue/pdg1, etc... so the destinatio
-
os:linux 64 obiee:bi_windows_x86_111130_64_disk when create domain faild, pls help me!! Creating a new AdminServer Object ... AdminServer port is 7001 Starting the domain ... oracle.as.provisioning.util.ConfigException: Error while starting the domai
-
I have no problems using the javac command to compile files normally but when I try to compile using the following command - javac - sourcepath <c:\test> *.javaI am getting the following message - Access is denied.Does anyone know what might be caus
-
Auto batch determination at the time of picking by transfer order
Hello, Our problem is, at the time of creation of transfer order with reference to delivery, system can not pick up the batches automatically as per the SLED. We have to manually enter the batches as per the SLED. Could you please guide me step by st