Solved

jboss returns 404?

Posted on 2013-01-03
4
914 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will deā€¦
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilationā€¦
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

739 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