Author Topic: Failed to Pass the verification of SPECjAppServer  (Read 5026 times)

Tian Yuwan

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-1
Failed to Pass the verification of SPECjAppServer
« on: May 18, 2015, 11:21:50 PM »
Hi, to all:
When I have completed the configuration of SPECjAppServer, I try to verify if it will be OK and type the command as follows from Client Server:
[root@client]#curl http://specdelivery:8000/Supplier/DeliveryServlet?cmd=switchlog

Then I get this message rather than "200 OK":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>GlassFish v3 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}  B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><hr/><p><b>type</b> Status report</p><p><b>message</b></p><p><b>description</b>The requested resource () is not available.</p><hr/><h3>GlassFish Server Open Source Edition 3.1.2.2</h3></body></html>

What may cause this issue? Is there anyone here could help me to debug it please? Many thanks T.T  ~

Yuwan
tianyw@sugon.com
« Last Edit: May 18, 2015, 11:24:53 PM by Tian Yuwan »

AnoopGupta

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
Re: Failed to Pass the verification of SPECjAppServer
« Reply #1 on: May 19, 2015, 12:30:49 AM »
Hi Tian,

It means that the SPECjAppServer.ear application failed to deploy on the GlassFish server. In your AppServer VM, please check:
<GlassFish_Home>/domains/<specj-domain>/logs/server.log for any deployment errors.

What steps did you follow to configure your AppServer VM?
If you haven't looked at it yet, I recommend following the example guide at: https://www.spec.org/forums/index.php?topic=15.0

Tian Yuwan

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-1
Re: Failed to Pass the verification of SPECjAppServer
« Reply #2 on: May 19, 2015, 01:01:17 AM »
Hi AnoopGupta,

I followed the example jvm scripts (makeme_appserver.sh & setup_files.sh) downloaded from the same link you post here.
Attachment is the server.log(/opt/glassfish/domains/spec2004-1/logs), I checked it but unluckily nothing found.

« Last Edit: May 19, 2015, 01:04:53 AM by Tian Yuwan »

AnoopGupta

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
Re: Failed to Pass the verification of SPECjAppServer
« Reply #3 on: May 19, 2015, 01:09:35 AM »
Look for SEVERE errors in the server.log. I see the following in your log:
CORE10012: Application previously deployed is not at its original location any more: file:/opt/glassfish3/glassfish/domains/spec2004-1//applications/SPECjAppServer/|#]

It looks like the SPECjAppServer.ear was undeployed or the above directory deleted/removed while the GlassFish server was stopped.

Please try to deploy the ear again.