--- In jslex_group@yahoogroups.com, "Bob Buffone" <bbuffone@...> wrote:
>
> Niels,
>
> Thanks for finding and reporting the issue. I found the problem and
> have uploaded a new version to fix the issue.
>
> http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download
>
> Let me know if this takes care of the issue for you or you have
> anything else I could help with.
>
> Again thanks for the feedback. I would love to hear if you were able
> to use jsLex to make your application faster.
>
> Bob
Bob,
Thanks for the lightning fast response. The issue has indeed been
solved when I use the new version, great!
I was wondering, based on the minimalistic source file I gave you
(Boot.js), do you think it would be possible to include the function's
namespace in the various overviews and dropdowns? E.g. instead of
addInitMethod I would like to see Boot.addInitMethod, this would make
profiling large applications with numerous namespaces and possibly
duplicate method names a lot easier.
Just to let you know, the project involved is the next generation of
the Echo framework (echo.nextapp.com). I have been quite active as a
committer on that project (I'm not the owner) although currently my
focus is somewhere else. However, I've been looking for a good
JS-profiler ever since I was fiddling with 'new Date().getTime()'
crap, and this looks like the tool I was looking for. I'm definitely
going to recommend this to the Echo project owner, I just need to
figure it all out a bit before we can really start using it.
Stay tuned for more info!
Thanks again,
Niels
Niels,
Thanks for finding and reporting the issue. I found the problem and
have uploaded a new version to fix the issue.
http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download
Let me know if this takes care of the issue for you or you have
anything else I could help with.
Again thanks for the feedback. I would love to hear if you were able
to use jsLex to make your application faster.
Bob
On Feb 13, 2008 2:52 PM, niels.beekman <niels.beekman@...> wrote:
>
>
>
>
>
>
> --- In jslex_group@yahoogroups.com, Bob Buffone <bbuffone@...> wrote:
> >
> > Thanks for the feedback. If you send me the profile file it will help
> > me debug it. Also what screen did it happen in? The callstack screen?
> >
>
> Hi Bob,
>
> I've posted the profile files and (compressed) source code in the
> 'Files' section, it also includes the exception. I've stripped down
> the test to a single file and it is still failing. The exception
> occurs when clicking one of the methods in the 'Call Graph' section.
>
> Thanks for your help, appreciate it!
>
>
--- In jslex_group@yahoogroups.com, Bob Buffone <bbuffone@...> wrote:
>
> Thanks for the feedback. If you send me the profile file it will help
> me debug it. Also what screen did it happen in? The callstack screen?
>
Hi Bob,
I've posted the profile files and (compressed) source code in the
'Files' section, it also includes the exception. I've stripped down
the test to a single file and it is still failing. The exception
occurs when clicking one of the methods in the 'Call Graph' section.
Thanks for your help, appreciate it!
Thanks for the feedback. If you send me the profile file it will help me debug it. Also what screen did it happen in? The callstack screen?
On Feb 12, 2008, at 5:10 PM, "niels.beekman" <niels.beekman@...> wrote:
Hi,
First of all, thanks for this wonderful application, I like it very
much so far. However, while test driving the application I got an
error dialog when selecting one of the functions from the dropdown:
com.nexaweb.util.EscapeSyntaxException: "\t" is not a valid escape
syntax in String "Information related to file: XXX" at index: 31
at com.nexaweb.util.EscapeSyntaxParser.getResolvedCharacter(Unknown
Source)
at com.nexaweb.util.EscapeSyntaxParser.parse(Unknown Source)
at
com.nexaweb.client.resolver.ResolutionHandler.unescapeString(Unknown
Source)
I'm not able to copy/paste the message somehow from the dialog, so
I've only provided a few lines. If you need more information, let me know.
Hi,
First of all, thanks for this wonderful application, I like it very
much so far. However, while test driving the application I got an
error dialog when selecting one of the functions from the dropdown:
com.nexaweb.util.EscapeSyntaxException: "\t" is not a valid escape
syntax in String "Information related to file: XXX" at index: 31
at com.nexaweb.util.EscapeSyntaxParser.getResolvedCharacter(Unknown
Source)
at com.nexaweb.util.EscapeSyntaxParser.parse(Unknown Source)
at
com.nexaweb.client.resolver.ResolutionHandler.unescapeString(Unknown
Source)
I'm not able to copy/paste the message somehow from the dialog, so
I've only provided a few lines. If you need more information, let me know.
Thanks!
jsLex should be compatible with 1.4.x and especially on the
server-side. I am resisting the urge to use and new Java features to
keep the compatibility in tack.
Bob
On Dec 7, 2007 5:40 PM, ysvn <ysvn@...> wrote:
>
>
>
>
>
>
> --- In jslex_group@yahoogroups.com, "digital_ichi" <bbuffone@...>
>
>
> wrote:
> >
> > --- In jslex_group@yahoogroups.com, "ysvn" <ysvn@> wrote:
> > >
> > > When I deployed jsLex I can see compilation errors in Jsp pages
> as
> > > well as style sheets. The major complains are
> com.nexaweb.bean.JsLex
> > > class not found in Jsp pages when infact you have the jsLex.class
> in
> > > the WEBINF folder. When you build the project it automatically
> > > deletes the jsLex.class files in the WEBINF. So I created a jar
> file
> > > from the .class file and included in the build path. Now the
> > > application deploys but I still have Linkage error on
> > > com.nexaweb.bean.JsLex class. Can you please let me know how to
> > > deploy this application without errors?
> > >
> > > I am able to view the statistics of javaScript files that are
> reduced
> > > after compressing but I am having problems using the profiler
> part.
> > >
> > > Any Ideas on Linkage Error?
> > >
> >
> > I have uploaded version 0.2.0 of the jsLex project that fixes many
> jsp
> > and html errors that show up in Eclipse and RAD. I have also put
> the
> > jsLex.class file into jsLex.jar file that is automatically included
> in
> > the WEB-INF\lib directory.
> >
> > Let me know if your problem still happens.
> >
> > I have also made it so that you can type in a full directory name
> into
> > the load file window and it will populate the combobox. Typing in a
> > file and clicking "Load" will load the file.
> >
> > Let me know if this helps with the issue.
> >
> > Bob (Buffone)
>
> Thanks bob. I will start using JsLex 2.0 project and will let you
> know if I am able resolve the problem. Also is JsLex project
> compatable with jdk 1.4? Are their going to be any issues if we
> build jsLex on jdk1.5/5.0.
>
> >
>
>
--- In jslex_group@yahoogroups.com, "digital_ichi" <bbuffone@...>
wrote:
>
> --- In jslex_group@yahoogroups.com, "ysvn" <ysvn@> wrote:
> >
> > When I deployed jsLex I can see compilation errors in Jsp pages
as
> > well as style sheets. The major complains are
com.nexaweb.bean.JsLex
> > class not found in Jsp pages when infact you have the jsLex.class
in
> > the WEBINF folder. When you build the project it automatically
> > deletes the jsLex.class files in the WEBINF. So I created a jar
file
> > from the .class file and included in the build path. Now the
> > application deploys but I still have Linkage error on
> > com.nexaweb.bean.JsLex class. Can you please let me know how to
> > deploy this application without errors?
> >
> > I am able to view the statistics of javaScript files that are
reduced
> > after compressing but I am having problems using the profiler
part.
> >
> > Any Ideas on Linkage Error?
> >
>
> I have uploaded version 0.2.0 of the jsLex project that fixes many
jsp
> and html errors that show up in Eclipse and RAD. I have also put
the
> jsLex.class file into jsLex.jar file that is automatically included
in
> the WEB-INF\lib directory.
>
> Let me know if your problem still happens.
>
> I have also made it so that you can type in a full directory name
into
> the load file window and it will populate the combobox. Typing in a
> file and clicking "Load" will load the file.
>
> Let me know if this helps with the issue.
>
> Bob (Buffone)
Thanks bob. I will start using JsLex 2.0 project and will let you
know if I am able resolve the problem. Also is JsLex project
compatable with jdk 1.4? Are their going to be any issues if we
build jsLex on jdk1.5/5.0.
>
--- In jslex_group@yahoogroups.com, "ysvn" <ysvn@...> wrote:
>
> When I deployed jsLex I can see compilation errors in Jsp pages as
> well as style sheets. The major complains are com.nexaweb.bean.JsLex
> class not found in Jsp pages when infact you have the jsLex.class in
> the WEBINF folder. When you build the project it automatically
> deletes the jsLex.class files in the WEBINF. So I created a jar file
> from the .class file and included in the build path. Now the
> application deploys but I still have Linkage error on
> com.nexaweb.bean.JsLex class. Can you please let me know how to
> deploy this application without errors?
>
> I am able to view the statistics of javaScript files that are reduced
> after compressing but I am having problems using the profiler part.
>
> Any Ideas on Linkage Error?
>
I have uploaded version 0.2.0 of the jsLex project that fixes many jsp
and html errors that show up in Eclipse and RAD. I have also put the
jsLex.class file into jsLex.jar file that is automatically included in
the WEB-INF\lib directory.
Let me know if your problem still happens.
I have also made it so that you can type in a full directory name into
the load file window and it will populate the combobox. Typing in a
file and clicking "Load" will load the file.
Let me know if this helps with the issue.
Bob (Buffone)
When I deployed jsLex I can see compilation errors in Jsp pages as
well as style sheets. The major complains are com.nexaweb.bean.JsLex
class not found in Jsp pages when infact you have the jsLex.class in
the WEBINF folder. When you build the project it automatically
deletes the jsLex.class files in the WEBINF. So I created a jar file
from the .class file and included in the build path. Now the
application deploys but I still have Linkage error on
com.nexaweb.bean.JsLex class. Can you please let me know how to
deploy this application without errors?
I am able to view the statistics of javaScript files that are reduced
after compressing but I am having problems using the profiler part.
Any Ideas on Linkage Error?
After a bit of work I just got jsLex working on IIS to profile an
ASP.Net app. Here's are the steps I used to get it working:
1. Install php as an IIS ISAPI extension. Instructions can be found by
googling "iis php". I used the steps in the link below.
http://www.peterguy.com/php/install_IIS6.html
2. Ensure that your php process has read/write permissions to the
jsLex folder and the folder of the web app to profile, otherwise none
of the file save operations will succeed. (It should be running under
the Internet Guest Account MACHINE/IUSR_xxxx.)
3. Make sure your javascript files are ANSI text instead of Unicode
text, otherwise jsLex will not read them correctly. (In VS2005 you can
go to File, Advanced Save Options to check/change the encoding.)
Good luck! It really makes you appreciate how easy it is to use the
Firebug profiler. If only it worked in IE too...or I could force
users to use Firefox :)
How do you normally include the js library a single file created from a build process?
If so then after you inject your files run the injected source through that build process and include the resulting file?
If you are including them individually then change the <script/> tags to the injected source.
From the profile.xml file it seems like you have quite a few files are they being included one by one using some js script to load them dynamically? if so, you can change the location that the files are loaded to the compressed directory.
When I deployed my application, the structure was
basically like this:
myApp/
myApp/compressed
What seems likely here is that I was a little naive in
thinking that jsLex would somehow expose all the files
in the 'compressed' directory.
Like you've suggested, I think this isn't working
because the injected profiling code isn't executing.
So, I've copied everything in the 'compressed'
directory to 'myApp.' I'm facing lots of js errors
now, so it looks like I'm going to have to add lots of
more include statements to get this to work.
> Erik,
>
> Thanks for putting in the time on this. I looked at
> the profile.xml file
> and everything looks fine. From the last couple of
> emails it seems like
> jsLex has attached to the browser and collected the
> statistics correctly and
> just didn't get any. One thing to try is to open
> the jsLex window when the
> HTML window starts.
>
> <script type="text/javascript" src="
> http://localhost/jsLex/javascript/jsLex.js">
> <script type="text/javascript">
>
>
jsLex.openProfileWindow("http://localhost/jsLex/profile.html");
> </script>
>
> <!-- <script type="text/javascript" src="old
> java script location">
> -->
> <script type="text/javascript" src="INJECTED
> JAVA SCRIPT LOCATIONS">
>
>
> I used your profile.xml file in an appilication that
> I had and it worked.
> Something just occurred to me... jsLex said zero
> functions called, did you
> change the location of your javascript to be the
> location of the injected
> javascript. This would be one reason that jsLex
> said nothing was called
> when the "Snapshot" button was clicked.
>
> Bob (Buffone)
>
> On 10/9/07, Erik Ostermueller
> <eostermueller@...> wrote:
> >
> > Here is my profile.xml
> >
> >
> > --- Bob Buffone <bbuffone@...
> <bbuffone%40gmail.com>> wrote:
> >
> > > Look in the profile.xml file and see what is in
> it.
> > > The file should have a
> > > bunch of "file" tag tag contain you functions
> and
> > > file names. You can also
> > > send the file to me and I can look at it. The
> only
> > > other thing would be
> > > that code wasn't called but that isn't ussually
> a
> > > problem. If all else
> > > fails I can setup a webex and work through the
> issue
> > > that way.
> > >
> > > Bob
> > >
> > > On 10/8/07, eostermueller
> <eostermueller@...<eostermueller%
40yahoo.com>
> > >
> > > wrote:
> > > >
> > > > I wrote:
> > > > >>and I'm launching jsLex from
> > > > >>within my application.
> > > >
> > > > ok, I botched that description. Let me try
> again.
> > > > I've got two web applications/contexts: one
> for
> > > jsLex, one for my app.
> > > >
> > > > In my js start html file, I've included the
> > > specified jsLex js file.
> > > > I launch my app first. Then I click on a
> > > particular button in my app,
> > > > which then executes the 'launch' statement to
> > > start the jsLex ui.
> > > >
> > > > --I see the 'perpetual progress bar.'
> > > > --While it is doing its thing, I click on the
> > > 'Click to continue
> > > > loading' button.
> > > >
> > > > --'Snapshot' button is disabled, as expected,
> and
> > > shows tooltip.
> > > > --click 'load' to load my profile.xml file.
> > > > --'Snapshot' button is now enabled and there
> is no
> > > tooltip.
> > > > --jsLex displays a blank table on the
> "Application
> > > Metrics" page.
> > > > --I click on 'Snapshot' and I get 2 msgs at
> bottom
> > > > * 0 Function calls
> > > > * Finished profiling callback
> > > > --I then navigate around my app a little,
> hoping
> > > to exercise the
> > > > profiling code.
> > > > --I click on 'Snapshot' again and nothing
> happens.
> > > > --I clicked on a few of the options under
> > > 'Options' and all I get is
> > > > nicely formatted, but empty tables.
> > > > --Clicked on 'Call Graph' -- also empty.
> > > >
> > > > Is there way to crank up the amount of jsLex
> debug
> > > stuff in the log?
> > > >
> > > > Thanks,
> > > >
> > > > --Erik
> > > >
> > > > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>
> > > <jslex_group%40yahoogroups.com>, "Bob
> > > > Buffone" <bbuffone@...> wrote:
> > > > >
> > > > > One thing to beware of is that jsLex should
> run
> > > in its own web
> > > > application
> > > > > and not under the application being
> profiled.
> > > Once the profile file is
> > > > > correctly loaded you can press the "Snap
> Shot"
> > > button. A tooltip will
> > > > > appear with an error message it the file
> isn't
> > > loaded correctly.
> > > > >
> > > > > Bob
> > > > >
> > > > > On 10/8/07, eostermueller
> <eostermueller@...>
> > > wrote:
> > > > > >
> > > > > > Hi, replying to self, here.
> > > > > >
> > > > > > I loaded my profile.xml without incident
> and
> > > I'm launching jsLex from
> > > > > > within my application.
> > > > > >
> > > > > > 2007-10-08 11:51:27,731 : INFO : main :
> > > > > > AbsJWebContainerServiceImpl.registerWar :
> War
> > > > > >
> /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/
> > > available at the context
> > > > > > /jsLex.
> > > > > >
> > > > > > I'm running this under the Tomcat that is
> > > distributed with JOnAS
> > > > > > 4.3.2. Win xp.
> > > > > >
> > > > > > Right now, I've bumped up to using jdk
> 1.5.13.
> > > > > > I'm going to try to back down to 1.4
> (using
> > > your recent chages).
> > > > > >
> > > > > > --Erik
> > > > > >
> > > > > > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>
> > >
> >
>
<jslex_group%40yahoogroups.com><jslex_group%40yahoogroups.com>,
> > > >
> > > > > > "eostermueller"
> > > > > > <eostermueller@> wrote:
> > > > > > >
> > > > > > > Hello again,
> > > > > > >
> > > > > > > I think I've got everything configured
> > > right, now.
> > > > > > > I can traverse all the jsLex screens and
> I
> > > don't see any errors
> > > > in my
> > > > > > > webapp log.
> > > > > > >
> > > > > > > However, I'm not seeing any data -- it
> feels
> > > like I'm missing
> > > > > > > something real easy. With something like
> > > JProbe, I'm accostomed to
> > > > > > > selecting "START snapshot" and "STOP
> > > snapshot." So I'm not quite
> > > > sure
> > > > > > > what to do with the 'Snapshot' button.
> > > > > > >
> > > > > > > When I click on the Snapshot button,
> nothing
> > > seems to happen. The
> > > > > > > green 'round-tangle' background never
> turns
> > > into an arrow, like some
> > > > > > > of the other button-backgrounds.
> > > > > > >
> > > > > > > It does look like the "Finished
> profiling
> > > callback" msg at the
> > > > bottom
> > > > > > > of the screen flashes for a split second
> > > when I click 'snapshot'.
> > > > > > >
> > > > > > > When I do a 'save', all the
> file-compression
> > > info is stored
> > > > along with
> > > > > > > <browserInfo>. I see the msg "0 Function
> > > calls" in the bottom left
> > > > > > > corner.
> > > > > > >
> > > > > > > What am I missing?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > --Erik
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
__________________________________________________________
> > Be a better Heartthrob. Get better relationship
> answers from someone who
> > knows. Yahoo! Answers - Check it out.
> >
> http://answers.yahoo.com/dir/?link=list&sid=396545433
> >
> >
> >
> >
>
__________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html
Bob,
When I deployed my application, the structure was
basically like this:
myApp/
myApp/compressed
What seems likely here is that I was a little naive in
thinking that jsLex would somehow expose all the files
in the 'compressed' directory.
Like you've suggested, I think this isn't working
because the injected profiling code isn't executing.
So, I've copied everything in the 'compressed'
directory to 'myApp.' I'm facing lots of js errors
now, so it looks like I'm going to have to add lots of
more include statements to get this to work.
Does this seem like the right direction?
--Erik
--- Bob Buffone <bbuffone@...> wrote:
> Erik,
>
> Thanks for putting in the time on this. I looked at
> the profile.xml file
> and everything looks fine. From the last couple of
> emails it seems like
> jsLex has attached to the browser and collected the
> statistics correctly and
> just didn't get any. One thing to try is to open
> the jsLex window when the
> HTML window starts.
>
> <script type="text/javascript" src="
> http://localhost/jsLex/javascript/jsLex.js">
> <script type="text/javascript">
>
>
jsLex.openProfileWindow("http://localhost/jsLex/profile.html");
> </script>
>
> <!-- <script type="text/javascript" src="old
> java script location">
> -->
> <script type="text/javascript" src="INJECTED
> JAVA SCRIPT LOCATIONS">
>
>
> I used your profile.xml file in an appilication that
> I had and it worked.
> Something just occurred to me... jsLex said zero
> functions called, did you
> change the location of your javascript to be the
> location of the injected
> javascript. This would be one reason that jsLex
> said nothing was called
> when the "Snapshot" button was clicked.
>
> Bob (Buffone)
>
> On 10/9/07, Erik Ostermueller
> <eostermueller@...> wrote:
> >
> > Here is my profile.xml
> >
> >
> > --- Bob Buffone <bbuffone@...
> <bbuffone%40gmail.com>> wrote:
> >
> > > Look in the profile.xml file and see what is in
> it.
> > > The file should have a
> > > bunch of "file" tag tag contain you functions
> and
> > > file names. You can also
> > > send the file to me and I can look at it. The
> only
> > > other thing would be
> > > that code wasn't called but that isn't ussually
> a
> > > problem. If all else
> > > fails I can setup a webex and work through the
> issue
> > > that way.
> > >
> > > Bob
> > >
> > > On 10/8/07, eostermueller
> <eostermueller@...<eostermueller%40yahoo.com>
> > >
> > > wrote:
> > > >
> > > > I wrote:
> > > > >>and I'm launching jsLex from
> > > > >>within my application.
> > > >
> > > > ok, I botched that description. Let me try
> again.
> > > > I've got two web applications/contexts: one
> for
> > > jsLex, one for my app.
> > > >
> > > > In my js start html file, I've included the
> > > specified jsLex js file.
> > > > I launch my app first. Then I click on a
> > > particular button in my app,
> > > > which then executes the 'launch' statement to
> > > start the jsLex ui.
> > > >
> > > > --I see the 'perpetual progress bar.'
> > > > --While it is doing its thing, I click on the
> > > 'Click to continue
> > > > loading' button.
> > > >
> > > > --'Snapshot' button is disabled, as expected,
> and
> > > shows tooltip.
> > > > --click 'load' to load my profile.xml file.
> > > > --'Snapshot' button is now enabled and there
> is no
> > > tooltip.
> > > > --jsLex displays a blank table on the
> "Application
> > > Metrics" page.
> > > > --I click on 'Snapshot' and I get 2 msgs at
> bottom
> > > > * 0 Function calls
> > > > * Finished profiling callback
> > > > --I then navigate around my app a little,
> hoping
> > > to exercise the
> > > > profiling code.
> > > > --I click on 'Snapshot' again and nothing
> happens.
> > > > --I clicked on a few of the options under
> > > 'Options' and all I get is
> > > > nicely formatted, but empty tables.
> > > > --Clicked on 'Call Graph' -- also empty.
> > > >
> > > > Is there way to crank up the amount of jsLex
> debug
> > > stuff in the log?
> > > >
> > > > Thanks,
> > > >
> > > > --Erik
> > > >
> > > > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>
> > > <jslex_group%40yahoogroups.com>, "Bob
> > > > Buffone" <bbuffone@...> wrote:
> > > > >
> > > > > One thing to beware of is that jsLex should
> run
> > > in its own web
> > > > application
> > > > > and not under the application being
> profiled.
> > > Once the profile file is
> > > > > correctly loaded you can press the "Snap
> Shot"
> > > button. A tooltip will
> > > > > appear with an error message it the file
> isn't
> > > loaded correctly.
> > > > >
> > > > > Bob
> > > > >
> > > > > On 10/8/07, eostermueller
> <eostermueller@...>
> > > wrote:
> > > > > >
> > > > > > Hi, replying to self, here.
> > > > > >
> > > > > > I loaded my profile.xml without incident
> and
> > > I'm launching jsLex from
> > > > > > within my application.
> > > > > >
> > > > > > 2007-10-08 11:51:27,731 : INFO : main :
> > > > > > AbsJWebContainerServiceImpl.registerWar :
> War
> > > > > >
> /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/
> > > available at the context
> > > > > > /jsLex.
> > > > > >
> > > > > > I'm running this under the Tomcat that is
> > > distributed with JOnAS
> > > > > > 4.3.2. Win xp.
> > > > > >
> > > > > > Right now, I've bumped up to using jdk
> 1.5.13.
> > > > > > I'm going to try to back down to 1.4
> (using
> > > your recent chages).
> > > > > >
> > > > > > --Erik
> > > > > >
> > > > > > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>
> > >
> >
>
<jslex_group%40yahoogroups.com><jslex_group%40yahoogroups.com>,
> > > >
> > > > > > "eostermueller"
> > > > > > <eostermueller@> wrote:
> > > > > > >
> > > > > > > Hello again,
> > > > > > >
> > > > > > > I think I've got everything configured
> > > right, now.
> > > > > > > I can traverse all the jsLex screens and
> I
> > > don't see any errors
> > > > in my
> > > > > > > webapp log.
> > > > > > >
> > > > > > > However, I'm not seeing any data -- it
> feels
> > > like I'm missing
> > > > > > > something real easy. With something like
> > > JProbe, I'm accostomed to
> > > > > > > selecting "START snapshot" and "STOP
> > > snapshot." So I'm not quite
> > > > sure
> > > > > > > what to do with the 'Snapshot' button.
> > > > > > >
> > > > > > > When I click on the Snapshot button,
> nothing
> > > seems to happen. The
> > > > > > > green 'round-tangle' background never
> turns
> > > into an arrow, like some
> > > > > > > of the other button-backgrounds.
> > > > > > >
> > > > > > > It does look like the "Finished
> profiling
> > > callback" msg at the
> > > > bottom
> > > > > > > of the screen flashes for a split second
> > > when I click 'snapshot'.
> > > > > > >
> > > > > > > When I do a 'save', all the
> file-compression
> > > info is stored
> > > > along with
> > > > > > > <browserInfo>. I see the msg "0 Function
> > > calls" in the bottom left
> > > > > > > corner.
> > > > > > >
> > > > > > > What am I missing?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > --Erik
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
__________________________________________________________
> > Be a better Heartthrob. Get better relationship
> answers from someone who
> > knows. Yahoo! Answers - Check it out.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396545433
> >
> >
> >
> >
>
________________________________________________________________________________\
____
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
BB wrote:
> One thing to try is to open
> the jsLex window when the
> HTML window starts.
I'm not sure where you're headed here. I'll describe
what I've done. I found a button in our app that is
almost always on the screen. In the javascript
beneath that button, I added code like you mentioned
that launches the profile.html.
What do you mean by this?
> <script type="text/javascript" src="INJECTED
> JAVA SCRIPT LOCATIONS">
Specifically, where do I need to put this stmt and
_which_ files do I need to reference? All of _my_
newly compressed files?
>> did you change the location of your javascript to
be
>> the location of the injected javascript.
Could you be more specific here?
I attached a few configuration files, if that will be
helpful.
Part of my problem is that I don't understand the
'compressed' directory concept. For instance, if my
source includes a js file, my source doesn't know
anything about the files under 'compressed', so it
will pull in the 'uncompressed' version, correct?
Is jsLex somehow accessing the files under
'compressed'?
Do I need to change all my include statements to point
to 'compressed'?
--Erik
--- Bob Buffone <bbuffone@...> wrote:
> Erik,
>
> Thanks for putting in the time on this. I looked at
> the profile.xml file
> and everything looks fine. From the last couple of
> emails it seems like
> jsLex has attached to the browser and collected the
> statistics correctly and
> just didn't get any. One thing to try is to open
> the jsLex window when the
> HTML window starts.
>
> <script type="text/javascript" src="
> http://localhost/jsLex/javascript/jsLex.js">
> <script type="text/javascript">
>
>
jsLex.openProfileWindow("http://localhost/jsLex/profile.html");
> </script>
>
> <!-- <script type="text/javascript" src="old
> java script location">
> -->
> <script type="text/javascript" src="INJECTED
> JAVA SCRIPT LOCATIONS">
>
>
> I used your profile.xml file in an appilication that
> I had and it worked.
> Something just occurred to me... jsLex said zero
> functions called, did you
> change the location of your javascript to be the
> location of the injected
> javascript. This would be one reason that jsLex
> said nothing was called
> when the "Snapshot" button was clicked.
>
> Bob (Buffone)
>
> On 10/9/07, Erik Ostermueller
> <eostermueller@...> wrote:
> >
> > Here is my profile.xml
> >
> >
> > --- Bob Buffone <bbuffone@...
> <bbuffone%40gmail.com>> wrote:
> >
> > > Look in the profile.xml file and see what is in
> it.
> > > The file should have a
> > > bunch of "file" tag tag contain you functions
> and
> > > file names. You can also
> > > send the file to me and I can look at it. The
> only
> > > other thing would be
> > > that code wasn't called but that isn't ussually
> a
> > > problem. If all else
> > > fails I can setup a webex and work through the
> issue
> > > that way.
> > >
> > > Bob
> > >
> > > On 10/8/07, eostermueller
> <eostermueller@...<eostermueller%40yahoo.com>
> > >
> > > wrote:
> > > >
> > > > I wrote:
> > > > >>and I'm launching jsLex from
> > > > >>within my application.
> > > >
> > > > ok, I botched that description. Let me try
> again.
> > > > I've got two web applications/contexts: one
> for
> > > jsLex, one for my app.
> > > >
> > > > In my js start html file, I've included the
> > > specified jsLex js file.
> > > > I launch my app first. Then I click on a
> > > particular button in my app,
> > > > which then executes the 'launch' statement to
> > > start the jsLex ui.
> > > >
> > > > --I see the 'perpetual progress bar.'
> > > > --While it is doing its thing, I click on the
> > > 'Click to continue
> > > > loading' button.
> > > >
> > > > --'Snapshot' button is disabled, as expected,
> and
> > > shows tooltip.
> > > > --click 'load' to load my profile.xml file.
> > > > --'Snapshot' button is now enabled and there
> is no
> > > tooltip.
> > > > --jsLex displays a blank table on the
> "Application
> > > Metrics" page.
> > > > --I click on 'Snapshot' and I get 2 msgs at
> bottom
> > > > * 0 Function calls
> > > > * Finished profiling callback
> > > > --I then navigate around my app a little,
> hoping
> > > to exercise the
> > > > profiling code.
> > > > --I click on 'Snapshot' again and nothing
> happens.
> > > > --I clicked on a few of the options under
> > > 'Options' and all I get is
> > > > nicely formatted, but empty tables.
> > > > --Clicked on 'Call Graph' -- also empty.
> > > >
> > > > Is there way to crank up the amount of jsLex
> debug
> > > stuff in the log?
> > > >
> > > > Thanks,
> > > >
> > > > --Erik
> > > >
> > > > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>
> > > <jslex_group%40yahoogroups.com>, "Bob
> > > > Buffone" <bbuffone@...> wrote:
> > > > >
> > > > > One thing to beware of is that jsLex should
> run
> > > in its own web
> > > > application
> > > > > and not under the application being
> profiled.
> > > Once the profile file is
> > > > > correctly loaded you can press the "Snap
> Shot"
> > > button. A tooltip will
> > > > > appear with an error message it the file
> isn't
> > > loaded correctly.
> > > > >
> > > > > Bob
> > > > >
> > > > > On 10/8/07, eostermueller
> <eostermueller@...>
> > > wrote:
> > > > > >
> > > > > > Hi, replying to self, here.
> > > > > >
> > > > > > I loaded my profile.xml without incident
> and
> > > I'm launching jsLex from
> > > > > > within my application.
> > > > > >
> > > > > > 2007-10-08 11:51:27,731 : INFO : main :
> > > > > > AbsJWebContainerServiceImpl.registerWar :
> War
> > > > > >
> /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/
> > > available at the context
> > > > > > /jsLex.
> > > > > >
> > > > > > I'm running this under the Tomcat that is
> > > distributed with JOnAS
> > > > > > 4.3.2. Win xp.
> > > > > >
> > > > > > Right now, I've bumped up to using jdk
> 1.5.13.
> > > > > > I'm going to try to back down to 1.4
> (using
> > > your recent chages).
> > > > > >
> > > > > > --Erik
> > > > > >
> > > > > > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>
> > >
> >
>
<jslex_group%40yahoogroups.com><jslex_group%40yahoogroups.com>,
> > > >
> > > > > > "eostermueller"
> > > > > > <eostermueller@> wrote:
> > > > > > >
> > > > > > > Hello again,
> > > > > > >
> > > > > > > I think I've got everything configured
> > > right, now.
> > > > > > > I can traverse all the jsLex screens and
> I
> > > don't see any errors
> > > > in my
> > > > > > > webapp log.
> > > > > > >
> > > > > > > However, I'm not seeing any data -- it
> feels
> > > like I'm missing
> > > > > > > something real easy. With something like
> > > JProbe, I'm accostomed to
> > > > > > > selecting "START snapshot" and "STOP
> > > snapshot." So I'm not quite
> > > > sure
> > > > > > > what to do with the 'Snapshot' button.
> > > > > > >
> > > > > > > When I click on the Snapshot button,
> nothing
> > > seems to happen. The
> > > > > > > green 'round-tangle' background never
> turns
> > > into an arrow, like some
> > > > > > > of the other button-backgrounds.
> > > > > > >
> > > > > > > It does look like the "Finished
> profiling
> > > callback" msg at the
> > > > bottom
> > > > > > > of the screen flashes for a split second
> > > when I click 'snapshot'.
> > > > > > >
> > > > > > > When I do a 'save', all the
> file-compression
> > > info is stored
> > > > along with
> > > > > > > <browserInfo>. I see the msg "0 Function
> > > calls" in the bottom left
> > > > > > > corner.
> > > > > > >
> > > > > > > What am I missing?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > --Erik
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
__________________________________________________________
> > Be a better Heartthrob. Get better relationship
> answers from someone who
> > knows. Yahoo! Answers - Check it out.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396545433
> >
> >
> >
> >
>
________________________________________________________________________________\
____
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
Thanks for putting in the time on this. I looked at the profile.xml file and everything looks fine. From the last couple of emails it seems like jsLex has attached to the browser and collected the statistics correctly and just didn't get any. One thing to try is to open the jsLex window when the HTML window starts.
I used your profile.xml file in an appilication that I had and it worked. Something just occurred to me... jsLex said zero functions called, did you change the location of your javascript to be the location of the injected javascript. This would be one reason that jsLex said nothing was called when the "Snapshot" button was clicked.
> Look in the profile.xml file and see what is in it.
> The file should have a
> bunch of "file" tag tag contain you functions and
> file names. You can also
> send the file to me and I can look at it. The only
> other thing would be
> that code wasn't called but that isn't ussually a
> problem. If all else
> fails I can setup a webex and work through the issue
> that way.
>
> Bob
>
> On 10/8/07, eostermueller <eostermueller@...>
> wrote:
> >
> > I wrote:
> > >>and I'm launching jsLex from
> > >>within my application.
> >
> > ok, I botched that description. Let me try again.
> > I've got two web applications/contexts: one for
> jsLex, one for my app.
> >
> > In my js start html file, I've included the
> specified jsLex js file.
> > I launch my app first. Then I click on a
> particular button in my app,
> > which then executes the 'launch' statement to
> start the jsLex ui.
> >
> > --I see the 'perpetual progress bar.'
> > --While it is doing its thing, I click on the
> 'Click to continue
> > loading' button.
> >
> > --'Snapshot' button is disabled, as expected, and
> shows tooltip.
> > --click 'load' to load my profile.xml file.
> > --'Snapshot' button is now enabled and there is no
> tooltip.
> > --jsLex displays a blank table on the "Application
> Metrics" page.
> > --I click on 'Snapshot' and I get 2 msgs at bottom
> > * 0 Function calls
> > * Finished profiling callback
> > --I then navigate around my app a little, hoping
> to exercise the
> > profiling code.
> > --I click on 'Snapshot' again and nothing happens.
> > --I clicked on a few of the options under
> 'Options' and all I get is
> > nicely formatted, but empty tables.
> > --Clicked on 'Call Graph' -- also empty.
> >
> > Is there way to crank up the amount of jsLex debug
> stuff in the log?
> >
> > Thanks,
> >
> > --Erik
> >
> > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>, "Bob
> > Buffone" <bbuffone@...> wrote:
> > >
> > > One thing to beware of is that jsLex should run
> in its own web
> > application
> > > and not under the application being profiled.
> Once the profile file is
> > > correctly loaded you can press the "Snap Shot"
> button. A tooltip will
> > > appear with an error message it the file isn't
> loaded correctly.
> > >
> > > Bob
> > >
> > > On 10/8/07, eostermueller <eostermueller@...>
> wrote:
> > > >
> > > > Hi, replying to self, here.
> > > >
> > > > I loaded my profile.xml without incident and
> I'm launching jsLex from
> > > > within my application.
> > > >
> > > > 2007-10-08 11:51:27,731 : INFO : main :
> > > > AbsJWebContainerServiceImpl.registerWar : War
> > > > /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/
> available at the context
> > > > /jsLex.
> > > >
> > > > I'm running this under the Tomcat that is
> distributed with JOnAS
> > > > 4.3.2. Win xp.
> > > >
> > > > Right now, I've bumped up to using jdk 1.5.13.
> > > > I'm going to try to back down to 1.4 (using
> your recent chages).
> > > >
> > > > --Erik
> > > >
> > > > --- In jslex_group@yahoogroups.com
>
> >
> > > > "eostermueller"
> > > > <eostermueller@> wrote:
> > > > >
> > > > > Hello again,
> > > > >
> > > > > I think I've got everything configured
> right, now.
> > > > > I can traverse all the jsLex screens and I
> don't see any errors
> > in my
> > > > > webapp log.
> > > > >
> > > > > However, I'm not seeing any data -- it feels
> like I'm missing
> > > > > something real easy. With something like
> JProbe, I'm accostomed to
> > > > > selecting "START snapshot" and "STOP
> snapshot." So I'm not quite
> > sure
> > > > > what to do with the 'Snapshot' button.
> > > > >
> > > > > When I click on the Snapshot button, nothing
> seems to happen. The
> > > > > green 'round-tangle' background never turns
> into an arrow, like some
> > > > > of the other button-backgrounds.
> > > > >
> > > > > It does look like the "Finished profiling
> callback" msg at the
> > bottom
> > > > > of the screen flashes for a split second
> when I click 'snapshot'.
> > > > >
> > > > > When I do a 'save', all the file-compression
> info is stored
> > along with
> > > > > <browserInfo>. I see the msg "0 Function
> calls" in the bottom left
> > > > > corner.
> > > > >
> > > > > What am I missing?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --Erik
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
__________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433
Here is my profile.xml
--- Bob Buffone <bbuffone@...> wrote:
> Look in the profile.xml file and see what is in it.
> The file should have a
> bunch of "file" tag tag contain you functions and
> file names. You can also
> send the file to me and I can look at it. The only
> other thing would be
> that code wasn't called but that isn't ussually a
> problem. If all else
> fails I can setup a webex and work through the issue
> that way.
>
> Bob
>
> On 10/8/07, eostermueller <eostermueller@...>
> wrote:
> >
> > I wrote:
> > >>and I'm launching jsLex from
> > >>within my application.
> >
> > ok, I botched that description. Let me try again.
> > I've got two web applications/contexts: one for
> jsLex, one for my app.
> >
> > In my js start html file, I've included the
> specified jsLex js file.
> > I launch my app first. Then I click on a
> particular button in my app,
> > which then executes the 'launch' statement to
> start the jsLex ui.
> >
> > --I see the 'perpetual progress bar.'
> > --While it is doing its thing, I click on the
> 'Click to continue
> > loading' button.
> >
> > --'Snapshot' button is disabled, as expected, and
> shows tooltip.
> > --click 'load' to load my profile.xml file.
> > --'Snapshot' button is now enabled and there is no
> tooltip.
> > --jsLex displays a blank table on the "Application
> Metrics" page.
> > --I click on 'Snapshot' and I get 2 msgs at bottom
> > * 0 Function calls
> > * Finished profiling callback
> > --I then navigate around my app a little, hoping
> to exercise the
> > profiling code.
> > --I click on 'Snapshot' again and nothing happens.
> > --I clicked on a few of the options under
> 'Options' and all I get is
> > nicely formatted, but empty tables.
> > --Clicked on 'Call Graph' -- also empty.
> >
> > Is there way to crank up the amount of jsLex debug
> stuff in the log?
> >
> > Thanks,
> >
> > --Erik
> >
> > --- In jslex_group@yahoogroups.com
> <jslex_group%40yahoogroups.com>, "Bob
> > Buffone" <bbuffone@...> wrote:
> > >
> > > One thing to beware of is that jsLex should run
> in its own web
> > application
> > > and not under the application being profiled.
> Once the profile file is
> > > correctly loaded you can press the "Snap Shot"
> button. A tooltip will
> > > appear with an error message it the file isn't
> loaded correctly.
> > >
> > > Bob
> > >
> > > On 10/8/07, eostermueller <eostermueller@...>
> wrote:
> > > >
> > > > Hi, replying to self, here.
> > > >
> > > > I loaded my profile.xml without incident and
> I'm launching jsLex from
> > > > within my application.
> > > >
> > > > 2007-10-08 11:51:27,731 : INFO : main :
> > > > AbsJWebContainerServiceImpl.registerWar : War
> > > > /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/
> available at the context
> > > > /jsLex.
> > > >
> > > > I'm running this under the Tomcat that is
> distributed with JOnAS
> > > > 4.3.2. Win xp.
> > > >
> > > > Right now, I've bumped up to using jdk 1.5.13.
> > > > I'm going to try to back down to 1.4 (using
> your recent chages).
> > > >
> > > > --Erik
> > > >
> > > > --- In jslex_group@yahoogroups.com
>
<jslex_group%40yahoogroups.com><jslex_group%40yahoogroups.com>,
> >
> > > > "eostermueller"
> > > > <eostermueller@> wrote:
> > > > >
> > > > > Hello again,
> > > > >
> > > > > I think I've got everything configured
> right, now.
> > > > > I can traverse all the jsLex screens and I
> don't see any errors
> > in my
> > > > > webapp log.
> > > > >
> > > > > However, I'm not seeing any data -- it feels
> like I'm missing
> > > > > something real easy. With something like
> JProbe, I'm accostomed to
> > > > > selecting "START snapshot" and "STOP
> snapshot." So I'm not quite
> > sure
> > > > > what to do with the 'Snapshot' button.
> > > > >
> > > > > When I click on the Snapshot button, nothing
> seems to happen. The
> > > > > green 'round-tangle' background never turns
> into an arrow, like some
> > > > > of the other button-backgrounds.
> > > > >
> > > > > It does look like the "Finished profiling
> callback" msg at the
> > bottom
> > > > > of the screen flashes for a split second
> when I click 'snapshot'.
> > > > >
> > > > > When I do a 'save', all the file-compression
> info is stored
> > along with
> > > > > <browserInfo>. I see the msg "0 Function
> calls" in the bottom left
> > > > > corner.
> > > > >
> > > > > What am I missing?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --Erik
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
________________________________________________________________________________\
____
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
Look in the profile.xml file and see what is in it. The file should have a bunch of "file" tag tag contain you functions and file names. You can also send the file to me and I can look at it. The only other thing would be that code wasn't called but that isn't ussually a problem. If all else fails I can setup a webex and work through the issue that way.
I wrote:
>>and I'm launching jsLex from
>>within my application.
ok, I botched that description. Let me try again.
I've got two web applications/contexts: one for jsLex, one for my app.
In my js start html file, I've included the specified jsLex js file.
I launch my app first. Then I click on a particular button in my app,
which then executes the 'launch' statement to start the jsLex ui.
--I see the 'perpetual progress bar.'
--While it is doing its thing, I click on the 'Click to continue
loading' button.
--'Snapshot' button is disabled, as expected, and shows tooltip.
--click 'load' to load my profile.xml file.
--'Snapshot' button is now enabled and there is no tooltip.
--jsLex displays a blank table on the "Application Metrics" page.
--I click on 'Snapshot' and I get 2 msgs at bottom
* 0 Function calls
* Finished profiling callback
--I then navigate around my app a little, hoping to exercise the
profiling code.
--I click on 'Snapshot' again and nothing happens.
--I clicked on a few of the options under 'Options' and all I get is
nicely formatted, but empty tables.
--Clicked on 'Call Graph' -- also empty.
Is there way to crank up the amount of jsLex debug stuff in the log?
Thanks,
--Erik
--- In jslex_group@yahoogroups.com, "Bob Buffone" <bbuffone@...> wrote:
>
> One thing to beware of is that jsLex should run in its own web
application
> and not under the application being profiled. Once the profile file is
> correctly loaded you can press the "Snap Shot" button. A tooltip will
> appear with an error message it the file isn't loaded correctly.
>
> Bob
>
> On 10/8/07, eostermueller <eostermueller@...> wrote:
> >
> > Hi, replying to self, here.
> >
> > I loaded my profile.xml without incident and I'm launching jsLex from
> > within my application.
> >
> > 2007-10-08 11:51:27,731 : INFO : main :
> > AbsJWebContainerServiceImpl.registerWar : War
> > /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/ available at the context
> > /jsLex.
> >
> > I'm running this under the Tomcat that is distributed with JOnAS
> > 4.3.2. Win xp.
> >
> > Right now, I've bumped up to using jdk 1.5.13.
> > I'm going to try to back down to 1.4 (using your recent chages).
> >
> > --Erik
> >
> > --- In jslex_group@yahoogroups.com <jslex_group%40yahoogroups.com>,
> > "eostermueller"
> > <eostermueller@> wrote:
> > >
> > > Hello again,
> > >
> > > I think I've got everything configured right, now.
> > > I can traverse all the jsLex screens and I don't see any errors
in my
> > > webapp log.
> > >
> > > However, I'm not seeing any data -- it feels like I'm missing
> > > something real easy. With something like JProbe, I'm accostomed to
> > > selecting "START snapshot" and "STOP snapshot." So I'm not quite
sure
> > > what to do with the 'Snapshot' button.
> > >
> > > When I click on the Snapshot button, nothing seems to happen. The
> > > green 'round-tangle' background never turns into an arrow, like some
> > > of the other button-backgrounds.
> > >
> > > It does look like the "Finished profiling callback" msg at the
bottom
> > > of the screen flashes for a split second when I click 'snapshot'.
> > >
> > > When I do a 'save', all the file-compression info is stored
along with
> > > <browserInfo>. I see the msg "0 Function calls" in the bottom left
> > > corner.
> > >
> > > What am I missing?
> > >
> > > Thanks,
> > >
> > > --Erik
> > >
> >
> >
> >
>
I wrote:
>>and I'm launching jsLex from
>>within my application.
ok, I botched that description. Let me try again.
I've got two web applications/contexts: one for jsLex, one for my app.
In my js start html file, I've included the specified jsLex js file.
I launch my app first. Then I click on a particular button in my app,
which then executes the 'launch' statement to start the jsLex ui.
--I see the 'perpetual progress bar.'
--While it is doing its thing, I click on the 'Click to continue
loading' button.
--'Snapshot' button is disabled, as expected, and shows tooltip.
--click 'load' to load my profile.xml file.
--'Snapshot' button is now enabled and there is no tooltip.
--jsLex displays a blank table on the "Application Metrics" page.
--I click on 'Snapshot' and I get 2 msgs at bottom
* 0 Function calls
* Finished profiling callback
--I then navigate around my app a little, hoping to exercise the
profiling code.
--I click on 'Snapshot' again and nothing happens.
--I clicked on a few of the options under 'Options' and all I get is
nicely formatted, but empty tables.
--Clicked on 'Call Graph' -- also empty.
Is there way to crank up the amount of jsLex debug stuff in the log?
Thanks,
--Erik
--- In jslex_group@yahoogroups.com, "Bob Buffone" <bbuffone@...> wrote:
>
> One thing to beware of is that jsLex should run in its own web
application
> and not under the application being profiled. Once the profile file is
> correctly loaded you can press the "Snap Shot" button. A tooltip will
> appear with an error message it the file isn't loaded correctly.
>
> Bob
>
> On 10/8/07, eostermueller <eostermueller@...> wrote:
> >
> > Hi, replying to self, here.
> >
> > I loaded my profile.xml without incident and I'm launching jsLex from
> > within my application.
> >
> > 2007-10-08 11:51:27,731 : INFO : main :
> > AbsJWebContainerServiceImpl.registerWar : War
> > /F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/ available at the context
> > /jsLex.
> >
> > I'm running this under the Tomcat that is distributed with JOnAS
> > 4.3.2. Win xp.
> >
> > Right now, I've bumped up to using jdk 1.5.13.
> > I'm going to try to back down to 1.4 (using your recent chages).
> >
> > --Erik
> >
> > --- In jslex_group@yahoogroups.com <jslex_group%40yahoogroups.com>,
> > "eostermueller"
> > <eostermueller@> wrote:
> > >
> > > Hello again,
> > >
> > > I think I've got everything configured right, now.
> > > I can traverse all the jsLex screens and I don't see any errors
in my
> > > webapp log.
> > >
> > > However, I'm not seeing any data -- it feels like I'm missing
> > > something real easy. With something like JProbe, I'm accostomed to
> > > selecting "START snapshot" and "STOP snapshot." So I'm not quite
sure
> > > what to do with the 'Snapshot' button.
> > >
> > > When I click on the Snapshot button, nothing seems to happen. The
> > > green 'round-tangle' background never turns into an arrow, like some
> > > of the other button-backgrounds.
> > >
> > > It does look like the "Finished profiling callback" msg at the
bottom
> > > of the screen flashes for a split second when I click 'snapshot'.
> > >
> > > When I do a 'save', all the file-compression info is stored
along with
> > > <browserInfo>. I see the msg "0 Function calls" in the bottom left
> > > corner.
> > >
> > > What am I missing?
> > >
> > > Thanks,
> > >
> > > --Erik
> > >
> >
> >
> >
>
Thanks for that, but didn't work.
When I posted looking for help, my app was crashing with 1.6 -- our
team only certifies it with 1.4.
But, I tried 1.5 and both my app and jsLex worked ok -- so sorry for
the alarm on this front.
--Erik
--- In jslex_group@yahoogroups.com, "digital_ichi" <bbuffone@...> wrote:
>
> I have made a change to the compiler setting during the building of
> the application and uploaded it to the download page, it's marked as
> 0.1.2.
>
> Give it a try this should fix the issue. If not I will download an
> older JDK and try it locally.
>
> Bob
>
>
> --- In jslex_group@yahoogroups.com, "eostermueller"
> <eostermueller@> wrote:
> >
> > Hi all,
> >
> > I'm dangerously close to getting jsLex up and running.
> >
> > It looks like jsLex has a java applet that requires a jdk more recent
> > that 1.4. Here is the error I'm getting:
> >
> > 2007-10-08 11:01:01 StandardWrapperValve[jsp]: Servlet.service() for
> > servlet jsp threw exception
> > java.lang.UnsupportedClassVersionError: com/nexaweb/bean/JsLex
> > (Unsupported major.minor version 49.0)
> > at java.lang.ClassLoader.defineClass0(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
> >
> >
> > The system requirements
> > (http://rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download) don't say
> > which jdk is required. Is there a 1.4-compatible build somewhere?
> > Is the source available somewhere so I can build this myself?
> >
> > Thanks,
> >
> > --Erik Ostermueller
> >
>
One thing to beware of is that jsLex should run in its own web application and not under the application being profiled. Once the profile file is correctly loaded you can press the "Snap Shot" button. A tooltip will appear with an error message it the file isn't loaded correctly.
I loaded my profile.xml without incident and I'm launching jsLex from
within my application.
2007-10-08 11:51:27,731 : INFO : main :
AbsJWebContainerServiceImpl.registerWar : War
/F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/ available at the context
/jsLex.
I'm running this under the Tomcat that is distributed with JOnAS
4.3.2. Win xp.
Right now, I've bumped up to using jdk 1.5.13.
I'm going to try to back down to 1.4 (using your recent chages).
--Erik
--- In jslex_group@yahoogroups.com, "eostermueller"
<eostermueller@...> wrote:
>
> Hello again,
>
> I think I've got everything configured right, now.
> I can traverse all the jsLex screens and I don't see any errors in my
> webapp log.
>
> However, I'm not seeing any data -- it feels like I'm missing
> something real easy. With something like JProbe, I'm accostomed to
> selecting "START snapshot" and "STOP snapshot." So I'm not quite sure
> what to do with the 'Snapshot' button.
>
> When I click on the Snapshot button, nothing seems to happen. The
> green 'round-tangle' background never turns into an arrow, like some
> of the other button-backgrounds.
>
> It does look like the "Finished profiling callback" msg at the bottom
> of the screen flashes for a split second when I click 'snapshot'.
>
> When I do a 'save', all the file-compression info is stored along with
> <browserInfo>. I see the msg "0 Function calls" in the bottom left
> corner.
>
> What am I missing?
>
> Thanks,
>
> --Erik
>
Hi, replying to self, here.
I loaded my profile.xml without incident and I'm launching jsLex from
within my application.
2007-10-08 11:51:27,731 : INFO : main :
AbsJWebContainerServiceImpl.registerWar : War
/F:/jonas/JONAS_4_3_2/webapps/autoload/jsLex/ available at the context
/jsLex.
I'm running this under the Tomcat that is distributed with JOnAS
4.3.2. Win xp.
Right now, I've bumped up to using jdk 1.5.13.
I'm going to try to back down to 1.4 (using your recent chages).
--Erik
--- In jslex_group@yahoogroups.com, "eostermueller"
<eostermueller@...> wrote:
>
> Hello again,
>
> I think I've got everything configured right, now.
> I can traverse all the jsLex screens and I don't see any errors in my
> webapp log.
>
> However, I'm not seeing any data -- it feels like I'm missing
> something real easy. With something like JProbe, I'm accostomed to
> selecting "START snapshot" and "STOP snapshot." So I'm not quite sure
> what to do with the 'Snapshot' button.
>
> When I click on the Snapshot button, nothing seems to happen. The
> green 'round-tangle' background never turns into an arrow, like some
> of the other button-backgrounds.
>
> It does look like the "Finished profiling callback" msg at the bottom
> of the screen flashes for a split second when I click 'snapshot'.
>
> When I do a 'save', all the file-compression info is stored along with
> <browserInfo>. I see the msg "0 Function calls" in the bottom left
> corner.
>
> What am I missing?
>
> Thanks,
>
> --Erik
>
Hello again,
I think I've got everything configured right, now.
I can traverse all the jsLex screens and I don't see any errors in my
webapp log.
However, I'm not seeing any data -- it feels like I'm missing
something real easy. With something like JProbe, I'm accostomed to
selecting "START snapshot" and "STOP snapshot." So I'm not quite sure
what to do with the 'Snapshot' button.
When I click on the Snapshot button, nothing seems to happen. The
green 'round-tangle' background never turns into an arrow, like some
of the other button-backgrounds.
It does look like the "Finished profiling callback" msg at the bottom
of the screen flashes for a split second when I click 'snapshot'.
When I do a 'save', all the file-compression info is stored along with
<browserInfo>. I see the msg "0 Function calls" in the bottom left
corner.
What am I missing?
Thanks,
--Erik
I have made a change to the compiler setting during the building of
the application and uploaded it to the download page, it's marked as
0.1.2.
Give it a try this should fix the issue. If not I will download an
older JDK and try it locally.
Bob
--- In jslex_group@yahoogroups.com, "eostermueller"
<eostermueller@...> wrote:
>
> Hi all,
>
> I'm dangerously close to getting jsLex up and running.
>
> It looks like jsLex has a java applet that requires a jdk more recent
> that 1.4. Here is the error I'm getting:
>
> 2007-10-08 11:01:01 StandardWrapperValve[jsp]: Servlet.service() for
> servlet jsp threw exception
> java.lang.UnsupportedClassVersionError: com/nexaweb/bean/JsLex
> (Unsupported major.minor version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>
>
> The system requirements
> (http://rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download) don't say
> which jdk is required. Is there a 1.4-compatible build somewhere?
> Is the source available somewhere so I can build this myself?
>
> Thanks,
>
> --Erik Ostermueller
>
Hi all,
I'm dangerously close to getting jsLex up and running.
It looks like jsLex has a java applet that requires a jdk more recent
that 1.4. Here is the error I'm getting:
2007-10-08 11:01:01 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
java.lang.UnsupportedClassVersionError: com/nexaweb/bean/JsLex
(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
The system requirements
(http://rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.Download) don't say
which jdk is required. Is there a 1.4-compatible build somewhere?
Is the source available somewhere so I can build this myself?
Thanks,
--Erik Ostermueller
--- In jslex_group@yahoogroups.com, "jack_cheng_2000"
<jack_cheng_2000@...> wrote:
>
> Please help! I tried both ant and web to compress and generate
profile ,
> but when access profile window, no metrix show up and take snapshot
> button is grayed out.
>
I looked at the files you sent me and they look like they are fine and
the code should have been injected.
Couple questions:
1.) are you launching the jsLex application from your application
using the instructions on following page?
http://www.rockstarapps.com/pmwiki/pmwiki.php?n=JsLex.YourApp
Looking at the the code of jsLex, you need to do two things to enable
the button.
1.) Load the profile.xml file
2.) Be launched from the application. jsLex needs to connect to
the application being profiled by getting a hold of the application's
browser window.
2.) Mouse over the "Snapshot" button and see what the tool tip is, if
it says "Snapshot is only available while actively profiling.". Then
you will need to follow the instructions on the page above.
Bob
--- In jslex_group@yahoogroups.com, "Gustavo Melim" <g_melim@...> wrote:
>
> Hello,
> I've just read about jslex and I am planning to use it to check the
> performance issues of my application, but reading the documentation it
> needs a Java or php application server, my application was developed
> using Microsoft .Net and it runs under IIS, is there any way to use
> Jslex ? (If I start a Java application server it will not run at the
> same port that IIS, and following the documentation it is a primary
> condition to use jslex)
>
> Thanks for your support,
> Gustavo
>
Currently I haven't made it work with IIS and ASP. This is soemthing
I can do, let me look into what it would take and get back to you.
Bob
Please help! I tried both ant and web to compress and generate profile ,
but when access profile window, no metrix show up and take snapshot
button is grayed out.
Hello,
I've just read about jslex and I am planning to use it to check the
performance issues of my application, but reading the documentation it
needs a Java or php application server, my application was developed
using Microsoft .Net and it runs under IIS, is there any way to use
Jslex ? (If I start a Java application server it will not run at the
same port that IIS, and following the documentation it is a primary
condition to use jslex)
Thanks for your support,
Gustavo
--- In jslex_group@yahoogroups.com, "digital_ichi" <bbuffone@...> wrote:
>
> --- In jslex_group@yahoogroups.com, "digital_ichi" <bbuffone@> wrote:
> >
> > Hi,
> >
> > Saw your presentation at JavaOne and wanted to try out jsLex - but am
> > running into some problems. The crux of the issue is the variable
> > renaming inside functions like the following:
> >
> > function foo(object, methodName) {
> > eval("object."+methodName+"()");
> > }
> >
> > Can you extend the compression logic to also look for eval statements
> > and rewrite the localvariables inside the eval strings.
> >
> > [PS: would also be nice if you could make the JsLex class use the
> > StringBuffer instead of StringBuilder class - for backward
> > compatibility..]
> >
>
> Thanks for the feedback,
>
> So the issue is that you want to call
>
> function foo(object, methodName) {
> eval("object."+methodName+"()");
> }
>
> after compression it becomes something like,
>
> function foo(o1,m1){
> eval("object."+methodName+"()");
> }
>
> Yeah, I can see that is a problem. Currently jsLex uses dojo
> compressor, which in this instance is causing the problem. I will make
> a setting to that you can turn off the compression, which will stop
> this behavior.
>
> Let know know when it is finished.
>
I have uploaded version 0.1.1 to the web site. This version now has
the ability to turn off the parameter and variable name compression.
You can turn off the compression of names by setting the compressNames
attribute of the jsLex ant task to be "none". If you are using the
supplied build.xml file you can do this easily be change the following
line.
<property name="compress.names" value="normal"/>
becomes
<property name="compress.names" value="none"/>
Let me know if this works for you,
--- In jslex_group@yahoogroups.com, "digital_ichi" <bbuffone@...> wrote:
>
> Hi,
>
> Saw your presentation at JavaOne and wanted to try out jsLex - but am
> running into some problems. The crux of the issue is the variable
> renaming inside functions like the following:
>
> function foo(object, methodName) {
> eval("object."+methodName+"()");
> }
>
> Can you extend the compression logic to also look for eval statements
> and rewrite the localvariables inside the eval strings.
>
> [PS: would also be nice if you could make the JsLex class use the
> StringBuffer instead of StringBuilder class - for backward
> compatibility..]
>
Thanks for the feedback,
So the issue is that you want to call
function foo(object, methodName) {
eval("object."+methodName+"()");
}
after compression it becomes something like,
function foo(o1,m1){
eval("object."+methodName+"()");
}
Yeah, I can see that is a problem. Currently jsLex uses dojo
compressor, which in this instance is causing the problem. I will make
a setting to that you can turn off the compression, which will stop
this behavior.
Let know know when it is finished.
Hi,
Saw your presentation at JavaOne and wanted to try out jsLex - but am
running into some problems. The crux of the issue is the variable
renaming inside functions like the following:
function foo(object, methodName) {
eval("object."+methodName+"()");
}
Can you extend the compression logic to also look for eval statements
and rewrite the localvariables inside the eval strings.
[PS: would also be nice if you could make the JsLex class use the
StringBuffer instead of StringBuilder class - for backward
compatibility..]