Re: Debugging with Orion/Kawa Pro 5.0
We had a problem where if you install Enterprise the uninstalled. Then installed Kawa Pro you could not run orion from inside. This is it!! I tried it on a computer that Kawa had never been installed on and it worked. Kawa is now giving me a message that it can't find server.xml so I guess I have to tell Kawa to look in the orion\config directory or add server.xml to the project. Thanks alot Owen! -Dennis Owen Fellows wrote: I remember seeing something about orion not working in Kawa Enterprise. We had a problem where if you install Enterprise the uninstalled. Then installed Kawa Pro you could not run orion from inside. Can't remember if this was orion but there where issues with changing Kawa'a (if think kawa released a patch to fix it). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DENNIS STRAIGHT Sent: 07 September 2001 06:48 To: Orion-Interest Subject: Debugging with Orion/Kawa Pro 5.0 I appreciate Dave Smith's write-up on debugging with Orion/Kawa but, unfortunately, I think I'm missing something and need more info. Here is what I did: Created a new project with all of my java files (servlets, EJBs, and regular Java). Added Orion.jar to the Kawa classpath. Set the class to run to com.evermind.server.ApplicationServer Made sure JVMDI was turned off Added breakpoints, hit F5 and... nothing happens, I don't see orion starting in Kawa's output pane... I don't see anything. Next, I open a web browser set to a localhost url that works fine when I run Orion from DOS and, of course, the page is not found. Because Orion hasn't started, I'm sure. Does anybody know what I'm doing wrong (Why Kawa isn't starting Orion)? Below I'll print Dave Smith's debugging tips, if anybody can tell me anything that is missing I would greatly appreciate it. Thanks, Dennis Dave Smith adds: Debugging with Orion and Kawa is a pleasure. Get Kawa Pro (not the enterprise version) from Tek-Tools and install it. Configure your JDK as required when you first run Kawa. (Note that Kawa is a Win32 application, which is one of the reasons I don't use it.) Create a new project for your servlets or EJBs. Add orion.jar, any additional jars required by the application, and the deployed class directory (i.e., c:\applications\myApp\myApp-web\WEB-INF\classes or c:\applications\myApp\myApp-ejb, or both). From the Project/Interpreter menu, set the Java class to run to com.evermind.server.ApplicationServer and remember to tell it to use this class (as this image, given me by Chris Miller, shows). Turn off JVMDI debugger from the Customize/Options/Advanced Paths form, which is for performance only and is not vital. Add the breakpoints to your servlets and/or EJBs. F5 starts debugging, and Dave adds to Relax, sit back and enjoy the ride. The speed kills NetBeans dead. Also from Dave: For a real screamer, use Jikes: Customize/Options/Advanced Paths/Compiler = D:\jikes\jikes.exe +E And set Orion to use jikes from $ORION/server.xml.
RE: Debugging with Orion/Kawa Pro 5.0
I remember seeing something about orion not working in Kawa Enterprise. We had a problem where if you install Enterprise the uninstalled. Then installed Kawa Pro you could not run orion from inside. Can't remember if this was orion but there where issues with changing Kawa'a (if think kawa released a patch to fix it). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DENNIS STRAIGHT Sent: 07 September 2001 06:48 To: Orion-Interest Subject: Debugging with Orion/Kawa Pro 5.0 I appreciate Dave Smith's write-up on debugging with Orion/Kawa but, unfortunately, I think I'm missing something and need more info. Here is what I did: Created a new project with all of my java files (servlets, EJBs, and regular Java). Added Orion.jar to the Kawa classpath. Set the class to run to com.evermind.server.ApplicationServer Made sure JVMDI was turned off Added breakpoints, hit F5 and... nothing happens, I don't see orion starting in Kawa's output pane... I don't see anything. Next, I open a web browser set to a localhost url that works fine when I run Orion from DOS and, of course, the page is not found. Because Orion hasn't started, I'm sure. Does anybody know what I'm doing wrong (Why Kawa isn't starting Orion)? Below I'll print Dave Smith's debugging tips, if anybody can tell me anything that is missing I would greatly appreciate it. Thanks, Dennis Dave Smith adds: Debugging with Orion and Kawa is a pleasure. Get Kawa Pro (not the enterprise version) from Tek-Tools and install it. Configure your JDK as required when you first run Kawa. (Note that Kawa is a Win32 application, which is one of the reasons I don't use it.) Create a new project for your servlets or EJBs. Add orion.jar, any additional jars required by the application, and the deployed class directory (i.e., c:\applications\myApp\myApp-web\WEB-INF\classes or c:\applications\myApp\myApp-ejb, or both). From the Project/Interpreter menu, set the Java class to run to com.evermind.server.ApplicationServer and remember to tell it to use this class (as this image, given me by Chris Miller, shows). Turn off JVMDI debugger from the Customize/Options/Advanced Paths form, which is for performance only and is not vital. Add the breakpoints to your servlets and/or EJBs. F5 starts debugging, and Dave adds to Relax, sit back and enjoy the ride. The speed kills NetBeans dead. Also from Dave: For a real screamer, use Jikes: Customize/Options/Advanced Paths/Compiler = D:\jikes\jikes.exe +E And set Orion to use jikes from $ORION/server.xml.
Debugging with Orion/Kawa Pro 5.0
I appreciate Dave Smith's write-up on debugging with Orion/Kawa but, unfortunately, I think I'm missing something and need more info. Here is what I did: Created a new project with all of my java files (servlets, EJBs, and regular Java). Added Orion.jar to the Kawa classpath. Set the class to run to com.evermind.server.ApplicationServer Made sure JVMDI was turned off Added breakpoints, hit F5 and... nothing happens, I don't see orion starting in Kawa's output pane... I don't see anything. Next, I open a web browser set to a localhost url that works fine when I run Orion from DOS and, of course, the page is not found. Because Orion hasn't started, I'm sure. Does anybody know what I'm doing wrong (Why Kawa isn't starting Orion)? Below I'll print Dave Smith's debugging tips, if anybody can tell me anything that is missing I would greatly appreciate it. Thanks, Dennis Dave Smith adds: Debugging with Orion and Kawa is a pleasure. Get Kawa Pro (not the enterprise version) from Tek-Tools and install it. Configure your JDK as required when you first run Kawa. (Note that Kawa is a Win32 application, which is one of the reasons I don't use it.) Create a new project for your servlets or EJBs. Add orion.jar, any additional jars required by the application, and the deployed class directory (i.e., c:\applications\myApp\myApp-web\WEB-INF\classes or c:\applications\myApp\myApp-ejb, or both). From the Project/Interpreter menu, set the Java class to run to com.evermind.server.ApplicationServer and remember to tell it to use this class (as this image, given me by Chris Miller, shows). Turn off JVMDI debugger from the Customize/Options/Advanced Paths form, which is for performance only and is not vital. Add the breakpoints to your servlets and/or EJBs. F5 starts debugging, and Dave adds to Relax, sit back and enjoy the ride. The speed kills NetBeans dead. Also from Dave: For a real screamer, use Jikes: Customize/Options/Advanced Paths/Compiler = D:\jikes\jikes.exe +E And set Orion to use jikes from $ORION/server.xml.
Re: Debugging and orion
Hi, You can use -out and -err commandline swiches to specify where System.outs and System.errs are written. For example: $JAVA_HOME/bin/java -server -jar orion.jar \ -config $ORION_HOME/config/server.xml \ -out $ORION_HOME/log/server-out.log \ -err $ORION_HOME/log/server-err.log -- Joni [EMAIL PROTECTED] Nusairat, Joseph F. wrote: OK its an older thread ... but i dont have time to read them all I was just wondering ... if i run Orion as a service ... how do i see the System.out.printlns? Does it write them to any log file?? OR is there anyway i can pick them up -Original Message- From: Justen Stepka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 11:08 AM To: Orion-Interest Subject: Re: Debugging and orion No matter what anyone tells you, System.out.println (ObjectName:MethodName ():line number); will work wonders! Justen Stepka On Wed, 21 Feb 2001, Julian Richardson wrote: Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
Title: RE: Debugging and orion OK its an older thread ... but i dont have time to read them all I was just wondering ... if i run Orion as a service ... how do i see the System.out.printlns? Does it write them to any log file?? OR is there anyway i can pick them up -Original Message- From: Justen Stepka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 11:08 AM To: Orion-Interest Subject: Re: Debugging and orion No matter what anyone tells you, System.out.println (ObjectName:MethodName ():line number); will work wonders! Justen Stepka On Wed, 21 Feb 2001, Julian Richardson wrote: Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
I've used jbuilder 4.0 (the free foundation version will be just fine) and it is a great debugger. you define a seprate project for orion server : a project with no sources to compile but two libraries : one contains all the orion binaries, one contains all your sources. it has the orion server main class as main class, and the orion dir as working dir. select a source where you want to set a breakpoint (using the class sleector, not the project pane because there you won't see your sources). run the project in debug mode, use the browser or whatever client to invoke your classes deployed in orion and jb will stop at your breakpoint. BTW, exactly this same procedure works also with weblogic, jboss ... (well, with wl6 you have to define a wrapper class that invokes weblogic server, but apart form that it's the same). Edo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: 22 February 2001 20:07 To: Orion-Interest Subject: RE: Debugging and orion Thanks, Mac. I will give it a shot. -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 12:20 PM To: Orion-Interest Subject: RE: Debugging and orion start orion with the following options: java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se rver=y,suspend=y,address=whatever port you're going to use -jar orion.jar then create a new project in Bugseeker, selected Remote as the project type, and accepted all other default properties. Then set the Debug|Remote|Attach to type socket, Hostname=your server ip and Port=the port you specified above I like this setup, particularly for EJBs, but I'll be interested to see if Kawa will work any better. Cheers, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Wednesday, February 21, 2001 1:39 PM To: Orion-Interest Subject: RE: Debugging and orion Mac I would be interested in what steps you took to get Bugseeker connected to your remote VM, as would other people on the list. Are the steps short enough to include in an Orion Interest email? Randy -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:59 AM To: Orion-Interest Subject: RE: Debugging and orion I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
Is it possible to debug JSP using JBuilder with Orion? Thanks in advance! -Original Message- From: Edoardo Comar [mailto:[EMAIL PROTECTED]] Sent: February 23, 2001 7:13 AM To: Orion-Interest Subject: RE: Debugging and orion I've used jbuilder 4.0 (the free foundation version will be just fine) and it is a great debugger. you define a seprate project for orion server : a project with no sources to compile but two libraries : one contains all the orion binaries, one contains all your sources. it has the orion server main class as main class, and the orion dir as working dir. select a source where you want to set a breakpoint (using the class sleector, not the project pane because there you won't see your sources). run the project in debug mode, use the browser or whatever client to invoke your classes deployed in orion and jb will stop at your breakpoint. BTW, exactly this same procedure works also with weblogic, jboss ... (well, with wl6 you have to define a wrapper class that invokes weblogic server, but apart form that it's the same). Edo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: 22 February 2001 20:07 To: Orion-Interest Subject: RE: Debugging and orion Thanks, Mac. I will give it a shot. -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 12:20 PM To: Orion-Interest Subject: RE: Debugging and orion start orion with the following options: java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se rver=y,suspend=y,address=whatever port you're going to use -jar orion.jar then create a new project in Bugseeker, selected Remote as the project type, and accepted all other default properties. Then set the Debug|Remote|Attach to type socket, Hostname=your server ip and Port=the port you specified above I like this setup, particularly for EJBs, but I'll be interested to see if Kawa will work any better. Cheers, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Wednesday, February 21, 2001 1:39 PM To: Orion-Interest Subject: RE: Debugging and orion Mac I would be interested in what steps you took to get Bugseeker connected to your remote VM, as would other people on the list. Are the steps short enough to include in an Orion Interest email? Randy -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:59 AM To: Orion-Interest Subject: RE: Debugging and orion I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things
RE: Debugging and orion
There are lots of posts in the archive available in the Orion Support web-site on how to do this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Friday, February 23, 2001 4:55 PM To: Orion-Interest Subject: RE: Debugging and orion Is it possible to debug JSP using JBuilder with Orion? Thanks in advance! -Original Message- From: Edoardo Comar [mailto:[EMAIL PROTECTED]] Sent: February 23, 2001 7:13 AM To: Orion-Interest Subject: RE: Debugging and orion I've used jbuilder 4.0 (the free foundation version will be just fine) and it is a great debugger. you define a seprate project for orion server : a project with no sources to compile but two libraries : one contains all the orion binaries, one contains all your sources. it has the orion server main class as main class, and the orion dir as working dir. select a source where you want to set a breakpoint (using the class sleector, not the project pane because there you won't see your sources). run the project in debug mode, use the browser or whatever client to invoke your classes deployed in orion and jb will stop at your breakpoint. BTW, exactly this same procedure works also with weblogic, jboss ... (well, with wl6 you have to define a wrapper class that invokes weblogic server, but apart form that it's the same). Edo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: 22 February 2001 20:07 To: Orion-Interest Subject: RE: Debugging and orion Thanks, Mac. I will give it a shot. -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 12:20 PM To: Orion-Interest Subject: RE: Debugging and orion start orion with the following options: java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se rver=y,suspend=y,address=whatever port you're going to use -jar orion.jar then create a new project in Bugseeker, selected Remote as the project type, and accepted all other default properties. Then set the Debug|Remote|Attach to type socket, Hostname=your server ip and Port=the port you specified above I like this setup, particularly for EJBs, but I'll be interested to see if Kawa will work any better. Cheers, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Wednesday, February 21, 2001 1:39 PM To: Orion-Interest Subject: RE: Debugging and orion Mac I would be interested in what steps you took to get Bugseeker connected to your remote VM, as would other people on the list. Are the steps short enough to include in an Orion Interest email? Randy -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:59 AM To: Orion-Interest Subject: RE: Debugging and orion I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others
Re: Debugging and orion
No matter what anyone tells you, System.out.println ("ObjectName:MethodName ():line number"); will work wonders! Justen Stepka On Wed, 21 Feb 2001, Julian Richardson wrote: Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE you can pretty much use anu IDE you wish to employ for debuggin if you use JDPA. i don't think orion is explicitly supported by many IDEs, but if you start orion with something of the sort: java -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_ socket,server=y,suspend=n,address=5000 -jar orion.jar you can then attatch via any IDE that supports remote debugging. for example, with JBuilder 4, you can: 1. open the Run-Configurations menu 2. edit a configuration 3. click on the Debug tab 4. clic the enable remote debugging checkbox then start orion with the command line above, open the source you wish to debug in JBuilder, and then run the runtime configuration where you setup remote debugging. set your breakpoints and debug away. hope this helps. ted --- Ted Rice APAMA Ltd, 17 Millers Yard, Mill Lane Cambridge CB2 1RQ, United Kingdom Email: [EMAIL PROTECTED] Mobile: +44 (0)7899 876489 Phone: +44 (0)1223 257973 [Histon Office] Fax:+44 (0)1223 518859
RE: Debugging and orion
Mac I would be interested in what steps you took to get Bugseeker connected to your remote VM, as would other people on the list. Are the steps short enough to include in an Orion Interest email? Randy -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:59 AM To: Orion-Interest Subject: RE: Debugging and orion I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
start orion with the following options: java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se rver=y,suspend=y,address=whatever port you're going to use -jar orion.jar then create a new project in Bugseeker, selected Remote as the project type, and accepted all other default properties. Then set the Debug|Remote|Attach to type socket, Hostname=your server ip and Port=the port you specified above I like this setup, particularly for EJBs, but I'll be interested to see if Kawa will work any better. Cheers, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Wednesday, February 21, 2001 1:39 PM To: Orion-Interest Subject: RE: Debugging and orion Mac I would be interested in what steps you took to get Bugseeker connected to your remote VM, as would other people on the list. Are the steps short enough to include in an Orion Interest email? Randy -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:59 AM To: Orion-Interest Subject: RE: Debugging and orion I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
Thanks, Mac. I will give it a shot. -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 12:20 PM To: Orion-Interest Subject: RE: Debugging and orion start orion with the following options: java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se rver=y,suspend=y,address=whatever port you're going to use -jar orion.jar then create a new project in Bugseeker, selected Remote as the project type, and accepted all other default properties. Then set the Debug|Remote|Attach to type socket, Hostname=your server ip and Port=the port you specified above I like this setup, particularly for EJBs, but I'll be interested to see if Kawa will work any better. Cheers, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Wednesday, February 21, 2001 1:39 PM To: Orion-Interest Subject: RE: Debugging and orion Mac I would be interested in what steps you took to get Bugseeker connected to your remote VM, as would other people on the list. Are the steps short enough to include in an Orion Interest email? Randy -Original Message- From: Mac Ferguson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:59 AM To: Orion-Interest Subject: RE: Debugging and orion I was in contact with Allaire's Kawa support recently and they told me that Kawa will support running/debugging Orion directly in it's IDE in an upcoming service pack, how soon it will be released is not certain, so caveat emptor. I found Kawa to be a pretty good basic IDE (I don't like lots of frills, I just want codesense and debugging), although in addition to not yet supporting Orion it was not a simple affair to add .class files to the CodeSense. If you want a decent step-thru remote debugger, check out Bugseeker (http://www.karmira.com) it was a bit tricky to get it connected to my remote JVM, but once I figured it out it was pretty good, it's *very* affordable, too. I also have recently become aware of JSwat (http://www.bluemarsh.com/java/jswat/), an open-source debugger. I am currently using the combination of Visual Slickedit for editing, Bugseeker for debugging and ANT for building, I occasionally fire up Forte (only because I have 256 MB memory and lots of time!) to do visual Swing stuff. Hope this helps, Mac Ferguson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Richardson Sent: Wednesday, February 21, 2001 6:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
In terms of what Orion can and can't do, it is a full service App server, implementing all the functionality on their website at www.orionserver.com. Like all products, there are problems being worked on (this is true for the expensive servers as well). If you want to know the problems that arise, kept monitoring this mail list and look at the archives. -Original Message- From: Julian Richardson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 5:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
RE: Debugging and orion
Hi, Julian. This topic has been discussed so many times, that I have lost count. It's best to check the archives for a discussion here, and if you don't know, someone can help you. The tools really range from the free and cheap, to the very expensive, depending on what you are looking for and willing to spend. Some ones I would look into are Ant, EJBDoclet (sp? EJB generator), UltraEdit, Forte CE edition, and Kawa, for the more economic scale. I think some folks have good luck with Jbuilder and IBM Visual Age. Can someone point him to the archives for this discussion, rather then reinventing the wheel? -Original Message- From: Julian Richardson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 5:18 AM To: Orion-Interest Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
Debugging and orion
Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --
Re: Debugging and orion
From my experience the fastest and most reliable debugging in EJB world is System.out.println... - Original Message - From: Julian Richardson [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 11:17 AM Subject: Debugging and orion Hi, What tools / IDEs are people out there using to develop EJBs for use with Orion? At the moment we (as a project team, rather than company) are trying to standardise on an app server and IDE to use, requirements being the usual: cost speed flexibility resource usage debugging support from the IDE - I saw that someone mentioned using Kawa with Orion on the orionsupport website; has this combination been used by many people? (I'm new to the app server world, although I've been doing server-side Java work for several years now - I'm not used to environments where it's even possible to use an integrated debugger, but others on the team say it's necessary :-) Comments about the speed / flexibility / resource usage of Orion are welcome too, from the website it looks pretty slick and the documentation looks good, but time will tell... also if there's any major snags with orion in terms of things that the current version doesn't do correctly or doesn't implement... cheers Jules --