I'm doing something simple wrong!
Hi,
I have a program which uses SonicMQ messenger to send JMS messages to a server and everything works fine until I pack it up into a JAR file.
I've traced the point in the program it will get up to and it is the first command that uses a package in the SonicMQ API.
I think it sounds like a classpath problem but I've set the classpath to reference all the sonic .jar files and I can't think of anything else.
The wierdest thing is that it works fine on a colleagues computer but we can't see what is different about his setup. He has far less files referenced in his class path although he also has SonicMQ installed.
Any help would be much appreciated as I'm very new to JMS and sonic (like one week!).
Cheers,
Ben.
The main method is in a seperate class which instantiates this one. My program has two methods of communication, firstly via sockets and this all works absolutely fine, even from out of the JAR file, the second using SonicMQ as my JMS provider works great when I run it from JBuilder5 but not from the Jar file. It is all one program which just connects different ways depending on your choices. JBuilder sets the classpath when it runs something and I have cut and pasted all this info into my environment variables and am certain that they point to the class which I am getting a ClassNotFoundException for, that is why I cannot understand what is going wrong at all.
What is the difference between a ClassNotFoundException and a NoClassDefFoundError?
This is my output:
connecting to wins-jiway2.wins.co.uk on 2506
clientName: bm1004002841249bm
Attempting to create connection...
Sonic connecting to: wins-jiway2.wins.co.uk:2506 user pswd winner_from_wins winner_to_wins
java.lang.ClassNotFoundException: progress.message.net.tcp.ProgressTcpSocketFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at progress.message.net.ProgressSocketFactory.Cp_(:97)
at progress.message.net.ProgressSocketFactory.getFactory(:64)
at progress.message.net.ProgressSocketFactory.getFactory(:54)
at progress.message.zclient.Connection.lq_(:2245)
at progress.message.zclient.Connection.connect(:577)
at progress.message.zclient.Connection.connect(:846)
at progress.message.jclient.Connection.<init>(:223)
at progress.message.jclient.QueueConnection.<init>(:126)
at progress.message.jclient.QueueConnectionFactory.createQueueConnection(:252)
at com.bootcomputers.rsp.SonicLink.setupConnection(SonicLink.java:98)
at com.bootcomputers.rsp.SonicLink.<init>(SonicLink.java:60)
at com.bootcomputers.rsp.mainFrame.createSocket(mainFrame.java:1053)
at com.bootcomputers.rsp.rspClient.<init>(rspClient.java:58)
at com.bootcomputers.rsp.rspClient.main(rspClient.java:133)
progress.message.util.EAssertFailure: STR008java.lang.ClassNotFoundException: progress.message.net.tcp.ProgressTcpSocketFactory
at progress.message.net.ProgressSocketFactory.Cp_(:106)
at progress.message.net.ProgressSocketFactory.getFactory(:64)
at progress.message.net.ProgressSocketFactory.getFactory(:54)
at progress.message.zclient.Connection.lq_(:2245)
at progress.message.zclient.Connection.connect(:577)
at progress.message.zclient.Connection.connect(:846)
at progress.message.jclient.Connection.<init>(:223)
at progress.message.jclient.QueueConnection.<init>(:126)
at progress.message.jclient.QueueConnectionFactory.createQueueConnection(:252)
at com.bootcomputers.rsp.SonicLink.setupConnection(SonicLink.java:98)
Similar Messages
-
Hi All,
I am currently trying to backup my iTunes library onto an external hard drive so that I can copy it onto my new Macbook Pro. I have been following the steps posted on the Apple website however each time I get a dialogue box stating:
'The operation cannot be completed because you do not have sufficient privileges for some of the items'.
Is this because I have items that were bought under another persons iTunes account? If so, is there a solution to this problem? Or am I doing something completely wrong?
Thanks in advance,
Sbrooks19Go through the below forum with similar issue and follow the process mentioned by "Macjack" in the beginning.
https://discussions.apple.com/thread/4499820 -
I recently bought an i phone 4 but I can't set up a talktalk email
Account, am I doing something wrong or is it not possible, has any actually set one upShould check with your e-mail provider.
Anyway a simple search you get this:
http://help2.talktalk.co.uk/settings/how-do-i-set-iphone-talktalk-email -
when i contol click on the downloads icon in the dock i get the gris view . I thought if you control click, you are able to change the view to fan or list. am I doing something wrong.? Icheck to make sure the contol key is working by doing a screenshot and it works there. What am I doing wrong?
Needs to be a Stack ?
-
hi guys i just downloaded the ios 5 and while it was doing back up something went wrong and everything were stopped and shows me a message as an error msg and now whenever i connect my iphone 4(32g) to itunes after 1min it goes off and the battery full and the same thing happend again and again can u help me guys plz i only see connect to itunes on the screen no options even
by reset option do you mean the DFU restore? worked for me, have you tried that?
if not - hold the lock and home button until the power down bar comes up. then hold the lock button for ten seconds - next continue to hold the lock button and press the home button for ten seconds - next release the lock button and hold the home button for 10 seconds. this should be done with the phone tethered. If done right and your itunes is configured as such, the phone will reload the drivers and start up itunes, and then prompt for a restore/update. -
I have added photos to My Photo Stream on my PC (Windows 7). They appear in the Uploads folder instead. They do not upload to iCloud. Am I doing something wrong?
Unfortunately, photo stream on a PC is iffy at best. Many people have problems getting it to work properly, including myself. A work around would be to use an app like PhotoSync on your PC, which can send photos wirelessly to the camera roll on any of your iOS devices on the same wifi network. Once in the camera roll, you iOS device will be added to your photo stream.
-
My iphone 4s wont sync when I connect it to the pc( not apple). It is connected as it comes up on itunes but when I try to sync it with apps/ music etc it wont. I am doing something wrong or is it a mistake with the phone. I am still able to download apps and music from itunes on my phone though.
I already restored it but that didn't help.
TIA for any replies.iPod touches or any iDevices from Apple sync only to one computer. If you sync to a different computer, all your music will be replace with the music from the new computer's iTunes. If the music were purchased from iTunes, you can re-download them again otherwise the music on iPod touch will be deleted. Do you have iTunes backup?
-
I have backed up my old phone to itunes, however, when I try to restore data to my new phone it is saying the password is incorrect but I can get into my itunes account with my password so I am doing something wrong?
I'm having this EXACT same problem with my iPhone 4, and I have the same computer stats (I have a Samsung Series 7)
-
I have a Windows 8.1 and it's even running slow. I'm a complete novice with computers (I've only had this one for 3 weeks) and I'm probably doing something wrong, but I haven't a clue what.
The tools are not responding when I try to use them. Some of them work sometimes, but not others and some don't work at all. I'm in a design class online and I need these tools desperately. I have an assignment due Monday and I'm losing the whole weekend because Tech Support is only open M-F!
Any help anyone can give me will be appreciated.
Thanks,
Rose IrelandMaybe these links provide some pertinent information.
Optimize performance | Photoshop CS4, CS5, CS6, CC
Photoshop: Basic Troubleshooting steps to fix most issues -
HELP! Downloaded LR5 and when open it shows an error message saying error while trying to change from modules and I can not even import photos. Am I doing something wrong?
I have the same problem, and the solutions in Error changing modules | Lightroom do not work. Even uninstalling and reinstalling a new copy did not solve the problem. As anyone got an idea what other lingering files might be causing the problem?
-
After creating a new slideshow I export it with the setting HD 1080p it is then saved as a .mov i then create a dvd in idvd and the quality is not as good as the original photo's when viewed on the monitor or a TV, am i doing something wrong?
DVD's are only 640 x 480 (interlaced), so yes, the quality is not nearly as good. You should probably create your .mov in DV format to best match the DVD format
-
Is this a bug in ipod software or am i doing something wrong?
I got my ipod video a few weeks ago and was excited to be able to carry all 7000+ songs around in one place.. but then i ran into this problem and i'm not sure if it's a bug or if i'm doing something wrong.
let's say i have exactly one album by an artist.. and i also happen to have some singles from the artist, with no album set... (i prefer not to have albums set for songs i don't have the entire album for, to keep from having to sort through a truckload of albums i don't completely have).
when i browse by artist, and i select the artist, only the songs in the album shows up, all the non-album labeled songs are not visible! the same thing happens when i choose by genre..
in fact the only way to find those songs not bound to an album is to select them from the song list.. and having to scroll through 7000+ songs to find one really bites..
curiously enough, if there is two or more albums, then i can find the songs without albums.. definately sounds like a bug to me.. the software for the ipod video is only at v1.0, maybe they'll fix this (hopefully other ipods don't have this problem, i have no way of knowing though).
one work around i have tried is to set an empty album for the artist's song that has none, but i mean i don't want to do that for all my non-albumed songs because i'm interested in preserving the timestamp of songs (to know when i got them) and i can't reasonably search for songs that have exactly one album to just set those..when i go to Music > Artist > All, as you suggested, i see all the albums i have listed. doesn't really relate to my problem with artists with songs in one album, as well as song w/o album set, and the latter not showing up.
but that reminds me, why is it when i go to the All section from a particular artist and they do have more than one album (or even no albums), the order of the songs is in the order they are in the albums.. if i wanted the order it is on albums, i would have selected that album for example.. it would be nice if the songs were in alphabetical order when you're NOT browsing by album, making a particular song easier to find (what if you have thirteen albums for example and u aren't sure which album a song is on, now you have to scroll through a seemingly random ordered list to find one song, alphabetical would be SOOOO helpful!) -
I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?
What happens when you convert to excel?
-
I am new to Lightroom 5 and find I cannot crop my photos as easily as I did in iPhoto. I would like to be able to drag them if I choose a custom size or crop them from the bottom as well as from the top but my two sided arrow disappears when I work at the bottom of the photo. Am I doing something wrong?
I would suggest you trash the prefs.
Quit Lightroom
Launch Finder and find the user Library by clicking the Go menu whilst holding down the Optn (alt) key (n.b. the library is hidden until you press the optn key) and inside the Library folder select the preferences folder. Then trash the following file:
com.adobe.Lightroom5.plist
Then re-launch Lightroom
It’s then worth clearing each cache. Go to the top menu bar:
Lightroom >> Preferences >> File Handling (tab)
Click the Purge Cache button under Camera Raw Cache Settings; then click the Purge Cache button under Video Cache Settings. Finally click OK. -
Ive just signed up for the adobe photoshop pack, i use a mac, when i click download, nothing is happening.. Am I doing something wrong?? When I try and open the software I already had from trial it says its expired, or i need to use a serial number... HELP Anyone else experienced this?
If there is an option to "license this software", and it takes you to a sign-in page with username and password (not a serial number) - then just go ahead and sign in.
If it insists on a serial number you need to uninstall the trial. Then try to download again.
Maybe you are looking for
-
How do I add a folder to the library into the smart playlist called "recently added"?
Hello Apple users! I really miss the old version of I-tunes that allowed you to manually add files and folders from your hard drive directly into individually created I-tunes playlists with nothing more than copy and paste. I don't mind that the new
-
PS CS5 opens but canvas invisible unless in motion
This is my story. Please read carefully, as I'm about to pull all of my hair out...I know this is long and detailed, but I'm trying to anticipate questions y'all might ask. I'm an experienced Photoshop user. I just installed Adobe CS5 (the whole suit
-
Snote 717452 having the status of "cannot be implemented"
Dear all... While implementing Snote 717452 having the status of "cannot be implemented". is there any solution for this.. Thanks,
-
Hi, We have updated our SLD as per the note 669669, after that we have imported EPBUILDT into the MSS track after that all the tracks have become inconsistent and we see all the DC's as <b>broken</b> in CBS. Let us know if we have any procedure to re
-
Illustrator CS classes not known
Some of Illustrators AppleScript classes are not known in ScriptEditor, e.g. layer. The following results in a syntax error: tell application "Illustrator CS" open file "Space:Users:bernhard:Documents:Test.ai" name of layer 1 of document 1 end tell T