Tomcat: Difference between revisions

From Sage CRM Knowledge Base
No edit summary
No edit summary
Line 3: Line 3:
version 6 update 27
version 6 update 27


will cause issues (tomcat wont work)
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
use this too test the version of java on the machine

Revision as of 14:44, 7 December 2012

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