Solved

jboss returns 404?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to parse custom JSON to POJO java 4 56
Understanding websocket example in spring 1 57
groupSum6 challenge 6 77
advertisement module in core php 4 145
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

896 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