<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1 DE-Edition" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Webseite von Jürgen Mayer, M.Comp.Sc. - Software-Experte, Projekt-Manager, IT-Berater. Individuelle Software Entwicklung, Software-Design, Modellierung.</title>
	<link>http://www.juergen-mayer.com</link>
	<description>Webseite von Jürgen Mayer, Informatiker. Individuelle Softwareentwicklung und Beratung</description>
	<pubDate>Wed, 27 Apr 2011 06:24:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>
	<language>en</language>
			<item>
		<title>Determine WebSphere Portal Server Version</title>
		<link>http://www.juergen-mayer.com/20110426/determine-websphere-portal-server-version_97</link>
		<comments>http://www.juergen-mayer.com/20110426/determine-websphere-portal-server-version_97#comments</comments>
		<pubDate>Tue, 26 Apr 2011 19:21:01 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.juergen-mayer.com/20110426/determine-websphere-portal-server-version_97</guid>
		<description><![CDATA[Execute PortalServer/bin/WPVersionInfo.(bat&#124;sh)
You will receive a WebSphere Portal Product Installation Status Report containing detailed information.
]]></description>
			<content:encoded><![CDATA[<p>Execute PortalServer/bin/WPVersionInfo.(bat|sh)</p>
<p>You will receive a WebSphere Portal Product Installation Status Report containing detailed information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20110426/determine-websphere-portal-server-version_97/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ltpa token issues</title>
		<link>http://www.juergen-mayer.com/20101123/ltpa-token-issues_96</link>
		<comments>http://www.juergen-mayer.com/20101123/ltpa-token-issues_96#comments</comments>
		<pubDate>Tue, 23 Nov 2010 13:39:15 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.juergen-mayer.com/20101123/ltpa-token-issues_96</guid>
		<description><![CDATA[Use trace string: com.ibm.ws.security.*=all=enabled and maybe com.ibm.wsspi.wssecurity.*=finest 
]]></description>
			<content:encoded><![CDATA[<p>Use trace string: <span lang="EN-GB">com.ibm.ws.security.*=all=enabled and maybe com.ibm.wsspi.wssecurity.*=finest </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20101123/ltpa-token-issues_96/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SRVE0068E: java.lang.ClassCastException: com.ibm.wps.pe.pc.legacy.impl.PortletConfigImpl incompatible with javax.servlet.ServletContext</title>
		<link>http://www.juergen-mayer.com/20100816/srve0068e-javalangclasscastexception-comibmwpspepclegacyimplportletconfigimpl-incompatible-with-javaxservletservletcontext_95</link>
		<comments>http://www.juergen-mayer.com/20100816/srve0068e-javalangclasscastexception-comibmwpspepclegacyimplportletconfigimpl-incompatible-with-javaxservletservletcontext_95#comments</comments>
		<pubDate>Mon, 16 Aug 2010 18:21:08 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.juergen-mayer.com/20100816/srve0068e-javalangclasscastexception-comibmwpspepclegacyimplportletconfigimpl-incompatible-with-javaxservletservletcontext_95</guid>
		<description><![CDATA[ SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: [your servlet here]. Exception thrown : java.lang.ClassCastException: com.ibm.wps.pe.pc.legacy.impl.PortletConfigImpl incompatible with javax.servlet.ServletContext
Find a solution here: http://www-01.ibm.com/support/docview.wss?uid=swg21316024
]]></description>
			<content:encoded><![CDATA[<p> SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: [your servlet here]. Exception thrown : java.lang.ClassCastException: com.ibm.wps.pe.pc.legacy.impl.PortletConfigImpl incompatible with javax.servlet.ServletContext</p>
<p>Find a solution here: http://www-01.ibm.com/support/docview.wss?uid=swg21316024</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20100816/srve0068e-javalangclasscastexception-comibmwpspepclegacyimplportletconfigimpl-incompatible-with-javaxservletservletcontext_95/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SECJ0056E: Authentication failed for reason 319</title>
		<link>http://www.juergen-mayer.com/20100805/secj0056e-authentication-failed-for-reason-319_94</link>
		<comments>http://www.juergen-mayer.com/20100805/secj0056e-authentication-failed-for-reason-319_94#comments</comments>
		<pubDate>Thu, 05 Aug 2010 18:32:13 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[WebSphere]]></category>
<category>LtpaToken</category><category>Security</category><category>WebSphere</category>
		<guid isPermaLink="false">http://www.juergen-mayer.com/20100805/secj0056e-authentication-failed-for-reason-319_94</guid>
		<description><![CDATA[

  

Hint: Enable the following trace String com.ibm.ws.security.*=all=enabled to get more information. 
&#160;
This error occurs during decoding LtpaToken which is a Base64 encoded byte stream. For my case the error occured because LptaToken was not a valid Base64 encoded byte stream, the last character was cut off.
&#160;
&#160;
]]></description>
			<content:encoded><![CDATA[<p><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="ProgId" content="Word.Document" /><meta name="Generator" content="Microsoft Word 11" /><meta name="Originator" content="Microsoft Word 11" /></p>
<link href="file:///C:%5CDOCUME%7E1%5Cjumaer%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_filelist.xml" rel="File-List" /><!--[if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:HyphenationZone>21</w:HyphenationZone>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" LatentStyleCount="156">  </w:LatentStyles> </xml><![endif]--><br />
<style> <!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:70.85pt 70.85pt 2.0cm 70.85pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --> </style>
<p><!--[if gte mso 10]><br />
<style>  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Normale Tabelle"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} </style>
<p> <![endif]--></p>
<p class="MsoNormal"><span lang="EN-GB">Hint: Enable the following trace String com.ibm.ws.security.*=all=enabled to get more information. </span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">This error occurs during decoding LtpaToken which is a Base64 encoded byte stream. For my case the error occured because LptaToken was not a valid Base64 encoded byte stream, the last character was cut off.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20100805/secj0056e-authentication-failed-for-reason-319_94/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Modify Websphere Portal Session Cookie JSESSIONID</title>
		<link>http://www.juergen-mayer.com/20100508/modify-websphere-portal-session-cookie-jsessionid_93</link>
		<comments>http://www.juergen-mayer.com/20100508/modify-websphere-portal-session-cookie-jsessionid_93#comments</comments>
		<pubDate>Sat, 08 May 2010 21:33:16 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<guid isPermaLink="false">http://www.juergen-mayer.com/20100508/modify-websphere-portal-session-cookie-jsessionid_93</guid>
		<description><![CDATA[Log into to your WebSphere Application Server Administration  Console.
Select Servers -&#62; Application Servers -&#62; WebSphere_Portal
Select Web Container-&#62; Session Management.
Click on the Enable Cookies link. (Leave it checked.)
Change the cookie name from JSESSIONID to any other cookie name.
Click Apply and then Save the changes
Restart WebSphere Portal.
]]></description>
			<content:encoded><![CDATA[<p>Log into to your WebSphere Application Server Administration  Console.</p>
<p>Select <strong>Servers -&gt; Application Servers -&gt; WebSphere_Portal</strong><br />
Select <strong>Web Container-&gt; Session Management</strong>.<br />
Click on the <strong>Enable Cookies</strong> link. (Leave it checked.)<br />
Change the cookie name from <tt>JSESSIONID</tt> to any other cookie name.</p>
<p>Click <strong>Apply</strong> and then <strong>Save</strong> the changes<br />
Restart WebSphere Portal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20100508/modify-websphere-portal-session-cookie-jsessionid_93/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Spring: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set</title>
		<link>http://www.juergen-mayer.com/20100215/spring-orghibernatehibernateexception-hibernate-dialect-must-be-explicitly-set_92</link>
		<comments>http://www.juergen-mayer.com/20100215/spring-orghibernatehibernateexception-hibernate-dialect-must-be-explicitly-set_92#comments</comments>
		<pubDate>Mon, 15 Feb 2010 19:36:01 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<guid isPermaLink="false">http://www.juergen-mayer.com/20100215/spring-orghibernatehibernateexception-hibernate-dialect-must-be-explicitly-set_92</guid>
		<description><![CDATA[The spring configuration file applicationContext.xml may contain this line:
&#60;property name=&#8221;dialect&#8221;&#62;org.hibernate.dialect.DB2Dialect&#60;/property&#62;
Instead of this line you should try this:
&#60;prop key=&#8221;hibernate.dialect&#8221;&#62;org.hibernate.dialect.DB2Dialect&#60;/prop&#62;
Hibernate properties within a spring configuration file start with &#8216;hibernate.&#8217;
]]></description>
			<content:encoded><![CDATA[<p>The spring configuration file applicationContext.xml may contain this line:</p>
<p>&lt;property name=&#8221;dialect&#8221;&gt;org.hibernate.dialect.DB2Dialect&lt;/property&gt;</p>
<p>Instead of this line you should try this:</p>
<p>&lt;prop key=&#8221;hibernate.dialect&#8221;&gt;org.hibernate.dialect.DB2Dialect&lt;/prop&gt;</p>
<p>Hibernate properties within a spring configuration file start with &#8216;hibernate.&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20100215/spring-orghibernatehibernateexception-hibernate-dialect-must-be-explicitly-set_92/feed/</wfw:commentRss>
		</item>
		<item>
		<title>eth0 verschwunden bei einer Ubuntu Linux Kopie in VMWare</title>
		<link>http://www.juergen-mayer.com/20090919/eth0-verschwunden-bei-einer-ubuntu-linux-kopie-in-vmware_91</link>
		<comments>http://www.juergen-mayer.com/20090919/eth0-verschwunden-bei-einer-ubuntu-linux-kopie-in-vmware_91#comments</comments>
		<pubDate>Sat, 19 Sep 2009 15:19:47 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>
<category>Netzwerkkonfiguration</category><category>Ubuntu Linux</category><category>VmWare</category>
		<guid isPermaLink="false">http://www.juergen-mayer.com/20090919/eth0-verschwunden-bei-einer-ubuntu-linux-kopie-in-vmware_91</guid>
		<description><![CDATA[Ich habe eine Kopie eines Ubuntu Linux mit einer Tomcat und DB2 Installation bekommen, mein Problem war, dass das Netzwerkkarteninterface nicht sichtbar war. Mit ifconfig war nur das Loopback Interface zu sehen, eth0 hat gefehlt. Die Lösung sieht wie folgt aus:
Unter /etc/udev/rules.d/
das File 70-persistent-net.rules löschen. Dort ist ein alter Eintrag für eth0 drin, und vermutlich [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe eine Kopie eines Ubuntu Linux mit einer Tomcat und DB2 Installation bekommen, mein Problem war, dass das Netzwerkkarteninterface nicht sichtbar war. Mit ifconfig war nur das Loopback Interface zu sehen, eth0 hat gefehlt. Die Lösung sieht wie folgt aus:</p>
<p>Unter /etc/udev/rules.d/</p>
<p>das File 70-persistent-net.rules löschen. Dort ist ein alter Eintrag für eth0 drin, und vermutlich einer neuer Eintrag für eth1.</p>
<p>Nachdem das File gelöscht wurde, mit <strong>sudo reboot</strong> einen Neustart veranlassen. Bei mir war anschließend eth0 wieder verfügbar. Das File 70-persistent-net.rules wurde mit einem Eintrag für eth0 neu angelegt.</p>
<p>ifconfig hat dann wieder beide Interfaces angezeigt.</p>
<p>Die Lösung für das Problem war <a href="http://communities.vmware.com/message/655026" target="_blank">hier</a> zu finden:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20090919/eth0-verschwunden-bei-einer-ubuntu-linux-kopie-in-vmware_91/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lehrauftrag an der Akademie für Kommunikation in Ulm</title>
		<link>http://www.juergen-mayer.com/20090919/lehrauftrag-an-der-akademie-fur-kommunikation-in-ulm_90</link>
		<comments>http://www.juergen-mayer.com/20090919/lehrauftrag-an-der-akademie-fur-kommunikation-in-ulm_90#comments</comments>
		<pubDate>Sat, 19 Sep 2009 11:03:23 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Allgemeines]]></category>

		<guid isPermaLink="false">http://www.juergen-mayer.com/20090919/lehrauftrag-an-der-akademie-fur-kommunikation-in-ulm_90</guid>
		<description><![CDATA[Diese Woche habe meine Lehrveranstaltungen an der AfK Ulm gestartet. Die Veranstaltungen behandeln Objektorientierte Programmierung, Datenbanktechnik und Projektmanagement. Für die drei Veranstaltungen habe ich einen extra Blog mit dem neuen Wordpress 2.8 aufgesetzt. Dort werden alle Materialen der Veranstaltungen gesammelt und angeboten. Der Blog ist hier zu finden: http://afk.juergen-mayer.com.
]]></description>
			<content:encoded><![CDATA[<p>Diese Woche habe meine Lehrveranstaltungen an der AfK Ulm gestartet. Die Veranstaltungen behandeln Objektorientierte Programmierung, Datenbanktechnik und Projektmanagement. Für die drei Veranstaltungen habe ich einen extra Blog mit dem neuen Wordpress 2.8 aufgesetzt. Dort werden alle Materialen der Veranstaltungen gesammelt und angeboten. Der Blog ist hier zu finden: <a href="http://afk.juergen-mayer.com">http://afk.juergen-mayer.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20090919/lehrauftrag-an-der-akademie-fur-kommunikation-in-ulm_90/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Where is ejb/BusinessFlowManagerHome deployed</title>
		<link>http://www.juergen-mayer.com/20090919/where-is-ejbbusinessflowmanagerhome-deployed_79</link>
		<comments>http://www.juergen-mayer.com/20090919/where-is-ejbbusinessflowmanagerhome-deployed_79#comments</comments>
		<pubDate>Sat, 19 Sep 2009 10:58:34 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[BPEL]]></category>
<category>BPEL</category><category>ProcessServer</category><category>WebSphere</category>
		<guid isPermaLink="false">http://www.juergen-mayer.com/20090919/where-is-ejbbusinessflowmanagerhome-deployed_79</guid>
		<description><![CDATA[You know I was working with the Human Task Manager API, so it was interesting for me to know where the EJB is deployed. There is the information:
On IBM ProcessServer:
ejb/BusinessFlowManagerHome ist part of BPE_Container Application. Concrete it&#8217;s a part of the EJB module bpecontainer.jar inside this application. ejb/HumanTaskManagerHome is part of TaskContainer Application, located inside [...]]]></description>
			<content:encoded><![CDATA[<p>You know I was working with the Human Task Manager API, so it was interesting for me to know where the EJB is deployed. There is the information:</p>
<p>On IBM ProcessServer:</p>
<p>ejb/BusinessFlowManagerHome ist part of BPE_Container Application. Concrete it&#8217;s a part of the EJB module bpecontainer.jar inside this application. ejb/HumanTaskManagerHome is part of TaskContainer Application, located inside EJB module taskejb.jar.</p>
<h1 id="title-bread-crumb"><a href="https://localhost:9046/ibm/console/applicationDeploymentCollection.do?EditAction=true&amp;refId=ApplicationDeployment_1163434921266&amp;contextId=cells:ctrNode01Cell:applications:BPEContainer_wps_server1.ear:deployments:BPEContainer_wps_server1&amp;resourceUri=deployment.xml&amp;perspective=tab.configuration"><br />
</a></h1>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20090919/where-is-ejbbusinessflowmanagerhome-deployed_79/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Name comp/env/ejb not found in context &#8220;java:&#8221;</title>
		<link>http://www.juergen-mayer.com/20090919/name-compenvejb-not-found-in-context-java_78</link>
		<comments>http://www.juergen-mayer.com/20090919/name-compenvejb-not-found-in-context-java_78#comments</comments>
		<pubDate>Sat, 19 Sep 2009 10:53:25 +0000</pubDate>
		<dc:creator>Jürgen Mayer</dc:creator>
		
		<category><![CDATA[Erfahrungen]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[BPEL]]></category>

		<category><![CDATA[IBM ProcessServer]]></category>
<category>BPEL</category><category>ProcessServer</category><category>WebSphere</category>
		<guid isPermaLink="false">http://www.juergen-mayer.com/20090919/name-compenvejb-not-found-in-context-java_78</guid>
		<description><![CDATA[I currently working with IBM ProcessServer and I created a BPEL process doing some stuff.
I wanted to use the Human Task API inside a snippet. I got this error message:
javax.naming.NameNotFoundException: Name comp/env/ejb not found in context &#8220;java:&#8221;
How to make it work:
Add a reference to the HumanTaskManager EJB at your EJB project, in my case this [...]]]></description>
			<content:encoded><![CDATA[<p>I currently working with IBM ProcessServer and I created a BPEL process doing some stuff.</p>
<p>I wanted to use the Human Task API inside a snippet. I got this error message:</p>
<p>javax.naming.NameNotFoundException: Name comp/env/ejb not found in context &#8220;java:&#8221;</p>
<p>How to make it work:</p>
<p>Add a reference to the HumanTaskManager EJB at your EJB project, in my case this was TestProcessEJB . There is a ejb-jar.xml under ejbModule/META-INF/. Don&#8217;t forget to add the JNDI name to the EJB reference at the references tab. If this JNDI name is not set you will receive such an error message:</p>
<p>Stack-Trace: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.  Root exception is javax.naming.NameNotFoundException: Context: ctrNode01Cell/nodes/wps/servers/server1, name: ejb/HumanTaskManagerHome: First component in name HumanTaskManagerHome not found.  Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0</p>
<p>java.lang.ClassCastException: Unable to load class: com.ibm.task.api._HumanTaskManagerHome_Stub</p>
<p>Now have have to package task137650.jar  with your enterprise application. In my case I had to place this file to TEST_ProcessWeb\WebContent\WEB-INF\lib\task137650.jar. In my case I found it here: IBM\Rational\SDP\6.0\runtimes\bi_v6\ProcessChoreographer\client</p>
<p>If you work with the BusinessFlowManager Bean inside your snippet you have to add bpe137650.jar.</p>
<p>Now this code would work inside a Java Snippet:</p>
<p>TKIID tkiid = null;<br />
try<br />
{<br />
System.out.println(&#8221;Prozess Starter &#8221; + processInstance().getStarter());<br />
// Obtain the default initial JNDI context</p>
<p>Context initialContext = new InitialContext();<br />
Object resultHTMHome = initialContext.lookup(&#8221;java:comp/env/ejb/HumanTaskManagerHome&#8221;);</p>
<p>// Get the home interface<br />
HumanTaskManagerHome taskHome =<br />
(HumanTaskManagerHome) javax.rmi.PortableRemoteObject.narrow(resultHTMHome, HumanTaskManagerHome.class);</p>
<p>// Create the EJB<br />
HumanTaskManager taskManager = taskHome.create();</p>
<p>QueryResultSet result = taskManager.query(&#8221;DISTINCT TASK.TKIID&#8221;,<br />
&#8220;TASK.NAME = &#8216;ATestTask&#8217;&#8221;,<br />
(String)null, (Integer)null, (TimeZone)null);<br />
if (result.size() &gt; 0)<br />
{<br />
result.first();<br />
tkiid = (TKIID) result.getOID(1);<br />
System.out.println(&#8221;TKIID+ &#8221; + tkiid.toString() );<br />
Task startCreateECOTask = taskManager.getTask(tkiid);<br />
String ownerOfStartCreateECOTask = startCreateECOTask.getOwner();startCreateECOTask.<br />
System.out.println(&#8221;ownerOfStartCreateECOTask &#8221; + ownerOfStartCreateECOTask);<br />
}<br />
}<br />
catch (Exception e)<br />
{<br />
e.printStackTrace(System.out);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.juergen-mayer.com/20090919/name-compenvejb-not-found-in-context-java_78/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

