Solved

jboss returns 404?

Posted on 2013-01-03
4
904 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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 …

770 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