cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XMII 11.5 sp6 and http 404 error

Former Member
0 Likes
426

Hi all,

i'm facing a strange promblem on my xmii 11.5 sp6 on Win2003 SP1, IIS.

I'm not more able to view the page http://<host>/Lighthammer from any browser, both installed on server or from a client pc.

- All IIS services are up and running, and if I recall in the browser only http://<host>, I can see the page of IIS telling "IIS in up", and all services are started in services.msc.

- The ServletExec-xMII service in services.msc is up... I can see it as started service.

- IIS has the virtual dir named Scripts, in which there is the dll, and it is allowed to run in IIS

-

Even those if a recall the url http://<host>/Lighthammer i got http 404 error.

I tried to uninstall and reinstall xMII but nothing changed.

Which are the logs from which I can obtain self explained traces as in normal abap sap system?

The most useful log D:\Lighthammer\logs\cms.log I can see: "2009-06-30 17:27:52,296 [JCO.ServerThread-1] ERROR SERVER-EXCEPTION - [null,null,null,] com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Tue Jun 30 17:27:52 CEST 2009.

This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1024 seconds.

Missing -a<Program ID> "

Which is the jco the log speask to?

Which are the correct settings the logs consider wrong?

Thanks a lot to all, best regards

Daniele

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Likes

Hi all,

i made a new, fresh installation of xMII. Now all problems are solved, but I'd like to investigate the problems occurred to may old instance.

Please, reading my prevous post, can you suggest me where to find useful information?

Thanks a lot.

Point wil be assigned if you help me to find useful logs. Best regards

Daniele

Former Member
jcgood25
Active Contributor
0 Likes

In your cms log do you see something similar to:

2009-06-08 11:14:01,557 [main] SYSTEM InitializationEngine - Beginning Illuminator Initialization on <servername>
.......
2009-06-08 11:14:03,523 [main] SYSTEM InitializationEngine - Product Version is 11.5.6 b73
.......
Loading....
Loading....
.......
2009-06-08 11:14:06,658 [main] SYSTEM InitializationEngine - Illuminator system started up successfully

The ...... denotes whitespace and extra lines of information, and the Loading... will be a series of sequences that are part of the initialization process for loading all of the xml configuration data into memory.

If you do not eventually get to the started up successfully message then it doesn't matter if IIS is running or the ServletExec service, because the MII application will not be able to respond to your requests.

Regards,

Jeremy

Former Member
0 Likes

Hi all,

and thenks very much for your quick adn kinds reply.

I already tried the

- connection to http://localhost/Lighthammer from the local host;

- telnet to service 80 (IIS) and 8888... they are ok as ok is any network connection to the server; a test web page (like IIS page) is displayed as explained in my first post;

- check into the regedit for the registry key of xMII and are as explained by Ottavio; I have xMII installed in D:\ while IIS is in C:\Inetpub

- I'm not able to find the point explained by Ottavio in point 2: I have a green arrow, in the ISAPI filter properties, but it is named "fpexecdll.dll".... I instead have the web service extension allowed pointing to the ServletExec.dll, in C:\Inetpub\Scripts

In my cmssecurity.log I can see:

"2009-06-30 17:10:33,843 [main] SYSTEM SystemInit - License file is D:/Lighthammer/License/lhcms.lic

2009-06-30 17:10:33,859 [main] SYSTEM SystemInit - Product Version is 11.5.6 b61

2009-06-30 17:10:33,859 [main] SYSTEM SystemInit - Initializing ticket caches

2009-06-30 17:10:33,875 [main] SYSTEM SystemInit - Initializing license manager

2009-06-30 17:10:33,875 [main] SYSTEM SystemInit - Initializing scheduler

2009-06-30 17:10:35,687 [main] SYSTEM SystemInit - Initializing system configuration

2009-06-30 17:10:35,687 [main] SYSTEM SystemInit - Initializing external providers

2009-06-30 17:10:35,687 [main] SYSTEM SystemInit - Initialization Complete"

but in cms.log I can read message like:

"2009-07-01 10:19:04,296 [JCO.ServerThread-1] ERROR SERVER-EXCEPTION - [null,null,null,] com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Wed Jul 01 10:19:04 CEST 2009.

This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 3600 seconds.

Missing -a<Program ID>"

nothing as written by Jeremy as "Loading......"

