Solved

jboss returns 404?

Posted on 2013-01-03
4
887 Views
Last Modified: 2013-01-03
I running Eclipse 3.6.2 and Jboss 6.0,
a simple test webservice (below) is returning
a 404 error (resource is not available).

How can I fix this?

 
package org.jboss.samples.webservices;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService()
public class HelloWorld {

	@WebMethod()
	public String sayHello(String name) {
	    System.out.println("Hello: " + name);
	    return "Hello " + name + "!";
	}
}

Open in new window

0
Comment
Question by:pillmill
  • 3
4 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 38740632
check the jboss server page for any services not avaliable ,if some of the packages has not been started
0
 
LVL 21

Expert Comment

by:oleggold
ID: 38740637
0
 
LVL 21

Expert Comment

by:oleggold
ID: 38740638
0
 

Author Comment

by:pillmill
ID: 38741195
Thanks.
The Jboss AS admin console shows the services to be UP,
but the Eclipse console shows the following deployment errors.
Are these causing the problem?


DEPLOYMENTS IN ERROR:
  Deployment "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **, ** UNRESOLVED Demands 'jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView' **
  Deployment "vfsfile:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/deploy/hsqldb-ds.xml" is in error due to the following reason(s): java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@292d63cf[file =C:\Program Files\jboss\jboss-5.1.0.GA\server\default\data\hypersonic\localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception:  java.io.IOException: The process cannot access the file because another process has locked a portion of the file : C:\Program Files\jboss\jboss-5.1.0.GA\server\default\data\hypersonic\localDB.lck
  Deployment "jboss.jdbc:datasource=DefaultDS,service=metadata" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
  Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
  Deployment "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
  Deployment "vfsfile:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/deploy/jmx-remoting.sar/" is in error due to the following reason(s): java.rmi.AlreadyBoundException: jmxconnector
  Deployment "<UNKNOWN jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.ejb:service=EJBTimerService' **
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
array11 challenge 16 51
word0 challenge 4 52
eclipse formatting 6 38
starter POM and spring-boot-starter,  spring-boot-web 2 11
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now