<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "Mystery Of the Missing Java Agents"</title>
<description>Replies to blog "Mystery Of the Missing Java Agents" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Fri, 19 Feb 2010 02:33:03 -0600</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20100129-0527" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Fri, 19 Feb 2010 02:33:03 -0600</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Frank,</p>
		<p>It's not happened to me again since I wrote this blog entry almost 3 weeks ago even though I've been using Java agents just as much. The only thing I can put this down to is that I took the advice given above that you don't copy/paste an existing Java agent when you need a new one (which is what I normally always do).</p>
		<p>Since I stopped copying existing Java agents it's stopped happening. Perhaps coincidence, perhaps not?</p>
		<p>Jake</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=551F5B14A0B295F1862576CF002EF86C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_551F5B14</link>
</item><item>
	<title>Reply from Frank Dröge</title>
	<pubDate>Thu, 18 Feb 2010 13:58:49 -0600</pubDate>
	<author>Frank Dröge</author>
	<description><![CDATA[ 
		<p>I'm also experiencing this issue. Everything in my app is fine, except for Java agents. I have spent quite some time reimplementing all my Java Code recently, because everything was broken when I opened the ntf in 8.5.1, and now this. After 15 years of Notes/Domino, I'm really wondering if it's time to quit...</p>
		<p>But still, the app needs to run. Does anybody have new info on this?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=7716E20AF0F27C61862576CE006DC0EF"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_7716E20A</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Tue, 02 Feb 2010 03:19:25 -0600</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Fredrik,</p>
		<p>More than likely, yes I did copy/rename the agents. That's how I tend to work.</p>
		<p>Although the agents I've since added to fix the "not found" problem are created from scratch, so let's hope you're right and it doesn't happen to them too....</p>
		<p>Jake</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=4C6F0F6928DD3BC9862576BE0033373E"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_4C6F0F69</link>
</item><item>
	<title>Reply from Fredrik Stöckel</title>
	<pubDate>Mon, 01 Feb 2010 17:07:32 -0600</pubDate>
	<author>Fredrik Stöckel</author>
	<description><![CDATA[ 
		<p>I have seen that problem a few times before. Did you copy/rename the agent from the list of agent-designelements? (not sure this is related) but i have encountered some wierd behavior by copy/and or renaming agents directly from the agent list (clicking on the agent name).</p>
		<p>Fredrik</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=9610B833BE51FCD0862576BD007F0846"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_9610B833</link>
</item><item>
	<title>Reply from Bjørn Cintra</title>
	<pubDate>Mon, 01 Feb 2010 02:43:36 -0600</pubDate>
	<author>Bjørn Cintra</author>
	<description><![CDATA[ 
		<p>This is about where to put code that you want to reference from your SSJ code. (For the interested, I am using Freemarker as a templating language for our CMS, instead of JSF components). As far as I know, the "traditional" Java libraries, and xPages don't talk together, as the xPages cannot reference the code in those libraries (correct me if I'm wrong anyone). I suspect that with a proper Java editor for Java agents, and Java libraries, they will do so in the future.</p>
		<p>The missing agents are still an issue. You could most likelly store your classes in src, but you would still have to reference it from an agent, and it's the agent code that disappears, it seems.</p>
		<p>quote:"How do I add to the classpath for the NSF? You do mean the NSF I take it, and not the machine itself?"</p>
		<p>He is talking about classpath references in the Java/eclipse view.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=0F243C4025B26224862576BD002FEFC5"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument&amp;r=0F243C4025B26224862576BD002FEFC5#DOC_0F243C40</link>
</item><item>
	<title>Reply from Bjørn Cintra</title>
	<pubDate>Mon, 01 Feb 2010 02:35:09 -0600</pubDate>
	<author>Bjørn Cintra</author>
	<description><![CDATA[ 
		<p>Looks like you learn something every day :)</p>
		<p>Now, if class.getResource() would actually understand how to read from an nsf, I could drop external jars form my code...</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=F132D87962C536A5862576BD002F29DE"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument&amp;r=F132D87962C536A5862576BD002F29DE#DOC_F132D879</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Sun, 31 Jan 2010 16:24:40 -0600</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Stephan,</p>
		<p>Just to clarify my understanding of what you're saying -- are you saying I shouldn't use Java Script Libraries for my Java classes? Instead I should create them in a new "src" folder, which I'd create by switching to the Java perspective?</p>
		<p>How do I add to the classpath for the NSF? You do mean the NSF I take it, and not the machine itself?</p>
		<p>Do you think this would help prevent future "missing agents"?</p>
		<p>Thanks,</p>
		<p>Jake</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=A845BA3D03785CF6862576BC007B1BD0"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument&amp;r=A845BA3D03785CF6862576BC007B1BD0#DOC_A845BA3D</link>
</item><item>
	<title>Reply from Stephan H. Wissel</title>
	<pubDate>Sun, 31 Jan 2010 10:23:53 -0600</pubDate>
	<author>Stephan H. Wissel</author>
	<description><![CDATA[ 
		<p>Bjørn,</p>
		<p>The intended - and safe - place for your Java files inside the NSF is /WebContent/WEB-INF/src (you need to create the src folder and add it to the classpath). The default location "local" in the classpath is for generated files only and all other stuff will be overwritten / removed.</p>
		<p>Stick to the /WebContent/WEB-INF/src location.</p>
		<p>Hth</p>
		<p>:-) stw</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=91812F479E2EEA5F862576BC005A1373"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_91812F47</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Sat, 30 Jan 2010 02:32:43 -0600</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Bjørn,</p>
		<p>Do you know when it's likely to happens? Does it just happen at any point - for no reason - or does it get triggered by a save in designer? What worries me is the idea that I could test my work, deliver it to customer, get it up and running only for it then to break for no reason. Could that happen? If so I need to consider reverting back to Lotuscript.</p>
		<p>Jake</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=C3C4267A7BD3382A862576BB002EF0F2"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_C3C4267A</link>
</item><item>
	<title>Reply from Bjørn Cintra</title>
	<pubDate>Fri, 29 Jan 2010 13:55:23 -0600</pubDate>
	<author>Bjørn Cintra</author>
	<description><![CDATA[ 
		<p>There are lots of problems related to 8.5.1 and code disappearing, I have at least 3 different situations identified:</p>
		<p>1.) Java source code disappears from agents and script libraries, and have to be copied back in (this is your issue I believe)</p>
		<p>2.) If you open Java perspective, and create a java package and som java files to go with it, the designer will usually delete them on exit (or is it restart). I know IBM is aware of at least this issue. I get around this by creating a jarfile in eclipse instead, and putting this on the server.</p>
		<p>3.) I think I identified another issue yesterday, when one of our clients website suddenly threw an error, complaining that a Server Side Javascript library was missing, and my xPage could not call it. A resave of the xpage fixed that issue. This is actually the second time I see this, so it's not a "fluke". I suspect the compiled class file somehow disappeared....</p>
		<p>I bet most of these are related to the virtual filesystem that IBM has created on top of notes to get eclipse to talk to the nsf.</p>
		<p>I know IBM are aware of some of these issues, and hopefully they are fixed in 8.5.2 (now in beta), but I have not yet had the opportunity to try it out.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=6D8CB23EED37FDA5862576BA006D70C8"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_6D8CB23E</link>
</item><item>
	<title>Reply from Sandra Noronha</title>
	<pubDate>Fri, 29 Jan 2010 09:26:09 -0600</pubDate>
	<author>Sandra Noronha</author>
	<description><![CDATA[ 
		<p>Jake, </p>
		<p>This is not directly related to your post (or to the browser client you mostly develop for), but still I thought it would be better to warn you. </p>
		<p>Using an eclipse based notes designer to develop an application, will produce a *.nsf with "special" objects within it, that may crash older Notes Clients. </p>
		<p>See this post for more details: http://lekkimworld.com/2009/07/09/why_you_should_develop_with_the_same_version_as_your_users_use.html</p>
		<p>(my experience in the comment: http://lekkimworld.com/2009/07/09/why_you_should_develop_with_the_same_version_as_your_users_use.html#comment1247142925468).</p>
		<p>You never know what other side effects the Eclipse Designer development may have...</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=0AE6D458015F07A9862576BA0054CA8E"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_0AE6D458</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Fri, 29 Jan 2010 08:37:06 -0600</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>In an odd way I'm glad to hear I'm not alone and that there's no point hassling the customer to upgrade their server.</p>
		<p>But, then, if there's no solution...</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=1D124977CDFCA962862576BA00504CF8"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_1D124977</link>
</item><item>
	<title>Reply from Paul T. Calhoun</title>
	<pubDate>Fri, 29 Jan 2010 08:21:03 -0600</pubDate>
	<author>Paul T. Calhoun</author>
	<description><![CDATA[ 
		<p>I have experienced this EXACT same behavior.  As I'm developing locally and deploying on an 8.5.1 server it is not a server issue.</p>
		<p>As it is not easily duplicated I haven't submitted an SPR, but it is very frustrating.</p>
		<p>Only work around I have found is to recreate the agent with the same name as you described.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=86AF14808CEC9329862576BA004ED4C0"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_86AF1480</link>
</item><item>
	<title>Reply from mdmadph</title>
	<pubDate>Fri, 29 Jan 2010 08:00:10 -0600</pubDate>
	<author>mdmadph</author>
	<description><![CDATA[ 
		<p>Have I seen this before?  I have seen so many wonky things happen in the Domino Designer over the years -- man, where do I begin.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=CC79A4FC05F9EB4B862576BA004CEB5D"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_CC79A4FC</link>
</item><item>
	<title>Reply from Jerry Carter</title>
	<pubDate>Fri, 29 Jan 2010 07:57:32 -0600</pubDate>
	<author>Jerry Carter</author>
	<description><![CDATA[ 
		<p>I think the answer to that is "very likely".  I though to mention that the other day but figured you knew what you were doing. ;-)</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=3EF1C697D6C65A01862576BA004CAD80"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument&amp;r=3EF1C697D6C65A01862576BA004CAD80#DOC_3EF1C697</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Fri, 29 Jan 2010 06:24:20 -0600</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Stephan. Could the client/server mismatch explain the problems I'm getting?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=E42D3CC680CAD51C862576BA00442530"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_E42D3CC6</link>
</item><item>
	<title>Reply from Stephan H. Wissel</title>
	<pubDate>Fri, 29 Jan 2010 06:10:46 -0600</pubDate>
	<author>Stephan H. Wissel</author>
	<description><![CDATA[ 
		<p>The Domino Designer 8.5.1 handles Agents completely different (as checking them out as temp Java projects). So you might want to go and upgrade that server. Anyway: Domino 6.5 is JVM 1.3 and Domino 8.5 is 6.0.... you can expect quite some speed improvements.</p>
		<p>:-) stw</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=69F19C5378399165862576BA0042E75C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_69F19C53</link>
</item><item>
	<title>Reply from Nick</title>
	<pubDate>Fri, 29 Jan 2010 05:41:36 -0600</pubDate>
	<author>Nick</author>
	<description><![CDATA[ 
		<p>I have run into issues with Java agents when I'm using a higher version of the designer client than the server version, so have had to save the agents on another pc that has a version of designer that is the same as the server.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=F05D49CBB8FF7BC6862576BA00403BE4"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20100129-0527?OpenDocument#DOC_F05D49CB</link>
</item>

</channel>
</rss> 