In my opinion the bat file D:\ServletExec AS\se-xMII\StartServlet.bat is wrong: the last lines report

"-Djava.naming.factory.initial=com.newatlanta.servletexec.InitialContextFactory ServletExec -name "xMII" -home "D:\ServletExec AS\se-xMII" -root "D:\InetPub\wwwroot" -port 8888"

but my IIS is installed in C:\Inetpub and NOT in D:\Inetpub

In D:\ServletExec AS\se-xMII\ServletExec.log I can read:

"[Tue Jun 30 17:10:37 CEST 2009] log4j:WARN No appenders could be found for logger (com.lighthammer.cms.system.SystemInit).

[Tue Jun 30 17:10:37 CEST 2009] log4j:WARN Please initialize the log4j system properly.

[Tue Jun 30 17:10:49 CEST 2009] ServletExec: Initializing Session Tracking for virtual server - default, application - servletexec

[Tue Jun 30 17:10:49 CEST 2009] ServletExec: Initialized Session Tracking for virtual server - default, application - servletexec

[Tue Jun 30 17:10:49 CEST 2009] ServletExec 5.0.0.09 initialized

[Tue Jun 30 17:10:49 CEST 2009] ServletExec 5.0.0.09 was initialized with the following settings:

[Tue Jun 30 17:10:49 CEST 2009] port = 8888

[Tue Jun 30 17:10:49 CEST 2009] backlog = 50

[Tue Jun 30 17:10:49 CEST 2009] name = xMII

[Tue Jun 30 17:10:49 CEST 2009] home = D:\ServletExec AS\se-xMII\

[Tue Jun 30 17:10:49 CEST 2009] log = D:\ServletExec AS\se-xMII\

[Tue Jun 30 17:10:49 CEST 2009] mimetypes = null

[Tue Jun 30 17:10:49 CEST 2009] root = D:\InetPub\wwwroot\

[Tue Jun 30 17:10:49 CEST 2009] allow = 127.0.0.1

[Tue Jun 30 17:10:49 CEST 2009] ServletExec is ready to process requests"

Is there some logs like abap stile, in which I can understand the reason because xMII service is not working properly?

Thanks a lot, best reards and have a good day

Daniele

Edited by: Daniele Rosci on Jul 6, 2009 10:39 AM

Former Member
0 Likes

Hi,

Did you try with localhost like

http://localhost/Lighthammer

Check with this in the server.

To check the client

Try to ping the host.

ping <host>

Try to telnet the host with port 80

telnet <host> <portnumber>

Regards,

Kishore

Former Member
0 Likes

Hi Daniele,

the error about the JCo is OK because it'S a default configuration which is enabled buit does not work.

1st) check if your IIS is working properly e.g. try to put a testpage under your IIS default folder.

2nd) Open a command prompt (DOS box) and execute this:

telnet localhost 8888

you should get a new "black" screen. if not or you get an error that you can't open this port then your ServletExec is not working properly.

Then you should start manually from a command line this and check what's wrong:

c:\ServletExec AS\se-xMII\StartServletExec.bat

I assume you installed your MII under C:\, if not then you have to change the path to your settings

3rd) Check if the ServletExec ISAPI DLL is loaded sucessfull by your IIS:

- Open MMC

- select "Services and Applications" -> "Internet Information Services (IIS) Manager" -> right mouse click on "Web Site" -> select "Properties" -> select Tab "ISAPI Filters" you should have an entry called as ServletExec. This ServletExec must have an green "Up"-arrow. If not then there is something wrong with your installation.

- In case your arrow is red the n check under WebService Extensions if the ServletExec entry is allowed to be executed by the IIS. Try to press the button "Allow".

If this is not working check your registry maybe there is something wrong with your settings. Here are my settings, but note my MII is installed under D:\ and the IIS default folder is changed to d:\inetpub instead of c:\inetpub:

HKEY_LOCAL_MACHINE\SOFTWARE\New Atlanta Communications\ServletExec AS

"Home"="d:\ServletExec AS"

HKEY_LOCAL_MACHINE\SOFTWARE\New Atlanta Communications\ServletExec AS\Adapters\Microsoft IIS

"Location"="d:\InetPub\Scripts\"

HKEY_LOCAL_MACHINE\SOFTWARE\New Atlanta Communications\ServletExec AS\Instances\xMII

"Port"="8888"

If all of them are not working check the Eventlog of your W2K server