beautypg.com

HP Integrity NonStop J-Series User Manual

Page 342

background image

I.I.1.7

I see "org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not
found" error while running a web service on Axis2/Java. What can be the reason?
This exception means that Axis2/Java could not find the service and the operation
that the request is headed to. The endpoint reference mentioned in the request message
is either invalid or empty. This led to a failure in selecting the intending operation to
be invoked.
Make sure that the request contains the information that Axis2/Java could use to
dispatch the request to the correct service and operation. Make sure that the
configurations in services.xml file are as per the message body.

I.I.1.8

I have successfully deployed Axis2/Java WAR (axis2.war) under NSJSP. Why am
I experiencing the error message "There was a problem in Axis2 version service, may
be the service not available or some thing has gone wrong. But this does not mean
system is not working! Try to upload some other service and check to see whether it
is working " when I click on Validate link in the Axis2/Java Home Page?
Make sure that the Version service exists on the system. On the home page, click the
Version link under the Services section and verify that the WSDL for the Version service
exists.
In case the version service is also not up, there were problems during the deployment.
Rebuild the Axis2/Java WAR file on the Windows system and redeploy under NSJSP.

I.I.1.9

Why do I get a "ClassNotFound exception :
org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader"
error when I run my Spring web application on a NonStop system?
The Spring framework uses the concept of Load Time Weaving (LTW). It is the process
of modification of byte code the moment a class is loaded from disk and placed into
memory by a class loader. Thereafter, the byte code is evaluated and, if necessary,
modified before it is made available to the application. The application context file
contains the reference of class loader to be used.
If the application context contains the reference for the class loader
(TomcatInstrumentableClassLoader), make sure that the
spring-tomcat-weaving.jar

file is present in the <NSJSP Installation

Directory>/lib

directory.

I.I.1.10

I am using MyFaces for the application UI. Although I have used proper tags in the
JSP file, the view of the page is not as expected. What can be the reason for this?
Every JSF tag corresponds to a reference library. While using various JSF tags for UI
components of the applications, you must ensure that all the required JSF tag libraries
have been imported in the JSP file. For example: If you are using a core JSF UI
component, you must have the following lines in the beginning of the JSP page to
import the tag library of JSF core:

<%@ taglib uri="http://java.sun.com/jsf/core"

I.I.2.1

Why do I get a "ClassNotFound exception :" error when I run my
SASH applications on a NonStop system?
The application uses classes which are defined in one or more JAR files. This error
appears when any of these dependency JAR files is not added into the CLASSPATH.
If the application is a web application developed on Windows using Eclipse Galileo
IDE, then you should add all the dependency JAR files in the project library path and
resolve the J2EE module dependency on these JAR files using the steps described in the

“Adding Dependency JAR Files in the Project Library Path” (page 52)

of the

“Getting

Started with Spring” (page 38)

section. However, if the application is not a web

application, you need to add the dependency JAR files into the CLASSPATH.

I.I.2.2

Why do I get the Resource not found error while accessing the home page of any web
application deployed under NSJSP 6.0?
This error can be attributed to various reasons, such as absence of files in the specified
location, insufficient permissions on the file, improper deployment and so on. However,
you can perform the following checks:

342 Frequently Asked Questions

This manual is related to the following products: