Tomcat: Difference between revisions

From Sage CRM Knowledge Base
No edit summary
No edit summary
Line 1: Line 1:
Easiest option here is to re-install a patch and this usually works.  
Easiest option here is to re-install (actually select the upgrade option) a patch and this usually works.  


----
----

Revision as of 12:19, 3 September 2013

Easiest option here is to re-install (actually select the upgrade option) a patch and this usually works.


Java versions later than

version 6 update 27

will cause issues (tomcat wont work and the report export might error out with "win 32 code 1 incorrect function")

use this too test the version of java on the machine

http://www.javatester.org/version.html


Troubleshooting:

1. Ensure parent paths is set to true for ASP

..details are being investigated still

ISAPI Rewriting

  • IIS 6 only seems to need the file mentioned in 1 below

1. Sage use a file called "....Sage\CRM\Services\IISUtils\CRMRewriter\ISAPI_Rewrite.dll" which is created by "Helicon" (http://www.isapirewrite.com/)

2. The rewriting rules are written in "....Sage\CRM\Services\IISUtils\CRMRewriter\CRM.Rewriter.rules"

3. Re-writing essentially maps urls such as "http://localhost/sdata/crm71sp2j/layout/-/$service/" to "http://localhost:10009/crm71j/..etc". So you can see that the port is 10009 and this is the port that TOMCAT is working through.

404's usually appear when the "RewriterModule" is missing from IIS

This should be added to IIS. To do this select the application (or main node) and select "Modules"

From there click "Add Managed Modules"

Set the name to be "RewriterModule"

and the type to be "ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter"

Note that this should map the setting in the web.config file

<httpModules> <add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" /> </httpModules>

Do not check the "Invoke only for requests to ASP.Net applications or Managed handlers"



Useful articles:

http://aspnet.4guysfromrolla.com/articles/011404-1.aspx