<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest topics for the forum "Application Servers"]]></title>
		<link>http://forums.hotjoe.com/forums/show/19.page</link>
		<description><![CDATA[The newest discussed topics in the forum "Application Servers"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>help to understand ERROR in JSP/apache</title>
				<description><![CDATA[ Hello,<br /> I have to fix a problem in an application written using Apache(TomCaT), Java/JSP and MySQL, deloped to act like a calendar in the intranet web (I didnt develope it so here is the main problem).<br /> I didnt develope it and I am new about this framework so I really need some help..I cant understand the errore where it comes from..<br /> <br /> There is a index.jsp where the authentication proccess start.<br /> I cant understand the last step where is written:<br /> response.sendRedirect("Authenticate.cawa")<br /> I know that is used to redirect to the page "Authenticate.cawa" but the thing is that I cant find in the web server apache any file named "Authenticate.cawa". Is this part of a library java imported maybe ?<br /> <br /> anyway the error message that it appears in the browser is:<br /> <br /> "2011-01-13 14:07:33 StandardWrapperValve[Authenticate]: Servlet.service() for servlet Authenticate threw exception<br /> java.lang.NullPointerException"<br /> <br /> You can see the full jpg in attachment.<br /> <br /> It seems an authentication problem but I cant figure out where it comes from....<br /> The application stopped to work when a worker undeployed the application from the tomcat manager. We did the deploy again but it didnt work. Now we keep getting that message.<br /> <br /> The company changed the servers used as firewall, echange, DNS moving from Windows Server 2003 to Windows Server 2008.<br /> <br /> the full code of the first page parsed by the browser and used to authenticate is:<br /> <br /> &lt;%@ page contentType="text/html; charset=iso-8859-1" language="java" %&gt;<br /> &lt;%@ page import="sun.misc.BASE64Encoder" %&gt;<br /> &lt;%@ page import="java.io.*" %&gt;<br /> &lt;%@ page import="org.apache.log4j.Logger" %&gt;<br /> <br /> &lt;%&lt;br /&gt; response.setHeader(&quot;Cache-Control&quot;,&quot;no-cache&quot;); //HTTP 1.1<br /> response.setHeader("Pragma","no-cache"); //HTTP 1.0<br /> response.setDateHeader ("Expires", -1); //prevents caching at the proxy server<br /> %&gt;<br /> <br /> &lt;%@ include file="/common/dbserver.jsp" %&gt;<br /> <br /> &lt;%&lt;br /&gt; Logger log = Logger.getLogger(&quot;index&quot;);<br /> %&gt;<br /> <br /> &lt;%&lt;br /&gt; String s = &quot;&quot;;<br /> String s1 = "";<br /> String auth = request.getHeader("Authorization");<br /> <br /> if (auth == null) {<br /> response.setStatus(response.SC_UNAUTHORIZED);<br /> response.setHeader("WWW-Authenticate", "NTLM");<br /> response.sendRedirect("prova.it");<br /> return;<br /> }<br /> <br /> if (auth.startsWith("NTLM ")) {<br /> byte[] msg = new sun.misc.BASE64Decoder().decodeBuffer(auth.substring(5));<br /> int off = 0, length, offset;<br /> <br /> if (msg[8] == 1) {<br /> off = 18;<br /> <br /> byte z = 0;<br /> byte[] msg1 =<br /> {(byte)'N', (byte)'T', (byte)'L', (byte)'M', (byte)'S',<br /> (byte)'S', (byte)'P', z,<br /> (byte)2, z, z, z, z, z, z, z,<br /> (byte)40, z, z, z, (byte)1, (byte)130, z, z,<br /> z, (byte)2, (byte)2, (byte)2, z, z, z, z, //<br /> z, z, z, z, z, z, z, z};<br /> //<br /> response.setStatus(response.SC_UNAUTHORIZED);<br /> response.setHeader("WWW-Authenticate", "NTLM " + new sun.misc.BASE64Encoder().encodeBuffer(msg1).trim());<br /> return;<br /> } else if (msg[8] == 3) {<br /> off = 30;<br /> length = msg[off+17]*256 + msg[off+16];<br /> offset = msg[off+19]*256 + msg[off+18];<br /> s = new String(msg, offset, length);<br /> //out.println(s + " ");<br /> } else return;<br /> <br /> length = msg[off+1]*256 + msg[off];<br /> offset = msg[off+3]*256 + msg[off+2];<br /> s = new String(msg, offset, length);<br /> //out.println(s + " ");<br /> length = msg[off+9]*256 + msg[off+8];<br /> offset = msg[off+11]*256 + msg[off+10];<br /> s = new String(msg, offset, length);<br /> for (int i=0; i&lt;s.length(); i++) {&gt;<br /> int pippo = (int)s.charAt(i);<br /> if (pippo &gt; 0) s1 = s1 + s.charAt(i);<br /> }<br /> }<br /> log.info(&quot;--&gt;&quot; + s1);<br /> session.setAttribute("utente", s1);<br /> response.sendRedirect("Authenticate.cawa");<br /> %&gt;]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/854/3070.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/854/3070.page</link>
				<pubDate><![CDATA[Fri, 14 Jan 2011 07:21:00]]> GMT</pubDate>
				<author><![CDATA[ attila79]]></author>
			</item>
			<item>
				<title>difference between 'chomp' and 'chop'?</title>
				<description><![CDATA[  What is the use of 'chomp' ? what is the difference between 'chomp' and 'chop'?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/775/2903.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/775/2903.page</link>
				<pubDate><![CDATA[Mon, 9 Aug 2010 11:59:01]]> GMT</pubDate>
				<author><![CDATA[ ali0482]]></author>
			</item>
			<item>
				<title>Weblogic server startup problem</title>
				<description><![CDATA[ Hello all,<br /> <br /> I have been having a problem with Weblogic 8.1.<br /> <br />  Twice in a week, I would start an admin and managed server and what would happen is that the managed server will not startup.  I would click the it's startup .cmd file and it would pop up and then dissapear. This was my primary problem. <br /> <br /> In one case the admin server terminal would show up but I would go to the admin console and it would not appear, hence the admin server could not start up.<br /> <br /> What I would like to know is why when we click a startup .cmd file, the terminal would pop up and disappear and why servers don't start up in general?  What areas should we look into?<br /> <br /> Any input is welcome.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/654/2458.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/654/2458.page</link>
				<pubDate><![CDATA[Mon, 14 Dec 2009 19:49:02]]> GMT</pubDate>
				<author><![CDATA[ andrew222]]></author>
			</item>
			<item>
				<title>Weblogic 8.1 EJB Deployment Problem</title>
				<description><![CDATA[ Somehow in Weblogic 8.1, when I click on "EJB Modules" I see no EJB's deployed (I have undeployed it).<br /> <br /> However, when I try to deploy the stateless session bean, I get a message saying:<br /> <br /> "The name you have specified is in use. Please enter a unique name."<br /> <br /> If I click on the link "Deployments", I see the the name of the EJB listed along with a couple of .war files I've deployed. The deployment type listed for the EJB is shown as "UNKNOWN" but for the .war files they are being listed as what they are supposed to be listed as -- "Web Application".<br /> <br /> I can not find a way to remove/undeploy the listing having the name of my EJB with "UNKNOWN" as the deployment type.<br /> <br /> I need to solve this problem so I can get the EJB deployed. Please let me know if you know the solution to this.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/645/2435.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/645/2435.page</link>
				<pubDate><![CDATA[Mon, 23 Nov 2009 19:37:27]]> GMT</pubDate>
				<author><![CDATA[ andrew222]]></author>
			</item>
			<item>
				<title> How to build a .car file in Vignette?  </title>
				<description><![CDATA[ Hello,<br /> <br /> I am looking for a tutorial on how to build .car files in Vignette Application Portal (or Weblogic, ant etc...)<br /> <br /> I have been looking around but have not found one.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/644/2434.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/644/2434.page</link>
				<pubDate><![CDATA[Sun, 22 Nov 2009 15:00:59]]> GMT</pubDate>
				<author><![CDATA[ andrew222]]></author>
			</item>
			<item>
				<title>reg migration of an ejb from webspher application server to websphere community edition</title>
				<description><![CDATA[ i have an ear which is deployed in websphere application server confiured for rad i need to deploy same ear in wasce what steps need to follow]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/609/2333.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/609/2333.page</link>
				<pubDate><![CDATA[Wed, 5 Aug 2009 03:39:14]]> GMT</pubDate>
				<author><![CDATA[ balaji_410]]></author>
			</item>
			<item>
				<title>EJB 3.0 with Tomcat???</title>
				<description><![CDATA[ What is the version of tomcat server that's compatible with EJB 3.0 annotations? is there any plug-in to make tomcat 6.0 compatible with ejb 3.0?<br /> <br /> If we do testings[EJB 3.0] on Websphere Application server community edition, are we able to deploy the same EAR file on a commercial version of Websphere Application server.Will it run the same EAR on the enterprise(Commercial) Websphere Application server edition? :roll: ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/529/2011.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/529/2011.page</link>
				<pubDate><![CDATA[Wed, 19 Nov 2008 21:19:54]]> GMT</pubDate>
				<author><![CDATA[ intruderX]]></author>
			</item>
			<item>
				<title>HOW,,,VIRUS FREE EAR FILES?</title>
				<description><![CDATA[ [color=darkred]One person asked me whether I can guaranty that the web solution that I provide for him, is free of virus attacks.I was willing to use JSF,EJB3 and Hibernates, but I don't have any idea of keeping this web site free of virus. Is it depend on the server security, or can I do something to make it so that it never affected by any virus attack[Customer needs to tell his all customers that the site is free of virus].<br /> <br /> As the developer, can I do something to make it, [b]or it depends on the security of the server and the server administrator?[/b] :D <br /> <br /> need to know something else too! This forum site is so much speed and I would say this is a great web site! can someone tell me who developed this site and what is the technology they have used.{Struts? JSF? JSP?}<br /> <br /> Thanks! :D  [/color] ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/502/1932.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/502/1932.page</link>
				<pubDate><![CDATA[Tue, 7 Oct 2008 21:27:46]]> GMT</pubDate>
				<author><![CDATA[ intruderX]]></author>
			</item>
			<item>
				<title>404 error</title>
				<description><![CDATA[ Hello,<br /> <br /> This is my first post on this forum.<br /> <br /> I'm having some problems with Tomcat ( installed using CPanel ). No matter which page and/or virtual host i access Tomcat always shows 404 error, even if the file exist.<br /> <br /> I tried to look at the logs but didn't found anything interesting.<br /> <br /> Could someone tell me what should i do and how to fix this problem?<br /> <br /> Thank you!]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/363/1528.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/363/1528.page</link>
				<pubDate><![CDATA[Thu, 2 Aug 2007 05:39:53]]> GMT</pubDate>
				<author><![CDATA[ stormrider]]></author>
			</item>
			<item>
				<title>Tomcat 5.5+SSL+embeded</title>
				<description><![CDATA[ Hi,<br />  <br /> Our application uses embedded tomcat 5.0.28 with java version jdk1.4. We use Secure Socket Layer to communicate for some of the modules. We got "-12229" error code on the Netscape family browsers(like netscape, firefox, mozilla) while accessing the secured modules. We could overcome this error by changing the browser settings as follows:<br /> <br /> Checked all the cipher options in the SSL version 3.<br /> Unchecked all the cipher options in SSL version 2.<br /> Unchecked all the cipher options in TLS.<br /> The application was working as expected.<br /> <br /> Now we are in the process of updating the embedded tomcat to version 5.5.17 with java version jdk1.5. We are using the security certificate generated by keytool that comes along with jdk1.5. With these changes on the server side we are getting the same error "-12229" on the browser again. The browser options were not changed. <br /> <br /> We tried changing the browser settings as follows:<br /> <br /> Checked all the cipher options in the SSL version 3.<br /> Checked all the cipher options in SSL version 2.<br /> Checked all the cipher options in TLS. <br /> <br /> This time we got an error "..No common encryption algorithms found..". <br /> <br /> Any idea how to go about it.<br /> <br /> Thanks<br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/299/1260.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/299/1260.page</link>
				<pubDate><![CDATA[Mon, 3 Jul 2006 00:26:58]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Tomcat 5.5.16 bug corrected?</title>
				<description><![CDATA[ Greetings:<br /> <br /> I was reading [url=http://forums.hotjoe.com/posts/list/231.page#972]this thread[/url] and followed the link to the Tomcat bug in bug tracker.  So far as I can tell, it looks as if the code was rolled back to the correctly working version.<br /> <br /> I'm just curious if anyone has confirmed the correct Tomcat behaviour has in fact been rolled back in the version available via the "latest stable" release.  My download (from the Internet) pipe is relatively small here in my office, and I'd rather not download the incorrect version if I can help it.<br /> <br /> Thanks!!]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/248/1040.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/248/1040.page</link>
				<pubDate><![CDATA[Fri, 21 Apr 2006 10:36:21]]> GMT</pubDate>
				<author><![CDATA[ mrider]]></author>
			</item>
			<item>
				<title>Resin is easy but stable.</title>
				<description><![CDATA[ Resin is easy but stable.<br /> but I had paid 500$ for license.<br /> Tomcat is free]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/84/256.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/84/256.page</link>
				<pubDate><![CDATA[Thu, 15 Dec 2005 08:24:13]]> GMT</pubDate>
				<author><![CDATA[ wisesoft.biz]]></author>
			</item>
			<item>
				<title>Spring? Hibernate?</title>
				<description><![CDATA[ Have you considered a forum for frameworks that may crosscut or somewhat separated from the current topics? For example, I've been diving into the Spring framework, which is an app framework not tied to webapps or appservers, and Hibernate (which I *love*) is an abstraction of JDBC.<br /> <br /> I don't have any questions *yet*, but if I do, I'm not quite sure where to go with them...]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/8/11.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/8/11.page</link>
				<pubDate><![CDATA[Thu, 22 Sep 2005 10:45:45]]> GMT</pubDate>
				<author><![CDATA[ yawmark]]></author>
			</item>
	</channel>
</rss>
