Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7949489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:00:47+00:00 2026-06-04T02:00:47+00:00

When i compile and deploy it in localhost it works fine. But when i

  • 0

When i compile and deploy it in localhost it works fine. But when i create the war file and deploy it in another server it pops the error

HTTP Status 404 - /IJPWeb/index.jsp
type Status report
message /IJPWeb/index.jsp
description The requested resource (/IJPWeb/index.jsp) is not available.
Apache Tomcat/6.0.24

Here is the web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
  <display-name>IJPWeb</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
</web-app>

And here is one error appear in catalina.out

javax.management.MalformedObjectNameException: Cannot create object name for org.apache.catalina.connector.Connector@5a199939java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.lang.String

I do not have any servlet classes. I call some Java methods from my JSP (index.jsp). Any idea how to fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T02:00:49+00:00Added an answer on June 4, 2026 at 2:00 am

    Check both Tomcat version are same on your local and remote location.

    Also verify that Java version which compiled the web application on local is compatible with remote your tomcat’s JRE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to deploy my windows phone app but when I try to compile
I compile my file with javac myfile.java But when I run myfile.class file with
I'm attempting to deploy to a war file in Tomcat 7. It's giving me
I am using Grails 1.3.7. I build a war file & deploy it in
When trying to compile GNU software on HP-UX (binutils for example) I'm getting error
I am getting a compile error from the following property. The error is: The
I am using FormRewriterControlAdapter in VS2010 (.NET 3.5). When I compile and deploy, form
I typically run the following commands to deploy a particular app: compass compile -e
The scenario is as follows. Developers compile the projects and deploy assemblies to production.
I am trying to deploy a webapplication using maven cargo plugin into tomcat server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.