HP Integrity NonStop J-Series User Manual

Page 460

Advertising
background image

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 89)

of the

“Getting Started with Spring” (page 75)

chapter. However, if the application is not

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

23.23.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:

1.

Make sure that you have followed all the deployment steps correctly.

2.

Verify that the application is deployed successfully. You can ensure this by
checking that the application folder is successfully created under the <NSJSP
Installation Directory
>/webapps

directory. However, if the application

folder is not created, check whether the values of unpackWARs and
autoDeploy

are set to true in the server.xml file under <NSJSP

Installation Directory>/conf

directory.

3.

If the application WAR file is properly deployed, then check the configurations
in the web.xml file of the application.

4.

If the above steps do not yield any results, then restart the iTP WebServer.

23.23.2.3

I have deployed my web application archive (WAR) file in NSJSP; however, I am not
able to access the application using the web browser. How can I verify if the
environment for my application is properly running or not?
Following is the list of the actions to confirm that the environment for the application
is proper:

1.

Verify that the application was successfully deployed in NSJSP. To verify, confirm
the creation of application folder in <NSJSP Installation
Directory
>/webapps directory

.

2.

Check that the iTP WebServer is started. You can execute the

ps -A | grep httpd

command on OSS to check that the instance of iTP WebServer used by you is
running.

3.

Check that the servlet instance and httpd processes are running under the
PATHMON, without any error. You can use status server * inside the iTP
WebServer PATHMON.

4.

Check that the rout processes are running on the system. You can use status
*,prog *.*.rout

on the guardian environment.

23.23.2.4

Why do I get the following error while running Hibernate sample applications?

INFO SettingsFactory:340 - Check Nullability in Core
(should be disabled when Bean Validation is on): enabled INFO SessionFactoryImpl:199
- building session factory Exception in thread "main"
org.hibernate.HibernateException: Unable to instantiate default tuplizer
[org.hibernate.tuple.entity.PojoEntityTuplizer] at
org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:110)

at
org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135)

at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>
(EntityEntityModeToTuplizerMapping.java:80) at org.hibernate.tuple.entity.EntityMetamodel.<init>
(EntityMetamodel.java:323)

This error message is displayed if javassist-3.9.0.GA.jar is not present in
the CLASSPATH. Copy the javassist-3.9.0.GA.jar file to the CLASSPATH
and run the sample application again.

460 Frequently Asked Questions

Advertising
This manual is related to the following products: